Symbol: n
bin/date/vary.c
500
struct vary *n;
bin/date/vary.c
503
n = v->next;
bin/date/vary.c
505
v = n;
bin/dd/dd.c
381
ssize_t n;
bin/dd/dd.c
414
n = read(in.fd, in.dbp + in.dbrcnt, in.dbsz - in.dbrcnt);
bin/dd/dd.c
418
if (n == 0 && in.dbrcnt == 0)
bin/dd/dd.c
422
if (n == -1) {
bin/dd/dd.c
449
n = in.dbsz;
bin/dd/dd.c
452
in.dbrcnt += n;
bin/dd/dd.c
457
else if (ddflags & C_IFULLBLOCK && n != 0)
bin/dd/dd.c
478
if ((n = in.dbrcnt) & 1) {
bin/dd/dd.c
480
--n;
bin/dd/dd.c
482
swapbytes(in.dbp, (size_t)n);
bin/dd/dd.c
542
size_t cnt, n;
bin/dd/dd.c
570
for (n = force ? out.dbcnt : out.dbsz;; n = out.dbsz) {
bin/dd/dd.c
571
cnt = n;
bin/dd/dd.c
616
if ((size_t)nw == n && n == (size_t)out.dbsz)
bin/dd/dd.c
635
if ((out.dbcnt -= n) < out.dbsz)
bin/dd/position.c
155
ssize_t n;
bin/dd/position.c
187
n = read(out.fd, out.db, out.dbsz);
bin/dd/position.c
189
if (n > 0)
bin/dd/position.c
191
if (n == -1)
bin/dd/position.c
206
n = write(out.fd, out.db, out.dbsz);
bin/dd/position.c
208
if (n == -1)
bin/dd/position.c
210
if (n != out.dbsz)
bin/dd/position.c
52
off_t n;
bin/dd/position.c
55
n = io->offset;
bin/dd/position.c
67
if ((io->flags & ISCHR) == 0 && (n < 0 || n > OFF_MAX / (ssize_t)sz))
bin/dd/position.c
70
else if ((io->flags & ISCHR) != 0 && (uint64_t)n > UINT64_MAX / sz)
bin/dd/position.c
74
return ((off_t)( (uint64_t)n * sz ));
bin/ed/buf.c
146
long n = 0;
bin/ed/buf.c
149
n++;
bin/ed/buf.c
150
if (n && cp == &buffer_head) {
bin/ed/buf.c
154
return n;
bin/ed/buf.c
160
get_addressed_line_node(long n)
bin/ed/buf.c
166
if (n > on)
bin/ed/buf.c
167
if (n <= (on + addr_last) >> 1)
bin/ed/buf.c
168
for (; on < n; on++)
bin/ed/buf.c
172
for (on = addr_last; on > n; on--)
bin/ed/buf.c
176
if (n >= on >> 1)
bin/ed/buf.c
177
for (; on > n; on--)
bin/ed/buf.c
181
for (on = 0; on < n; on++)
bin/ed/buf.c
234
quit(int n)
bin/ed/buf.c
240
exit(n);
bin/ed/ed.h
117
#define REALLOC(b,n,i,err) \
bin/ed/ed.h
118
if ((i) > (n)) { \
bin/ed/ed.h
119
size_t ti = (n); \
bin/ed/ed.h
137
(n) = ti; \
bin/ed/ed.h
143
#define REALLOC(b,n,i,err) \
bin/ed/ed.h
144
if ((i) > (n)) { \
bin/ed/ed.h
145
size_t ti = (n); \
bin/ed/ed.h
154
(n) = ti; \
bin/ed/glbl.c
101
while ((n = get_tty_line()) > 0 &&
bin/ed/glbl.c
102
ibuf[n - 1] != '\n')
bin/ed/glbl.c
104
if (n < 0)
bin/ed/glbl.c
106
else if (n == 0) {
bin/ed/glbl.c
109
} else if (n == 1 && !strcmp(ibuf, "\n"))
bin/ed/glbl.c
111
else if (n == 2 && !strcmp(ibuf, "&\n")) {
bin/ed/glbl.c
116
} else if ((cmd = get_extended_line(&n, 0)) == NULL)
bin/ed/glbl.c
119
REALLOC(ocmd, ocmdsz, n + 1, ERR);
bin/ed/glbl.c
120
memcpy(ocmd, cmd, n + 1);
bin/ed/glbl.c
44
long n;
bin/ed/glbl.c
57
for (n = first_addr; n <= second_addr; n++, lp = lp->q_forw) {
bin/ed/glbl.c
80
int n;
bin/ed/glbl.c
87
else if ((cmd = get_extended_line(&n, 0)) == NULL)
bin/ed/glbl.c
90
if (!interact && (cmd = get_extended_line(&n, 0)) == NULL)
bin/ed/io.c
142
write_file(char *fn, const char *mode, long n, long m)
bin/ed/io.c
154
if ((size = write_stream(fp, n, m)) < 0) {
bin/ed/io.c
166
return n ? m - n + 1 : 0;
bin/ed/io.c
172
write_stream(FILE *fp, long n, long m)
bin/ed/io.c
174
line_t *lp = get_addressed_line_node(n);
bin/ed/io.c
179
for (; n && n <= m; n++, lp = lp->q_forw) {
bin/ed/io.c
183
if (n != addr_last || !isbinary || !newline_added)
bin/ed/io.c
213
int l, n;
bin/ed/io.c
228
if ((n = get_tty_line()) < 0)
bin/ed/io.c
230
else if (n == 0 || ibuf[n - 1] != '\n') {
bin/ed/io.c
234
REALLOC(cvbuf, cvbufsz, l + n, NULL);
bin/ed/io.c
235
memcpy(cvbuf + l, ibuf, n);
bin/ed/io.c
236
l += n;
bin/ed/io.c
237
if (n < 2 || !has_trailing_escape(cvbuf, cvbuf + l - 1))
bin/ed/io.c
296
put_tty_line(const char *s, int l, long n, int gflag)
bin/ed/io.c
307
printf("%ld\t", n);
bin/ed/io.c
35
read_file(char *fn, long n)
bin/ed/io.c
47
if ((size = read_stream(fp, n)) < 0) {
bin/ed/io.c
59
return current_addr - n;
bin/ed/io.c
68
read_stream(FILE *fp, long n)
bin/ed/io.c
70
line_t *lp = get_addressed_line_node(n);
bin/ed/io.c
75
int appended = (n == addr_last);
bin/ed/io.c
79
for (current_addr = n; (len = get_stream_line(fp)) > 0; size += len) {
bin/ed/main.c
1010
append_lines(long n)
bin/ed/main.c
1017
for (current_addr = n;;) {
bin/ed/main.c
1062
static int n;
bin/ed/main.c
1073
REALLOC(buf, n, size + bp->len, ERR);
bin/ed/main.c
1077
REALLOC(buf, n, size + 2, ERR);
bin/ed/main.c
1099
long n = INC_MOD(second_addr, addr_last);
bin/ed/main.c
1105
a2 = get_addressed_line_node(n);
bin/ed/main.c
1108
} else if (push_undo_stack(UMOV, p, n) == NULL ||
bin/ed/main.c
1113
a1 = get_addressed_line_node(n);
bin/ed/main.c
1144
long n = second_addr - first_addr + 1;
bin/ed/main.c
1149
n = addr - first_addr + 1;
bin/ed/main.c
1152
for (; n > 0; n=m, m=0, np = get_addressed_line_node(current_addr + 1))
bin/ed/main.c
1153
for (; n-- > 0; np = np->q_forw) {
bin/ed/main.c
1178
line_t *n, *p;
bin/ed/main.c
1185
n = get_addressed_line_node(INC_MOD(to, addr_last));
bin/ed/main.c
1189
unset_active_nodes(p->q_forw, n);
bin/ed/main.c
1190
REQUE(p, n);
bin/ed/main.c
1230
mark_line_node(line_t *lp, int n)
bin/ed/main.c
1232
if (!islower((unsigned char)n)) {
bin/ed/main.c
1235
} else if (mark[n - 'a'] == NULL)
bin/ed/main.c
1237
mark[n - 'a'] = lp;
bin/ed/main.c
1244
get_marked_node_addr(int n)
bin/ed/main.c
1246
if (!islower((unsigned char)n)) {
bin/ed/main.c
1250
return get_line_node_addr(mark[n - 'a']);
bin/ed/main.c
1337
size_t n;
bin/ed/main.c
1344
(n = strlen(s)) + 8 <= PATH_MAX && /* "ed.hup" + '/' */
bin/ed/main.c
1345
(hup = (char *) malloc(n + 10)) != NULL) {
bin/ed/main.c
1347
if (hup[n - 1] != '/')
bin/ed/main.c
1348
hup[n] = '/', hup[n+1] = '\0';
bin/ed/main.c
169
if ((n = get_tty_line()) < 0) {
bin/ed/main.c
172
} else if (n == 0) {
bin/ed/main.c
189
} else if (ibuf[n - 1] != '\n') {
bin/ed/main.c
281
long n;
bin/ed/main.c
296
STRTOL(n, ibufp);
bin/ed/main.c
297
addr += (c == '-' || c == '^') ? -n : n;
bin/ed/main.c
440
int n = 0;
bin/ed/main.c
534
else if ((n = (c == 'G' || c == 'V')))
bin/ed/main.c
537
if (exec_global(n, gflag) < 0)
bin/ed/main.c
740
n++;
bin/ed/main.c
742
} while (!n);
bin/ed/main.c
770
if ((n = *ibufp) == 'q' || n == 'Q') {
bin/ed/main.c
797
else if (modified && !scripted && n == 'q')
bin/ed/main.c
857
check_addr_range(long n, long m)
bin/ed/main.c
860
first_addr = n;
bin/ed/main.c
879
long n = current_addr;
bin/ed/main.c
884
if ((n = dir ? INC_MOD(n, addr_last) : DEC_MOD(n, addr_last))) {
bin/ed/main.c
885
lp = get_addressed_line_node(n);
bin/ed/main.c
891
return n;
bin/ed/main.c
893
} while (n != current_addr);
bin/ed/main.c
906
int n;
bin/ed/main.c
913
} else if ((ibufp = get_extended_line(&n, 1)) == NULL)
bin/ed/main.c
917
if ((n = get_shell_command()) < 0)
bin/ed/main.c
919
if (n)
bin/ed/main.c
922
} else if (n > PATH_MAX - 1) {
bin/ed/main.c
934
for (n = 0; *ibufp != '\n';)
bin/ed/main.c
935
file[n++] = *ibufp++;
bin/ed/main.c
936
file[n] = '\0';
bin/ed/main.c
94
int c, n;
bin/ed/main.c
947
static int n = 0;
bin/ed/main.c
958
REALLOC(buf, n, j + 1, ERR);
bin/ed/main.c
963
REALLOC(buf, n, i + 2, ERR);
bin/ed/main.c
970
REALLOC(buf, n, i + 1, ERR);
bin/ed/main.c
982
REALLOC(buf, n, i + shcmdi, ERR);
bin/ed/main.c
99
red = (n = strlen(argv[0])) > 2 && argv[0][n - 3] == 'r';
bin/ed/main.c
994
REALLOC(buf, n, i + j, ERR);
bin/ed/re.c
46
int n;
bin/ed/re.c
66
if ((n = regcomp(expr, exprs, 0))) {
bin/ed/re.c
67
regerror(n, expr, error, sizeof error);
bin/ed/sub.c
230
int n;
bin/ed/sub.c
241
(n = *sub - '0') <= re_nsub) {
bin/ed/sub.c
242
j = rm[n].rm_so;
bin/ed/sub.c
243
k = rm[n].rm_eo;
bin/ed/sub.c
74
int n = 0;
bin/ed/sub.c
95
while ((n = get_tty_line()) == 0 ||
bin/ed/sub.c
96
(n > 0 && ibuf[n - 1] != '\n'))
bin/ed/sub.c
98
if (n < 0)
bin/ed/undo.c
101
REQUE(ustack[n].h->q_back, ustack[n].t->q_forw);
bin/ed/undo.c
104
REQUE(ustack[n].h->q_back, ustack[n].h);
bin/ed/undo.c
105
REQUE(ustack[n].t, ustack[n].t->q_forw);
bin/ed/undo.c
109
REQUE(ustack[n - 1].h, ustack[n].h->q_forw);
bin/ed/undo.c
110
REQUE(ustack[n].t->q_back, ustack[n - 1].t);
bin/ed/undo.c
111
REQUE(ustack[n].h, ustack[n].t);
bin/ed/undo.c
112
n--;
bin/ed/undo.c
118
ustack[n].type ^= 1;
bin/ed/undo.c
121
for (n = u_p; n-- > (u_p + 1)/ 2;)
bin/ed/undo.c
122
USWAP(ustack[n], ustack[u_p - 1 - n]);
bin/ed/undo.c
87
long n;
bin/ed/undo.c
98
for (n = u_p; n-- > 0;) {
bin/ed/undo.c
99
switch(ustack[n].type) {
bin/kill/kill.c
154
int n;
bin/kill/kill.c
156
for (n = 1; n < sys_nsig; n++) {
bin/kill/kill.c
157
(void)fprintf(fp, "%s", sys_signame[n]);
bin/kill/kill.c
158
if (n == (sys_nsig / 2) || n == (sys_nsig - 1))
bin/ls/ls.c
76
#define MAKENINES(n) \
bin/ls/ls.c
81
for (__i = 1; n > 0; __i *= 10) \
bin/ls/ls.c
82
n--; \
bin/ls/ls.c
83
n = __i - 1; \
bin/ls/util.c
102
n++;
bin/ls/util.c
108
n++;
bin/ls/util.c
114
n += wcwidth(wc);
bin/ls/util.c
116
return (n);
bin/ls/util.c
56
int i, n;
bin/ls/util.c
60
n = 0;
bin/ls/util.c
63
n += printf("%s", s);
bin/ls/util.c
70
n++;
bin/ls/util.c
77
n += wcwidth(wc);
bin/ls/util.c
79
return (n);
bin/ls/util.c
87
int i, n;
bin/ls/util.c
91
n = 0;
bin/ls/util.c
96
n++;
bin/ps/print.c
747
#define CHKINF127(n) (((n) > 127) && (v->flag & INF127) ? 127 : (n))
bin/ps/ps.c
1100
int dst, lvl, maxlvl, n, ndst, nsrc, siblings, src;
bin/ps/ps.c
1135
for (n = src; n < src + nsrc; n++) {
bin/ps/ps.c
1136
ki[n].ki_d.level += ki[dst].ki_d.level + 1;
bin/ps/ps.c
1137
if (maxlvl < ki[n].ki_d.level)
bin/ps/ps.c
1138
maxlvl = ki[n].ki_d.level;
bin/ps/ps.c
1178
for (n = 0; n < lvl - 2; n++) {
bin/ps/ps.c
1179
ki[src].ki_d.prefix[n * 2] =
bin/ps/ps.c
1180
path[n / 8] & 1 << (n % 8) ? '|' : ' ';
bin/ps/ps.c
1181
ki[src].ki_d.prefix[n * 2 + 1] = ' ';
bin/ps/ps.c
1183
if (n == lvl - 2) {
bin/ps/ps.c
1193
path[n / 8] |= 1 << (n % 8);
bin/ps/ps.c
1195
path[n / 8] &= ~(1 << (n % 8));
bin/ps/ps.c
1196
ki[src].ki_d.prefix[n * 2] = siblings ? '|' : '`';
bin/ps/ps.c
1197
ki[src].ki_d.prefix[n * 2 + 1] = '-';
bin/ps/ps.c
1198
n++;
bin/ps/ps.c
1200
strcpy(ki[src].ki_d.prefix + n * 2, "- ");
bin/pwait/pwait.c
176
for (n = 0; n < argc; n++) {
bin/pwait/pwait.c
177
s = argv[n];
bin/pwait/pwait.c
242
n = kevent(kq, NULL, 0, e, nev, NULL);
bin/pwait/pwait.c
243
if (n == -1) {
bin/pwait/pwait.c
246
for (i = 0; i < n; i++) {
bin/pwait/pwait.c
90
int i, kq, n, ndone, nev, nleft, notes, opt, pid_max, ret, status;
bin/sh/alias.c
198
char *n, *v;
bin/sh/alias.c
208
while ((n = *argptr++) != NULL) {
bin/sh/alias.c
209
if (n[0] == '\0') {
bin/sh/alias.c
214
if ((v = strchr(n+1, '=')) == NULL) /* n+1: funny ksh stuff */
bin/sh/alias.c
215
if ((ap = lookupalias(n, 0)) == NULL) {
bin/sh/alias.c
216
warning("%s: not found", n);
bin/sh/alias.c
222
setalias(n, v);
bin/sh/eval.c
1237
prehash(union node *n)
bin/sh/eval.c
1241
if (n && n->type == NCMD && n->ncmd.args)
bin/sh/eval.c
1242
if (goodname(n->ncmd.args->narg.text))
bin/sh/eval.c
1243
find_command(n->ncmd.args->narg.text, &entry, 0,
bin/sh/eval.c
1288
long n;
bin/sh/eval.c
1293
n = strtol(argv[1], &end, 10);
bin/sh/eval.c
1297
n = 1;
bin/sh/eval.c
1298
if (n > loopnest)
bin/sh/eval.c
1299
n = loopnest;
bin/sh/eval.c
1300
if (n > 0) {
bin/sh/eval.c
1302
skipcount = n;
bin/sh/eval.c
148
union node *n;
bin/sh/eval.c
158
while ((n = parsecmd(0)) != NEOF) {
bin/sh/eval.c
159
if (n != NULL && !nflag) {
bin/sh/eval.c
161
evaltree(n, flags | EV_EXIT);
bin/sh/eval.c
163
evaltree(n, flags);
bin/sh/eval.c
186
evaltree(union node *n, int flags)
bin/sh/eval.c
194
if (n == NULL) {
bin/sh/eval.c
204
TRACE(("evaltree(%p: %d) called\n", (void *)n, n->type));
bin/sh/eval.c
205
switch (n->type) {
bin/sh/eval.c
207
evaltree(n->nbinary.ch1, flags & ~EV_EXIT);
bin/sh/eval.c
210
next = n->nbinary.ch2;
bin/sh/eval.c
213
evaltree(n->nbinary.ch1, EV_TESTED);
bin/sh/eval.c
217
next = n->nbinary.ch2;
bin/sh/eval.c
220
evaltree(n->nbinary.ch1, EV_TESTED);
bin/sh/eval.c
223
next = n->nbinary.ch2;
bin/sh/eval.c
226
evalredir(n, flags);
bin/sh/eval.c
229
evalsubshell(n, flags);
bin/sh/eval.c
233
evalsubshell(n, flags);
bin/sh/eval.c
236
evaltree(n->nif.test, EV_TESTED);
bin/sh/eval.c
240
next = n->nif.ifpart;
bin/sh/eval.c
241
else if (n->nif.elsepart)
bin/sh/eval.c
242
next = n->nif.elsepart;
bin/sh/eval.c
249
evalloop(n, flags & ~EV_EXIT);
bin/sh/eval.c
252
evalfor(n, flags & ~EV_EXIT);
bin/sh/eval.c
255
next = evalcase(n);
bin/sh/eval.c
258
next = n->nclist.body;
bin/sh/eval.c
261
if (n->nclist.body) {
bin/sh/eval.c
262
evaltree(n->nclist.body, flags & ~EV_EXIT);
bin/sh/eval.c
266
next = n->nclist.next;
bin/sh/eval.c
269
defun(n->narg.text, n->narg.next);
bin/sh/eval.c
273
evaltree(n->nnot.com, EV_TESTED);
bin/sh/eval.c
280
evalpipe(n);
bin/sh/eval.c
284
evalcommand(n, flags, (struct backcmd *)NULL);
bin/sh/eval.c
288
out1fmt("Node type = %d\n", n->type);
bin/sh/eval.c
292
n = next;
bin/sh/eval.c
295
} while (n != NULL);
bin/sh/eval.c
308
evalloop(union node *n, int flags)
bin/sh/eval.c
316
evaltree(n->nbinary.ch1, EV_TESTED);
bin/sh/eval.c
328
if (n->type == NWHILE) {
bin/sh/eval.c
335
evaltree(n->nbinary.ch2, flags);
bin/sh/eval.c
345
evalfor(union node *n, int flags)
bin/sh/eval.c
353
for (argp = n->nfor.args ; argp ; argp = argp->narg.next) {
bin/sh/eval.c
361
setvar(n->nfor.var, arglist.args[i], 0);
bin/sh/eval.c
362
evaltree(n->nfor.body, flags);
bin/sh/eval.c
386
evalcase(union node *n)
bin/sh/eval.c
394
expandarg(n->ncase.expr, &arglist, EXP_TILDE);
bin/sh/eval.c
395
for (cp = n->ncase.cases ; cp ; cp = cp->nclist.next) {
bin/sh/eval.c
422
evalsubshell(union node *n, int flags)
bin/sh/eval.c
425
int backgnd = (n->type == NBACKGND);
bin/sh/eval.c
428
expredir(n->nredir.redirect);
bin/sh/eval.c
430
forkshell(jp = makejob(n, 1), n, backgnd) == 0) {
bin/sh/eval.c
433
redirect(n->nredir.redirect, 0);
bin/sh/eval.c
434
evaltree(n->nredir.n, flags | EV_EXIT); /* never returns */
bin/sh/eval.c
449
evalredir(union node *n, int flags)
bin/sh/eval.c
456
expredir(n->nredir.redirect);
bin/sh/eval.c
472
redirect(n->nredir.redirect, REDIR_PUSH);
bin/sh/eval.c
475
evaltree(n->nredir.n, flags);
bin/sh/eval.c
523
expredir(union node *n)
bin/sh/eval.c
527
for (redir = n ; redir ; redir = redir->nfile.next) {
bin/sh/eval.c
563
evalpipe(union node *n)
bin/sh/eval.c
571
TRACE(("evalpipe(%p) called\n", (void *)n));
bin/sh/eval.c
573
for (lp = n->npipe.cmdlist ; lp ; lp = lp->next)
bin/sh/eval.c
576
jp = makejob(n, pipelen);
bin/sh/eval.c
578
for (lp = n->npipe.cmdlist ; lp ; lp = lp->next) {
bin/sh/eval.c
579
prehash(lp->n);
bin/sh/eval.c
588
if (forkshell(jp, lp->n, n->npipe.backgnd) == 0) {
bin/sh/eval.c
602
evaltree(lp->n, EV_EXIT);
bin/sh/eval.c
611
if (n->npipe.backgnd == 0) {
bin/sh/eval.c
623
is_valid_fast_cmdsubst(union node *n)
bin/sh/eval.c
626
return (n->type == NCMD);
bin/sh/eval.c
637
evalbackcmd(union node *n, struct backcmd *result)
bin/sh/eval.c
651
if (n == NULL) {
bin/sh/eval.c
657
if (is_valid_fast_cmdsubst(n)) {
bin/sh/eval.c
676
evalcommand(n, EV_BACKCMD, result);
bin/sh/eval.c
686
jp = makejob(n, 1);
bin/sh/eval.c
687
if (forkshell(jp, n, FORK_NOJOB) == 0) {
bin/sh/eval.c
694
evaltree(n, EV_EXIT);
bin/sh/eval.c
92
static int is_valid_fast_cmdsubst(union node *n);
bin/sh/exec.c
173
ssize_t n;
bin/sh/exec.c
182
n = pread(in, buf, sizeof buf, 0);
bin/sh/exec.c
184
if (n > 0 && isbinary(buf, n)) {
bin/sh/expand.c
1504
union node *args, *n;
bin/sh/expand.c
1531
for (n = args; n != NULL; n = n->narg.next) {
bin/sh/expand.c
1532
if (n->narg.backquote != NULL) {
bin/sh/expand.c
1539
for (n = args; n != NULL; n = n->narg.next)
bin/sh/expand.c
1540
expandarg(n, &arglist, EXP_FULL | EXP_TILDE);
bin/sh/expand.c
317
expbackq((*argbackq)->n, c & CTLQUOTE, flag, dst);
bin/sh/jobs.c
1341
commandtext(union node *n)
bin/sh/jobs.c
1347
cmdtxt(n);
bin/sh/jobs.c
1354
cmdtxtdogroup(union node *n)
bin/sh/jobs.c
1357
cmdtxt(n);
bin/sh/jobs.c
1363
cmdtxtredir(union node *n, const char *op, int deffd)
bin/sh/jobs.c
1367
if (n->nfile.fd != deffd) {
bin/sh/jobs.c
1368
s[0] = n->nfile.fd + '0';
bin/sh/jobs.c
1373
if (n->type == NTOFD || n->type == NFROMFD) {
bin/sh/jobs.c
1374
if (n->ndup.dupfd >= 0)
bin/sh/jobs.c
1375
s[0] = n->ndup.dupfd + '0';
bin/sh/jobs.c
1381
cmdtxt(n->nfile.fname);
bin/sh/jobs.c
1387
cmdtxt(union node *n)
bin/sh/jobs.c
1392
if (n == NULL)
bin/sh/jobs.c
1394
switch (n->type) {
bin/sh/jobs.c
1396
cmdtxt(n->nbinary.ch1);
bin/sh/jobs.c
1398
cmdtxt(n->nbinary.ch2);
bin/sh/jobs.c
1401
cmdtxt(n->nbinary.ch1);
bin/sh/jobs.c
1403
cmdtxt(n->nbinary.ch2);
bin/sh/jobs.c
1406
cmdtxt(n->nbinary.ch1);
bin/sh/jobs.c
1408
cmdtxt(n->nbinary.ch2);
bin/sh/jobs.c
1411
for (lp = n->npipe.cmdlist ; lp ; lp = lp->next) {
bin/sh/jobs.c
1412
cmdtxt(lp->n);
bin/sh/jobs.c
1419
cmdtxt(n->nredir.n);
bin/sh/jobs.c
1424
cmdtxt(n->nredir.n);
bin/sh/jobs.c
1428
cmdtxt(n->nif.test);
bin/sh/jobs.c
1430
cmdtxt(n->nif.ifpart);
bin/sh/jobs.c
1435
cmdtxt(n->nbinary.ch1);
bin/sh/jobs.c
1436
cmdtxtdogroup(n->nbinary.ch2);
bin/sh/jobs.c
1440
cmdtxt(n->nbinary.ch1);
bin/sh/jobs.c
1441
cmdtxtdogroup(n->nbinary.ch2);
bin/sh/jobs.c
1445
cmdputs(n->nfor.var);
bin/sh/jobs.c
1450
cmdputs(n->ncase.expr->narg.text);
bin/sh/jobs.c
1454
cmdputs(n->narg.text);
bin/sh/jobs.c
1459
cmdtxt(n->nnot.com);
bin/sh/jobs.c
1462
for (np = n->ncmd.args ; np ; np = np->narg.next) {
bin/sh/jobs.c
1467
for (np = n->ncmd.redirect ; np ; np = np->nfile.next) {
bin/sh/jobs.c
1473
cmdputs(n->narg.text);
bin/sh/jobs.c
1476
cmdtxtredir(n, ">", 1);
bin/sh/jobs.c
1479
cmdtxtredir(n, ">>", 1);
bin/sh/jobs.c
1482
cmdtxtredir(n, ">&", 1);
bin/sh/jobs.c
1485
cmdtxtredir(n, ">|", 1);
bin/sh/jobs.c
1488
cmdtxtredir(n, "<", 0);
bin/sh/jobs.c
1491
cmdtxtredir(n, "<>", 0);
bin/sh/jobs.c
1494
cmdtxtredir(n, "<&", 0);
bin/sh/jobs.c
889
forkshell(struct job *jp, union node *n, int mode)
bin/sh/jobs.c
894
TRACE(("forkshell(%%%td, %p, %d) called\n", jp - jobtab, (void *)n,
bin/sh/jobs.c
994
if (iflag && rootshell && n)
bin/sh/jobs.c
995
ps->cmd = commandtext(n);
bin/sh/main.c
209
union node *n;
bin/sh/main.c
226
n = parsecmd(inter);
bin/sh/main.c
228
if (n == NEOF) {
bin/sh/main.c
237
} else if (n != NULL && nflag == 0) {
bin/sh/main.c
240
evaltree(n, 0);
bin/sh/memalloc.c
304
growstrstackblock(int n, int min)
bin/sh/memalloc.c
307
return stackblock() + n;
bin/sh/memalloc.h
66
#define grabstackblock(n) stalloc(n)
bin/sh/memalloc.h
69
#define CHECKSTRSPACE(n, p) { if ((size_t)(sstrend - p) < n) p = makestrspace(n, p); }
bin/sh/options.c
372
int i, n;
bin/sh/options.c
374
n = 1;
bin/sh/options.c
376
n = number(argv[1]);
bin/sh/options.c
377
if (n > shellparam.nparam)
bin/sh/options.c
380
shellparam.nparam -= n;
bin/sh/options.c
382
for (i = 0; i < n; i++)
bin/sh/options.c
384
memmove(shellparam.p, shellparam.p + n,
bin/sh/output.c
350
int n;
bin/sh/output.c
352
n = nbytes;
bin/sh/output.c
355
i = write(fd, buf, n);
bin/sh/output.c
357
if ((n -= i) <= 0)
bin/sh/output.c
363
return nbytes - n;
bin/sh/parser.c
1087
union node *n;
bin/sh/parser.c
1184
n = list(0);
bin/sh/parser.c
1193
(*nlpp)->n = n;
bin/sh/parser.c
1239
int c, vc, i, n;
bin/sh/parser.c
1310
n = c == 'U' ? 8 : 4;
bin/sh/parser.c
1312
for (i = 0; i < n; i++) {
bin/sh/parser.c
2360
union node n;
bin/sh/parser.c
2377
n.narg.type = NARG;
bin/sh/parser.c
2378
n.narg.next = NULL;
bin/sh/parser.c
2379
n.narg.text = wordtext;
bin/sh/parser.c
2380
n.narg.backquote = backquotelist;
bin/sh/parser.c
2382
expandarg(&n, NULL, 0);
bin/sh/parser.c
241
union node *n, *first = NULL, **pnext;
bin/sh/parser.c
259
n = makename();
bin/sh/parser.c
260
*pnext = n;
bin/sh/parser.c
261
pnext = &n->narg.next;
bin/sh/parser.c
288
n3->nredir.n = n2;
bin/sh/parser.c
344
union node *n;
bin/sh/parser.c
347
n = pipeline();
bin/sh/parser.c
355
return n;
bin/sh/parser.c
357
n = makebinary(t, n, pipeline());
bin/sh/parser.c
383
lp->n = n1;
bin/sh/parser.c
391
lp->n = pipeline();
bin/sh/parser.c
393
lp->n = command();
bin/sh/parser.c
568
n1->nredir.n = list(0);
bin/sh/parser.c
612
n2->nredir.n = n1;
bin/sh/parser.c
627
union node *n = NULL;
bin/sh/parser.c
650
n = makename();
bin/sh/parser.c
651
*app = n;
bin/sh/parser.c
652
app = &n->narg.next;
bin/sh/parser.c
656
*rpp = n = redirnode;
bin/sh/parser.c
657
rpp = &n->nfile.next;
bin/sh/parser.c
670
if (!noexpand(n->narg.text) || quoteflag ||
bin/sh/parser.c
671
strchr(n->narg.text, '/') ||
bin/sh/parser.c
673
n->narg.text[strlen(n->narg.text) - 1]))
bin/sh/parser.c
675
rmescapes(n->narg.text);
bin/sh/parser.c
676
if (find_builtin(n->narg.text, &special) >= 0 &&
bin/sh/parser.c
679
n->type = NDEFUN;
bin/sh/parser.c
680
n->narg.next = command();
bin/sh/parser.c
682
return n;
bin/sh/parser.c
690
n = (union node *)stalloc(sizeof (struct ncmd));
bin/sh/parser.c
691
n->type = NCMD;
bin/sh/parser.c
692
n->ncmd.args = args;
bin/sh/parser.c
693
n->ncmd.redirect = redir;
bin/sh/parser.c
694
return n;
bin/sh/parser.c
700
union node *n;
bin/sh/parser.c
702
n = (union node *)stalloc(sizeof (struct narg));
bin/sh/parser.c
703
n->type = NARG;
bin/sh/parser.c
704
n->narg.next = NULL;
bin/sh/parser.c
705
n->narg.text = wordtext;
bin/sh/parser.c
706
n->narg.backquote = backquotelist;
bin/sh/parser.c
707
return n;
bin/sh/parser.c
713
union node *n;
bin/sh/parser.c
715
n = (union node *)stalloc(sizeof (struct nbinary));
bin/sh/parser.c
716
n->type = type;
bin/sh/parser.c
717
n->nbinary.ch1 = n1;
bin/sh/parser.c
718
n->nbinary.ch2 = n2;
bin/sh/parser.c
719
return (n);
bin/sh/parser.c
729
fixredir(union node *n, const char *text, int err)
bin/sh/parser.c
733
n->ndup.vname = NULL;
bin/sh/parser.c
736
n->ndup.dupfd = digit_val(text[0]);
bin/sh/parser.c
738
n->ndup.dupfd = -1;
bin/sh/parser.c
744
n->ndup.vname = makename();
bin/sh/parser.c
752
union node *n = redirnode;
bin/sh/parser.c
755
if (n->type == NHERE) {
bin/sh/parser.c
760
n->type = NXHERE;
bin/sh/parser.c
761
TRACE(("Here document %d\n", n->type));
bin/sh/parser.c
777
} else if (n->type == NTOFD || n->type == NFROMFD) {
bin/sh/parser.c
778
fixredir(n, wordtext, 0);
bin/sh/parser.c
780
n->nfile.fname = makename();
bin/sh/parser.c
793
union node *n;
bin/sh/parser.c
804
n = makename();
bin/sh/parser.c
805
here->here->nhere.doc = n;
bin/sh/redir.c
105
union node *n;
bin/sh/redir.c
128
for (n = redir ; n ; n = n->nfile.next) {
bin/sh/redir.c
129
fd = n->nfile.fd;
bin/sh/redir.c
132
if ((n->nfile.type == NTOFD || n->nfile.type == NFROMFD) &&
bin/sh/redir.c
133
n->ndup.dupfd == fd)
bin/sh/redir.c
152
openredirect(n, memory);
bin/sh/show.c
100
if (n->npipe.backgnd)
bin/sh/show.c
106
fprintf(fp, "<node type %d>", n->type);
bin/sh/show.c
240
shtree(bqlist->n, -1, NULL, fp);
bin/sh/show.c
57
showtree(union node *n)
bin/sh/show.c
60
shtree(n, 1, NULL, stdout);
bin/sh/show.c
65
shtree(union node *n, int ind, char *pfx, FILE *fp)
bin/sh/show.c
70
if (n == NULL)
bin/sh/show.c
74
switch(n->type) {
bin/sh/show.c
84
shtree(n->nbinary.ch1, ind, NULL, fp);
bin/sh/show.c
87
shtree(n->nbinary.ch2, ind, NULL, fp);
bin/sh/show.c
90
shcmd(n, fp);
bin/sh/show.c
95
for (lp = n->npipe.cmdlist ; lp ; lp = lp->next) {
bin/sh/show.c
96
shcmd(lp->n, fp);
bin/sh/trap.c
104
int n;
bin/sh/trap.c
108
for (n = 1; n < sys_nsig; n++)
bin/sh/trap.c
109
if (sys_signame[n] &&
bin/sh/trap.c
110
strcasecmp(sys_signame[n], sig) == 0)
bin/sh/trap.c
111
return (n);
bin/sh/trap.c
123
int n, outlen;
bin/sh/trap.c
126
for (n = 1; n < sys_nsig; n++) {
bin/sh/trap.c
127
if (sys_signame[n]) {
bin/sh/trap.c
128
out1fmt("%s", sys_signame[n]);
bin/sh/trap.c
129
outlen += strlen(sys_signame[n]);
bin/sh/trap.c
131
out1fmt("%d", n);
bin/sh/trap.c
135
if (outlen > 71 || n == sys_nsig - 1) {
bin/sh/var.c
595
int i, n;
bin/sh/var.c
600
n = 0;
bin/sh/var.c
604
n++;
bin/sh/var.c
609
vars = ckmalloc(n * sizeof(*vars));
bin/sh/var.c
618
qsort(vars, n, sizeof(*vars), var_compare);
bin/sh/var.c
619
for (i = 0; i < n; i++) {
bin/stty/print.c
85
#define put(n, f, d) \
bin/stty/print.c
87
bput((n) + on(f));
bin/test/test.c
240
oexpr(enum token n)
bin/test/test.c
244
res = aexpr(n);
bin/test/test.c
254
aexpr(enum token n)
bin/test/test.c
258
res = nexpr(n);
bin/test/test.c
268
nexpr(enum token n)
bin/test/test.c
270
if (n == UNOT)
bin/test/test.c
272
return primary(n);
bin/test/test.c
276
primary(enum token n)
bin/test/test.c
281
if (n == EOI)
bin/test/test.c
283
if (n == LPAREN) {
bin/test/test.c
296
if (TOKEN_TYPE(n) == UNOP) {
bin/test/test.c
300
switch (n) {
bin/test/test.c
308
return filstat(*++t_wp, n);
bin/test/test.c
320
binop(enum token n)
bin/test/test.c
330
switch (n) {
cddl/lib/libdtrace/libproc_compat.h
39
#define Pxlookup_by_addr(p, a, n, s, sym, i) \
cddl/lib/libdtrace/libproc_compat.h
40
proc_addr2sym(p, a, n, s, sym)
crypto/heimdal/appl/ftp/ftp/cmds.c
1295
int n, aflag = 0;
crypto/heimdal/appl/ftp/ftp/cmds.c
1305
n = command("USER %s", argv[1]);
crypto/heimdal/appl/ftp/ftp/cmds.c
1306
if (n == CONTINUE) {
crypto/heimdal/appl/ftp/ftp/cmds.c
1314
n = command("PASS %s", argv[2]);
crypto/heimdal/appl/ftp/ftp/cmds.c
1316
if (n == CONTINUE) {
crypto/heimdal/appl/ftp/ftp/cmds.c
1323
n = command("ACCT %s", argv[3]);
crypto/heimdal/appl/ftp/ftp/cmds.c
1326
if (n != COMPLETE) {
crypto/heimdal/appl/ftp/ftp/ftp.c
1079
int i, n, ch;
crypto/heimdal/appl/ftp/ftp/ftp.c
1083
n = restart_point;
crypto/heimdal/appl/ftp/ftp/ftp.c
1084
for (i = 0; i++ < n;) {
crypto/heimdal/appl/ftp/ftp/ftp.c
171
int n, aflag = 0;
crypto/heimdal/appl/ftp/ftp/ftp.c
212
n = command("USER %s", userstr);
crypto/heimdal/appl/ftp/ftp/ftp.c
213
if (n == COMPLETE)
crypto/heimdal/appl/ftp/ftp/ftp.c
214
n = command("PASS dummy"); /* DK: Compatibility with gssftp daemon */
crypto/heimdal/appl/ftp/ftp/ftp.c
215
else if(n == CONTINUE) {
crypto/heimdal/appl/ftp/ftp/ftp.c
237
n = command ("PASS %s", pass);
crypto/heimdal/appl/ftp/ftp/ftp.c
241
if (n == CONTINUE) {
crypto/heimdal/appl/ftp/ftp/ftp.c
245
n = command ("ACCT %s", acctstr);
crypto/heimdal/appl/ftp/ftp/ftp.c
247
if (n != COMPLETE) {
crypto/heimdal/appl/ftp/ftp/ftp.c
259
for (n = 0; n < macnum; ++n) {
crypto/heimdal/appl/ftp/ftp/ftp.c
260
if (!strcmp("init", macros[n].mac_name)) {
crypto/heimdal/appl/ftp/ftp/ftp.c
449
int c, n;
crypto/heimdal/appl/ftp/ftp/ftp.c
458
dig = n = code = 0;
crypto/heimdal/appl/ftp/ftp/ftp.c
496
(verbose > -1 && n == '5' && dig > 4))) {
crypto/heimdal/appl/ftp/ftp/ftp.c
521
if (n == 0)
crypto/heimdal/appl/ftp/ftp/ftp.c
522
n = c;
crypto/heimdal/appl/ftp/ftp/ftp.c
526
if (verbose > 0 || verbose > -1 && n == '5') {
crypto/heimdal/appl/ftp/ftp/ftp.c
543
n = code / 100 + '0';
crypto/heimdal/appl/ftp/ftp/ftp.c
545
if (n != '1')
crypto/heimdal/appl/ftp/ftp/ftp.c
552
return (n - '0');
crypto/heimdal/appl/ftp/ftp/ftp.c
588
int n;
crypto/heimdal/appl/ftp/ftp/ftp.c
646
while ((n = read (fileno (from), buf, bufsize)) > 0) {
crypto/heimdal/appl/ftp/ftp/ftp.c
647
werr = sec_write (fileno (to), buf, n);
crypto/heimdal/appl/ftp/ftp/ftp.c
657
if (n < 0)
crypto/heimdal/appl/ftp/ftp/gssapi.c
334
int n;
crypto/heimdal/appl/ftp/ftp/gssapi.c
425
n = command("ADAT %s", p);
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
3087
ftpd_getline(char *s, int n)
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
3096
strlcpy(s, ftp_command, n);
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
3127
if (--n <= 0 || c == '\n')
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
3177
int n;
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
3278
n = strlen(cp);
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
3279
cpos += n - 1;
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
3283
if (n > 1 && cbuf[cpos] == '\n') {
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
394
# define YYID(n) (n)
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
1034
ftpd_getline(char *s, int n)
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
1043
strlcpy(s, ftp_command, n);
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
1074
if (--n <= 0 || c == '\n')
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
1124
int n;
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
1225
n = strlen(cp);
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
1226
cpos += n - 1;
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
1230
if (n > 1 && cbuf[cpos] == '\n') {
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1040
off_t i, n;
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1043
n = restart_point;
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1045
while (i++ < n) {
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1131
off_t i, n;
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1134
n = restart_point;
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1136
while (i++ < n) {
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1669
int_reply(int n, char *c, const char *fmt, va_list ap)
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1674
if(n){
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1675
snprintf(p, sizeof(buf), "%d%s", n, c);
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1689
reply(int n, const char *fmt, ...)
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1693
int_reply(n, " ", fmt, ap);
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1699
lreply(int n, const char *fmt, ...)
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1703
int_reply(n, "-", fmt, ap);
crypto/heimdal/appl/ftp/ftpd/gssapi.c
334
int n;
crypto/heimdal/appl/ftp/ftpd/gssapi.c
425
n = command("ADAT %s", p);
crypto/heimdal/appl/ftp/ftpd/ls.c
299
int n;
crypto/heimdal/appl/ftp/ftpd/ls.c
300
n = readlink((char *)filename, buf, sizeof(buf) - 1);
crypto/heimdal/appl/ftp/ftpd/ls.c
301
if(n >= 0) {
crypto/heimdal/appl/ftp/ftpd/ls.c
302
buf[n] = '\0';
crypto/heimdal/appl/ftp/ftpd/ls.c
736
free_files (char **files, int n)
crypto/heimdal/appl/ftp/ftpd/ls.c
740
for (i = 0; i < n; ++i)
crypto/heimdal/appl/telnet/libtelnet/genget.c
81
int n;
crypto/heimdal/appl/telnet/libtelnet/genget.c
88
if ((n = isprefix(name, *c)) == 0)
crypto/heimdal/appl/telnet/libtelnet/genget.c
90
if (n < 0) /* exact match */
crypto/heimdal/appl/telnet/telnet/externs.h
255
int TerminalWrite(char *buf, int n);
crypto/heimdal/appl/telnet/telnet/externs.h
256
int TerminalRead(unsigned char *buf, int n);
crypto/heimdal/appl/telnet/telnet/network.c
125
int n, n1;
crypto/heimdal/appl/telnet/telnet/network.c
131
if ((n1 = n = ring_full_consecutive(&netoring)) > 0) {
crypto/heimdal/appl/telnet/telnet/network.c
133
n = send(net, (char *)netoring.consume, n, 0); /* normal write */
crypto/heimdal/appl/telnet/telnet/network.c
143
n = send(net, (char *)netoring.consume, 1, MSG_OOB);/* URGENT data */
crypto/heimdal/appl/telnet/telnet/network.c
146
if (n < 0) {
crypto/heimdal/appl/telnet/telnet/network.c
155
n = 0;
crypto/heimdal/appl/telnet/telnet/network.c
157
if (netdata && n) {
crypto/heimdal/appl/telnet/telnet/network.c
158
Dump('>', netoring.consume, n);
crypto/heimdal/appl/telnet/telnet/network.c
160
if (n) {
crypto/heimdal/appl/telnet/telnet/network.c
161
ring_consumed(&netoring, n);
crypto/heimdal/appl/telnet/telnet/network.c
166
if ((n1 == n) && ring_full_consecutive(&netoring)) {
crypto/heimdal/appl/telnet/telnet/sys_bsd.c
101
return read(tin, buf, n);
crypto/heimdal/appl/telnet/telnet/sys_bsd.c
93
TerminalWrite(char *buf, int n)
crypto/heimdal/appl/telnet/telnet/sys_bsd.c
95
return write(tout, buf, n);
crypto/heimdal/appl/telnet/telnet/sys_bsd.c
99
TerminalRead(unsigned char *buf, int n)
crypto/heimdal/appl/telnet/telnet/telnet.c
514
int n;
crypto/heimdal/appl/telnet/telnet/telnet.c
530
for (n = 1, cp = buf; *cp && *cp != ':'; cp++) {
crypto/heimdal/appl/telnet/telnet/telnet.c
532
n++;
crypto/heimdal/appl/telnet/telnet/telnet.c
537
argv = (char **)malloc((n+3)*sizeof(char *));
crypto/heimdal/appl/telnet/telnet/telnet.c
546
n = 0;
crypto/heimdal/appl/telnet/telnet/telnet.c
557
if (n || (cp - cp2 > 41))
crypto/heimdal/appl/telnet/telnet/telnet.c
573
n = 0;
crypto/heimdal/appl/telnet/telnet/telnet.c
582
n = 1;
crypto/heimdal/appl/telnet/telnet/telnet.c
627
int n;
crypto/heimdal/appl/telnet/telnet/telnet.c
629
n = strlen(name) + 1;
crypto/heimdal/appl/telnet/telnet/telnet.c
631
if (strncasecmp(*ap, name, n) == 0)
crypto/heimdal/appl/telnet/telnet/terminal.c
105
int n, n0, n1;
crypto/heimdal/appl/telnet/telnet/terminal.c
108
if ((n1 = n = ring_full_consecutive(&ttyoring)) > 0) {
crypto/heimdal/appl/telnet/telnet/terminal.c
113
n = TerminalWrite((char *)ttyoring.consume, n);
crypto/heimdal/appl/telnet/telnet/terminal.c
116
if (n > 0) {
crypto/heimdal/appl/telnet/telnet/terminal.c
117
if (termdata && n) {
crypto/heimdal/appl/telnet/telnet/terminal.c
118
Dump('>', ttyoring.consume, n);
crypto/heimdal/appl/telnet/telnet/terminal.c
125
if (n1 == n && n0 > n) {
crypto/heimdal/appl/telnet/telnet/terminal.c
126
n1 = n0 - n;
crypto/heimdal/appl/telnet/telnet/terminal.c
130
n += n1;
crypto/heimdal/appl/telnet/telnet/terminal.c
132
ring_consumed(&ttyoring, n);
crypto/heimdal/appl/telnet/telnet/terminal.c
134
if (n < 0)
crypto/heimdal/appl/telnet/telnet/terminal.c
136
if (n == n0) {
crypto/heimdal/appl/telnet/telnet/terminal.c
141
return n0 - n + 1;
crypto/heimdal/appl/telnet/telnetd/sys_term.c
756
int n;
crypto/heimdal/appl/telnet/telnetd/sys_term.c
760
n = ioctl(fd, I_LIST, 0);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
761
if(n < 0){
crypto/heimdal/appl/telnet/telnetd/sys_term.c
765
sl.sl_modlist=(struct str_mlist*)malloc(n * sizeof(struct str_mlist));
crypto/heimdal/appl/telnet/telnetd/sys_term.c
766
sl.sl_nmods = n;
crypto/heimdal/appl/telnet/telnetd/sys_term.c
767
n = ioctl(fd, I_LIST, &sl);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
768
if(n < 0){
crypto/heimdal/appl/telnet/telnetd/utility.c
116
int n;
crypto/heimdal/appl/telnet/telnetd/utility.c
118
if ((n = pfrontp - pbackp) > 0) {
crypto/heimdal/appl/telnet/telnetd/utility.c
120
output_data("td: ptyflush %d chars\r\n", n);
crypto/heimdal/appl/telnet/telnetd/utility.c
122
DIAG(TD_PTYDATA, printdata("pd", pbackp, n));
crypto/heimdal/appl/telnet/telnetd/utility.c
123
n = write(ourpty, pbackp, n);
crypto/heimdal/appl/telnet/telnetd/utility.c
125
if (n < 0) {
crypto/heimdal/appl/telnet/telnetd/utility.c
130
pbackp += n;
crypto/heimdal/appl/telnet/telnetd/utility.c
249
int n;
crypto/heimdal/appl/telnet/telnetd/utility.c
251
if ((n = nfrontp - nbackp) > 0) {
crypto/heimdal/appl/telnet/telnetd/utility.c
253
{ n += output_data("td: netflush %d chars\r\n", n);
crypto/heimdal/appl/telnet/telnetd/utility.c
272
n = write(net, nbackp, n); /* normal write */
crypto/heimdal/appl/telnet/telnetd/utility.c
275
n = neturg - nbackp;
crypto/heimdal/appl/telnet/telnetd/utility.c
284
if (n > 1) {
crypto/heimdal/appl/telnet/telnetd/utility.c
285
n = send(net, nbackp, n-1, 0); /* send URGENT all by itself */
crypto/heimdal/appl/telnet/telnetd/utility.c
287
n = send(net, nbackp, n, MSG_OOB); /* URGENT data */
crypto/heimdal/appl/telnet/telnetd/utility.c
292
if (n < 0) {
crypto/heimdal/appl/telnet/telnetd/utility.c
297
nbackp += n;
crypto/heimdal/appl/test/tcp_server.c
101
if (n < 0)
crypto/heimdal/appl/test/tcp_server.c
108
n = krb5_net_read (context, &sock, packet.data, len);
crypto/heimdal/appl/test/tcp_server.c
109
if (n == 0)
crypto/heimdal/appl/test/tcp_server.c
111
if (n < 0)
crypto/heimdal/appl/test/tcp_server.c
125
n = krb5_net_read (context, &sock, &net_len, 4);
crypto/heimdal/appl/test/tcp_server.c
126
if (n == 0)
crypto/heimdal/appl/test/tcp_server.c
128
if (n < 0)
crypto/heimdal/appl/test/tcp_server.c
135
n = krb5_net_read (context, &sock, packet.data, len);
crypto/heimdal/appl/test/tcp_server.c
136
if (n == 0)
crypto/heimdal/appl/test/tcp_server.c
138
if (n < 0)
crypto/heimdal/appl/test/tcp_server.c
51
ssize_t n;
crypto/heimdal/appl/test/tcp_server.c
98
n = krb5_net_read (context, &sock, &net_len, 4);
crypto/heimdal/appl/test/tcp_server.c
99
if (n == 0)
crypto/heimdal/base/array.c
134
size_t n;
crypto/heimdal/base/array.c
135
for (n = 0; n < array->len; n++)
crypto/heimdal/base/array.c
136
fn(array->val[n], ctx);
crypto/heimdal/base/array.c
150
size_t n;
crypto/heimdal/base/array.c
151
for (n = 0; n < array->len; n++)
crypto/heimdal/base/array.c
152
fn(array->val[n]);
crypto/heimdal/base/array.c
223
size_t n = 0;
crypto/heimdal/base/array.c
225
while (n < array->len) {
crypto/heimdal/base/array.c
226
if (block(array->val[n])) {
crypto/heimdal/base/array.c
227
heim_array_delete_value(array, n);
crypto/heimdal/base/array.c
229
n++;
crypto/heimdal/base/array.c
51
size_t n;
crypto/heimdal/base/array.c
52
for (n = 0; n < array->len; n++)
crypto/heimdal/base/array.c
53
heim_release(array->val[n]);
crypto/heimdal/base/heimbase.h
55
#define HEIM_REQUIRE_GNUC(m,n,p) \
crypto/heimdal/base/heimbase.h
57
(((m) * 10000) + ((n) * 100) + (p)))
crypto/heimdal/base/number.c
90
heim_number_t n;
crypto/heimdal/base/number.c
95
n = _heim_alloc_object(&_heim_number_object, sizeof(int));
crypto/heimdal/base/number.c
96
if (n)
crypto/heimdal/base/number.c
97
*((int *)n) = number;
crypto/heimdal/base/number.c
98
return n;
crypto/heimdal/base/string.c
54
unsigned long n;
crypto/heimdal/base/string.c
56
for (n = 0; *s; ++s)
crypto/heimdal/base/string.c
57
n += *s;
crypto/heimdal/base/string.c
58
return n;
crypto/heimdal/kadmin/add-random-users.c
109
add_users (const char *filename, unsigned n)
crypto/heimdal/kadmin/add-random-users.c
132
for (i = 0; i < n; ++i)
crypto/heimdal/kadmin/add-random-users.c
160
int n = NUSERS;
crypto/heimdal/kadmin/add-random-users.c
178
n = atoi(argv[1]);
crypto/heimdal/kadmin/add-random-users.c
182
add_users (filename, n);
crypto/heimdal/kadmin/add-random-users.c
45
unsigned n, alloc;
crypto/heimdal/kadmin/add-random-users.c
54
alloc = n = 0;
crypto/heimdal/kadmin/add-random-users.c
59
if (n >= alloc) {
crypto/heimdal/kadmin/add-random-users.c
69
w[n++] = wptr;
crypto/heimdal/kadmin/add-random-users.c
72
if (n == 0)
crypto/heimdal/kadmin/add-random-users.c
76
return n;
crypto/heimdal/kadmin/add_enctype.c
111
int n = princ.n_key_data + i;
crypto/heimdal/kadmin/add_enctype.c
114
memset(&new_key_data[n], 0, sizeof(new_key_data[n]));
crypto/heimdal/kadmin/add_enctype.c
115
new_key_data[n].key_data_ver = 2;
crypto/heimdal/kadmin/add_enctype.c
116
new_key_data[n].key_data_kvno = 0;
crypto/heimdal/kadmin/add_enctype.c
122
free(new_key_data[--n].key_data_contents[0]);
crypto/heimdal/kadmin/add_enctype.c
127
new_key_data[n].key_data_type[0] = etypes[i];
crypto/heimdal/kadmin/add_enctype.c
128
new_key_data[n].key_data_contents[0] = malloc(keyblock.keyvalue.length);
crypto/heimdal/kadmin/add_enctype.c
129
if (new_key_data[n].key_data_contents[0] == NULL) {
crypto/heimdal/kadmin/add_enctype.c
133
free(new_key_data[--n].key_data_contents[0]);
crypto/heimdal/kadmin/add_enctype.c
136
new_key_data[n].key_data_length[0] = keyblock.keyvalue.length;
crypto/heimdal/kadmin/add_enctype.c
137
memcpy(new_key_data[n].key_data_contents[0],
crypto/heimdal/kadmin/add_enctype.c
143
new_key_data[n].key_data_type[1] = KRB5_PW_SALT;
crypto/heimdal/kadmin/add_enctype.c
144
new_key_data[n].key_data_length[1] = 0;
crypto/heimdal/kadmin/add_enctype.c
145
new_key_data[n].key_data_contents[1] = NULL;
crypto/heimdal/kadmin/server.c
569
ssize_t n;
crypto/heimdal/kadmin/server.c
572
n = krb5_net_read(contextp, &sock, buf, 4);
crypto/heimdal/kadmin/server.c
573
if(n == 0)
crypto/heimdal/kadmin/server.c
575
if(n < 0)
crypto/heimdal/kadmin/server.c
581
n = krb5_net_read(contextp, &sock, buf + 4, len);
crypto/heimdal/kadmin/server.c
582
if (n < 0)
crypto/heimdal/kadmin/server.c
584
if (n == 0)
crypto/heimdal/kadmin/stash.c
86
ssize_t n;
crypto/heimdal/kadmin/stash.c
87
n = read(opt->master_key_fd_integer, buf, sizeof(buf));
crypto/heimdal/kadmin/stash.c
88
if(n == 0)
crypto/heimdal/kadmin/stash.c
90
else if(n < 0) {
crypto/heimdal/kadmin/stash.c
92
n = 0;
crypto/heimdal/kadmin/stash.c
94
buf[n] = '\0';
crypto/heimdal/kcm/cache.c
43
unsigned n;
crypto/heimdal/kcm/cache.c
47
n = ++ccache_nextid;
crypto/heimdal/kcm/cache.c
50
asprintf(&name, "%ld:%u", (long)uid, n);
crypto/heimdal/kcm/protocol.c
1072
char *n = NULL;
crypto/heimdal/kcm/protocol.c
1083
name = n = kcm_ccache_first_name(client);
crypto/heimdal/kcm/protocol.c
1086
asprintf(&n, "%d", (int)client->uid);
crypto/heimdal/kcm/protocol.c
1087
name = n;
crypto/heimdal/kcm/protocol.c
1092
if (n)
crypto/heimdal/kcm/protocol.c
1093
free(n);
crypto/heimdal/kcm/protocol.c
984
#define MOVE(n,o,f) { tmp.f = n->f ; n->f = o->f; o->f = tmp.f; }
crypto/heimdal/kdc/connect.c
234
reinit_descrs (struct descr *d, int n)
crypto/heimdal/kdc/connect.c
238
for (i = 0; i < n; ++i)
crypto/heimdal/kdc/connect.c
471
ssize_t n;
crypto/heimdal/kdc/connect.c
480
n = recvfrom(d->s, buf, max_request_udp, 0, d->sa, &d->sock_len);
crypto/heimdal/kdc/connect.c
481
if(rk_IS_SOCKET_ERROR(n))
crypto/heimdal/kdc/connect.c
486
if ((size_t)n == max_request_udp) {
crypto/heimdal/kdc/connect.c
503
do_request(context, config, buf, n, FALSE, d);
crypto/heimdal/kdc/connect.c
587
struct descr *d, size_t n)
crypto/heimdal/kdc/connect.c
589
if (d->size - d->len < n) {
crypto/heimdal/kdc/connect.c
593
grow = max(1024, d->len + n);
crypto/heimdal/kdc/connect.c
765
int n;
crypto/heimdal/kdc/connect.c
773
n = recvfrom(d[idx].s, buf, sizeof(buf), 0, NULL, NULL);
crypto/heimdal/kdc/connect.c
774
if(rk_IS_SOCKET_ERROR(n)){
crypto/heimdal/kdc/connect.c
779
} else if (n == 0) {
crypto/heimdal/kdc/connect.c
787
if (grow_descr (context, config, &d[idx], n))
crypto/heimdal/kdc/connect.c
789
memcpy(d[idx].buf + d[idx].len, buf, n);
crypto/heimdal/kdc/connect.c
790
d[idx].len += n;
crypto/heimdal/kdc/kstash.c
115
ssize_t n;
crypto/heimdal/kdc/kstash.c
116
n = read(master_key_fd, buf, sizeof(buf));
crypto/heimdal/kdc/kstash.c
117
if(n <= 0)
crypto/heimdal/kdc/kstash.c
119
buf[n] = '\0';
crypto/heimdal/kdc/mit_dump.c
103
char *p, *n;
crypto/heimdal/kdc/mit_dump.c
119
n = realloc(*buf, *sz + (*sz >> 1));
crypto/heimdal/kdc/mit_dump.c
120
if (!n) {
crypto/heimdal/kdc/mit_dump.c
127
*buf = n;
crypto/heimdal/kpasswd/kpasswd-generator.c
41
unsigned n, alloc;
crypto/heimdal/kpasswd/kpasswd-generator.c
49
alloc = n = 0;
crypto/heimdal/kpasswd/kpasswd-generator.c
52
if (n >= alloc) {
crypto/heimdal/kpasswd/kpasswd-generator.c
56
w[n++] = estrdup (buf);
crypto/heimdal/kpasswd/kpasswd-generator.c
59
if (n == 0)
crypto/heimdal/kpasswd/kpasswd-generator.c
62
return n;
crypto/heimdal/kpasswd/kpasswdd.c
658
unsigned n, i;
crypto/heimdal/kpasswd/kpasswdd.c
674
n = addrs.len;
crypto/heimdal/kpasswd/kpasswdd.c
676
sockets = malloc (n * sizeof(*sockets));
crypto/heimdal/kpasswd/kpasswdd.c
681
for (i = 0; i < n; ++i) {
crypto/heimdal/kpasswd/kpasswdd.c
719
for (i = 0; i < n; ++i)
crypto/heimdal/kpasswd/kpasswdd.c
740
for (i = 0; i < n; ++i)
crypto/heimdal/kuser/generate-requests.c
39
unsigned n, alloc;
crypto/heimdal/kuser/generate-requests.c
47
alloc = n = 0;
crypto/heimdal/kuser/generate-requests.c
50
if (n >= alloc) {
crypto/heimdal/kuser/generate-requests.c
54
w[n++] = estrdup (buf);
crypto/heimdal/kuser/generate-requests.c
57
if (n == 0)
crypto/heimdal/kuser/generate-requests.c
60
return n;
crypto/heimdal/lib/asn1/asn1_print.c
209
size_t n;
crypto/heimdal/lib/asn1/asn1_print.c
219
for (n = 0; n < str.length; n++) {
crypto/heimdal/lib/asn1/asn1_print.c
220
if (isprint((int)s[n]))
crypto/heimdal/lib/asn1/asn1_print.c
221
printf ("%c", s[n]);
crypto/heimdal/lib/asn1/asn1_print.c
223
printf ("#%02x", s[n]);
crypto/heimdal/lib/asn1/asn1parse.c
404
# define YYID(n) (n)
crypto/heimdal/lib/asn1/der_get.c
504
size_t n;
crypto/heimdal/lib/asn1/der_get.c
523
for (n = 2; len > 0; ++n) {
crypto/heimdal/lib/asn1/der_get.c
536
data->components[n] = u;
crypto/heimdal/lib/asn1/der_get.c
538
if (n > 2 && p[-1] & 0x80) {
crypto/heimdal/lib/asn1/der_get.c
542
data->length = n;
crypto/heimdal/lib/asn1/der_length.c
134
size_t n;
crypto/heimdal/lib/asn1/der_length.c
136
for (n = 2; n < oid->length; ++n) {
crypto/heimdal/lib/asn1/der_length.c
137
unsigned u = oid->components[n];
crypto/heimdal/lib/asn1/der_put.c
418
int n;
crypto/heimdal/lib/asn1/der_put.c
420
for (n = data->length - 1; n >= 2; --n) {
crypto/heimdal/lib/asn1/der_put.c
421
unsigned u = data->components[n];
crypto/heimdal/lib/asn1/gen.c
513
struct member *n = ASN1_TAILQ_NEXT(m, members);
crypto/heimdal/lib/asn1/gen.c
514
if (n == NULL)
crypto/heimdal/lib/asn1/gen.c
516
if (n->ellipsis && ASN1_TAILQ_NEXT(n, members) == NULL)
crypto/heimdal/lib/asn1/gen.c
765
char *n = NULL;
crypto/heimdal/lib/asn1/gen.c
769
if (asprintf (&n, "_unused%d:1", pos) < 0 || n == NULL)
crypto/heimdal/lib/asn1/gen.c
771
define_type (level + 1, n, newbasename, &i, FALSE, FALSE);
crypto/heimdal/lib/asn1/gen.c
772
free(n);
crypto/heimdal/lib/asn1/gen.c
776
n = NULL;
crypto/heimdal/lib/asn1/gen.c
777
if (asprintf (&n, "%s:1", m->gen_name) < 0 || n == NULL)
crypto/heimdal/lib/asn1/gen.c
779
define_type (level + 1, n, newbasename, &i, FALSE, FALSE);
crypto/heimdal/lib/asn1/gen.c
780
free (n);
crypto/heimdal/lib/asn1/gen.c
781
n = NULL;
crypto/heimdal/lib/asn1/gen.c
786
char *n = NULL;
crypto/heimdal/lib/asn1/gen.c
787
if (asprintf (&n, "_unused%d:1", pos) < 0 || n == NULL)
crypto/heimdal/lib/asn1/gen.c
789
define_type (level + 1, n, newbasename, &i, FALSE, FALSE);
crypto/heimdal/lib/asn1/gen.c
790
free(n);
crypto/heimdal/lib/asn1/gen.c
832
char *n = NULL;
crypto/heimdal/lib/asn1/gen.c
834
if (asprintf (&n, "*%s", m->gen_name) < 0 || n == NULL)
crypto/heimdal/lib/asn1/gen.c
836
define_type (level + 1, n, newbasename, m->type, FALSE, FALSE);
crypto/heimdal/lib/asn1/gen.c
837
free (n);
crypto/heimdal/lib/asn1/gen.c
919
char *n = NULL;
crypto/heimdal/lib/asn1/gen.c
921
if (asprintf (&n, "*%s", m->gen_name) < 0 || n == NULL)
crypto/heimdal/lib/asn1/gen.c
923
define_type (level + 2, n, newbasename, m->type, FALSE, FALSE);
crypto/heimdal/lib/asn1/gen.c
924
free (n);
crypto/heimdal/lib/asn1/gen_decode.c
410
char *n = NULL;
crypto/heimdal/lib/asn1/gen_decode.c
445
if (asprintf (&n, "&(%s)->val[(%s)->len]", name, name) < 0 || n == NULL)
crypto/heimdal/lib/asn1/gen_decode.c
449
decode_type (n, t->subtype, 0, forwstr, sname, NULL, depth + 1);
crypto/heimdal/lib/asn1/gen_decode.c
460
free (n);
crypto/heimdal/lib/asn1/gen_encode.c
357
char *n = NULL;
crypto/heimdal/lib/asn1/gen_encode.c
364
if (asprintf (&n, "&(%s)->val[i]", name) < 0 || n == NULL)
crypto/heimdal/lib/asn1/gen_encode.c
368
encode_type (n, t->subtype, sname);
crypto/heimdal/lib/asn1/gen_encode.c
373
free (n);
crypto/heimdal/lib/asn1/gen_free.c
127
char *n;
crypto/heimdal/lib/asn1/gen_free.c
130
if (asprintf (&n, "&(%s)->val[(%s)->len-1]", name, name) < 0 || n == NULL)
crypto/heimdal/lib/asn1/gen_free.c
132
free_type(n, t->subtype, FALSE);
crypto/heimdal/lib/asn1/gen_free.c
140
free(n);
crypto/heimdal/lib/asn1/gen_length.c
187
char *n = NULL;
crypto/heimdal/lib/asn1/gen_length.c
200
if (asprintf (&n, "&(%s)->val[i]", name) < 0 || n == NULL)
crypto/heimdal/lib/asn1/gen_length.c
204
length_type(n, t->subtype, variable, sname);
crypto/heimdal/lib/asn1/gen_length.c
212
free(n);
crypto/heimdal/lib/asn1/lex.c
168
#define YY_LESS_LINENO(n)
crypto/heimdal/lib/asn1/lex.c
171
#define yyless(n) \
crypto/heimdal/lib/asn1/lex.c
175
int yyless_macro_arg = (n); \
crypto/heimdal/lib/asn1/lex.c
2470
yy_size_t n, i;
crypto/heimdal/lib/asn1/lex.c
2473
n = _yybytes_len + 2;
crypto/heimdal/lib/asn1/lex.c
2474
buf = (char *) yyalloc(n );
crypto/heimdal/lib/asn1/lex.c
2483
b = yy_scan_buffer(buf,n );
crypto/heimdal/lib/asn1/lex.c
2508
#define yyless(n) \
crypto/heimdal/lib/asn1/lex.c
2512
int yyless_macro_arg = (n); \
crypto/heimdal/lib/asn1/lex.c
2657
static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
crypto/heimdal/lib/asn1/lex.c
2660
for ( i = 0; i < n; ++i )
crypto/heimdal/lib/asn1/lex.c
2668
register int n;
crypto/heimdal/lib/asn1/lex.c
2669
for ( n = 0; s[n]; ++n )
crypto/heimdal/lib/asn1/lex.c
2672
return n;
crypto/heimdal/lib/asn1/lex.c
950
yy_size_t n; \
crypto/heimdal/lib/asn1/lex.c
951
for ( n = 0; n < max_size && \
crypto/heimdal/lib/asn1/lex.c
952
(c = getc( yyin )) != EOF && c != '\n'; ++n ) \
crypto/heimdal/lib/asn1/lex.c
953
buf[n] = (char) c; \
crypto/heimdal/lib/asn1/lex.c
955
buf[n++] = (char) c; \
crypto/heimdal/lib/asn1/lex.c
958
result = n; \
crypto/heimdal/lib/com_err/compile_et.c
71
int n;
crypto/heimdal/lib/com_err/compile_et.c
91
for(ec = codes, n = 0; ec; ec = ec->next, n++) {
crypto/heimdal/lib/com_err/compile_et.c
92
while(n < ec->number) {
crypto/heimdal/lib/com_err/compile_et.c
94
n, name, n);
crypto/heimdal/lib/com_err/compile_et.c
95
n++;
crypto/heimdal/lib/com_err/lex.c
1605
yy_size_t n, i;
crypto/heimdal/lib/com_err/lex.c
1608
n = _yybytes_len + 2;
crypto/heimdal/lib/com_err/lex.c
1609
buf = (char *) yyalloc(n );
crypto/heimdal/lib/com_err/lex.c
1618
b = yy_scan_buffer(buf,n );
crypto/heimdal/lib/com_err/lex.c
1643
#define yyless(n) \
crypto/heimdal/lib/com_err/lex.c
1647
int yyless_macro_arg = (n); \
crypto/heimdal/lib/com_err/lex.c
168
#define YY_LESS_LINENO(n)
crypto/heimdal/lib/com_err/lex.c
171
#define yyless(n) \
crypto/heimdal/lib/com_err/lex.c
175
int yyless_macro_arg = (n); \
crypto/heimdal/lib/com_err/lex.c
1792
static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
crypto/heimdal/lib/com_err/lex.c
1795
for ( i = 0; i < n; ++i )
crypto/heimdal/lib/com_err/lex.c
1803
register int n;
crypto/heimdal/lib/com_err/lex.c
1804
for ( n = 0; s[n]; ++n )
crypto/heimdal/lib/com_err/lex.c
1807
return n;
crypto/heimdal/lib/com_err/lex.c
627
yy_size_t n; \
crypto/heimdal/lib/com_err/lex.c
628
for ( n = 0; n < max_size && \
crypto/heimdal/lib/com_err/lex.c
629
(c = getc( yyin )) != EOF && c != '\n'; ++n ) \
crypto/heimdal/lib/com_err/lex.c
630
buf[n] = (char) c; \
crypto/heimdal/lib/com_err/lex.c
632
buf[n++] = (char) c; \
crypto/heimdal/lib/com_err/lex.c
635
result = n; \
crypto/heimdal/lib/com_err/parse.c
256
# define YYID(n) (n)
crypto/heimdal/lib/gssapi/gsstool.c
141
size_t n;
crypto/heimdal/lib/gssapi/gsstool.c
153
for (n = 0; n < set->count; n++) {
crypto/heimdal/lib/gssapi/gsstool.c
154
major = gss_display_mech_attr(&minor, &set->elements[n], &name, &desc, NULL);
crypto/heimdal/lib/gssapi/gsstool.c
165
if (gss_mo_get(mech, &set->elements[n], &value) != 0)
crypto/heimdal/lib/gssapi/krb5/8003.c
37
_gsskrb5_encode_om_uint32(OM_uint32 n, u_char *p)
crypto/heimdal/lib/gssapi/krb5/8003.c
39
p[0] = (n >> 0) & 0xFF;
crypto/heimdal/lib/gssapi/krb5/8003.c
40
p[1] = (n >> 8) & 0xFF;
crypto/heimdal/lib/gssapi/krb5/8003.c
41
p[2] = (n >> 16) & 0xFF;
crypto/heimdal/lib/gssapi/krb5/8003.c
42
p[3] = (n >> 24) & 0xFF;
crypto/heimdal/lib/gssapi/krb5/8003.c
47
_gsskrb5_encode_be_om_uint32(OM_uint32 n, u_char *p)
crypto/heimdal/lib/gssapi/krb5/8003.c
49
p[0] = (n >> 24) & 0xFF;
crypto/heimdal/lib/gssapi/krb5/8003.c
50
p[1] = (n >> 16) & 0xFF;
crypto/heimdal/lib/gssapi/krb5/8003.c
51
p[2] = (n >> 8) & 0xFF;
crypto/heimdal/lib/gssapi/krb5/8003.c
52
p[3] = (n >> 0) & 0xFF;
crypto/heimdal/lib/gssapi/krb5/8003.c
57
_gsskrb5_decode_om_uint32(const void *ptr, OM_uint32 *n)
crypto/heimdal/lib/gssapi/krb5/8003.c
60
*n = (p[0] << 0) | (p[1] << 8) | (p[2] << 16) | (p[3] << 24);
crypto/heimdal/lib/gssapi/krb5/8003.c
65
_gsskrb5_decode_be_om_uint32(const void *ptr, OM_uint32 *n)
crypto/heimdal/lib/gssapi/krb5/8003.c
68
*n = (p[0] <<24) | (p[1] << 16) | (p[2] << 8) | (p[3] << 0);
crypto/heimdal/lib/gssapi/krb5/ccache_name.c
51
const char *n;
crypto/heimdal/lib/gssapi/krb5/ccache_name.c
58
n = krb5_cc_default_name(context);
crypto/heimdal/lib/gssapi/krb5/ccache_name.c
59
if (n == NULL) {
crypto/heimdal/lib/gssapi/krb5/ccache_name.c
63
last_out_name = strdup(n);
crypto/heimdal/lib/gssapi/mech/gss_add_oid_set_member.c
60
size_t n;
crypto/heimdal/lib/gssapi/mech/gss_add_oid_set_member.c
73
n = (*oid_set)->count + 1;
crypto/heimdal/lib/gssapi/mech/gss_add_oid_set_member.c
74
tmp = realloc ((*oid_set)->elements, n * sizeof(gss_OID_desc));
crypto/heimdal/lib/gssapi/mech/gss_add_oid_set_member.c
80
(*oid_set)->count = n;
crypto/heimdal/lib/gssapi/mech/gss_add_oid_set_member.c
81
(*oid_set)->elements[n-1] = *member_oid;
crypto/heimdal/lib/gssapi/mech/gss_inquire_cred.c
173
gss_name_t n = (gss_name_t)name;
crypto/heimdal/lib/gssapi/mech/gss_inquire_cred.c
174
if (n)
crypto/heimdal/lib/gssapi/mech/gss_inquire_cred.c
175
gss_release_name(minor_status, &n);
crypto/heimdal/lib/gssapi/mech/gss_mo.c
100
if (gss_oid_equal(option, m->gm_mo[n].option) && m->gm_mo[n].get)
crypto/heimdal/lib/gssapi/mech/gss_mo.c
101
return m->gm_mo[n].get(mech, &m->gm_mo[n], value);
crypto/heimdal/lib/gssapi/mech/gss_mo.c
110
size_t n;
crypto/heimdal/lib/gssapi/mech/gss_mo.c
112
for (n = 0; n < m->gm_mo_num; n++)
crypto/heimdal/lib/gssapi/mech/gss_mo.c
113
if ((m->gm_mo[n].flags & mask) == mask)
crypto/heimdal/lib/gssapi/mech/gss_mo.c
114
gss_add_oid_set_member(&minor, m->gm_mo[n].option, options);
crypto/heimdal/lib/gssapi/mech/gss_mo.c
142
size_t n;
crypto/heimdal/lib/gssapi/mech/gss_mo.c
150
for (n = 0; n < m->gm_mo_num; n++) {
crypto/heimdal/lib/gssapi/mech/gss_mo.c
151
if (gss_oid_equal(option, m->gm_mo[n].option)) {
crypto/heimdal/lib/gssapi/mech/gss_mo.c
156
if (m->gm_mo[n].name) {
crypto/heimdal/lib/gssapi/mech/gss_mo.c
157
name->value = strdup(m->gm_mo[n].name);
crypto/heimdal/lib/gssapi/mech/gss_mo.c
160
name->length = strlen(m->gm_mo[n].name);
crypto/heimdal/lib/gssapi/mech/gss_mo.c
405
size_t n, m;
crypto/heimdal/lib/gssapi/mech/gss_mo.c
411
for (n = 0; n < against_attrs->count; n++) {
crypto/heimdal/lib/gssapi/mech/gss_mo.c
414
&against_attrs->elements[n]);
crypto/heimdal/lib/gssapi/mech/gss_mo.c
421
&against_attrs->elements[n]);
crypto/heimdal/lib/gssapi/mech/gss_mo.c
591
size_t n;
crypto/heimdal/lib/gssapi/mech/gss_mo.c
600
for (n = 0; ma == NULL && _gss_ont_ma[n].oid; n++)
crypto/heimdal/lib/gssapi/mech/gss_mo.c
601
if (gss_oid_equal(mech_attr, _gss_ont_ma[n].oid))
crypto/heimdal/lib/gssapi/mech/gss_mo.c
602
ma = &_gss_ont_ma[n];
crypto/heimdal/lib/gssapi/mech/gss_mo.c
76
size_t n;
crypto/heimdal/lib/gssapi/mech/gss_mo.c
81
for (n = 0; n < m->gm_mo_num; n++)
crypto/heimdal/lib/gssapi/mech/gss_mo.c
82
if (gss_oid_equal(option, m->gm_mo[n].option) && m->gm_mo[n].set)
crypto/heimdal/lib/gssapi/mech/gss_mo.c
83
return m->gm_mo[n].set(mech, &m->gm_mo[n], enable, value);
crypto/heimdal/lib/gssapi/mech/gss_mo.c
92
size_t n;
crypto/heimdal/lib/gssapi/mech/gss_mo.c
99
for (n = 0; n < m->gm_mo_num; n++)
crypto/heimdal/lib/gssapi/ntlm/accept_sec_context.c
204
ntlm_name n = calloc(1, sizeof(*n));
crypto/heimdal/lib/gssapi/ntlm/accept_sec_context.c
205
if (n) {
crypto/heimdal/lib/gssapi/ntlm/accept_sec_context.c
206
n->user = strdup(type3.username);
crypto/heimdal/lib/gssapi/ntlm/accept_sec_context.c
207
n->domain = strdup(type3.targetname);
crypto/heimdal/lib/gssapi/ntlm/accept_sec_context.c
209
if (n == NULL || n->user == NULL || n->domain == NULL) {
crypto/heimdal/lib/gssapi/ntlm/accept_sec_context.c
210
gss_name_t tempn = (gss_name_t)n;
crypto/heimdal/lib/gssapi/ntlm/accept_sec_context.c
217
*src_name = (gss_name_t)n;
crypto/heimdal/lib/gssapi/ntlm/creds.c
56
ntlm_name n = calloc(1, sizeof(*n));
crypto/heimdal/lib/gssapi/ntlm/creds.c
58
if (n) {
crypto/heimdal/lib/gssapi/ntlm/creds.c
59
n->user = strdup(c->username);
crypto/heimdal/lib/gssapi/ntlm/creds.c
60
n->domain = strdup(c->domain);
crypto/heimdal/lib/gssapi/ntlm/creds.c
62
if (n == NULL || n->user == NULL || n->domain == NULL) {
crypto/heimdal/lib/gssapi/ntlm/creds.c
63
if (n)
crypto/heimdal/lib/gssapi/ntlm/creds.c
64
free(n->user);
crypto/heimdal/lib/gssapi/ntlm/creds.c
68
*name = (gss_name_t)n;
crypto/heimdal/lib/gssapi/ntlm/crypto.c
46
encode_le_uint32(uint32_t n, unsigned char *p)
crypto/heimdal/lib/gssapi/ntlm/crypto.c
48
p[0] = (n >> 0) & 0xFF;
crypto/heimdal/lib/gssapi/ntlm/crypto.c
49
p[1] = (n >> 8) & 0xFF;
crypto/heimdal/lib/gssapi/ntlm/crypto.c
50
p[2] = (n >> 16) & 0xFF;
crypto/heimdal/lib/gssapi/ntlm/crypto.c
51
p[3] = (n >> 24) & 0xFF;
crypto/heimdal/lib/gssapi/ntlm/crypto.c
56
decode_le_uint32(const void *ptr, uint32_t *n)
crypto/heimdal/lib/gssapi/ntlm/crypto.c
59
*n = (p[0] << 0) | (p[1] << 8) | (p[2] << 16) | (p[3] << 24);
crypto/heimdal/lib/gssapi/ntlm/display_name.c
50
ntlm_name n = (ntlm_name)input_name;
crypto/heimdal/lib/gssapi/ntlm/display_name.c
57
if (n == NULL) {
crypto/heimdal/lib/gssapi/ntlm/display_name.c
62
len = asprintf(&str, "%s@%s", n->user, n->domain);
crypto/heimdal/lib/gssapi/ntlm/import_name.c
101
if (n->user == NULL || n->domain == NULL) {
crypto/heimdal/lib/gssapi/ntlm/import_name.c
102
free(n->user);
crypto/heimdal/lib/gssapi/ntlm/import_name.c
103
free(n->domain);
crypto/heimdal/lib/gssapi/ntlm/import_name.c
104
free(n);
crypto/heimdal/lib/gssapi/ntlm/import_name.c
109
*output_name = (gss_name_t)n;
crypto/heimdal/lib/gssapi/ntlm/import_name.c
47
ntlm_name n;
crypto/heimdal/lib/gssapi/ntlm/import_name.c
89
n = calloc(1, sizeof(*n));
crypto/heimdal/lib/gssapi/ntlm/import_name.c
90
if (n == NULL) {
crypto/heimdal/lib/gssapi/ntlm/import_name.c
96
n->user = strdup(name);
crypto/heimdal/lib/gssapi/ntlm/import_name.c
97
n->domain = strdup(p);
crypto/heimdal/lib/gssapi/ntlm/release_name.c
45
ntlm_name n = (ntlm_name)*input_name;
crypto/heimdal/lib/gssapi/ntlm/release_name.c
47
free(n->user);
crypto/heimdal/lib/gssapi/ntlm/release_name.c
48
free(n->domain);
crypto/heimdal/lib/gssapi/ntlm/release_name.c
49
free(n);
crypto/heimdal/lib/gssapi/spnego/context_stubs.c
566
gss_OID_set mechs, names, n;
crypto/heimdal/lib/gssapi/spnego/context_stubs.c
583
&n);
crypto/heimdal/lib/gssapi/spnego/context_stubs.c
587
for (j = 0; j < n->count; j++)
crypto/heimdal/lib/gssapi/spnego/context_stubs.c
589
&n->elements[j],
crypto/heimdal/lib/gssapi/spnego/context_stubs.c
591
gss_release_oid_set(&junk, &n);
crypto/heimdal/lib/hx509/ca.c
511
Name n;
crypto/heimdal/lib/hx509/ca.c
520
ret = hx509_name_to_Name(issuername, &n);
crypto/heimdal/lib/hx509/ca.c
526
gn.u.directoryName.element = n.element;
crypto/heimdal/lib/hx509/ca.c
527
gn.u.directoryName.u.rdnSequence = n.u.rdnSequence;
crypto/heimdal/lib/hx509/ca.c
530
free_Name(&n);
crypto/heimdal/lib/hx509/ca.c
612
int n;
crypto/heimdal/lib/hx509/ca.c
615
n = 1;
crypto/heimdal/lib/hx509/ca.c
626
n++;
crypto/heimdal/lib/hx509/ca.c
629
calloc(n, sizeof(*p.principalName.name_string.val));
crypto/heimdal/lib/hx509/ca.c
635
p.principalName.name_string.len = n;
crypto/heimdal/lib/hx509/ca.c
652
n = 0;
crypto/heimdal/lib/hx509/ca.c
654
p.principalName.name_string.val[n++] = q;
crypto/heimdal/lib/hx509/cert.c
1700
const RelativeDistinguishedName *n)
crypto/heimdal/lib/hx509/cert.c
1704
if (c->len != n->len)
crypto/heimdal/lib/hx509/cert.c
1707
for (i = 0; i < n->len; i++) {
crypto/heimdal/lib/hx509/cert.c
1710
if (der_heim_oid_cmp(&c->val[i].type, &n->val[i].type) != 0)
crypto/heimdal/lib/hx509/cert.c
1712
ret = _hx509_name_ds_cmp(&c->val[i].value, &n->val[i].value, &diff);
crypto/heimdal/lib/hx509/cert.c
1722
match_X501Name(const Name *c, const Name *n)
crypto/heimdal/lib/hx509/cert.c
1728
|| n->element != choice_Name_rdnSequence)
crypto/heimdal/lib/hx509/cert.c
1730
if (c->u.rdnSequence.len > n->u.rdnSequence.len)
crypto/heimdal/lib/hx509/cert.c
1733
ret = match_RDN(&c->u.rdnSequence.val[i], &n->u.rdnSequence.val[i]);
crypto/heimdal/lib/hx509/cert.c
1742
match_general_name(const GeneralName *c, const GeneralName *n, int *match)
crypto/heimdal/lib/hx509/cert.c
1748
assert(c->element == n->element);
crypto/heimdal/lib/hx509/cert.c
1753
&n->u.otherName.type_id) != 0)
crypto/heimdal/lib/hx509/cert.c
1756
&n->u.otherName.value) != 0)
crypto/heimdal/lib/hx509/cert.c
1765
if (der_printable_string_cmp(&c->u.rfc822Name, &n->u.rfc822Name) != 0)
crypto/heimdal/lib/hx509/cert.c
1768
s = memchr(n->u.rfc822Name.data, '@', n->u.rfc822Name.length);
crypto/heimdal/lib/hx509/cert.c
1772
len2 = n->u.rfc822Name.length -
crypto/heimdal/lib/hx509/cert.c
1773
(s - ((char *)n->u.rfc822Name.data));
crypto/heimdal/lib/hx509/cert.c
1789
lenn = n->u.dNSName.length;
crypto/heimdal/lib/hx509/cert.c
1792
ptr = n->u.dNSName.data;
crypto/heimdal/lib/hx509/cert.c
1811
n_name.element = n->u.directoryName.element;
crypto/heimdal/lib/hx509/cert.c
1812
n_name.u.rdnSequence = n->u.directoryName.u.rdnSequence;
crypto/heimdal/lib/hx509/cert.c
1828
match_alt_name(const GeneralName *n, const Certificate *c,
crypto/heimdal/lib/hx509/cert.c
1845
if (n->element == sa.val[j].element) {
crypto/heimdal/lib/hx509/cert.c
1847
ret = match_general_name(n, &sa.val[j], match);
crypto/heimdal/lib/hx509/cert.c
2504
AttributeTypeAndValue *n = &name->u.rdnSequence.val[i].val[j];
crypto/heimdal/lib/hx509/cert.c
2506
if (der_heim_oid_cmp(&n->type, &asn1_oid_id_at_commonName) == 0) {
crypto/heimdal/lib/hx509/cert.c
2507
DirectoryString *ds = &n->value;
crypto/heimdal/lib/hx509/cert.c
2637
PKCS9_friendlyName n;
crypto/heimdal/lib/hx509/cert.c
2659
ret = decode_PKCS9_friendlyName(a->data.data, a->data.length, &n, &sz);
crypto/heimdal/lib/hx509/cert.c
2663
if (n.len != 1) {
crypto/heimdal/lib/hx509/cert.c
2664
free_PKCS9_friendlyName(&n);
crypto/heimdal/lib/hx509/cert.c
2668
cert->friendlyname = malloc(n.val[0].length + 1);
crypto/heimdal/lib/hx509/cert.c
2670
free_PKCS9_friendlyName(&n);
crypto/heimdal/lib/hx509/cert.c
2674
for (i = 0; i < n.val[0].length; i++) {
crypto/heimdal/lib/hx509/cert.c
2675
if (n.val[0].data[i] <= 0xff)
crypto/heimdal/lib/hx509/cert.c
2676
cert->friendlyname[i] = n.val[0].data[i] & 0xff;
crypto/heimdal/lib/hx509/cert.c
2681
free_PKCS9_friendlyName(&n);
crypto/heimdal/lib/hx509/crypto.c
2985
BIGNUM *new_d, *new_p, *new_q, *new_dmp1, *new_dmq1, *new_iqmp, *n, *e;
crypto/heimdal/lib/hx509/crypto.c
3013
n = heim_int2BN(&pk.modulus);
crypto/heimdal/lib/hx509/crypto.c
3025
if (n == NULL || e == NULL ||
crypto/heimdal/lib/hx509/crypto.c
3028
BN_free(n);
crypto/heimdal/lib/hx509/crypto.c
3040
ret = RSA_set0_key(rsa, new_d, n, e);
crypto/heimdal/lib/hx509/crypto.c
3043
BN_free(n);
crypto/heimdal/lib/hx509/crypto.c
903
const BIGNUM *n;
crypto/heimdal/lib/hx509/crypto.c
906
RSA_get0_key(key->private_key.rsa, &n, NULL, NULL);
crypto/heimdal/lib/hx509/crypto.c
908
RSA_get0_key(key->private_key.rsa, NULL, &n, NULL);
crypto/heimdal/lib/hx509/crypto.c
911
return BN_dup(n);
crypto/heimdal/lib/hx509/env.c
110
hx509_env n;
crypto/heimdal/lib/hx509/env.c
112
n = malloc(sizeof(*n));
crypto/heimdal/lib/hx509/env.c
113
if (n == NULL) {
crypto/heimdal/lib/hx509/env.c
118
n->type = env_list;
crypto/heimdal/lib/hx509/env.c
119
n->next = NULL;
crypto/heimdal/lib/hx509/env.c
120
n->name = strdup(key);
crypto/heimdal/lib/hx509/env.c
121
if (n->name == NULL) {
crypto/heimdal/lib/hx509/env.c
122
free(n);
crypto/heimdal/lib/hx509/env.c
125
n->u.list = list;
crypto/heimdal/lib/hx509/env.c
132
e->next = n;
crypto/heimdal/lib/hx509/env.c
134
*env = n;
crypto/heimdal/lib/hx509/env.c
59
hx509_env n;
crypto/heimdal/lib/hx509/env.c
61
n = malloc(sizeof(*n));
crypto/heimdal/lib/hx509/env.c
62
if (n == NULL) {
crypto/heimdal/lib/hx509/env.c
67
n->type = env_string;
crypto/heimdal/lib/hx509/env.c
68
n->next = NULL;
crypto/heimdal/lib/hx509/env.c
69
n->name = strdup(key);
crypto/heimdal/lib/hx509/env.c
70
if (n->name == NULL) {
crypto/heimdal/lib/hx509/env.c
71
free(n);
crypto/heimdal/lib/hx509/env.c
74
n->u.string = strdup(value);
crypto/heimdal/lib/hx509/env.c
75
if (n->u.string == NULL) {
crypto/heimdal/lib/hx509/env.c
76
free(n->name);
crypto/heimdal/lib/hx509/env.c
77
free(n);
crypto/heimdal/lib/hx509/env.c
86
e->next = n;
crypto/heimdal/lib/hx509/env.c
88
*env = n;
crypto/heimdal/lib/hx509/keyset.c
435
hx509_name n;
crypto/heimdal/lib/hx509/keyset.c
440
_hx509_name_from_Name(&cert->tbsCertificate.subject, &n);
crypto/heimdal/lib/hx509/keyset.c
441
hx509_name_to_string(n, &s);
crypto/heimdal/lib/hx509/keyset.c
442
hx509_name_free(&n);
crypto/heimdal/lib/hx509/keyset.c
443
_hx509_name_from_Name(&cert->tbsCertificate.issuer, &n);
crypto/heimdal/lib/hx509/keyset.c
444
hx509_name_to_string(n, &i);
crypto/heimdal/lib/hx509/keyset.c
445
hx509_name_free(&n);
crypto/heimdal/lib/hx509/ks_keychain.c
282
rsa->n = BN_new();
crypto/heimdal/lib/hx509/ks_keychain.c
283
if (rsa->n == NULL) abort();
crypto/heimdal/lib/hx509/ks_keychain.c
295
BN_bin2bn(data, kc->keysize, rsa->n);
crypto/heimdal/lib/hx509/ks_p11.c
1162
#define MECHNAME(s,n) case s: mechname = n; break
crypto/heimdal/lib/hx509/ks_p11.c
637
BIGNUM *n, *e;
crypto/heimdal/lib/hx509/ks_p11.c
657
n = getattr_bn(p, slot, session, object, CKA_MODULUS);
crypto/heimdal/lib/hx509/ks_p11.c
659
if (RSA_set0_key(rsa, n, e, NULL) != 1) {
crypto/heimdal/lib/hx509/ks_p11.c
660
BN_free(n);
crypto/heimdal/lib/hx509/name.c
152
return strdup(no[i].n);
crypto/heimdal/lib/hx509/name.c
169
if (strncasecmp(no[i].n, name, len) == 0)
crypto/heimdal/lib/hx509/name.c
201
_hx509_Name_to_string(const Name *n, char **str)
crypto/heimdal/lib/hx509/name.c
211
for (m = n->u.rdnSequence.len; m > 0; m--) {
crypto/heimdal/lib/hx509/name.c
215
for (j = 0; j < n->u.rdnSequence.val[i].len; j++) {
crypto/heimdal/lib/hx509/name.c
216
DirectoryString *ds = &n->u.rdnSequence.val[i].val[j].value;
crypto/heimdal/lib/hx509/name.c
220
oidname = oidtostring(&n->u.rdnSequence.val[i].val[j].type);
crypto/heimdal/lib/hx509/name.c
294
if (j + 1 < n->u.rdnSequence.val[i].len)
crypto/heimdal/lib/hx509/name.c
499
_hx509_name_from_Name(const Name *n, hx509_name *name)
crypto/heimdal/lib/hx509/name.c
505
ret = copy_Name(n, &(*name)->der_name);
crypto/heimdal/lib/hx509/name.c
576
hx509_name n;
crypto/heimdal/lib/hx509/name.c
581
n = calloc(1, sizeof(*n));
crypto/heimdal/lib/hx509/name.c
582
if (n == NULL) {
crypto/heimdal/lib/hx509/name.c
587
n->der_name.element = choice_Name_rdnSequence;
crypto/heimdal/lib/hx509/name.c
646
ret = _hx509_name_modify(context, &n->der_name, 0, &oid, r);
crypto/heimdal/lib/hx509/name.c
65
const char *n;
crypto/heimdal/lib/hx509/name.c
655
*name = n;
crypto/heimdal/lib/hx509/name.c
659
hx509_name_free(&n);
crypto/heimdal/lib/hx509/name.c
733
Name *n = &name->der_name;
crypto/heimdal/lib/hx509/name.c
739
if (n->element != choice_Name_rdnSequence) {
crypto/heimdal/lib/hx509/name.c
744
for (i = 0 ; i < n->u.rdnSequence.len; i++) {
crypto/heimdal/lib/hx509/name.c
745
for (j = 0; j < n->u.rdnSequence.val[i].len; j++) {
crypto/heimdal/lib/hx509/name.c
756
DirectoryString *ds = &n->u.rdnSequence.val[i].val[j].value;
crypto/heimdal/lib/hx509/revoke.c
1105
hx509_name n;
crypto/heimdal/lib/hx509/revoke.c
1107
_hx509_name_from_Name(&ocsp.ocsp.tbsResponseData.responderID.u.byName, &n);
crypto/heimdal/lib/hx509/revoke.c
1108
hx509_name_to_string(n, &s);
crypto/heimdal/lib/hx509/revoke.c
1109
hx509_name_free(&n);
crypto/heimdal/lib/hx509/test_name.c
39
hx509_name n;
crypto/heimdal/lib/hx509/test_name.c
43
ret = hx509_parse_name(context, name, &n);
crypto/heimdal/lib/hx509/test_name.c
47
ret = hx509_name_to_string(n, &s);
crypto/heimdal/lib/hx509/test_name.c
54
hx509_name_free(&n);
crypto/heimdal/lib/hx509/test_name.c
63
hx509_name n;
crypto/heimdal/lib/hx509/test_name.c
65
if (hx509_parse_name(context, name, &n) == HX509_NAME_MALFORMED)
crypto/heimdal/lib/hx509/test_name.c
67
hx509_name_free(&n);
crypto/heimdal/lib/hx509/test_name.c
75
hx509_name n;
crypto/heimdal/lib/hx509/test_name.c
81
ret = hx509_parse_name(context, name, &n);
crypto/heimdal/lib/hx509/test_name.c
85
ret = hx509_name_expand(context, n, env);
crypto/heimdal/lib/hx509/test_name.c
90
ret = hx509_name_to_string(n, &s);
crypto/heimdal/lib/hx509/test_name.c
91
hx509_name_free(&n);
crypto/heimdal/lib/ipc/server.c
1004
for (n = 0 ; n < num_fds; n++) {
crypto/heimdal/lib/ipc/server.c
1005
if (clients[n] == NULL)
crypto/heimdal/lib/ipc/server.c
1007
if (fds[n].revents & POLLERR) {
crypto/heimdal/lib/ipc/server.c
1008
clients[n]->flags |= WAITING_CLOSE;
crypto/heimdal/lib/ipc/server.c
1012
if (fds[n].revents & POLLIN)
crypto/heimdal/lib/ipc/server.c
1013
handle_read(clients[n]);
crypto/heimdal/lib/ipc/server.c
1014
if (fds[n].revents & POLLOUT)
crypto/heimdal/lib/ipc/server.c
1015
handle_write(clients[n]);
crypto/heimdal/lib/ipc/server.c
1018
n = 0;
crypto/heimdal/lib/ipc/server.c
1019
while (n < num_clients) {
crypto/heimdal/lib/ipc/server.c
1020
struct client *c = clients[n];
crypto/heimdal/lib/ipc/server.c
1022
if (n < num_clients - 1)
crypto/heimdal/lib/ipc/server.c
1023
clients[n] = clients[num_clients - 1];
crypto/heimdal/lib/ipc/server.c
1026
n++;
crypto/heimdal/lib/ipc/server.c
980
unsigned n;
crypto/heimdal/lib/ipc/server.c
991
for (n = 0 ; n < num_fds; n++) {
crypto/heimdal/lib/ipc/server.c
992
fds[n].fd = clients[n]->fd;
crypto/heimdal/lib/ipc/server.c
993
fds[n].events = 0;
crypto/heimdal/lib/ipc/server.c
994
if (clients[n]->flags & WAITING_READ)
crypto/heimdal/lib/ipc/server.c
995
fds[n].events |= POLLIN;
crypto/heimdal/lib/ipc/server.c
996
if (clients[n]->flags & WAITING_WRITE)
crypto/heimdal/lib/ipc/server.c
997
fds[n].events |= POLLOUT;
crypto/heimdal/lib/ipc/server.c
999
fds[n].revents = 0;
crypto/heimdal/lib/kadm5/get_s.c
145
size_t n;
crypto/heimdal/lib/kadm5/get_s.c
147
for(n = 0; n < ent.entry.keys.len; n++)
crypto/heimdal/lib/kadm5/get_s.c
148
if(ent.entry.keys.val[n].mkvno) {
crypto/heimdal/lib/kadm5/get_s.c
149
out->mkvno = *ent.entry.keys.val[n].mkvno; /* XXX this isn't right */
crypto/heimdal/lib/krb5/addr_families.c
1161
int i, n;
crypto/heimdal/lib/krb5/addr_families.c
1195
n = 0;
crypto/heimdal/lib/krb5/addr_families.c
1197
++n;
crypto/heimdal/lib/krb5/addr_families.c
1199
ALLOC_SEQ(addresses, n);
crypto/heimdal/lib/krb5/context.c
909
size_t m, n;
crypto/heimdal/lib/krb5/context.c
911
for (n = 0; in[n]; n++)
crypto/heimdal/lib/krb5/context.c
913
n++;
crypto/heimdal/lib/krb5/context.c
914
ALLOC(p, n);
crypto/heimdal/lib/krb5/context.c
917
for (n = 0, m = 0; in[n]; n++) {
crypto/heimdal/lib/krb5/context.c
918
if (krb5_enctype_valid(context, in[n]) != 0)
crypto/heimdal/lib/krb5/context.c
920
p[m++] = in[n];
crypto/heimdal/lib/krb5/copy_host_realm.c
54
unsigned int n, i;
crypto/heimdal/lib/krb5/copy_host_realm.c
57
for (n = 1, p = from; *p != NULL; ++p)
crypto/heimdal/lib/krb5/copy_host_realm.c
58
++n;
crypto/heimdal/lib/krb5/copy_host_realm.c
60
*to = calloc (n, sizeof(**to));
crypto/heimdal/lib/krb5/crypto.c
2603
unsigned n = 0;
crypto/heimdal/lib/krb5/crypto.c
2610
++n;
crypto/heimdal/lib/krb5/crypto.c
2612
if (n == 0) {
crypto/heimdal/lib/krb5/crypto.c
2618
ret = malloc(n * sizeof(*ret));
crypto/heimdal/lib/krb5/crypto.c
2619
if (ret == NULL && n != 0) {
crypto/heimdal/lib/krb5/crypto.c
2623
n = 0;
crypto/heimdal/lib/krb5/crypto.c
2628
ret[n++] = _krb5_etypes[i]->type;
crypto/heimdal/lib/krb5/crypto.c
2630
*len = n;
crypto/heimdal/lib/krb5/deprecated.c
72
unsigned int i, n;
crypto/heimdal/lib/krb5/deprecated.c
78
for (n = 0; context->etypes_des[n]; ++n)
crypto/heimdal/lib/krb5/deprecated.c
80
ret = malloc (n * sizeof(*ret));
crypto/heimdal/lib/krb5/deprecated.c
81
if (ret == NULL && n != 0) {
crypto/heimdal/lib/krb5/deprecated.c
85
for (i = 0; i < n; ++i)
crypto/heimdal/lib/krb5/deprecated.c
87
*len = n;
crypto/heimdal/lib/krb5/get_for_creds.c
42
unsigned n, i;
crypto/heimdal/lib/krb5/get_for_creds.c
46
n = 0;
crypto/heimdal/lib/krb5/get_for_creds.c
48
++n;
crypto/heimdal/lib/krb5/get_for_creds.c
50
tmp = realloc(addr->val, (addr->len + n) * sizeof(*addr->val));
crypto/heimdal/lib/krb5/get_for_creds.c
51
if (tmp == NULL && (addr->len + n) != 0) {
crypto/heimdal/lib/krb5/get_for_creds.c
57
for (i = addr->len; i < (addr->len + n); ++i) {
crypto/heimdal/lib/krb5/get_host_realm.c
56
unsigned int n, i;
crypto/heimdal/lib/krb5/get_host_realm.c
58
for(n = 0, rr = head; rr; rr = rr->next)
crypto/heimdal/lib/krb5/get_host_realm.c
60
++n;
crypto/heimdal/lib/krb5/get_host_realm.c
62
if (n == 0)
crypto/heimdal/lib/krb5/get_host_realm.c
65
*realms = malloc ((n + 1) * sizeof(krb5_realm));
crypto/heimdal/lib/krb5/get_host_realm.c
69
for (i = 0; i < n + 1; ++i)
crypto/heimdal/lib/krb5/get_host_realm.c
78
for (i = 0; i < n; ++i)
crypto/heimdal/lib/krb5/log.c
277
int min = 0, max = -1, n;
crypto/heimdal/lib/krb5/log.c
281
n = sscanf(p, "%d%c%d/", &min, &c, &max);
crypto/heimdal/lib/krb5/log.c
282
if(n == 2){
crypto/heimdal/lib/krb5/log.c
292
if(n){
crypto/heimdal/lib/krb5/mcache.c
197
krb5_mcache **n, *m = MCACHE(id);
crypto/heimdal/lib/krb5/mcache.c
207
for(n = &mcc_head; n && *n; n = &(*n)->next) {
crypto/heimdal/lib/krb5/mcache.c
208
if(m == *n) {
crypto/heimdal/lib/krb5/mcache.c
209
*n = m->next;
crypto/heimdal/lib/krb5/mcache.c
422
krb5_mcache **n;
crypto/heimdal/lib/krb5/mcache.c
427
for(n = &mcc_head; n && *n; n = &(*n)->next) {
crypto/heimdal/lib/krb5/mcache.c
428
if(mfrom == *n) {
crypto/heimdal/lib/krb5/mcache.c
429
*n = mfrom->next;
crypto/heimdal/lib/krb5/n-fold-test.c
103
ret = _krb5_n_fold (t->str, strlen(t->str), data, t->n);
crypto/heimdal/lib/krb5/n-fold-test.c
106
if (memcmp (data, t->res, t->n) != 0) {
crypto/heimdal/lib/krb5/n-fold-test.c
107
printf ("n-fold(\"%s\", %d) failed\n", t->str, t->n);
crypto/heimdal/lib/krb5/n-fold-test.c
109
for (i = 0; i < t->n; ++i)
crypto/heimdal/lib/krb5/n-fold-test.c
112
for (i = 0; i < t->n; ++i)
crypto/heimdal/lib/krb5/n-fold-test.c
39
unsigned n;
crypto/heimdal/lib/krb5/pkinit.c
2291
int lineno = 0, n = 0;
crypto/heimdal/lib/krb5/pkinit.c
2308
n++;
crypto/heimdal/lib/krb5/pkinit.c
2316
n++;
crypto/heimdal/lib/krb5/pkinit.c
2349
m2 = realloc(m, (n + 2) * sizeof(m[0]));
crypto/heimdal/lib/krb5/pkinit.c
2358
m[n] = NULL;
crypto/heimdal/lib/krb5/pkinit.c
2368
m[n] = element;
crypto/heimdal/lib/krb5/pkinit.c
2369
m[n + 1] = NULL;
crypto/heimdal/lib/krb5/pkinit.c
2370
n++;
crypto/heimdal/lib/krb5/plugin.c
183
is_valid_plugin_filename(const char * n)
crypto/heimdal/lib/krb5/plugin.c
185
if (n[0] == '.' && (n[1] == '\0' || (n[1] == '.' && n[2] == '\0')))
crypto/heimdal/lib/krb5/plugin.c
193
ext = strrchr(n, '.');
crypto/heimdal/lib/krb5/plugin.c
258
char *n = entry->d_name;
crypto/heimdal/lib/krb5/plugin.c
261
if (!is_valid_plugin_filename(n))
crypto/heimdal/lib/krb5/plugin.c
268
size_t len = strlen(n);
crypto/heimdal/lib/krb5/plugin.c
269
if (len > 7 && strcmp(&n[len - 7], ".bundle") == 0)
crypto/heimdal/lib/krb5/plugin.c
270
ret = asprintf(&path, "%s/%s/Contents/MacOS/%.*s", dir, n, (int)(len - 7), n);
crypto/heimdal/lib/krb5/plugin.c
274
ret = asprintf(&path, "%s/%s", dir, n);
crypto/heimdal/lib/krb5/plugin.c
448
char *n = entry->d_name;
crypto/heimdal/lib/krb5/plugin.c
454
if (n[0] == '.' && (n[1] == '\0' || (n[1] == '.' && n[2] == '\0')))
crypto/heimdal/lib/krb5/plugin.c
460
size_t len = strlen(n);
crypto/heimdal/lib/krb5/plugin.c
461
if (len > 7 && strcmp(&n[len - 7], ".bundle") == 0)
crypto/heimdal/lib/krb5/plugin.c
462
ret = asprintf(&path, "%s/%s/Contents/MacOS/%.*s", *di, n, (int)(len - 7), n);
crypto/heimdal/lib/krb5/plugin.c
466
ret = asprintf(&path, "%s/%s", *di, n);
crypto/heimdal/lib/krb5/plugin.c
471
spath = heim_string_create(n);
crypto/heimdal/lib/krb5/plugin.c
537
heim_string_t n;
crypto/heimdal/lib/krb5/plugin.c
551
struct plug *pl = heim_dict_copy_value(p->names, s->n);
crypto/heimdal/lib/krb5/plugin.c
568
heim_dict_add_value(p->names, s->n, pl);
crypto/heimdal/lib/krb5/plugin.c
615
s.n = heim_string_create(name);
crypto/heimdal/lib/krb5/plugin.c
632
heim_release(s.n);
crypto/heimdal/lib/krb5/principal.c
202
int n;
crypto/heimdal/lib/krb5/principal.c
246
n = 0;
crypto/heimdal/lib/krb5/principal.c
282
comp[n] = malloc(q - start + 1);
crypto/heimdal/lib/krb5/principal.c
283
if (comp[n] == NULL) {
crypto/heimdal/lib/krb5/principal.c
289
memcpy(comp[n], start, q - start);
crypto/heimdal/lib/krb5/principal.c
290
comp[n][q - start] = 0;
crypto/heimdal/lib/krb5/principal.c
291
n++;
crypto/heimdal/lib/krb5/principal.c
338
comp[n] = malloc(q - start + 1);
crypto/heimdal/lib/krb5/principal.c
339
if (comp[n] == NULL) {
crypto/heimdal/lib/krb5/principal.c
345
memcpy(comp[n], start, q - start);
crypto/heimdal/lib/krb5/principal.c
346
comp[n][q - start] = 0;
crypto/heimdal/lib/krb5/principal.c
347
n++;
crypto/heimdal/lib/krb5/principal.c
361
princ_num_comp(*principal) = n;
crypto/heimdal/lib/krb5/principal.c
366
while(n>0){
crypto/heimdal/lib/krb5/principal.c
367
free(comp[--n]);
crypto/heimdal/lib/krb5/rd_req.c
138
unsigned int num_realms, n;
crypto/heimdal/lib/krb5/rd_req.c
164
for (n = 0; n < num_realms; n++)
crypto/heimdal/lib/krb5/rd_req.c
165
free(realms[n]);
crypto/heimdal/lib/krb5/recvauth.c
101
n = krb5_net_read (context, p_fd, &len, 4);
crypto/heimdal/lib/krb5/recvauth.c
102
if (n < 0) {
crypto/heimdal/lib/krb5/recvauth.c
107
if (n == 0) {
crypto/heimdal/lib/krb5/recvauth.c
123
n = krb5_net_read (context, p_fd, &len, 4);
crypto/heimdal/lib/krb5/recvauth.c
124
if (n < 0) {
crypto/heimdal/lib/krb5/recvauth.c
129
if (n == 0) {
crypto/heimdal/lib/krb5/recvauth.c
82
ssize_t n;
crypto/heimdal/lib/krb5/test_cc.c
169
char *n = NULL;
crypto/heimdal/lib/krb5/test_cc.c
179
if (asprintf(&n, "%s:%s",
crypto/heimdal/lib/krb5/test_cc.c
181
krb5_cc_get_name(context, id)) < 0 || n == NULL)
crypto/heimdal/lib/krb5/test_cc.c
185
ret = krb5_cc_resolve(context, n, &id2);
crypto/heimdal/lib/krb5/test_cc.c
186
free(n);
crypto/heimdal/lib/krb5/test_store.c
226
size_t n;
crypto/heimdal/lib/krb5/test_store.c
228
for (n = 0; n < sizeof(too_big_sizes) / sizeof(too_big_sizes); n++) {
crypto/heimdal/lib/krb5/test_store.c
230
krb5_store_uint32(sp, too_big_sizes[n]);
crypto/heimdal/lib/krb5/test_store.c
234
errx(1, "not too big: %lu", (unsigned long)n);
crypto/heimdal/lib/krb5/verify_krb5_conf.c
289
int min = 0, max = -1, n;
crypto/heimdal/lib/krb5/verify_krb5_conf.c
293
n = sscanf(p, "%d%c%d/", &min, &c, &max);
crypto/heimdal/lib/krb5/verify_krb5_conf.c
294
if(n == 2){
crypto/heimdal/lib/krb5/verify_krb5_conf.c
304
if(n){
crypto/heimdal/lib/roken/concat.c
56
size_t n = strlen (a);
crypto/heimdal/lib/roken/concat.c
58
if (n >= len)
crypto/heimdal/lib/roken/concat.c
60
memcpy (s, a, n);
crypto/heimdal/lib/roken/concat.c
61
s += n;
crypto/heimdal/lib/roken/concat.c
62
len -= n;
crypto/heimdal/lib/roken/concat.c
80
size_t n = strlen (a);
crypto/heimdal/lib/roken/concat.c
82
if(max_len && len + n > max_len){
crypto/heimdal/lib/roken/concat.c
86
q = realloc(p, len + n);
crypto/heimdal/lib/roken/concat.c
92
memcpy (p + len - 1, a, n);
crypto/heimdal/lib/roken/concat.c
93
len += n;
crypto/heimdal/lib/roken/copyhostent.c
47
int i, n;
crypto/heimdal/lib/roken/copyhostent.c
62
for (n = 0, p = h->h_aliases; *p != NULL; ++p)
crypto/heimdal/lib/roken/copyhostent.c
63
++n;
crypto/heimdal/lib/roken/copyhostent.c
64
res->h_aliases = malloc ((n + 1) * sizeof(*res->h_aliases));
crypto/heimdal/lib/roken/copyhostent.c
69
for (i = 0; i < n + 1; ++i)
crypto/heimdal/lib/roken/copyhostent.c
71
for (i = 0; i < n; ++i) {
crypto/heimdal/lib/roken/copyhostent.c
79
for (n = 0, p = h->h_addr_list; *p != NULL; ++p)
crypto/heimdal/lib/roken/copyhostent.c
80
++n;
crypto/heimdal/lib/roken/copyhostent.c
81
res->h_addr_list = malloc ((n + 1) * sizeof(*res->h_addr_list));
crypto/heimdal/lib/roken/copyhostent.c
86
for (i = 0; i < n + 1; ++i) {
crypto/heimdal/lib/roken/copyhostent.c
89
for (i = 0; i < n; ++i) {
crypto/heimdal/lib/roken/getcap.c
1055
long n;
crypto/heimdal/lib/roken/getcap.c
1085
n = 0;
crypto/heimdal/lib/roken/getcap.c
1099
n = n * base + digit;
crypto/heimdal/lib/roken/getcap.c
1106
*num = n;
crypto/heimdal/lib/roken/getcap.c
358
int n;
crypto/heimdal/lib/roken/getcap.c
360
n = read(fd, buf, sizeof(buf));
crypto/heimdal/lib/roken/getcap.c
361
if (n <= 0) {
crypto/heimdal/lib/roken/getcap.c
364
if (n < 0) {
crypto/heimdal/lib/roken/getcap.c
373
b_end = buf+n;
crypto/heimdal/lib/roken/getcap.c
896
int n, i;
crypto/heimdal/lib/roken/getcap.c
898
n = 0;
crypto/heimdal/lib/roken/getcap.c
901
n = n * 8 + (*bp++ - '0');
crypto/heimdal/lib/roken/getcap.c
903
*mp++ = n;
crypto/heimdal/lib/roken/inet_ntop.c
56
int n = (a >> (24 - i * 8)) & 0xFF;
crypto/heimdal/lib/roken/inet_ntop.c
59
if (non_zerop || n / 100 > 0) {
crypto/heimdal/lib/roken/inet_ntop.c
60
*dst++ = digits[n / 100];
crypto/heimdal/lib/roken/inet_ntop.c
61
n %= 100;
crypto/heimdal/lib/roken/inet_ntop.c
64
if (non_zerop || n / 10 > 0) {
crypto/heimdal/lib/roken/inet_ntop.c
65
*dst++ = digits[n / 10];
crypto/heimdal/lib/roken/inet_ntop.c
66
n %= 10;
crypto/heimdal/lib/roken/inet_ntop.c
69
*dst++ = digits[n];
crypto/heimdal/lib/roken/memmove.c
45
memmove(void *s1, const void *s2, size_t n)
crypto/heimdal/lib/roken/memmove.c
50
s+=n-1;
crypto/heimdal/lib/roken/memmove.c
51
d+=n-1;
crypto/heimdal/lib/roken/memmove.c
52
while(n){
crypto/heimdal/lib/roken/memmove.c
54
n--;
crypto/heimdal/lib/roken/memmove.c
57
while(n){
crypto/heimdal/lib/roken/memmove.c
59
n--;
crypto/heimdal/lib/roken/mini_inetd.c
137
n = i;
crypto/heimdal/lib/roken/mini_inetd.c
147
for (i = 0; i < n; ++i)
crypto/heimdal/lib/roken/mini_inetd.c
150
for (i = 0; i < n; ++i)
crypto/heimdal/lib/roken/mini_inetd.c
93
int n, nalloc, i;
crypto/heimdal/lib/roken/qsort.c
112
rk_qsort_r(void *a, size_t n, size_t es, void *thunk, cmp_t *cmp)
crypto/heimdal/lib/roken/qsort.c
116
rk_qsort(void *a, size_t n, size_t es, cmp_t *cmp)
crypto/heimdal/lib/roken/qsort.c
126
if (n < 7) {
crypto/heimdal/lib/roken/qsort.c
127
for (pm = (char *)a + es; pm < (char *)a + n * es; pm += es)
crypto/heimdal/lib/roken/qsort.c
134
pm = (char *)a + (n / 2) * es;
crypto/heimdal/lib/roken/qsort.c
135
if (n > 7) {
crypto/heimdal/lib/roken/qsort.c
137
pn = (char *)a + (n - 1) * es;
crypto/heimdal/lib/roken/qsort.c
138
if (n > 40) {
crypto/heimdal/lib/roken/qsort.c
139
d = (n / 8) * es;
crypto/heimdal/lib/roken/qsort.c
149
pc = pd = (char *)a + (n - 1) * es;
crypto/heimdal/lib/roken/qsort.c
175
for (pm = (char *)a + es; pm < (char *)a + n * es; pm += es)
crypto/heimdal/lib/roken/qsort.c
183
pn = (char *)a + n * es;
crypto/heimdal/lib/roken/qsort.c
197
n = r / es;
crypto/heimdal/lib/roken/qsort.c
57
#define swapcode(TYPE, parmi, parmj, n) { \
crypto/heimdal/lib/roken/qsort.c
58
long i = (n) / sizeof (TYPE); \
crypto/heimdal/lib/roken/qsort.c
72
swapfunc(a, b, n, swaptype)
crypto/heimdal/lib/roken/qsort.c
74
int n, swaptype;
crypto/heimdal/lib/roken/qsort.c
77
swapcode(long, a, b, n)
crypto/heimdal/lib/roken/qsort.c
79
swapcode(char, a, b, n)
crypto/heimdal/lib/roken/qsort.c
90
#define vecswap(a, b, n) if ((n) > 0) swapfunc(a, b, n, swaptype)
crypto/heimdal/lib/roken/resolve.c
508
#define resolve_search(h,n,c,t,r,l) \
crypto/heimdal/lib/roken/resolve.c
509
((int)dns_search(h,n,c,t,r,l,(struct sockaddr *)&from,&fromsize))
crypto/heimdal/lib/roken/resolve.c
512
#define resolve_search(h,n,c,t,r,l) res_nsearch(h,n,c,t,r,l)
crypto/heimdal/lib/roken/resolve.c
515
#define resolve_search(h,n,c,t,r,l) res_search(n,c,t,r,l)
crypto/heimdal/lib/roken/roken_gethostby.c
143
int n;
crypto/heimdal/lib/roken/roken_gethostby.c
173
n = read(s, buf + offset, sizeof(buf) - offset);
crypto/heimdal/lib/roken/roken_gethostby.c
174
if(n <= 0)
crypto/heimdal/lib/roken/roken_gethostby.c
176
offset += n;
crypto/heimdal/lib/roken/snprintf.c
146
u_longest n = num;
crypto/heimdal/lib/roken/snprintf.c
163
nstr[--nstart] = rep[n % base];
crypto/heimdal/lib/roken/snprintf.c
165
n /= base;
crypto/heimdal/lib/roken/snprintf.c
166
} while(n);
crypto/heimdal/lib/roken/snprintf.c
67
sn_reserve (struct snprintf_state *state, size_t n)
crypto/heimdal/lib/roken/snprintf.c
69
return state->s + n > state->theend;
crypto/heimdal/lib/roken/snprintf.c
81
as_reserve (struct snprintf_state *state, size_t n)
crypto/heimdal/lib/roken/snprintf.c
83
if (state->s + n > state->theend) {
crypto/heimdal/lib/roken/snprintf.c
90
state->sz = max(state->sz * 2, state->sz + n);
crypto/heimdal/lib/roken/strftime.c
173
size_t n = 0;
crypto/heimdal/lib/roken/strftime.c
176
while (*format != '\0' && n < maxsize) {
crypto/heimdal/lib/roken/strftime.c
183
ret = snprintf (buf, maxsize - n,
crypto/heimdal/lib/roken/strftime.c
187
ret = snprintf (buf, maxsize - n,
crypto/heimdal/lib/roken/strftime.c
192
ret = snprintf (buf, maxsize - n,
crypto/heimdal/lib/roken/strftime.c
196
ret = snprintf (buf, maxsize - n,
crypto/heimdal/lib/roken/strftime.c
200
ret = snprintf (buf, maxsize - n,
crypto/heimdal/lib/roken/strftime.c
210
ret = snprintf (buf, maxsize - n,
crypto/heimdal/lib/roken/strftime.c
214
ret = snprintf (buf, maxsize - n,
crypto/heimdal/lib/roken/strftime.c
218
ret = snprintf (buf, maxsize - n,
crypto/heimdal/lib/roken/strftime.c
225
ret = snprintf (buf, maxsize - n,
crypto/heimdal/lib/roken/strftime.c
229
ret = snprintf (buf, maxsize - n,
crypto/heimdal/lib/roken/strftime.c
240
ret = snprintf (buf, maxsize - n,
crypto/heimdal/lib/roken/strftime.c
244
ret = snprintf (buf, maxsize - n,
crypto/heimdal/lib/roken/strftime.c
249
ret = snprintf (buf, maxsize - n,
crypto/heimdal/lib/roken/strftime.c
253
ret = snprintf (buf, maxsize - n,
crypto/heimdal/lib/roken/strftime.c
257
ret = snprintf (buf, maxsize - n,
crypto/heimdal/lib/roken/strftime.c
262
ret = snprintf (buf, maxsize - n,
crypto/heimdal/lib/roken/strftime.c
266
ret = snprintf (buf, maxsize - n,
crypto/heimdal/lib/roken/strftime.c
270
ret = snprintf (buf, maxsize - n, "\n");
crypto/heimdal/lib/roken/strftime.c
273
ret = snprintf (buf, maxsize - n, "%s",
crypto/heimdal/lib/roken/strftime.c
277
ret = snprintf (buf, maxsize - n,
crypto/heimdal/lib/roken/strftime.c
285
ret = snprintf (buf, maxsize - n,
crypto/heimdal/lib/roken/strftime.c
291
ret = snprintf (buf, maxsize - n,
crypto/heimdal/lib/roken/strftime.c
295
ret = snprintf (buf, maxsize - n,
crypto/heimdal/lib/roken/strftime.c
299
ret = snprintf (buf, maxsize - n, "\t");
crypto/heimdal/lib/roken/strftime.c
303
ret = snprintf (buf, maxsize - n,
crypto/heimdal/lib/roken/strftime.c
310
ret = snprintf (buf, maxsize - n,
crypto/heimdal/lib/roken/strftime.c
314
ret = snprintf (buf, maxsize - n,
crypto/heimdal/lib/roken/strftime.c
318
ret = snprintf (buf, maxsize - n,
crypto/heimdal/lib/roken/strftime.c
322
ret = snprintf (buf, maxsize - n,
crypto/heimdal/lib/roken/strftime.c
326
ret = snprintf (buf, maxsize - n,
crypto/heimdal/lib/roken/strftime.c
330
ret = snprintf (buf, maxsize - n,
crypto/heimdal/lib/roken/strftime.c
337
ret = snprintf (buf, maxsize - n,
crypto/heimdal/lib/roken/strftime.c
341
ret = snprintf (buf, maxsize - n,
crypto/heimdal/lib/roken/strftime.c
345
ret = snprintf (buf, maxsize - n,
crypto/heimdal/lib/roken/strftime.c
361
ret = snprintf (buf, maxsize - n,
crypto/heimdal/lib/roken/strftime.c
377
ret = snprintf (buf, maxsize - n,
crypto/heimdal/lib/roken/strftime.c
381
ret = snprintf (buf, maxsize - n,
crypto/heimdal/lib/roken/strftime.c
385
if (ret < 0 || ret >= (int)(maxsize - n))
crypto/heimdal/lib/roken/strftime.c
387
n += ret;
crypto/heimdal/lib/roken/strftime.c
392
++n;
crypto/heimdal/lib/roken/strftime.c
396
return n;
crypto/heimdal/lib/roken/strlcpy.c
57
size_t n;
crypto/heimdal/lib/roken/strlcpy.c
59
for (n = 0; n < dst_sz; n++) {
crypto/heimdal/lib/roken/strlcpy.c
64
if (n < dst_sz)
crypto/heimdal/lib/roken/strlcpy.c
65
return n;
crypto/heimdal/lib/roken/strlcpy.c
66
if (n > 0)
crypto/heimdal/lib/roken/strlcpy.c
68
return n + strlen (src);
crypto/heimdal/lib/roken/strncasecmp.c
43
strncasecmp(const char *s1, const char *s2, size_t n)
crypto/heimdal/lib/roken/strncasecmp.c
45
while(n > 0
crypto/heimdal/lib/roken/strncasecmp.c
52
n--;
crypto/heimdal/lib/roken/strncasecmp.c
54
if(n == 0)
crypto/heimdal/lib/roken/strptime.c
128
parse_number (const char **buf, int n, int *num)
crypto/heimdal/lib/roken/strptime.c
133
str = malloc(n + 1);
crypto/heimdal/lib/roken/strptime.c
142
for (i = 0; **buf != '\0' && i < n && isdigit((unsigned char)(**buf)); i++, (*buf)++)
crypto/heimdal/lib/sl/slc-gram.c
2003
char *n, *f;
crypto/heimdal/lib/sl/slc-gram.c
2008
n = strdup(name->u.value);
crypto/heimdal/lib/sl/slc-gram.c
2009
gen_name(n);
crypto/heimdal/lib/sl/slc-gram.c
2018
f = n;
crypto/heimdal/lib/sl/slc-gram.c
2022
gen_options(opt1, n);
crypto/heimdal/lib/sl/slc-gram.c
2023
hprint(0, "int %s(struct %s_options*, int, char **);\n", f, n);
crypto/heimdal/lib/sl/slc-gram.c
2029
fprintf(cfile, "%s_wrap(int argc, char **argv)\n", n);
crypto/heimdal/lib/sl/slc-gram.c
2032
cprint(1, "struct %s_options opt;\n", n);
crypto/heimdal/lib/sl/slc-gram.c
247
# define YYID(n) (n)
crypto/heimdal/lib/sl/slc-gram.y
494
char *n, *f;
crypto/heimdal/lib/sl/slc-gram.y
499
n = strdup(name->u.value);
crypto/heimdal/lib/sl/slc-gram.y
500
gen_name(n);
crypto/heimdal/lib/sl/slc-gram.y
509
f = n;
crypto/heimdal/lib/sl/slc-gram.y
513
gen_options(opt1, n);
crypto/heimdal/lib/sl/slc-gram.y
514
hprint(0, "int %s(struct %s_options*, int, char **);\n", f, n);
crypto/heimdal/lib/sl/slc-gram.y
520
fprintf(cfile, "%s_wrap(int argc, char **argv)\n", n);
crypto/heimdal/lib/sl/slc-gram.y
523
cprint(1, "struct %s_options opt;\n", n);
crypto/heimdal/lib/sl/slc-lex.c
1542
yy_size_t n, i;
crypto/heimdal/lib/sl/slc-lex.c
1545
n = _yybytes_len + 2;
crypto/heimdal/lib/sl/slc-lex.c
1546
buf = (char *) yyalloc(n );
crypto/heimdal/lib/sl/slc-lex.c
1555
b = yy_scan_buffer(buf,n );
crypto/heimdal/lib/sl/slc-lex.c
1580
#define yyless(n) \
crypto/heimdal/lib/sl/slc-lex.c
1584
int yyless_macro_arg = (n); \
crypto/heimdal/lib/sl/slc-lex.c
168
#define YY_LESS_LINENO(n)
crypto/heimdal/lib/sl/slc-lex.c
171
#define yyless(n) \
crypto/heimdal/lib/sl/slc-lex.c
1729
static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
crypto/heimdal/lib/sl/slc-lex.c
1732
for ( i = 0; i < n; ++i )
crypto/heimdal/lib/sl/slc-lex.c
1740
register int n;
crypto/heimdal/lib/sl/slc-lex.c
1741
for ( n = 0; s[n]; ++n )
crypto/heimdal/lib/sl/slc-lex.c
1744
return n;
crypto/heimdal/lib/sl/slc-lex.c
175
int yyless_macro_arg = (n); \
crypto/heimdal/lib/sl/slc-lex.c
606
yy_size_t n; \
crypto/heimdal/lib/sl/slc-lex.c
607
for ( n = 0; n < max_size && \
crypto/heimdal/lib/sl/slc-lex.c
608
(c = getc( yyin )) != EOF && c != '\n'; ++n ) \
crypto/heimdal/lib/sl/slc-lex.c
609
buf[n] = (char) c; \
crypto/heimdal/lib/sl/slc-lex.c
611
buf[n++] = (char) c; \
crypto/heimdal/lib/sl/slc-lex.c
614
result = n; \
crypto/heimdal/lib/wind/normalize.c
219
unsigned n = 0;
crypto/heimdal/lib/wind/normalize.c
229
if (n % 5 == 0) {
crypto/heimdal/lib/wind/normalize.c
243
++n;
crypto/heimdal/lib/wind/punycode.c
127
if(in[i] < m && in[i] >= n)
crypto/heimdal/lib/wind/punycode.c
130
delta += (m - n) * (h + 1);
crypto/heimdal/lib/wind/punycode.c
131
n = m;
crypto/heimdal/lib/wind/punycode.c
133
if (in[i] < n) {
crypto/heimdal/lib/wind/punycode.c
135
} else if (in[i] == n) {
crypto/heimdal/lib/wind/punycode.c
163
++n;
crypto/heimdal/lib/wind/punycode.c
49
digit(unsigned n)
crypto/heimdal/lib/wind/punycode.c
51
return "abcdefghijklmnopqrstuvwxyz0123456789"[n];
crypto/heimdal/lib/wind/punycode.c
92
unsigned n = initial_n;
crypto/heimdal/lib/wind/test-normalize.c
52
const char *n;
crypto/heimdal/lib/wind/test-normalize.c
55
for(n = strtok_r(buf, " ", &last);
crypto/heimdal/lib/wind/test-normalize.c
56
n != NULL;
crypto/heimdal/lib/wind/test-normalize.c
57
n = strtok_r(NULL, " ", &last)) {
crypto/heimdal/lib/wind/test-normalize.c
61
if (sscanf(n, "%x", &u) != 1) {
crypto/heimdal/lib/wind/test-normalize.c
62
errx(1, "failed to parse hex: %s", n);
crypto/heimdal/lib/wind/test-rw.c
151
unsigned int n, m, flags;
crypto/heimdal/lib/wind/test-rw.c
156
for (n = 0; n < sizeof(testcases)/sizeof(testcases[0]); n++) {
crypto/heimdal/lib/wind/test-rw.c
157
flags = testcases[n].in_flags;
crypto/heimdal/lib/wind/test-rw.c
159
datalen = testcases[n].ucs2_len;
crypto/heimdal/lib/wind/test-rw.c
162
ret = wind_ucs2read(testcases[n].in_ptr,
crypto/heimdal/lib/wind/test-rw.c
163
testcases[n].in_len,
crypto/heimdal/lib/wind/test-rw.c
167
if (ret != testcases[n].ret)
crypto/heimdal/lib/wind/test-rw.c
168
errx(1, "testcases %u: wind_ucs2read: %d", n, ret);
crypto/heimdal/lib/wind/test-rw.c
174
if (flags != testcases[n].out_flags)
crypto/heimdal/lib/wind/test-rw.c
175
errx(1, "testcases %u: flags wrong", n);
crypto/heimdal/lib/wind/test-rw.c
177
if (datalen != testcases[n].ucs2_len)
crypto/heimdal/lib/wind/test-rw.c
178
errx(1, "testcases %u: ucs len wrong", n);
crypto/heimdal/lib/wind/test-rw.c
181
if (testcases[n].ucs2[m] != data[m])
crypto/heimdal/lib/wind/test-rw.c
182
errx(1, "testcases %u: char %u wrong", n, m);
crypto/krb5/src/include/k5-int.h
659
k5_sha256(const krb5_data *in, size_t n, uint8_t out[K5_SHA256_HASHLEN]);
crypto/krb5/src/include/k5-platform.h
1065
int k5_bcmp(const void *p1, const void *p2, size_t n);
crypto/krb5/src/include/k5-platform.h
1099
#define ngettext(m1, m2, n) (((n) == 1) ? m1 : m2)
crypto/krb5/src/include/k5-platform.h
736
UINT16_TYPE n = val;
crypto/krb5/src/include/k5-platform.h
737
memcpy(vp, &n, 2);
crypto/krb5/src/include/k5-platform.h
742
UINT32_TYPE n = val;
crypto/krb5/src/include/k5-platform.h
743
memcpy(vp, &n, 4);
crypto/krb5/src/include/k5-platform.h
748
uint64_t n = val;
crypto/krb5/src/include/k5-platform.h
749
memcpy(vp, &n, 8);
crypto/krb5/src/include/k5-platform.h
754
UINT16_TYPE n;
crypto/krb5/src/include/k5-platform.h
755
memcpy(&n, p, 2);
crypto/krb5/src/include/k5-platform.h
756
return n;
crypto/krb5/src/include/k5-platform.h
761
UINT32_TYPE n;
crypto/krb5/src/include/k5-platform.h
762
memcpy(&n, p, 4);
crypto/krb5/src/include/k5-platform.h
763
return n;
crypto/krb5/src/include/k5-platform.h
768
uint64_t n;
crypto/krb5/src/include/k5-platform.h
769
memcpy(&n, p, 8);
crypto/krb5/src/include/k5-platform.h
770
return n;
crypto/krb5/src/include/k5-platform.h
934
int n;
crypto/krb5/src/include/k5-platform.h
937
n = vsnprintf(str, size, format, args);
crypto/krb5/src/include/k5-platform.h
939
return n;
crypto/krb5/src/include/k5-thread.h
258
k5_os_nothread_once_t n;
crypto/krb5/src/kadmin/server/auth_acl.c
448
int n;
crypto/krb5/src/kadmin/server/auth_acl.c
460
n = e1->data[1] - '1';
crypto/krb5/src/kadmin/server/auth_acl.c
461
if (n >= ws->nwild)
crypto/krb5/src/kadmin/server/auth_acl.c
463
return data_eq(*e2, *ws->backref[n]);
crypto/krb5/src/kprop/kprop.c
414
krb5_int32 n;
crypto/krb5/src/kprop/kprop.c
453
while ((n = read(database_fd, buf, sizeof(buf)))) {
crypto/krb5/src/kprop/kprop.c
454
inbuf.length = n;
crypto/krb5/src/kprop/kprop.c
474
sent_size += n;
crypto/krb5/src/kprop/kpropd.c
1361
int n;
crypto/krb5/src/kprop/kpropd.c
1433
n = write(database_fd, outbuf.data, outbuf.length);
crypto/krb5/src/kprop/kpropd.c
1435
if (n < 0) {
crypto/krb5/src/kprop/kpropd.c
1440
} else if ((unsigned int)n != outbuf.length) {
crypto/krb5/src/kprop/kpropd.c
1444
received_size, n, outbuf.length);
crypto/krb5/src/lib/apputils/daemon.c
65
int n;
crypto/krb5/src/lib/apputils/daemon.c
73
n = open("/dev/tty", O_RDWR);
crypto/krb5/src/lib/apputils/daemon.c
75
if (n > 0) {
crypto/krb5/src/lib/apputils/daemon.c
76
(void) ioctl(n, TIOCNOTTY, (char *)NULL);
crypto/krb5/src/lib/apputils/daemon.c
77
(void) close(n);
crypto/krb5/src/lib/apputils/net-server.c
1060
if (bind_addresses.n == 0)
crypto/krb5/src/lib/apputils/net-server.c
1066
events.n = 0;
crypto/krb5/src/lib/apputils/net-server.c
1074
krb5_klog_syslog (LOG_INFO, _("set up %d sockets"), (int) events.n);
crypto/krb5/src/lib/apputils/net-server.c
1075
if (events.n == 0) {
crypto/krb5/src/lib/apputils/net-server.c
173
#define SET(TYPE) struct { TYPE *data; size_t n, max; }
crypto/krb5/src/lib/apputils/net-server.c
179
for (idx = set.n-1; idx >= 0 && (vvar = set.data[idx], 1); idx--)
crypto/krb5/src/lib/apputils/net-server.c
193
((set.n < set.max || GROW_SET(set, 10, tmpptr)) \
crypto/krb5/src/lib/apputils/net-server.c
194
? (set.data[set.n++] = val, 1) \
crypto/krb5/src/lib/apputils/net-server.c
198
(set.data[idx] = set.data[--set.n], 0)
crypto/krb5/src/lib/apputils/net-server.c
201
(free(set.data), set.data = 0, set.max = 0, set.n = 0)
crypto/krb5/src/lib/apputils/net-server.c
948
if (bind_addresses.n == 0) {
crypto/krb5/src/lib/apputils/net-server.c
965
for (i = 0; i < bind_addresses.n; i++) {
crypto/krb5/src/lib/crypto/builtin/aes/aes.h
194
AES_RETURN aes_test_alignment_detection(unsigned int n);
crypto/krb5/src/lib/crypto/builtin/aes/aescrypt.c
201
#define inv_rnd(y,x,k,c) (s(y,c) = (k)[c] ^ four_tables(x,t_use(i,n),inv_var,rf1,c))
crypto/krb5/src/lib/crypto/builtin/aes/aescrypt.c
204
#define inv_rnd(y,x,k,c) (s(y,c) = (k)[c] ^ one_table(x,upr,t_use(i,n),inv_var,rf1,c))
crypto/krb5/src/lib/crypto/builtin/aes/aescrypt.c
226
#define rnd_key(n) (kp + n * N_COLS)
crypto/krb5/src/lib/crypto/builtin/aes/aescrypt.c
229
#define rnd_key(n) (kp - n * N_COLS)
crypto/krb5/src/lib/crypto/builtin/aes/aescrypt.c
84
#define fwd_rnd(y,x,k,c) (s(y,c) = (k)[c] ^ four_tables(x,t_use(f,n),fwd_var,rf1,c))
crypto/krb5/src/lib/crypto/builtin/aes/aescrypt.c
87
#define fwd_rnd(y,x,k,c) (s(y,c) = (k)[c] ^ one_table(x,upr,t_use(f,n),fwd_var,rf1,c))
crypto/krb5/src/lib/crypto/builtin/aes/aeskey.c
237
#define v(n,i) ((n) - (i) + 2 * ((i) & 3))
crypto/krb5/src/lib/crypto/builtin/aes/aeskey.c
239
#define v(n,i) (i)
crypto/krb5/src/lib/crypto/builtin/aes/aeskey.c
70
uint32_t ls_sub(const uint32_t t, const uint32_t n);
crypto/krb5/src/lib/crypto/builtin/aes/aesopt.h
572
# define brot(x,n) (((uint32_t)(x) << n) | ((uint32_t)(x) >> (32 - n)))
crypto/krb5/src/lib/crypto/builtin/aes/aesopt.h
588
# define upr(x,n) (((uint32_t)(x) << (8 * (n))) | ((uint32_t)(x) >> (32 - 8 * (n))))
crypto/krb5/src/lib/crypto/builtin/aes/aesopt.h
589
# define ups(x,n) ((uint32_t) (x) << (8 * (n)))
crypto/krb5/src/lib/crypto/builtin/aes/aesopt.h
590
# define bval(x,n) to_byte((x) >> (8 * (n)))
crypto/krb5/src/lib/crypto/builtin/aes/aesopt.h
596
# define upr(x,n) (((uint32_t)(x) >> (8 * (n))) | ((uint32_t)(x) << (32 - 8 * (n))))
crypto/krb5/src/lib/crypto/builtin/aes/aesopt.h
597
# define ups(x,n) ((uint32_t) (x) >> (8 * (n)))
crypto/krb5/src/lib/crypto/builtin/aes/aesopt.h
598
# define bval(x,n) to_byte((x) >> (24 - 8 * (n)))
crypto/krb5/src/lib/crypto/builtin/aes/aestab.c
319
t_set(f,n)[i] = w;
crypto/krb5/src/lib/crypto/builtin/aes/aestab.c
322
t_set(f,n)[0][i] = w;
crypto/krb5/src/lib/crypto/builtin/aes/aestab.c
323
t_set(f,n)[1][i] = upr(w,1);
crypto/krb5/src/lib/crypto/builtin/aes/aestab.c
324
t_set(f,n)[2][i] = upr(w,2);
crypto/krb5/src/lib/crypto/builtin/aes/aestab.c
325
t_set(f,n)[3][i] = upr(w,3);
crypto/krb5/src/lib/crypto/builtin/aes/aestab.c
366
t_set(i,n)[i] = w;
crypto/krb5/src/lib/crypto/builtin/aes/aestab.c
369
t_set(i,n)[0][i] = w;
crypto/krb5/src/lib/crypto/builtin/aes/aestab.c
370
t_set(i,n)[1][i] = upr(w,1);
crypto/krb5/src/lib/crypto/builtin/aes/aestab.c
371
t_set(i,n)[2][i] = upr(w,2);
crypto/krb5/src/lib/crypto/builtin/aes/aestab.c
372
t_set(i,n)[3][i] = upr(w,3);
crypto/krb5/src/lib/crypto/builtin/aes/aestab.h
103
#define d_1(t,n,b,e) EXTERN AES_ALIGN CONST XP_DIR t n[256] = b(e)
crypto/krb5/src/lib/crypto/builtin/aes/aestab.h
104
#define d_4(t,n,b,e,f,g,h) EXTERN AES_ALIGN CONST XP_DIR t n[4][256] = { b(e), b(f), b(g), b(h) }
crypto/krb5/src/lib/crypto/builtin/aes/aestab.h
107
#define d_1(t,n,b,e) EXTERN AES_ALIGN CONST XP_DIR t n[256]
crypto/krb5/src/lib/crypto/builtin/aes/aestab.h
108
#define d_4(t,n,b,e,f,g,h) EXTERN AES_ALIGN CONST XP_DIR t n[4][256]
crypto/krb5/src/lib/crypto/builtin/aes/aestab.h
120
d_1(uint32_t, t_dec(f,n), sb_data, u0);
crypto/krb5/src/lib/crypto/builtin/aes/aestab.h
123
d_4(uint32_t, t_dec(f,n), sb_data, u0, u1, u2, u3);
crypto/krb5/src/lib/crypto/builtin/aes/aestab.h
134
d_1(uint32_t, t_dec(i,n), isb_data, v0);
crypto/krb5/src/lib/crypto/builtin/aes/aestab.h
137
d_4(uint32_t, t_dec(i,n), isb_data, v0, v1, v2, v3);
crypto/krb5/src/lib/crypto/builtin/aes/aestab.h
68
#define t_dec(m,n) t_##m##n
crypto/krb5/src/lib/crypto/builtin/aes/aestab.h
69
#define t_set(m,n) t_##m##n
crypto/krb5/src/lib/crypto/builtin/aes/aestab.h
70
#define t_use(m,n) t_##m##n
crypto/krb5/src/lib/crypto/builtin/aes/brg_types.h
183
#define ALIGN_OFFSET(x,n) (((ptrint_t)(x)) & ((n) - 1))
crypto/krb5/src/lib/crypto/builtin/aes/brg_types.h
184
#define ALIGN_FLOOR(x,n) ((uint8_t*)(x) - ( ((ptrint_t)(x)) & ((n) - 1)))
crypto/krb5/src/lib/crypto/builtin/aes/brg_types.h
185
#define ALIGN_CEIL(x,n) ((uint8_t*)(x) + (-((ptrint_t)(x)) & ((n) - 1)))
crypto/krb5/src/lib/crypto/builtin/cmac.c
133
unsigned int n, i, flag;
crypto/krb5/src/lib/crypto/builtin/cmac.c
153
n = (length + BLOCK_SIZE - 1) / BLOCK_SIZE;
crypto/krb5/src/lib/crypto/builtin/cmac.c
156
if (n == 0) {
crypto/krb5/src/lib/crypto/builtin/cmac.c
157
n = 1;
crypto/krb5/src/lib/crypto/builtin/cmac.c
172
for (i = 0; i < n - 1; i++) {
crypto/krb5/src/lib/crypto/builtin/kdf.c
117
for (i = 1, n = 0; n < keybytes; i++) {
crypto/krb5/src/lib/crypto/builtin/kdf.c
127
if (keybytes - n <= blocksize) {
crypto/krb5/src/lib/crypto/builtin/kdf.c
128
memcpy(rnd_out->data + n, prf.data, keybytes - n);
crypto/krb5/src/lib/crypto/builtin/kdf.c
131
memcpy(rnd_out->data + n, prf.data, blocksize);
crypto/krb5/src/lib/crypto/builtin/kdf.c
132
n += blocksize;
crypto/krb5/src/lib/crypto/builtin/kdf.c
144
size_t blocksize, keybytes, n;
crypto/krb5/src/lib/crypto/builtin/kdf.c
170
n = 0;
crypto/krb5/src/lib/crypto/builtin/kdf.c
171
while (n < keybytes) {
crypto/krb5/src/lib/crypto/builtin/kdf.c
176
if ((keybytes - n) <= blocksize) {
crypto/krb5/src/lib/crypto/builtin/kdf.c
177
memcpy(rnd_out->data + n, block.data, (keybytes - n));
crypto/krb5/src/lib/crypto/builtin/kdf.c
181
memcpy(rnd_out->data + n, block.data, blocksize);
crypto/krb5/src/lib/crypto/builtin/kdf.c
182
n += blocksize;
crypto/krb5/src/lib/crypto/builtin/kdf.c
79
size_t blocksize, keybytes, n;
crypto/krb5/src/lib/crypto/builtin/md4/md4.c
60
#define ROTATE_LEFT(x, n) ((((x) << (n)) & 0xffffffff) | ((x) >> (32-(n))))
crypto/krb5/src/lib/crypto/builtin/md5/md5.c
74
#define ROTATE_LEFT(x, n) ((((x) << (n)) & 0xffffffff) | ((x) >> (32-(n))))
crypto/krb5/src/lib/crypto/builtin/sha1/shs.c
39
#define ROTL(n,X) ((((X) << (n)) & 0xffffffff) | ((X) >> (32 - n)))
crypto/krb5/src/lib/crypto/builtin/sha2/sha256.c
177
#define ROL(x,n) ((x)<<(n))|((x)>>(32-(n)))
crypto/krb5/src/lib/crypto/builtin/sha2/sha256.c
261
k5_sha256(const krb5_data *in, size_t n, uint8_t out[K5_SHA256_HASHLEN])
crypto/krb5/src/lib/crypto/builtin/sha2/sha256.c
267
for (i = 0; i < n; i++)
crypto/krb5/src/lib/crypto/builtin/sha2/sha256.c
62
cshift (uint32_t x, unsigned int n)
crypto/krb5/src/lib/crypto/builtin/sha2/sha256.c
65
return CRAYFIX((x << n) | (x >> (32 - n)));
crypto/krb5/src/lib/crypto/builtin/sha2/sha256.c
71
#define ROTR(x,n) (((x)>>(n)) | ((x) << (32 - (n))))
crypto/krb5/src/lib/crypto/builtin/sha2/sha512.c
109
cshift64 (uint64_t x, unsigned int n)
crypto/krb5/src/lib/crypto/builtin/sha2/sha512.c
111
return ((uint64_t)x << (uint64_t)n) | ((uint64_t)x >> ((uint64_t)64 - (uint64_t)n));
crypto/krb5/src/lib/crypto/builtin/sha2/sha512.c
49
#define ROTR(x,n) (((x)>>(n)) | ((x) << (64 - (n))))
crypto/krb5/src/lib/crypto/crypto_tests/t_nfold.c
54
unsigned int n;
crypto/krb5/src/lib/crypto/crypto_tests/t_nfold.c
82
assert (tests[i].n / 8 <= sizeof (outbuf));
crypto/krb5/src/lib/crypto/crypto_tests/t_nfold.c
83
krb5int_nfold (8 * strlen ((char *) p), p, tests[i].n, outbuf);
crypto/krb5/src/lib/crypto/crypto_tests/t_nfold.c
84
printf ("%d-fold(\"%s\") =\n", tests[i].n, p);
crypto/krb5/src/lib/crypto/crypto_tests/t_nfold.c
85
printf ("%d-fold(", tests[i].n);
crypto/krb5/src/lib/crypto/crypto_tests/t_nfold.c
88
printhex (tests[i].n / 8, outbuf);
crypto/krb5/src/lib/crypto/crypto_tests/t_nfold.c
90
if (memcmp (outbuf, tests[i].exp, tests[i].n/8) != 0) {
crypto/krb5/src/lib/crypto/crypto_tests/t_nfold.c
92
printhex (tests[i].n / 8, tests[i].exp);
crypto/krb5/src/lib/crypto/crypto_tests/vectors.c
64
int n;
crypto/krb5/src/lib/crypto/crypto_tests/vectors.c
78
assert (tests[i].n / 8 <= sizeof (outbuf));
crypto/krb5/src/lib/crypto/crypto_tests/vectors.c
79
printf ("%d-fold(\"%s\") =\n", tests[i].n, p);
crypto/krb5/src/lib/crypto/crypto_tests/vectors.c
80
printf ("%d-fold(", tests[i].n);
crypto/krb5/src/lib/crypto/crypto_tests/vectors.c
83
krb5int_nfold (8 * strlen (p), p, tests[i].n, outbuf);
crypto/krb5/src/lib/crypto/crypto_tests/vectors.c
84
printhex (tests[i].n / 8U, outbuf);
crypto/krb5/src/lib/crypto/openssl/sha256.c
47
k5_sha256(const krb5_data *in, size_t n, uint8_t out[K5_SHA256_HASHLEN])
crypto/krb5/src/lib/crypto/openssl/sha256.c
57
for (i = 0; i < n; i++)
crypto/krb5/src/lib/gssapi/generic/disp_major_status.c
98
#define LSBMASK(n) ((1<<(n))^((1<<(n))-1))
crypto/krb5/src/lib/gssapi/generic/gssapiP_generic.h
60
#define xmalloc(n) malloc(n)
crypto/krb5/src/lib/gssapi/generic/gssapiP_generic.h
61
#define xrealloc(p,n) realloc(p,n)
crypto/krb5/src/lib/gssapi/generic/oid_ops.c
241
unsigned long number, n;
crypto/krb5/src/lib/gssapi/generic/oid_ops.c
273
n = (number < 40) ? 0 : (number < 80) ? 1 : 2;
crypto/krb5/src/lib/gssapi/generic/oid_ops.c
274
k5_buf_add_fmt(&buf, "%lu %lu ", n, number - (n * 40));
crypto/krb5/src/lib/gssapi/krb5/disp_status.c
118
int n;
crypto/krb5/src/lib/gssapi/krb5/disp_status.c
122
n = vasprintf(&s, format, ap);
crypto/krb5/src/lib/gssapi/krb5/disp_status.c
124
if (n >= 0) {
crypto/krb5/src/lib/gssapi/krb5/import_cred.c
100
etypes[i] = k5_json_number_value(n);
crypto/krb5/src/lib/gssapi/krb5/import_cred.c
185
k5_json_number n;
crypto/krb5/src/lib/gssapi/krb5/import_cred.c
196
n = check_element(array, 0, K5_JSON_TID_NUMBER);
crypto/krb5/src/lib/gssapi/krb5/import_cred.c
197
if (n == NULL)
crypto/krb5/src/lib/gssapi/krb5/import_cred.c
199
keyblock->enctype = k5_json_number_value(n);
crypto/krb5/src/lib/gssapi/krb5/import_cred.c
217
k5_json_number n;
crypto/krb5/src/lib/gssapi/krb5/import_cred.c
228
n = check_element(array, 0, K5_JSON_TID_NUMBER);
crypto/krb5/src/lib/gssapi/krb5/import_cred.c
229
if (n == NULL)
crypto/krb5/src/lib/gssapi/krb5/import_cred.c
238
addr->addrtype = k5_json_number_value(n);
crypto/krb5/src/lib/gssapi/krb5/import_cred.c
286
k5_json_number n;
crypto/krb5/src/lib/gssapi/krb5/import_cred.c
297
n = check_element(array, 0, K5_JSON_TID_NUMBER);
crypto/krb5/src/lib/gssapi/krb5/import_cred.c
298
if (n == NULL)
crypto/krb5/src/lib/gssapi/krb5/import_cred.c
307
ad->ad_type = k5_json_number_value(n);
crypto/krb5/src/lib/gssapi/krb5/import_cred.c
354
k5_json_number n;
crypto/krb5/src/lib/gssapi/krb5/import_cred.c
378
n = check_element(array, 3, K5_JSON_TID_NUMBER);
crypto/krb5/src/lib/gssapi/krb5/import_cred.c
379
if (n == NULL)
crypto/krb5/src/lib/gssapi/krb5/import_cred.c
381
creds->times.authtime = k5_json_number_value(n);
crypto/krb5/src/lib/gssapi/krb5/import_cred.c
383
n = check_element(array, 4, K5_JSON_TID_NUMBER);
crypto/krb5/src/lib/gssapi/krb5/import_cred.c
384
if (n == NULL)
crypto/krb5/src/lib/gssapi/krb5/import_cred.c
386
creds->times.starttime = k5_json_number_value(n);
crypto/krb5/src/lib/gssapi/krb5/import_cred.c
388
n = check_element(array, 5, K5_JSON_TID_NUMBER);
crypto/krb5/src/lib/gssapi/krb5/import_cred.c
389
if (n == NULL)
crypto/krb5/src/lib/gssapi/krb5/import_cred.c
391
creds->times.endtime = k5_json_number_value(n);
crypto/krb5/src/lib/gssapi/krb5/import_cred.c
393
n = check_element(array, 6, K5_JSON_TID_NUMBER);
crypto/krb5/src/lib/gssapi/krb5/import_cred.c
394
if (n == NULL)
crypto/krb5/src/lib/gssapi/krb5/import_cred.c
396
creds->times.renew_till = k5_json_number_value(n);
crypto/krb5/src/lib/gssapi/krb5/import_cred.c
403
n = check_element(array, 8, K5_JSON_TID_NUMBER);
crypto/krb5/src/lib/gssapi/krb5/import_cred.c
404
if (n == NULL)
crypto/krb5/src/lib/gssapi/krb5/import_cred.c
406
creds->ticket_flags = k5_json_number_value(n);
crypto/krb5/src/lib/gssapi/krb5/import_cred.c
508
k5_json_number n;
crypto/krb5/src/lib/gssapi/krb5/import_cred.c
525
n = check_element(array, 0, K5_JSON_TID_NUMBER);
crypto/krb5/src/lib/gssapi/krb5/import_cred.c
526
if (n == NULL)
crypto/krb5/src/lib/gssapi/krb5/import_cred.c
528
cred->usage = k5_json_number_value(n);
crypto/krb5/src/lib/gssapi/krb5/import_cred.c
567
n = check_element(array, 10, K5_JSON_TID_NUMBER);
crypto/krb5/src/lib/gssapi/krb5/import_cred.c
568
if (n == NULL)
crypto/krb5/src/lib/gssapi/krb5/import_cred.c
570
cred->expire = k5_json_number_value(n);
crypto/krb5/src/lib/gssapi/krb5/import_cred.c
572
n = check_element(array, 11, K5_JSON_TID_NUMBER);
crypto/krb5/src/lib/gssapi/krb5/import_cred.c
573
if (n == NULL)
crypto/krb5/src/lib/gssapi/krb5/import_cred.c
575
cred->refresh_time = k5_json_number_value(n);
crypto/krb5/src/lib/gssapi/krb5/import_cred.c
85
k5_json_number n;
crypto/krb5/src/lib/gssapi/krb5/import_cred.c
97
n = check_element(array, i, K5_JSON_TID_NUMBER);
crypto/krb5/src/lib/gssapi/krb5/import_cred.c
98
if (n == NULL)
crypto/krb5/src/lib/gssapi/krb5/import_name.c
233
#define BOUNDS_CHECK(cp, end, n) \
crypto/krb5/src/lib/gssapi/krb5/import_name.c
234
do { if ((end) - (cp) < (n)) goto fail_name; } while (0)
crypto/krb5/src/lib/gssapi/spnego/gssapiP_negoex.h
108
struct nego_message n;
crypto/krb5/src/lib/gssapi/spnego/negoex_util.c
186
for (i = 0; i < msg->u.n.nschemes; i++) {
crypto/krb5/src/lib/gssapi/spnego/negoex_util.c
187
add_guid(&buf, msg->u.n.schemes + i * GUID_LENGTH);
crypto/krb5/src/lib/gssapi/spnego/negoex_util.c
188
if (i + 1 < msg->u.n.nschemes)
crypto/krb5/src/lib/gssapi/spnego/negoex_util.c
423
major = parse_nego_message(minor, in, msg_base, msg_len, &msg->u.n);
crypto/krb5/src/lib/gssapi/spnego/negoex_util.c
522
return (msg == NULL) ? NULL : &msg->u.n;
crypto/krb5/src/lib/kadm5/kadm_rpc_xdr.c
392
unsigned int n;
crypto/krb5/src/lib/kadm5/kadm_rpc_xdr.c
457
n = objp->n_key_data;
crypto/krb5/src/lib/kadm5/kadm_rpc_xdr.c
458
r = xdr_array(xdrs, (caddr_t *) &objp->key_data, &n, objp->n_key_data,
crypto/krb5/src/lib/kadm5/kadm_rpc_xdr.c
461
objp->n_key_data = n;
crypto/krb5/src/lib/kadm5/srv/pwqual_hesiod.c
102
int i, n;
crypto/krb5/src/lib/kadm5/srv/pwqual_hesiod.c
109
n = krb5_princ_size(handle->context, princ);
crypto/krb5/src/lib/kadm5/srv/pwqual_hesiod.c
110
for (i = 0; i < n; i++) {
crypto/krb5/src/lib/kadm5/srv/pwqual_princ.c
38
int i, n;
crypto/krb5/src/lib/kadm5/srv/pwqual_princ.c
46
n = krb5_princ_size(handle->context, princ);
crypto/krb5/src/lib/kadm5/srv/pwqual_princ.c
50
for (i = 0; i < n; i++) {
crypto/krb5/src/lib/kadm5/srv/svr_principal.c
265
int n;
crypto/krb5/src/lib/kadm5/srv/svr_principal.c
267
for (n = 1; n < n_key_data; n++) {
crypto/krb5/src/lib/kadm5/srv/svr_principal.c
268
if (key_data[n - 1].key_data_kvno != key_data[n].key_data_kvno)
crypto/krb5/src/lib/kadm5/srv/svr_principal.c
269
return n;
crypto/krb5/src/lib/kadm5/srv/svr_principal.c
60
krb5_tl_data *n;
crypto/krb5/src/lib/kadm5/srv/svr_principal.c
62
n = (krb5_tl_data *) malloc(sizeof(krb5_tl_data));
crypto/krb5/src/lib/kadm5/srv/svr_principal.c
63
if (n == NULL)
crypto/krb5/src/lib/kadm5/srv/svr_principal.c
65
n->tl_data_contents = malloc(tl->tl_data_length);
crypto/krb5/src/lib/kadm5/srv/svr_principal.c
66
if (n->tl_data_contents == NULL) {
crypto/krb5/src/lib/kadm5/srv/svr_principal.c
67
free(n);
crypto/krb5/src/lib/kadm5/srv/svr_principal.c
70
memcpy(n->tl_data_contents, tl->tl_data_contents, tl->tl_data_length);
crypto/krb5/src/lib/kadm5/srv/svr_principal.c
71
n->tl_data_type = tl->tl_data_type;
crypto/krb5/src/lib/kadm5/srv/svr_principal.c
72
n->tl_data_length = tl->tl_data_length;
crypto/krb5/src/lib/kadm5/srv/svr_principal.c
73
n->tl_data_next = NULL;
crypto/krb5/src/lib/kadm5/srv/svr_principal.c
74
return n;
crypto/krb5/src/lib/kdb/kdb5.c
1352
krb5_keylist_node *n;
crypto/krb5/src/lib/kdb/kdb5.c
1354
for (n = context->dal_handle->master_keylist; n != NULL; n = n->next) {
crypto/krb5/src/lib/kdb/kdb5.c
1355
if (n->kvno == kvno)
crypto/krb5/src/lib/kdb/kdb5.c
1356
return &n->keyblock;
crypto/krb5/src/lib/kdb/kdb5.c
2563
krb5_keylist_node *n = kcontext->dal_handle->master_keylist;
crypto/krb5/src/lib/kdb/kdb5.c
2568
for (; n; n = n->next) {
crypto/krb5/src/lib/kdb/kdb5.c
2570
status = v->decrypt_key_data(kcontext, &n->keyblock, key_data, dbkey,
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
188
intmax_t n;
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
193
n = (asn1[0] & 0x80) ? -1 : 0;
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
198
n = n * 256 + asn1[i];
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
199
*val = n;
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
208
uintmax_t n;
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
216
for (i = 0, n = 0; i < len; i++)
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
217
n = (n << 8) | asn1[i];
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
218
*val = n;
crypto/krb5/src/lib/krb5/ccache/cc_file.c
1183
krb5_cc_ptcursor n = NULL;
crypto/krb5/src/lib/krb5/ccache/cc_file.c
1188
n = malloc(sizeof(*n));
crypto/krb5/src/lib/krb5/ccache/cc_file.c
1189
if (n == NULL)
crypto/krb5/src/lib/krb5/ccache/cc_file.c
1191
n->ops = &krb5_fcc_ops;
crypto/krb5/src/lib/krb5/ccache/cc_file.c
1194
free(n);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
1198
n->data = cdata;
crypto/krb5/src/lib/krb5/ccache/cc_file.c
1199
*cursor = n;
crypto/krb5/src/lib/krb5/ccache/cc_memory.c
712
krb5_cc_ptcursor n = NULL;
crypto/krb5/src/lib/krb5/ccache/cc_memory.c
717
n = malloc(sizeof(*n));
crypto/krb5/src/lib/krb5/ccache/cc_memory.c
718
if (n == NULL)
crypto/krb5/src/lib/krb5/ccache/cc_memory.c
720
n->ops = &krb5_mcc_ops;
crypto/krb5/src/lib/krb5/ccache/cc_memory.c
723
free(n);
crypto/krb5/src/lib/krb5/ccache/cc_memory.c
726
n->data = cdata;
crypto/krb5/src/lib/krb5/ccache/cc_memory.c
728
*cursor = n;
crypto/krb5/src/lib/krb5/ccache/ccapi/winccld.c
44
int i, n;
crypto/krb5/src/lib/krb5/ccache/ccapi/winccld.c
49
for (n = 0; fi[n].func_ptr_var; n++) {
crypto/krb5/src/lib/krb5/ccache/ccapi/winccld.c
50
*(fi[n].func_ptr_var) = 0;
crypto/krb5/src/lib/krb5/ccache/ccapi/winccld.c
61
for (i = 0; !error && (i < n); i++) {
crypto/krb5/src/lib/krb5/ccache/ccapi/winccld.c
74
for (i = 0; i < n; i++) {
crypto/krb5/src/lib/krb5/ccache/ccbase.c
319
krb5_cc_typecursor n = NULL;
crypto/krb5/src/lib/krb5/ccache/ccbase.c
322
n = malloc(sizeof(*n));
crypto/krb5/src/lib/krb5/ccache/ccbase.c
323
if (n == NULL)
crypto/krb5/src/lib/krb5/ccache/ccbase.c
327
n->tptr = cc_typehead;
crypto/krb5/src/lib/krb5/ccache/ccbase.c
329
*t = n;
crypto/krb5/src/lib/krb5/ccache/cccursor.c
49
krb5_cccol_cursor n = NULL;
crypto/krb5/src/lib/krb5/ccache/cccursor.c
52
n = malloc(sizeof(*n));
crypto/krb5/src/lib/krb5/ccache/cccursor.c
53
if (n == NULL)
crypto/krb5/src/lib/krb5/ccache/cccursor.c
56
n->typecursor = NULL;
crypto/krb5/src/lib/krb5/ccache/cccursor.c
57
n->ptcursor = NULL;
crypto/krb5/src/lib/krb5/ccache/cccursor.c
58
n->ops = NULL;
crypto/krb5/src/lib/krb5/ccache/cccursor.c
60
ret = krb5int_cc_typecursor_new(context, &n->typecursor);
crypto/krb5/src/lib/krb5/ccache/cccursor.c
66
ret = krb5int_cc_typecursor_next(context, n->typecursor, &n->ops);
crypto/krb5/src/lib/krb5/ccache/cccursor.c
67
if (ret || n->ops == NULL)
crypto/krb5/src/lib/krb5/ccache/cccursor.c
69
} while (n->ops->ptcursor_new == NULL);
crypto/krb5/src/lib/krb5/ccache/cccursor.c
71
ret = n->ops->ptcursor_new(context, &n->ptcursor);
crypto/krb5/src/lib/krb5/ccache/cccursor.c
77
krb5_cccol_cursor_free(context, &n);
crypto/krb5/src/lib/krb5/ccache/cccursor.c
79
*cursor = n;
crypto/krb5/src/lib/krb5/ccache/ccmarshal.c
337
char n[2];
crypto/krb5/src/lib/krb5/ccache/ccmarshal.c
340
store_16_n(num, n);
crypto/krb5/src/lib/krb5/ccache/ccmarshal.c
342
store_16_be(num, n);
crypto/krb5/src/lib/krb5/ccache/ccmarshal.c
343
k5_buf_add_len(buf, n, 2);
crypto/krb5/src/lib/krb5/ccache/ccmarshal.c
351
char n[4];
crypto/krb5/src/lib/krb5/ccache/ccmarshal.c
354
store_32_n(num, n);
crypto/krb5/src/lib/krb5/ccache/ccmarshal.c
356
store_32_be(num, n);
crypto/krb5/src/lib/krb5/ccache/ccmarshal.c
357
k5_buf_add_len(buf, n, 4);
crypto/krb5/src/lib/krb5/krb/conv_princ.c
134
strnchr(char *s, int c, unsigned int n)
crypto/krb5/src/lib/krb5/krb/conv_princ.c
136
if (n < 1)
crypto/krb5/src/lib/krb5/krb/conv_princ.c
139
while (n-- && *s) {
crypto/krb5/src/lib/krb5/krb/walk_rtree.c
483
size_t rlen, n;
crypto/krb5/src/lib/krb5/krb/walk_rtree.c
490
*ntweens = n = 0;
crypto/krb5/src/lib/krb5/krb/walk_rtree.c
497
ntws = realloc(tws, (n + 1) * sizeof(krb5_data));
crypto/krb5/src/lib/krb5/krb/walk_rtree.c
503
tws[n].data = lp;
crypto/krb5/src/lib/krb5/krb/walk_rtree.c
504
tws[n].length = &r[rlen] - lp;
crypto/krb5/src/lib/krb5/krb/walk_rtree.c
505
n++;
crypto/krb5/src/lib/krb5/krb/walk_rtree.c
511
*ntweens = n;
crypto/krb5/src/lib/krb5/os/c_ustime.c
47
get_time_now(struct time_now *n)
crypto/krb5/src/lib/krb5/os/c_ustime.c
51
n->sec = timeptr.time;
crypto/krb5/src/lib/krb5/os/c_ustime.c
52
n->usec = timeptr.millitm * 1000;
crypto/krb5/src/lib/krb5/os/c_ustime.c
62
get_time_now(struct time_now *n)
crypto/krb5/src/lib/krb5/os/c_ustime.c
69
n->sec = tv.tv_sec;
crypto/krb5/src/lib/krb5/os/c_ustime.c
70
n->usec = tv.tv_usec;
crypto/krb5/src/lib/krb5/os/dnsglue.c
106
#define SEARCH(h, n, c, t, a, l) res_search(n, c, t, a, l)
crypto/krb5/src/lib/krb5/os/dnsglue.c
84
#define SEARCH(h, n, c, t, a, l) dns_search(h, n, c, t, a, l, NULL, NULL)
crypto/krb5/src/lib/krb5/os/dnsglue.c
93
#define SEARCH(h, n, c, t, a, l) res_nsearch(&h, n, c, t, a, l)
crypto/krb5/src/lib/krb5/os/localaddr.c
1029
for (i = 0; i + sizeof(struct ifreq) <= n; i+= ifreq_size(*ifr) ) {
crypto/krb5/src/lib/krb5/os/localaddr.c
1134
void *n;
crypto/krb5/src/lib/krb5/os/localaddr.c
1136
n = realloc (data->addr_temp,
crypto/krb5/src/lib/krb5/os/localaddr.c
1138
if (n == 0) {
crypto/krb5/src/lib/krb5/os/localaddr.c
1142
data->addr_temp = n;
crypto/krb5/src/lib/krb5/os/localaddr.c
847
size_t current_buf_size = 0, size, n;
crypto/krb5/src/lib/krb5/os/localaddr.c
914
n = size;
crypto/krb5/src/lib/krb5/os/localaddr.c
915
if (n > current_buf_size)
crypto/krb5/src/lib/krb5/os/localaddr.c
916
n = current_buf_size;
crypto/krb5/src/lib/krb5/os/localaddr.c
919
*np = n;
crypto/krb5/src/lib/krb5/os/localaddr.c
936
size_t n, i, j;
crypto/krb5/src/lib/krb5/os/localaddr.c
948
retval = get_ifreq_array(&buf, &n, s);
crypto/krb5/src/lib/krb5/os/localaddr.c
962
for (i = 0; i + sizeof(struct ifreq) <= n; i+= ifreq_size(*ifr) ) {
crypto/krb5/src/lib/krb5/os/localaddr.c
965
if (i + ifreq_size(*ifr) > n)
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
242
_ucprop_lookup(krb5_ui_4 code, krb5_ui_4 n)
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
254
if ((l = _ucprop_offsets[n]) == 0xffff)
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
262
n + m < _ucprop_size && _ucprop_offsets[n + m] == 0xffff; m++) ;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
264
r = _ucprop_offsets[n + m] - 1;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
733
krb5_ui_4 n;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
738
for (n = 0; n < nums_used; n++) {
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
739
if (nums[n].numerator == num && nums[n].denominator == denom)
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
740
return n << 1;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
752
n = nums_used++;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
753
nums[n].numerator = num;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
754
nums[n].denominator = denom;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
756
return n << 1;
crypto/krb5/src/lib/krb5/unicode/ucstr.c
30
size_t n)
crypto/krb5/src/lib/krb5/unicode/ucstr.c
32
for (; 0 < n; ++u1, ++u2, --n) {
crypto/krb5/src/lib/krb5/unicode/ucstr.c
47
size_t n)
crypto/krb5/src/lib/krb5/unicode/ucstr.c
49
for (; 0 < n; ++u1, ++u2, --n) {
crypto/krb5/src/lib/rpc/pmap_rmt.c
191
int n, i;
crypto/krb5/src/lib/rpc/pmap_rmt.c
201
for (i = 0, n = ifc.ifc_len/sizeof (struct ifreq); n > 0; n--, ifr++) {
crypto/krb5/src/plugins/audit/kdc_j_encode.c
932
int n = sizeof(patype_str)/sizeof(patype_str[0]);
crypto/krb5/src/plugins/audit/kdc_j_encode.c
934
for (i = 0; i < n; i++) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
193
n = NBINTERNAL(nksize);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
194
if (n < nbytes) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
196
bt_pfxsaved += nbytes - n;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
198
nbytes = n;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
92
u_int32_t n, nbytes, nksize = 0;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/btree.h
108
#define LALIGN(n) (((n) + sizeof(db_pgno_t) - 1) & ~(sizeof(db_pgno_t) - 1))
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash.c
941
u_int32_t n, bucket;
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash.c
943
n = hashp->hash(k, len);
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash.c
944
bucket = n & hashp->hdr.high_mask;
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash_func.c
117
u_int32_t n, loop;
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash_func.c
120
#define HASHC n = *k++ + 65599 * n
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash_func.c
122
n = 0;
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash_func.c
149
return (n);
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash_page.c
1161
bucket_to_page(HTAB *hashp, int n)
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash_page.c
1165
ret_val = n + hashp->hdr.hdrpages;
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash_page.c
1166
if (n != 0)
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash_page.c
1167
ret_val += hashp->hdr.spares[__log2(n + 1) - 1];
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash_page.c
1172
oaddr_to_page(HTAB *hashp, int n)
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash_page.c
1176
temp = (1 << SPLITNUM(n)) - 1;
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash_page.c
1178
ret_val += (n & SPLITMASK);
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash_page.c
216
u_int16_t *pagep, n, off;
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash_page.c
221
n = NUM_ENT(pagep);
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash_page.c
224
KEY_OFF(pagep, n) = off;
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash_page.c
228
DATA_OFF(pagep, n) = off;
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash_page.c
231
NUM_ENT(pagep) = n + 1;
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash_page.c
241
prev_realkey(PAGE16 * pagep, indx_t n)
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash_page.c
243
prev_realkey(pagep, n)
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash_page.c
245
u_int32_t n;
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash_page.c
251
for (i = n - 1; i > -1; i--)
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash_page.c
254
return (n);
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash_page.c
269
int32_t n;
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash_page.c
337
for (n = ndx; n < NUM_ENT(pagep) - 1; n++)
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash_page.c
338
if (KEY_OFF(pagep, (n + 1)) != BIGPAIR) {
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash_page.c
339
KEY_OFF(pagep, n) = KEY_OFF(pagep, (n + 1)) + delta;
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash_page.c
340
DATA_OFF(pagep, n) = DATA_OFF(pagep, (n + 1)) + delta;
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash_page.c
342
KEY_OFF(pagep, n) = KEY_OFF(pagep, (n + 1));
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash_page.c
343
DATA_OFF(pagep, n) = DATA_OFF(pagep, (n + 1));
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash_page.c
404
u_int16_t n;
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash_page.c
426
for (n = 0; n < NUM_ENT(temp_pagep); n++) {
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash_page.c
427
if (KEY_OFF(temp_pagep, n) == BIGPAIR) {
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash_page.c
428
__get_bigkey(hashp, temp_pagep, n, &key);
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash_page.c
432
DATA_OFF(temp_pagep, n));
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash_page.c
435
DATA_OFF(temp_pagep, n));
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash_page.c
437
key.size = off - KEY_OFF(temp_pagep, n);
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash_page.c
438
key.data = KEY(temp_pagep, n);
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash_page.c
439
off = KEY_OFF(temp_pagep, n);
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash_page.c
440
val.size = off - DATA_OFF(temp_pagep, n);
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash_page.c
441
val.data = DATA(temp_pagep, n);
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash_page.c
449
off = DATA_OFF(temp_pagep, n);
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/bigtest.c
14
int n, i;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/bigtest.c
25
for (n = 0; n < 800; n++)
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/bigtest.c
26
data[n] = 0xDEADBEEF;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/bigtest.c
28
key.data = &n;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/bigtest.c
32
for (n = 0; n < 200000; n++) {
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/bigtest.c
34
if (n == 4627)
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/bigtest.c
36
if (n % 50 == 0)
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/bigtest.c
37
printf("put n = %d\n", n);
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/bigtest.c
39
printf("put error, n = %d\n", n);
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/bigtest.c
41
printf("Immediate get error, n = %d\n", n);
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/bigtest.c
49
for (n = 0; n < 200000; n++) {
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/bigtest.c
50
if (n % 50 == 0)
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/bigtest.c
51
printf("seq n = %d\n", n);
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/bigtest.c
53
printf("Seq error, n = %d\n", n);
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/bigtest.c
59
printf("ERRORRRRRR!!! seq %d\n", n);
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/bigtest.c
62
for (n = 0; n < 2000; n++) {
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/bigtest.c
63
if (n % 50 == 0)
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/bigtest.c
64
printf("get n = %d\n", n);
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/bigtest.c
66
printf("Late get error, n = %d\n", n);
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/bigtest.c
70
printf("ERRORRRRRR!!!, get %d\n", n);
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/passtest.c
104
n = 0;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/passtest.c
106
n++;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/passtest.c
107
if (n % 1000 == 0)
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/passtest.c
108
fprintf(stderr, "Sequence getting #%d.\n", n);
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/passtest.c
112
n - 1 , expected);
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/passtest.c
127
n = 0;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/passtest.c
129
if (n % 1000 == 0)
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/passtest.c
130
fprintf(stderr, "Deleting #%d.\n", n);
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/passtest.c
131
n+=2;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/passtest.c
138
fprintf(stderr, "Delete error on %d", n);
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/passtest.c
155
n = 0;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/passtest.c
157
n += 2;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/passtest.c
158
if (n % 1000 == 0)
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/passtest.c
159
fprintf(stderr, "Re-retrieving #%d.\n", n);
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/passtest.c
16
int n = 0, i = 0, expected;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/passtest.c
166
fprintf(stderr, "Retrieval after delete error on %d\n", n);
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/passtest.c
41
if (n % 1000 == 0)
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/passtest.c
42
fprintf(stderr, "Putting #%d.\n", n);
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/passtest.c
43
n++;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/passtest.c
50
fprintf(stderr, "Put error, n = %d\n", n);
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/passtest.c
52
fprintf(stderr, "Immediate get error, n = %d\n", n);
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/passtest.c
72
n = 0;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/passtest.c
74
n++;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/passtest.c
75
if (n % 1000 == 0)
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/passtest.c
76
fprintf(stderr, "Getting #%d.\n", n);
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/passtest.c
88
expected = n;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/passwd/genpass.c
10
n = atoi(argv[1]);
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/passwd/genpass.c
13
for (i = 0; i < n; i++) {
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/passwd/genpass.c
7
int i,j,n;
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/kdb_xdr.c
33
#define safe_realloc(p,n) ((p)?(realloc(p,n)):(malloc(n)))
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
1157
int n, st, tempst, gothandle = 0;
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
1198
n = ldap_count_entries(ld, result);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
1199
if (n == -1) {
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
1212
*count += n;
crypto/krb5/src/plugins/kdb/test/kdb_test.c
195
size_t keybytes, keylength, pos, n;
crypto/krb5/src/plugins/kdb/test/kdb_test.c
211
for (pos = 0; pos < keybytes; pos += n) {
crypto/krb5/src/plugins/kdb/test/kdb_test.c
212
n = (cksum.length < keybytes - pos) ? cksum.length : keybytes - pos;
crypto/krb5/src/plugins/kdb/test/kdb_test.c
213
memcpy(rndin.data + pos, cksum.contents, n);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_clnt.c
753
size_t i, n;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_clnt.c
790
n = i;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_clnt.c
793
if (n == 0) {
crypto/krb5/src/plugins/preauth/pkinit/pkinit_clnt.c
804
for (i = 0; i < n; i++) {
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
1477
int n = 0;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
1479
n += try_import_group(context, &oakley_1024, "MODP 2 (1024-bit)", FALSE,
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
1481
n += try_import_group(context, &oakley_2048, "MODP 14 (2048-bit)", FALSE,
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
1483
n += try_import_group(context, &oakley_4096, "MODP 16 (4096-bit)", FALSE,
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
1485
n += try_import_group(context, &ec_p256, "P-256", TRUE, &plgctx->ec_p256);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
1486
n += try_import_group(context, &ec_p384, "P-384", TRUE, &plgctx->ec_p384);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
1487
n += try_import_group(context, &ec_p521, "P-521", TRUE, &plgctx->ec_p521);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
1489
if (n == 0) {
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
4380
int n = 0;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
4384
n = 0;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
4386
k5_buf_add_fmt(&buf, "%smodule_name=%s", n++ ? ":" : "",
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
4390
k5_buf_add_fmt(&buf, "%stoken=%s", n++ ? ":" : "",
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
4394
k5_buf_add_fmt(&buf, "%scertlabel=%s", n++ ? ":" : "",
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
4398
k5_buf_add_fmt(&buf, "%scertid=%s", n++ ? ":" : "",
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
4402
k5_buf_add_fmt(&buf, "%sslotid=%ld", n++ ? ":" : "",
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
5676
long n;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
5681
n = strtol(str, &endptr, 0);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
5690
if (n == 1024)
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
5692
else if (n > 1024 && n <= 2048)
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
5694
else if (n > 2048 && n <= 4096)
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
1635
static void left_shift_3(uint8_t n[32]) {
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
1640
const uint8_t next_carry = n[i] >> 5;
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
1641
n[i] = (n[i] << 3) | carry;
crypto/krb5/src/plugins/preauth/spake/iana.h
56
const uint8_t *n;
crypto/krb5/src/plugins/preauth/spake/openssl.c
128
if (!EC_POINT_oct2point(gd->group, gd->N, reg->n, reg->elem_len, gd->ctx))
crypto/krb5/src/plugins/preauth/spake/trace.h
46
#define TRACE_SPAKE_DERIVE_KEY(c, n, kb) \
crypto/krb5/src/plugins/preauth/spake/trace.h
47
TRACE(c, "SPAKE derived K'[{int}] = {keyblock}", n, kb)
crypto/krb5/src/plugins/preauth/spake/util.c
152
const krb5_data *der_req, uint32_t n, krb5_keyblock **out)
crypto/krb5/src/plugins/preauth/spake/util.c
164
store_32_be(n, nbuf);
crypto/krb5/src/plugins/preauth/spake/util.h
54
uint32_t n, krb5_keyblock **out);
crypto/krb5/src/util/ss/pager.c
105
int n;
crypto/krb5/src/util/ss/pager.c
106
while ((n = read(0, buf, 80)) > 0)
crypto/krb5/src/util/ss/pager.c
107
write(1, buf, (unsigned) n);
crypto/krb5/src/util/ss/parse.c
53
#define NEW_ARGV(old,n) (char **)realloc((char *)old, \
crypto/krb5/src/util/ss/parse.c
54
(unsigned)(n+2)*sizeof(char*))
crypto/krb5/src/util/support/bcmp.c
36
k5_bcmp(const void *p1, const void *p2, size_t n)
crypto/krb5/src/util/support/bcmp.c
41
for (; n > 0; c1++, c2++, n--)
crypto/krb5/src/util/support/fake-addrinfo.c
536
struct addrinfo *n = malloc (sizeof (struct addrinfo));
crypto/krb5/src/util/support/fake-addrinfo.c
537
if (n == 0)
crypto/krb5/src/util/support/fake-addrinfo.c
543
*n = *template;
crypto/krb5/src/util/support/fake-addrinfo.c
550
n->ai_addr = (struct sockaddr *) sin4;
crypto/krb5/src/util/support/fake-addrinfo.c
561
n->ai_addr = (struct sockaddr *) sin6;
crypto/krb5/src/util/support/fake-addrinfo.c
566
n->ai_next = *result;
crypto/krb5/src/util/support/fake-addrinfo.c
567
*result = n;
crypto/krb5/src/util/support/json.c
558
k5_json_number n;
crypto/krb5/src/util/support/json.c
561
n = alloc_value(&number_type, sizeof(long long));
crypto/krb5/src/util/support/json.c
562
if (n == NULL)
crypto/krb5/src/util/support/json.c
564
*((long long *)n) = number;
crypto/krb5/src/util/support/json.c
565
*val_out = n;
crypto/krb5/src/util/support/json.c
587
size_t n;
crypto/krb5/src/util/support/json.c
592
n = strcspn(str, needs_quote);
crypto/krb5/src/util/support/json.c
593
k5_buf_add_len(buf, str, n);
crypto/krb5/src/util/support/json.c
594
str += n;
crypto/krb5/src/util/support/printf.c
94
int n;
crypto/krb5/src/util/support/printf.c
97
n = krb5int_vasprintf(ret, format, ap);
crypto/krb5/src/util/support/printf.c
99
return n;
crypto/krb5/src/util/support/strlcpy.c
34
size_t n = siz;
crypto/krb5/src/util/support/strlcpy.c
37
if (n != 0) {
crypto/krb5/src/util/support/strlcpy.c
38
while (--n != 0) {
crypto/krb5/src/util/support/strlcpy.c
45
if (n == 0) {
crypto/krb5/src/util/support/strlcpy.c
67
size_t n = siz;
crypto/krb5/src/util/support/strlcpy.c
71
while (n-- != 0 && *d != '\0')
crypto/krb5/src/util/support/strlcpy.c
74
n = siz - dlen;
crypto/krb5/src/util/support/strlcpy.c
76
if (n == 0)
crypto/krb5/src/util/support/strlcpy.c
79
if (n != 1) {
crypto/krb5/src/util/support/strlcpy.c
81
n--;
crypto/krb5/src/util/support/t_json.c
151
k5_json_number n, v1;
crypto/krb5/src/util/support/t_json.c
160
n = k5_json_object_get(object, "key1");
crypto/krb5/src/util/support/t_json.c
161
if (k5_json_number_value(n) != 1)
crypto/krb5/src/util/support/threads.c
562
return k5_os_nothread_once(&once->n, fn);
crypto/krb5/src/util/verto/ev.c
1165
#define ecb_mod(m,n) ((m) % (n) + ((m) % (n) < 0 ? (n) : 0))
crypto/krb5/src/util/verto/ev.c
1167
#define ecb_mod(m,n) ((m) < 0 ? ((n) - 1 - ((-1 - (m)) % (n))) : ((m) % (n)))
crypto/krb5/src/util/verto/verto.c
101
#define _MODTABLE(n) verto_module_table_ ## n
crypto/krb5/src/util/verto/verto.c
102
#define MODTABLE(n) _MODTABLE(n)
crypto/krb5/src/windows/leash/LeashView.cpp
1525
INT x, y, n;
crypto/krb5/src/windows/leash/LeashView.cpp
1575
for (n = 0; n < IMAGE_COUNT; n++)
crypto/krb5/src/windows/leash/LeashView.cpp
1577
hIcon[n] = NULL;
crypto/krb5/src/windows/leash/LeashView.cpp
1616
for (n = 0; n < IMAGE_COUNT; n++)
crypto/krb5/src/windows/leash/LeashView.cpp
1618
if ( !hIcon[n] ) {
crypto/krb5/src/windows/leash/LeashView.cpp
1623
m_imageList.Add(hIcon[n]);
crypto/krb5/src/windows/leashdll/krb5routines.c
756
multi_field_dialog(HWND hParent, char * preface, int n, struct textField tb[])
crypto/krb5/src/windows/leashdll/krb5routines.c
781
for ( i=0;i<n;i++ ) {
crypto/krb5/src/windows/leashdll/krb5routines.c
787
return(MultiInputDialog(hLeashInst, hParent, plines, numlines, maxwidth, n, tb));
crypto/krb5/src/windows/leashdll/lsh_pwd.c
1031
slider_info * n = NULL;
crypto/krb5/src/windows/leashdll/lsh_pwd.c
1034
n = s->next;
crypto/krb5/src/windows/leashdll/lsh_pwd.c
1037
return n;
crypto/krb5/src/windows/leashdll/lshfunc.c
377
int n;
crypto/krb5/src/windows/leashdll/lshfunc.c
379
n = _snprintf(p, size, "%s%s%s%s",
crypto/krb5/src/windows/leashdll/lshfunc.c
381
p += n;
crypto/krb5/src/windows/leashdll/lshfunc.c
382
size -= n;
crypto/krb5/src/windows/leashdll/lshfunc.c
62
int n;
crypto/krb5/src/windows/leashdll/lshfunc.c
67
n = _snprintf(p, size, "%s\n\n", error);
crypto/krb5/src/windows/leashdll/lshfunc.c
68
p += n;
crypto/krb5/src/windows/leashdll/lshfunc.c
69
size -= n;
crypto/krb5/src/windows/leashdll/lshfunc.c
73
n = _snprintf(p, size,
crypto/krb5/src/windows/leashdll/lshfunc.c
78
p += n;
crypto/krb5/src/windows/leashdll/lshfunc.c
79
size -= n;
crypto/krb5/src/windows/leashdll/lshfunc.c
84
n = _snprintf(p, size,
crypto/krb5/src/windows/leashdll/lshfunc.c
88
p += n;
crypto/krb5/src/windows/leashdll/lshfunc.c
89
size -= n;
crypto/krb5/src/windows/leashdll/lshfunc.c
93
n = _snprintf(p, size,
crypto/krb5/src/windows/leashdll/lshfunc.c
96
p += n;
crypto/krb5/src/windows/leashdll/lshfunc.c
97
size -= n;
crypto/krb5/src/windows/lib/loadfuncs.c
18
int n;
crypto/krb5/src/windows/lib/loadfuncs.c
20
for (n = 0; fi[n].func_ptr_var; n++)
crypto/krb5/src/windows/lib/loadfuncs.c
21
*(fi[n].func_ptr_var) = NULL;
crypto/krb5/src/windows/lib/loadfuncs.c
46
int i, n, last_i;
crypto/krb5/src/windows/lib/loadfuncs.c
53
for (n = 0; fi[n].func_ptr_var; n++)
crypto/krb5/src/windows/lib/loadfuncs.c
54
*(fi[n].func_ptr_var) = NULL;
crypto/krb5/src/windows/lib/loadfuncs.c
66
for (i = 0; (go_on || !error) && (i < n); i++)
crypto/krb5/src/windows/lib/loadfuncs.c
79
for (i = 0; i < n; i++) {
crypto/libecc/include/libecc/fp/fp_sqrt.h
23
ATTRIBUTE_WARN_UNUSED_RET int fp_sqrt(fp_t sqrt1, fp_t sqrt2, fp_src_t n);
crypto/libecc/include/libecc/hash/belt-hash.h
24
#define GET_UINT32_LE(n, b, i) \
crypto/libecc/include/libecc/hash/belt-hash.h
26
(n) = ( ((u32) (b)[(i) + 3]) << 24 ) \
crypto/libecc/include/libecc/hash/belt-hash.h
34
#define PUT_UINT32_LE(n, b, i) \
crypto/libecc/include/libecc/hash/belt-hash.h
36
(b)[(i) + 3] = (u8) ( (n) >> 24 ); \
crypto/libecc/include/libecc/hash/belt-hash.h
37
(b)[(i) + 2] = (u8) ( (n) >> 16 ); \
crypto/libecc/include/libecc/hash/belt-hash.h
38
(b)[(i) + 1] = (u8) ( (n) >> 8 ); \
crypto/libecc/include/libecc/hash/belt-hash.h
39
(b)[(i) ] = (u8) ( (n) ); \
crypto/libecc/include/libecc/hash/belt-hash.h
47
#define GET_UINT64_BE(n,b,i) \
crypto/libecc/include/libecc/hash/belt-hash.h
49
(n) = ( ((u64) (b)[(i) ]) << 56 ) \
crypto/libecc/include/libecc/hash/belt-hash.h
61
#define PUT_UINT64_BE(n,b,i) \
crypto/libecc/include/libecc/hash/belt-hash.h
63
(b)[(i) ] = (u8) ( (n) >> 56 ); \
crypto/libecc/include/libecc/hash/belt-hash.h
64
(b)[(i) + 1] = (u8) ( (n) >> 48 ); \
crypto/libecc/include/libecc/hash/belt-hash.h
65
(b)[(i) + 2] = (u8) ( (n) >> 40 ); \
crypto/libecc/include/libecc/hash/belt-hash.h
66
(b)[(i) + 3] = (u8) ( (n) >> 32 ); \
crypto/libecc/include/libecc/hash/belt-hash.h
67
(b)[(i) + 4] = (u8) ( (n) >> 24 ); \
crypto/libecc/include/libecc/hash/belt-hash.h
68
(b)[(i) + 5] = (u8) ( (n) >> 16 ); \
crypto/libecc/include/libecc/hash/belt-hash.h
69
(b)[(i) + 6] = (u8) ( (n) >> 8 ); \
crypto/libecc/include/libecc/hash/belt-hash.h
70
(b)[(i) + 7] = (u8) ( (n) ); \
crypto/libecc/include/libecc/hash/belt-hash.h
75
#define GET_UINT64_LE(n,b,i) \
crypto/libecc/include/libecc/hash/belt-hash.h
77
(n) = ( ((u64) (b)[(i) + 7]) << 56 ) \
crypto/libecc/include/libecc/hash/belt-hash.h
89
#define PUT_UINT64_LE(n,b,i) \
crypto/libecc/include/libecc/hash/belt-hash.h
91
(b)[(i) + 7] = (u8) ( (n) >> 56 ); \
crypto/libecc/include/libecc/hash/belt-hash.h
92
(b)[(i) + 6] = (u8) ( (n) >> 48 ); \
crypto/libecc/include/libecc/hash/belt-hash.h
93
(b)[(i) + 5] = (u8) ( (n) >> 40 ); \
crypto/libecc/include/libecc/hash/belt-hash.h
94
(b)[(i) + 4] = (u8) ( (n) >> 32 ); \
crypto/libecc/include/libecc/hash/belt-hash.h
95
(b)[(i) + 3] = (u8) ( (n) >> 24 ); \
crypto/libecc/include/libecc/hash/belt-hash.h
96
(b)[(i) + 2] = (u8) ( (n) >> 16 ); \
crypto/libecc/include/libecc/hash/belt-hash.h
97
(b)[(i) + 1] = (u8) ( (n) >> 8 ); \
crypto/libecc/include/libecc/hash/belt-hash.h
98
(b)[(i) ] = (u8) ( (n) ); \
crypto/libecc/include/libecc/hash/sha2.h
128
#define SHR_SHA256(x, n) (((u32)(x)) >> (n))
crypto/libecc/include/libecc/hash/sha2.h
129
#define ROTR_SHA256(x, n) ((((u32)(x)) >> (n)) | (((u32)(x)) << (32-(n))))
crypto/libecc/include/libecc/hash/sha2.h
164
#define SHR_SHA512(x, n) (((u64)(x)) >> (n))
crypto/libecc/include/libecc/hash/sha2.h
165
#define ROTR_SHA512(x, n) ((((u64)(x)) >> (n)) | (((u64)(x)) << (64-(n))))
crypto/libecc/include/libecc/hash/sha2.h
53
#define GET_UINT32_BE(n, b, i) \
crypto/libecc/include/libecc/hash/sha2.h
55
(n) = ( ((u32) (b)[(i) ]) << 24 ) \
crypto/libecc/include/libecc/hash/sha2.h
63
#define PUT_UINT32_BE(n, b, i) \
crypto/libecc/include/libecc/hash/sha2.h
65
(b)[(i) ] = (u8) ( (n) >> 24 ); \
crypto/libecc/include/libecc/hash/sha2.h
66
(b)[(i) + 1] = (u8) ( (n) >> 16 ); \
crypto/libecc/include/libecc/hash/sha2.h
67
(b)[(i) + 2] = (u8) ( (n) >> 8 ); \
crypto/libecc/include/libecc/hash/sha2.h
68
(b)[(i) + 3] = (u8) ( (n) ); \
crypto/libecc/include/libecc/hash/sha2.h
76
#define GET_UINT64_BE(n,b,i) \
crypto/libecc/include/libecc/hash/sha2.h
78
(n) = ( ((u64) (b)[(i) ]) << 56 ) \
crypto/libecc/include/libecc/hash/sha2.h
90
#define PUT_UINT64_BE(n,b,i) \
crypto/libecc/include/libecc/hash/sha2.h
92
(b)[(i) ] = (u8) ( (n) >> 56 ); \
crypto/libecc/include/libecc/hash/sha2.h
93
(b)[(i) + 1] = (u8) ( (n) >> 48 ); \
crypto/libecc/include/libecc/hash/sha2.h
94
(b)[(i) + 2] = (u8) ( (n) >> 40 ); \
crypto/libecc/include/libecc/hash/sha2.h
95
(b)[(i) + 3] = (u8) ( (n) >> 32 ); \
crypto/libecc/include/libecc/hash/sha2.h
96
(b)[(i) + 4] = (u8) ( (n) >> 24 ); \
crypto/libecc/include/libecc/hash/sha2.h
97
(b)[(i) + 5] = (u8) ( (n) >> 16 ); \
crypto/libecc/include/libecc/hash/sha2.h
98
(b)[(i) + 6] = (u8) ( (n) >> 8 ); \
crypto/libecc/include/libecc/hash/sha2.h
99
(b)[(i) + 7] = (u8) ( (n) ); \
crypto/libecc/include/libecc/hash/streebog.h
27
#define PUT_UINT64_BE(n,b,i) \
crypto/libecc/include/libecc/hash/streebog.h
29
(b)[(i) ] = (u8) ( (n) >> 56 ); \
crypto/libecc/include/libecc/hash/streebog.h
30
(b)[(i) + 1] = (u8) ( (n) >> 48 ); \
crypto/libecc/include/libecc/hash/streebog.h
31
(b)[(i) + 2] = (u8) ( (n) >> 40 ); \
crypto/libecc/include/libecc/hash/streebog.h
32
(b)[(i) + 3] = (u8) ( (n) >> 32 ); \
crypto/libecc/include/libecc/hash/streebog.h
33
(b)[(i) + 4] = (u8) ( (n) >> 24 ); \
crypto/libecc/include/libecc/hash/streebog.h
34
(b)[(i) + 5] = (u8) ( (n) >> 16 ); \
crypto/libecc/include/libecc/hash/streebog.h
35
(b)[(i) + 6] = (u8) ( (n) >> 8 ); \
crypto/libecc/include/libecc/hash/streebog.h
36
(b)[(i) + 7] = (u8) ( (n) ); \
crypto/libecc/include/libecc/hash/streebog.h
41
#define PUT_UINT64_LE(n,b,i) \
crypto/libecc/include/libecc/hash/streebog.h
43
(b)[(i) + 7] = (u8) ( (n) >> 56 ); \
crypto/libecc/include/libecc/hash/streebog.h
44
(b)[(i) + 6] = (u8) ( (n) >> 48 ); \
crypto/libecc/include/libecc/hash/streebog.h
45
(b)[(i) + 5] = (u8) ( (n) >> 40 ); \
crypto/libecc/include/libecc/hash/streebog.h
46
(b)[(i) + 4] = (u8) ( (n) >> 32 ); \
crypto/libecc/include/libecc/hash/streebog.h
47
(b)[(i) + 3] = (u8) ( (n) >> 24 ); \
crypto/libecc/include/libecc/hash/streebog.h
48
(b)[(i) + 2] = (u8) ( (n) >> 16 ); \
crypto/libecc/include/libecc/hash/streebog.h
49
(b)[(i) + 1] = (u8) ( (n) >> 8 ); \
crypto/libecc/include/libecc/hash/streebog.h
50
(b)[(i) ] = (u8) ( (n) ); \
crypto/libecc/include/libecc/hash/streebog.h
55
#define STREEBOG_PUT_UINT64(n,b,i,endian) \
crypto/libecc/include/libecc/hash/streebog.h
58
PUT_UINT64_BE(n,b,i); \
crypto/libecc/include/libecc/hash/streebog.h
61
PUT_UINT64_LE(n,b,i); \
crypto/libecc/include/libecc/utils/utils.h
170
ATTRIBUTE_WARN_UNUSED_RET int local_memcpy(void *dst, const void *src, u32 n);
crypto/libecc/include/libecc/utils/utils.h
171
ATTRIBUTE_WARN_UNUSED_RET int local_memset(void *v, u8 c, u32 n);
crypto/libecc/include/libecc/utils/utils.h
176
ATTRIBUTE_WARN_UNUSED_RET int local_strncpy(char *dst, const char *src, u32 n);
crypto/libecc/include/libecc/utils/utils.h
177
ATTRIBUTE_WARN_UNUSED_RET int local_strncat(char *dest, const char *src, u32 n);
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
339
#define GENERIC_TEST_NN_DECL_INIT_MAX(name, n) GENERIC_TEST_NN_DECL_INIT6(name, n)
crypto/libecc/src/examples/basic/fp_square_residue.c
21
ATTRIBUTE_WARN_UNUSED_RET int miller_rabin(nn_src_t n, const unsigned int t, int *check);
crypto/libecc/src/examples/basic/nn_miller_rabin.c
101
ret = nn_copy(&tmp, n); EG(ret, err);
crypto/libecc/src/examples/basic/nn_miller_rabin.c
111
ret = nn_isodd(n, &isodd); EG(ret, err);
crypto/libecc/src/examples/basic/nn_miller_rabin.c
121
ret = nn_copy(&r, n); EG(ret, err);
crypto/libecc/src/examples/basic/nn_miller_rabin.c
137
ret = nn_copy(&tmp, n); EG(ret, err);
crypto/libecc/src/examples/basic/nn_miller_rabin.c
162
ret = nn_mod(&y, &y, n); EG(ret, err);
crypto/libecc/src/examples/basic/nn_miller_rabin.c
166
ret = nn_mod(&a, &a, n); EG(ret, err);
crypto/libecc/src/examples/basic/nn_miller_rabin.c
184
ret = nn_mod(&y, &y, n); EG(ret, err);
crypto/libecc/src/examples/basic/nn_miller_rabin.c
19
ATTRIBUTE_WARN_UNUSED_RET int miller_rabin(nn_src_t n, const unsigned int t, int *res);
crypto/libecc/src/examples/basic/nn_miller_rabin.c
45
int miller_rabin(nn_src_t n, const unsigned int t, int *res)
crypto/libecc/src/examples/basic/nn_miller_rabin.c
55
ret = nn_check_initialized(n); EG(ret, err);
crypto/libecc/src/examples/basic/nn_miller_rabin.c
80
ret = nn_iszero(n, &iszero); EG(ret, err);
crypto/libecc/src/examples/basic/nn_miller_rabin.c
87
ret = nn_cmp(n, &one, &cmp); EG(ret, err);
crypto/libecc/src/examples/basic/nn_miller_rabin.c
94
ret = nn_cmp(n, &two, &cmp); EG(ret, err);
crypto/libecc/src/examples/basic/nn_pollard_rho.c
104
ret = nn_gcd(d, &tmp, n, &sign); EG(ret, err);
crypto/libecc/src/examples/basic/nn_pollard_rho.c
105
ret = nn_cmp(d, n, &cmp1); EG(ret, err);
crypto/libecc/src/examples/basic/nn_pollard_rho.c
111
ret = nn_cmp(d, n, &cmp); EG(ret, err);
crypto/libecc/src/examples/basic/nn_pollard_rho.c
135
nn n;
crypto/libecc/src/examples/basic/nn_pollard_rho.c
139
n.magic = WORD(0);
crypto/libecc/src/examples/basic/nn_pollard_rho.c
158
ret = nn_init(&n, 0); EG(ret, err);
crypto/libecc/src/examples/basic/nn_pollard_rho.c
159
ret = nn_copy(&n, in); EG(ret, err);
crypto/libecc/src/examples/basic/nn_pollard_rho.c
168
ret = pollard_rho(&(divisors[n_divisors_found]), &n, c);
crypto/libecc/src/examples/basic/nn_pollard_rho.c
189
ret = nn_divrem(&q, &r, &n, &(divisors[n_divisors_found])); EG(ret, err);
crypto/libecc/src/examples/basic/nn_pollard_rho.c
202
ret = nn_copy(&n, &q); EG(ret, err);
crypto/libecc/src/examples/basic/nn_pollard_rho.c
218
nn_uninit(&n);
crypto/libecc/src/examples/basic/nn_pollard_rho.c
235
nn n;
crypto/libecc/src/examples/basic/nn_pollard_rho.c
236
n.magic = WORD(0);
crypto/libecc/src/examples/basic/nn_pollard_rho.c
241
ret = nn_init(&n, 0); EG(ret, err);
crypto/libecc/src/examples/basic/nn_pollard_rho.c
243
ret = nn_init_from_buf(&n, fermat_F5, sizeof(fermat_F5)); EG(ret, err);
crypto/libecc/src/examples/basic/nn_pollard_rho.c
244
ret = find_divisors(&n); EG(ret, err);
crypto/libecc/src/examples/basic/nn_pollard_rho.c
246
ret = nn_init_from_buf(&n, fermat_F6, sizeof(fermat_F6)); EG(ret, err);
crypto/libecc/src/examples/basic/nn_pollard_rho.c
247
ret = find_divisors(&n); EG(ret, err);
crypto/libecc/src/examples/basic/nn_pollard_rho.c
249
ret = nn_one(&n); EG(ret, err);
crypto/libecc/src/examples/basic/nn_pollard_rho.c
251
ret = nn_lshift(&n, &n, 80); EG(ret, err);
crypto/libecc/src/examples/basic/nn_pollard_rho.c
252
ret = nn_get_random_mod(&n, &n); EG(ret, err);
crypto/libecc/src/examples/basic/nn_pollard_rho.c
253
ret = find_divisors(&n); EG(ret, err);
crypto/libecc/src/examples/basic/nn_pollard_rho.c
38
ATTRIBUTE_WARN_UNUSED_RET int miller_rabin(nn_src_t n, const unsigned int t, int *check);
crypto/libecc/src/examples/basic/nn_pollard_rho.c
40
ATTRIBUTE_WARN_UNUSED_RET int pollard_rho(nn_t d, nn_src_t n, const word_t c);
crypto/libecc/src/examples/basic/nn_pollard_rho.c
58
int pollard_rho(nn_t d, nn_src_t n, const word_t c)
crypto/libecc/src/examples/basic/nn_pollard_rho.c
89
ret = nn_mod(&a, &a, n); EG(ret, err);
crypto/libecc/src/examples/basic/nn_pollard_rho.c
93
ret = nn_mod(&b, &b, n); EG(ret, err);
crypto/libecc/src/examples/basic/nn_pollard_rho.c
96
ret = nn_mod(&b, &b, n); EG(ret, err);
crypto/libecc/src/examples/hash/gostr34_11_94.h
100
(b)[(i) + 5] = (u8) ( (n) >> 16 ); \
crypto/libecc/src/examples/hash/gostr34_11_94.h
101
(b)[(i) + 6] = (u8) ( (n) >> 8 ); \
crypto/libecc/src/examples/hash/gostr34_11_94.h
102
(b)[(i) + 7] = (u8) ( (n) ); \
crypto/libecc/src/examples/hash/gostr34_11_94.h
107
#define PUT_UINT64_LE(n,b,i) \
crypto/libecc/src/examples/hash/gostr34_11_94.h
109
(b)[(i) + 7] = (u8) ( (n) >> 56 ); \
crypto/libecc/src/examples/hash/gostr34_11_94.h
110
(b)[(i) + 6] = (u8) ( (n) >> 48 ); \
crypto/libecc/src/examples/hash/gostr34_11_94.h
111
(b)[(i) + 5] = (u8) ( (n) >> 40 ); \
crypto/libecc/src/examples/hash/gostr34_11_94.h
112
(b)[(i) + 4] = (u8) ( (n) >> 32 ); \
crypto/libecc/src/examples/hash/gostr34_11_94.h
113
(b)[(i) + 3] = (u8) ( (n) >> 24 ); \
crypto/libecc/src/examples/hash/gostr34_11_94.h
114
(b)[(i) + 2] = (u8) ( (n) >> 16 ); \
crypto/libecc/src/examples/hash/gostr34_11_94.h
115
(b)[(i) + 1] = (u8) ( (n) >> 8 ); \
crypto/libecc/src/examples/hash/gostr34_11_94.h
116
(b)[(i) ] = (u8) ( (n) ); \
crypto/libecc/src/examples/hash/gostr34_11_94.h
129
#define ROTL_GOSTR34_11_94(x, n) ((((u32)(x)) << (n)) | (((u32)(x)) >> (32-(n))))
crypto/libecc/src/examples/hash/gostr34_11_94.h
22
#define GET_UINT32_BE(n, b, i) \
crypto/libecc/src/examples/hash/gostr34_11_94.h
24
(n) = ( ((u32) (b)[(i) ]) << 24 ) \
crypto/libecc/src/examples/hash/gostr34_11_94.h
31
#define GET_UINT32_LE(n, b, i) \
crypto/libecc/src/examples/hash/gostr34_11_94.h
33
(n) = ( ((u32) (b)[(i) + 3]) << 24 ) \
crypto/libecc/src/examples/hash/gostr34_11_94.h
42
#define PUT_UINT32_BE(n, b, i) \
crypto/libecc/src/examples/hash/gostr34_11_94.h
44
(b)[(i) ] = (u8) ( (n) >> 24 ); \
crypto/libecc/src/examples/hash/gostr34_11_94.h
45
(b)[(i) + 1] = (u8) ( (n) >> 16 ); \
crypto/libecc/src/examples/hash/gostr34_11_94.h
46
(b)[(i) + 2] = (u8) ( (n) >> 8 ); \
crypto/libecc/src/examples/hash/gostr34_11_94.h
47
(b)[(i) + 3] = (u8) ( (n) ); \
crypto/libecc/src/examples/hash/gostr34_11_94.h
52
#define PUT_UINT32_LE(n, b, i) \
crypto/libecc/src/examples/hash/gostr34_11_94.h
54
(b)[(i) + 3] = (u8) ( (n) >> 24 ); \
crypto/libecc/src/examples/hash/gostr34_11_94.h
55
(b)[(i) + 2] = (u8) ( (n) >> 16 ); \
crypto/libecc/src/examples/hash/gostr34_11_94.h
56
(b)[(i) + 1] = (u8) ( (n) >> 8 ); \
crypto/libecc/src/examples/hash/gostr34_11_94.h
57
(b)[(i) ] = (u8) ( (n) ); \
crypto/libecc/src/examples/hash/gostr34_11_94.h
65
#define GET_UINT64_BE(n,b,i) \
crypto/libecc/src/examples/hash/gostr34_11_94.h
67
(n) = ( ((u64) (b)[(i) ]) << 56 ) \
crypto/libecc/src/examples/hash/gostr34_11_94.h
79
#define GET_UINT64_LE(n,b,i) \
crypto/libecc/src/examples/hash/gostr34_11_94.h
81
(n) = ( ((u64) (b)[(i) + 7]) << 56 ) \
crypto/libecc/src/examples/hash/gostr34_11_94.h
93
#define PUT_UINT64_BE(n,b,i) \
crypto/libecc/src/examples/hash/gostr34_11_94.h
95
(b)[(i) ] = (u8) ( (n) >> 56 ); \
crypto/libecc/src/examples/hash/gostr34_11_94.h
96
(b)[(i) + 1] = (u8) ( (n) >> 48 ); \
crypto/libecc/src/examples/hash/gostr34_11_94.h
97
(b)[(i) + 2] = (u8) ( (n) >> 40 ); \
crypto/libecc/src/examples/hash/gostr34_11_94.h
98
(b)[(i) + 3] = (u8) ( (n) >> 32 ); \
crypto/libecc/src/examples/hash/gostr34_11_94.h
99
(b)[(i) + 4] = (u8) ( (n) >> 24 ); \
crypto/libecc/src/examples/hash/md4.h
100
#define ROTL_MD4(x, n) ((((u32)(x)) << (n)) | (((u32)(x)) >> (32-(n))))
crypto/libecc/src/examples/hash/md4.h
21
#define GET_UINT32_BE(n, b, i) \
crypto/libecc/src/examples/hash/md4.h
23
(n) = ( ((u32) (b)[(i) ]) << 24 ) \
crypto/libecc/src/examples/hash/md4.h
30
#define GET_UINT32_LE(n, b, i) \
crypto/libecc/src/examples/hash/md4.h
32
(n) = ( ((u32) (b)[(i) + 3]) << 24 ) \
crypto/libecc/src/examples/hash/md4.h
41
#define PUT_UINT32_BE(n, b, i) \
crypto/libecc/src/examples/hash/md4.h
43
(b)[(i) ] = (u8) ( (n) >> 24 ); \
crypto/libecc/src/examples/hash/md4.h
44
(b)[(i) + 1] = (u8) ( (n) >> 16 ); \
crypto/libecc/src/examples/hash/md4.h
45
(b)[(i) + 2] = (u8) ( (n) >> 8 ); \
crypto/libecc/src/examples/hash/md4.h
46
(b)[(i) + 3] = (u8) ( (n) ); \
crypto/libecc/src/examples/hash/md4.h
51
#define PUT_UINT32_LE(n, b, i) \
crypto/libecc/src/examples/hash/md4.h
53
(b)[(i) + 3] = (u8) ( (n) >> 24 ); \
crypto/libecc/src/examples/hash/md4.h
54
(b)[(i) + 2] = (u8) ( (n) >> 16 ); \
crypto/libecc/src/examples/hash/md4.h
55
(b)[(i) + 1] = (u8) ( (n) >> 8 ); \
crypto/libecc/src/examples/hash/md4.h
56
(b)[(i) ] = (u8) ( (n) ); \
crypto/libecc/src/examples/hash/md4.h
64
#define PUT_UINT64_BE(n,b,i) \
crypto/libecc/src/examples/hash/md4.h
66
(b)[(i) ] = (u8) ( (n) >> 56 ); \
crypto/libecc/src/examples/hash/md4.h
67
(b)[(i) + 1] = (u8) ( (n) >> 48 ); \
crypto/libecc/src/examples/hash/md4.h
68
(b)[(i) + 2] = (u8) ( (n) >> 40 ); \
crypto/libecc/src/examples/hash/md4.h
69
(b)[(i) + 3] = (u8) ( (n) >> 32 ); \
crypto/libecc/src/examples/hash/md4.h
70
(b)[(i) + 4] = (u8) ( (n) >> 24 ); \
crypto/libecc/src/examples/hash/md4.h
71
(b)[(i) + 5] = (u8) ( (n) >> 16 ); \
crypto/libecc/src/examples/hash/md4.h
72
(b)[(i) + 6] = (u8) ( (n) >> 8 ); \
crypto/libecc/src/examples/hash/md4.h
73
(b)[(i) + 7] = (u8) ( (n) ); \
crypto/libecc/src/examples/hash/md4.h
78
#define PUT_UINT64_LE(n,b,i) \
crypto/libecc/src/examples/hash/md4.h
80
(b)[(i) + 7] = (u8) ( (n) >> 56 ); \
crypto/libecc/src/examples/hash/md4.h
81
(b)[(i) + 6] = (u8) ( (n) >> 48 ); \
crypto/libecc/src/examples/hash/md4.h
82
(b)[(i) + 5] = (u8) ( (n) >> 40 ); \
crypto/libecc/src/examples/hash/md4.h
83
(b)[(i) + 4] = (u8) ( (n) >> 32 ); \
crypto/libecc/src/examples/hash/md4.h
84
(b)[(i) + 3] = (u8) ( (n) >> 24 ); \
crypto/libecc/src/examples/hash/md4.h
85
(b)[(i) + 2] = (u8) ( (n) >> 16 ); \
crypto/libecc/src/examples/hash/md4.h
86
(b)[(i) + 1] = (u8) ( (n) >> 8 ); \
crypto/libecc/src/examples/hash/md4.h
87
(b)[(i) ] = (u8) ( (n) ); \
crypto/libecc/src/examples/hash/md5.h
101
#define ROTL_MD5(x, n) ((((u32)(x)) << (n)) | (((u32)(x)) >> (32-(n))))
crypto/libecc/src/examples/hash/md5.h
22
#define GET_UINT32_BE(n, b, i) \
crypto/libecc/src/examples/hash/md5.h
24
(n) = ( ((u32) (b)[(i) ]) << 24 ) \
crypto/libecc/src/examples/hash/md5.h
31
#define GET_UINT32_LE(n, b, i) \
crypto/libecc/src/examples/hash/md5.h
33
(n) = ( ((u32) (b)[(i) + 3]) << 24 ) \
crypto/libecc/src/examples/hash/md5.h
42
#define PUT_UINT32_BE(n, b, i) \
crypto/libecc/src/examples/hash/md5.h
44
(b)[(i) ] = (u8) ( (n) >> 24 ); \
crypto/libecc/src/examples/hash/md5.h
45
(b)[(i) + 1] = (u8) ( (n) >> 16 ); \
crypto/libecc/src/examples/hash/md5.h
46
(b)[(i) + 2] = (u8) ( (n) >> 8 ); \
crypto/libecc/src/examples/hash/md5.h
47
(b)[(i) + 3] = (u8) ( (n) ); \
crypto/libecc/src/examples/hash/md5.h
52
#define PUT_UINT32_LE(n, b, i) \
crypto/libecc/src/examples/hash/md5.h
54
(b)[(i) + 3] = (u8) ( (n) >> 24 ); \
crypto/libecc/src/examples/hash/md5.h
55
(b)[(i) + 2] = (u8) ( (n) >> 16 ); \
crypto/libecc/src/examples/hash/md5.h
56
(b)[(i) + 1] = (u8) ( (n) >> 8 ); \
crypto/libecc/src/examples/hash/md5.h
57
(b)[(i) ] = (u8) ( (n) ); \
crypto/libecc/src/examples/hash/md5.h
65
#define PUT_UINT64_BE(n,b,i) \
crypto/libecc/src/examples/hash/md5.h
67
(b)[(i) ] = (u8) ( (n) >> 56 ); \
crypto/libecc/src/examples/hash/md5.h
68
(b)[(i) + 1] = (u8) ( (n) >> 48 ); \
crypto/libecc/src/examples/hash/md5.h
69
(b)[(i) + 2] = (u8) ( (n) >> 40 ); \
crypto/libecc/src/examples/hash/md5.h
70
(b)[(i) + 3] = (u8) ( (n) >> 32 ); \
crypto/libecc/src/examples/hash/md5.h
71
(b)[(i) + 4] = (u8) ( (n) >> 24 ); \
crypto/libecc/src/examples/hash/md5.h
72
(b)[(i) + 5] = (u8) ( (n) >> 16 ); \
crypto/libecc/src/examples/hash/md5.h
73
(b)[(i) + 6] = (u8) ( (n) >> 8 ); \
crypto/libecc/src/examples/hash/md5.h
74
(b)[(i) + 7] = (u8) ( (n) ); \
crypto/libecc/src/examples/hash/md5.h
79
#define PUT_UINT64_LE(n,b,i) \
crypto/libecc/src/examples/hash/md5.h
81
(b)[(i) + 7] = (u8) ( (n) >> 56 ); \
crypto/libecc/src/examples/hash/md5.h
82
(b)[(i) + 6] = (u8) ( (n) >> 48 ); \
crypto/libecc/src/examples/hash/md5.h
83
(b)[(i) + 5] = (u8) ( (n) >> 40 ); \
crypto/libecc/src/examples/hash/md5.h
84
(b)[(i) + 4] = (u8) ( (n) >> 32 ); \
crypto/libecc/src/examples/hash/md5.h
85
(b)[(i) + 3] = (u8) ( (n) >> 24 ); \
crypto/libecc/src/examples/hash/md5.h
86
(b)[(i) + 2] = (u8) ( (n) >> 16 ); \
crypto/libecc/src/examples/hash/md5.h
87
(b)[(i) + 1] = (u8) ( (n) >> 8 ); \
crypto/libecc/src/examples/hash/md5.h
88
(b)[(i) ] = (u8) ( (n) ); \
crypto/libecc/src/examples/hash/sha0.c
13
#define ROTL_SHA0(x, n) ((((u32)(x)) << (n)) | (((u32)(x)) >> (32-(n))))
crypto/libecc/src/examples/hash/sha0.h
22
#define GET_UINT32_BE(n, b, i) \
crypto/libecc/src/examples/hash/sha0.h
24
(n) = ( ((u32) (b)[(i) ]) << 24 ) \
crypto/libecc/src/examples/hash/sha0.h
31
#define GET_UINT32_LE(n, b, i) \
crypto/libecc/src/examples/hash/sha0.h
33
(n) = ( ((u32) (b)[(i) + 3]) << 24 ) \
crypto/libecc/src/examples/hash/sha0.h
42
#define PUT_UINT32_BE(n, b, i) \
crypto/libecc/src/examples/hash/sha0.h
44
(b)[(i) ] = (u8) ( (n) >> 24 ); \
crypto/libecc/src/examples/hash/sha0.h
45
(b)[(i) + 1] = (u8) ( (n) >> 16 ); \
crypto/libecc/src/examples/hash/sha0.h
46
(b)[(i) + 2] = (u8) ( (n) >> 8 ); \
crypto/libecc/src/examples/hash/sha0.h
47
(b)[(i) + 3] = (u8) ( (n) ); \
crypto/libecc/src/examples/hash/sha0.h
52
#define PUT_UINT32_LE(n, b, i) \
crypto/libecc/src/examples/hash/sha0.h
54
(b)[(i) + 3] = (u8) ( (n) >> 24 ); \
crypto/libecc/src/examples/hash/sha0.h
55
(b)[(i) + 2] = (u8) ( (n) >> 16 ); \
crypto/libecc/src/examples/hash/sha0.h
56
(b)[(i) + 1] = (u8) ( (n) >> 8 ); \
crypto/libecc/src/examples/hash/sha0.h
57
(b)[(i) ] = (u8) ( (n) ); \
crypto/libecc/src/examples/hash/sha0.h
65
#define PUT_UINT64_BE(n,b,i) \
crypto/libecc/src/examples/hash/sha0.h
67
(b)[(i) ] = (u8) ( (n) >> 56 ); \
crypto/libecc/src/examples/hash/sha0.h
68
(b)[(i) + 1] = (u8) ( (n) >> 48 ); \
crypto/libecc/src/examples/hash/sha0.h
69
(b)[(i) + 2] = (u8) ( (n) >> 40 ); \
crypto/libecc/src/examples/hash/sha0.h
70
(b)[(i) + 3] = (u8) ( (n) >> 32 ); \
crypto/libecc/src/examples/hash/sha0.h
71
(b)[(i) + 4] = (u8) ( (n) >> 24 ); \
crypto/libecc/src/examples/hash/sha0.h
72
(b)[(i) + 5] = (u8) ( (n) >> 16 ); \
crypto/libecc/src/examples/hash/sha0.h
73
(b)[(i) + 6] = (u8) ( (n) >> 8 ); \
crypto/libecc/src/examples/hash/sha0.h
74
(b)[(i) + 7] = (u8) ( (n) ); \
crypto/libecc/src/examples/hash/sha0.h
79
#define PUT_UINT64_LE(n,b,i) \
crypto/libecc/src/examples/hash/sha0.h
81
(b)[(i) + 7] = (u8) ( (n) >> 56 ); \
crypto/libecc/src/examples/hash/sha0.h
82
(b)[(i) + 6] = (u8) ( (n) >> 48 ); \
crypto/libecc/src/examples/hash/sha0.h
83
(b)[(i) + 5] = (u8) ( (n) >> 40 ); \
crypto/libecc/src/examples/hash/sha0.h
84
(b)[(i) + 4] = (u8) ( (n) >> 32 ); \
crypto/libecc/src/examples/hash/sha0.h
85
(b)[(i) + 3] = (u8) ( (n) >> 24 ); \
crypto/libecc/src/examples/hash/sha0.h
86
(b)[(i) + 2] = (u8) ( (n) >> 16 ); \
crypto/libecc/src/examples/hash/sha0.h
87
(b)[(i) + 1] = (u8) ( (n) >> 8 ); \
crypto/libecc/src/examples/hash/sha0.h
88
(b)[(i) ] = (u8) ( (n) ); \
crypto/libecc/src/examples/hash/sha1.c
13
#define ROTL_SHA1(x, n) ((((u32)(x)) << (n)) | (((u32)(x)) >> (32-(n))))
crypto/libecc/src/examples/hash/sha1.h
22
#define GET_UINT32_BE(n, b, i) \
crypto/libecc/src/examples/hash/sha1.h
24
(n) = ( ((u32) (b)[(i) ]) << 24 ) \
crypto/libecc/src/examples/hash/sha1.h
31
#define GET_UINT32_LE(n, b, i) \
crypto/libecc/src/examples/hash/sha1.h
33
(n) = ( ((u32) (b)[(i) + 3]) << 24 ) \
crypto/libecc/src/examples/hash/sha1.h
42
#define PUT_UINT32_BE(n, b, i) \
crypto/libecc/src/examples/hash/sha1.h
44
(b)[(i) ] = (u8) ( (n) >> 24 ); \
crypto/libecc/src/examples/hash/sha1.h
45
(b)[(i) + 1] = (u8) ( (n) >> 16 ); \
crypto/libecc/src/examples/hash/sha1.h
46
(b)[(i) + 2] = (u8) ( (n) >> 8 ); \
crypto/libecc/src/examples/hash/sha1.h
47
(b)[(i) + 3] = (u8) ( (n) ); \
crypto/libecc/src/examples/hash/sha1.h
52
#define PUT_UINT32_LE(n, b, i) \
crypto/libecc/src/examples/hash/sha1.h
54
(b)[(i) + 3] = (u8) ( (n) >> 24 ); \
crypto/libecc/src/examples/hash/sha1.h
55
(b)[(i) + 2] = (u8) ( (n) >> 16 ); \
crypto/libecc/src/examples/hash/sha1.h
56
(b)[(i) + 1] = (u8) ( (n) >> 8 ); \
crypto/libecc/src/examples/hash/sha1.h
57
(b)[(i) ] = (u8) ( (n) ); \
crypto/libecc/src/examples/hash/sha1.h
65
#define PUT_UINT64_BE(n,b,i) \
crypto/libecc/src/examples/hash/sha1.h
67
(b)[(i) ] = (u8) ( (n) >> 56 ); \
crypto/libecc/src/examples/hash/sha1.h
68
(b)[(i) + 1] = (u8) ( (n) >> 48 ); \
crypto/libecc/src/examples/hash/sha1.h
69
(b)[(i) + 2] = (u8) ( (n) >> 40 ); \
crypto/libecc/src/examples/hash/sha1.h
70
(b)[(i) + 3] = (u8) ( (n) >> 32 ); \
crypto/libecc/src/examples/hash/sha1.h
71
(b)[(i) + 4] = (u8) ( (n) >> 24 ); \
crypto/libecc/src/examples/hash/sha1.h
72
(b)[(i) + 5] = (u8) ( (n) >> 16 ); \
crypto/libecc/src/examples/hash/sha1.h
73
(b)[(i) + 6] = (u8) ( (n) >> 8 ); \
crypto/libecc/src/examples/hash/sha1.h
74
(b)[(i) + 7] = (u8) ( (n) ); \
crypto/libecc/src/examples/hash/sha1.h
79
#define PUT_UINT64_LE(n,b,i) \
crypto/libecc/src/examples/hash/sha1.h
81
(b)[(i) + 7] = (u8) ( (n) >> 56 ); \
crypto/libecc/src/examples/hash/sha1.h
82
(b)[(i) + 6] = (u8) ( (n) >> 48 ); \
crypto/libecc/src/examples/hash/sha1.h
83
(b)[(i) + 5] = (u8) ( (n) >> 40 ); \
crypto/libecc/src/examples/hash/sha1.h
84
(b)[(i) + 4] = (u8) ( (n) >> 32 ); \
crypto/libecc/src/examples/hash/sha1.h
85
(b)[(i) + 3] = (u8) ( (n) >> 24 ); \
crypto/libecc/src/examples/hash/sha1.h
86
(b)[(i) + 2] = (u8) ( (n) >> 16 ); \
crypto/libecc/src/examples/hash/sha1.h
87
(b)[(i) + 1] = (u8) ( (n) >> 8 ); \
crypto/libecc/src/examples/hash/sha1.h
88
(b)[(i) ] = (u8) ( (n) ); \
crypto/libecc/src/examples/hash/tdes.c
18
#define GET_UINT32(n,b,i) \
crypto/libecc/src/examples/hash/tdes.c
20
(n) = ( (u32) (b)[(i) ] << 24 ) \
crypto/libecc/src/examples/hash/tdes.c
28
#define PUT_UINT32(n,b,i) \
crypto/libecc/src/examples/hash/tdes.c
30
(b)[(i) ] = (u8) ( (n) >> 24 ); \
crypto/libecc/src/examples/hash/tdes.c
31
(b)[(i) + 1] = (u8) ( (n) >> 16 ); \
crypto/libecc/src/examples/hash/tdes.c
32
(b)[(i) + 2] = (u8) ( (n) >> 8 ); \
crypto/libecc/src/examples/hash/tdes.c
33
(b)[(i) + 3] = (u8) ( (n) ); \
crypto/libecc/src/examples/sig/rsa/rsa.c
101
const u8 *n, u16 nlen, const u8 *d, u16 dlen,
crypto/libecc/src/examples/sig/rsa/rsa.c
113
ret = nn_init_from_buf(&(priv->key.s.n), n, nlen); EG(ret, err);
crypto/libecc/src/examples/sig/rsa/rsa.c
118
ret = nn_init_from_buf(&(priv->key.s_pq.n), n, nlen); EG(ret, err);
crypto/libecc/src/examples/sig/rsa/rsa.c
217
nn_src_t n, e;
crypto/libecc/src/examples/sig/rsa/rsa.c
223
n = &(pub->n);
crypto/libecc/src/examples/sig/rsa/rsa.c
227
ret = nn_check_initialized(n); EG(ret, err);
crypto/libecc/src/examples/sig/rsa/rsa.c
231
MUST_HAVE((!nn_cmp(m, n, &cmp)) && (cmp < 0), ret, err);
crypto/libecc/src/examples/sig/rsa/rsa.c
237
ret = _nn_mod_pow_insecure(c, m, e, n);
crypto/libecc/src/examples/sig/rsa/rsa.c
240
PTR_NULLIFY(n);
crypto/libecc/src/examples/sig/rsa/rsa.c
428
nn_src_t n, d, p, q;
crypto/libecc/src/examples/sig/rsa/rsa.c
435
n = &(priv->key.s.n);
crypto/libecc/src/examples/sig/rsa/rsa.c
439
n = &(priv->key.s_pq.n);
crypto/libecc/src/examples/sig/rsa/rsa.c
447
ret = nn_check_initialized(n); EG(ret, err);
crypto/libecc/src/examples/sig/rsa/rsa.c
450
MUST_HAVE((!nn_cmp(c, n, &cmp)) && (cmp < 0), ret, err);
crypto/libecc/src/examples/sig/rsa/rsa.c
467
ret = nn_mod_pow(m, c, &b2, n); EG(ret, err);
crypto/libecc/src/examples/sig/rsa/rsa.c
476
ret = nn_mod_pow(m, c, d, n);
crypto/libecc/src/examples/sig/rsa/rsa.c
484
PTR_NULLIFY(n);
crypto/libecc/src/examples/sig/rsa/rsa.c
523
nn_src_t n, e;
crypto/libecc/src/examples/sig/rsa/rsa.c
528
n = &(pub->n);
crypto/libecc/src/examples/sig/rsa/rsa.c
541
ret = nn_get_random_mod(&b, n); EG(ret, err);
crypto/libecc/src/examples/sig/rsa/rsa.c
542
ret = nn_modinv(&binv, &b, n);
crypto/libecc/src/examples/sig/rsa/rsa.c
545
ret = _nn_mod_pow_insecure(m, &b, e, n); EG(ret, err);
crypto/libecc/src/examples/sig/rsa/rsa.c
547
ret = nn_mod_mul(&b, m, c, n); EG(ret, err);
crypto/libecc/src/examples/sig/rsa/rsa.c
553
ret = nn_mod_mul(m, m, &binv, n); EG(ret, err);
crypto/libecc/src/examples/sig/rsa/rsa.c
566
PTR_NULLIFY(n);
crypto/libecc/src/examples/sig/rsa/rsa.c
81
int rsa_import_pub_key(rsa_pub_key *pub, const u8 *n,
crypto/libecc/src/examples/sig/rsa/rsa.c
89
ret = nn_init_from_buf(&(pub->n), n, nlen); EG(ret, err);
crypto/libecc/src/examples/sig/rsa/rsa.h
107
ATTRIBUTE_WARN_UNUSED_RET int rsa_import_pub_key(rsa_pub_key *pub, const u8 *n,
crypto/libecc/src/examples/sig/rsa/rsa.h
110
const u8 *n, u16 nlen, const u8 *d,
crypto/libecc/src/examples/sig/rsa/rsa.h
34
nn n;
crypto/libecc/src/examples/sig/rsa/rsa.h
63
nn n;
crypto/libecc/src/examples/sig/rsa/rsa.h
69
nn n;
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
100043
.n = (const u8*)&rsa_pss_sign_1857_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
100088
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1858_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
100148
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1859_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
10016
.n = (const u8*)&rsa_pss_180_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
100193
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1860_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
100253
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1861_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
100298
.n = (const u8*)&rsa_oaep_enc_1862_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
100358
.n = (const u8*)&rsa_oaep_enc_1863_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
100403
.n = (const u8*)&rsa_pss_sign_1864_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
100463
.n = (const u8*)&rsa_pss_sign_1865_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
100508
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1866_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
100568
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1867_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
100613
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1868_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
100673
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1869_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
100718
.n = (const u8*)&rsa_oaep_enc_1870_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
100778
.n = (const u8*)&rsa_oaep_enc_1871_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
10079
.n = (const u8*)&rsa_pss_181_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
100823
.n = (const u8*)&rsa_pss_sign_1872_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
100883
.n = (const u8*)&rsa_pss_sign_1873_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
100928
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1874_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
100988
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1875_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
101033
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1876_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
101093
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1877_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
101138
.n = (const u8*)&rsa_oaep_enc_1878_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
101198
.n = (const u8*)&rsa_oaep_enc_1879_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
101243
.n = (const u8*)&rsa_pss_sign_1880_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
10127
.n = (const u8*)&rsa_pss_182_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
101303
.n = (const u8*)&rsa_pss_sign_1881_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
101348
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1882_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
101408
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1883_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
101453
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1884_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
101513
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1885_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
101558
.n = (const u8*)&rsa_oaep_enc_1886_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
101618
.n = (const u8*)&rsa_oaep_enc_1887_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
101663
.n = (const u8*)&rsa_pss_sign_1888_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
101723
.n = (const u8*)&rsa_pss_sign_1889_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
101768
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1890_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
101828
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1891_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
101873
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1892_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
10190
.n = (const u8*)&rsa_pss_183_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
101933
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1893_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
101978
.n = (const u8*)&rsa_oaep_enc_1894_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
102038
.n = (const u8*)&rsa_oaep_enc_1895_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
102083
.n = (const u8*)&rsa_pss_sign_1896_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
102143
.n = (const u8*)&rsa_pss_sign_1897_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
102188
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1898_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
102248
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1899_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
102293
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1900_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
102353
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1901_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
10238
.n = (const u8*)&rsa_pss_184_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
102398
.n = (const u8*)&rsa_oaep_enc_1902_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
102458
.n = (const u8*)&rsa_oaep_enc_1903_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
1025
.n = (const u8*)&rsa_oaep_18_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
102503
.n = (const u8*)&rsa_pss_sign_1904_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
102563
.n = (const u8*)&rsa_pss_sign_1905_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
102608
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1906_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
102668
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1907_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
102713
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1908_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
102773
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1909_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
102818
.n = (const u8*)&rsa_oaep_enc_1910_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
102878
.n = (const u8*)&rsa_oaep_enc_1911_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
102923
.n = (const u8*)&rsa_pss_sign_1912_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
102983
.n = (const u8*)&rsa_pss_sign_1913_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
10301
.n = (const u8*)&rsa_pss_185_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
103028
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1914_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
103088
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1915_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
103133
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1916_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
103193
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1917_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
103238
.n = (const u8*)&rsa_oaep_enc_1918_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
103298
.n = (const u8*)&rsa_oaep_enc_1919_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
103343
.n = (const u8*)&rsa_pss_sign_1920_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
103403
.n = (const u8*)&rsa_pss_sign_1921_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
103448
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1922_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
10349
.n = (const u8*)&rsa_pss_186_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
103508
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1923_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
103553
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1924_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
103613
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1925_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
103658
.n = (const u8*)&rsa_oaep_enc_1926_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
103718
.n = (const u8*)&rsa_oaep_enc_1927_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
103763
.n = (const u8*)&rsa_pss_sign_1928_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
103823
.n = (const u8*)&rsa_pss_sign_1929_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
103868
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1930_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
103928
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1931_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
103973
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1932_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
104033
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1933_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
104078
.n = (const u8*)&rsa_oaep_enc_1934_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
10412
.n = (const u8*)&rsa_pss_187_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
104138
.n = (const u8*)&rsa_oaep_enc_1935_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
104183
.n = (const u8*)&rsa_pss_sign_1936_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
104243
.n = (const u8*)&rsa_pss_sign_1937_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
104288
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1938_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
104348
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1939_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
104393
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1940_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
104453
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1941_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
104498
.n = (const u8*)&rsa_oaep_enc_1942_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
104558
.n = (const u8*)&rsa_oaep_enc_1943_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
10460
.n = (const u8*)&rsa_pss_188_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
104603
.n = (const u8*)&rsa_pss_sign_1944_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
104663
.n = (const u8*)&rsa_pss_sign_1945_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
104708
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1946_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
104768
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1947_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
104813
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1948_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
104873
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1949_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
104918
.n = (const u8*)&rsa_oaep_enc_1950_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
104978
.n = (const u8*)&rsa_oaep_enc_1951_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
105023
.n = (const u8*)&rsa_pss_sign_1952_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
105083
.n = (const u8*)&rsa_pss_sign_1953_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
105128
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1954_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
105188
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1955_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
10523
.n = (const u8*)&rsa_pss_189_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
105233
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1956_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
105293
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1957_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
105338
.n = (const u8*)&rsa_oaep_enc_1958_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
105398
.n = (const u8*)&rsa_oaep_enc_1959_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
105443
.n = (const u8*)&rsa_pss_sign_1960_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
105503
.n = (const u8*)&rsa_pss_sign_1961_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
105548
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1962_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
105608
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1963_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
105653
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1964_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
10571
.n = (const u8*)&rsa_pss_190_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
105713
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1965_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
105758
.n = (const u8*)&rsa_oaep_enc_1966_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
105818
.n = (const u8*)&rsa_oaep_enc_1967_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
105863
.n = (const u8*)&rsa_pss_sign_1968_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
105923
.n = (const u8*)&rsa_pss_sign_1969_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
105968
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1970_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
106028
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1971_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
106073
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1972_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
106133
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1973_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
106178
.n = (const u8*)&rsa_oaep_enc_1974_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
106238
.n = (const u8*)&rsa_oaep_enc_1975_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
106283
.n = (const u8*)&rsa_pss_sign_1976_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
10634
.n = (const u8*)&rsa_pss_191_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
106343
.n = (const u8*)&rsa_pss_sign_1977_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
106388
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1978_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
106448
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1979_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
106493
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1980_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
106553
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1981_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
106598
.n = (const u8*)&rsa_oaep_enc_1982_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
106658
.n = (const u8*)&rsa_oaep_enc_1983_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
106703
.n = (const u8*)&rsa_pss_sign_1984_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
106763
.n = (const u8*)&rsa_pss_sign_1985_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
106808
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1986_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
10682
.n = (const u8*)&rsa_pss_192_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
106868
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1987_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
106913
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1988_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
106973
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1989_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
107018
.n = (const u8*)&rsa_oaep_enc_1990_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
107078
.n = (const u8*)&rsa_oaep_enc_1991_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
107123
.n = (const u8*)&rsa_pss_sign_1992_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
107183
.n = (const u8*)&rsa_pss_sign_1993_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
107228
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1994_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
107288
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1995_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
107333
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1996_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
107393
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1997_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
107438
.n = (const u8*)&rsa_oaep_enc_1998_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
10745
.n = (const u8*)&rsa_pss_193_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
107498
.n = (const u8*)&rsa_oaep_enc_1999_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
107543
.n = (const u8*)&rsa_pss_sign_2000_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
107603
.n = (const u8*)&rsa_pss_sign_2001_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
107648
.n = (const u8*)&rsa_pkcs1_v1_5_sig_2002_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
107708
.n = (const u8*)&rsa_pkcs1_v1_5_sig_2003_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
107753
.n = (const u8*)&rsa_pkcs1_v1_5_enc_2004_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
107813
.n = (const u8*)&rsa_pkcs1_v1_5_enc_2005_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
107858
.n = (const u8*)&rsa_oaep_enc_2006_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
107918
.n = (const u8*)&rsa_oaep_enc_2007_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
10793
.n = (const u8*)&rsa_pss_194_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
107963
.n = (const u8*)&rsa_pss_sign_2008_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
108023
.n = (const u8*)&rsa_pss_sign_2009_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
108068
.n = (const u8*)&rsa_pkcs1_v1_5_sig_2010_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
108128
.n = (const u8*)&rsa_pkcs1_v1_5_sig_2011_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
108173
.n = (const u8*)&rsa_pkcs1_v1_5_enc_2012_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
108233
.n = (const u8*)&rsa_pkcs1_v1_5_enc_2013_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
108278
.n = (const u8*)&rsa_oaep_enc_2014_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
108338
.n = (const u8*)&rsa_oaep_enc_2015_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
108383
.n = (const u8*)&rsa_pss_sign_2016_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
108443
.n = (const u8*)&rsa_pss_sign_2017_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
108488
.n = (const u8*)&rsa_pkcs1_v1_5_sig_2018_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
108548
.n = (const u8*)&rsa_pkcs1_v1_5_sig_2019_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
10856
.n = (const u8*)&rsa_pss_195_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
108593
.n = (const u8*)&rsa_pkcs1_v1_5_enc_2020_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
108653
.n = (const u8*)&rsa_pkcs1_v1_5_enc_2021_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
108698
.n = (const u8*)&rsa_oaep_enc_2022_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
108758
.n = (const u8*)&rsa_oaep_enc_2023_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
1088
.n = (const u8*)&rsa_oaep_19_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
108803
.n = (const u8*)&rsa_pss_sign_2024_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
108863
.n = (const u8*)&rsa_pss_sign_2025_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
108908
.n = (const u8*)&rsa_pkcs1_v1_5_sig_2026_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
108968
.n = (const u8*)&rsa_pkcs1_v1_5_sig_2027_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
109013
.n = (const u8*)&rsa_pkcs1_v1_5_enc_2028_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
10904
.n = (const u8*)&rsa_pss_196_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
109073
.n = (const u8*)&rsa_pkcs1_v1_5_enc_2029_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
109118
.n = (const u8*)&rsa_oaep_enc_2030_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
109178
.n = (const u8*)&rsa_oaep_enc_2031_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
109223
.n = (const u8*)&rsa_pss_sign_2032_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
109283
.n = (const u8*)&rsa_pss_sign_2033_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
109328
.n = (const u8*)&rsa_pkcs1_v1_5_sig_2034_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
109388
.n = (const u8*)&rsa_pkcs1_v1_5_sig_2035_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
109433
.n = (const u8*)&rsa_pkcs1_v1_5_enc_2036_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
109493
.n = (const u8*)&rsa_pkcs1_v1_5_enc_2037_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
109538
.n = (const u8*)&rsa_oaep_enc_2038_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
109598
.n = (const u8*)&rsa_oaep_enc_2039_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
109643
.n = (const u8*)&rsa_pss_sign_2040_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
10967
.n = (const u8*)&rsa_pss_197_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
109703
.n = (const u8*)&rsa_pss_sign_2041_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
109748
.n = (const u8*)&rsa_pkcs1_v1_5_sig_2042_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
109808
.n = (const u8*)&rsa_pkcs1_v1_5_sig_2043_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
109853
.n = (const u8*)&rsa_pkcs1_v1_5_enc_2044_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
109913
.n = (const u8*)&rsa_pkcs1_v1_5_enc_2045_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
109958
.n = (const u8*)&rsa_oaep_enc_2046_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
110018
.n = (const u8*)&rsa_oaep_enc_2047_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
110063
.n = (const u8*)&rsa_pss_sign_2048_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
110123
.n = (const u8*)&rsa_pss_sign_2049_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
11015
.n = (const u8*)&rsa_pss_198_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
110168
.n = (const u8*)&rsa_pkcs1_v1_5_sig_2050_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
110228
.n = (const u8*)&rsa_pkcs1_v1_5_sig_2051_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
110273
.n = (const u8*)&rsa_pkcs1_v1_5_enc_2052_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
110333
.n = (const u8*)&rsa_pkcs1_v1_5_enc_2053_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
110378
.n = (const u8*)&rsa_oaep_enc_2054_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
110438
.n = (const u8*)&rsa_oaep_enc_2055_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
110483
.n = (const u8*)&rsa_pss_sign_2056_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
110543
.n = (const u8*)&rsa_pss_sign_2057_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
110588
.n = (const u8*)&rsa_pkcs1_v1_5_sig_2058_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
110648
.n = (const u8*)&rsa_pkcs1_v1_5_sig_2059_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
110693
.n = (const u8*)&rsa_pkcs1_v1_5_enc_2060_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
110753
.n = (const u8*)&rsa_pkcs1_v1_5_enc_2061_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
11078
.n = (const u8*)&rsa_pss_199_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
110798
.n = (const u8*)&rsa_oaep_enc_2062_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
110858
.n = (const u8*)&rsa_oaep_enc_2063_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
110903
.n = (const u8*)&rsa_pss_sign_2064_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
110963
.n = (const u8*)&rsa_pss_sign_2065_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
111008
.n = (const u8*)&rsa_pkcs1_v1_5_sig_2066_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
111068
.n = (const u8*)&rsa_pkcs1_v1_5_sig_2067_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
111113
.n = (const u8*)&rsa_pkcs1_v1_5_enc_2068_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
111173
.n = (const u8*)&rsa_pkcs1_v1_5_enc_2069_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
111218
.n = (const u8*)&rsa_oaep_enc_2070_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
11126
.n = (const u8*)&rsa_pss_200_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
111278
.n = (const u8*)&rsa_oaep_enc_2071_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
111323
.n = (const u8*)&rsa_pss_sign_2072_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
111383
.n = (const u8*)&rsa_pss_sign_2073_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
111428
.n = (const u8*)&rsa_pkcs1_v1_5_sig_2074_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
111488
.n = (const u8*)&rsa_pkcs1_v1_5_sig_2075_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
111533
.n = (const u8*)&rsa_pkcs1_v1_5_enc_2076_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
111593
.n = (const u8*)&rsa_pkcs1_v1_5_enc_2077_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
111638
.n = (const u8*)&rsa_oaep_enc_2078_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
111698
.n = (const u8*)&rsa_oaep_enc_2079_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
11189
.n = (const u8*)&rsa_pss_201_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
11237
.n = (const u8*)&rsa_pss_202_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
11300
.n = (const u8*)&rsa_pss_203_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
11348
.n = (const u8*)&rsa_pss_204_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
1136
.n = (const u8*)&rsa_oaep_20_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
11411
.n = (const u8*)&rsa_pss_205_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
11459
.n = (const u8*)&rsa_pss_206_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
11522
.n = (const u8*)&rsa_pss_207_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
11570
.n = (const u8*)&rsa_pss_208_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
11633
.n = (const u8*)&rsa_pss_209_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
11681
.n = (const u8*)&rsa_pss_210_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
11744
.n = (const u8*)&rsa_pss_211_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
11792
.n = (const u8*)&rsa_pss_212_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
11855
.n = (const u8*)&rsa_pss_213_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
11903
.n = (const u8*)&rsa_pss_214_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
11966
.n = (const u8*)&rsa_pss_215_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
1199
.n = (const u8*)&rsa_oaep_21_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
12014
.n = (const u8*)&rsa_pss_216_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
12077
.n = (const u8*)&rsa_pss_217_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
12125
.n = (const u8*)&rsa_pss_218_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
12188
.n = (const u8*)&rsa_pss_219_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
12236
.n = (const u8*)&rsa_pss_220_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
12299
.n = (const u8*)&rsa_pss_221_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
12347
.n = (const u8*)&rsa_pss_222_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
12410
.n = (const u8*)&rsa_pss_223_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
12458
.n = (const u8*)&rsa_pss_224_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
1247
.n = (const u8*)&rsa_oaep_22_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
12521
.n = (const u8*)&rsa_pss_225_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
12569
.n = (const u8*)&rsa_pss_226_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
12632
.n = (const u8*)&rsa_pss_227_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
12680
.n = (const u8*)&rsa_pss_228_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
12743
.n = (const u8*)&rsa_pss_229_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
12791
.n = (const u8*)&rsa_pss_230_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
12854
.n = (const u8*)&rsa_pss_231_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
12902
.n = (const u8*)&rsa_pss_232_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
12965
.n = (const u8*)&rsa_pss_233_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
13013
.n = (const u8*)&rsa_pss_234_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
13076
.n = (const u8*)&rsa_pss_235_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
1310
.n = (const u8*)&rsa_oaep_23_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
13124
.n = (const u8*)&rsa_pss_236_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
13187
.n = (const u8*)&rsa_pss_237_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
13235
.n = (const u8*)&rsa_pss_238_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
13298
.n = (const u8*)&rsa_pss_239_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
13346
.n = (const u8*)&rsa_pkcs1_v1_5_enc_240_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
13409
.n = (const u8*)&rsa_pkcs1_v1_5_enc_241_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
13457
.n = (const u8*)&rsa_pkcs1_v1_5_enc_242_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
13520
.n = (const u8*)&rsa_pkcs1_v1_5_enc_243_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
13568
.n = (const u8*)&rsa_pkcs1_v1_5_enc_244_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
1358
.n = (const u8*)&rsa_oaep_24_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
13631
.n = (const u8*)&rsa_pkcs1_v1_5_enc_245_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
13679
.n = (const u8*)&rsa_pkcs1_v1_5_enc_246_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
137
.n = (const u8*)&rsa_oaep_2_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
13742
.n = (const u8*)&rsa_pkcs1_v1_5_enc_247_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
13790
.n = (const u8*)&rsa_pkcs1_v1_5_enc_248_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
13853
.n = (const u8*)&rsa_pkcs1_v1_5_enc_249_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
13901
.n = (const u8*)&rsa_pkcs1_v1_5_enc_250_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
13964
.n = (const u8*)&rsa_pkcs1_v1_5_enc_251_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
14012
.n = (const u8*)&rsa_pkcs1_v1_5_enc_252_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
14075
.n = (const u8*)&rsa_pkcs1_v1_5_enc_253_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
14123
.n = (const u8*)&rsa_pkcs1_v1_5_enc_254_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
14186
.n = (const u8*)&rsa_pkcs1_v1_5_enc_255_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
1421
.n = (const u8*)&rsa_oaep_25_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
14234
.n = (const u8*)&rsa_pkcs1_v1_5_enc_256_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
14297
.n = (const u8*)&rsa_pkcs1_v1_5_enc_257_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
14345
.n = (const u8*)&rsa_pkcs1_v1_5_enc_258_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
14408
.n = (const u8*)&rsa_pkcs1_v1_5_enc_259_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
14456
.n = (const u8*)&rsa_pkcs1_v1_5_enc_260_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
14519
.n = (const u8*)&rsa_pkcs1_v1_5_enc_261_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
14567
.n = (const u8*)&rsa_pkcs1_v1_5_enc_262_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
14630
.n = (const u8*)&rsa_pkcs1_v1_5_enc_263_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
14678
.n = (const u8*)&rsa_pkcs1_v1_5_enc_264_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
1469
.n = (const u8*)&rsa_oaep_26_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
14741
.n = (const u8*)&rsa_pkcs1_v1_5_enc_265_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
14789
.n = (const u8*)&rsa_pkcs1_v1_5_enc_266_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
14852
.n = (const u8*)&rsa_pkcs1_v1_5_enc_267_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
14900
.n = (const u8*)&rsa_pkcs1_v1_5_enc_268_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
14963
.n = (const u8*)&rsa_pkcs1_v1_5_enc_269_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
15011
.n = (const u8*)&rsa_pkcs1_v1_5_enc_270_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
15074
.n = (const u8*)&rsa_pkcs1_v1_5_enc_271_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
15122
.n = (const u8*)&rsa_pkcs1_v1_5_enc_272_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
15185
.n = (const u8*)&rsa_pkcs1_v1_5_enc_273_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
15233
.n = (const u8*)&rsa_pkcs1_v1_5_enc_274_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
15296
.n = (const u8*)&rsa_pkcs1_v1_5_enc_275_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
1532
.n = (const u8*)&rsa_oaep_27_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
15344
.n = (const u8*)&rsa_pkcs1_v1_5_enc_276_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
15407
.n = (const u8*)&rsa_pkcs1_v1_5_enc_277_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
15455
.n = (const u8*)&rsa_pkcs1_v1_5_enc_278_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
15518
.n = (const u8*)&rsa_pkcs1_v1_5_enc_279_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
15566
.n = (const u8*)&rsa_pkcs1_v1_5_enc_280_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
15629
.n = (const u8*)&rsa_pkcs1_v1_5_enc_281_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
15677
.n = (const u8*)&rsa_pkcs1_v1_5_enc_282_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
15740
.n = (const u8*)&rsa_pkcs1_v1_5_enc_283_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
15788
.n = (const u8*)&rsa_pkcs1_v1_5_enc_284_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
1580
.n = (const u8*)&rsa_oaep_28_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
15851
.n = (const u8*)&rsa_pkcs1_v1_5_enc_285_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
15899
.n = (const u8*)&rsa_pkcs1_v1_5_enc_286_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
15962
.n = (const u8*)&rsa_pkcs1_v1_5_enc_287_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
16010
.n = (const u8*)&rsa_pkcs1_v1_5_enc_288_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
16073
.n = (const u8*)&rsa_pkcs1_v1_5_enc_289_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
16121
.n = (const u8*)&rsa_pkcs1_v1_5_enc_290_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
16184
.n = (const u8*)&rsa_pkcs1_v1_5_enc_291_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
16232
.n = (const u8*)&rsa_pkcs1_v1_5_enc_292_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
16295
.n = (const u8*)&rsa_pkcs1_v1_5_enc_293_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
16343
.n = (const u8*)&rsa_pkcs1_v1_5_enc_294_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
16406
.n = (const u8*)&rsa_pkcs1_v1_5_enc_295_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
1643
.n = (const u8*)&rsa_oaep_29_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
16454
.n = (const u8*)&rsa_pkcs1_v1_5_enc_296_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
16517
.n = (const u8*)&rsa_pkcs1_v1_5_enc_297_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
16565
.n = (const u8*)&rsa_pkcs1_v1_5_enc_298_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
16628
.n = (const u8*)&rsa_pkcs1_v1_5_enc_299_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
16676
.n = (const u8*)&rsa_pkcs1_v1_5_enc_300_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
16739
.n = (const u8*)&rsa_pkcs1_v1_5_enc_301_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
16787
.n = (const u8*)&rsa_pkcs1_v1_5_enc_302_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
16850
.n = (const u8*)&rsa_pkcs1_v1_5_enc_303_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
16898
.n = (const u8*)&rsa_pkcs1_v1_5_enc_304_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
1691
.n = (const u8*)&rsa_oaep_30_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
16961
.n = (const u8*)&rsa_pkcs1_v1_5_enc_305_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
17009
.n = (const u8*)&rsa_pkcs1_v1_5_enc_306_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
17072
.n = (const u8*)&rsa_pkcs1_v1_5_enc_307_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
17120
.n = (const u8*)&rsa_pkcs1_v1_5_enc_308_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
17183
.n = (const u8*)&rsa_pkcs1_v1_5_enc_309_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
17231
.n = (const u8*)&rsa_pkcs1_v1_5_enc_310_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
17294
.n = (const u8*)&rsa_pkcs1_v1_5_enc_311_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
17342
.n = (const u8*)&rsa_pkcs1_v1_5_enc_312_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
17405
.n = (const u8*)&rsa_pkcs1_v1_5_enc_313_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
17453
.n = (const u8*)&rsa_pkcs1_v1_5_enc_314_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
17516
.n = (const u8*)&rsa_pkcs1_v1_5_enc_315_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
1754
.n = (const u8*)&rsa_oaep_31_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
17564
.n = (const u8*)&rsa_pkcs1_v1_5_enc_316_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
17627
.n = (const u8*)&rsa_pkcs1_v1_5_enc_317_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
17675
.n = (const u8*)&rsa_pkcs1_v1_5_enc_318_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
17738
.n = (const u8*)&rsa_pkcs1_v1_5_enc_319_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
17786
.n = (const u8*)&rsa_pkcs1_v1_5_enc_320_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
17849
.n = (const u8*)&rsa_pkcs1_v1_5_enc_321_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
17897
.n = (const u8*)&rsa_pkcs1_v1_5_enc_322_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
17960
.n = (const u8*)&rsa_pkcs1_v1_5_enc_323_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
18008
.n = (const u8*)&rsa_pkcs1_v1_5_enc_324_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
1802
.n = (const u8*)&rsa_oaep_32_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
18071
.n = (const u8*)&rsa_pkcs1_v1_5_enc_325_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
18119
.n = (const u8*)&rsa_pkcs1_v1_5_enc_326_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
18182
.n = (const u8*)&rsa_pkcs1_v1_5_enc_327_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
18230
.n = (const u8*)&rsa_pkcs1_v1_5_enc_328_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
18293
.n = (const u8*)&rsa_pkcs1_v1_5_enc_329_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
18341
.n = (const u8*)&rsa_pkcs1_v1_5_enc_330_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
18404
.n = (const u8*)&rsa_pkcs1_v1_5_enc_331_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
18452
.n = (const u8*)&rsa_pkcs1_v1_5_enc_332_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
18515
.n = (const u8*)&rsa_pkcs1_v1_5_enc_333_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
18563
.n = (const u8*)&rsa_pkcs1_v1_5_enc_334_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
18626
.n = (const u8*)&rsa_pkcs1_v1_5_enc_335_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
1865
.n = (const u8*)&rsa_oaep_33_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
18674
.n = (const u8*)&rsa_pkcs1_v1_5_enc_336_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
18737
.n = (const u8*)&rsa_pkcs1_v1_5_enc_337_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
18785
.n = (const u8*)&rsa_pkcs1_v1_5_enc_338_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
18848
.n = (const u8*)&rsa_pkcs1_v1_5_enc_339_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
18896
.n = (const u8*)&rsa_pkcs1_v1_5_enc_340_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
18959
.n = (const u8*)&rsa_pkcs1_v1_5_enc_341_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
19007
.n = (const u8*)&rsa_pkcs1_v1_5_enc_342_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
19070
.n = (const u8*)&rsa_pkcs1_v1_5_enc_343_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
19118
.n = (const u8*)&rsa_pkcs1_v1_5_enc_344_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
1913
.n = (const u8*)&rsa_oaep_34_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
19181
.n = (const u8*)&rsa_pkcs1_v1_5_enc_345_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
19229
.n = (const u8*)&rsa_pkcs1_v1_5_enc_346_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
19292
.n = (const u8*)&rsa_pkcs1_v1_5_enc_347_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
19340
.n = (const u8*)&rsa_pkcs1_v1_5_enc_348_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
19403
.n = (const u8*)&rsa_pkcs1_v1_5_enc_349_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
19451
.n = (const u8*)&rsa_pkcs1_v1_5_enc_350_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
19514
.n = (const u8*)&rsa_pkcs1_v1_5_enc_351_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
19562
.n = (const u8*)&rsa_pkcs1_v1_5_enc_352_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
19625
.n = (const u8*)&rsa_pkcs1_v1_5_enc_353_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
19673
.n = (const u8*)&rsa_pkcs1_v1_5_enc_354_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
19736
.n = (const u8*)&rsa_pkcs1_v1_5_enc_355_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
1976
.n = (const u8*)&rsa_oaep_35_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
19784
.n = (const u8*)&rsa_pkcs1_v1_5_enc_356_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
19847
.n = (const u8*)&rsa_pkcs1_v1_5_enc_357_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
19895
.n = (const u8*)&rsa_pkcs1_v1_5_enc_358_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
19958
.n = (const u8*)&rsa_pkcs1_v1_5_enc_359_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
200
.n = (const u8*)&rsa_oaep_3_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
20006
.n = (const u8*)&rsa_pkcs1_v1_5_enc_360_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
20069
.n = (const u8*)&rsa_pkcs1_v1_5_enc_361_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
20117
.n = (const u8*)&rsa_pkcs1_v1_5_enc_362_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
20180
.n = (const u8*)&rsa_pkcs1_v1_5_enc_363_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
20228
.n = (const u8*)&rsa_pkcs1_v1_5_enc_364_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
2024
.n = (const u8*)&rsa_oaep_36_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
20291
.n = (const u8*)&rsa_pkcs1_v1_5_enc_365_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
20339
.n = (const u8*)&rsa_pkcs1_v1_5_enc_366_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
20402
.n = (const u8*)&rsa_pkcs1_v1_5_enc_367_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
20450
.n = (const u8*)&rsa_pkcs1_v1_5_enc_368_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
20513
.n = (const u8*)&rsa_pkcs1_v1_5_enc_369_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
20561
.n = (const u8*)&rsa_pkcs1_v1_5_enc_370_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
20624
.n = (const u8*)&rsa_pkcs1_v1_5_enc_371_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
20672
.n = (const u8*)&rsa_pkcs1_v1_5_enc_372_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
20735
.n = (const u8*)&rsa_pkcs1_v1_5_enc_373_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
20783
.n = (const u8*)&rsa_pkcs1_v1_5_enc_374_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
20846
.n = (const u8*)&rsa_pkcs1_v1_5_enc_375_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
2087
.n = (const u8*)&rsa_oaep_37_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
20894
.n = (const u8*)&rsa_pkcs1_v1_5_enc_376_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
20957
.n = (const u8*)&rsa_pkcs1_v1_5_enc_377_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
21005
.n = (const u8*)&rsa_pkcs1_v1_5_enc_378_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
21068
.n = (const u8*)&rsa_pkcs1_v1_5_enc_379_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
21116
.n = (const u8*)&rsa_pkcs1_v1_5_enc_380_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
21179
.n = (const u8*)&rsa_pkcs1_v1_5_enc_381_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
21227
.n = (const u8*)&rsa_pkcs1_v1_5_enc_382_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
21290
.n = (const u8*)&rsa_pkcs1_v1_5_enc_383_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
21338
.n = (const u8*)&rsa_pkcs1_v1_5_enc_384_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
2135
.n = (const u8*)&rsa_oaep_38_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
21401
.n = (const u8*)&rsa_pkcs1_v1_5_enc_385_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
21449
.n = (const u8*)&rsa_pkcs1_v1_5_enc_386_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
21512
.n = (const u8*)&rsa_pkcs1_v1_5_enc_387_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
21560
.n = (const u8*)&rsa_pkcs1_v1_5_enc_388_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
21623
.n = (const u8*)&rsa_pkcs1_v1_5_enc_389_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
21671
.n = (const u8*)&rsa_pkcs1_v1_5_enc_390_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
21734
.n = (const u8*)&rsa_pkcs1_v1_5_enc_391_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
21782
.n = (const u8*)&rsa_pkcs1_v1_5_enc_392_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
21845
.n = (const u8*)&rsa_pkcs1_v1_5_enc_393_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
21893
.n = (const u8*)&rsa_pkcs1_v1_5_enc_394_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
21956
.n = (const u8*)&rsa_pkcs1_v1_5_enc_395_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
2198
.n = (const u8*)&rsa_oaep_39_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
22004
.n = (const u8*)&rsa_pkcs1_v1_5_enc_396_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
22067
.n = (const u8*)&rsa_pkcs1_v1_5_enc_397_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
22115
.n = (const u8*)&rsa_pkcs1_v1_5_enc_398_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
22178
.n = (const u8*)&rsa_pkcs1_v1_5_enc_399_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
22226
.n = (const u8*)&rsa_pkcs1_v1_5_enc_400_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
22289
.n = (const u8*)&rsa_pkcs1_v1_5_enc_401_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
22337
.n = (const u8*)&rsa_pkcs1_v1_5_enc_402_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
22400
.n = (const u8*)&rsa_pkcs1_v1_5_enc_403_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
22448
.n = (const u8*)&rsa_pkcs1_v1_5_enc_404_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
2246
.n = (const u8*)&rsa_oaep_40_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
22511
.n = (const u8*)&rsa_pkcs1_v1_5_enc_405_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
22559
.n = (const u8*)&rsa_pkcs1_v1_5_enc_406_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
22622
.n = (const u8*)&rsa_pkcs1_v1_5_enc_407_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
22670
.n = (const u8*)&rsa_pkcs1_v1_5_enc_408_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
22733
.n = (const u8*)&rsa_pkcs1_v1_5_enc_409_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
22781
.n = (const u8*)&rsa_pkcs1_v1_5_enc_410_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
22844
.n = (const u8*)&rsa_pkcs1_v1_5_enc_411_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
22892
.n = (const u8*)&rsa_pkcs1_v1_5_enc_412_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
22955
.n = (const u8*)&rsa_pkcs1_v1_5_enc_413_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
23003
.n = (const u8*)&rsa_pkcs1_v1_5_enc_414_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
23066
.n = (const u8*)&rsa_pkcs1_v1_5_enc_415_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
2309
.n = (const u8*)&rsa_oaep_41_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
23114
.n = (const u8*)&rsa_pkcs1_v1_5_enc_416_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
23177
.n = (const u8*)&rsa_pkcs1_v1_5_enc_417_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
23225
.n = (const u8*)&rsa_pkcs1_v1_5_enc_418_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
23288
.n = (const u8*)&rsa_pkcs1_v1_5_enc_419_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
23336
.n = (const u8*)&rsa_pkcs1_v1_5_enc_420_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
23399
.n = (const u8*)&rsa_pkcs1_v1_5_enc_421_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
23447
.n = (const u8*)&rsa_pkcs1_v1_5_enc_422_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
23510
.n = (const u8*)&rsa_pkcs1_v1_5_enc_423_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
23558
.n = (const u8*)&rsa_pkcs1_v1_5_enc_424_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
2357
.n = (const u8*)&rsa_oaep_42_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
23621
.n = (const u8*)&rsa_pkcs1_v1_5_enc_425_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
23669
.n = (const u8*)&rsa_pkcs1_v1_5_enc_426_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
23732
.n = (const u8*)&rsa_pkcs1_v1_5_enc_427_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
23780
.n = (const u8*)&rsa_pkcs1_v1_5_enc_428_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
23843
.n = (const u8*)&rsa_pkcs1_v1_5_enc_429_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
23891
.n = (const u8*)&rsa_pkcs1_v1_5_enc_430_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
23954
.n = (const u8*)&rsa_pkcs1_v1_5_enc_431_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
24002
.n = (const u8*)&rsa_pkcs1_v1_5_enc_432_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
24065
.n = (const u8*)&rsa_pkcs1_v1_5_enc_433_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
24113
.n = (const u8*)&rsa_pkcs1_v1_5_enc_434_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
24176
.n = (const u8*)&rsa_pkcs1_v1_5_enc_435_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
2420
.n = (const u8*)&rsa_oaep_43_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
24224
.n = (const u8*)&rsa_pkcs1_v1_5_enc_436_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
24287
.n = (const u8*)&rsa_pkcs1_v1_5_enc_437_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
24335
.n = (const u8*)&rsa_pkcs1_v1_5_enc_438_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
24398
.n = (const u8*)&rsa_pkcs1_v1_5_enc_439_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
24446
.n = (const u8*)&rsa_pkcs1_v1_5_enc_440_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
24509
.n = (const u8*)&rsa_pkcs1_v1_5_enc_441_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
24557
.n = (const u8*)&rsa_pkcs1_v1_5_enc_442_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
24620
.n = (const u8*)&rsa_pkcs1_v1_5_enc_443_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
24668
.n = (const u8*)&rsa_pkcs1_v1_5_enc_444_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
2468
.n = (const u8*)&rsa_oaep_44_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
24731
.n = (const u8*)&rsa_pkcs1_v1_5_enc_445_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
24779
.n = (const u8*)&rsa_pkcs1_v1_5_enc_446_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
248
.n = (const u8*)&rsa_oaep_4_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
24842
.n = (const u8*)&rsa_pkcs1_v1_5_enc_447_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
24890
.n = (const u8*)&rsa_pkcs1_v1_5_enc_448_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
24953
.n = (const u8*)&rsa_pkcs1_v1_5_enc_449_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
25001
.n = (const u8*)&rsa_pkcs1_v1_5_enc_450_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
25064
.n = (const u8*)&rsa_pkcs1_v1_5_enc_451_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
25112
.n = (const u8*)&rsa_pkcs1_v1_5_enc_452_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
25175
.n = (const u8*)&rsa_pkcs1_v1_5_enc_453_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
25223
.n = (const u8*)&rsa_pkcs1_v1_5_enc_454_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
25286
.n = (const u8*)&rsa_pkcs1_v1_5_enc_455_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
2531
.n = (const u8*)&rsa_oaep_45_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
25334
.n = (const u8*)&rsa_pkcs1_v1_5_enc_456_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
25397
.n = (const u8*)&rsa_pkcs1_v1_5_enc_457_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
25445
.n = (const u8*)&rsa_pkcs1_v1_5_enc_458_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
25508
.n = (const u8*)&rsa_pkcs1_v1_5_enc_459_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
25556
.n = (const u8*)&rsa_pkcs1_v1_5_enc_460_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
25619
.n = (const u8*)&rsa_pkcs1_v1_5_enc_461_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
25667
.n = (const u8*)&rsa_pkcs1_v1_5_enc_462_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
25730
.n = (const u8*)&rsa_pkcs1_v1_5_enc_463_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
25778
.n = (const u8*)&rsa_pkcs1_v1_5_enc_464_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
2579
.n = (const u8*)&rsa_oaep_46_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
25841
.n = (const u8*)&rsa_pkcs1_v1_5_enc_465_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
25889
.n = (const u8*)&rsa_pkcs1_v1_5_enc_466_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
25952
.n = (const u8*)&rsa_pkcs1_v1_5_enc_467_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
26
.n = (const u8*)&rsa_oaep_0_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
26000
.n = (const u8*)&rsa_pkcs1_v1_5_enc_468_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
26063
.n = (const u8*)&rsa_pkcs1_v1_5_enc_469_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
26111
.n = (const u8*)&rsa_pkcs1_v1_5_enc_470_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
26174
.n = (const u8*)&rsa_pkcs1_v1_5_enc_471_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
26222
.n = (const u8*)&rsa_pkcs1_v1_5_enc_472_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
26285
.n = (const u8*)&rsa_pkcs1_v1_5_enc_473_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
26333
.n = (const u8*)&rsa_pkcs1_v1_5_enc_474_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
26396
.n = (const u8*)&rsa_pkcs1_v1_5_enc_475_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
2642
.n = (const u8*)&rsa_oaep_47_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
26444
.n = (const u8*)&rsa_pkcs1_v1_5_enc_476_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
26507
.n = (const u8*)&rsa_pkcs1_v1_5_enc_477_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
26555
.n = (const u8*)&rsa_pkcs1_v1_5_enc_478_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
26618
.n = (const u8*)&rsa_pkcs1_v1_5_enc_479_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
26666
.n = (const u8*)&rsa_pkcs1_v1_5_enc_480_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
26729
.n = (const u8*)&rsa_pkcs1_v1_5_enc_481_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
26777
.n = (const u8*)&rsa_pkcs1_v1_5_enc_482_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
26840
.n = (const u8*)&rsa_pkcs1_v1_5_enc_483_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
26888
.n = (const u8*)&rsa_pkcs1_v1_5_enc_484_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
2690
.n = (const u8*)&rsa_oaep_48_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
26951
.n = (const u8*)&rsa_pkcs1_v1_5_enc_485_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
26999
.n = (const u8*)&rsa_pkcs1_v1_5_enc_486_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
27062
.n = (const u8*)&rsa_pkcs1_v1_5_enc_487_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
27110
.n = (const u8*)&rsa_pkcs1_v1_5_enc_488_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
27173
.n = (const u8*)&rsa_pkcs1_v1_5_enc_489_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
27221
.n = (const u8*)&rsa_pkcs1_v1_5_enc_490_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
27284
.n = (const u8*)&rsa_pkcs1_v1_5_enc_491_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
27332
.n = (const u8*)&rsa_pkcs1_v1_5_enc_492_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
27395
.n = (const u8*)&rsa_pkcs1_v1_5_enc_493_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
27443
.n = (const u8*)&rsa_pkcs1_v1_5_enc_494_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
27506
.n = (const u8*)&rsa_pkcs1_v1_5_enc_495_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
2753
.n = (const u8*)&rsa_oaep_49_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
27554
.n = (const u8*)&rsa_pkcs1_v1_5_enc_496_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
27617
.n = (const u8*)&rsa_pkcs1_v1_5_enc_497_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
27665
.n = (const u8*)&rsa_pkcs1_v1_5_enc_498_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
27728
.n = (const u8*)&rsa_pkcs1_v1_5_enc_499_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
27776
.n = (const u8*)&rsa_pkcs1_v1_5_enc_500_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
27839
.n = (const u8*)&rsa_pkcs1_v1_5_enc_501_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
27887
.n = (const u8*)&rsa_pkcs1_v1_5_enc_502_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
27950
.n = (const u8*)&rsa_pkcs1_v1_5_enc_503_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
27998
.n = (const u8*)&rsa_pkcs1_v1_5_enc_504_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
2801
.n = (const u8*)&rsa_oaep_50_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
28061
.n = (const u8*)&rsa_pkcs1_v1_5_enc_505_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
28109
.n = (const u8*)&rsa_pkcs1_v1_5_enc_506_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
28172
.n = (const u8*)&rsa_pkcs1_v1_5_enc_507_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
28220
.n = (const u8*)&rsa_pkcs1_v1_5_enc_508_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
28283
.n = (const u8*)&rsa_pkcs1_v1_5_enc_509_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
28331
.n = (const u8*)&rsa_pkcs1_v1_5_enc_510_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
28394
.n = (const u8*)&rsa_pkcs1_v1_5_enc_511_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
28442
.n = (const u8*)&rsa_pkcs1_v1_5_enc_512_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
28505
.n = (const u8*)&rsa_pkcs1_v1_5_enc_513_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
28553
.n = (const u8*)&rsa_pkcs1_v1_5_enc_514_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
28616
.n = (const u8*)&rsa_pkcs1_v1_5_enc_515_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
2864
.n = (const u8*)&rsa_oaep_51_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
28664
.n = (const u8*)&rsa_pkcs1_v1_5_enc_516_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
28727
.n = (const u8*)&rsa_pkcs1_v1_5_enc_517_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
28775
.n = (const u8*)&rsa_pkcs1_v1_5_enc_518_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
28838
.n = (const u8*)&rsa_pkcs1_v1_5_enc_519_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
28886
.n = (const u8*)&rsa_pkcs1_v1_5_enc_520_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
28949
.n = (const u8*)&rsa_pkcs1_v1_5_enc_521_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
28997
.n = (const u8*)&rsa_pkcs1_v1_5_enc_522_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
29060
.n = (const u8*)&rsa_pkcs1_v1_5_enc_523_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
29108
.n = (const u8*)&rsa_pkcs1_v1_5_enc_524_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
2912
.n = (const u8*)&rsa_oaep_52_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
29171
.n = (const u8*)&rsa_pkcs1_v1_5_enc_525_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
29219
.n = (const u8*)&rsa_pkcs1_v1_5_enc_526_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
29282
.n = (const u8*)&rsa_pkcs1_v1_5_enc_527_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
29330
.n = (const u8*)&rsa_pkcs1_v1_5_enc_528_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
29393
.n = (const u8*)&rsa_pkcs1_v1_5_enc_529_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
29441
.n = (const u8*)&rsa_pkcs1_v1_5_enc_530_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
29504
.n = (const u8*)&rsa_pkcs1_v1_5_enc_531_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
29552
.n = (const u8*)&rsa_pkcs1_v1_5_enc_532_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
29615
.n = (const u8*)&rsa_pkcs1_v1_5_enc_533_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
29663
.n = (const u8*)&rsa_pkcs1_v1_5_enc_534_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
29726
.n = (const u8*)&rsa_pkcs1_v1_5_enc_535_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
2975
.n = (const u8*)&rsa_oaep_53_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
29774
.n = (const u8*)&rsa_pkcs1_v1_5_enc_536_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
29837
.n = (const u8*)&rsa_pkcs1_v1_5_enc_537_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
29885
.n = (const u8*)&rsa_pkcs1_v1_5_enc_538_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
29948
.n = (const u8*)&rsa_pkcs1_v1_5_enc_539_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
29996
.n = (const u8*)&rsa_pkcs1_v1_5_enc_540_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
30059
.n = (const u8*)&rsa_pkcs1_v1_5_enc_541_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
30107
.n = (const u8*)&rsa_pkcs1_v1_5_enc_542_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
30170
.n = (const u8*)&rsa_pkcs1_v1_5_enc_543_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
30218
.n = (const u8*)&rsa_pkcs1_v1_5_enc_544_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
3023
.n = (const u8*)&rsa_oaep_54_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
30281
.n = (const u8*)&rsa_pkcs1_v1_5_enc_545_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
30329
.n = (const u8*)&rsa_pkcs1_v1_5_enc_546_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
30392
.n = (const u8*)&rsa_pkcs1_v1_5_enc_547_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
30440
.n = (const u8*)&rsa_pkcs1_v1_5_enc_548_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
30503
.n = (const u8*)&rsa_pkcs1_v1_5_enc_549_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
30551
.n = (const u8*)&rsa_pkcs1_v1_5_enc_550_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
30614
.n = (const u8*)&rsa_pkcs1_v1_5_enc_551_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
30662
.n = (const u8*)&rsa_pkcs1_v1_5_enc_552_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
30725
.n = (const u8*)&rsa_pkcs1_v1_5_enc_553_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
30773
.n = (const u8*)&rsa_pkcs1_v1_5_enc_554_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
30836
.n = (const u8*)&rsa_pkcs1_v1_5_enc_555_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
3086
.n = (const u8*)&rsa_oaep_55_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
30884
.n = (const u8*)&rsa_pkcs1_v1_5_enc_556_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
30947
.n = (const u8*)&rsa_pkcs1_v1_5_enc_557_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
30995
.n = (const u8*)&rsa_pkcs1_v1_5_enc_558_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
31058
.n = (const u8*)&rsa_pkcs1_v1_5_enc_559_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
311
.n = (const u8*)&rsa_oaep_5_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
31106
.n = (const u8*)&rsa_pkcs1_v1_5_enc_560_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
31169
.n = (const u8*)&rsa_pkcs1_v1_5_enc_561_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
31217
.n = (const u8*)&rsa_pkcs1_v1_5_enc_562_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
31280
.n = (const u8*)&rsa_pkcs1_v1_5_enc_563_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
31328
.n = (const u8*)&rsa_pkcs1_v1_5_enc_564_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
3134
.n = (const u8*)&rsa_oaep_56_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
31391
.n = (const u8*)&rsa_pkcs1_v1_5_enc_565_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
31439
.n = (const u8*)&rsa_pkcs1_v1_5_enc_566_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
31502
.n = (const u8*)&rsa_pkcs1_v1_5_enc_567_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
31550
.n = (const u8*)&rsa_pkcs1_v1_5_enc_568_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
31613
.n = (const u8*)&rsa_pkcs1_v1_5_enc_569_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
31661
.n = (const u8*)&rsa_pkcs1_v1_5_enc_570_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
31724
.n = (const u8*)&rsa_pkcs1_v1_5_enc_571_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
31772
.n = (const u8*)&rsa_pkcs1_v1_5_enc_572_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
31835
.n = (const u8*)&rsa_pkcs1_v1_5_enc_573_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
31883
.n = (const u8*)&rsa_pkcs1_v1_5_enc_574_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
31946
.n = (const u8*)&rsa_pkcs1_v1_5_enc_575_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
3197
.n = (const u8*)&rsa_oaep_57_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
31994
.n = (const u8*)&rsa_pkcs1_v1_5_enc_576_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
32057
.n = (const u8*)&rsa_pkcs1_v1_5_enc_577_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
32105
.n = (const u8*)&rsa_pkcs1_v1_5_enc_578_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
32168
.n = (const u8*)&rsa_pkcs1_v1_5_enc_579_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
32216
.n = (const u8*)&rsa_pkcs1_v1_5_enc_580_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
32279
.n = (const u8*)&rsa_pkcs1_v1_5_enc_581_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
32327
.n = (const u8*)&rsa_pkcs1_v1_5_enc_582_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
32390
.n = (const u8*)&rsa_pkcs1_v1_5_enc_583_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
32438
.n = (const u8*)&rsa_pkcs1_v1_5_enc_584_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
3245
.n = (const u8*)&rsa_oaep_58_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
32501
.n = (const u8*)&rsa_pkcs1_v1_5_enc_585_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
32549
.n = (const u8*)&rsa_pkcs1_v1_5_enc_586_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
32612
.n = (const u8*)&rsa_pkcs1_v1_5_enc_587_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
32660
.n = (const u8*)&rsa_pkcs1_v1_5_enc_588_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
32723
.n = (const u8*)&rsa_pkcs1_v1_5_enc_589_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
32771
.n = (const u8*)&rsa_pkcs1_v1_5_enc_590_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
32834
.n = (const u8*)&rsa_pkcs1_v1_5_enc_591_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
32882
.n = (const u8*)&rsa_pkcs1_v1_5_enc_592_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
32945
.n = (const u8*)&rsa_pkcs1_v1_5_enc_593_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
32993
.n = (const u8*)&rsa_pkcs1_v1_5_enc_594_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
33056
.n = (const u8*)&rsa_pkcs1_v1_5_enc_595_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
3308
.n = (const u8*)&rsa_oaep_59_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
33104
.n = (const u8*)&rsa_pkcs1_v1_5_enc_596_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
33167
.n = (const u8*)&rsa_pkcs1_v1_5_enc_597_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
33215
.n = (const u8*)&rsa_pkcs1_v1_5_enc_598_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
33278
.n = (const u8*)&rsa_pkcs1_v1_5_enc_599_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
33326
.n = (const u8*)&rsa_pkcs1_v1_5_enc_600_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
33389
.n = (const u8*)&rsa_pkcs1_v1_5_enc_601_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
33437
.n = (const u8*)&rsa_pkcs1_v1_5_enc_602_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
33500
.n = (const u8*)&rsa_pkcs1_v1_5_enc_603_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
33548
.n = (const u8*)&rsa_pkcs1_v1_5_enc_604_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
3356
.n = (const u8*)&rsa_oaep_60_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
33611
.n = (const u8*)&rsa_pkcs1_v1_5_enc_605_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
33659
.n = (const u8*)&rsa_pkcs1_v1_5_enc_606_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
33722
.n = (const u8*)&rsa_pkcs1_v1_5_enc_607_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
33770
.n = (const u8*)&rsa_pkcs1_v1_5_enc_608_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
33833
.n = (const u8*)&rsa_pkcs1_v1_5_enc_609_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
33881
.n = (const u8*)&rsa_pkcs1_v1_5_enc_610_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
33944
.n = (const u8*)&rsa_pkcs1_v1_5_enc_611_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
33992
.n = (const u8*)&rsa_pkcs1_v1_5_enc_612_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
34055
.n = (const u8*)&rsa_pkcs1_v1_5_enc_613_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
34103
.n = (const u8*)&rsa_pkcs1_v1_5_enc_614_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
34166
.n = (const u8*)&rsa_pkcs1_v1_5_enc_615_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
3419
.n = (const u8*)&rsa_oaep_61_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
34214
.n = (const u8*)&rsa_pkcs1_v1_5_enc_616_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
34277
.n = (const u8*)&rsa_pkcs1_v1_5_enc_617_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
34325
.n = (const u8*)&rsa_pkcs1_v1_5_enc_618_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
34388
.n = (const u8*)&rsa_pkcs1_v1_5_enc_619_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
34436
.n = (const u8*)&rsa_pkcs1_v1_5_enc_620_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
34499
.n = (const u8*)&rsa_pkcs1_v1_5_enc_621_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
34547
.n = (const u8*)&rsa_pkcs1_v1_5_enc_622_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
34610
.n = (const u8*)&rsa_pkcs1_v1_5_enc_623_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
34658
.n = (const u8*)&rsa_pkcs1_v1_5_enc_624_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
3467
.n = (const u8*)&rsa_oaep_62_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
34721
.n = (const u8*)&rsa_pkcs1_v1_5_enc_625_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
34769
.n = (const u8*)&rsa_pkcs1_v1_5_enc_626_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
34832
.n = (const u8*)&rsa_pkcs1_v1_5_enc_627_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
34880
.n = (const u8*)&rsa_pkcs1_v1_5_enc_628_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
34943
.n = (const u8*)&rsa_pkcs1_v1_5_enc_629_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
34991
.n = (const u8*)&rsa_pkcs1_v1_5_enc_630_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
35054
.n = (const u8*)&rsa_pkcs1_v1_5_enc_631_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
35102
.n = (const u8*)&rsa_pkcs1_v1_5_enc_632_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
35165
.n = (const u8*)&rsa_pkcs1_v1_5_enc_633_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
35213
.n = (const u8*)&rsa_pkcs1_v1_5_enc_634_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
35276
.n = (const u8*)&rsa_pkcs1_v1_5_enc_635_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
3530
.n = (const u8*)&rsa_oaep_63_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
35324
.n = (const u8*)&rsa_pkcs1_v1_5_enc_636_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
35387
.n = (const u8*)&rsa_pkcs1_v1_5_enc_637_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
35435
.n = (const u8*)&rsa_pkcs1_v1_5_enc_638_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
35498
.n = (const u8*)&rsa_pkcs1_v1_5_enc_639_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
35546
.n = (const u8*)&rsa_pkcs1_v1_5_enc_640_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
35609
.n = (const u8*)&rsa_pkcs1_v1_5_enc_641_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
35657
.n = (const u8*)&rsa_pkcs1_v1_5_enc_642_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
35720
.n = (const u8*)&rsa_pkcs1_v1_5_enc_643_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
35768
.n = (const u8*)&rsa_pkcs1_v1_5_enc_644_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
3578
.n = (const u8*)&rsa_oaep_64_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
35831
.n = (const u8*)&rsa_pkcs1_v1_5_enc_645_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
35879
.n = (const u8*)&rsa_pkcs1_v1_5_enc_646_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
359
.n = (const u8*)&rsa_oaep_6_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
35942
.n = (const u8*)&rsa_pkcs1_v1_5_enc_647_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
35990
.n = (const u8*)&rsa_pkcs1_v1_5_enc_648_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
36053
.n = (const u8*)&rsa_pkcs1_v1_5_enc_649_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
36101
.n = (const u8*)&rsa_pkcs1_v1_5_enc_650_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
36164
.n = (const u8*)&rsa_pkcs1_v1_5_enc_651_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
36212
.n = (const u8*)&rsa_pkcs1_v1_5_enc_652_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
36275
.n = (const u8*)&rsa_pkcs1_v1_5_enc_653_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
36323
.n = (const u8*)&rsa_pkcs1_v1_5_enc_654_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
36386
.n = (const u8*)&rsa_pkcs1_v1_5_enc_655_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
3641
.n = (const u8*)&rsa_oaep_65_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
36434
.n = (const u8*)&rsa_pkcs1_v1_5_enc_656_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
36497
.n = (const u8*)&rsa_pkcs1_v1_5_enc_657_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
36545
.n = (const u8*)&rsa_pkcs1_v1_5_enc_658_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
36608
.n = (const u8*)&rsa_pkcs1_v1_5_enc_659_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
36656
.n = (const u8*)&rsa_pkcs1_v1_5_enc_660_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
36719
.n = (const u8*)&rsa_pkcs1_v1_5_enc_661_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
36767
.n = (const u8*)&rsa_pkcs1_v1_5_enc_662_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
36830
.n = (const u8*)&rsa_pkcs1_v1_5_enc_663_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
36878
.n = (const u8*)&rsa_pkcs1_v1_5_enc_664_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
3689
.n = (const u8*)&rsa_oaep_66_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
36941
.n = (const u8*)&rsa_pkcs1_v1_5_enc_665_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
36989
.n = (const u8*)&rsa_pkcs1_v1_5_enc_666_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
37052
.n = (const u8*)&rsa_pkcs1_v1_5_enc_667_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
37100
.n = (const u8*)&rsa_pkcs1_v1_5_enc_668_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
37163
.n = (const u8*)&rsa_pkcs1_v1_5_enc_669_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
37211
.n = (const u8*)&rsa_pkcs1_v1_5_enc_670_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
37274
.n = (const u8*)&rsa_pkcs1_v1_5_enc_671_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
37322
.n = (const u8*)&rsa_pkcs1_v1_5_enc_672_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
37385
.n = (const u8*)&rsa_pkcs1_v1_5_enc_673_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
37433
.n = (const u8*)&rsa_pkcs1_v1_5_enc_674_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
37496
.n = (const u8*)&rsa_pkcs1_v1_5_enc_675_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
3752
.n = (const u8*)&rsa_oaep_67_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
37544
.n = (const u8*)&rsa_pkcs1_v1_5_enc_676_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
37607
.n = (const u8*)&rsa_pkcs1_v1_5_enc_677_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
37655
.n = (const u8*)&rsa_pkcs1_v1_5_enc_678_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
37718
.n = (const u8*)&rsa_pkcs1_v1_5_enc_679_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
37766
.n = (const u8*)&rsa_pkcs1_v1_5_enc_680_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
37829
.n = (const u8*)&rsa_pkcs1_v1_5_enc_681_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
37877
.n = (const u8*)&rsa_pkcs1_v1_5_enc_682_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
37940
.n = (const u8*)&rsa_pkcs1_v1_5_enc_683_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
37988
.n = (const u8*)&rsa_pkcs1_v1_5_enc_684_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
3800
.n = (const u8*)&rsa_oaep_68_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
38051
.n = (const u8*)&rsa_pkcs1_v1_5_enc_685_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
38099
.n = (const u8*)&rsa_pkcs1_v1_5_enc_686_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
38162
.n = (const u8*)&rsa_pkcs1_v1_5_enc_687_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
38210
.n = (const u8*)&rsa_pkcs1_v1_5_enc_688_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
38273
.n = (const u8*)&rsa_pkcs1_v1_5_enc_689_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
38321
.n = (const u8*)&rsa_pkcs1_v1_5_enc_690_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
38384
.n = (const u8*)&rsa_pkcs1_v1_5_enc_691_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
38432
.n = (const u8*)&rsa_pkcs1_v1_5_enc_692_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
38495
.n = (const u8*)&rsa_pkcs1_v1_5_enc_693_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
38543
.n = (const u8*)&rsa_pkcs1_v1_5_enc_694_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
38606
.n = (const u8*)&rsa_pkcs1_v1_5_enc_695_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
3863
.n = (const u8*)&rsa_oaep_69_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
38654
.n = (const u8*)&rsa_pkcs1_v1_5_enc_696_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
38717
.n = (const u8*)&rsa_pkcs1_v1_5_enc_697_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
38765
.n = (const u8*)&rsa_pkcs1_v1_5_enc_698_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
38828
.n = (const u8*)&rsa_pkcs1_v1_5_enc_699_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
38876
.n = (const u8*)&rsa_pkcs1_v1_5_enc_700_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
38939
.n = (const u8*)&rsa_pkcs1_v1_5_enc_701_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
38987
.n = (const u8*)&rsa_pkcs1_v1_5_enc_702_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
39050
.n = (const u8*)&rsa_pkcs1_v1_5_enc_703_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
39098
.n = (const u8*)&rsa_pkcs1_v1_5_enc_704_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
3911
.n = (const u8*)&rsa_oaep_70_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
39161
.n = (const u8*)&rsa_pkcs1_v1_5_enc_705_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
39209
.n = (const u8*)&rsa_pkcs1_v1_5_enc_706_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
39272
.n = (const u8*)&rsa_pkcs1_v1_5_enc_707_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
39320
.n = (const u8*)&rsa_pkcs1_v1_5_enc_708_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
39383
.n = (const u8*)&rsa_pkcs1_v1_5_enc_709_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
39431
.n = (const u8*)&rsa_pkcs1_v1_5_enc_710_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
39494
.n = (const u8*)&rsa_pkcs1_v1_5_enc_711_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
39542
.n = (const u8*)&rsa_pkcs1_v1_5_enc_712_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
39605
.n = (const u8*)&rsa_pkcs1_v1_5_enc_713_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
39653
.n = (const u8*)&rsa_pkcs1_v1_5_enc_714_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
39716
.n = (const u8*)&rsa_pkcs1_v1_5_enc_715_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
3974
.n = (const u8*)&rsa_oaep_71_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
39764
.n = (const u8*)&rsa_pkcs1_v1_5_enc_716_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
39827
.n = (const u8*)&rsa_pkcs1_v1_5_enc_717_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
39875
.n = (const u8*)&rsa_pkcs1_v1_5_enc_718_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
39938
.n = (const u8*)&rsa_pkcs1_v1_5_enc_719_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
39986
.n = (const u8*)&rsa_pkcs1_v1_5_enc_720_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
40049
.n = (const u8*)&rsa_pkcs1_v1_5_enc_721_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
40097
.n = (const u8*)&rsa_pkcs1_v1_5_enc_722_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
40160
.n = (const u8*)&rsa_pkcs1_v1_5_enc_723_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
40208
.n = (const u8*)&rsa_pkcs1_v1_5_enc_724_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
4022
.n = (const u8*)&rsa_oaep_72_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
40271
.n = (const u8*)&rsa_pkcs1_v1_5_enc_725_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
40319
.n = (const u8*)&rsa_pkcs1_v1_5_enc_726_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
40382
.n = (const u8*)&rsa_pkcs1_v1_5_enc_727_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
40430
.n = (const u8*)&rsa_pkcs1_v1_5_enc_728_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
40493
.n = (const u8*)&rsa_pkcs1_v1_5_enc_729_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
40541
.n = (const u8*)&rsa_pkcs1_v1_5_enc_730_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
40604
.n = (const u8*)&rsa_pkcs1_v1_5_enc_731_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
40652
.n = (const u8*)&rsa_pkcs1_v1_5_enc_732_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
40715
.n = (const u8*)&rsa_pkcs1_v1_5_enc_733_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
40763
.n = (const u8*)&rsa_pkcs1_v1_5_enc_734_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
40826
.n = (const u8*)&rsa_pkcs1_v1_5_enc_735_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
4085
.n = (const u8*)&rsa_oaep_73_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
40874
.n = (const u8*)&rsa_pkcs1_v1_5_enc_736_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
40937
.n = (const u8*)&rsa_pkcs1_v1_5_enc_737_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
40985
.n = (const u8*)&rsa_pkcs1_v1_5_enc_738_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
41048
.n = (const u8*)&rsa_pkcs1_v1_5_enc_739_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
41096
.n = (const u8*)&rsa_pkcs1_v1_5_enc_740_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
41159
.n = (const u8*)&rsa_pkcs1_v1_5_enc_741_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
41207
.n = (const u8*)&rsa_pkcs1_v1_5_enc_742_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
41270
.n = (const u8*)&rsa_pkcs1_v1_5_enc_743_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
41318
.n = (const u8*)&rsa_pkcs1_v1_5_enc_744_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
4133
.n = (const u8*)&rsa_oaep_74_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
41381
.n = (const u8*)&rsa_pkcs1_v1_5_enc_745_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
41429
.n = (const u8*)&rsa_pkcs1_v1_5_enc_746_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
41492
.n = (const u8*)&rsa_pkcs1_v1_5_enc_747_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
41540
.n = (const u8*)&rsa_pkcs1_v1_5_enc_748_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
41603
.n = (const u8*)&rsa_pkcs1_v1_5_enc_749_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
41651
.n = (const u8*)&rsa_pkcs1_v1_5_enc_750_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
41714
.n = (const u8*)&rsa_pkcs1_v1_5_enc_751_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
41762
.n = (const u8*)&rsa_pkcs1_v1_5_enc_752_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
41825
.n = (const u8*)&rsa_pkcs1_v1_5_enc_753_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
41873
.n = (const u8*)&rsa_pkcs1_v1_5_enc_754_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
41936
.n = (const u8*)&rsa_pkcs1_v1_5_enc_755_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
4196
.n = (const u8*)&rsa_oaep_75_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
41984
.n = (const u8*)&rsa_pkcs1_v1_5_enc_756_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
42047
.n = (const u8*)&rsa_pkcs1_v1_5_enc_757_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
42095
.n = (const u8*)&rsa_pkcs1_v1_5_enc_758_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
42158
.n = (const u8*)&rsa_pkcs1_v1_5_enc_759_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
422
.n = (const u8*)&rsa_oaep_7_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
42206
.n = (const u8*)&rsa_pkcs1_v1_5_enc_760_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
42269
.n = (const u8*)&rsa_pkcs1_v1_5_enc_761_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
42317
.n = (const u8*)&rsa_pkcs1_v1_5_enc_762_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
42380
.n = (const u8*)&rsa_pkcs1_v1_5_enc_763_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
42428
.n = (const u8*)&rsa_pkcs1_v1_5_enc_764_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
4244
.n = (const u8*)&rsa_oaep_76_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
42491
.n = (const u8*)&rsa_pkcs1_v1_5_enc_765_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
42539
.n = (const u8*)&rsa_pkcs1_v1_5_enc_766_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
42602
.n = (const u8*)&rsa_pkcs1_v1_5_enc_767_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
42650
.n = (const u8*)&rsa_pkcs1_v1_5_enc_768_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
42713
.n = (const u8*)&rsa_pkcs1_v1_5_enc_769_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
42761
.n = (const u8*)&rsa_pkcs1_v1_5_enc_770_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
42824
.n = (const u8*)&rsa_pkcs1_v1_5_enc_771_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
42872
.n = (const u8*)&rsa_pkcs1_v1_5_enc_772_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
42935
.n = (const u8*)&rsa_pkcs1_v1_5_enc_773_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
42983
.n = (const u8*)&rsa_pkcs1_v1_5_enc_774_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
43046
.n = (const u8*)&rsa_pkcs1_v1_5_enc_775_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
4307
.n = (const u8*)&rsa_oaep_77_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
43094
.n = (const u8*)&rsa_pkcs1_v1_5_enc_776_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
43157
.n = (const u8*)&rsa_pkcs1_v1_5_enc_777_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
43205
.n = (const u8*)&rsa_pkcs1_v1_5_enc_778_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
43268
.n = (const u8*)&rsa_pkcs1_v1_5_enc_779_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
43316
.n = (const u8*)&rsa_pkcs1_v1_5_enc_780_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
43379
.n = (const u8*)&rsa_pkcs1_v1_5_enc_781_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
43427
.n = (const u8*)&rsa_pkcs1_v1_5_enc_782_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
43490
.n = (const u8*)&rsa_pkcs1_v1_5_enc_783_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
43538
.n = (const u8*)&rsa_pkcs1_v1_5_enc_784_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
4355
.n = (const u8*)&rsa_oaep_78_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
43601
.n = (const u8*)&rsa_pkcs1_v1_5_enc_785_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
43649
.n = (const u8*)&rsa_pkcs1_v1_5_enc_786_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
43712
.n = (const u8*)&rsa_pkcs1_v1_5_enc_787_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
43760
.n = (const u8*)&rsa_pkcs1_v1_5_enc_788_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
43823
.n = (const u8*)&rsa_pkcs1_v1_5_enc_789_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
43871
.n = (const u8*)&rsa_pkcs1_v1_5_enc_790_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
43934
.n = (const u8*)&rsa_pkcs1_v1_5_enc_791_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
43982
.n = (const u8*)&rsa_pkcs1_v1_5_enc_792_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
44045
.n = (const u8*)&rsa_pkcs1_v1_5_enc_793_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
44093
.n = (const u8*)&rsa_pkcs1_v1_5_enc_794_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
44156
.n = (const u8*)&rsa_pkcs1_v1_5_enc_795_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
4418
.n = (const u8*)&rsa_oaep_79_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
44204
.n = (const u8*)&rsa_pkcs1_v1_5_enc_796_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
44267
.n = (const u8*)&rsa_pkcs1_v1_5_enc_797_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
44315
.n = (const u8*)&rsa_pkcs1_v1_5_enc_798_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
44378
.n = (const u8*)&rsa_pkcs1_v1_5_enc_799_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
44426
.n = (const u8*)&rsa_pkcs1_v1_5_enc_800_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
44489
.n = (const u8*)&rsa_pkcs1_v1_5_enc_801_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
44537
.n = (const u8*)&rsa_pkcs1_v1_5_enc_802_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
44600
.n = (const u8*)&rsa_pkcs1_v1_5_enc_803_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
44648
.n = (const u8*)&rsa_pkcs1_v1_5_enc_804_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
4466
.n = (const u8*)&rsa_oaep_80_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
44711
.n = (const u8*)&rsa_pkcs1_v1_5_enc_805_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
44759
.n = (const u8*)&rsa_pkcs1_v1_5_enc_806_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
44822
.n = (const u8*)&rsa_pkcs1_v1_5_enc_807_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
44870
.n = (const u8*)&rsa_pkcs1_v1_5_enc_808_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
44933
.n = (const u8*)&rsa_pkcs1_v1_5_enc_809_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
44981
.n = (const u8*)&rsa_pkcs1_v1_5_enc_810_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
45044
.n = (const u8*)&rsa_pkcs1_v1_5_enc_811_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
45092
.n = (const u8*)&rsa_pkcs1_v1_5_enc_812_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
45155
.n = (const u8*)&rsa_pkcs1_v1_5_enc_813_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
45203
.n = (const u8*)&rsa_pkcs1_v1_5_enc_814_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
45266
.n = (const u8*)&rsa_pkcs1_v1_5_enc_815_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
4529
.n = (const u8*)&rsa_oaep_81_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
45314
.n = (const u8*)&rsa_pkcs1_v1_5_enc_816_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
45377
.n = (const u8*)&rsa_pkcs1_v1_5_enc_817_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
45425
.n = (const u8*)&rsa_pkcs1_v1_5_enc_818_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
45488
.n = (const u8*)&rsa_pkcs1_v1_5_enc_819_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
45536
.n = (const u8*)&rsa_pkcs1_v1_5_enc_820_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
45599
.n = (const u8*)&rsa_pkcs1_v1_5_enc_821_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
45647
.n = (const u8*)&rsa_pkcs1_v1_5_enc_822_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
45710
.n = (const u8*)&rsa_pkcs1_v1_5_enc_823_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
45758
.n = (const u8*)&rsa_pkcs1_v1_5_enc_824_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
4577
.n = (const u8*)&rsa_oaep_82_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
45821
.n = (const u8*)&rsa_pkcs1_v1_5_enc_825_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
45869
.n = (const u8*)&rsa_pkcs1_v1_5_enc_826_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
45932
.n = (const u8*)&rsa_pkcs1_v1_5_enc_827_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
45980
.n = (const u8*)&rsa_pkcs1_v1_5_enc_828_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
46043
.n = (const u8*)&rsa_pkcs1_v1_5_enc_829_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
46091
.n = (const u8*)&rsa_pkcs1_v1_5_enc_830_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
46154
.n = (const u8*)&rsa_pkcs1_v1_5_enc_831_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
46202
.n = (const u8*)&rsa_pkcs1_v1_5_enc_832_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
46265
.n = (const u8*)&rsa_pkcs1_v1_5_enc_833_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
46313
.n = (const u8*)&rsa_pkcs1_v1_5_enc_834_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
46376
.n = (const u8*)&rsa_pkcs1_v1_5_enc_835_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
4640
.n = (const u8*)&rsa_oaep_83_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
46424
.n = (const u8*)&rsa_pkcs1_v1_5_enc_836_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
46487
.n = (const u8*)&rsa_pkcs1_v1_5_enc_837_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
46535
.n = (const u8*)&rsa_pkcs1_v1_5_enc_838_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
46598
.n = (const u8*)&rsa_pkcs1_v1_5_enc_839_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
46643
.n = (const u8*)&rsa_pkcs1_v1_5_sig_840_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
46703
.n = (const u8*)&rsa_pkcs1_v1_5_sig_841_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
46748
.n = (const u8*)&rsa_pkcs1_v1_5_sig_842_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
46808
.n = (const u8*)&rsa_pkcs1_v1_5_sig_843_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
46853
.n = (const u8*)&rsa_pkcs1_v1_5_sig_844_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
4688
.n = (const u8*)&rsa_oaep_84_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
46913
.n = (const u8*)&rsa_pkcs1_v1_5_sig_845_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
46958
.n = (const u8*)&rsa_pkcs1_v1_5_sig_846_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
470
.n = (const u8*)&rsa_oaep_8_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
47018
.n = (const u8*)&rsa_pkcs1_v1_5_sig_847_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
47063
.n = (const u8*)&rsa_pkcs1_v1_5_sig_848_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
47123
.n = (const u8*)&rsa_pkcs1_v1_5_sig_849_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
47168
.n = (const u8*)&rsa_pkcs1_v1_5_sig_850_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
47228
.n = (const u8*)&rsa_pkcs1_v1_5_sig_851_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
47273
.n = (const u8*)&rsa_pkcs1_v1_5_sig_852_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
47333
.n = (const u8*)&rsa_pkcs1_v1_5_sig_853_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
47378
.n = (const u8*)&rsa_pkcs1_v1_5_sig_854_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
47438
.n = (const u8*)&rsa_pkcs1_v1_5_sig_855_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
47483
.n = (const u8*)&rsa_pkcs1_v1_5_sig_856_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
4751
.n = (const u8*)&rsa_oaep_85_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
47543
.n = (const u8*)&rsa_pkcs1_v1_5_sig_857_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
47588
.n = (const u8*)&rsa_pkcs1_v1_5_sig_858_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
47648
.n = (const u8*)&rsa_pkcs1_v1_5_sig_859_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
47693
.n = (const u8*)&rsa_pkcs1_v1_5_sig_860_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
47753
.n = (const u8*)&rsa_pkcs1_v1_5_sig_861_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
47798
.n = (const u8*)&rsa_pkcs1_v1_5_sig_862_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
47858
.n = (const u8*)&rsa_pkcs1_v1_5_sig_863_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
47903
.n = (const u8*)&rsa_pkcs1_v1_5_sig_864_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
47963
.n = (const u8*)&rsa_pkcs1_v1_5_sig_865_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
4799
.n = (const u8*)&rsa_oaep_86_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
48008
.n = (const u8*)&rsa_pkcs1_v1_5_sig_866_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
48068
.n = (const u8*)&rsa_pkcs1_v1_5_sig_867_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
48113
.n = (const u8*)&rsa_pkcs1_v1_5_sig_868_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
48173
.n = (const u8*)&rsa_pkcs1_v1_5_sig_869_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
48218
.n = (const u8*)&rsa_pkcs1_v1_5_sig_870_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
48278
.n = (const u8*)&rsa_pkcs1_v1_5_sig_871_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
48323
.n = (const u8*)&rsa_pkcs1_v1_5_sig_872_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
48383
.n = (const u8*)&rsa_pkcs1_v1_5_sig_873_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
48428
.n = (const u8*)&rsa_pkcs1_v1_5_sig_874_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
48488
.n = (const u8*)&rsa_pkcs1_v1_5_sig_875_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
48533
.n = (const u8*)&rsa_pkcs1_v1_5_sig_876_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
48593
.n = (const u8*)&rsa_pkcs1_v1_5_sig_877_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
4862
.n = (const u8*)&rsa_oaep_87_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
48638
.n = (const u8*)&rsa_pkcs1_v1_5_sig_878_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
48698
.n = (const u8*)&rsa_pkcs1_v1_5_sig_879_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
48743
.n = (const u8*)&rsa_pkcs1_v1_5_sig_880_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
48803
.n = (const u8*)&rsa_pkcs1_v1_5_sig_881_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
48848
.n = (const u8*)&rsa_pkcs1_v1_5_sig_882_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
48908
.n = (const u8*)&rsa_pkcs1_v1_5_sig_883_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
48953
.n = (const u8*)&rsa_pkcs1_v1_5_sig_884_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
49013
.n = (const u8*)&rsa_pkcs1_v1_5_sig_885_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
49058
.n = (const u8*)&rsa_pkcs1_v1_5_sig_886_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
4910
.n = (const u8*)&rsa_oaep_88_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
49118
.n = (const u8*)&rsa_pkcs1_v1_5_sig_887_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
49163
.n = (const u8*)&rsa_pkcs1_v1_5_sig_888_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
49223
.n = (const u8*)&rsa_pkcs1_v1_5_sig_889_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
49268
.n = (const u8*)&rsa_pkcs1_v1_5_sig_890_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
49328
.n = (const u8*)&rsa_pkcs1_v1_5_sig_891_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
49373
.n = (const u8*)&rsa_pkcs1_v1_5_sig_892_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
49433
.n = (const u8*)&rsa_pkcs1_v1_5_sig_893_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
49478
.n = (const u8*)&rsa_pkcs1_v1_5_sig_894_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
49538
.n = (const u8*)&rsa_pkcs1_v1_5_sig_895_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
49583
.n = (const u8*)&rsa_pkcs1_v1_5_sig_896_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
49643
.n = (const u8*)&rsa_pkcs1_v1_5_sig_897_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
49688
.n = (const u8*)&rsa_pkcs1_v1_5_sig_898_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
4973
.n = (const u8*)&rsa_oaep_89_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
49748
.n = (const u8*)&rsa_pkcs1_v1_5_sig_899_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
49793
.n = (const u8*)&rsa_pkcs1_v1_5_sig_900_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
49853
.n = (const u8*)&rsa_pkcs1_v1_5_sig_901_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
49898
.n = (const u8*)&rsa_pkcs1_v1_5_sig_902_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
49958
.n = (const u8*)&rsa_pkcs1_v1_5_sig_903_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
50003
.n = (const u8*)&rsa_pkcs1_v1_5_sig_904_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
50063
.n = (const u8*)&rsa_pkcs1_v1_5_sig_905_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
50108
.n = (const u8*)&rsa_pkcs1_v1_5_sig_906_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
50168
.n = (const u8*)&rsa_pkcs1_v1_5_sig_907_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
5021
.n = (const u8*)&rsa_oaep_90_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
50213
.n = (const u8*)&rsa_pkcs1_v1_5_sig_908_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
50273
.n = (const u8*)&rsa_pkcs1_v1_5_sig_909_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
50318
.n = (const u8*)&rsa_pkcs1_v1_5_sig_910_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
50378
.n = (const u8*)&rsa_pkcs1_v1_5_sig_911_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
50423
.n = (const u8*)&rsa_pkcs1_v1_5_sig_912_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
50483
.n = (const u8*)&rsa_pkcs1_v1_5_sig_913_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
50528
.n = (const u8*)&rsa_pkcs1_v1_5_sig_914_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
50588
.n = (const u8*)&rsa_pkcs1_v1_5_sig_915_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
50633
.n = (const u8*)&rsa_pkcs1_v1_5_sig_916_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
50693
.n = (const u8*)&rsa_pkcs1_v1_5_sig_917_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
50738
.n = (const u8*)&rsa_pkcs1_v1_5_sig_918_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
50798
.n = (const u8*)&rsa_pkcs1_v1_5_sig_919_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
5084
.n = (const u8*)&rsa_oaep_91_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
50843
.n = (const u8*)&rsa_pkcs1_v1_5_sig_920_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
50903
.n = (const u8*)&rsa_pkcs1_v1_5_sig_921_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
50948
.n = (const u8*)&rsa_pkcs1_v1_5_sig_922_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
51008
.n = (const u8*)&rsa_pkcs1_v1_5_sig_923_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
51053
.n = (const u8*)&rsa_pkcs1_v1_5_sig_924_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
51113
.n = (const u8*)&rsa_pkcs1_v1_5_sig_925_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
51158
.n = (const u8*)&rsa_pkcs1_v1_5_sig_926_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
51218
.n = (const u8*)&rsa_pkcs1_v1_5_sig_927_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
51263
.n = (const u8*)&rsa_pkcs1_v1_5_sig_928_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
5132
.n = (const u8*)&rsa_oaep_92_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
51323
.n = (const u8*)&rsa_pkcs1_v1_5_sig_929_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
51368
.n = (const u8*)&rsa_pkcs1_v1_5_sig_930_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
51428
.n = (const u8*)&rsa_pkcs1_v1_5_sig_931_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
51473
.n = (const u8*)&rsa_pkcs1_v1_5_sig_932_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
51533
.n = (const u8*)&rsa_pkcs1_v1_5_sig_933_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
51578
.n = (const u8*)&rsa_pkcs1_v1_5_sig_934_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
51638
.n = (const u8*)&rsa_pkcs1_v1_5_sig_935_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
51683
.n = (const u8*)&rsa_pkcs1_v1_5_sig_936_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
51743
.n = (const u8*)&rsa_pkcs1_v1_5_sig_937_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
51788
.n = (const u8*)&rsa_pkcs1_v1_5_sig_938_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
51848
.n = (const u8*)&rsa_pkcs1_v1_5_sig_939_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
51893
.n = (const u8*)&rsa_pkcs1_v1_5_sig_940_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
5195
.n = (const u8*)&rsa_oaep_93_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
51953
.n = (const u8*)&rsa_pkcs1_v1_5_sig_941_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
51998
.n = (const u8*)&rsa_pkcs1_v1_5_sig_942_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
52058
.n = (const u8*)&rsa_pkcs1_v1_5_sig_943_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
52103
.n = (const u8*)&rsa_pkcs1_v1_5_sig_944_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
52163
.n = (const u8*)&rsa_pkcs1_v1_5_sig_945_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
52208
.n = (const u8*)&rsa_pkcs1_v1_5_sig_946_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
52268
.n = (const u8*)&rsa_pkcs1_v1_5_sig_947_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
52313
.n = (const u8*)&rsa_pkcs1_v1_5_sig_948_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
52373
.n = (const u8*)&rsa_pkcs1_v1_5_sig_949_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
52418
.n = (const u8*)&rsa_pkcs1_v1_5_sig_950_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
5243
.n = (const u8*)&rsa_oaep_94_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
52478
.n = (const u8*)&rsa_pkcs1_v1_5_sig_951_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
52523
.n = (const u8*)&rsa_pkcs1_v1_5_sig_952_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
52583
.n = (const u8*)&rsa_pkcs1_v1_5_sig_953_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
52628
.n = (const u8*)&rsa_pkcs1_v1_5_sig_954_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
52688
.n = (const u8*)&rsa_pkcs1_v1_5_sig_955_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
52733
.n = (const u8*)&rsa_pkcs1_v1_5_sig_956_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
52793
.n = (const u8*)&rsa_pkcs1_v1_5_sig_957_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
52838
.n = (const u8*)&rsa_pkcs1_v1_5_sig_958_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
52898
.n = (const u8*)&rsa_pkcs1_v1_5_sig_959_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
52943
.n = (const u8*)&rsa_pkcs1_v1_5_sig_960_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
53003
.n = (const u8*)&rsa_pkcs1_v1_5_sig_961_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
53048
.n = (const u8*)&rsa_pkcs1_v1_5_sig_962_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
5306
.n = (const u8*)&rsa_oaep_95_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
53108
.n = (const u8*)&rsa_pkcs1_v1_5_sig_963_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
53153
.n = (const u8*)&rsa_pkcs1_v1_5_sig_964_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
53213
.n = (const u8*)&rsa_pkcs1_v1_5_sig_965_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
53258
.n = (const u8*)&rsa_pkcs1_v1_5_sig_966_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
533
.n = (const u8*)&rsa_oaep_9_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
53318
.n = (const u8*)&rsa_pkcs1_v1_5_sig_967_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
53363
.n = (const u8*)&rsa_pkcs1_v1_5_sig_968_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
53423
.n = (const u8*)&rsa_pkcs1_v1_5_sig_969_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
53468
.n = (const u8*)&rsa_pkcs1_v1_5_sig_970_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
53528
.n = (const u8*)&rsa_pkcs1_v1_5_sig_971_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
5354
.n = (const u8*)&rsa_oaep_96_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
53573
.n = (const u8*)&rsa_pkcs1_v1_5_sig_972_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
53633
.n = (const u8*)&rsa_pkcs1_v1_5_sig_973_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
53678
.n = (const u8*)&rsa_pkcs1_v1_5_sig_974_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
53738
.n = (const u8*)&rsa_pkcs1_v1_5_sig_975_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
53783
.n = (const u8*)&rsa_pkcs1_v1_5_sig_976_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
53843
.n = (const u8*)&rsa_pkcs1_v1_5_sig_977_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
53888
.n = (const u8*)&rsa_pkcs1_v1_5_sig_978_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
53948
.n = (const u8*)&rsa_pkcs1_v1_5_sig_979_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
53993
.n = (const u8*)&rsa_pkcs1_v1_5_sig_980_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
54053
.n = (const u8*)&rsa_pkcs1_v1_5_sig_981_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
54098
.n = (const u8*)&rsa_pkcs1_v1_5_sig_982_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
54158
.n = (const u8*)&rsa_pkcs1_v1_5_sig_983_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
5417
.n = (const u8*)&rsa_oaep_97_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
54203
.n = (const u8*)&rsa_pkcs1_v1_5_sig_984_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
54263
.n = (const u8*)&rsa_pkcs1_v1_5_sig_985_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
54308
.n = (const u8*)&rsa_pkcs1_v1_5_sig_986_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
54368
.n = (const u8*)&rsa_pkcs1_v1_5_sig_987_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
54413
.n = (const u8*)&rsa_pkcs1_v1_5_sig_988_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
54473
.n = (const u8*)&rsa_pkcs1_v1_5_sig_989_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
54518
.n = (const u8*)&rsa_pkcs1_v1_5_sig_990_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
54578
.n = (const u8*)&rsa_pkcs1_v1_5_sig_991_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
54623
.n = (const u8*)&rsa_pkcs1_v1_5_sig_992_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
5465
.n = (const u8*)&rsa_oaep_98_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
54683
.n = (const u8*)&rsa_pkcs1_v1_5_sig_993_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
54728
.n = (const u8*)&rsa_pkcs1_v1_5_sig_994_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
54788
.n = (const u8*)&rsa_pkcs1_v1_5_sig_995_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
54833
.n = (const u8*)&rsa_pkcs1_v1_5_sig_996_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
54893
.n = (const u8*)&rsa_pkcs1_v1_5_sig_997_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
54938
.n = (const u8*)&rsa_pkcs1_v1_5_sig_998_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
54998
.n = (const u8*)&rsa_pkcs1_v1_5_sig_999_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
55043
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1000_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
55103
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1001_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
55148
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1002_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
55208
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1003_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
55253
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1004_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
5528
.n = (const u8*)&rsa_oaep_99_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
55313
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1005_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
55358
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1006_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
55418
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1007_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
55463
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1008_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
55523
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1009_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
55568
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1010_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
55628
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1011_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
55673
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1012_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
55733
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1013_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
5576
.n = (const u8*)&rsa_oaep_100_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
55778
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1014_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
55838
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1015_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
55883
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1016_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
55943
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1017_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
55988
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1018_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
56048
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1019_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
56093
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1020_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
56153
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1021_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
56198
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1022_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
56258
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1023_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
56303
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1024_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
56363
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1025_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
5639
.n = (const u8*)&rsa_oaep_101_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
56408
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1026_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
56468
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1027_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
56513
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1028_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
56573
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1029_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
56618
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1030_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
56678
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1031_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
56723
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1032_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
56783
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1033_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
56828
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1034_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
5687
.n = (const u8*)&rsa_oaep_102_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
56888
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1035_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
56933
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1036_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
56993
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1037_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
57038
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1038_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
57098
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1039_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
57143
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1040_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
57203
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1041_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
57248
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1042_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
57308
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1043_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
57353
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1044_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
57413
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1045_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
57458
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1046_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
5750
.n = (const u8*)&rsa_oaep_103_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
57518
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1047_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
57563
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1048_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
57623
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1049_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
57668
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1050_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
57728
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1051_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
57773
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1052_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
57833
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1053_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
57878
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1054_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
57938
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1055_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
5798
.n = (const u8*)&rsa_oaep_104_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
57983
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1056_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
58043
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1057_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
58088
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1058_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
581
.n = (const u8*)&rsa_oaep_10_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
58148
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1059_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
58193
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1060_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
58253
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1061_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
58298
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1062_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
58358
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1063_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
58403
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1064_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
58463
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1065_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
58508
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1066_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
58568
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1067_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
5861
.n = (const u8*)&rsa_oaep_105_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
58613
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1068_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
58673
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1069_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
58718
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1070_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
58778
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1071_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
58823
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1072_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
58883
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1073_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
58928
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1074_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
58988
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1075_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
59033
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1076_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
5909
.n = (const u8*)&rsa_oaep_106_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
59093
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1077_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
59138
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1078_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
59198
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1079_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
59243
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1080_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
59303
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1081_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
59348
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1082_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
59408
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1083_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
59453
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1084_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
59513
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1085_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
59558
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1086_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
59618
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1087_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
59663
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1088_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
5972
.n = (const u8*)&rsa_oaep_107_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
59723
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1089_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
59768
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1090_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
59828
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1091_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
59873
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1092_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
59933
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1093_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
59978
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1094_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
60038
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1095_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
60083
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1096_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
60143
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1097_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
60188
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1098_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
6020
.n = (const u8*)&rsa_oaep_108_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
60248
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1099_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
60293
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1100_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
60353
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1101_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
60398
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1102_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
60458
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1103_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
60503
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1104_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
60563
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1105_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
60608
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1106_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
60668
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1107_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
60713
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1108_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
60773
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1109_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
60818
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1110_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
6083
.n = (const u8*)&rsa_oaep_109_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
60878
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1111_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
60923
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1112_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
60983
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1113_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
61028
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1114_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
61088
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1115_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
61133
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1116_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
61193
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1117_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
61238
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1118_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
61298
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1119_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
6131
.n = (const u8*)&rsa_oaep_110_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
61343
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1120_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
61403
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1121_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
61448
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1122_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
61508
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1123_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
61553
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1124_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
61613
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1125_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
61658
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1126_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
61718
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1127_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
61763
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1128_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
61823
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1129_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
61868
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1130_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
61928
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1131_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
6194
.n = (const u8*)&rsa_oaep_111_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
61973
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1132_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
62033
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1133_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
62078
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1134_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
62138
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1135_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
62183
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1136_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
62243
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1137_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
62288
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1138_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
62348
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1139_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
62393
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1140_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
6242
.n = (const u8*)&rsa_oaep_112_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
62453
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1141_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
62498
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1142_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
62558
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1143_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
62603
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1144_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
62663
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1145_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
62708
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1146_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
62768
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1147_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
62813
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1148_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
62873
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1149_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
62918
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1150_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
62978
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1151_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
63023
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1152_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
6305
.n = (const u8*)&rsa_oaep_113_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
63083
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1153_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
63128
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1154_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
63188
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1155_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
63233
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1156_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
63293
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1157_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
63338
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1158_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
63398
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1159_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
63443
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1160_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
63503
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1161_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
6353
.n = (const u8*)&rsa_oaep_114_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
63548
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1162_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
63608
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1163_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
63653
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1164_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
63713
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1165_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
63758
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1166_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
63818
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1167_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
63863
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1168_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
63923
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1169_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
63968
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1170_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
64028
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1171_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
64073
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1172_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
64133
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1173_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
6416
.n = (const u8*)&rsa_oaep_115_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
64178
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1174_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
64238
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1175_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
64283
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1176_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
64343
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1177_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
64388
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1178_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
644
.n = (const u8*)&rsa_oaep_11_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
64448
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1179_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
64493
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1180_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
64553
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1181_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
64598
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1182_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
6464
.n = (const u8*)&rsa_oaep_116_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
64658
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1183_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
64703
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1184_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
64763
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1185_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
64808
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1186_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
64868
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1187_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
64913
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1188_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
64973
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1189_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
65018
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1190_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
65078
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1191_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
65123
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1192_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
65183
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1193_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
65228
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1194_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
6527
.n = (const u8*)&rsa_oaep_117_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
65288
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1195_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
65333
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1196_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
65393
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1197_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
65438
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1198_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
65498
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1199_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
65543
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1200_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
65603
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1201_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
65648
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1202_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
65708
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1203_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
6575
.n = (const u8*)&rsa_oaep_118_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
65753
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1204_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
65813
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1205_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
65858
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1206_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
65918
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1207_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
65963
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1208_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
66023
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1209_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
66068
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1210_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
66128
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1211_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
66173
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1212_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
66233
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1213_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
66278
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1214_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
66338
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1215_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
6638
.n = (const u8*)&rsa_oaep_119_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
66383
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1216_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
66443
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1217_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
66488
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1218_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
66548
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1219_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
66593
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1220_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
66653
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1221_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
66698
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1222_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
66758
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1223_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
66803
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1224_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
6686
.n = (const u8*)&rsa_pss_120_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
66863
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1225_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
66908
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1226_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
66968
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1227_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
67013
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1228_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
67073
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1229_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
67118
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1230_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
67178
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1231_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
67223
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1232_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
67283
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1233_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
67328
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1234_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
67388
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1235_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
67433
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1236_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
6749
.n = (const u8*)&rsa_pss_121_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
67493
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1237_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
67538
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1238_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
67598
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1239_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
67643
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1240_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
67703
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1241_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
67748
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1242_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
67808
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1243_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
67853
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1244_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
67913
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1245_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
67958
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1246_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
6797
.n = (const u8*)&rsa_pss_122_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
68018
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1247_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
68063
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1248_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
68123
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1249_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
68168
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1250_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
68228
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1251_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
68273
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1252_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
68333
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1253_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
68378
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1254_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
68438
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1255_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
68483
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1256_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
68543
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1257_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
68588
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1258_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
6860
.n = (const u8*)&rsa_pss_123_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
68648
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1259_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
68693
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1260_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
68753
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1261_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
68798
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1262_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
68858
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1263_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
68903
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1264_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
68963
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1265_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
69008
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1266_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
69068
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1267_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
6908
.n = (const u8*)&rsa_pss_124_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
69113
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1268_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
69173
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1269_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
692
.n = (const u8*)&rsa_oaep_12_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
69218
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1270_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
69278
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1271_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
69323
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1272_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
69383
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1273_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
69428
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1274_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
69488
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1275_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
69533
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1276_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
69593
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1277_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
69638
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1278_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
69698
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1279_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
6971
.n = (const u8*)&rsa_pss_125_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
69743
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1280_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
69803
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1281_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
69848
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1282_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
69908
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1283_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
69953
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1284_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
70013
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1285_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
70058
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1286_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
70118
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1287_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
70163
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1288_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
7019
.n = (const u8*)&rsa_pss_126_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
70223
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1289_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
70268
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1290_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
70328
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1291_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
70373
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1292_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
70433
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1293_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
70478
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1294_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
70538
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1295_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
70583
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1296_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
70643
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1297_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
70688
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1298_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
70748
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1299_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
70793
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1300_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
7082
.n = (const u8*)&rsa_pss_127_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
70853
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1301_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
70898
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1302_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
70958
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1303_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
71003
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1304_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
71063
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1305_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
71108
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1306_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
71168
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1307_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
71213
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1308_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
71273
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1309_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
7130
.n = (const u8*)&rsa_pss_128_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
71318
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1310_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
71378
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1311_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
71423
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1312_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
71483
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1313_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
71528
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1314_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
71588
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1315_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
71633
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1316_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
71693
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1317_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
71738
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1318_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
71798
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1319_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
71843
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1320_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
71903
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1321_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
7193
.n = (const u8*)&rsa_pss_129_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
71948
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1322_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
72008
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1323_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
72053
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1324_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
72113
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1325_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
72158
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1326_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
72218
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1327_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
72263
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1328_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
72323
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1329_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
72368
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1330_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
7241
.n = (const u8*)&rsa_pss_130_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
72428
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1331_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
72473
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1332_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
72533
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1333_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
72578
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1334_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
72638
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1335_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
72683
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1336_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
72743
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1337_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
72788
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1338_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
72848
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1339_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
72893
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1340_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
72953
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1341_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
72998
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1342_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
7304
.n = (const u8*)&rsa_pss_131_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
73058
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1343_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
73103
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1344_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
73163
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1345_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
73208
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1346_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
73268
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1347_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
73313
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1348_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
73373
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1349_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
73418
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1350_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
73478
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1351_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
7352
.n = (const u8*)&rsa_pss_132_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
73523
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1352_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
73583
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1353_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
73628
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1354_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
73688
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1355_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
73733
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1356_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
73793
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1357_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
73838
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1358_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
73898
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1359_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
73943
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1360_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
74003
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1361_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
74048
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1362_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
74108
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1363_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
7415
.n = (const u8*)&rsa_pss_133_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
74153
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1364_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
74213
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1365_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
74258
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1366_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
74318
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1367_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
74363
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1368_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
74423
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1369_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
74468
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1370_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
74528
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1371_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
74573
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1372_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
7463
.n = (const u8*)&rsa_pss_134_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
74633
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1373_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
74678
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1374_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
74738
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1375_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
74783
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1376_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
74843
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1377_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
74888
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1378_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
74948
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1379_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
74993
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1380_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
75053
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1381_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
75098
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1382_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
75158
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1383_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
75203
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1384_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
7526
.n = (const u8*)&rsa_pss_135_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
75263
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1385_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
75308
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1386_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
75368
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1387_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
75413
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1388_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
75473
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1389_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
755
.n = (const u8*)&rsa_oaep_13_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
75518
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1390_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
75578
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1391_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
75623
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1392_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
75683
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1393_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
75728
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1394_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
7574
.n = (const u8*)&rsa_pss_136_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
75788
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1395_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
75833
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1396_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
75893
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1397_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
75938
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1398_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
75998
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1399_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
76043
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1400_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
76103
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1401_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
76148
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1402_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
76208
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1403_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
76253
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1404_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
76313
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1405_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
76358
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1406_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
7637
.n = (const u8*)&rsa_pss_137_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
76418
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1407_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
76463
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1408_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
76523
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1409_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
76568
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1410_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
76628
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1411_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
76673
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1412_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
76733
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1413_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
76778
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1414_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
76838
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1415_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
7685
.n = (const u8*)&rsa_pss_138_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
76883
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1416_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
76943
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1417_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
76988
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1418_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
77048
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1419_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
77093
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1420_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
77153
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1421_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
77198
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1422_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
77258
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1423_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
77303
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1424_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
77363
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1425_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
77408
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1426_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
77468
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1427_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
7748
.n = (const u8*)&rsa_pss_139_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
77513
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1428_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
77573
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1429_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
77618
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1430_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
77678
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1431_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
77723
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1432_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
77783
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1433_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
77828
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1434_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
77888
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1435_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
77933
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1436_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
7796
.n = (const u8*)&rsa_pss_140_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
77993
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1437_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
78038
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1438_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
78098
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1439_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
78143
.n = (const u8*)&rsa_pss_sign_1440_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
78203
.n = (const u8*)&rsa_pss_sign_1441_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
78248
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1442_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
78308
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1443_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
78353
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1444_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
78413
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1445_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
78458
.n = (const u8*)&rsa_oaep_enc_1446_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
78518
.n = (const u8*)&rsa_oaep_enc_1447_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
78563
.n = (const u8*)&rsa_pss_sign_1448_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
7859
.n = (const u8*)&rsa_pss_141_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
78623
.n = (const u8*)&rsa_pss_sign_1449_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
78668
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1450_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
78728
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1451_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
78773
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1452_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
78833
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1453_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
78878
.n = (const u8*)&rsa_oaep_enc_1454_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
78938
.n = (const u8*)&rsa_oaep_enc_1455_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
78983
.n = (const u8*)&rsa_pss_sign_1456_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
79043
.n = (const u8*)&rsa_pss_sign_1457_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
7907
.n = (const u8*)&rsa_pss_142_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
79088
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1458_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
79148
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1459_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
79193
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1460_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
79253
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1461_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
79298
.n = (const u8*)&rsa_oaep_enc_1462_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
79358
.n = (const u8*)&rsa_oaep_enc_1463_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
79403
.n = (const u8*)&rsa_pss_sign_1464_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
79463
.n = (const u8*)&rsa_pss_sign_1465_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
79508
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1466_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
79568
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1467_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
79613
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1468_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
79673
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1469_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
7970
.n = (const u8*)&rsa_pss_143_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
79718
.n = (const u8*)&rsa_oaep_enc_1470_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
79778
.n = (const u8*)&rsa_oaep_enc_1471_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
79823
.n = (const u8*)&rsa_pss_sign_1472_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
79883
.n = (const u8*)&rsa_pss_sign_1473_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
79928
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1474_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
79988
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1475_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
80033
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1476_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
80093
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1477_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
80138
.n = (const u8*)&rsa_oaep_enc_1478_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
8018
.n = (const u8*)&rsa_pss_144_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
80198
.n = (const u8*)&rsa_oaep_enc_1479_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
80243
.n = (const u8*)&rsa_pss_sign_1480_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
803
.n = (const u8*)&rsa_oaep_14_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
80303
.n = (const u8*)&rsa_pss_sign_1481_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
80348
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1482_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
80408
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1483_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
80453
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1484_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
80513
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1485_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
80558
.n = (const u8*)&rsa_oaep_enc_1486_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
80618
.n = (const u8*)&rsa_oaep_enc_1487_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
80663
.n = (const u8*)&rsa_pss_sign_1488_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
80723
.n = (const u8*)&rsa_pss_sign_1489_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
80768
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1490_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
8081
.n = (const u8*)&rsa_pss_145_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
80828
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1491_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
80873
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1492_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
80933
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1493_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
80978
.n = (const u8*)&rsa_oaep_enc_1494_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
81038
.n = (const u8*)&rsa_oaep_enc_1495_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
81083
.n = (const u8*)&rsa_pss_sign_1496_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
81143
.n = (const u8*)&rsa_pss_sign_1497_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
81188
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1498_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
81248
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1499_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
8129
.n = (const u8*)&rsa_pss_146_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
81293
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1500_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
81353
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1501_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
81398
.n = (const u8*)&rsa_oaep_enc_1502_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
81458
.n = (const u8*)&rsa_oaep_enc_1503_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
81503
.n = (const u8*)&rsa_pss_sign_1504_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
81563
.n = (const u8*)&rsa_pss_sign_1505_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
81608
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1506_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
81668
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1507_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
81713
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1508_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
81773
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1509_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
81818
.n = (const u8*)&rsa_oaep_enc_1510_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
81878
.n = (const u8*)&rsa_oaep_enc_1511_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
8192
.n = (const u8*)&rsa_pss_147_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
81923
.n = (const u8*)&rsa_pss_sign_1512_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
81983
.n = (const u8*)&rsa_pss_sign_1513_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
82028
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1514_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
82088
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1515_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
82133
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1516_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
82193
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1517_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
82238
.n = (const u8*)&rsa_oaep_enc_1518_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
82298
.n = (const u8*)&rsa_oaep_enc_1519_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
82343
.n = (const u8*)&rsa_pss_sign_1520_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
8240
.n = (const u8*)&rsa_pss_148_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
82403
.n = (const u8*)&rsa_pss_sign_1521_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
82448
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1522_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
82508
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1523_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
82553
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1524_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
82613
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1525_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
82658
.n = (const u8*)&rsa_oaep_enc_1526_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
82718
.n = (const u8*)&rsa_oaep_enc_1527_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
82763
.n = (const u8*)&rsa_pss_sign_1528_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
82823
.n = (const u8*)&rsa_pss_sign_1529_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
82868
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1530_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
82928
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1531_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
82973
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1532_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
8303
.n = (const u8*)&rsa_pss_149_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
83033
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1533_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
83078
.n = (const u8*)&rsa_oaep_enc_1534_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
83138
.n = (const u8*)&rsa_oaep_enc_1535_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
83183
.n = (const u8*)&rsa_pss_sign_1536_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
83243
.n = (const u8*)&rsa_pss_sign_1537_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
83288
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1538_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
83348
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1539_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
83393
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1540_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
83453
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1541_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
83498
.n = (const u8*)&rsa_oaep_enc_1542_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
8351
.n = (const u8*)&rsa_pss_150_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
83558
.n = (const u8*)&rsa_oaep_enc_1543_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
83603
.n = (const u8*)&rsa_pss_sign_1544_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
83663
.n = (const u8*)&rsa_pss_sign_1545_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
83708
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1546_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
83768
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1547_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
83813
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1548_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
83873
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1549_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
83918
.n = (const u8*)&rsa_oaep_enc_1550_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
83978
.n = (const u8*)&rsa_oaep_enc_1551_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
84023
.n = (const u8*)&rsa_pss_sign_1552_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
84083
.n = (const u8*)&rsa_pss_sign_1553_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
84128
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1554_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
8414
.n = (const u8*)&rsa_pss_151_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
84188
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1555_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
84233
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1556_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
84293
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1557_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
84338
.n = (const u8*)&rsa_oaep_enc_1558_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
84398
.n = (const u8*)&rsa_oaep_enc_1559_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
84443
.n = (const u8*)&rsa_pss_sign_1560_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
84503
.n = (const u8*)&rsa_pss_sign_1561_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
84548
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1562_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
84608
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1563_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
8462
.n = (const u8*)&rsa_pss_152_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
84653
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1564_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
84713
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1565_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
84758
.n = (const u8*)&rsa_oaep_enc_1566_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
84818
.n = (const u8*)&rsa_oaep_enc_1567_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
84863
.n = (const u8*)&rsa_pss_sign_1568_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
84923
.n = (const u8*)&rsa_pss_sign_1569_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
84968
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1570_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
85028
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1571_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
85073
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1572_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
85133
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1573_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
85178
.n = (const u8*)&rsa_oaep_enc_1574_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
85238
.n = (const u8*)&rsa_oaep_enc_1575_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
8525
.n = (const u8*)&rsa_pss_153_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
85283
.n = (const u8*)&rsa_pss_sign_1576_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
85343
.n = (const u8*)&rsa_pss_sign_1577_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
85388
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1578_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
85448
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1579_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
85493
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1580_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
85553
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1581_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
85598
.n = (const u8*)&rsa_oaep_enc_1582_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
85658
.n = (const u8*)&rsa_oaep_enc_1583_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
85703
.n = (const u8*)&rsa_pss_sign_1584_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
8573
.n = (const u8*)&rsa_pss_154_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
85763
.n = (const u8*)&rsa_pss_sign_1585_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
85808
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1586_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
85868
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1587_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
85913
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1588_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
85973
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1589_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
86018
.n = (const u8*)&rsa_oaep_enc_1590_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
86078
.n = (const u8*)&rsa_oaep_enc_1591_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
86123
.n = (const u8*)&rsa_pss_sign_1592_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
86183
.n = (const u8*)&rsa_pss_sign_1593_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
86228
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1594_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
86288
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1595_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
86333
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1596_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
8636
.n = (const u8*)&rsa_pss_155_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
86393
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1597_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
86438
.n = (const u8*)&rsa_oaep_enc_1598_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
86498
.n = (const u8*)&rsa_oaep_enc_1599_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
86543
.n = (const u8*)&rsa_pss_sign_1600_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
866
.n = (const u8*)&rsa_oaep_15_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
86603
.n = (const u8*)&rsa_pss_sign_1601_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
86648
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1602_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
86708
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1603_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
86753
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1604_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
86813
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1605_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
8684
.n = (const u8*)&rsa_pss_156_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
86858
.n = (const u8*)&rsa_oaep_enc_1606_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
86918
.n = (const u8*)&rsa_oaep_enc_1607_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
86963
.n = (const u8*)&rsa_pss_sign_1608_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
87023
.n = (const u8*)&rsa_pss_sign_1609_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
87068
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1610_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
87128
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1611_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
87173
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1612_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
87233
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1613_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
87278
.n = (const u8*)&rsa_oaep_enc_1614_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
87338
.n = (const u8*)&rsa_oaep_enc_1615_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
87383
.n = (const u8*)&rsa_pss_sign_1616_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
87443
.n = (const u8*)&rsa_pss_sign_1617_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
8747
.n = (const u8*)&rsa_pss_157_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
87488
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1618_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
87548
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1619_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
87593
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1620_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
87653
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1621_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
87698
.n = (const u8*)&rsa_oaep_enc_1622_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
87758
.n = (const u8*)&rsa_oaep_enc_1623_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
87803
.n = (const u8*)&rsa_pss_sign_1624_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
87863
.n = (const u8*)&rsa_pss_sign_1625_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
87908
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1626_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
8795
.n = (const u8*)&rsa_pss_158_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
87968
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1627_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
88013
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1628_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
88073
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1629_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
88118
.n = (const u8*)&rsa_oaep_enc_1630_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
88178
.n = (const u8*)&rsa_oaep_enc_1631_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
88223
.n = (const u8*)&rsa_pss_sign_1632_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
88283
.n = (const u8*)&rsa_pss_sign_1633_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
88328
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1634_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
88388
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1635_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
88433
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1636_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
88493
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1637_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
88538
.n = (const u8*)&rsa_oaep_enc_1638_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
8858
.n = (const u8*)&rsa_pss_159_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
88598
.n = (const u8*)&rsa_oaep_enc_1639_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
88643
.n = (const u8*)&rsa_pss_sign_1640_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
88703
.n = (const u8*)&rsa_pss_sign_1641_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
88748
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1642_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
88808
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1643_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
88853
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1644_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
88913
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1645_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
88958
.n = (const u8*)&rsa_oaep_enc_1646_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
89
.n = (const u8*)&rsa_oaep_1_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
89018
.n = (const u8*)&rsa_oaep_enc_1647_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
8906
.n = (const u8*)&rsa_pss_160_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
89063
.n = (const u8*)&rsa_pss_sign_1648_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
89123
.n = (const u8*)&rsa_pss_sign_1649_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
89168
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1650_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
89228
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1651_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
89273
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1652_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
89333
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1653_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
89378
.n = (const u8*)&rsa_oaep_enc_1654_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
89438
.n = (const u8*)&rsa_oaep_enc_1655_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
89483
.n = (const u8*)&rsa_pss_sign_1656_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
89543
.n = (const u8*)&rsa_pss_sign_1657_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
89588
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1658_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
89648
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1659_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
8969
.n = (const u8*)&rsa_pss_161_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
89693
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1660_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
89753
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1661_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
89798
.n = (const u8*)&rsa_oaep_enc_1662_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
89858
.n = (const u8*)&rsa_oaep_enc_1663_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
89903
.n = (const u8*)&rsa_pss_sign_1664_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
89963
.n = (const u8*)&rsa_pss_sign_1665_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
90008
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1666_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
90068
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1667_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
90113
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1668_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
9017
.n = (const u8*)&rsa_pss_162_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
90173
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1669_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
90218
.n = (const u8*)&rsa_oaep_enc_1670_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
90278
.n = (const u8*)&rsa_oaep_enc_1671_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
90323
.n = (const u8*)&rsa_pss_sign_1672_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
90383
.n = (const u8*)&rsa_pss_sign_1673_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
90428
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1674_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
90488
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1675_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
90533
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1676_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
90593
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1677_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
90638
.n = (const u8*)&rsa_oaep_enc_1678_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
90698
.n = (const u8*)&rsa_oaep_enc_1679_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
90743
.n = (const u8*)&rsa_pss_sign_1680_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
9080
.n = (const u8*)&rsa_pss_163_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
90803
.n = (const u8*)&rsa_pss_sign_1681_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
90848
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1682_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
90908
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1683_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
90953
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1684_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
91013
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1685_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
91058
.n = (const u8*)&rsa_oaep_enc_1686_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
91118
.n = (const u8*)&rsa_oaep_enc_1687_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
91163
.n = (const u8*)&rsa_pss_sign_1688_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
91223
.n = (const u8*)&rsa_pss_sign_1689_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
91268
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1690_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
9128
.n = (const u8*)&rsa_pss_164_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
91328
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1691_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
91373
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1692_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
914
.n = (const u8*)&rsa_oaep_16_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
91433
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1693_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
91478
.n = (const u8*)&rsa_oaep_enc_1694_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
91538
.n = (const u8*)&rsa_oaep_enc_1695_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
91583
.n = (const u8*)&rsa_pss_sign_1696_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
91643
.n = (const u8*)&rsa_pss_sign_1697_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
91688
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1698_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
91748
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1699_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
91793
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1700_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
91853
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1701_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
91898
.n = (const u8*)&rsa_oaep_enc_1702_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
9191
.n = (const u8*)&rsa_pss_165_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
91958
.n = (const u8*)&rsa_oaep_enc_1703_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
92003
.n = (const u8*)&rsa_pss_sign_1704_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
92063
.n = (const u8*)&rsa_pss_sign_1705_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
92108
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1706_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
92168
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1707_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
92213
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1708_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
92273
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1709_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
92318
.n = (const u8*)&rsa_oaep_enc_1710_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
92378
.n = (const u8*)&rsa_oaep_enc_1711_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
9239
.n = (const u8*)&rsa_pss_166_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
92423
.n = (const u8*)&rsa_pss_sign_1712_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
92483
.n = (const u8*)&rsa_pss_sign_1713_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
92528
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1714_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
92588
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1715_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
92633
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1716_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
92693
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1717_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
92738
.n = (const u8*)&rsa_oaep_enc_1718_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
92798
.n = (const u8*)&rsa_oaep_enc_1719_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
92843
.n = (const u8*)&rsa_pss_sign_1720_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
92903
.n = (const u8*)&rsa_pss_sign_1721_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
92948
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1722_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
93008
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1723_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
9302
.n = (const u8*)&rsa_pss_167_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
93053
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1724_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
93113
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1725_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
93158
.n = (const u8*)&rsa_oaep_enc_1726_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
93218
.n = (const u8*)&rsa_oaep_enc_1727_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
93263
.n = (const u8*)&rsa_pss_sign_1728_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
93323
.n = (const u8*)&rsa_pss_sign_1729_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
93368
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1730_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
93428
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1731_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
93473
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1732_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
9350
.n = (const u8*)&rsa_pss_168_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
93533
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1733_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
93578
.n = (const u8*)&rsa_oaep_enc_1734_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
93638
.n = (const u8*)&rsa_oaep_enc_1735_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
93683
.n = (const u8*)&rsa_pss_sign_1736_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
93743
.n = (const u8*)&rsa_pss_sign_1737_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
93788
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1738_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
93848
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1739_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
93893
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1740_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
93953
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1741_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
93998
.n = (const u8*)&rsa_oaep_enc_1742_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
94058
.n = (const u8*)&rsa_oaep_enc_1743_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
94103
.n = (const u8*)&rsa_pss_sign_1744_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
9413
.n = (const u8*)&rsa_pss_169_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
94163
.n = (const u8*)&rsa_pss_sign_1745_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
94208
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1746_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
94268
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1747_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
94313
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1748_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
94373
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1749_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
94418
.n = (const u8*)&rsa_oaep_enc_1750_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
94478
.n = (const u8*)&rsa_oaep_enc_1751_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
94523
.n = (const u8*)&rsa_pss_sign_1752_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
94583
.n = (const u8*)&rsa_pss_sign_1753_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
9461
.n = (const u8*)&rsa_pss_170_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
94628
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1754_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
94688
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1755_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
94733
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1756_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
94793
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1757_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
94838
.n = (const u8*)&rsa_oaep_enc_1758_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
94898
.n = (const u8*)&rsa_oaep_enc_1759_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
94943
.n = (const u8*)&rsa_pss_sign_1760_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
95003
.n = (const u8*)&rsa_pss_sign_1761_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
95048
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1762_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
95108
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1763_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
95153
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1764_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
95213
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1765_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
9524
.n = (const u8*)&rsa_pss_171_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
95258
.n = (const u8*)&rsa_oaep_enc_1766_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
95318
.n = (const u8*)&rsa_oaep_enc_1767_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
95363
.n = (const u8*)&rsa_pss_sign_1768_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
95423
.n = (const u8*)&rsa_pss_sign_1769_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
95468
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1770_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
95528
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1771_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
95573
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1772_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
95633
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1773_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
95678
.n = (const u8*)&rsa_oaep_enc_1774_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
9572
.n = (const u8*)&rsa_pss_172_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
95738
.n = (const u8*)&rsa_oaep_enc_1775_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
95783
.n = (const u8*)&rsa_pss_sign_1776_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
95843
.n = (const u8*)&rsa_pss_sign_1777_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
95888
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1778_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
95948
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1779_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
95993
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1780_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
96053
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1781_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
96098
.n = (const u8*)&rsa_oaep_enc_1782_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
96158
.n = (const u8*)&rsa_oaep_enc_1783_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
96203
.n = (const u8*)&rsa_pss_sign_1784_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
96263
.n = (const u8*)&rsa_pss_sign_1785_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
96308
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1786_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
9635
.n = (const u8*)&rsa_pss_173_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
96368
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1787_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
96413
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1788_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
96473
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1789_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
96518
.n = (const u8*)&rsa_oaep_enc_1790_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
96578
.n = (const u8*)&rsa_oaep_enc_1791_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
96623
.n = (const u8*)&rsa_pss_sign_1792_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
96683
.n = (const u8*)&rsa_pss_sign_1793_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
96728
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1794_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
96788
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1795_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
9683
.n = (const u8*)&rsa_pss_174_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
96833
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1796_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
96893
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1797_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
96938
.n = (const u8*)&rsa_oaep_enc_1798_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
96998
.n = (const u8*)&rsa_oaep_enc_1799_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
97043
.n = (const u8*)&rsa_pss_sign_1800_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
97103
.n = (const u8*)&rsa_pss_sign_1801_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
97148
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1802_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
97208
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1803_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
97253
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1804_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
97313
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1805_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
97358
.n = (const u8*)&rsa_oaep_enc_1806_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
97418
.n = (const u8*)&rsa_oaep_enc_1807_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
9746
.n = (const u8*)&rsa_pss_175_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
97463
.n = (const u8*)&rsa_pss_sign_1808_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
97523
.n = (const u8*)&rsa_pss_sign_1809_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
97568
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1810_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
97628
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1811_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
97673
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1812_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
977
.n = (const u8*)&rsa_oaep_17_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
97733
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1813_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
97778
.n = (const u8*)&rsa_oaep_enc_1814_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
97838
.n = (const u8*)&rsa_oaep_enc_1815_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
97883
.n = (const u8*)&rsa_pss_sign_1816_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
9794
.n = (const u8*)&rsa_pss_176_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
97943
.n = (const u8*)&rsa_pss_sign_1817_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
97988
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1818_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
98048
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1819_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
98093
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1820_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
98153
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1821_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
98198
.n = (const u8*)&rsa_oaep_enc_1822_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
98258
.n = (const u8*)&rsa_oaep_enc_1823_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
98303
.n = (const u8*)&rsa_pss_sign_1824_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
98363
.n = (const u8*)&rsa_pss_sign_1825_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
98408
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1826_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
98468
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1827_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
98513
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1828_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
9857
.n = (const u8*)&rsa_pss_177_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
98573
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1829_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
98618
.n = (const u8*)&rsa_oaep_enc_1830_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
98678
.n = (const u8*)&rsa_oaep_enc_1831_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
98723
.n = (const u8*)&rsa_pss_sign_1832_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
98783
.n = (const u8*)&rsa_pss_sign_1833_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
98828
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1834_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
98888
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1835_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
98933
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1836_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
98993
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1837_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
99038
.n = (const u8*)&rsa_oaep_enc_1838_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
9905
.n = (const u8*)&rsa_pss_178_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
99098
.n = (const u8*)&rsa_oaep_enc_1839_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
99143
.n = (const u8*)&rsa_pss_sign_1840_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
99203
.n = (const u8*)&rsa_pss_sign_1841_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
99248
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1842_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
99308
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1843_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
99353
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1844_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
99413
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1845_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
99458
.n = (const u8*)&rsa_oaep_enc_1846_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
99518
.n = (const u8*)&rsa_oaep_enc_1847_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
99563
.n = (const u8*)&rsa_pss_sign_1848_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
99623
.n = (const u8*)&rsa_pss_sign_1849_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
99668
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1850_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
9968
.n = (const u8*)&rsa_pss_179_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
99728
.n = (const u8*)&rsa_pkcs1_v1_5_sig_1851_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
99773
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1852_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
99833
.n = (const u8*)&rsa_pkcs1_v1_5_enc_1853_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
99878
.n = (const u8*)&rsa_oaep_enc_1854_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
99938
.n = (const u8*)&rsa_oaep_enc_1855_CRT_n,
crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
99983
.n = (const u8*)&rsa_pss_sign_1856_n,
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
29
const u8 *n;
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
67
ret = rsa_import_pub_key(&pub, t->n, (u16)t->nlen, t->e, (u16)t->elen); EG(ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
75
ret = rsa_import_simple_priv_key(&priv, t->n, (u16)t->nlen, t->d, (u16)t->dlen, NULL, 0, NULL, 0); EG(ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
77
ret = rsa_import_simple_priv_key(&priv_pq, t->n, (u16)t->nlen, t->d, (u16)t->dlen, t_->p, (u16)t_->plen, t_->q, (u16)t_->qlen); EG(ret, err1);
crypto/libecc/src/examples/sss/sss.c
125
ATTRIBUTE_WARN_UNUSED_RET static int _sss_raw_generate(sss_share *shares, u16 k, u16 n, sss_secret *secret, boolean input_secret)
crypto/libecc/src/examples/sss/sss.c
144
MUST_HAVE((n <= (u16)(0xffff - 1)), ret, err);
crypto/libecc/src/examples/sss/sss.c
145
MUST_HAVE((k <= n), ret, err);
crypto/libecc/src/examples/sss/sss.c
214
while(num_shares < n){
crypto/libecc/src/examples/sss/sss.c
426
int sss_generate(sss_share *shares, unsigned short k, unsigned short n, sss_secret *secret, boolean input_secret)
crypto/libecc/src/examples/sss/sss.c
436
ret = _sss_raw_generate(shares, k, n, secret, input_secret); EG(ret, err);
crypto/libecc/src/examples/sss/sss.c
446
for(i = 0; i < n; i++){
crypto/libecc/src/examples/sss/sss.c
48
#define GET_UINT16_BE(n, b, i) \
crypto/libecc/src/examples/sss/sss.c
50
(n) = (u16)( ((u16) (b)[(i) ]) << 8 ) \
crypto/libecc/src/examples/sss/sss.c
540
int sss_regenerate(sss_share *shares, unsigned short k, unsigned short n, sss_secret *secret)
crypto/libecc/src/examples/sss/sss.c
549
MUST_HAVE((n <= (u16)(0xffff - 1)), ret, err);
crypto/libecc/src/examples/sss/sss.c
550
MUST_HAVE((n >= k), ret, err);
crypto/libecc/src/examples/sss/sss.c
56
#define PUT_UINT16_BE(n, b, i) \
crypto/libecc/src/examples/sss/sss.c
58
(b)[(i) ] = (u8) ( (n) >> 8 ); \
crypto/libecc/src/examples/sss/sss.c
59
(b)[(i) + 1] = (u8) ( (n) ); \
crypto/libecc/src/examples/sss/sss.c
607
while(num_shares < (n - k)){
crypto/libecc/src/examples/sss/sss.h
75
ATTRIBUTE_WARN_UNUSED_RET int sss_generate(sss_share *shares, unsigned short k, unsigned short n, sss_secret *secret, boolean input_secret);
crypto/libecc/src/examples/sss/sss.h
96
ATTRIBUTE_WARN_UNUSED_RET int sss_regenerate(sss_share *shares, unsigned short k, unsigned short n, sss_secret *secret);
crypto/libecc/src/fp/fp_sqrt.c
112
int fp_sqrt(fp_t sqrt1, fp_t sqrt2, fp_src_t n)
crypto/libecc/src/fp/fp_sqrt.c
129
ret = fp_init(&z, n->ctx); EG(ret, err);
crypto/libecc/src/fp/fp_sqrt.c
130
ret = fp_init(&t, n->ctx); EG(ret, err);
crypto/libecc/src/fp/fp_sqrt.c
131
ret = fp_init(&b, n->ctx); EG(ret, err);
crypto/libecc/src/fp/fp_sqrt.c
132
ret = fp_init(&r, n->ctx); EG(ret, err);
crypto/libecc/src/fp/fp_sqrt.c
133
ret = fp_init(&c, n->ctx); EG(ret, err);
crypto/libecc/src/fp/fp_sqrt.c
134
ret = fp_init(&one_fp, n->ctx); EG(ret, err);
crypto/libecc/src/fp/fp_sqrt.c
135
ret = fp_init(&tmp_fp, n->ctx); EG(ret, err);
crypto/libecc/src/fp/fp_sqrt.c
138
ret = fp_copy(_n, n); EG(ret, err);
crypto/libecc/src/hash/belt-hash.c
27
#define ROTL_BELT(x, n) ((((u32)(x)) << (n)) | (((u32)(x)) >> (32-(n))))
crypto/libecc/src/hash/ripemd160.c
21
#define GET_UINT32_LE(n, b, i) \
crypto/libecc/src/hash/ripemd160.c
23
(n) = ( ((u32) (b)[(i) + 3]) << 24 ) \
crypto/libecc/src/hash/ripemd160.c
31
#define PUT_UINT32_LE(n, b, i) \
crypto/libecc/src/hash/ripemd160.c
33
(b)[(i) + 3] = (u8) ( (n) >> 24 ); \
crypto/libecc/src/hash/ripemd160.c
34
(b)[(i) + 2] = (u8) ( (n) >> 16 ); \
crypto/libecc/src/hash/ripemd160.c
35
(b)[(i) + 1] = (u8) ( (n) >> 8 ); \
crypto/libecc/src/hash/ripemd160.c
36
(b)[(i) ] = (u8) ( (n) ); \
crypto/libecc/src/hash/ripemd160.c
44
#define PUT_UINT64_LE(n,b,i) \
crypto/libecc/src/hash/ripemd160.c
46
(b)[(i) + 7] = (u8) ( (n) >> 56 ); \
crypto/libecc/src/hash/ripemd160.c
47
(b)[(i) + 6] = (u8) ( (n) >> 48 ); \
crypto/libecc/src/hash/ripemd160.c
48
(b)[(i) + 5] = (u8) ( (n) >> 40 ); \
crypto/libecc/src/hash/ripemd160.c
49
(b)[(i) + 4] = (u8) ( (n) >> 32 ); \
crypto/libecc/src/hash/ripemd160.c
50
(b)[(i) + 3] = (u8) ( (n) >> 24 ); \
crypto/libecc/src/hash/ripemd160.c
51
(b)[(i) + 2] = (u8) ( (n) >> 16 ); \
crypto/libecc/src/hash/ripemd160.c
52
(b)[(i) + 1] = (u8) ( (n) >> 8 ); \
crypto/libecc/src/hash/ripemd160.c
53
(b)[(i) ] = (u8) ( (n) ); \
crypto/libecc/src/hash/ripemd160.c
58
#define ROTL_RIPEMD160(x, n) ((((u32)(x)) << (n)) | (((u32)(x)) >> (32-(n))))
crypto/libecc/src/hash/sm3.c
20
#define GET_UINT32_BE(n, b, i) \
crypto/libecc/src/hash/sm3.c
22
(n) = ( ((u32) (b)[(i) ]) << 24 ) \
crypto/libecc/src/hash/sm3.c
30
#define PUT_UINT32_BE(n, b, i) \
crypto/libecc/src/hash/sm3.c
32
(b)[(i) ] = (u8) ( (n) >> 24 ); \
crypto/libecc/src/hash/sm3.c
33
(b)[(i) + 1] = (u8) ( (n) >> 16 ); \
crypto/libecc/src/hash/sm3.c
34
(b)[(i) + 2] = (u8) ( (n) >> 8 ); \
crypto/libecc/src/hash/sm3.c
35
(b)[(i) + 3] = (u8) ( (n) ); \
crypto/libecc/src/hash/sm3.c
43
#define PUT_UINT64_BE(n,b,i) \
crypto/libecc/src/hash/sm3.c
45
(b)[(i) ] = (u8) ( (n) >> 56 ); \
crypto/libecc/src/hash/sm3.c
46
(b)[(i) + 1] = (u8) ( (n) >> 48 ); \
crypto/libecc/src/hash/sm3.c
47
(b)[(i) + 2] = (u8) ( (n) >> 40 ); \
crypto/libecc/src/hash/sm3.c
48
(b)[(i) + 3] = (u8) ( (n) >> 32 ); \
crypto/libecc/src/hash/sm3.c
49
(b)[(i) + 4] = (u8) ( (n) >> 24 ); \
crypto/libecc/src/hash/sm3.c
50
(b)[(i) + 5] = (u8) ( (n) >> 16 ); \
crypto/libecc/src/hash/sm3.c
51
(b)[(i) + 6] = (u8) ( (n) >> 8 ); \
crypto/libecc/src/hash/sm3.c
52
(b)[(i) + 7] = (u8) ( (n) ); \
crypto/libecc/src/sig/bign_common.c
210
unsigned int j, z, n;
crypto/libecc/src/sig/bign_common.c
253
n = (hlen / BELT_BLOCK_LEN);
crypto/libecc/src/sig/bign_common.c
263
if(n <= 1){
crypto/libecc/src/sig/bign_common.c
264
n = 2;
crypto/libecc/src/sig/bign_common.c
279
for(j = 0; j < (n - 1); j++){
crypto/libecc/src/sig/bign_common.c
285
ret = local_memcpy(&r[0], &r[BELT_BLOCK_LEN], (n - 2) * BELT_BLOCK_LEN); EG(ret, err);
crypto/libecc/src/sig/bign_common.c
290
belt_encrypt(s, &r[(n - 2) * BELT_BLOCK_LEN], theta);
crypto/libecc/src/sig/bign_common.c
292
r[((n - 2) * BELT_BLOCK_LEN) + z] ^= (r[((n - 1) * BELT_BLOCK_LEN) + z] ^ i_block[z]);
crypto/libecc/src/sig/bign_common.c
296
ret = local_memcpy(&r[(n - 1) * BELT_BLOCK_LEN], s, BELT_BLOCK_LEN); EG(ret, err);
crypto/libecc/src/sig/bign_common.c
301
if(q_len < (n * BELT_BLOCK_LEN)){
crypto/libecc/src/sig/bign_common.c
315
MUST_HAVE((n * BELT_BLOCK_LEN) <= 0xffff, ret, err);
crypto/libecc/src/sig/bign_common.c
316
r_bar_len = (u16)(n * BELT_BLOCK_LEN);
crypto/libecc/src/sig/bign_common.c
327
if((i >= (2 * n)) && (cmp < 0) && (!iszero)){
crypto/libecc/src/sig/bip0340.c
598
#define GET_UINT32_LE(n, b, i) \
crypto/libecc/src/sig/bip0340.c
600
(n) = ( ((u32) (b)[(i) + 3]) << 24 ) \
crypto/libecc/src/sig/bip0340.c
608
#define PUT_UINT32_LE(n, b, i) \
crypto/libecc/src/sig/bip0340.c
610
(b)[(i) + 3] = (u8) ( (n) >> 24 ); \
crypto/libecc/src/sig/bip0340.c
611
(b)[(i) + 2] = (u8) ( (n) >> 16 ); \
crypto/libecc/src/sig/bip0340.c
612
(b)[(i) + 1] = (u8) ( (n) >> 8 ); \
crypto/libecc/src/sig/bip0340.c
613
(b)[(i) ] = (u8) ( (n) ); \
crypto/libecc/src/sig/bip0340.c
618
#define PUT_UINT32_BE(n, b, i) \
crypto/libecc/src/sig/bip0340.c
620
(b)[(i) ] = (u8) ( (n) >> 24 ); \
crypto/libecc/src/sig/bip0340.c
621
(b)[(i) + 1] = (u8) ( (n) >> 16 ); \
crypto/libecc/src/sig/bip0340.c
622
(b)[(i) + 2] = (u8) ( (n) >> 8 ); \
crypto/libecc/src/sig/bip0340.c
623
(b)[(i) + 3] = (u8) ( (n) ); \
crypto/libecc/src/utils/utils.c
195
int local_strncpy(char *dst, const char *src, u32 n)
crypto/libecc/src/utils/utils.c
202
for (i = 0; (i < n) && src[i]; i++) {
crypto/libecc/src/utils/utils.c
205
for (; i < n; i++) {
crypto/libecc/src/utils/utils.c
217
int local_strncat(char *dst, const char *src, u32 n)
crypto/libecc/src/utils/utils.c
225
for (i = 0; (i < n) && src[i]; i++) {
crypto/libecc/src/utils/utils.c
49
int local_memcpy(void *dst, const void *src, u32 n)
crypto/libecc/src/utils/utils.c
58
for (i = 0; i < n; i++) {
crypto/libecc/src/utils/utils.c
74
int local_memset(void *v, u8 c, u32 n)
crypto/libecc/src/utils/utils.c
82
for (i = 0; i < n; i++) {
crypto/openssh/addr.c
142
addr_invert(struct xaddr *n)
crypto/openssh/addr.c
146
if (n == NULL)
crypto/openssh/addr.c
149
switch (n->af) {
crypto/openssh/addr.c
151
n->v4.s_addr = ~n->v4.s_addr;
crypto/openssh/addr.c
155
n->addr32[i] = ~n->addr32[i];
crypto/openssh/addr.c
168
addr_netmask(int af, u_int l, struct xaddr *n)
crypto/openssh/addr.c
172
if (masklen_valid(af, l) != 0 || n == NULL)
crypto/openssh/addr.c
175
memset(n, '\0', sizeof(*n));
crypto/openssh/addr.c
178
n->af = AF_INET;
crypto/openssh/addr.c
181
n->v4.s_addr = htonl((0xffffffff << (32 - l)) & 0xffffffff);
crypto/openssh/addr.c
184
n->af = AF_INET6;
crypto/openssh/addr.c
186
n->addr32[i] = 0xffffffffU;
crypto/openssh/addr.c
188
n->addr32[i] = htonl((0xffffffff << (32 - l)) &
crypto/openssh/addr.c
197
addr_hostmask(int af, u_int l, struct xaddr *n)
crypto/openssh/addr.c
199
if (addr_netmask(af, l, n) == -1 || addr_invert(n) == -1)
crypto/openssh/addr.c
309
uint32_t n;
crypto/openssh/addr.c
318
n = ntohl(a->addr32[3 - i]) + 1;
crypto/openssh/addr.c
319
a->addr32[3 - i] = htonl(n);
crypto/openssh/addr.c
320
if (n != 0)
crypto/openssh/addr.c
377
addr_pton(const char *p, struct xaddr *n)
crypto/openssh/addr.c
395
if (n != NULL && addr_sa_to_xaddr(ai->ai_addr, ai->ai_addrlen,
crypto/openssh/addr.c
396
n) == -1) {
crypto/openssh/addr.c
439
addr_ntop(const struct xaddr *n, char *p, size_t len)
crypto/openssh/addr.c
444
if (addr_xaddr_to_sa(n, _SA(&ss), &slen, 0) == -1)
crypto/openssh/addr.c
460
addr_pton_cidr(const char *p, struct xaddr *n, u_int *l)
crypto/openssh/addr.c
489
if (n != NULL)
crypto/openssh/addr.c
490
memcpy(n, &tmp, sizeof(*n));
crypto/openssh/addr.h
43
int addr_netmask(int af, u_int l, struct xaddr *n);
crypto/openssh/addr.h
44
int addr_pton(const char *p, struct xaddr *n);
crypto/openssh/addr.h
45
int addr_pton_cidr(const char *p, struct xaddr *n, u_int *l);
crypto/openssh/addr.h
46
int addr_ntop(const struct xaddr *n, char *p, size_t len);
crypto/openssh/atomicio.c
45
atomicio6(ssize_t (*f) (int, void *, size_t), int fd, void *_s, size_t n,
crypto/openssh/atomicio.c
59
while (n > pos) {
crypto/openssh/atomicio.c
60
res = (f) (fd, s + pos, n - pos);
crypto/openssh/atomicio.c
90
atomicio(ssize_t (*f) (int, void *, size_t), int fd, void *_s, size_t n)
crypto/openssh/atomicio.c
92
return atomicio6(f, fd, _s, n, NULL, NULL);
crypto/openssh/atomicio.h
38
atomicio6(ssize_t (*f) (int, void *, size_t), int fd, void *_s, size_t n,
crypto/openssh/auth-options.c
704
serialise_array(struct sshbuf *m, char **a, size_t n)
crypto/openssh/auth-options.c
710
if (n > INT_MAX)
crypto/openssh/auth-options.c
716
for (i = 0; i < n; i++) {
crypto/openssh/auth-options.c
720
if ((r = sshbuf_put_u32(m, n)) != 0 ||
crypto/openssh/auth-options.c
734
size_t i, n = 0;
crypto/openssh/auth-options.c
746
n = tmp;
crypto/openssh/auth-options.c
747
if (n > 0 && (a = calloc(n, sizeof(*a))) == NULL) {
crypto/openssh/auth-options.c
751
for (i = 0; i < n; i++) {
crypto/openssh/auth-options.c
759
*np = n;
crypto/openssh/auth-options.c
760
n = 0;
crypto/openssh/auth-options.c
763
for (i = 0; i < n; i++)
crypto/openssh/auth-pam.c
1198
sshpam_passwd_conv(int n, sshpam_const struct pam_message **msg,
crypto/openssh/auth-pam.c
1205
debug3_f("PAM: called with %d messages", n);
crypto/openssh/auth-pam.c
1209
if (n <= 0 || n > PAM_MAX_NUM_MSG)
crypto/openssh/auth-pam.c
1212
if ((reply = calloc(n, sizeof(*reply))) == NULL)
crypto/openssh/auth-pam.c
1215
for (i = 0; i < n; ++i) {
crypto/openssh/auth-pam.c
1245
for(i = 0; i < n; i++) {
crypto/openssh/auth-pam.c
313
u_int n, i, num_env;
crypto/openssh/auth-pam.c
320
if ((r = sshbuf_get_u32(b, &n)) != 0)
crypto/openssh/auth-pam.c
322
if (n > INT_MAX)
crypto/openssh/auth-pam.c
323
fatal_f("invalid PAM account status %u", n);
crypto/openssh/auth-pam.c
324
sshpam_account_status = (int)n;
crypto/openssh/auth-pam.c
325
if ((r = sshbuf_get_u32(b, &n)) != 0)
crypto/openssh/auth-pam.c
327
sshpam_password_change_required(n != 0);
crypto/openssh/auth-pam.c
373
sshpam_thread_conv(int n, sshpam_const struct pam_message **msg,
crypto/openssh/auth-pam.c
382
debug3_f("PAM: entering, %d messages", n);
crypto/openssh/auth-pam.c
390
if (n <= 0 || n > PAM_MAX_NUM_MSG)
crypto/openssh/auth-pam.c
393
if ((reply = calloc(n, sizeof(*reply))) == NULL)
crypto/openssh/auth-pam.c
400
for (i = 0; i < n; ++i) {
crypto/openssh/auth-pam.c
447
for(i = 0; i < n; i++) {
crypto/openssh/auth-pam.c
627
sshpam_null_conv(int n, sshpam_const struct pam_message **msg,
crypto/openssh/auth-pam.c
630
debug3_f("PAM: entering, %d messages", n);
crypto/openssh/auth-pam.c
637
sshpam_store_conv(int n, sshpam_const struct pam_message **msg,
crypto/openssh/auth-pam.c
643
debug3_f("PAM: called with %d messages", n);
crypto/openssh/auth-pam.c
646
if (n <= 0 || n > PAM_MAX_NUM_MSG)
crypto/openssh/auth-pam.c
649
if ((reply = calloc(n, sizeof(*reply))) == NULL)
crypto/openssh/auth-pam.c
652
for (i = 0; i < n; ++i) {
crypto/openssh/auth-pam.c
670
for(i = 0; i < n; i++) {
crypto/openssh/auth-pam.c
79
# define PAM_MSG_MEMBER(msg, n, member) ((*(msg))[(n)].member)
crypto/openssh/auth-pam.c
81
# define PAM_MSG_MEMBER(msg, n, member) ((msg)[(n)]->member)
crypto/openssh/auth2.c
110
size_t len, n;
crypto/openssh/auth2.c
126
n = atomicio(read, fd, banner, len);
crypto/openssh/auth2.c
129
if (n != len) {
crypto/openssh/auth2.c
133
banner[n] = '\0';
crypto/openssh/bitmap.c
101
bitmap_set_bit(struct bitmap *b, u_int n)
crypto/openssh/bitmap.c
106
if ((r = reserve(b, n)) != 0)
crypto/openssh/bitmap.c
108
offset = n / BITMAP_BITS;
crypto/openssh/bitmap.c
111
b->d[offset] |= (BITMAP_WTYPE)1 << (n & BITMAP_WMASK);
crypto/openssh/bitmap.c
126
bitmap_clear_bit(struct bitmap *b, u_int n)
crypto/openssh/bitmap.c
130
if (b->top >= b->len || n > BITMAP_MAX)
crypto/openssh/bitmap.c
132
offset = n / BITMAP_BITS;
crypto/openssh/bitmap.c
135
b->d[offset] &= ~((BITMAP_WTYPE)1 << (n & BITMAP_WMASK));
crypto/openssh/bitmap.c
72
bitmap_test_bit(struct bitmap *b, u_int n)
crypto/openssh/bitmap.c
76
if (b->len == 0 || (n / BITMAP_BITS) > b->top)
crypto/openssh/bitmap.c
78
return (b->d[n / BITMAP_BITS] >> (n & BITMAP_WMASK)) & 1;
crypto/openssh/bitmap.c
82
reserve(struct bitmap *b, u_int n)
crypto/openssh/bitmap.c
87
if (b->top >= b->len || n > BITMAP_MAX)
crypto/openssh/bitmap.c
89
nlen = (n / BITMAP_BITS) + 1;
crypto/openssh/bitmap.h
37
int bitmap_test_bit(struct bitmap *b, u_int n);
crypto/openssh/bitmap.h
40
int bitmap_set_bit(struct bitmap *b, u_int n);
crypto/openssh/bitmap.h
43
void bitmap_clear_bit(struct bitmap *b, u_int n);
crypto/openssh/chacha.c
23
#define ROTL32(v, n) \
crypto/openssh/chacha.c
24
(U32V((v) << (n)) | ((v) >> (32 - (n))))
crypto/openssh/channels.c
5095
int gaierr, n, num_socks = 0, socks[NUM_SOCKS];
crypto/openssh/channels.c
5144
for (n = 0; n < num_socks; n++)
crypto/openssh/channels.c
5145
close(socks[n]);
crypto/openssh/channels.c
5162
for (n = 0; n < num_socks; n++) {
crypto/openssh/channels.c
5163
sock = socks[n];
crypto/openssh/channels.c
5173
for (n = 0; n < num_socks; n++) {
crypto/openssh/channels.c
5174
sock = socks[n];
crypto/openssh/channels.c
5180
(*chanids)[n] = nc->self;
crypto/openssh/channels.c
5182
(*chanids)[n] = -1;
crypto/openssh/channels.c
712
u_int n, *npermp;
crypto/openssh/channels.c
720
n = (*npermp)++;
crypto/openssh/channels.c
722
(*permp)[n].host_to_connect = MAYBE_DUP(host_to_connect);
crypto/openssh/channels.c
723
(*permp)[n].port_to_connect = port_to_connect;
crypto/openssh/channels.c
724
(*permp)[n].listen_host = MAYBE_DUP(listen_host);
crypto/openssh/channels.c
725
(*permp)[n].listen_path = MAYBE_DUP(listen_path);
crypto/openssh/channels.c
726
(*permp)[n].listen_port = listen_port;
crypto/openssh/channels.c
727
(*permp)[n].downstream = downstream;
crypto/openssh/channels.c
729
return (int)n;
crypto/openssh/channels.c
769
u_int i, n;
crypto/openssh/channels.c
773
for (n = 0, i = 0; i < sc->channels_alloc; i++) {
crypto/openssh/channels.c
776
n++;
crypto/openssh/channels.c
788
c->remote_name ? c->remote_name : "???", n);
crypto/openssh/cipher-aesctr.c
71
u32 n = 0;
crypto/openssh/cipher-aesctr.c
75
if (n == 0) {
crypto/openssh/cipher-aesctr.c
79
*(c++) = *(m++) ^ buf[n];
crypto/openssh/cipher-aesctr.c
80
n = (n + 1) % AES_BLOCK_SIZE;
crypto/openssh/clientloop.c
583
long long n;
crypto/openssh/clientloop.c
666
n = (now.tv_sec - next_interval.tv_sec) * 1000LL * 1000 * 1000;
crypto/openssh/clientloop.c
667
n += now.tv_nsec - next_interval.tv_nsec;
crypto/openssh/clientloop.c
668
n /= options.obscure_keystroke_timing_interval * 1000LL * 1000;
crypto/openssh/clientloop.c
669
n = (n < 0) ? 1 : n + 1;
crypto/openssh/clientloop.c
673
options.obscure_keystroke_timing_interval * n, 0);
crypto/openssh/defines.h
762
# define memmove(s1, s2, n) bcopy((s2), (s1), (n))
crypto/openssh/dh.c
102
n = strtonum(arg, 0, 1<<30, &errstr);
crypto/openssh/dh.c
103
if (errstr != NULL || n == 0) {
crypto/openssh/dh.c
238
int n = BN_num_bits(dh_pub);
crypto/openssh/dh.c
266
for (i = 0; i <= n; i++)
crypto/openssh/dh.c
65
long long n;
crypto/openssh/dh.c
84
n = strtonum(arg, 0, 5, &errstr);
crypto/openssh/dh.c
85
if (errstr != NULL || n != MODULI_TYPE_SAFE) {
crypto/openssh/dh.c
93
n = strtonum(arg, 0, 0x1f, &errstr);
crypto/openssh/dh.c
95
(n & MODULI_TESTS_COMPOSITE) || !(n & ~MODULI_TESTS_COMPOSITE)) {
crypto/openssh/groupaccess.c
101
for (j = 0; j < n; j++)
crypto/openssh/groupaccess.c
96
ga_match(char * const *groups, int n)
crypto/openssh/kex.c
1249
size_t len, n;
crypto/openssh/kex.c
1294
for (n = 0; ; n++) {
crypto/openssh/kex.c
1295
if (n >= SSH_MAX_PRE_BANNER_LINES) {
crypto/openssh/kex.c
1374
debug_f("banner line %zu: %s", n, cp);
crypto/openssh/libcrux_internal.h
21487
uint8_t n,
crypto/openssh/libcrux_internal.h
21491
return value & ((1U << (uint32_t)n) - 1U);
crypto/openssh/libcrux_internal.h
9882
libcrux_ml_dsa_simd_portable_arithmetic_get_n_least_significant_bits(uint8_t n, uint64_t value)
crypto/openssh/libcrux_internal.h
9884
return value & ((1ULL << (uint32_t)n) - 1ULL);
crypto/openssh/log.c
569
uint64_t n = now - rl->last_event;
crypto/openssh/log.c
571
if (n > UINT_MAX)
crypto/openssh/log.c
572
n = UINT_MAX;
crypto/openssh/log.c
573
if (rl->accumulated_events < (u_int)n)
crypto/openssh/log.c
576
rl->accumulated_events -= (u_int)n;
crypto/openssh/moduli.c
112
#define BIT_CLEAR(a,n) ((a)[(n)>>SHIFT_WORD] &= ~(1L << ((n) & 31)))
crypto/openssh/moduli.c
113
#define BIT_SET(a,n) ((a)[(n)>>SHIFT_WORD] |= (1L << ((n) & 31)))
crypto/openssh/moduli.c
114
#define BIT_TEST(a,n) ((a)[(n)>>SHIFT_WORD] & (1L << ((n) & 31)))
crypto/openssh/monitor.c
1795
u_int n;
crypto/openssh/monitor.c
1801
if ((r = sshbuf_get_u32(m, &n)) != 0)
crypto/openssh/monitor.c
1803
event = (ssh_audit_event_t)n;
crypto/openssh/monitor_fdpass.c
115
ssize_t n;
crypto/openssh/monitor_fdpass.c
136
while ((n = recvmsg(sock, &msg, 0)) == -1 &&
crypto/openssh/monitor_fdpass.c
141
if (n == -1) {
crypto/openssh/monitor_fdpass.c
146
if (n != 1) {
crypto/openssh/monitor_fdpass.c
147
error_f("recvmsg: expected received 1 got %zd", n);
crypto/openssh/monitor_fdpass.c
56
ssize_t n;
crypto/openssh/monitor_fdpass.c
81
while ((n = sendmsg(sock, &msg, 0)) == -1 &&
crypto/openssh/monitor_fdpass.c
86
if (n == -1) {
crypto/openssh/monitor_fdpass.c
91
if (n != 1) {
crypto/openssh/monitor_fdpass.c
92
error_f("sendmsg: expected sent 1 got %zd", n);
crypto/openssh/monitor_wrap.c
762
u_int i, n;
crypto/openssh/monitor_wrap.c
774
(r = sshbuf_get_u32(m, &n)) != 0 ||
crypto/openssh/monitor_wrap.c
778
sshpam_set_maxtries_reached(n);
crypto/openssh/monitor_wrap.c
797
u_int n, i;
crypto/openssh/monitor_wrap.c
813
if ((r = sshbuf_get_u32(m, &n)) != 0)
crypto/openssh/monitor_wrap.c
815
ret = (int)n; /* XXX */
crypto/openssh/openbsd-compat/arc4random.c
169
_rs_random_buf(void *_buf, size_t n)
crypto/openssh/openbsd-compat/arc4random.c
175
_rs_stir_if_needed(n);
crypto/openssh/openbsd-compat/arc4random.c
176
while (n > 0) {
crypto/openssh/openbsd-compat/arc4random.c
178
m = minimum(n, rs->rs_have);
crypto/openssh/openbsd-compat/arc4random.c
184
n -= m;
crypto/openssh/openbsd-compat/arc4random.c
224
arc4random_buf(void *buf, size_t n)
crypto/openssh/openbsd-compat/arc4random.c
227
_rs_random_buf(buf, n);
crypto/openssh/openbsd-compat/arc4random.c
237
arc4random_buf(void *_buf, size_t n)
crypto/openssh/openbsd-compat/arc4random.c
243
for (i = 0; i < n; i++) {
crypto/openssh/openbsd-compat/arc4random.c
94
_rs_init(u_char *buf, size_t n)
crypto/openssh/openbsd-compat/arc4random.c
96
if (n < KEYSZ + IVSZ)
crypto/openssh/openbsd-compat/blowfish.c
68
#define BLFRND(s,p,i,j,n) (i ^= F(s,j) ^ (p)[n])
crypto/openssh/openbsd-compat/bsd-getline.c
106
size_t n = 0;
crypto/openssh/openbsd-compat/bsd-getline.c
108
while ((len = getline(&p, &n, stdin)) != -1)
crypto/openssh/openbsd-compat/bsd-misc.c
424
mbtowc(wchar_t *pwc, const char *s, size_t n)
crypto/openssh/openbsd-compat/bsd-misc.c
428
if (*s < 0 || *s > 0x7f || n < 1) {
crypto/openssh/openbsd-compat/bsd-misc.c
448
bzero(void *b, size_t n)
crypto/openssh/openbsd-compat/bsd-misc.c
450
(void)memset(b, 0, n);
crypto/openssh/openbsd-compat/chacha_private.h
25
#define ROTL32(v, n) \
crypto/openssh/openbsd-compat/chacha_private.h
26
(U32V((v) << (n)) | ((v) >> (32 - (n))))
crypto/openssh/openbsd-compat/explicit_bzero.c
21
explicit_bzero(void *p, size_t n)
crypto/openssh/openbsd-compat/explicit_bzero.c
23
(void)explicit_memset(p, 0, n);
crypto/openssh/openbsd-compat/explicit_bzero.c
29
explicit_bzero(void *p, size_t n)
crypto/openssh/openbsd-compat/explicit_bzero.c
31
if (n == 0)
crypto/openssh/openbsd-compat/explicit_bzero.c
33
(void)memset_s(p, n, 0, n);
crypto/openssh/openbsd-compat/explicit_bzero.c
45
explicit_bzero(void *p, size_t n)
crypto/openssh/openbsd-compat/explicit_bzero.c
47
if (n == 0)
crypto/openssh/openbsd-compat/explicit_bzero.c
56
memset(p, 0, n);
crypto/openssh/openbsd-compat/explicit_bzero.c
60
ssh_bzero(p, n);
crypto/openssh/openbsd-compat/getrrsetbyname.c
638
int n = 0;
crypto/openssh/openbsd-compat/getrrsetbyname.c
642
n++;
crypto/openssh/openbsd-compat/getrrsetbyname.c
646
return (n);
crypto/openssh/openbsd-compat/glob.c
424
g_strncmp(const Char *s1, const char *s2, size_t n)
crypto/openssh/openbsd-compat/glob.c
428
while (n--) {
crypto/openssh/openbsd-compat/glob.c
572
size_t n = pglob->gl_pathc - oldpathc;
crypto/openssh/openbsd-compat/glob.c
575
if ((path_stat = calloc(n, sizeof(*path_stat))) == NULL)
crypto/openssh/openbsd-compat/glob.c
577
for (i = 0; i < n; i++) {
crypto/openssh/openbsd-compat/glob.c
581
qsort(path_stat, n, sizeof(*path_stat), compare_gps);
crypto/openssh/openbsd-compat/glob.c
582
for (i = 0; i < n; i++) {
crypto/openssh/openbsd-compat/inet_aton.c
146
n = pp - parts + 1;
crypto/openssh/openbsd-compat/inet_aton.c
147
switch (n) {
crypto/openssh/openbsd-compat/inet_aton.c
90
int base, n;
crypto/openssh/openbsd-compat/kludge-fd_set.c
19
void kludge_FD_SET(int n, fd_set *set) {
crypto/openssh/openbsd-compat/kludge-fd_set.c
20
FD_SET(n, set);
crypto/openssh/openbsd-compat/kludge-fd_set.c
22
int kludge_FD_ISSET(int n, fd_set *set) {
crypto/openssh/openbsd-compat/kludge-fd_set.c
23
return FD_ISSET(n, set);
crypto/openssh/openbsd-compat/memmem.c
112
if (n[ip+k] == n[jp+k]) {
crypto/openssh/openbsd-compat/memmem.c
117
} else if (n[ip+k] < n[jp+k]) {
crypto/openssh/openbsd-compat/memmem.c
130
if (memcmp(n, n+p, ms+1)) {
crypto/openssh/openbsd-compat/memmem.c
157
for (k=MAX(ms+1,mem); k<l && n[k] == h[k]; k++);
crypto/openssh/openbsd-compat/memmem.c
164
for (k=ms+1; k>mem && n[k-1] == h[k-1]; k--);
crypto/openssh/openbsd-compat/memmem.c
174
const unsigned char *h = h0, *n = n0;
crypto/openssh/openbsd-compat/memmem.c
183
h = memchr(h0, *n, k);
crypto/openssh/openbsd-compat/memmem.c
187
if (l==2) return twobyte_memmem(h, k, n);
crypto/openssh/openbsd-compat/memmem.c
188
if (l==3) return threebyte_memmem(h, k, n);
crypto/openssh/openbsd-compat/memmem.c
189
if (l==4) return fourbyte_memmem(h, k, n);
crypto/openssh/openbsd-compat/memmem.c
191
return twoway_memmem(h, h+k, n, l);
crypto/openssh/openbsd-compat/memmem.c
36
twobyte_memmem(const unsigned char *h, size_t k, const unsigned char *n)
crypto/openssh/openbsd-compat/memmem.c
38
uint16_t nw = n[0]<<8 | n[1], hw = h[0]<<8 | h[1];
crypto/openssh/openbsd-compat/memmem.c
45
threebyte_memmem(const unsigned char *h, size_t k, const unsigned char *n)
crypto/openssh/openbsd-compat/memmem.c
47
uint32_t nw = n[0]<<24 | n[1]<<16 | n[2]<<8;
crypto/openssh/openbsd-compat/memmem.c
55
fourbyte_memmem(const unsigned char *h, size_t k, const unsigned char *n)
crypto/openssh/openbsd-compat/memmem.c
57
uint32_t nw = n[0]<<24 | n[1]<<16 | n[2]<<8 | n[3];
crypto/openssh/openbsd-compat/memmem.c
79
const unsigned char *n, size_t l)
crypto/openssh/openbsd-compat/memmem.c
87
BITOP(byteset, n[i], |=), shift[n[i]] = i+1;
crypto/openssh/openbsd-compat/memmem.c
92
if (n[ip+k] == n[jp+k]) {
crypto/openssh/openbsd-compat/memmem.c
97
} else if (n[ip+k] > n[jp+k]) {
crypto/openssh/openbsd-compat/openbsd-compat.h
130
char *strndup(const char *s, size_t n);
crypto/openssh/openbsd-compat/openbsd-compat.h
341
void explicit_bzero(void *p, size_t n);
crypto/openssh/openbsd-compat/openbsd-compat.h
381
# define FD_SET(n, set) kludge_FD_SET(n, set)
crypto/openssh/openbsd-compat/openbsd-compat.h
382
# define FD_ISSET(n, set) kludge_FD_ISSET(n, set)
crypto/openssh/openbsd-compat/sha2.c
145
#define ADDINC128(w,n) do { \
crypto/openssh/openbsd-compat/sha2.c
146
(w)[0] += (u_int64_t)(n); \
crypto/openssh/openbsd-compat/sha2.c
147
if ((w)[0] < (n)) { \
crypto/openssh/openbsd-compat/strlcat.c
39
size_t n = siz;
crypto/openssh/openbsd-compat/strlcat.c
43
while (n-- != 0 && *d != '\0')
crypto/openssh/openbsd-compat/strlcat.c
46
n = siz - dlen;
crypto/openssh/openbsd-compat/strlcat.c
48
if (n == 0)
crypto/openssh/openbsd-compat/strlcat.c
51
if (n != 1) {
crypto/openssh/openbsd-compat/strlcat.c
53
n--;
crypto/openssh/openbsd-compat/strlcpy.c
37
size_t n = siz;
crypto/openssh/openbsd-compat/strlcpy.c
40
if (n != 0) {
crypto/openssh/openbsd-compat/strlcpy.c
41
while (--n != 0) {
crypto/openssh/openbsd-compat/strlcpy.c
48
if (n == 0) {
crypto/openssh/openbsd-compat/timingsafe_bcmp.c
24
timingsafe_bcmp(const void *b1, const void *b2, size_t n)
crypto/openssh/openbsd-compat/timingsafe_bcmp.c
29
for (; n > 0; n--)
crypto/openssh/readconf.c
3133
#define FREE_ARRAY(type, n, a) \
crypto/openssh/readconf.c
3136
for (_i = 0; _i < (n); _i++) \
crypto/openssh/readconf.c
976
free_canon_cnames(struct allowed_cname *cnames, u_int n)
crypto/openssh/readconf.c
980
if (cnames == NULL || n == 0)
crypto/openssh/readconf.c
982
for (i = 0; i < n; i++) {
crypto/openssh/regress/misc/fuzz-harness/kex_fuzz.cc
42
struct sshbuf *store, int clobber, size_t *n)
crypto/openssh/regress/misc/fuzz-harness/kex_fuzz.cc
49
for (*n = 0;; (*n)++) {
crypto/openssh/regress/misc/fuzz-harness/mkcorpus_sntrup761.c
40
void write_blob(const char *path, int n, const char *suffix,
crypto/openssh/regress/misc/fuzz-harness/mkcorpus_sntrup761.c
46
snprintf(name, sizeof(name), "%s/%06d.%s", path, n, suffix);
crypto/openssh/regress/modpipe.c
54
int n, m1, m2;
crypto/openssh/regress/modpipe.c
57
if ((n = sscanf(s, "%16[^:]%*[:]%llu%*[:]%i%*[:]%i",
crypto/openssh/regress/modpipe.c
61
if (n > 3)
crypto/openssh/regress/modpipe.c
68
if (n != 4)
crypto/openssh/regress/netcat.c
1100
char *n;
crypto/openssh/regress/netcat.c
1104
if ((n = strchr(p, '-')) != NULL) {
crypto/openssh/regress/netcat.c
1105
*n = '\0';
crypto/openssh/regress/netcat.c
1106
n++;
crypto/openssh/regress/netcat.c
1109
hi = strtonum(n, 1, PORT_MAX, &errstr);
crypto/openssh/regress/netcat.c
1111
errx(1, "port number %s: %s", errstr, n);
crypto/openssh/regress/netcat.c
787
int n, num_fds;
crypto/openssh/regress/netcat.c
849
for (n = 0; n < 4; n++) {
crypto/openssh/regress/netcat.c
850
if (pfd[n].revents & (POLLERR|POLLNVAL)) {
crypto/openssh/regress/netcat.c
851
pfd[n].fd = -1;
crypto/openssh/regress/netcat.c
962
ssize_t n;
crypto/openssh/regress/netcat.c
965
n = write(fd, buf, *bufpos);
crypto/openssh/regress/netcat.c
967
if (n == -1 && (errno == EAGAIN || errno == EINTR))
crypto/openssh/regress/netcat.c
968
n = -2;
crypto/openssh/regress/netcat.c
969
if (n <= 0)
crypto/openssh/regress/netcat.c
970
return n;
crypto/openssh/regress/netcat.c
972
adjust = *bufpos - n;
crypto/openssh/regress/netcat.c
974
memmove(buf, buf + n, adjust);
crypto/openssh/regress/netcat.c
975
*bufpos -= n;
crypto/openssh/regress/netcat.c
976
return n;
crypto/openssh/regress/netcat.c
984
ssize_t n;
crypto/openssh/regress/netcat.c
986
n = read(fd, buf + *bufpos, num);
crypto/openssh/regress/netcat.c
988
if (n == -1 && (errno == EAGAIN || errno == EINTR))
crypto/openssh/regress/netcat.c
989
n = -2;
crypto/openssh/regress/netcat.c
990
if (n <= 0)
crypto/openssh/regress/netcat.c
991
return n;
crypto/openssh/regress/netcat.c
992
*bufpos += n;
crypto/openssh/regress/netcat.c
993
return n;
crypto/openssh/regress/unittests/authopt/tests.c
70
size_t n;
crypto/openssh/regress/unittests/authopt/tests.c
74
for (n = 0; (cp2 = strsep(&cp, ",")) != NULL;) {
crypto/openssh/regress/unittests/authopt/tests.c
75
ret = recallocarray(ret, n, n + 1, sizeof(*ret));
crypto/openssh/regress/unittests/authopt/tests.c
79
ret[n++] = cp2;
crypto/openssh/regress/unittests/authopt/tests.c
82
*np = n;
crypto/openssh/regress/unittests/bitmap/tests.c
105
for (n = 0; n < ntests; n++) {
crypto/openssh/regress/unittests/bitmap/tests.c
106
ASSERT_INT_EQ(BN_is_bit_set(bn, n),
crypto/openssh/regress/unittests/bitmap/tests.c
107
bitmap_test_bit(b, n));
crypto/openssh/regress/unittests/bitmap/tests.c
113
for (n = 0; n < ntests; n++) {
crypto/openssh/regress/unittests/bitmap/tests.c
114
ASSERT_INT_EQ(bitmap_set_bit(b, n), 0);
crypto/openssh/regress/unittests/bitmap/tests.c
115
ASSERT_INT_EQ(BN_set_bit(bn, n), 1);
crypto/openssh/regress/unittests/bitmap/tests.c
129
for (n = 0; n < ntests; n++) {
crypto/openssh/regress/unittests/bitmap/tests.c
130
ASSERT_INT_EQ(BN_is_bit_set(bn, n),
crypto/openssh/regress/unittests/bitmap/tests.c
131
bitmap_test_bit(b, n));
crypto/openssh/regress/unittests/bitmap/tests.c
33
int i, j, k, n, ntests = DEFAULT_NTESTS;
crypto/openssh/regress/unittests/bitmap/tests.c
73
for (n = 0; n < ntests; n++) {
crypto/openssh/regress/unittests/bitmap/tests.c
74
ASSERT_INT_EQ(BN_is_bit_set(bn, n),
crypto/openssh/regress/unittests/bitmap/tests.c
75
bitmap_test_bit(b, n));
crypto/openssh/regress/unittests/bitmap/tests.c
92
for (n = len; n < (int)sizeof(bbuf); n++)
crypto/openssh/regress/unittests/bitmap/tests.c
93
ASSERT_U8_EQ(bbuf[n], 0xfc);
crypto/openssh/regress/unittests/hostkeys/test_iterate.c
143
prepare_expected(struct expected *expected, size_t n)
crypto/openssh/regress/unittests/hostkeys/test_iterate.c
147
for (i = 0; i < n; i++) {
crypto/openssh/regress/unittests/hostkeys/test_iterate.c
168
cleanup_expected(struct expected *expected, size_t n)
crypto/openssh/regress/unittests/hostkeys/test_iterate.c
172
for (i = 0; i < n; i++) {
crypto/openssh/regress/unittests/servconf/tests.c
50
new_string_array(u_int n)
crypto/openssh/regress/unittests/servconf/tests.c
52
return xcalloc(n, sizeof(char *));
crypto/openssh/regress/unittests/sshkey/common.c
86
const BIGNUM *n = NULL;
crypto/openssh/regress/unittests/sshkey/common.c
90
RSA_get0_key(EVP_PKEY_get0_RSA(k->pkey), &n, NULL, NULL);
crypto/openssh/regress/unittests/sshkey/common.c
91
return n;
crypto/openssh/regress/unittests/sshkey/test_sshkey.c
230
get_private(const char *n)
crypto/openssh/regress/unittests/sshkey/test_sshkey.c
235
b = load_file(n);
crypto/openssh/regress/unittests/test_helper/fuzz.c
101
fuzz_fmt(struct fuzz *fuzz, char *s, size_t n)
crypto/openssh/regress/unittests/test_helper/fuzz.c
108
snprintf(s, n, "%s case %zu of %zu (bit: %zu)\n",
crypto/openssh/regress/unittests/test_helper/fuzz.c
113
snprintf(s, n, "%s case %llu of %llu (bits: %zu, %zu)\n",
crypto/openssh/regress/unittests/test_helper/fuzz.c
120
snprintf(s, n, "%s case %zu of %zu (byte: %zu)\n",
crypto/openssh/regress/unittests/test_helper/fuzz.c
125
snprintf(s, n, "%s case %llu of %llu (bytes: %zu, %zu)\n",
crypto/openssh/regress/unittests/test_helper/fuzz.c
132
snprintf(s, n, "%s case %zu of %zu (offset: %zu)\n",
crypto/openssh/regress/unittests/test_helper/fuzz.c
137
snprintf(s, n, "%s case %zu of %zu (offset: %zu)\n",
crypto/openssh/regress/unittests/test_helper/fuzz.c
143
snprintf(s, n, "%s case %llu of %llu (offset: %zu char: %c)\n",
crypto/openssh/regress/unittests/test_helper/fuzz.c
76
fuzz_ntop(u_int n)
crypto/openssh/regress/unittests/test_helper/fuzz.c
78
switch (n) {
crypto/openssh/regress/unittests/test_helper/test_helper.c
280
test_start(const char *n)
crypto/openssh/regress/unittests/test_helper/test_helper.c
283
assert((active_test_name = strdup(n)) != NULL);
crypto/openssh/regress/unittests/test_helper/test_helper.h
108
#define TEST_START(n) test_start(n)
crypto/openssh/regress/unittests/test_helper/test_helper.h
45
void test_start(const char *n);
crypto/openssh/scp.c
1669
size_t n, npatterns = 0;
crypto/openssh/scp.c
1809
for (n = 0; n < npatterns; n++) {
crypto/openssh/scp.c
1810
if (strcmp(patterns[n], cp) == 0 ||
crypto/openssh/scp.c
1811
fnmatch(patterns[n], cp, 0) == 0)
crypto/openssh/scp.c
1814
if (n >= npatterns) {
crypto/openssh/scp.c
1818
for (n = 0; n < npatterns; n++) {
crypto/openssh/scp.c
1820
n, patterns[n]);
crypto/openssh/scp.c
1973
for (n = 0; n < npatterns; n++)
crypto/openssh/scp.c
1974
free(patterns[n]);
crypto/openssh/scp.c
1978
for (n = 0; n < npatterns; n++)
crypto/openssh/scp.c
1979
free(patterns[n]);
crypto/openssh/scp.c
453
int ch, fflag, tflag, status, r, n;
crypto/openssh/scp.c
470
for (n = 0; n < argc; n++)
crypto/openssh/scp.c
471
newargv[n] = xstrdup(argv[n]);
crypto/openssh/servconf.c
1111
int cmdline = 0, *intptr, value, value2, value3, n, port, oactive, r;
crypto/openssh/servconf.c
1809
if ((n = sscanf(arg, "%d:%d:%d",
crypto/openssh/servconf.c
1814
} else if (n == 1) {
crypto/openssh/servconf.c
1836
switch (n = sscanf(arg, "%d:%d", &value, &value2)) {
crypto/openssh/servconf.c
1839
n = -1;
crypto/openssh/servconf.c
1843
n = -1;
crypto/openssh/servconf.c
1845
if (n != 1 && n != 2)
crypto/openssh/servconf.c
1850
if (n == 2)
crypto/openssh/servconf.c
2183
for (n = 0; n < (int)gbuf.gl_pathc; n++) {
crypto/openssh/servconf.c
2185
filename, linenum, gbuf.gl_pathv[n]);
crypto/openssh/servconf.c
2188
item->filename = xstrdup(gbuf.gl_pathv[n]);
crypto/openssh/servconf.c
2801
serialise_nullable_string_array(struct sshbuf *buf, char **a, u_int n)
crypto/openssh/servconf.c
2806
if ((r = sshbuf_put_u32(buf, n)) != 0)
crypto/openssh/servconf.c
2808
for (i = 0; i < n; i++) {
crypto/openssh/servconf.c
3239
free_string_array(char **a, u_int n)
crypto/openssh/servconf.c
3245
for (i = 0; i < n; i++)
crypto/openssh/servconf.c
3254
uint32_t n;
crypto/openssh/servconf.c
3256
if ((r = sshbuf_get_u32(buf, &n)) != 0) {
crypto/openssh/servconf.c
3260
if (n > UINT_MAX) {
crypto/openssh/servconf.c
3264
if (n > sshbuf_len(buf)) {
crypto/openssh/servconf.c
3268
*np = n;
crypto/openssh/servconf.c
3278
u_int i, n;
crypto/openssh/servconf.c
3282
if ((r = deserialise_count(buf, &n, "strings")) != 0)
crypto/openssh/servconf.c
3284
if (n > 0)
crypto/openssh/servconf.c
3285
a = xcalloc(n, sizeof(*a));
crypto/openssh/servconf.c
3286
for (i = 0; i < n; i++) {
crypto/openssh/servconf.c
3293
*np = n;
crypto/openssh/servconf.c
3298
free_queued_listen_addrs(struct queued_listenaddr *qla, u_int n)
crypto/openssh/servconf.c
3304
for (i = 0; i < n; i++) {
crypto/openssh/servconf.c
3315
u_int i, n;
crypto/openssh/servconf.c
3318
if ((r = deserialise_count(buf, &n, "host key files")) != 0)
crypto/openssh/servconf.c
3320
if (n > 0) {
crypto/openssh/servconf.c
3321
userprovided = xcalloc(n, sizeof(*userprovided));
crypto/openssh/servconf.c
3322
files = xcalloc(n, sizeof(*files));
crypto/openssh/servconf.c
3324
for (i = 0; i < n; i++) {
crypto/openssh/servconf.c
3333
options->num_host_key_files = n;
crypto/openssh/servconf.c
3357
u_int i, n;
crypto/openssh/servconf.c
3360
if ((r = deserialise_count(buf, &n, "listen addresses")) != 0)
crypto/openssh/servconf.c
3362
if (n > 0)
crypto/openssh/servconf.c
3363
qla = xcalloc(n, sizeof(*qla));
crypto/openssh/servconf.c
3364
for (i = 0; i < n; i++) {
crypto/openssh/servconf.c
3374
options->num_queued_listens = n;
crypto/openssh/servconf.c
3421
u_int i, n;
crypto/openssh/servconf.c
3423
if ((r = deserialise_count(buf, &n, "ports")) != 0)
crypto/openssh/servconf.c
3425
if (n > MAX_PORTS) {
crypto/openssh/servconf.c
3429
options->num_ports = n;
crypto/openssh/servconf.c
3573
u_int i, n;
crypto/openssh/servconf.c
3576
if ((r = deserialise_count(buf, &n, "subsystems")) != 0)
crypto/openssh/servconf.c
3578
if (n > 0) {
crypto/openssh/servconf.c
3579
names = xcalloc(n, sizeof(*names));
crypto/openssh/servconf.c
3580
commands = xcalloc(n, sizeof(*names));
crypto/openssh/servconf.c
3581
args = xcalloc(n, sizeof(*args));
crypto/openssh/servconf.c
3583
for (i = 0; i < n; i++) {
crypto/openssh/servconf.c
3594
options->num_subsystems = n;
crypto/openssh/session.c
1078
for (n = 0 ; n < auth_opts->nenv; n++) {
crypto/openssh/session.c
1079
ocp = xstrdup(auth_opts->env[n]);
crypto/openssh/session.c
937
size_t n;
crypto/openssh/sftp-server.c
1748
u_int n, nusers = 0, ngroups = 0;
crypto/openssh/sftp-server.c
1761
if ((r = sshbuf_get_u32(uids, &n)) != 0)
crypto/openssh/sftp-server.c
1763
user_pw = getpwuid((uid_t)n);
crypto/openssh/sftp-server.c
1765
debug3_f("uid %u => \"%s\"", n, name);
crypto/openssh/sftp-server.c
1771
if ((r = sshbuf_get_u32(gids, &n)) != 0)
crypto/openssh/sftp-server.c
1773
gr = getgrgid((gid_t)n);
crypto/openssh/sftp-server.c
1775
debug3_f("gid %u => \"%s\"", n, name);
crypto/openssh/sftp-usergroup.c
154
u_int id, i, n = 0, *ids = NULL;
crypto/openssh/sftp-usergroup.c
166
if (has_id(id, ids, n))
crypto/openssh/sftp-usergroup.c
168
ids = xrecallocarray(ids, n, n + 1, sizeof(*ids));
crypto/openssh/sftp-usergroup.c
169
ids[n++] = id;
crypto/openssh/sftp-usergroup.c
172
*nidsp = n;
crypto/openssh/sftp-usergroup.c
193
u_int id, i, n = 0, *ids = NULL;
crypto/openssh/sftp-usergroup.c
205
if (has_id(id, ids, n))
crypto/openssh/sftp-usergroup.c
207
ids = xrecallocarray(ids, n, n + 1, sizeof(*ids));
crypto/openssh/sftp-usergroup.c
208
ids[n++] = id;
crypto/openssh/sftp-usergroup.c
211
*nidsp = n;
crypto/openssh/sftp.c
1392
cmdnum = cmds[i].n;
crypto/openssh/sftp.c
159
const int n;
crypto/openssh/sftp.c
847
int n;
crypto/openssh/sftp.c
851
if ((n = sftp_readdir(conn, path, &d)) != 0)
crypto/openssh/sftp.c
852
return (n);
crypto/openssh/sftp.c
860
for (n = 0; d[n] != NULL; n++) {
crypto/openssh/sftp.c
861
if (d[n]->filename[0] != '.' || (lflag & LS_SHOW_ALL))
crypto/openssh/sftp.c
862
m = MAXIMUM(m, strlen(d[n]->filename));
crypto/openssh/sftp.c
880
for (n = 0; d[n] != NULL; n++)
crypto/openssh/sftp.c
883
qsort(d, n, sizeof(*d), sdirent_comp);
crypto/openssh/sftp.c
887
for (n = 0; d[n] != NULL && !interrupted; n++) {
crypto/openssh/sftp.c
890
if (d[n]->filename[0] == '.' && !(lflag & LS_SHOW_ALL))
crypto/openssh/sftp.c
893
tmp = sftp_path_append(path, d[n]->filename);
crypto/openssh/sftp.c
905
attrib_to_stat(&d[n]->a, &sb);
crypto/openssh/sftp.c
915
mprintf("%s\n", d[n]->longname);
crypto/openssh/smult_curve25519_ref.c
248
const unsigned char *n,
crypto/openssh/smult_curve25519_ref.c
254
for (i = 0;i < 32;++i) e[i] = n[i];
crypto/openssh/sntrup761.c
1619
static void crypto_sort_int32(void *array,long long n)
crypto/openssh/sntrup761.c
1624
if (n < 2) return;
crypto/openssh/sntrup761.c
1626
while (top < n - top) top += top;
crypto/openssh/sntrup761.c
1630
while (i + 2 * p <= n) {
crypto/openssh/sntrup761.c
1635
for (j = i;j < n - p;++j)
crypto/openssh/sntrup761.c
1642
if (j == n - q) goto done;
crypto/openssh/sntrup761.c
1653
while (i + p <= n - q) {
crypto/openssh/sntrup761.c
1664
while (j < n - q) {
crypto/openssh/sntrup761.c
1682
static void crypto_sort_uint32(void *array,long long n)
crypto/openssh/sntrup761.c
1686
for (j = 0;j < n;++j) x[j] ^= 0x80000000;
crypto/openssh/sntrup761.c
1687
crypto_sort_int32(array,n);
crypto/openssh/sntrup761.c
1688
for (j = 0;j < n;++j) x[j] ^= 0x80000000;
crypto/openssh/ssh-add.c
1009
for (n = 0; n < ncerts; n++)
crypto/openssh/ssh-add.c
1010
sshkey_free(certs[n]);
crypto/openssh/ssh-add.c
259
uint64_t n;
crypto/openssh/ssh-add.c
268
n = (CERT_EXPIRY_GRACE + cert->cert->valid_before) - (uint64_t)now;
crypto/openssh/ssh-add.c
269
n = MINIMUM(n, INT_MAX);
crypto/openssh/ssh-add.c
271
return (int)n;
crypto/openssh/ssh-add.c
272
return MINIMUM(cert_lifetime, (int)n);
crypto/openssh/ssh-add.c
826
size_t n, ndest_constraints = 0, ncerts = 0;
crypto/openssh/ssh-keygen.c
1725
u_int n;
crypto/openssh/ssh-keygen.c
1792
n = 0;
crypto/openssh/ssh-keygen.c
1796
for (; (cp = strsep(&tmp, ",")) != NULL; n++) {
crypto/openssh/ssh-keygen.c
1797
plist = xreallocarray(plist, n + 1, sizeof(*plist));
crypto/openssh/ssh-keygen.c
1798
if (*(plist[n] = xstrdup(cp)) == '\0')
crypto/openssh/ssh-keygen.c
1803
if (n > SSHKEY_CERT_MAX_PRINCIPALS)
crypto/openssh/ssh-keygen.c
1819
public->cert->nprincipals = n;
crypto/openssh/ssh-keygen.c
3733
unsigned int n = 0;
crypto/openssh/ssh-keygen.c
3736
n = do_print_resource_record(pw, identity_file,
crypto/openssh/ssh-keygen.c
3738
if (n == 0)
crypto/openssh/ssh-keygen.c
3743
n += do_print_resource_record(pw,
crypto/openssh/ssh-keygen.c
3746
n += do_print_resource_record(pw,
crypto/openssh/ssh-keygen.c
3749
n += do_print_resource_record(pw,
crypto/openssh/ssh-keygen.c
3752
if (n == 0)
crypto/openssh/ssh-keyscan.c
461
int n = 0, remote_major = 0, remote_minor = 0;
crypto/openssh/ssh-keyscan.c
468
n = snprintf(buf, sizeof buf, "SSH-%d.%d-OpenSSH-keyscan\r\n",
crypto/openssh/ssh-keyscan.c
470
if (n < 0 || (size_t)n >= sizeof(buf)) {
crypto/openssh/ssh-keyscan.c
475
if (atomicio(vwrite, s, buf, n) != (size_t)n) {
crypto/openssh/ssh-keyscan.c
495
(n = atomicio(read, s, cp, 1)) == 1 && *cp != '\n') {
crypto/openssh/ssh-keyscan.c
500
if (n != 1 || strncmp(buf, "SSH-", 4) == 0)
crypto/openssh/ssh-keyscan.c
503
if (n == 0) {
crypto/openssh/ssh-pkcs11.c
1436
CK_ULONG n = 0;
crypto/openssh/ssh-pkcs11.c
1460
rv = f->C_FindObjects(session, &obj, 1, &n);
crypto/openssh/ssh-pkcs11.c
1465
if (n == 0)
crypto/openssh/ssh-pkcs11.c
1542
CK_ULONG n = 0;
crypto/openssh/ssh-pkcs11.c
1566
rv = f->C_FindObjects(session, &obj, 1, &n);
crypto/openssh/ssh-pkcs11.c
1571
if (n == 0)
crypto/openssh/ssh-sk-client.c
113
n = read(execpipe[0], execbuf, sizeof execbuf);
crypto/openssh/ssh-sk-client.c
115
if (n > 0) {
crypto/openssh/ssh-sk-client.c
116
execbuf[n - 1] = '\0';
crypto/openssh/ssh-sk-client.c
50
ssize_t n;
crypto/openssh/ssh.c
634
size_t n, len;
crypto/openssh/ssh.c
813
for (n = 0; n < len; n++)
crypto/openssh/ssh.c
814
if (cp[n] == ',')
crypto/openssh/ssh.c
815
cp[n] = '\n';
crypto/openssh/ssh_api.c
350
size_t n, j;
crypto/openssh/ssh_api.c
352
for (j = n = 0;;) {
crypto/openssh/ssh_api.c
378
if (ssh->kex->server || ++n > SSH_MAX_PRE_BANNER_LINES) {
crypto/openssh/sshconnect.c
881
u_int i, n, num_othernames = 0;
crypto/openssh/sshconnect.c
893
n = num_othernames;
crypto/openssh/sshconnect.c
894
if (n > MAX_OTHER_NAMES)
crypto/openssh/sshconnect.c
895
n = MAX_OTHER_NAMES;
crypto/openssh/sshconnect.c
896
for (i = 0; i < n; i++) {
crypto/openssh/sshconnect.c
899
if (n < num_othernames) {
crypto/openssh/sshconnect.c
901
num_othernames - n);
crypto/openssh/ssherr.c
23
ssh_err(int n)
crypto/openssh/ssherr.c
27
switch (n) {
crypto/openssh/ssherr.h
89
const char *ssh_err(int n);
crypto/openssh/sshkey.c
1614
struct sshkey *n = NULL;
crypto/openssh/sshkey.c
1621
if ((n = sshkey_new(k->type)) == NULL) {
crypto/openssh/sshkey.c
1625
if ((r = impl->funcs->copy_public(k, n)) != 0)
crypto/openssh/sshkey.c
1627
if (sshkey_is_cert(k) && (r = sshkey_cert_copy(k, n)) != 0)
crypto/openssh/sshkey.c
1630
*pkp = n;
crypto/openssh/sshkey.c
1631
n = NULL;
crypto/openssh/sshkey.c
1634
sshkey_free(n);
crypto/openssh/sshsig.c
509
ssize_t n, total = 0;
crypto/openssh/sshsig.c
528
if ((n = read(fd, rbuf, sizeof(rbuf))) == -1) {
crypto/openssh/sshsig.c
536
} else if (n == 0) {
crypto/openssh/sshsig.c
540
total += (size_t)n;
crypto/openssh/sshsig.c
541
if ((r = ssh_digest_update(ctx, rbuf, (size_t)n)) != 0) {
crypto/openssl/apps/ca.c
1106
char *n = new_cert + outdirlen;
crypto/openssl/apps/ca.c
1117
*n++ = HEX_DIGITS[*psn >> 4];
crypto/openssl/apps/ca.c
1118
*n++ = HEX_DIGITS[*psn & 0x0F];
crypto/openssl/apps/ca.c
1121
*(n++) = '0';
crypto/openssl/apps/ca.c
1122
*(n++) = '0';
crypto/openssl/apps/ca.c
1124
*(n++) = '.';
crypto/openssl/apps/ca.c
1125
*(n++) = 'p';
crypto/openssl/apps/ca.c
1126
*(n++) = 'e';
crypto/openssl/apps/ca.c
1127
*(n++) = 'm';
crypto/openssl/apps/ca.c
1128
*n = '\0'; /* closing new_cert */
crypto/openssl/apps/ca.c
1519
X509_NAME *n = parse_name(subj, chtype, multirdn, "subject");
crypto/openssl/apps/ca.c
1521
if (!n)
crypto/openssl/apps/ca.c
1523
X509_REQ_set_subject_name(req, n);
crypto/openssl/apps/ca.c
1524
X509_NAME_free(n);
crypto/openssl/apps/ca.c
2015
X509_NAME *n = NULL;
crypto/openssl/apps/ca.c
2052
n = X509_REQ_get_subject_name(req);
crypto/openssl/apps/ca.c
2084
if (!X509_NAME_add_entry_by_NID(n, nid, chtype,
crypto/openssl/apps/cmp.c
1028
X509_NAME *n = parse_name(str, MBSTRING_UTF8, 1, desc);
crypto/openssl/apps/cmp.c
1030
if (n == NULL)
crypto/openssl/apps/cmp.c
1032
if (!(*set_fn)(ctx, n)) {
crypto/openssl/apps/cmp.c
1033
X509_NAME_free(n);
crypto/openssl/apps/cmp.c
1037
X509_NAME_free(n);
crypto/openssl/apps/cmp.c
1047
GENERAL_NAME *n;
crypto/openssl/apps/cmp.c
1059
n = a2i_GENERAL_NAME(NULL, NULL, NULL, GEN_IPADD, names, 0);
crypto/openssl/apps/cmp.c
1060
if (n == NULL)
crypto/openssl/apps/cmp.c
1061
n = a2i_GENERAL_NAME(NULL, NULL, NULL,
crypto/openssl/apps/cmp.c
1067
if (n == NULL) {
crypto/openssl/apps/cmp.c
1071
if (!OSSL_CMP_CTX_push1_subjectAltName(ctx, n)) {
crypto/openssl/apps/cmp.c
1072
GENERAL_NAME_free(n);
crypto/openssl/apps/cmp.c
1076
GENERAL_NAME_free(n);
crypto/openssl/apps/cmp.c
2460
int n = sk_X509_num(certs /* may be NULL */);
crypto/openssl/apps/cmp.c
2462
if (n < 0)
crypto/openssl/apps/cmp.c
2463
n = 0;
crypto/openssl/apps/cmp.c
2468
n, desc, file);
crypto/openssl/apps/cmp.c
2469
if (n > 1 && opt_certform != FORMAT_PEM)
crypto/openssl/apps/cmp.c
2476
n = -1;
crypto/openssl/apps/cmp.c
2480
for (i = 0; i < n; i++) {
crypto/openssl/apps/cmp.c
2483
n = -1;
crypto/openssl/apps/cmp.c
2491
return n;
crypto/openssl/apps/cmp.c
2619
int n = sk_OSSL_CMP_ITAV_num(itavs);
crypto/openssl/apps/cmp.c
2621
if (n <= 0) { /* also in case itavs == NULL */
crypto/openssl/apps/cmp.c
2626
for (i = 1; i <= n; i++) {
crypto/openssl/apps/crl.c
371
unsigned int n;
crypto/openssl/apps/crl.c
374
if (!X509_CRL_digest(x, digest, md, &n)) {
crypto/openssl/apps/crl.c
380
for (j = 0; j < (int)n; j++) {
crypto/openssl/apps/crl.c
381
BIO_printf(bio_out, "%02X%c", md[j], (j + 1 == (int)n) ? '\n' : ':');
crypto/openssl/apps/dgst.c
158
dec.n = 0;
crypto/openssl/apps/dgst.c
38
int n;
crypto/openssl/apps/dgst.c
541
if (++dec->n == 3) {
crypto/openssl/apps/dgst.c
543
dec->n = 0;
crypto/openssl/apps/ecparam.c
84
size_t n, crv_len = EC_get_builtin_curves(NULL, 0);
crypto/openssl/apps/ecparam.c
89
for (n = 0; n < crv_len; n++) {
crypto/openssl/apps/ecparam.c
90
const char *comment = curves[n].comment;
crypto/openssl/apps/ecparam.c
91
const char *sname = OBJ_nid2sn(curves[n].nid);
crypto/openssl/apps/enc.c
170
long n;
crypto/openssl/apps/enc.c
221
dec.n = 0;
crypto/openssl/apps/enc.c
283
if (!opt_long(opt_arg(), &n)
crypto/openssl/apps/enc.c
284
|| n < 0 || (k && n >= LONG_MAX / 1024))
crypto/openssl/apps/enc.c
287
n *= 1024;
crypto/openssl/apps/enc.c
288
if (n > INT_MAX)
crypto/openssl/apps/enc.c
290
bsize = (int)n;
crypto/openssl/apps/enc.c
42
int n;
crypto/openssl/apps/enc.c
842
if (++dec->n == 3) {
crypto/openssl/apps/enc.c
844
dec->n = 0;
crypto/openssl/apps/enc.c
851
int i, n;
crypto/openssl/apps/enc.c
855
n = strlen(in);
crypto/openssl/apps/enc.c
856
if (n > i) {
crypto/openssl/apps/enc.c
858
n = i; /* ignore exceeding part */
crypto/openssl/apps/enc.c
859
} else if (n < i) {
crypto/openssl/apps/enc.c
864
for (i = 0; i < n; i++) {
crypto/openssl/apps/engine.c
411
int k, n;
crypto/openssl/apps/engine.c
436
n = fn_c(e, NULL, &nids, 0);
crypto/openssl/apps/engine.c
437
for (k = 0; k < n; ++k)
crypto/openssl/apps/engine.c
445
n = fn_d(e, NULL, &nids, 0);
crypto/openssl/apps/engine.c
446
for (k = 0; k < n; ++k)
crypto/openssl/apps/engine.c
454
n = fn_pk(e, NULL, &nids, 0);
crypto/openssl/apps/engine.c
455
for (k = 0; k < n; ++k)
crypto/openssl/apps/lib/apps.c
1459
const char *n;
crypto/openssl/apps/lib/apps.c
1461
n = a[DB_serial];
crypto/openssl/apps/lib/apps.c
1462
while (*n == '0')
crypto/openssl/apps/lib/apps.c
1463
n++;
crypto/openssl/apps/lib/apps.c
1464
return OPENSSL_LH_strhash(n);
crypto/openssl/apps/lib/apps.c
1922
X509_NAME *n;
crypto/openssl/apps/lib/apps.c
1933
n = X509_NAME_new();
crypto/openssl/apps/lib/apps.c
1934
if (n == NULL) {
crypto/openssl/apps/lib/apps.c
2005
if (!X509_NAME_add_entry_by_NID(n, nid, chtype,
crypto/openssl/apps/lib/apps.c
2017
return n;
crypto/openssl/apps/lib/apps.c
2020
X509_NAME_free(n);
crypto/openssl/apps/lib/apps.c
2951
DWORD n;
crypto/openssl/apps/lib/apps.c
2953
if (ReadFile(GetStdHandle(STD_INPUT_HANDLE), buf, siz, &n, NULL))
crypto/openssl/apps/lib/apps.c
2954
return n;
crypto/openssl/apps/lib/apps.c
2975
DWORD n;
crypto/openssl/apps/lib/apps.c
2977
if (WriteFile(GetStdHandle(STD_OUTPUT_HANDLE), buf, siz, &n, NULL))
crypto/openssl/apps/lib/apps.c
2978
return n;
crypto/openssl/apps/lib/opt.c
69
size_t i, n;
crypto/openssl/apps/lib/opt.c
76
n = strlen(p);
crypto/openssl/apps/lib/opt.c
77
if (n > 4 && (strcmp(&p[n - 4], ".exe") == 0 || strcmp(&p[n - 4], ".EXE") == 0))
crypto/openssl/apps/lib/opt.c
78
n -= 4;
crypto/openssl/apps/lib/opt.c
81
if (n > sizeof(prog) - 1)
crypto/openssl/apps/lib/opt.c
82
n = sizeof(prog) - 1;
crypto/openssl/apps/lib/opt.c
83
for (q = prog, i = 0; i < n; i++, p++)
crypto/openssl/apps/list.c
1096
int n = 0;
crypto/openssl/apps/list.c
1108
if ((n = OBJ_obj2txt(NULL, 0, obj, 1)) == 0) {
crypto/openssl/apps/list.c
1112
if (n < 0)
crypto/openssl/apps/list.c
1115
if (n > oid_size) {
crypto/openssl/apps/list.c
1116
oid_buf = OPENSSL_realloc(oid_buf, n + 1);
crypto/openssl/apps/list.c
1121
oid_size = n + 1;
crypto/openssl/apps/passwd.c
331
int n;
crypto/openssl/apps/passwd.c
413
n = passwd_len;
crypto/openssl/apps/passwd.c
414
while (n) {
crypto/openssl/apps/passwd.c
415
if (!EVP_DigestUpdate(md, (n & 1) ? "\0" : passwd, 1))
crypto/openssl/apps/passwd.c
417
n >>= 1;
crypto/openssl/apps/passwd.c
522
size_t n;
crypto/openssl/apps/passwd.c
629
for (n = passwd_len; n > buf_size; n -= buf_size) {
crypto/openssl/apps/passwd.c
633
if (!EVP_DigestUpdate(md, buf, n))
crypto/openssl/apps/passwd.c
636
n = passwd_len;
crypto/openssl/apps/passwd.c
637
while (n) {
crypto/openssl/apps/passwd.c
639
(n & 1) ? buf : (const unsigned char *)passwd,
crypto/openssl/apps/passwd.c
640
(n & 1) ? buf_size : passwd_len))
crypto/openssl/apps/passwd.c
642
n >>= 1;
crypto/openssl/apps/passwd.c
651
for (n = passwd_len; n > 0; n--)
crypto/openssl/apps/passwd.c
660
for (cp = p_bytes, n = passwd_len; n > buf_size; n -= buf_size, cp += buf_size)
crypto/openssl/apps/passwd.c
662
memcpy(cp, temp_buf, n);
crypto/openssl/apps/passwd.c
668
for (n = 16 + buf[0]; n > 0; n--)
crypto/openssl/apps/passwd.c
677
for (cp = s_bytes, n = salt_len; n > buf_size; n -= buf_size, cp += buf_size)
crypto/openssl/apps/passwd.c
679
memcpy(cp, temp_buf, n);
crypto/openssl/apps/passwd.c
681
for (n = 0; n < rounds; n++) {
crypto/openssl/apps/passwd.c
685
(n & 1) ? (const unsigned char *)p_bytes : buf,
crypto/openssl/apps/passwd.c
686
(n & 1) ? passwd_len : buf_size))
crypto/openssl/apps/passwd.c
688
if (n % 3) {
crypto/openssl/apps/passwd.c
692
if (n % 7) {
crypto/openssl/apps/passwd.c
697
(n & 1) ? buf : (const unsigned char *)p_bytes,
crypto/openssl/apps/passwd.c
698
(n & 1) ? buf_size : passwd_len))
crypto/openssl/apps/rehash.c
201
ossl_ssize_t n;
crypto/openssl/apps/rehash.c
224
n = readlink(fullpath, linktarget, sizeof(linktarget));
crypto/openssl/apps/rehash.c
225
if (n < 0 || n >= (int)sizeof(linktarget))
crypto/openssl/apps/rehash.c
227
linktarget[n] = 0;
crypto/openssl/apps/rehash.c
355
int n, numfiles, nextid, dirlen, buflen, errs = 0;
crypto/openssl/apps/rehash.c
401
for (n = 0; n < numfiles; ++n) {
crypto/openssl/apps/rehash.c
402
filename = sk_OPENSSL_STRING_value(files, n);
crypto/openssl/apps/req.c
1043
BIGNUM *n = NULL;
crypto/openssl/apps/req.c
1045
if (!EVP_PKEY_get_bn_param(tpubkey, "n", &n))
crypto/openssl/apps/req.c
1047
BN_print(out, n);
crypto/openssl/apps/req.c
1048
BN_free(n);
crypto/openssl/apps/req.c
1376
static int add_DN_object(X509_NAME *n, char *text, const char *def,
crypto/openssl/apps/req.c
1389
if (!X509_NAME_add_entry_by_NID(n, nid, chtype,
crypto/openssl/apps/req.c
63
static int add_DN_object(X509_NAME *n, char *text, const char *def,
crypto/openssl/apps/rsa.c
293
BIGNUM *n = NULL;
crypto/openssl/apps/rsa.c
296
EVP_PKEY_get_bn_param(pkey, "n", &n);
crypto/openssl/apps/rsa.c
298
BN_print(out, n);
crypto/openssl/apps/rsa.c
300
BN_free(n);
crypto/openssl/apps/speed.c
4942
int n;
crypto/openssl/apps/speed.c
4949
for (n = 0; n < multi; ++n) {
crypto/openssl/apps/speed.c
4958
fds[n] = fd[0];
crypto/openssl/apps/speed.c
4972
printf("Forked child %d\n", n);
crypto/openssl/apps/speed.c
4976
for (n = 0; n < multi; ++n) {
crypto/openssl/apps/speed.c
4984
if ((f = fdopen(fds[n], "r")) == NULL) {
crypto/openssl/apps/speed.c
4997
n);
crypto/openssl/apps/speed.c
5000
printf("Got: %s from %d\n", buf, n);
crypto/openssl/apps/speed.c
5124
n);
crypto/openssl/apps/speed.c
5131
for (n = 0; n < multi; ++n) {
crypto/openssl/apps/x509.c
1067
BIGNUM *n = NULL;
crypto/openssl/apps/x509.c
1070
EVP_PKEY_get_bn_param(pkey, "n", &n);
crypto/openssl/apps/x509.c
1071
BN_print(out, n);
crypto/openssl/apps/x509.c
1072
BN_free(n);
crypto/openssl/apps/x509.c
1097
unsigned int n;
crypto/openssl/apps/x509.c
1112
digres = X509_digest(x, fdig, md, &n);
crypto/openssl/apps/x509.c
1120
for (j = 0; j < (int)n; j++)
crypto/openssl/apps/x509.c
1121
BIO_printf(out, "%02X%c", md[j], (j + 1 == (int)n) ? '\n' : ':');
crypto/openssl/apps/x509.c
262
int i, n = sk_X509_EXTENSION_num(cert_exts /* may be NULL */);
crypto/openssl/apps/x509.c
277
if ((exts = sk_X509_EXTENSION_new_reserve(NULL, n)) == NULL)
crypto/openssl/apps/x509.c
279
for (i = 0; i < n; i++) {
crypto/openssl/crypto/aes/aes_core.c
605
int i, n;
crypto/openssl/crypto/aes/aes_core.c
609
n = nk / 2;
crypto/openssl/crypto/aes/aes_core.c
610
prev.d = w[n - 1];
crypto/openssl/crypto/aes/aes_core.c
611
for (i = n; i < (nr + 1) * 2; i++) {
crypto/openssl/crypto/aes/aes_core.c
613
if (i % n == 0) {
crypto/openssl/crypto/aes/aes_core.c
618
} else if (nk > 6 && i % n == 2) {
crypto/openssl/crypto/aes/aes_core.c
621
prev.d = w[i - n];
crypto/openssl/crypto/aes/aes_ige.c
100
tmp2.data[n] ^= iv2.data[n];
crypto/openssl/crypto/aes/aes_ige.c
121
for (n = 0; n < N_WORDS; ++n)
crypto/openssl/crypto/aes/aes_ige.c
122
tmp.data[n] = inp->data[n] ^ iv2p->data[n];
crypto/openssl/crypto/aes/aes_ige.c
125
for (n = 0; n < N_WORDS; ++n)
crypto/openssl/crypto/aes/aes_ige.c
126
outp->data[n] ^= ivp->data[n];
crypto/openssl/crypto/aes/aes_ige.c
146
for (n = 0; n < N_WORDS; ++n)
crypto/openssl/crypto/aes/aes_ige.c
147
tmp.data[n] ^= iv2.data[n];
crypto/openssl/crypto/aes/aes_ige.c
150
for (n = 0; n < N_WORDS; ++n)
crypto/openssl/crypto/aes/aes_ige.c
151
tmp.data[n] ^= iv.data[n];
crypto/openssl/crypto/aes/aes_ige.c
185
size_t n;
crypto/openssl/crypto/aes/aes_ige.c
208
for (n = 0; n < AES_BLOCK_SIZE; ++n)
crypto/openssl/crypto/aes/aes_ige.c
209
out[n] = in[n] ^ iv[n];
crypto/openssl/crypto/aes/aes_ige.c
211
for (n = 0; n < AES_BLOCK_SIZE; ++n)
crypto/openssl/crypto/aes/aes_ige.c
212
out[n] ^= iv2[n];
crypto/openssl/crypto/aes/aes_ige.c
231
for (n = 0; n < AES_BLOCK_SIZE; ++n)
crypto/openssl/crypto/aes/aes_ige.c
232
out[n] ^= iv[n];
crypto/openssl/crypto/aes/aes_ige.c
243
for (n = 0; n < AES_BLOCK_SIZE; ++n)
crypto/openssl/crypto/aes/aes_ige.c
244
out[n] ^= iv2[n];
crypto/openssl/crypto/aes/aes_ige.c
264
for (n = 0; n < AES_BLOCK_SIZE; ++n)
crypto/openssl/crypto/aes/aes_ige.c
265
tmp[n] ^= iv2[n];
crypto/openssl/crypto/aes/aes_ige.c
267
for (n = 0; n < AES_BLOCK_SIZE; ++n)
crypto/openssl/crypto/aes/aes_ige.c
268
out[n] ^= iv[n];
crypto/openssl/crypto/aes/aes_ige.c
282
for (n = 0; n < AES_BLOCK_SIZE; ++n)
crypto/openssl/crypto/aes/aes_ige.c
283
tmp[n] ^= iv2[n];
crypto/openssl/crypto/aes/aes_ige.c
285
for (n = 0; n < AES_BLOCK_SIZE; ++n)
crypto/openssl/crypto/aes/aes_ige.c
286
out[n] ^= iv[n];
crypto/openssl/crypto/aes/aes_ige.c
52
size_t n;
crypto/openssl/crypto/aes/aes_ige.c
71
for (n = 0; n < N_WORDS; ++n)
crypto/openssl/crypto/aes/aes_ige.c
72
outp->data[n] = inp->data[n] ^ ivp->data[n];
crypto/openssl/crypto/aes/aes_ige.c
75
for (n = 0; n < N_WORDS; ++n)
crypto/openssl/crypto/aes/aes_ige.c
76
outp->data[n] ^= iv2p->data[n];
crypto/openssl/crypto/aes/aes_ige.c
95
for (n = 0; n < N_WORDS; ++n)
crypto/openssl/crypto/aes/aes_ige.c
96
tmp2.data[n] = tmp.data[n] ^ iv.data[n];
crypto/openssl/crypto/aes/aes_ige.c
99
for (n = 0; n < N_WORDS; ++n)
crypto/openssl/crypto/aes/aes_x86core.c
102
: "I"(n), "0"(a) \
crypto/openssl/crypto/aes/aes_x86core.c
92
#define ROTATE(a, n) _lrotl(a, n)
crypto/openssl/crypto/aes/aes_x86core.c
94
#define ROTATE(a, n) _rotl(a, n)
crypto/openssl/crypto/aes/aes_x86core.c
97
#define ROTATE(a, n) ({ \
crypto/openssl/crypto/aria/aria.c
852
static ossl_inline void rotnr(unsigned int n, ARIA_u128 *o,
crypto/openssl/crypto/aria/aria.c
855
const unsigned int bytes = n / 8, bits = n % 8;
crypto/openssl/crypto/asn1/a_bitstr.c
148
int ASN1_BIT_STRING_set_bit(ASN1_BIT_STRING *a, int n, int value)
crypto/openssl/crypto/asn1/a_bitstr.c
153
if (n < 0)
crypto/openssl/crypto/asn1/a_bitstr.c
156
w = n / 8;
crypto/openssl/crypto/asn1/a_bitstr.c
157
v = 1 << (7 - (n & 0x07));
crypto/openssl/crypto/asn1/a_bitstr.c
184
int ASN1_BIT_STRING_get_bit(const ASN1_BIT_STRING *a, int n)
crypto/openssl/crypto/asn1/a_bitstr.c
188
if (n < 0)
crypto/openssl/crypto/asn1/a_bitstr.c
191
w = n / 8;
crypto/openssl/crypto/asn1/a_bitstr.c
192
v = 1 << (7 - (n & 0x07));
crypto/openssl/crypto/asn1/a_d2i_fp.c
169
unsigned int n = 0;
crypto/openssl/crypto/asn1/a_d2i_fp.c
172
if (n > 4) {
crypto/openssl/crypto/asn1/a_d2i_fp.c
177
++n;
crypto/openssl/crypto/asn1/a_d2i_fp.c
197
unsigned int n = *q & 0x7f;
crypto/openssl/crypto/asn1/a_d2i_fp.c
199
if (n > sizeof(long)) {
crypto/openssl/crypto/asn1/a_d2i_fp.c
203
if (n > diff) {
crypto/openssl/crypto/asn1/a_d2i_fp.c
204
want = q - p + n + 1;
crypto/openssl/crypto/asn1/a_i2d_fp.c
105
n -= i;
crypto/openssl/crypto/asn1/a_i2d_fp.c
38
int i, j = 0, n, ret = 1;
crypto/openssl/crypto/asn1/a_i2d_fp.c
40
n = i2d(x, NULL);
crypto/openssl/crypto/asn1/a_i2d_fp.c
41
if (n <= 0)
crypto/openssl/crypto/asn1/a_i2d_fp.c
44
b = OPENSSL_malloc(n);
crypto/openssl/crypto/asn1/a_i2d_fp.c
52
i = BIO_write(out, &(b[j]), n);
crypto/openssl/crypto/asn1/a_i2d_fp.c
53
if (i == n)
crypto/openssl/crypto/asn1/a_i2d_fp.c
60
n -= i;
crypto/openssl/crypto/asn1/a_i2d_fp.c
88
int i, j = 0, n, ret = 1;
crypto/openssl/crypto/asn1/a_i2d_fp.c
90
n = ASN1_item_i2d(x, &b, it);
crypto/openssl/crypto/asn1/a_i2d_fp.c
91
if (n < 0 || b == NULL) {
crypto/openssl/crypto/asn1/a_i2d_fp.c
97
i = BIO_write(out, &(b[j]), n);
crypto/openssl/crypto/asn1/a_i2d_fp.c
98
if (i == n)
crypto/openssl/crypto/asn1/a_print.c
71
int i, n;
crypto/openssl/crypto/asn1/a_print.c
77
n = 0;
crypto/openssl/crypto/asn1/a_print.c
81
buf[n] = '.';
crypto/openssl/crypto/asn1/a_print.c
83
buf[n] = p[i];
crypto/openssl/crypto/asn1/a_print.c
84
n++;
crypto/openssl/crypto/asn1/a_print.c
85
if (n >= 80) {
crypto/openssl/crypto/asn1/a_print.c
86
if (BIO_write(bp, buf, n) <= 0)
crypto/openssl/crypto/asn1/a_print.c
88
n = 0;
crypto/openssl/crypto/asn1/a_print.c
91
if (n > 0)
crypto/openssl/crypto/asn1/a_print.c
92
if (BIO_write(bp, buf, n) <= 0)
crypto/openssl/crypto/asn1/a_strex.c
420
static int do_name_ex(char_io *io_ch, void *arg, const X509_NAME *n,
crypto/openssl/crypto/asn1/a_strex.c
484
cnt = X509_NAME_entry_count(n);
crypto/openssl/crypto/asn1/a_strex.c
487
ent = X509_NAME_get_entry(n, cnt - i - 1);
crypto/openssl/crypto/asn1/a_strex.c
489
ent = X509_NAME_get_entry(n, i);
crypto/openssl/crypto/asn1/a_time.c
133
n = a[o] - num_zero;
crypto/openssl/crypto/asn1/a_time.c
140
n = (n * 10) + a[o] - num_zero;
crypto/openssl/crypto/asn1/a_time.c
147
if ((n < min[i2]) || (n > max[i2]))
crypto/openssl/crypto/asn1/a_time.c
152
tmp.tm_year = n * 100 - 1900;
crypto/openssl/crypto/asn1/a_time.c
156
tmp.tm_year = n < 50 ? n + 100 : n;
crypto/openssl/crypto/asn1/a_time.c
158
tmp.tm_year += n;
crypto/openssl/crypto/asn1/a_time.c
161
tmp.tm_mon = n - 1;
crypto/openssl/crypto/asn1/a_time.c
171
if (n > md)
crypto/openssl/crypto/asn1/a_time.c
173
tmp.tm_mday = n;
crypto/openssl/crypto/asn1/a_time.c
177
tmp.tm_hour = n;
crypto/openssl/crypto/asn1/a_time.c
180
tmp.tm_min = n;
crypto/openssl/crypto/asn1/a_time.c
183
tmp.tm_sec = n;
crypto/openssl/crypto/asn1/a_time.c
232
n = a[o] - num_zero;
crypto/openssl/crypto/asn1/a_time.c
236
n = (n * 10) + a[o] - num_zero;
crypto/openssl/crypto/asn1/a_time.c
238
if ((n < min[i2]) || (n > max[i2]))
crypto/openssl/crypto/asn1/a_time.c
243
offset = n * 3600;
crypto/openssl/crypto/asn1/a_time.c
245
offset += n * 60;
crypto/openssl/crypto/asn1/a_time.c
82
int n, i, i2, l, o, min_l, strict = 0, end = 6, btz = 5, md;
crypto/openssl/crypto/asn1/evp_asn1.c
72
int ret = ASN1_STRING_length(oct), n;
crypto/openssl/crypto/asn1/evp_asn1.c
78
n = ret;
crypto/openssl/crypto/asn1/evp_asn1.c
80
n = max_len;
crypto/openssl/crypto/asn1/evp_asn1.c
83
memcpy(data, ASN1_STRING_get0_data(oct), n);
crypto/openssl/crypto/asn1/f_int.c
115
for (n = 0; n < 2; n++) {
crypto/openssl/crypto/asn1/f_int.c
116
m = OPENSSL_hexchar2int(bufp[k + n]);
crypto/openssl/crypto/asn1/f_int.c
18
int i, n = 0;
crypto/openssl/crypto/asn1/f_int.c
27
n = 1;
crypto/openssl/crypto/asn1/f_int.c
33
n += 2;
crypto/openssl/crypto/asn1/f_int.c
39
n += 2;
crypto/openssl/crypto/asn1/f_int.c
44
n += 2;
crypto/openssl/crypto/asn1/f_int.c
47
return n;
crypto/openssl/crypto/asn1/f_int.c
54
int i, j, k, m, n, again, bufsize;
crypto/openssl/crypto/asn1/f_string.c
107
for (n = 0; n < 2; n++) {
crypto/openssl/crypto/asn1/f_string.c
108
m = OPENSSL_hexchar2int(bufp[k + n]);
crypto/openssl/crypto/asn1/f_string.c
18
int i, n = 0;
crypto/openssl/crypto/asn1/f_string.c
27
n = 1;
crypto/openssl/crypto/asn1/f_string.c
33
n += 2;
crypto/openssl/crypto/asn1/f_string.c
38
n += 2;
crypto/openssl/crypto/asn1/f_string.c
41
return n;
crypto/openssl/crypto/asn1/f_string.c
48
int i, j, k, m, n, again, bufsize;
crypto/openssl/crypto/asn1/t_pkey.c
49
int n, rv = 0;
crypto/openssl/crypto/asn1/t_pkey.c
83
n = BN_bn2bin(num, buf + 1);
crypto/openssl/crypto/asn1/t_pkey.c
86
n++;
crypto/openssl/crypto/asn1/t_pkey.c
90
if (ASN1_buf_print(bp, tmp, n, indent + 4) == 0)
crypto/openssl/crypto/asn1/t_spki.c
25
int i, n;
crypto/openssl/crypto/asn1/t_spki.c
46
n = spki->signature->length;
crypto/openssl/crypto/asn1/t_spki.c
48
for (i = 0; i < n; i++) {
crypto/openssl/crypto/asn1/t_spki.c
52
((i + 1) == n) ? "" : ":");
crypto/openssl/crypto/asn1_dsa.c
187
int ossl_decode_der_integer(PACKET *pkt, BIGNUM *n)
crypto/openssl/crypto/asn1_dsa.c
212
(int)PACKET_remaining(&contpkt), n)
crypto/openssl/crypto/asn1_dsa.c
66
int ossl_encode_der_integer(WPACKET *pkt, const BIGNUM *n)
crypto/openssl/crypto/asn1_dsa.c
71
if (BN_is_negative(n))
crypto/openssl/crypto/asn1_dsa.c
83
cont_len = BN_num_bits(n) / 8 + 1;
crypto/openssl/crypto/asn1_dsa.c
93
&& BN_bn2binpad(n, bnbytes, (int)cont_len) != (int)cont_len)
crypto/openssl/crypto/async/arch/async_null.h
24
#define async_fibre_swapcontext(o, n, r) 0
crypto/openssl/crypto/async/arch/async_posix.h
72
static ossl_inline int async_fibre_swapcontext(async_fibre *o, async_fibre *n, int r)
crypto/openssl/crypto/async/arch/async_posix.h
75
swapcontext(&o->fibre, &n->fibre);
crypto/openssl/crypto/async/arch/async_posix.h
80
if (n->env_init)
crypto/openssl/crypto/async/arch/async_posix.h
81
_longjmp(n->env, 1);
crypto/openssl/crypto/async/arch/async_posix.h
83
setcontext(&n->fibre);
crypto/openssl/crypto/async/arch/async_win.h
27
#define async_fibre_swapcontext(o, n, r) \
crypto/openssl/crypto/async/arch/async_win.h
28
(SwitchToFiber((n)->fibre), 1)
crypto/openssl/crypto/bf/bf_cfb64.c
30
register int n = *num & 0x07;
crypto/openssl/crypto/bf/bf_cfb64.c
38
if (n == 0) {
crypto/openssl/crypto/bf/bf_cfb64.c
51
c = *(in++) ^ iv[n];
crypto/openssl/crypto/bf/bf_cfb64.c
53
iv[n] = c;
crypto/openssl/crypto/bf/bf_cfb64.c
54
n = (n + 1) & 0x07;
crypto/openssl/crypto/bf/bf_cfb64.c
58
if (n == 0) {
crypto/openssl/crypto/bf/bf_cfb64.c
72
c = iv[n];
crypto/openssl/crypto/bf/bf_cfb64.c
73
iv[n] = cc;
crypto/openssl/crypto/bf/bf_cfb64.c
75
n = (n + 1) & 0x07;
crypto/openssl/crypto/bf/bf_cfb64.c
79
*num = n;
crypto/openssl/crypto/bf/bf_local.h
15
#define n2ln(c, l1, l2, n) \
crypto/openssl/crypto/bf/bf_local.h
17
c += n; \
crypto/openssl/crypto/bf/bf_local.h
19
switch (n) { \
crypto/openssl/crypto/bf/bf_local.h
47
#define l2nn(l1, l2, c, n) \
crypto/openssl/crypto/bf/bf_local.h
49
c += n; \
crypto/openssl/crypto/bf/bf_local.h
50
switch (n) { \
crypto/openssl/crypto/bf/bf_ofb64.c
29
register int n = *num & 0x07;
crypto/openssl/crypto/bf/bf_ofb64.c
46
if (n == 0) {
crypto/openssl/crypto/bf/bf_ofb64.c
55
*(out++) = *(in++) ^ d[n];
crypto/openssl/crypto/bf/bf_ofb64.c
56
n = (n + 1) & 0x07;
crypto/openssl/crypto/bf/bf_ofb64.c
66
*num = n;
crypto/openssl/crypto/bio/bf_nbio.c
113
unsigned char n;
crypto/openssl/crypto/bio/bf_nbio.c
127
if (RAND_priv_bytes(&n, 1) <= 0)
crypto/openssl/crypto/bio/bf_nbio.c
129
num = (n & 7);
crypto/openssl/crypto/bio/bf_nbio.c
82
unsigned char n;
crypto/openssl/crypto/bio/bf_nbio.c
90
if (RAND_priv_bytes(&n, 1) <= 0)
crypto/openssl/crypto/bio/bf_nbio.c
92
num = (n & 0x07);
crypto/openssl/crypto/bio/bio_dump.c
20
#define SPACE(buf, pos, n) (sizeof(buf) - (pos) > (n))
crypto/openssl/crypto/bio/bio_dump.c
34
int i, j, rows, n;
crypto/openssl/crypto/bio/bio_dump.c
48
n = BIO_snprintf(buf, sizeof(buf), "%*s%04x - ", indent, "",
crypto/openssl/crypto/bio/bio_dump.c
50
if (n < 0)
crypto/openssl/crypto/bio/bio_dump.c
53
if (SPACE(buf, n, 3)) {
crypto/openssl/crypto/bio/bio_dump.c
55
strcpy(buf + n, " ");
crypto/openssl/crypto/bio/bio_dump.c
58
BIO_snprintf(buf + n, 4, "%02x%c", ch,
crypto/openssl/crypto/bio/bio_dump.c
61
n += 3;
crypto/openssl/crypto/bio/bio_dump.c
64
if (SPACE(buf, n, 2)) {
crypto/openssl/crypto/bio/bio_dump.c
65
strcpy(buf + n, " ");
crypto/openssl/crypto/bio/bio_dump.c
66
n += 2;
crypto/openssl/crypto/bio/bio_dump.c
71
if (SPACE(buf, n, 1)) {
crypto/openssl/crypto/bio/bio_dump.c
74
buf[n++] = ((ch >= ' ') && (ch <= '~')) ? ch : '.';
crypto/openssl/crypto/bio/bio_dump.c
76
buf[n++] = ((ch >= os_toascii[' ']) && (ch <= os_toascii['~']))
crypto/openssl/crypto/bio/bio_dump.c
80
buf[n] = '\0';
crypto/openssl/crypto/bio/bio_dump.c
83
if (SPACE(buf, n, 1)) {
crypto/openssl/crypto/bio/bio_dump.c
84
buf[n++] = '\n';
crypto/openssl/crypto/bio/bio_dump.c
85
buf[n] = '\0';
crypto/openssl/crypto/bio/bio_dump.c
91
res = cb((void *)buf, n, u);
crypto/openssl/crypto/bio/bio_print.c
927
int BIO_snprintf(char *buf, size_t n, const char *format, ...)
crypto/openssl/crypto/bio/bio_print.c
934
ret = BIO_vsnprintf(buf, n, format, args);
crypto/openssl/crypto/bio/bio_print.c
940
int BIO_vsnprintf(char *buf, size_t n, const char *format, va_list args)
crypto/openssl/crypto/bio/bio_print.c
945
if (!_dopr(&buf, NULL, &n, &retlen, &truncated, format, args))
crypto/openssl/crypto/bio/bss_acpt.c
561
int n, ret;
crypto/openssl/crypto/bio/bss_acpt.c
563
n = strlen(str);
crypto/openssl/crypto/bio/bss_acpt.c
564
ret = acpt_write(bp, str, n);
crypto/openssl/crypto/bio/bss_conn.c
58
static int conn_sendmmsg(BIO *h, BIO_MSG *m, size_t s, size_t n,
crypto/openssl/crypto/bio/bss_conn.c
60
static int conn_recvmmsg(BIO *h, BIO_MSG *m, size_t s, size_t n,
crypto/openssl/crypto/bio/bss_conn.c
738
int n, ret;
crypto/openssl/crypto/bio/bss_conn.c
740
n = strlen(str);
crypto/openssl/crypto/bio/bss_conn.c
741
ret = conn_write(bp, str, n);
crypto/openssl/crypto/bio/bss_dgram.c
1052
int n, ret;
crypto/openssl/crypto/bio/bss_dgram.c
1054
n = strlen(str);
crypto/openssl/crypto/bio/bss_dgram.c
1055
ret = dgram_write(bp, str, n);
crypto/openssl/crypto/bio/bss_dgram.c
150
#define BIO_MSG_N(array, stride, n) (*(BIO_MSG *)((char *)(array) + (n) * (stride)))
crypto/openssl/crypto/bio/bss_dgram.c
1972
int ret = 0, n = 0, i, optval;
crypto/openssl/crypto/bio/bss_dgram.c
1994
n = recvmsg(b->num, &msg, 0);
crypto/openssl/crypto/bio/bss_dgram.c
1996
if (n <= 0) {
crypto/openssl/crypto/bio/bss_dgram.c
1997
if (n < 0)
crypto/openssl/crypto/bio/bss_dgram.c
1998
ret = n;
crypto/openssl/crypto/bio/bss_dgram.c
2041
if (n < (int)sizeof(snp.sn_header))
crypto/openssl/crypto/bio/bss_dgram.c
2044
memcpy(&snp, out, (size_t)n < sizeof(snp) ? (size_t)n : sizeof(snp));
crypto/openssl/crypto/bio/bss_dgram.c
2095
ret += n;
crypto/openssl/crypto/bio/bss_dgram.c
2575
int n, ret;
crypto/openssl/crypto/bio/bss_dgram.c
2621
n = recvmsg(b->num, &msg, MSG_PEEK);
crypto/openssl/crypto/bio/bss_dgram.c
2622
if (n <= 0) {
crypto/openssl/crypto/bio/bss_dgram.c
2623
if ((n < 0) && (get_last_socket_error() != EAGAIN)
crypto/openssl/crypto/bio/bss_dgram.c
2643
n = recvmsg(b->num, &msg, 0);
crypto/openssl/crypto/bio/bss_dgram.c
2644
if (n <= 0) {
crypto/openssl/crypto/bio/bss_dgram.c
2645
if ((n < 0) && (get_last_socket_error() != EAGAIN)
crypto/openssl/crypto/bio/bss_dgram.c
2705
n = recvmsg(b->num, &msg, MSG_PEEK);
crypto/openssl/crypto/bio/bss_dgram.c
2711
if (n <= 0) {
crypto/openssl/crypto/bio/bss_dgram.c
2712
if ((n < 0) && (get_last_socket_error() != EAGAIN)
crypto/openssl/crypto/bio/bss_dgram.c
2731
int n, sockflags;
crypto/openssl/crypto/bio/bss_dgram.c
2752
n = recvmsg(b->num, &msg, MSG_PEEK);
crypto/openssl/crypto/bio/bss_dgram.c
2756
if (n > 0 && (msg.msg_flags & MSG_NOTIFICATION)) {
crypto/openssl/crypto/bio/bss_dgram.c
2772
n = recvmsg(b->num, &msg, 0);
crypto/openssl/crypto/bio/bss_dgram.c
2779
} while (n > 0 && (msg.msg_flags & MSG_NOTIFICATION));
crypto/openssl/crypto/bio/bss_dgram.c
2782
if (n > 0)
crypto/openssl/crypto/bio/bss_dgram.c
2790
int n, ret;
crypto/openssl/crypto/bio/bss_dgram.c
2792
n = strlen(str);
crypto/openssl/crypto/bio/bss_dgram.c
2793
ret = dgram_sctp_write(bp, str, n);
crypto/openssl/crypto/bio/bss_dgram_pair.c
197
#define BIO_MSG_N(array, n) (*(BIO_MSG *)((char *)(array) + (n) * stride))
crypto/openssl/crypto/bio/bss_fd.c
201
int n, ret;
crypto/openssl/crypto/bio/bss_fd.c
203
n = strlen(str);
crypto/openssl/crypto/bio/bss_fd.c
204
ret = fd_write(bp, str, n);
crypto/openssl/crypto/bio/bss_file.c
370
int n, ret;
crypto/openssl/crypto/bio/bss_file.c
372
n = strlen(str);
crypto/openssl/crypto/bio/bss_file.c
373
ret = file_write(bp, str, n);
crypto/openssl/crypto/bio/bss_log.c
194
int n, ret;
crypto/openssl/crypto/bio/bss_log.c
196
n = strlen(str);
crypto/openssl/crypto/bio/bss_log.c
197
ret = slg_write(bp, str, n);
crypto/openssl/crypto/bio/bss_mem.c
381
int n, ret;
crypto/openssl/crypto/bio/bss_mem.c
383
n = strlen(str);
crypto/openssl/crypto/bio/bss_mem.c
384
ret = mem_write(bp, str, n);
crypto/openssl/crypto/bio/bss_sock.c
276
int n, ret;
crypto/openssl/crypto/bio/bss_sock.c
278
n = strlen(str);
crypto/openssl/crypto/bio/bss_sock.c
279
ret = sock_write(bp, str, n);
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
173
void bn_sqr_words(BN_ULONG *r, const BN_ULONG *a, int n)
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
175
if (n <= 0)
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
178
while (n & ~3) {
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
185
n -= 4;
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
187
if (n) {
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
189
if (--n == 0)
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
192
if (--n == 0)
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
210
int n)
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
215
if (n <= 0)
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
228
: "=&r"(ret), "+c"(n), "+r"(i)
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
237
int n)
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
242
if (n <= 0)
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
255
: "=&r"(ret), "+c"(n), "+r"(i)
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
264
BN_ULONG bn_sub_words(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n)
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
269
if (n <= 0)
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
278
if (--n <= 0)
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
286
if (--n <= 0)
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
294
if (--n <= 0)
crypto/openssl/crypto/bn/asm/x86_64-gcc.c
302
if (--n <= 0)
crypto/openssl/crypto/bn/bn_asm.c
168
void bn_sqr_words(BN_ULONG *r, const BN_ULONG *a, int n)
crypto/openssl/crypto/bn/bn_asm.c
170
assert(n >= 0);
crypto/openssl/crypto/bn/bn_asm.c
171
if (n <= 0)
crypto/openssl/crypto/bn/bn_asm.c
175
while (n & ~3) {
crypto/openssl/crypto/bn/bn_asm.c
182
n -= 4;
crypto/openssl/crypto/bn/bn_asm.c
185
while (n) {
crypto/openssl/crypto/bn/bn_asm.c
189
n--;
crypto/openssl/crypto/bn/bn_asm.c
272
int n)
crypto/openssl/crypto/bn/bn_asm.c
276
assert(n >= 0);
crypto/openssl/crypto/bn/bn_asm.c
277
if (n <= 0)
crypto/openssl/crypto/bn/bn_asm.c
281
while (n & ~3) {
crypto/openssl/crypto/bn/bn_asm.c
297
n -= 4;
crypto/openssl/crypto/bn/bn_asm.c
300
while (n) {
crypto/openssl/crypto/bn/bn_asm.c
307
n--;
crypto/openssl/crypto/bn/bn_asm.c
313
int n)
crypto/openssl/crypto/bn/bn_asm.c
317
assert(n >= 0);
crypto/openssl/crypto/bn/bn_asm.c
318
if (n <= 0)
crypto/openssl/crypto/bn/bn_asm.c
323
while (n & ~3) {
crypto/openssl/crypto/bn/bn_asm.c
351
n -= 4;
crypto/openssl/crypto/bn/bn_asm.c
354
while (n) {
crypto/openssl/crypto/bn/bn_asm.c
364
n--;
crypto/openssl/crypto/bn/bn_asm.c
371
int n)
crypto/openssl/crypto/bn/bn_asm.c
376
assert(n >= 0);
crypto/openssl/crypto/bn/bn_asm.c
377
if (n <= 0)
crypto/openssl/crypto/bn/bn_asm.c
381
while (n & ~3) {
crypto/openssl/crypto/bn/bn_asm.c
413
n -= 4;
crypto/openssl/crypto/bn/bn_asm.c
416
while (n) {
crypto/openssl/crypto/bn/bn_asm.c
427
n--;
crypto/openssl/crypto/bn/bn_asm.c
75
void bn_sqr_words(BN_ULONG *r, const BN_ULONG *a, int n)
crypto/openssl/crypto/bn/bn_asm.c
77
assert(n >= 0);
crypto/openssl/crypto/bn/bn_asm.c
78
if (n <= 0)
crypto/openssl/crypto/bn/bn_asm.c
82
while (n & ~3) {
crypto/openssl/crypto/bn/bn_asm.c
89
n -= 4;
crypto/openssl/crypto/bn/bn_asm.c
92
while (n) {
crypto/openssl/crypto/bn/bn_asm.c
96
n--;
crypto/openssl/crypto/bn/bn_blind.c
126
int BN_BLINDING_convert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx)
crypto/openssl/crypto/bn/bn_blind.c
128
return BN_BLINDING_convert_ex(n, NULL, b, ctx);
crypto/openssl/crypto/bn/bn_blind.c
131
int BN_BLINDING_convert_ex(BIGNUM *n, BIGNUM *r, BN_BLINDING *b, BN_CTX *ctx)
crypto/openssl/crypto/bn/bn_blind.c
135
bn_check_top(n);
crypto/openssl/crypto/bn/bn_blind.c
152
ret = BN_mod_mul_montgomery(n, n, b->A, b->m_ctx, ctx);
crypto/openssl/crypto/bn/bn_blind.c
154
ret = BN_mod_mul(n, n, b->A, b->mod, ctx);
crypto/openssl/crypto/bn/bn_blind.c
159
int BN_BLINDING_invert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx)
crypto/openssl/crypto/bn/bn_blind.c
161
return BN_BLINDING_invert_ex(n, NULL, b, ctx);
crypto/openssl/crypto/bn/bn_blind.c
164
int BN_BLINDING_invert_ex(BIGNUM *n, const BIGNUM *r, BN_BLINDING *b,
crypto/openssl/crypto/bn/bn_blind.c
169
bn_check_top(n);
crypto/openssl/crypto/bn/bn_blind.c
178
if (n->dmax >= r->top) {
crypto/openssl/crypto/bn/bn_blind.c
179
size_t i, rtop = r->top, ntop = n->top;
crypto/openssl/crypto/bn/bn_blind.c
184
n->d[i] &= mask;
crypto/openssl/crypto/bn/bn_blind.c
188
n->top = (int)(rtop & ~mask) | (ntop & mask);
crypto/openssl/crypto/bn/bn_blind.c
189
n->flags |= (BN_FLG_FIXED_TOP & ~mask);
crypto/openssl/crypto/bn/bn_blind.c
191
ret = bn_mul_mont_fixed_top(n, n, r, b->m_ctx, ctx);
crypto/openssl/crypto/bn/bn_blind.c
192
bn_correct_top_consttime(n);
crypto/openssl/crypto/bn/bn_blind.c
194
ret = BN_mod_mul(n, n, r, b->mod, ctx);
crypto/openssl/crypto/bn/bn_blind.c
197
bn_check_top(n);
crypto/openssl/crypto/bn/bn_conv.c
102
n = BIO_snprintf(p, tbytes - (size_t)(p - buf), BN_DEC_FMT2, *lp);
crypto/openssl/crypto/bn/bn_conv.c
103
if (n < 0)
crypto/openssl/crypto/bn/bn_conv.c
105
p += n;
crypto/openssl/crypto/bn/bn_conv.c
49
int i = 0, num, ok = 0, n, tbytes;
crypto/openssl/crypto/bn/bn_conv.c
96
n = BIO_snprintf(p, tbytes - (size_t)(p - buf), BN_DEC_FMT1, *lp);
crypto/openssl/crypto/bn/bn_conv.c
97
if (n < 0)
crypto/openssl/crypto/bn/bn_conv.c
99
p += n;
crypto/openssl/crypto/bn/bn_div.c
143
BN_ULONG *d = num->d, n, m, rmask;
crypto/openssl/crypto/bn/bn_div.c
153
n = d[i];
crypto/openssl/crypto/bn/bn_div.c
154
d[i] = ((n << lshift) | m) & BN_MASK2;
crypto/openssl/crypto/bn/bn_div.c
155
m = (n >> rshift) & rmask;
crypto/openssl/crypto/bn/bn_gcd.c
162
if (!BN_sub(Y, n, Y))
crypto/openssl/crypto/bn/bn_gcd.c
169
if (!Y->neg && BN_ucmp(Y, n) < 0) {
crypto/openssl/crypto/bn/bn_gcd.c
173
if (!BN_nnmod(R, Y, n, ctx))
crypto/openssl/crypto/bn/bn_gcd.c
198
const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx,
crypto/openssl/crypto/bn/bn_gcd.c
206
if (BN_abs_is_word(n, 1) || BN_is_zero(n)) {
crypto/openssl/crypto/bn/bn_gcd.c
214
|| (BN_get_flags(n, BN_FLG_CONSTTIME) != 0)) {
crypto/openssl/crypto/bn/bn_gcd.c
215
return bn_mod_inverse_no_branch(in, a, n, ctx, pnoinv);
crypto/openssl/crypto/bn/bn_gcd.c
219
bn_check_top(n);
crypto/openssl/crypto/bn/bn_gcd.c
22
const BIGNUM *a, const BIGNUM *n,
crypto/openssl/crypto/bn/bn_gcd.c
244
if (BN_copy(A, n) == NULL)
crypto/openssl/crypto/bn/bn_gcd.c
260
if (BN_is_odd(n) && (BN_num_bits(n) <= 2048)) {
crypto/openssl/crypto/bn/bn_gcd.c
287
if (!BN_uadd(X, X, n))
crypto/openssl/crypto/bn/bn_gcd.c
30
bn_check_top(n);
crypto/openssl/crypto/bn/bn_gcd.c
309
if (!BN_uadd(Y, Y, n))
crypto/openssl/crypto/bn/bn_gcd.c
487
if (!BN_sub(Y, n, Y))
crypto/openssl/crypto/bn/bn_gcd.c
494
if (!Y->neg && BN_ucmp(Y, n) < 0) {
crypto/openssl/crypto/bn/bn_gcd.c
498
if (!BN_nnmod(R, Y, n, ctx))
crypto/openssl/crypto/bn/bn_gcd.c
516
const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx)
crypto/openssl/crypto/bn/bn_gcd.c
530
rv = int_bn_mod_inverse(in, a, n, ctx, &noinv);
crypto/openssl/crypto/bn/bn_gcd.c
55
if (BN_copy(A, n) == NULL)
crypto/openssl/crypto/bn/bn_gf2m.c
287
int n, dN, d0, d1;
crypto/openssl/crypto/bn/bn_gf2m.c
324
n = p[0] - p[k];
crypto/openssl/crypto/bn/bn_gf2m.c
325
d0 = n % BN_BITS2;
crypto/openssl/crypto/bn/bn_gf2m.c
327
n /= BN_BITS2;
crypto/openssl/crypto/bn/bn_gf2m.c
328
z[j - n] ^= (zz >> d0);
crypto/openssl/crypto/bn/bn_gf2m.c
330
z[j - n - 1] ^= (zz << d1);
crypto/openssl/crypto/bn/bn_gf2m.c
334
n = dN;
crypto/openssl/crypto/bn/bn_gf2m.c
337
z[j - n] ^= (zz >> d0);
crypto/openssl/crypto/bn/bn_gf2m.c
339
z[j - n - 1] ^= (zz << d1);
crypto/openssl/crypto/bn/bn_gf2m.c
362
n = p[k] / BN_BITS2;
crypto/openssl/crypto/bn/bn_gf2m.c
365
z[n] ^= (zz << d0);
crypto/openssl/crypto/bn/bn_gf2m.c
367
z[n + 1] ^= tmp_ulong;
crypto/openssl/crypto/bn/bn_gf2m.c
856
int ret = 0, i, n;
crypto/openssl/crypto/bn/bn_gf2m.c
875
n = BN_num_bits(b) - 1;
crypto/openssl/crypto/bn/bn_gf2m.c
876
for (i = n - 1; i >= 0; i--) {
crypto/openssl/crypto/bn/bn_kron.c
14
#define BN_lsw(n) (((n)->top == 0) ? (BN_ULONG)0 : (n)->d[0])
crypto/openssl/crypto/bn/bn_lib.c
1109
void BN_set_flags(BIGNUM *b, int n)
crypto/openssl/crypto/bn/bn_lib.c
1111
b->flags |= n;
crypto/openssl/crypto/bn/bn_lib.c
1114
int BN_get_flags(const BIGNUM *b, int n)
crypto/openssl/crypto/bn/bn_lib.c
1116
return b->flags & n;
crypto/openssl/crypto/bn/bn_lib.c
439
unsigned int n;
crypto/openssl/crypto/bn/bn_lib.c
505
n = ((len - 1) / BN_BYTES) + 1; /* Number of resulting bignum chunks */
crypto/openssl/crypto/bn/bn_lib.c
506
if (bn_wexpand(ret, (int)n) == NULL) {
crypto/openssl/crypto/bn/bn_lib.c
510
ret->top = n;
crypto/openssl/crypto/bn/bn_lib.c
512
for (i = 0; n-- > 0; i++) {
crypto/openssl/crypto/bn/bn_lib.c
547
int n, n8;
crypto/openssl/crypto/bn/bn_lib.c
558
n = (n8 + 7) / 8; /* This is what BN_num_bytes() does */
crypto/openssl/crypto/bn/bn_lib.c
571
ext = (n * 8 == n8)
crypto/openssl/crypto/bn/bn_lib.c
577
tolen = n + ext;
crypto/openssl/crypto/bn/bn_lib.c
578
} else if (tolen < n + ext) { /* uncommon/unlike case */
crypto/openssl/crypto/bn/bn_lib.c
583
n = (n8 + 7) / 8; /* This is what BN_num_bytes() does */
crypto/openssl/crypto/bn/bn_lib.c
584
if (tolen < n + ext)
crypto/openssl/crypto/bn/bn_lib.c
789
int BN_set_bit(BIGNUM *a, int n)
crypto/openssl/crypto/bn/bn_lib.c
793
if (n < 0)
crypto/openssl/crypto/bn/bn_lib.c
796
i = n / BN_BITS2;
crypto/openssl/crypto/bn/bn_lib.c
797
j = n % BN_BITS2;
crypto/openssl/crypto/bn/bn_lib.c
812
int BN_clear_bit(BIGNUM *a, int n)
crypto/openssl/crypto/bn/bn_lib.c
817
if (n < 0)
crypto/openssl/crypto/bn/bn_lib.c
820
i = n / BN_BITS2;
crypto/openssl/crypto/bn/bn_lib.c
821
j = n % BN_BITS2;
crypto/openssl/crypto/bn/bn_lib.c
830
int BN_is_bit_set(const BIGNUM *a, int n)
crypto/openssl/crypto/bn/bn_lib.c
835
if (n < 0)
crypto/openssl/crypto/bn/bn_lib.c
837
i = n / BN_BITS2;
crypto/openssl/crypto/bn/bn_lib.c
838
j = n % BN_BITS2;
crypto/openssl/crypto/bn/bn_lib.c
844
int ossl_bn_mask_bits_fixed_top(BIGNUM *a, int n)
crypto/openssl/crypto/bn/bn_lib.c
848
if (n < 0)
crypto/openssl/crypto/bn/bn_lib.c
851
w = n / BN_BITS2;
crypto/openssl/crypto/bn/bn_lib.c
852
b = n % BN_BITS2;
crypto/openssl/crypto/bn/bn_lib.c
865
int BN_mask_bits(BIGNUM *a, int n)
crypto/openssl/crypto/bn/bn_lib.c
870
ret = ossl_bn_mask_bits_fixed_top(a, n);
crypto/openssl/crypto/bn/bn_lib.c
884
int bn_cmp_words(const BN_ULONG *a, const BN_ULONG *b, int n)
crypto/openssl/crypto/bn/bn_lib.c
889
if (n == 0)
crypto/openssl/crypto/bn/bn_lib.c
892
aa = a[n - 1];
crypto/openssl/crypto/bn/bn_lib.c
893
bb = b[n - 1];
crypto/openssl/crypto/bn/bn_lib.c
896
for (i = n - 2; i >= 0; i--) {
crypto/openssl/crypto/bn/bn_lib.c
916
int n, i;
crypto/openssl/crypto/bn/bn_lib.c
917
n = cl - 1;
crypto/openssl/crypto/bn/bn_lib.c
921
if (b[n - i] != 0)
crypto/openssl/crypto/bn/bn_lib.c
927
if (a[n + i] != 0)
crypto/openssl/crypto/bn/bn_local.h
657
void bn_sqr_normal(BN_ULONG *r, const BN_ULONG *a, int n, BN_ULONG *tmp);
crypto/openssl/crypto/bn/bn_local.h
660
int bn_cmp_words(const BN_ULONG *a, const BN_ULONG *b, int n);
crypto/openssl/crypto/bn/bn_local.h
665
int n, int tna, int tnb, BN_ULONG *t);
crypto/openssl/crypto/bn/bn_local.h
667
void bn_mul_low_normal(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n);
crypto/openssl/crypto/bn/bn_local.h
676
const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx,
crypto/openssl/crypto/bn/bn_mod.c
265
int BN_mod_lshift(BIGNUM *r, const BIGNUM *a, int n, const BIGNUM *m,
crypto/openssl/crypto/bn/bn_mod.c
281
ret = BN_mod_lshift_quick(r, r, n, (abs_m ? abs_m : m));
crypto/openssl/crypto/bn/bn_mod.c
292
int BN_mod_lshift_quick(BIGNUM *r, const BIGNUM *a, int n, const BIGNUM *m)
crypto/openssl/crypto/bn/bn_mod.c
299
while (n > 0) {
crypto/openssl/crypto/bn/bn_mod.c
311
if (max_shift > n)
crypto/openssl/crypto/bn/bn_mod.c
312
max_shift = n;
crypto/openssl/crypto/bn/bn_mod.c
317
n -= max_shift;
crypto/openssl/crypto/bn/bn_mod.c
321
--n;
crypto/openssl/crypto/bn/bn_mont.c
105
r->neg ^= n->neg;
crypto/openssl/crypto/bn/bn_mont.c
106
np = n->d;
crypto/openssl/crypto/bn/bn_mont.c
89
BIGNUM *n;
crypto/openssl/crypto/bn/bn_mont.c
94
n = &(mont->N);
crypto/openssl/crypto/bn/bn_mont.c
95
nl = n->top;
crypto/openssl/crypto/bn/bn_mpi.c
42
BIGNUM *BN_mpi2bn(const unsigned char *d, int n, BIGNUM *ain)
crypto/openssl/crypto/bn/bn_mpi.c
48
if (n < 4 || (d[0] & 0x80) != 0) {
crypto/openssl/crypto/bn/bn_mpi.c
53
if ((len + 4) != n) {
crypto/openssl/crypto/bn/bn_mul.c
178
int n = n2 / 2, c1, c2;
crypto/openssl/crypto/bn/bn_mul.c
179
int tna = n + dna, tnb = n + dnb;
crypto/openssl/crypto/bn/bn_mul.c
208
c1 = bn_cmp_part_words(a, &(a[n]), tna, n - tna);
crypto/openssl/crypto/bn/bn_mul.c
209
c2 = bn_cmp_part_words(&(b[n]), b, tnb, tnb - n);
crypto/openssl/crypto/bn/bn_mul.c
213
bn_sub_part_words(t, &(a[n]), a, tna, tna - n); /* - */
crypto/openssl/crypto/bn/bn_mul.c
214
bn_sub_part_words(&(t[n]), b, &(b[n]), tnb, n - tnb); /* - */
crypto/openssl/crypto/bn/bn_mul.c
220
bn_sub_part_words(t, &(a[n]), a, tna, tna - n); /* - */
crypto/openssl/crypto/bn/bn_mul.c
221
bn_sub_part_words(&(t[n]), &(b[n]), b, tnb, tnb - n); /* + */
crypto/openssl/crypto/bn/bn_mul.c
230
bn_sub_part_words(t, a, &(a[n]), tna, n - tna); /* + */
crypto/openssl/crypto/bn/bn_mul.c
231
bn_sub_part_words(&(t[n]), b, &(b[n]), tnb, n - tnb); /* - */
crypto/openssl/crypto/bn/bn_mul.c
238
bn_sub_part_words(t, a, &(a[n]), tna, n - tna);
crypto/openssl/crypto/bn/bn_mul.c
239
bn_sub_part_words(&(t[n]), &(b[n]), b, tnb, tnb - n);
crypto/openssl/crypto/bn/bn_mul.c
244
if (n == 4 && dna == 0 && dnb == 0) { /* XXX: bn_mul_comba4 could take
crypto/openssl/crypto/bn/bn_mul.c
247
bn_mul_comba4(&(t[n2]), t, &(t[n]));
crypto/openssl/crypto/bn/bn_mul.c
252
bn_mul_comba4(&(r[n2]), &(a[n]), &(b[n]));
crypto/openssl/crypto/bn/bn_mul.c
253
} else if (n == 8 && dna == 0 && dnb == 0) { /* XXX: bn_mul_comba8 could
crypto/openssl/crypto/bn/bn_mul.c
257
bn_mul_comba8(&(t[n2]), t, &(t[n]));
crypto/openssl/crypto/bn/bn_mul.c
262
bn_mul_comba8(&(r[n2]), &(a[n]), &(b[n]));
crypto/openssl/crypto/bn/bn_mul.c
268
bn_mul_recursive(&(t[n2]), t, &(t[n]), n, 0, 0, p);
crypto/openssl/crypto/bn/bn_mul.c
271
bn_mul_recursive(r, a, b, n, 0, 0, p);
crypto/openssl/crypto/bn/bn_mul.c
272
bn_mul_recursive(&(r[n2]), &(a[n]), &(b[n]), n, dna, dnb, p);
crypto/openssl/crypto/bn/bn_mul.c
296
c1 += (int)(bn_add_words(&(r[n]), &(r[n]), &(t[n2]), n2));
crypto/openssl/crypto/bn/bn_mul.c
298
p = &(r[n + n2]);
crypto/openssl/crypto/bn/bn_mul.c
322
void bn_mul_part_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n,
crypto/openssl/crypto/bn/bn_mul.c
325
int i, j, n2 = n * 2;
crypto/openssl/crypto/bn/bn_mul.c
329
if (n < 8) {
crypto/openssl/crypto/bn/bn_mul.c
330
bn_mul_normal(r, a, n + tna, b, n + tnb);
crypto/openssl/crypto/bn/bn_mul.c
335
c1 = bn_cmp_part_words(a, &(a[n]), tna, n - tna);
crypto/openssl/crypto/bn/bn_mul.c
336
c2 = bn_cmp_part_words(&(b[n]), b, tnb, tnb - n);
crypto/openssl/crypto/bn/bn_mul.c
340
bn_sub_part_words(t, &(a[n]), a, tna, tna - n); /* - */
crypto/openssl/crypto/bn/bn_mul.c
341
bn_sub_part_words(&(t[n]), b, &(b[n]), tnb, n - tnb); /* - */
crypto/openssl/crypto/bn/bn_mul.c
345
bn_sub_part_words(t, &(a[n]), a, tna, tna - n); /* - */
crypto/openssl/crypto/bn/bn_mul.c
346
bn_sub_part_words(&(t[n]), &(b[n]), b, tnb, tnb - n); /* + */
crypto/openssl/crypto/bn/bn_mul.c
353
bn_sub_part_words(t, a, &(a[n]), tna, n - tna); /* + */
crypto/openssl/crypto/bn/bn_mul.c
354
bn_sub_part_words(&(t[n]), b, &(b[n]), tnb, n - tnb); /* - */
crypto/openssl/crypto/bn/bn_mul.c
359
bn_sub_part_words(t, a, &(a[n]), tna, n - tna);
crypto/openssl/crypto/bn/bn_mul.c
360
bn_sub_part_words(&(t[n]), &(b[n]), b, tnb, tnb - n);
crypto/openssl/crypto/bn/bn_mul.c
368
if (n == 4) {
crypto/openssl/crypto/bn/bn_mul.c
369
bn_mul_comba4(&(t[n2]), t, &(t[n]));
crypto/openssl/crypto/bn/bn_mul.c
371
bn_mul_normal(&(r[n2]), &(a[n]), tn, &(b[n]), tn);
crypto/openssl/crypto/bn/bn_mul.c
375
if (n == 8) {
crypto/openssl/crypto/bn/bn_mul.c
376
bn_mul_comba8(&(t[n2]), t, &(t[n]));
crypto/openssl/crypto/bn/bn_mul.c
378
bn_mul_normal(&(r[n2]), &(a[n]), tna, &(b[n]), tnb);
crypto/openssl/crypto/bn/bn_mul.c
382
bn_mul_recursive(&(t[n2]), t, &(t[n]), n, 0, 0, p);
crypto/openssl/crypto/bn/bn_mul.c
383
bn_mul_recursive(r, a, b, n, 0, 0, p);
crypto/openssl/crypto/bn/bn_mul.c
384
i = n / 2;
crypto/openssl/crypto/bn/bn_mul.c
393
bn_mul_recursive(&(r[n2]), &(a[n]), &(b[n]),
crypto/openssl/crypto/bn/bn_mul.c
397
bn_mul_part_recursive(&(r[n2]), &(a[n]), &(b[n]),
crypto/openssl/crypto/bn/bn_mul.c
406
bn_mul_normal(&(r[n2]), &(a[n]), tna, &(b[n]), tnb);
crypto/openssl/crypto/bn/bn_mul.c
416
&(a[n]), &(b[n]),
crypto/openssl/crypto/bn/bn_mul.c
421
&(a[n]), &(b[n]),
crypto/openssl/crypto/bn/bn_mul.c
451
c1 += (int)(bn_add_words(&(r[n]), &(r[n]), &(t[n2]), n2));
crypto/openssl/crypto/bn/bn_mul.c
453
p = &(r[n + n2]);
crypto/openssl/crypto/bn/bn_mul.c
480
int n = n2 / 2;
crypto/openssl/crypto/bn/bn_mul.c
482
bn_mul_recursive(r, a, b, n, 0, 0, &(t[0]));
crypto/openssl/crypto/bn/bn_mul.c
483
if (n >= BN_MUL_LOW_RECURSIVE_SIZE_NORMAL) {
crypto/openssl/crypto/bn/bn_mul.c
484
bn_mul_low_recursive(&(t[0]), &(a[0]), &(b[n]), n, &(t[n2]));
crypto/openssl/crypto/bn/bn_mul.c
485
bn_add_words(&(r[n]), &(r[n]), &(t[0]), n);
crypto/openssl/crypto/bn/bn_mul.c
486
bn_mul_low_recursive(&(t[0]), &(a[n]), &(b[0]), n, &(t[n2]));
crypto/openssl/crypto/bn/bn_mul.c
487
bn_add_words(&(r[n]), &(r[n]), &(t[0]), n);
crypto/openssl/crypto/bn/bn_mul.c
489
bn_mul_low_normal(&(t[0]), &(a[0]), &(b[n]), n);
crypto/openssl/crypto/bn/bn_mul.c
490
bn_mul_low_normal(&(t[n]), &(a[n]), &(b[0]), n);
crypto/openssl/crypto/bn/bn_mul.c
491
bn_add_words(&(r[n]), &(r[n]), &(t[0]), n);
crypto/openssl/crypto/bn/bn_mul.c
492
bn_add_words(&(r[n]), &(r[n]), &(t[n]), n);
crypto/openssl/crypto/bn/bn_mul.c
663
void bn_mul_low_normal(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n)
crypto/openssl/crypto/bn/bn_mul.c
665
bn_mul_words(r, a, n, b[0]);
crypto/openssl/crypto/bn/bn_mul.c
668
if (--n <= 0)
crypto/openssl/crypto/bn/bn_mul.c
670
bn_mul_add_words(&(r[1]), a, n, b[1]);
crypto/openssl/crypto/bn/bn_mul.c
671
if (--n <= 0)
crypto/openssl/crypto/bn/bn_mul.c
673
bn_mul_add_words(&(r[2]), a, n, b[2]);
crypto/openssl/crypto/bn/bn_mul.c
674
if (--n <= 0)
crypto/openssl/crypto/bn/bn_mul.c
676
bn_mul_add_words(&(r[3]), a, n, b[3]);
crypto/openssl/crypto/bn/bn_mul.c
677
if (--n <= 0)
crypto/openssl/crypto/bn/bn_mul.c
679
bn_mul_add_words(&(r[4]), a, n, b[4]);
crypto/openssl/crypto/bn/bn_nist.c
284
#define bn_cp_64(to, n, from, m) (to)[n] = (m >= 0) ? ((from)[m]) : 0;
crypto/openssl/crypto/bn/bn_nist.c
285
#define bn_64_set_0(to, n) (to)[n] = (BN_ULONG)0;
crypto/openssl/crypto/bn/bn_nist.c
290
#define bn_cp_32_naked(to, n, from, m) (((n) & 1) ? (to[(n) / 2] |= ((m) & 1) ? (from[(m) / 2] & BN_MASK2h) : (from[(m) / 2] << 32)) \
crypto/openssl/crypto/bn/bn_nist.c
291
: (to[(n) / 2] = ((m) & 1) ? (from[(m) / 2] >> 32) : (from[(m) / 2] & BN_MASK2l)))
crypto/openssl/crypto/bn/bn_nist.c
292
#define bn_32_set_0(to, n) (((n) & 1) ? (to[(n) / 2] &= BN_MASK2l) : (to[(n) / 2] = 0));
crypto/openssl/crypto/bn/bn_nist.c
293
#define bn_cp_32(to, n, from, m) ((m) >= 0) ? bn_cp_32_naked(to, n, from, m) : bn_32_set_0(to, n)
crypto/openssl/crypto/bn/bn_nist.c
302
#define bn_cp_64(to, n, from, m) \
crypto/openssl/crypto/bn/bn_nist.c
304
bn_cp_32(to, (n) * 2, from, (m) * 2); \
crypto/openssl/crypto/bn/bn_nist.c
305
bn_cp_32(to, (n) * 2 + 1, from, (m) * 2 + 1); \
crypto/openssl/crypto/bn/bn_nist.c
307
#define bn_64_set_0(to, n) \
crypto/openssl/crypto/bn/bn_nist.c
309
bn_32_set_0(to, (n) * 2); \
crypto/openssl/crypto/bn/bn_nist.c
310
bn_32_set_0(to, (n) * 2 + 1); \
crypto/openssl/crypto/bn/bn_nist.c
312
#define bn_cp_32(to, n, from, m) (to)[n] = (m >= 0) ? ((from)[m]) : 0;
crypto/openssl/crypto/bn/bn_nist.c
313
#define bn_32_set_0(to, n) (to)[n] = (BN_ULONG)0;
crypto/openssl/crypto/bn/bn_rand.c
136
int n;
crypto/openssl/crypto/bn/bn_rand.c
149
n = BN_num_bits(range); /* n > 0 */
crypto/openssl/crypto/bn/bn_rand.c
153
if (n == 1)
crypto/openssl/crypto/bn/bn_rand.c
155
else if (!BN_is_bit_set(range, n - 2) && !BN_is_bit_set(range, n - 3)) {
crypto/openssl/crypto/bn/bn_rand.c
161
if (!bnrand(flag, r, n + 1, BN_RAND_TOP_ANY, BN_RAND_BOTTOM_ANY,
crypto/openssl/crypto/bn/bn_rand.c
188
if (!bnrand(flag, r, n, BN_RAND_TOP_ANY, BN_RAND_BOTTOM_ANY,
crypto/openssl/crypto/bn/bn_rand.c
244
int n;
crypto/openssl/crypto/bn/bn_rand.c
257
n = BN_num_bits(range); /* n > 0 */
crypto/openssl/crypto/bn/bn_rand.c
261
if (n == 1) {
crypto/openssl/crypto/bn/bn_rand.c
266
if (!bnrand(PRIVATE, r, n + 1, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY,
crypto/openssl/crypto/bn/bn_rand.c
274
ossl_bn_mask_bits_fixed_top(r, n);
crypto/openssl/crypto/bn/bn_rand.c
311
int n;
crypto/openssl/crypto/bn/bn_rand.c
341
for (n = 0; n < max_n; n++) {
crypto/openssl/crypto/bn/bn_shift.c
104
int bn_lshift_fixed_top(BIGNUM *r, const BIGNUM *a, int n)
crypto/openssl/crypto/bn/bn_shift.c
111
assert(n >= 0);
crypto/openssl/crypto/bn/bn_shift.c
116
nw = n / BN_BITS2;
crypto/openssl/crypto/bn/bn_shift.c
121
lb = (unsigned int)n % BN_BITS2;
crypto/openssl/crypto/bn/bn_shift.c
150
int BN_rshift(BIGNUM *r, const BIGNUM *a, int n)
crypto/openssl/crypto/bn/bn_shift.c
154
if (n < 0) {
crypto/openssl/crypto/bn/bn_shift.c
162
ret = bn_rshift_fixed_top(r, a, n);
crypto/openssl/crypto/bn/bn_shift.c
176
int bn_rshift_fixed_top(BIGNUM *r, const BIGNUM *a, int n)
crypto/openssl/crypto/bn/bn_shift.c
183
assert(n >= 0);
crypto/openssl/crypto/bn/bn_shift.c
185
nw = n / BN_BITS2;
crypto/openssl/crypto/bn/bn_shift.c
192
rb = (unsigned int)n % BN_BITS2;
crypto/openssl/crypto/bn/bn_shift.c
81
int BN_lshift(BIGNUM *r, const BIGNUM *a, int n)
crypto/openssl/crypto/bn/bn_shift.c
85
if (n < 0) {
crypto/openssl/crypto/bn/bn_shift.c
90
ret = bn_lshift_fixed_top(r, a, n);
crypto/openssl/crypto/bn/bn_sqr.c
109
void bn_sqr_normal(BN_ULONG *r, const BN_ULONG *a, int n, BN_ULONG *tmp)
crypto/openssl/crypto/bn/bn_sqr.c
115
max = n * 2;
crypto/openssl/crypto/bn/bn_sqr.c
120
j = n;
crypto/openssl/crypto/bn/bn_sqr.c
128
for (i = n - 2; i > 0; i--) {
crypto/openssl/crypto/bn/bn_sqr.c
139
bn_sqr_words(tmp, a, n);
crypto/openssl/crypto/bn/bn_sqr.c
158
int n = n2 / 2;
crypto/openssl/crypto/bn/bn_sqr.c
182
c1 = bn_cmp_words(a, &(a[n]), n);
crypto/openssl/crypto/bn/bn_sqr.c
185
bn_sub_words(t, a, &(a[n]), n);
crypto/openssl/crypto/bn/bn_sqr.c
187
bn_sub_words(t, &(a[n]), a, n);
crypto/openssl/crypto/bn/bn_sqr.c
195
bn_sqr_recursive(&(t[n2]), t, n, p);
crypto/openssl/crypto/bn/bn_sqr.c
198
bn_sqr_recursive(r, a, n, p);
crypto/openssl/crypto/bn/bn_sqr.c
199
bn_sqr_recursive(&(r[n2]), &(a[n]), n, p);
crypto/openssl/crypto/bn/bn_sqr.c
218
c1 += (int)(bn_add_words(&(r[n]), &(r[n]), &(t[n2]), n2));
crypto/openssl/crypto/bn/bn_sqr.c
220
p = &(r[n + n2]);
crypto/openssl/crypto/bn/rsaz_exp.c
243
void rsaz_512_mul(void *ret, const void *a, const void *b, const void *n,
crypto/openssl/crypto/bn/rsaz_exp.c
245
void rsaz_512_mul_scatter4(void *ret, const void *a, const void *n,
crypto/openssl/crypto/bn/rsaz_exp.c
248
const void *n, BN_ULONG k, unsigned int power);
crypto/openssl/crypto/bn/rsaz_exp.c
249
void rsaz_512_mul_by_one(void *ret, const void *a, const void *n, BN_ULONG k);
crypto/openssl/crypto/bn/rsaz_exp.c
250
void rsaz_512_sqr(void *ret, const void *a, const void *n, BN_ULONG k,
crypto/openssl/crypto/bn/rsaz_exp.c
28
const void *n, BN_ULONG k);
crypto/openssl/crypto/bn/rsaz_exp.c
29
void rsaz_1024_sqr_avx2(void *ret, const void *a, const void *n, BN_ULONG k,
crypto/openssl/crypto/buffer/buffer.c
100
str->max = n;
crypto/openssl/crypto/buffer/buffer.c
110
size_t n;
crypto/openssl/crypto/buffer/buffer.c
128
n = (len + 3) / 3 * 4;
crypto/openssl/crypto/buffer/buffer.c
130
ret = sec_alloc_realloc(str, n);
crypto/openssl/crypto/buffer/buffer.c
132
ret = OPENSSL_clear_realloc(str->data, str->max, n);
crypto/openssl/crypto/buffer/buffer.c
137
str->max = n;
crypto/openssl/crypto/buffer/buffer.c
74
size_t n;
crypto/openssl/crypto/buffer/buffer.c
91
n = (len + 3) / 3 * 4;
crypto/openssl/crypto/buffer/buffer.c
93
ret = sec_alloc_realloc(str, n);
crypto/openssl/crypto/buffer/buffer.c
95
ret = OPENSSL_realloc(str->data, n);
crypto/openssl/crypto/cast/c_cfb64.c
30
register int n = *num & 0x07;
crypto/openssl/crypto/cast/c_cfb64.c
38
if (n == 0) {
crypto/openssl/crypto/cast/c_cfb64.c
51
c = *(in++) ^ iv[n];
crypto/openssl/crypto/cast/c_cfb64.c
53
iv[n] = c;
crypto/openssl/crypto/cast/c_cfb64.c
54
n = (n + 1) & 0x07;
crypto/openssl/crypto/cast/c_cfb64.c
58
if (n == 0) {
crypto/openssl/crypto/cast/c_cfb64.c
72
c = iv[n];
crypto/openssl/crypto/cast/c_cfb64.c
73
iv[n] = cc;
crypto/openssl/crypto/cast/c_cfb64.c
75
n = (n + 1) & 0x07;
crypto/openssl/crypto/cast/c_cfb64.c
79
*num = n;
crypto/openssl/crypto/cast/c_ofb64.c
29
register int n = *num & 0x07;
crypto/openssl/crypto/cast/c_ofb64.c
46
if (n == 0) {
crypto/openssl/crypto/cast/c_ofb64.c
55
*(out++) = *(in++) ^ d[n];
crypto/openssl/crypto/cast/c_ofb64.c
56
n = (n + 1) & 0x07;
crypto/openssl/crypto/cast/c_ofb64.c
66
*num = n;
crypto/openssl/crypto/cast/c_skey.c
20
#define CAST_exp(l, A, a, n) \
crypto/openssl/crypto/cast/c_skey.c
21
A[n / 4] = l; \
crypto/openssl/crypto/cast/c_skey.c
22
a[n + 3] = (l) & 0xff; \
crypto/openssl/crypto/cast/c_skey.c
23
a[n + 2] = (l >> 8) & 0xff; \
crypto/openssl/crypto/cast/c_skey.c
24
a[n + 1] = (l >> 16) & 0xff; \
crypto/openssl/crypto/cast/c_skey.c
25
a[n + 0] = (l >> 24) & 0xff;
crypto/openssl/crypto/cast/cast_local.h
103
#define E_CAST(n, key, L, R, OP1, OP2, OP3) \
crypto/openssl/crypto/cast/cast_local.h
106
t = (key[n * 2] OP1 R) & 0xffffffffL; \
crypto/openssl/crypto/cast/cast_local.h
107
i = key[n * 2 + 1]; \
crypto/openssl/crypto/cast/cast_local.h
126
#define E_CAST(n, key, L, R, OP1, OP2, OP3) \
crypto/openssl/crypto/cast/cast_local.h
130
w = (key[n * 2] OP1 R) & 0xffffffffL; \
crypto/openssl/crypto/cast/cast_local.h
131
i = key[n * 2 + 1]; \
crypto/openssl/crypto/cast/cast_local.h
148
#define E_CAST(n, key, L, R, OP1, OP2, OP3) \
crypto/openssl/crypto/cast/cast_local.h
15
#define n2ln(c, l1, l2, n) \
crypto/openssl/crypto/cast/cast_local.h
151
t = (key[n * 2] OP1 R) & 0xffffffff; \
crypto/openssl/crypto/cast/cast_local.h
152
t = ROTL(t, (key[n * 2 + 1])); \
crypto/openssl/crypto/cast/cast_local.h
17
c += n; \
crypto/openssl/crypto/cast/cast_local.h
19
switch (n) { \
crypto/openssl/crypto/cast/cast_local.h
47
#define l2nn(l1, l2, c, n) \
crypto/openssl/crypto/cast/cast_local.h
49
c += n; \
crypto/openssl/crypto/cast/cast_local.h
50
switch (n) { \
crypto/openssl/crypto/cast/cast_local.h
90
#define ROTL(a, n) (_lrotl(a, n))
crypto/openssl/crypto/cast/cast_local.h
92
#define ROTL(a, n) ((((a) << (n)) & 0xffffffffL) | ((a) >> ((32 - (n)) & 31)))
crypto/openssl/crypto/chacha/chacha_enc.c
25
#define ROTATE(v, n) (((v) << (n)) | ((v) >> (32 - (n))))
crypto/openssl/crypto/chacha/chacha_enc.c
32
#define ROTATE(x, n) ({ u32 ret; \
crypto/openssl/crypto/chacha/chacha_enc.c
35
: "r"(x), "i"(32 - (n))); ret; })
crypto/openssl/crypto/chacha/chacha_enc.c
39
#define ROTATE(x, n) ({ u32 ret; \
crypto/openssl/crypto/chacha/chacha_enc.c
42
: "r"(x), "i"(32 - (n))); ret; })
crypto/openssl/crypto/cmp/cmp_asn.c
426
int i, n = sk_OSSL_CMP_ATAV_num(tpl->keySpec);
crypto/openssl/crypto/cmp/cmp_asn.c
428
*keySpec = sk_OSSL_CRMF_ATTRIBUTETYPEANDVALUE_new_reserve(NULL, n);
crypto/openssl/crypto/cmp/cmp_asn.c
431
for (i = 0; i < n; i++) {
crypto/openssl/crypto/cmp/cmp_genm.c
102
if ((n = sk_OSSL_CMP_ITAV_num(itavs)) <= 0) {
crypto/openssl/crypto/cmp/cmp_genm.c
109
if (n > 1)
crypto/openssl/crypto/cmp/cmp_genm.c
112
n, desc);
crypto/openssl/crypto/cmp/cmp_genm.c
113
for (i = 0; i < n; i++) {
crypto/openssl/crypto/cmp/cmp_genm.c
119
for (i++; i < n; i++)
crypto/openssl/crypto/cmp/cmp_genm.c
79
int i, n;
crypto/openssl/crypto/cms/cms_lib.c
657
int i, n;
crypto/openssl/crypto/cms/cms_lib.c
667
n = sk_CMS_CertificateChoices_num(*pcerts);
crypto/openssl/crypto/cms/cms_lib.c
668
if ((*certs = sk_X509_new_reserve(NULL, n)) == NULL)
crypto/openssl/crypto/cms/cms_lib.c
671
for (i = 0; i < n; i++) {
crypto/openssl/crypto/cms/cms_lib.c
702
int i, n;
crypto/openssl/crypto/cms/cms_lib.c
712
n = sk_CMS_RevocationInfoChoice_num(*pcrls);
crypto/openssl/crypto/cms/cms_lib.c
713
if ((*crls = sk_X509_CRL_new_reserve(NULL, n)) == NULL)
crypto/openssl/crypto/cms/cms_lib.c
716
for (i = 0; i < n; i++) {
crypto/openssl/crypto/core_namemap.c
48
static void names_free(NAMES *n)
crypto/openssl/crypto/core_namemap.c
50
sk_OPENSSL_STRING_pop_free(n, name_string_free);
crypto/openssl/crypto/crmf/crmf_lib.c
771
int n, ret = 0;
crypto/openssl/crypto/crmf/crmf_lib.c
843
|| !EVP_DecryptFinal(evp_ctx, out + *outlen, &n)) {
crypto/openssl/crypto/crmf/crmf_lib.c
847
*outlen += n;
crypto/openssl/crypto/der_writer.c
114
size_t n = 0;
crypto/openssl/crypto/der_writer.c
117
n++;
crypto/openssl/crypto/der_writer.c
121
if (n == 0)
crypto/openssl/crypto/der_writer.c
122
n = 1;
crypto/openssl/crypto/der_writer.c
124
return WPACKET_put_bytes__(pkt, *value, n);
crypto/openssl/crypto/der_writer.c
137
size_t n = BN_num_bytes(v);
crypto/openssl/crypto/der_writer.c
140
*top_byte = ((bn_get_words(v)[(n - 1) / BN_BYTES]) >> (8 * ((n - 1) % BN_BYTES)))
crypto/openssl/crypto/der_writer.c
143
if (!WPACKET_allocate_bytes(pkt, n, &p))
crypto/openssl/crypto/des/cfb64ede.c
109
while (l >= n) {
crypto/openssl/crypto/des/cfb64ede.c
110
l -= n;
crypto/openssl/crypto/des/cfb64ede.c
114
c2ln(in, d0, d1, n);
crypto/openssl/crypto/des/cfb64ede.c
115
in += n;
crypto/openssl/crypto/des/cfb64ede.c
118
l2cn(d0, d1, out, n);
crypto/openssl/crypto/des/cfb64ede.c
119
out += n;
crypto/openssl/crypto/des/cfb64ede.c
150
while (l >= n) {
crypto/openssl/crypto/des/cfb64ede.c
151
l -= n;
crypto/openssl/crypto/des/cfb64ede.c
155
c2ln(in, d0, d1, n);
crypto/openssl/crypto/des/cfb64ede.c
156
in += n;
crypto/openssl/crypto/des/cfb64ede.c
187
l2cn(d0, d1, out, n);
crypto/openssl/crypto/des/cfb64ede.c
188
out += n;
crypto/openssl/crypto/des/cfb64ede.c
31
register int n = *num & 0x07;
crypto/openssl/crypto/des/cfb64ede.c
38
if (n == 0) {
crypto/openssl/crypto/des/cfb64ede.c
53
c = *(in++) ^ iv[n];
crypto/openssl/crypto/des/cfb64ede.c
55
iv[n] = c;
crypto/openssl/crypto/des/cfb64ede.c
56
n = (n + 1) & 0x07;
crypto/openssl/crypto/des/cfb64ede.c
60
if (n == 0) {
crypto/openssl/crypto/des/cfb64ede.c
76
c = iv[n];
crypto/openssl/crypto/des/cfb64ede.c
77
iv[n] = cc;
crypto/openssl/crypto/des/cfb64ede.c
79
n = (n + 1) & 0x07;
crypto/openssl/crypto/des/cfb64ede.c
83
*num = n;
crypto/openssl/crypto/des/cfb64ede.c
97
register unsigned long l = length, n = ((unsigned int)numbits + 7) / 8;
crypto/openssl/crypto/des/cfb64enc.c
30
register int n = *num & 0x07;
crypto/openssl/crypto/des/cfb64enc.c
37
if (n == 0) {
crypto/openssl/crypto/des/cfb64enc.c
50
c = *(in++) ^ iv[n];
crypto/openssl/crypto/des/cfb64enc.c
52
iv[n] = c;
crypto/openssl/crypto/des/cfb64enc.c
53
n = (n + 1) & 0x07;
crypto/openssl/crypto/des/cfb64enc.c
57
if (n == 0) {
crypto/openssl/crypto/des/cfb64enc.c
71
c = iv[n];
crypto/openssl/crypto/des/cfb64enc.c
72
iv[n] = cc;
crypto/openssl/crypto/des/cfb64enc.c
74
n = (n + 1) & 0x07;
crypto/openssl/crypto/des/cfb64enc.c
78
*num = n;
crypto/openssl/crypto/des/cfb_enc.c
103
while (l >= (unsigned long)n) {
crypto/openssl/crypto/des/cfb_enc.c
104
l -= n;
crypto/openssl/crypto/des/cfb_enc.c
108
c2ln(in, d0, d1, n);
crypto/openssl/crypto/des/cfb_enc.c
109
in += n;
crypto/openssl/crypto/des/cfb_enc.c
145
l2cn(d0, d1, out, n);
crypto/openssl/crypto/des/cfb_enc.c
146
out += n;
crypto/openssl/crypto/des/cfb_enc.c
36
register int num = numbits / 8, n = (numbits + 7) / 8, i, rem = numbits % 8;
crypto/openssl/crypto/des/cfb_enc.c
57
while (l >= (unsigned long)n) {
crypto/openssl/crypto/des/cfb_enc.c
58
l -= n;
crypto/openssl/crypto/des/cfb_enc.c
62
c2ln(in, d0, d1, n);
crypto/openssl/crypto/des/cfb_enc.c
63
in += n;
crypto/openssl/crypto/des/cfb_enc.c
66
l2cn(d0, d1, out, n);
crypto/openssl/crypto/des/cfb_enc.c
67
out += n;
crypto/openssl/crypto/des/des_local.h
103
#define ROTATE(a, n) (_lrotr(a, n))
crypto/openssl/crypto/des/des_local.h
105
#define ROTATE(a, n) (_rotr(a, n))
crypto/openssl/crypto/des/des_local.h
108
#define ROTATE(a, n) ({ \
crypto/openssl/crypto/des/des_local.h
112
: "I"(n), "0"(a) \
crypto/openssl/crypto/des/des_local.h
118
#define ROTATE(x, n) ({ register unsigned int ret; \
crypto/openssl/crypto/des/des_local.h
121
: "r"(x), "i"(n)); ret; })
crypto/openssl/crypto/des/des_local.h
124
#define ROTATE(x, n) ({ register unsigned int ret; \
crypto/openssl/crypto/des/des_local.h
127
: "r"(x), "i"(n)); ret; })
crypto/openssl/crypto/des/des_local.h
132
#define ROTATE(a, n) (((a) >> (n)) + ((a) << (32 - (n))))
crypto/openssl/crypto/des/des_local.h
216
#define PERM_OP(a, b, t, n, m) ((t) = ((((a) >> (n)) ^ (b)) & (m)), \
crypto/openssl/crypto/des/des_local.h
218
(a) ^= ((t) << (n)))
crypto/openssl/crypto/des/des_local.h
35
#define c2ln(c, l1, l2, n) \
crypto/openssl/crypto/des/des_local.h
37
c += n; \
crypto/openssl/crypto/des/des_local.h
39
switch (n) { \
crypto/openssl/crypto/des/des_local.h
72
#define l2cn(l1, l2, c, n) \
crypto/openssl/crypto/des/des_local.h
74
c += n; \
crypto/openssl/crypto/des/des_local.h
75
switch (n) { \
crypto/openssl/crypto/des/fcrypt_b.c
23
#define PERM_OP(a, b, t, n, m) ((t) = ((((a) >> (n)) ^ (b)) & (m)), \
crypto/openssl/crypto/des/fcrypt_b.c
25
(a) ^= ((t) << (n)))
crypto/openssl/crypto/des/fcrypt_b.c
28
#define HPERM_OP(a, t, n, m) ((t) = ((((a) << (16 - (n))) ^ (a)) & (m)), \
crypto/openssl/crypto/des/fcrypt_b.c
29
(a) = (a) ^ (t) ^ (t >> (16 - (n))))
crypto/openssl/crypto/des/ofb64ede.c
29
register int n = *num & 0x07;
crypto/openssl/crypto/des/ofb64ede.c
46
if (n == 0) {
crypto/openssl/crypto/des/ofb64ede.c
58
*(out++) = *(in++) ^ d[n];
crypto/openssl/crypto/des/ofb64ede.c
59
n = (n + 1) & 0x07;
crypto/openssl/crypto/des/ofb64ede.c
67
*num = n;
crypto/openssl/crypto/des/ofb64enc.c
28
register int n = *num & 0x07;
crypto/openssl/crypto/des/ofb64enc.c
45
if (n == 0) {
crypto/openssl/crypto/des/ofb64enc.c
54
*(out++) = *(in++) ^ d[n];
crypto/openssl/crypto/des/ofb64enc.c
55
n = (n + 1) & 0x07;
crypto/openssl/crypto/des/ofb64enc.c
65
*num = n;
crypto/openssl/crypto/des/ofb_enc.c
28
register DES_LONG d0, d1, vv0, vv1, v0, v1, n = (numbits + 7) / 8;
crypto/openssl/crypto/des/ofb_enc.c
62
c2ln(in, d0, d1, n);
crypto/openssl/crypto/des/ofb_enc.c
63
in += n;
crypto/openssl/crypto/des/ofb_enc.c
66
l2cn(d0, d1, out, n);
crypto/openssl/crypto/des/ofb_enc.c
67
out += n;
crypto/openssl/crypto/des/set_key.c
139
#define HPERM_OP(a, t, n, m) ((t) = ((((a) << (16 - (n))) ^ (a)) & (m)), \
crypto/openssl/crypto/des/set_key.c
140
(a) = (a) ^ (t) ^ (t >> (16 - (n))))
crypto/openssl/crypto/ec/curve448/curve448.c
106
gf_add(eu, d->n->b, d->n->a);
crypto/openssl/crypto/ec/curve448/curve448.c
107
gf_sub(e->y, d->n->b, d->n->a);
crypto/openssl/crypto/ec/curve448/curve448.c
114
static void niels_to_pt(curve448_point_t e, const niels_t n)
crypto/openssl/crypto/ec/curve448/curve448.c
116
gf_add(e->y, n->b, n->a);
crypto/openssl/crypto/ec/curve448/curve448.c
117
gf_sub(e->x, n->b, n->a);
crypto/openssl/crypto/ec/curve448/curve448.c
171
add_niels_to_pt(p, pn->n, before_double);
crypto/openssl/crypto/ec/curve448/curve448.c
181
sub_niels_from_pt(p, pn->n, before_double);
crypto/openssl/crypto/ec/curve448/curve448.c
232
const unsigned int n = COMBS_N, t = COMBS_T, s = COMBS_S;
crypto/openssl/crypto/ec/curve448/curve448.c
243
for (j = 0; j < n; j++) {
crypto/openssl/crypto/ec/curve448/curve448.c
263
add_niels_to_pt(out, ni, j == n - 1 && i != 1);
crypto/openssl/crypto/ec/curve448/curve448.c
556
unsigned int n, i;
crypto/openssl/crypto/ec/curve448/curve448.c
602
n = table_size - position;
crypto/openssl/crypto/ec/curve448/curve448.c
603
for (i = 0; i < n; i++)
crypto/openssl/crypto/ec/curve448/curve448.c
606
return n - 1;
crypto/openssl/crypto/ec/curve448/curve448.c
88
static ossl_inline void cond_neg_niels(niels_t n, mask_t neg)
crypto/openssl/crypto/ec/curve448/curve448.c
90
gf_cond_swap(n->a, n->b, neg);
crypto/openssl/crypto/ec/curve448/curve448.c
91
gf_cond_neg(n->c, neg);
crypto/openssl/crypto/ec/curve448/curve448.c
96
gf_sub(b->n->a, a->y, a->x);
crypto/openssl/crypto/ec/curve448/curve448.c
97
gf_add(b->n->b, a->x, a->y);
crypto/openssl/crypto/ec/curve448/curve448.c
98
gf_mulw(b->n->c, a->t, 2 * TWISTED_D);
crypto/openssl/crypto/ec/curve448/field.h
81
static ossl_inline void gf_sqrn(gf_s *RESTRICT y, const gf x, int n)
crypto/openssl/crypto/ec/curve448/field.h
85
assert(n > 0);
crypto/openssl/crypto/ec/curve448/field.h
86
if (n & 1) {
crypto/openssl/crypto/ec/curve448/field.h
88
n--;
crypto/openssl/crypto/ec/curve448/field.h
92
n -= 2;
crypto/openssl/crypto/ec/curve448/field.h
94
for (; n; n -= 2) {
crypto/openssl/crypto/ec/curve448/point_448.h
29
niels_t n;
crypto/openssl/crypto/ec/ec_local.h
526
const BIGNUM *a, const BIGNUM *n,
crypto/openssl/crypto/ec/ec_local.h
546
const BIGNUM *a, const BIGNUM *n,
crypto/openssl/crypto/ec/ec_local.h
566
const BIGNUM *a, const BIGNUM *n,
crypto/openssl/crypto/ec/ec_local.h
587
const BIGNUM *a, const BIGNUM *n,
crypto/openssl/crypto/ec/ecp_s390x_nistp.c
32
#define S390X_OFF_RES_X(n) (0 * n)
crypto/openssl/crypto/ec/ecp_s390x_nistp.c
33
#define S390X_OFF_RES_Y(n) (1 * n)
crypto/openssl/crypto/ec/ecp_s390x_nistp.c
34
#define S390X_OFF_SRC_X(n) (2 * n)
crypto/openssl/crypto/ec/ecp_s390x_nistp.c
35
#define S390X_OFF_SRC_Y(n) (3 * n)
crypto/openssl/crypto/ec/ecp_s390x_nistp.c
36
#define S390X_OFF_SCALAR(n) (4 * n)
crypto/openssl/crypto/ec/ecp_s390x_nistp.c
39
#define S390X_OFF_R(n) (0 * n)
crypto/openssl/crypto/ec/ecp_s390x_nistp.c
40
#define S390X_OFF_S(n) (1 * n)
crypto/openssl/crypto/ec/ecp_s390x_nistp.c
41
#define S390X_OFF_H(n) (2 * n)
crypto/openssl/crypto/ec/ecp_s390x_nistp.c
42
#define S390X_OFF_K(n) (3 * n)
crypto/openssl/crypto/ec/ecp_s390x_nistp.c
43
#define S390X_OFF_X(n) (3 * n)
crypto/openssl/crypto/ec/ecp_s390x_nistp.c
44
#define S390X_OFF_RN(n) (4 * n)
crypto/openssl/crypto/ec/ecp_s390x_nistp.c
45
#define S390X_OFF_Y(n) (4 * n)
crypto/openssl/crypto/ec/ecp_s390x_nistp.c
47
#define S390X_PAD(n) (n == 80 ? 14 : 0)
crypto/openssl/crypto/engine/eng_openssl.c
208
const int n = EVP_CIPHER_CTX_get_key_length(ctx);
crypto/openssl/crypto/engine/eng_openssl.c
213
if (n <= 0)
crypto/openssl/crypto/engine/eng_openssl.c
214
return n;
crypto/openssl/crypto/engine/eng_openssl.c
215
memcpy(&test(ctx)->key[0], key, n);
crypto/openssl/crypto/engine/eng_openssl.c
216
RC4_set_key(&test(ctx)->ks, n, test(ctx)->key);
crypto/openssl/crypto/engine/eng_table.c
153
int n;
crypto/openssl/crypto/engine/eng_table.c
155
while ((n = sk_ENGINE_find(pile->sk, e)) >= 0) {
crypto/openssl/crypto/engine/eng_table.c
156
(void)sk_ENGINE_delete(pile->sk, n);
crypto/openssl/crypto/evp/bio_b64.c
116
int ret = 0, i, ii, j, k, x, n, num, ret_code;
crypto/openssl/crypto/evp/bio_b64.c
251
n = q - p;
crypto/openssl/crypto/evp/bio_b64.c
252
for (ii = 0; ii < n; ii++)
crypto/openssl/crypto/evp/bio_b64.c
254
ctx->tmp_len = n;
crypto/openssl/crypto/evp/bio_b64.c
320
int n;
crypto/openssl/crypto/evp/bio_b64.c
343
n = ctx->buf_len - ctx->buf_off;
crypto/openssl/crypto/evp/bio_b64.c
344
while (n > 0) {
crypto/openssl/crypto/evp/bio_b64.c
345
i = BIO_write(next, &(ctx->buf[ctx->buf_off]), n);
crypto/openssl/crypto/evp/bio_b64.c
350
OPENSSL_assert(i <= n);
crypto/openssl/crypto/evp/bio_b64.c
354
n -= i;
crypto/openssl/crypto/evp/bio_b64.c
364
n = inl > B64_BLOCK_SIZE ? B64_BLOCK_SIZE : inl;
crypto/openssl/crypto/evp/bio_b64.c
369
n = 3 - ctx->tmp_len;
crypto/openssl/crypto/evp/bio_b64.c
373
if (n > inl)
crypto/openssl/crypto/evp/bio_b64.c
374
n = inl;
crypto/openssl/crypto/evp/bio_b64.c
375
memcpy(&(ctx->tmp[ctx->tmp_len]), in, n);
crypto/openssl/crypto/evp/bio_b64.c
376
ctx->tmp_len += n;
crypto/openssl/crypto/evp/bio_b64.c
377
ret += n;
crypto/openssl/crypto/evp/bio_b64.c
389
if (n < 3) {
crypto/openssl/crypto/evp/bio_b64.c
390
memcpy(ctx->tmp, in, n);
crypto/openssl/crypto/evp/bio_b64.c
391
ctx->tmp_len = n;
crypto/openssl/crypto/evp/bio_b64.c
392
ret += n;
crypto/openssl/crypto/evp/bio_b64.c
395
n -= n % 3;
crypto/openssl/crypto/evp/bio_b64.c
396
ctx->buf_len = EVP_EncodeBlock(ctx->buf, (unsigned char *)in, n);
crypto/openssl/crypto/evp/bio_b64.c
399
ret += n;
crypto/openssl/crypto/evp/bio_b64.c
403
(unsigned char *)in, n))
crypto/openssl/crypto/evp/bio_b64.c
407
ret += n;
crypto/openssl/crypto/evp/bio_b64.c
409
inl -= n;
crypto/openssl/crypto/evp/bio_b64.c
410
in += n;
crypto/openssl/crypto/evp/bio_b64.c
413
n = ctx->buf_len;
crypto/openssl/crypto/evp/bio_b64.c
414
while (n > 0) {
crypto/openssl/crypto/evp/bio_b64.c
415
i = BIO_write(next, &(ctx->buf[ctx->buf_off]), n);
crypto/openssl/crypto/evp/bio_b64.c
420
OPENSSL_assert(i <= n);
crypto/openssl/crypto/evp/bio_b64.c
421
n -= i;
crypto/openssl/crypto/evp/bio_enc.c
239
int ret = 0, n, i;
crypto/openssl/crypto/evp/bio_enc.c
251
n = ctx->buf_len - ctx->buf_off;
crypto/openssl/crypto/evp/bio_enc.c
252
while (n > 0) {
crypto/openssl/crypto/evp/bio_enc.c
253
i = BIO_write(next, &(ctx->buf[ctx->buf_off]), n);
crypto/openssl/crypto/evp/bio_enc.c
259
n -= i;
crypto/openssl/crypto/evp/bio_enc.c
268
n = (inl > ENC_BLOCK_SIZE) ? ENC_BLOCK_SIZE : inl;
crypto/openssl/crypto/evp/bio_enc.c
271
(const unsigned char *)in, n)) {
crypto/openssl/crypto/evp/bio_enc.c
276
inl -= n;
crypto/openssl/crypto/evp/bio_enc.c
277
in += n;
crypto/openssl/crypto/evp/bio_enc.c
280
n = ctx->buf_len;
crypto/openssl/crypto/evp/bio_enc.c
281
while (n > 0) {
crypto/openssl/crypto/evp/bio_enc.c
282
i = BIO_write(next, &(ctx->buf[ctx->buf_off]), n);
crypto/openssl/crypto/evp/bio_enc.c
287
n -= i;
crypto/openssl/crypto/evp/bio_ok.c
171
int ret = 0, i, n;
crypto/openssl/crypto/evp/bio_ok.c
220
n = IOBS - ctx->buf_len;
crypto/openssl/crypto/evp/bio_ok.c
221
i = BIO_read(next, &(ctx->buf[ctx->buf_len]), n);
crypto/openssl/crypto/evp/bio_ok.c
256
int ret = 0, n, i;
crypto/openssl/crypto/evp/bio_ok.c
275
n = ctx->buf_len - ctx->buf_off;
crypto/openssl/crypto/evp/bio_ok.c
276
while (ctx->blockout && n > 0) {
crypto/openssl/crypto/evp/bio_ok.c
277
i = BIO_write(next, &(ctx->buf[ctx->buf_off]), n);
crypto/openssl/crypto/evp/bio_ok.c
285
n -= i;
crypto/openssl/crypto/evp/bio_ok.c
298
n = (inl + ctx->buf_len > OK_BLOCK_SIZE + OK_BLOCK_BLOCK) ? (int)(OK_BLOCK_SIZE + OK_BLOCK_BLOCK - ctx->buf_len) : inl;
crypto/openssl/crypto/evp/bio_ok.c
300
memcpy(&ctx->buf[ctx->buf_len], in, n);
crypto/openssl/crypto/evp/bio_ok.c
301
ctx->buf_len += n;
crypto/openssl/crypto/evp/bio_ok.c
302
inl -= n;
crypto/openssl/crypto/evp/bio_ok.c
303
in += n;
crypto/openssl/crypto/evp/ctrl_params_translate.c
1958
#define IMPL_GET_RSA_PAYLOAD_FACTOR(n) \
crypto/openssl/crypto/evp/ctrl_params_translate.c
1960
get_rsa_payload_f##n(enum state state, \
crypto/openssl/crypto/evp/ctrl_params_translate.c
1967
return get_rsa_payload_factor(state, translation, ctx, n - 1); \
crypto/openssl/crypto/evp/ctrl_params_translate.c
1970
#define IMPL_GET_RSA_PAYLOAD_EXPONENT(n) \
crypto/openssl/crypto/evp/ctrl_params_translate.c
1972
get_rsa_payload_e##n(enum state state, \
crypto/openssl/crypto/evp/ctrl_params_translate.c
1980
n - 1); \
crypto/openssl/crypto/evp/ctrl_params_translate.c
1983
#define IMPL_GET_RSA_PAYLOAD_COEFFICIENT(n) \
crypto/openssl/crypto/evp/ctrl_params_translate.c
1985
get_rsa_payload_c##n(enum state state, \
crypto/openssl/crypto/evp/ctrl_params_translate.c
1993
n - 1); \
crypto/openssl/crypto/evp/e_aes.c
1084
int n = ctx->num;
crypto/openssl/crypto/evp/e_aes.c
1088
while (n && len) {
crypto/openssl/crypto/evp/e_aes.c
1089
*out = *in ^ cctx->kmo.param.cv[n];
crypto/openssl/crypto/evp/e_aes.c
1090
n = (n + 1) & 0xf;
crypto/openssl/crypto/evp/e_aes.c
1111
out[n] = in[n] ^ cctx->kmo.param.cv[n];
crypto/openssl/crypto/evp/e_aes.c
1112
++n;
crypto/openssl/crypto/evp/e_aes.c
1117
ctx->num = n;
crypto/openssl/crypto/evp/e_aes.c
1156
int n = ctx->num;
crypto/openssl/crypto/evp/e_aes.c
1169
while (n && len) {
crypto/openssl/crypto/evp/e_aes.c
1171
*out = cctx->kmf.param.cv[n] ^ tmp;
crypto/openssl/crypto/evp/e_aes.c
1172
cctx->kmf.param.cv[n] = enc ? *out : tmp;
crypto/openssl/crypto/evp/e_aes.c
1173
n = (n + 1) & 0xf;
crypto/openssl/crypto/evp/e_aes.c
1194
tmp = in[n];
crypto/openssl/crypto/evp/e_aes.c
1195
out[n] = cctx->kmf.param.cv[n] ^ tmp;
crypto/openssl/crypto/evp/e_aes.c
1196
cctx->kmf.param.cv[n] = enc ? out[n] : tmp;
crypto/openssl/crypto/evp/e_aes.c
1197
++n;
crypto/openssl/crypto/evp/e_aes.c
1202
ctx->num = n;
crypto/openssl/crypto/evp/e_aes.c
124
int n = 8;
crypto/openssl/crypto/evp/e_aes.c
1271
int n, rem;
crypto/openssl/crypto/evp/e_aes.c
128
--n;
crypto/openssl/crypto/evp/e_aes.c
1281
n = ctx->areslen;
crypto/openssl/crypto/evp/e_aes.c
1282
if (n) {
crypto/openssl/crypto/evp/e_aes.c
1283
while (n && len) {
crypto/openssl/crypto/evp/e_aes.c
1284
ctx->ares[n] = *aad;
crypto/openssl/crypto/evp/e_aes.c
1285
n = (n + 1) & 0xf;
crypto/openssl/crypto/evp/e_aes.c
129
c = counter[n];
crypto/openssl/crypto/evp/e_aes.c
1290
if (!n) {
crypto/openssl/crypto/evp/e_aes.c
1294
ctx->areslen = n;
crypto/openssl/crypto/evp/e_aes.c
131
counter[n] = c;
crypto/openssl/crypto/evp/e_aes.c
1331
int n, rem, i;
crypto/openssl/crypto/evp/e_aes.c
1338
n = ctx->mreslen;
crypto/openssl/crypto/evp/e_aes.c
1339
if (n) {
crypto/openssl/crypto/evp/e_aes.c
134
} while (n);
crypto/openssl/crypto/evp/e_aes.c
1342
while (n && inlen) {
crypto/openssl/crypto/evp/e_aes.c
1343
ctx->mres[n] = *inptr;
crypto/openssl/crypto/evp/e_aes.c
1344
n = (n + 1) & 0xf;
crypto/openssl/crypto/evp/e_aes.c
1349
if (!n) {
crypto/openssl/crypto/evp/e_aes.c
1357
n = ctx->mreslen;
crypto/openssl/crypto/evp/e_aes.c
1358
while (n) {
crypto/openssl/crypto/evp/e_aes.c
1359
*out = buf.b[n];
crypto/openssl/crypto/evp/e_aes.c
1360
n = (n + 1) & 0xf;
crypto/openssl/crypto/evp/e_aes.c
1395
n = ctx->mreslen;
crypto/openssl/crypto/evp/e_aes.c
1397
ctx->mres[n + i] = in[i];
crypto/openssl/crypto/evp/e_aes.c
1398
out[i] = in[i] ^ ctx->kres[n + i];
crypto/openssl/crypto/evp/e_aes.c
1880
size_t n, rem;
crypto/openssl/crypto/evp/e_aes.c
1897
n = 0;
crypto/openssl/crypto/evp/e_aes.c
1899
n |= ctx->aes.ccm.nonce.b[i];
crypto/openssl/crypto/evp/e_aes.c
1901
n <<= 8;
crypto/openssl/crypto/evp/e_aes.c
1903
n |= ctx->aes.ccm.nonce.b[15];
crypto/openssl/crypto/evp/e_aes.c
1906
if (n != len)
crypto/openssl/crypto/evp/e_aes.c
2621
int n = EVP_CIPHER_CTX_get_num(ctx);
crypto/openssl/crypto/evp/e_aes.c
2625
if (n < 0)
crypto/openssl/crypto/evp/e_aes.c
2627
num = (unsigned int)n;
crypto/openssl/crypto/evp/e_aria.c
181
int n = EVP_CIPHER_CTX_get_num(ctx);
crypto/openssl/crypto/evp/e_aria.c
185
if (n < 0)
crypto/openssl/crypto/evp/e_aria.c
187
num = (unsigned int)n;
crypto/openssl/crypto/evp/e_aria.c
205
int n = 8;
crypto/openssl/crypto/evp/e_aria.c
209
--n;
crypto/openssl/crypto/evp/e_aria.c
210
c = counter[n];
crypto/openssl/crypto/evp/e_aria.c
212
counter[n] = c;
crypto/openssl/crypto/evp/e_aria.c
215
} while (n);
crypto/openssl/crypto/evp/e_chacha20_poly1305.c
121
for (n = 0; n < rem; n++)
crypto/openssl/crypto/evp/e_chacha20_poly1305.c
122
out[n] = inp[n] ^ key->buf[n];
crypto/openssl/crypto/evp/e_chacha20_poly1305.c
62
unsigned int n, rem, ctr32;
crypto/openssl/crypto/evp/e_chacha20_poly1305.c
64
if ((n = key->partial_len)) {
crypto/openssl/crypto/evp/e_chacha20_poly1305.c
65
while (len && n < CHACHA_BLK_SIZE) {
crypto/openssl/crypto/evp/e_chacha20_poly1305.c
66
*out++ = *inp++ ^ key->buf[n++];
crypto/openssl/crypto/evp/e_chacha20_poly1305.c
69
key->partial_len = n;
crypto/openssl/crypto/evp/e_chacha20_poly1305.c
74
if (n == CHACHA_BLK_SIZE) {
crypto/openssl/crypto/evp/e_des.c
151
size_t n, chunk = EVP_MAXCHUNK / 8;
crypto/openssl/crypto/evp/e_des.c
159
for (n = 0; n < chunk * 8; ++n) {
crypto/openssl/crypto/evp/e_des.c
160
c[0] = (in[n / 8] & (1 << (7 - n % 8))) ? 0x80 : 0;
crypto/openssl/crypto/evp/e_des.c
164
out[n / 8] = (out[n / 8] & ~(0x80 >> (unsigned int)(n % 8))) | ((d[0] & 0x80) >> (unsigned int)(n % 8));
crypto/openssl/crypto/evp/e_des3.c
167
size_t n;
crypto/openssl/crypto/evp/e_des3.c
173
for (n = 0; n < inl; ++n) {
crypto/openssl/crypto/evp/e_des3.c
174
c[0] = (in[n / 8] & (1 << (7 - n % 8))) ? 0x80 : 0;
crypto/openssl/crypto/evp/e_des3.c
179
out[n / 8] = (out[n / 8] & ~(0x80 >> (unsigned int)(n % 8)))
crypto/openssl/crypto/evp/e_des3.c
180
| ((d[0] & 0x80) >> (unsigned int)(n % 8));
crypto/openssl/crypto/evp/e_sm4.c
207
int n = EVP_CIPHER_CTX_get_num(ctx);
crypto/openssl/crypto/evp/e_sm4.c
211
if (n < 0)
crypto/openssl/crypto/evp/e_sm4.c
213
num = (unsigned int)n;
crypto/openssl/crypto/evp/encode.c
22
const unsigned char *f, int n, int eof);
crypto/openssl/crypto/evp/encode.c
296
int seof = 0, eof = 0, rv = -1, ret = 0, i, v, tmp, n, decoded_len;
crypto/openssl/crypto/evp/encode.c
300
n = ctx->num;
crypto/openssl/crypto/evp/encode.c
303
if (n > 0 && d[n - 1] == '=') {
crypto/openssl/crypto/evp/encode.c
305
if (n > 1 && d[n - 2] == '=')
crypto/openssl/crypto/evp/encode.c
348
if (n >= 64) {
crypto/openssl/crypto/evp/encode.c
357
OPENSSL_assert(n < (int)sizeof(ctx->enc_data));
crypto/openssl/crypto/evp/encode.c
358
d[n++] = tmp;
crypto/openssl/crypto/evp/encode.c
361
if (n == 64) {
crypto/openssl/crypto/evp/encode.c
362
decoded_len = evp_decodeblock_int(ctx, out, d, n, eof);
crypto/openssl/crypto/evp/encode.c
363
n = 0;
crypto/openssl/crypto/evp/encode.c
379
if (n > 0) {
crypto/openssl/crypto/evp/encode.c
380
if ((n & 3) == 0) {
crypto/openssl/crypto/evp/encode.c
381
decoded_len = evp_decodeblock_int(ctx, out, d, n, eof);
crypto/openssl/crypto/evp/encode.c
382
n = 0;
crypto/openssl/crypto/evp/encode.c
395
rv = seof || (n == 0 && eof) ? 0 : 1;
crypto/openssl/crypto/evp/encode.c
399
ctx->num = n;
crypto/openssl/crypto/evp/encode.c
404
const unsigned char *f, int n,
crypto/openssl/crypto/evp/encode.c
420
while ((n > 0) && (conv_ascii2bin(*f, table) == B64_WS)) {
crypto/openssl/crypto/evp/encode.c
422
n--;
crypto/openssl/crypto/evp/encode.c
429
while ((n > 3) && (B64_NOT_BASE64(conv_ascii2bin(f[n - 1], table))))
crypto/openssl/crypto/evp/encode.c
430
n--;
crypto/openssl/crypto/evp/encode.c
432
if (n % 4 != 0)
crypto/openssl/crypto/evp/encode.c
434
if (n == 0)
crypto/openssl/crypto/evp/encode.c
438
for (i = 0; i < n - 4; i += 4) {
crypto/openssl/crypto/evp/encode.c
483
int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n)
crypto/openssl/crypto/evp/encode.c
485
return evp_decodeblock_int(NULL, t, f, n, 0);
crypto/openssl/crypto/evp/evp_enc.c
1044
int n, ret;
crypto/openssl/crypto/evp/evp_enc.c
1117
n = b - bl;
crypto/openssl/crypto/evp/evp_enc.c
1119
ctx->buf[i] = n;
crypto/openssl/crypto/evp/evp_enc.c
1269
int i, n;
crypto/openssl/crypto/evp/evp_enc.c
1349
n = ctx->final[b - 1];
crypto/openssl/crypto/evp/evp_enc.c
1350
if (n == 0 || n > (int)b) {
crypto/openssl/crypto/evp/evp_enc.c
1354
for (i = 0; i < n; i++) {
crypto/openssl/crypto/evp/evp_enc.c
1355
if (ctx->final[--b] != n) {
crypto/openssl/crypto/evp/evp_enc.c
1360
n = ctx->cipher->block_size - n;
crypto/openssl/crypto/evp/evp_enc.c
1361
for (i = 0; i < n; i++)
crypto/openssl/crypto/evp/evp_enc.c
1363
*outl = n;
crypto/openssl/crypto/evp/evp_enc.c
439
n = EVP_CIPHER_CTX_get_iv_length(ctx);
crypto/openssl/crypto/evp/evp_enc.c
440
if (n < 0 || n > (int)sizeof(ctx->iv)) {
crypto/openssl/crypto/evp/evp_enc.c
445
memcpy(ctx->oiv, iv, n);
crypto/openssl/crypto/evp/evp_enc.c
446
memcpy(ctx->iv, ctx->oiv, n);
crypto/openssl/crypto/evp/evp_enc.c
453
n = EVP_CIPHER_CTX_get_iv_length(ctx);
crypto/openssl/crypto/evp/evp_enc.c
454
if (n <= 0 || n > (int)sizeof(ctx->iv)) {
crypto/openssl/crypto/evp/evp_enc.c
458
memcpy(ctx->iv, iv, n);
crypto/openssl/crypto/evp/evp_enc.c
99
int n;
crypto/openssl/crypto/evp/evp_lib.c
621
unsigned int n = (unsigned int)num;
crypto/openssl/crypto/evp/evp_lib.c
624
params[0] = OSSL_PARAM_construct_uint(OSSL_CIPHER_PARAM_NUM, &n);
crypto/openssl/crypto/evp/evp_lib.c
628
ctx->num = (int)n;
crypto/openssl/crypto/evp/pmeth_gn.c
106
int p = -1, n = -1;
crypto/openssl/crypto/evp/pmeth_gn.c
117
|| !OSSL_PARAM_get_int(param, &n))
crypto/openssl/crypto/evp/pmeth_gn.c
121
ctx->keygen_info[1] = n;
crypto/openssl/crypto/evp/pmeth_lib.c
1222
int EVP_PKEY_CTX_set_scrypt_N(EVP_PKEY_CTX *ctx, uint64_t n)
crypto/openssl/crypto/evp/pmeth_lib.c
1226
n);
crypto/openssl/crypto/ffc/ffc_params_generate.c
191
static int generate_p(BN_CTX *ctx, const EVP_MD *evpmd, int max_counter, int n,
crypto/openssl/crypto/ffc/ffc_params_generate.c
232
for (j = 0; j <= n; j++) {
crypto/openssl/crypto/ffc/ffc_params_generate.c
528
int n = 0, m = 0, qsize;
crypto/openssl/crypto/ffc/ffc_params_generate.c
679
n = (L - 1) / (mdsize << 3);
crypto/openssl/crypto/ffc/ffc_params_generate.c
700
r = generate_p(ctx, md, counter, n, seed_tmp, seedlen, q, p, L,
crypto/openssl/crypto/ffc/ffc_params_generate.c
822
int n = 0, m = 0;
crypto/openssl/crypto/ffc/ffc_params_generate.c
947
n = (L - 1) / 160;
crypto/openssl/crypto/ffc/ffc_params_generate.c
958
rv = generate_p(ctx, md, counter, n, buf, qsize, q, p, L, cb,
crypto/openssl/crypto/http/http_client.c
573
long n;
crypto/openssl/crypto/http/http_client.c
593
n = BIO_read(rctx->rbio, buf, rctx->buf_size);
crypto/openssl/crypto/http/http_client.c
596
n = BIO_gets(rctx->rbio, buf, rctx->buf_size);
crypto/openssl/crypto/http/http_client.c
597
if (n == -2) { /* some BIOs, such as SSL, do not support "gets" */
crypto/openssl/crypto/http/http_client.c
599
n = BIO_get_line(rctx->rbio, buf, rctx->buf_size);
crypto/openssl/crypto/http/http_client.c
604
if (n <= 0) {
crypto/openssl/crypto/http/http_client.c
619
if (BIO_write(rctx->mem, buf, n) != n)
crypto/openssl/crypto/http/http_client.c
679
n = BIO_read(rctx->req, rctx->buf, rctx->buf_size);
crypto/openssl/crypto/http/http_client.c
680
if (n <= 0) {
crypto/openssl/crypto/http/http_client.c
687
rctx->len_to_send = n;
crypto/openssl/crypto/http/http_client.c
723
n = BIO_get_mem_data(rctx->mem, &p);
crypto/openssl/crypto/http/http_client.c
724
if (n <= 0 || memchr(p, '\n', n) == 0) {
crypto/openssl/crypto/http/http_client.c
725
if (n >= rctx->buf_size) {
crypto/openssl/crypto/http/http_client.c
731
n = BIO_gets(rctx->mem, buf, rctx->buf_size);
crypto/openssl/crypto/http/http_client.c
733
if (n <= 0) {
crypto/openssl/crypto/http/http_client.c
741
resp_len += n;
crypto/openssl/crypto/http/http_client.c
745
OSSL_TRACE_STRING(HTTP, got_text, 1, (unsigned char *)buf, n);
crypto/openssl/crypto/http/http_client.c
757
if (n == rctx->buf_size) {
crypto/openssl/crypto/http/http_client.c
767
OSSL_TRACE_STRING(HTTP, 1, 1, (unsigned char *)buf, n);
crypto/openssl/crypto/http/http_client.c
935
n = BIO_get_mem_data(rctx->mem, &p);
crypto/openssl/crypto/http/http_client.c
936
if (n < 2)
crypto/openssl/crypto/http/http_client.c
951
if (n < 6)
crypto/openssl/crypto/http/http_client.c
953
n = *p & 0x7F;
crypto/openssl/crypto/http/http_client.c
955
if (n == 0 || (n > 4)) {
crypto/openssl/crypto/http/http_client.c
961
for (i = 0; i < n; i++) {
crypto/openssl/crypto/http/http_client.c
965
resp_len += n + 2;
crypto/openssl/crypto/http/http_client.c
978
n = BIO_get_mem_data(rctx->mem, NULL);
crypto/openssl/crypto/http/http_client.c
979
if (n < 0 || (size_t)n < rctx->resp_len)
crypto/openssl/crypto/idea/i_cfb64.c
31
register int n = *num;
crypto/openssl/crypto/idea/i_cfb64.c
36
if (n < 0) {
crypto/openssl/crypto/idea/i_cfb64.c
40
n = n & 0x07;
crypto/openssl/crypto/idea/i_cfb64.c
45
if (n == 0) {
crypto/openssl/crypto/idea/i_cfb64.c
58
c = *(in++) ^ iv[n];
crypto/openssl/crypto/idea/i_cfb64.c
60
iv[n] = c;
crypto/openssl/crypto/idea/i_cfb64.c
61
n = (n + 1) & 0x07;
crypto/openssl/crypto/idea/i_cfb64.c
65
if (n == 0) {
crypto/openssl/crypto/idea/i_cfb64.c
79
c = iv[n];
crypto/openssl/crypto/idea/i_cfb64.c
80
iv[n] = cc;
crypto/openssl/crypto/idea/i_cfb64.c
82
n = (n + 1) & 0x07;
crypto/openssl/crypto/idea/i_cfb64.c
86
*num = n;
crypto/openssl/crypto/idea/i_ofb64.c
30
register int n = *num;
crypto/openssl/crypto/idea/i_ofb64.c
38
if (n < 0) {
crypto/openssl/crypto/idea/i_ofb64.c
42
n = n & 0x07;
crypto/openssl/crypto/idea/i_ofb64.c
53
if (n == 0) {
crypto/openssl/crypto/idea/i_ofb64.c
62
*(out++) = *(in++) ^ d[n];
crypto/openssl/crypto/idea/i_ofb64.c
63
n = (n + 1) & 0x07;
crypto/openssl/crypto/idea/i_ofb64.c
73
*num = n;
crypto/openssl/crypto/idea/idea_local.h
20
#define n2ln(c, l1, l2, n) \
crypto/openssl/crypto/idea/idea_local.h
22
c += n; \
crypto/openssl/crypto/idea/idea_local.h
24
switch (n) { \
crypto/openssl/crypto/idea/idea_local.h
52
#define l2nn(l1, l2, c, n) \
crypto/openssl/crypto/idea/idea_local.h
54
c += n; \
crypto/openssl/crypto/idea/idea_local.h
55
switch (n) { \
crypto/openssl/crypto/lhash/lh_stats.c
105
OPENSSL_LH_NODE *n;
crypto/openssl/crypto/lhash/lh_stats.c
111
for (n = lh->b[i], num = 0; n != NULL; n = n->next)
crypto/openssl/crypto/lhash/lh_stats.c
93
OPENSSL_LH_NODE *n;
crypto/openssl/crypto/lhash/lh_stats.c
97
for (n = lh->b[i], num = 0; n != NULL; n = n->next)
crypto/openssl/crypto/lhash/lhash.c
105
n = lh->b[i];
crypto/openssl/crypto/lhash/lhash.c
106
while (n != NULL) {
crypto/openssl/crypto/lhash/lhash.c
107
nn = n->next;
crypto/openssl/crypto/lhash/lhash.c
108
OPENSSL_free(n);
crypto/openssl/crypto/lhash/lhash.c
109
n = nn;
crypto/openssl/crypto/lhash/lhash.c
193
OPENSSL_LH_NODE *a, *n;
crypto/openssl/crypto/lhash/lhash.c
205
n = a->next;
crypto/openssl/crypto/lhash/lhash.c
210
a = n;
crypto/openssl/crypto/lhash/lhash.c
244
OPENSSL_LH_NODE **n, **n1, **n2, *np;
crypto/openssl/crypto/lhash/lhash.c
253
n = OPENSSL_realloc(lh->b, sizeof(OPENSSL_LH_NODE *) * j);
crypto/openssl/crypto/lhash/lhash.c
254
if (n == NULL) {
crypto/openssl/crypto/lhash/lhash.c
258
lh->b = n;
crypto/openssl/crypto/lhash/lhash.c
259
memset(n + nni, 0, sizeof(*n) * (j - nni));
crypto/openssl/crypto/lhash/lhash.c
288
OPENSSL_LH_NODE **n, *n1, *np;
crypto/openssl/crypto/lhash/lhash.c
293
n = OPENSSL_realloc(lh->b,
crypto/openssl/crypto/lhash/lhash.c
295
if (n == NULL) {
crypto/openssl/crypto/lhash/lhash.c
299
lh->b = n;
crypto/openssl/crypto/lhash/lhash.c
363
long n;
crypto/openssl/crypto/lhash/lhash.c
370
n = 0x100;
crypto/openssl/crypto/lhash/lhash.c
372
v = n | (*c);
crypto/openssl/crypto/lhash/lhash.c
373
n += 0x100;
crypto/openssl/crypto/lhash/lhash.c
401
long n;
crypto/openssl/crypto/lhash/lhash.c
413
for (n = 0x100; *c != '\0'; n += 0x100) {
crypto/openssl/crypto/lhash/lhash.c
414
v = n | (case_adjust & *c);
crypto/openssl/crypto/lhash/lhash.c
99
OPENSSL_LH_NODE *n, *nn;
crypto/openssl/crypto/md2/md2_one.c
25
unsigned char *MD2(const unsigned char *d, size_t n, unsigned char *md)
crypto/openssl/crypto/md2/md2_one.c
35
MD2_Update(&c, d, n);
crypto/openssl/crypto/md2/md2_one.c
41
while (n > 0) {
crypto/openssl/crypto/md2/md2_one.c
42
chunk = (n > sizeof(temp)) ? sizeof(temp) : n;
crypto/openssl/crypto/md2/md2_one.c
45
n -= chunk;
crypto/openssl/crypto/md4/md4_one.c
25
unsigned char *MD4(const unsigned char *d, size_t n, unsigned char *md)
crypto/openssl/crypto/md4/md4_one.c
35
MD4_Update(&c, d, n);
crypto/openssl/crypto/md4/md4_one.c
41
while (n > 0) {
crypto/openssl/crypto/md4/md4_one.c
42
chunk = (n > sizeof(temp)) ? sizeof(temp) : n;
crypto/openssl/crypto/md4/md4_one.c
45
n -= chunk;
crypto/openssl/crypto/md5/md5_one.c
25
unsigned char *MD5(const unsigned char *d, size_t n, unsigned char *md)
crypto/openssl/crypto/md5/md5_one.c
35
MD5_Update(&c, d, n);
crypto/openssl/crypto/md5/md5_one.c
41
while (n > 0) {
crypto/openssl/crypto/md5/md5_one.c
42
chunk = (n > sizeof(temp)) ? sizeof(temp) : n;
crypto/openssl/crypto/md5/md5_one.c
45
n -= chunk;
crypto/openssl/crypto/mdc2/mdc2_one.c
20
unsigned char *MDC2(const unsigned char *d, size_t n, unsigned char *md)
crypto/openssl/crypto/mdc2/mdc2_one.c
29
MDC2_Update(&c, d, n);
crypto/openssl/crypto/ml_dsa/ml_dsa_sample.c
26
#define MOD5(n) ((n) - 5 * (0x3335 * (n) >> 16))
crypto/openssl/crypto/ml_kem/ml_kem.c
35
#define bitn(n, b) (((b) >> n) & 1)
crypto/openssl/crypto/modes/cbc128.c
107
for (n = 0; n < 16 / sizeof(size_t); n++)
crypto/openssl/crypto/modes/cbc128.c
108
out_t[n] ^= iv_t[n];
crypto/openssl/crypto/modes/cbc128.c
122
for (n = 0; n < 16; ++n) {
crypto/openssl/crypto/modes/cbc128.c
123
c = in[n];
crypto/openssl/crypto/modes/cbc128.c
124
out[n] = tmp.c[n] ^ ivec[n];
crypto/openssl/crypto/modes/cbc128.c
125
ivec[n] = c;
crypto/openssl/crypto/modes/cbc128.c
139
for (n = 0; n < 16 / sizeof(size_t); n++) {
crypto/openssl/crypto/modes/cbc128.c
140
c = in_t[n];
crypto/openssl/crypto/modes/cbc128.c
141
out_t[n] = tmp.t[n] ^ ivec_t[n];
crypto/openssl/crypto/modes/cbc128.c
142
ivec_t[n] = c;
crypto/openssl/crypto/modes/cbc128.c
154
for (n = 0; n < 16 && n < len; ++n) {
crypto/openssl/crypto/modes/cbc128.c
155
c = in[n];
crypto/openssl/crypto/modes/cbc128.c
156
out[n] = tmp.c[n] ^ ivec[n];
crypto/openssl/crypto/modes/cbc128.c
157
ivec[n] = c;
crypto/openssl/crypto/modes/cbc128.c
160
for (; n < 16; ++n)
crypto/openssl/crypto/modes/cbc128.c
161
ivec[n] = in[n];
crypto/openssl/crypto/modes/cbc128.c
28
size_t n;
crypto/openssl/crypto/modes/cbc128.c
37
for (n = 0; n < 16; ++n)
crypto/openssl/crypto/modes/cbc128.c
38
out[n] = in[n] ^ iv[n];
crypto/openssl/crypto/modes/cbc128.c
47
for (n = 0; n < 16; n += sizeof(size_t))
crypto/openssl/crypto/modes/cbc128.c
48
*(size_t_aX *)(out + n) = *(size_t_aX *)(in + n) ^ *(size_t_aX *)(iv + n);
crypto/openssl/crypto/modes/cbc128.c
58
for (n = 0; n < 16 && n < len; ++n)
crypto/openssl/crypto/modes/cbc128.c
59
out[n] = in[n] ^ iv[n];
crypto/openssl/crypto/modes/cbc128.c
60
for (; n < 16; ++n)
crypto/openssl/crypto/modes/cbc128.c
61
out[n] = iv[n];
crypto/openssl/crypto/modes/cbc128.c
78
size_t n;
crypto/openssl/crypto/modes/cbc128.c
94
for (n = 0; n < 16; ++n)
crypto/openssl/crypto/modes/cbc128.c
95
out[n] ^= iv[n];
crypto/openssl/crypto/modes/ccm128.c
123
unsigned int n = 8;
crypto/openssl/crypto/modes/ccm128.c
128
--n;
crypto/openssl/crypto/modes/ccm128.c
129
c = counter[n];
crypto/openssl/crypto/modes/ccm128.c
131
counter[n] = c;
crypto/openssl/crypto/modes/ccm128.c
134
} while (n);
crypto/openssl/crypto/modes/ccm128.c
141
size_t n;
crypto/openssl/crypto/modes/ccm128.c
155
for (n = 0, i = 15 - L; i < 15; ++i) {
crypto/openssl/crypto/modes/ccm128.c
156
n |= ctx->nonce.c[i];
crypto/openssl/crypto/modes/ccm128.c
158
n <<= 8;
crypto/openssl/crypto/modes/ccm128.c
160
n |= ctx->nonce.c[15]; /* reconstructed length */
crypto/openssl/crypto/modes/ccm128.c
163
if (n != len)
crypto/openssl/crypto/modes/ccm128.c
225
size_t n;
crypto/openssl/crypto/modes/ccm128.c
239
for (n = 0, i = 15 - L; i < 15; ++i) {
crypto/openssl/crypto/modes/ccm128.c
240
n |= ctx->nonce.c[i];
crypto/openssl/crypto/modes/ccm128.c
242
n <<= 8;
crypto/openssl/crypto/modes/ccm128.c
244
n |= ctx->nonce.c[15]; /* reconstructed length */
crypto/openssl/crypto/modes/ccm128.c
247
if (n != len)
crypto/openssl/crypto/modes/ccm128.c
298
size_t n = 8, val = 0;
crypto/openssl/crypto/modes/ccm128.c
302
--n;
crypto/openssl/crypto/modes/ccm128.c
303
val += counter[n] + (inc & 0xff);
crypto/openssl/crypto/modes/ccm128.c
304
counter[n] = (unsigned char)val;
crypto/openssl/crypto/modes/ccm128.c
307
} while (n && (inc || val));
crypto/openssl/crypto/modes/ccm128.c
314
size_t n;
crypto/openssl/crypto/modes/ccm128.c
328
for (n = 0, i = 15 - L; i < 15; ++i) {
crypto/openssl/crypto/modes/ccm128.c
329
n |= ctx->nonce.c[i];
crypto/openssl/crypto/modes/ccm128.c
331
n <<= 8;
crypto/openssl/crypto/modes/ccm128.c
333
n |= ctx->nonce.c[15]; /* reconstructed length */
crypto/openssl/crypto/modes/ccm128.c
336
if (n != len)
crypto/openssl/crypto/modes/ccm128.c
343
if ((n = len / 16)) {
crypto/openssl/crypto/modes/ccm128.c
344
(*stream)(inp, out, n, key, ctx->nonce.c, ctx->cmac.c);
crypto/openssl/crypto/modes/ccm128.c
345
n *= 16;
crypto/openssl/crypto/modes/ccm128.c
346
inp += n;
crypto/openssl/crypto/modes/ccm128.c
347
out += n;
crypto/openssl/crypto/modes/ccm128.c
348
len -= n;
crypto/openssl/crypto/modes/ccm128.c
350
ctr64_add(ctx->nonce.c, n / 16);
crypto/openssl/crypto/modes/ccm128.c
378
size_t n;
crypto/openssl/crypto/modes/ccm128.c
392
for (n = 0, i = 15 - L; i < 15; ++i) {
crypto/openssl/crypto/modes/ccm128.c
393
n |= ctx->nonce.c[i];
crypto/openssl/crypto/modes/ccm128.c
395
n <<= 8;
crypto/openssl/crypto/modes/ccm128.c
397
n |= ctx->nonce.c[15]; /* reconstructed length */
crypto/openssl/crypto/modes/ccm128.c
400
if (n != len)
crypto/openssl/crypto/modes/ccm128.c
403
if ((n = len / 16)) {
crypto/openssl/crypto/modes/ccm128.c
404
(*stream)(inp, out, n, key, ctx->nonce.c, ctx->cmac.c);
crypto/openssl/crypto/modes/ccm128.c
405
n *= 16;
crypto/openssl/crypto/modes/ccm128.c
406
inp += n;
crypto/openssl/crypto/modes/ccm128.c
407
out += n;
crypto/openssl/crypto/modes/ccm128.c
408
len -= n;
crypto/openssl/crypto/modes/ccm128.c
410
ctr64_add(ctx->nonce.c, n / 16);
crypto/openssl/crypto/modes/cfb128.c
103
for (; n < 16; n += sizeof(size_t)) {
crypto/openssl/crypto/modes/cfb128.c
104
size_t t = *(size_t_aX *)(in + n);
crypto/openssl/crypto/modes/cfb128.c
105
*(size_t_aX *)(out + n)
crypto/openssl/crypto/modes/cfb128.c
106
= *(size_t_aX *)(ivec + n) ^ t;
crypto/openssl/crypto/modes/cfb128.c
107
*(size_t_aX *)(ivec + n) = t;
crypto/openssl/crypto/modes/cfb128.c
112
n = 0;
crypto/openssl/crypto/modes/cfb128.c
118
out[n] = ivec[n] ^ (c = in[n]);
crypto/openssl/crypto/modes/cfb128.c
119
ivec[n] = c;
crypto/openssl/crypto/modes/cfb128.c
120
++n;
crypto/openssl/crypto/modes/cfb128.c
123
*num = n;
crypto/openssl/crypto/modes/cfb128.c
131
if (n == 0) {
crypto/openssl/crypto/modes/cfb128.c
134
out[l] = ivec[n] ^ (c = in[l]);
crypto/openssl/crypto/modes/cfb128.c
135
ivec[n] = c;
crypto/openssl/crypto/modes/cfb128.c
137
n = (n + 1) % 16;
crypto/openssl/crypto/modes/cfb128.c
139
*num = n;
crypto/openssl/crypto/modes/cfb128.c
152
int n, rem, num;
crypto/openssl/crypto/modes/cfb128.c
165
for (n = 0; n < num; ++n)
crypto/openssl/crypto/modes/cfb128.c
166
out[n] = (ovec[16 + n] = in[n] ^ ivec[n]);
crypto/openssl/crypto/modes/cfb128.c
168
for (n = 0; n < num; ++n)
crypto/openssl/crypto/modes/cfb128.c
169
out[n] = (ovec[16 + n] = in[n]) ^ ivec[n];
crypto/openssl/crypto/modes/cfb128.c
176
for (n = 0; n < 16; ++n)
crypto/openssl/crypto/modes/cfb128.c
177
ivec[n] = ovec[n + num] << rem | ovec[n + num + 1] >> (8 - rem);
crypto/openssl/crypto/modes/cfb128.c
188
size_t n;
crypto/openssl/crypto/modes/cfb128.c
191
for (n = 0; n < bits; ++n) {
crypto/openssl/crypto/modes/cfb128.c
192
c[0] = (in[n / 8] & (1 << (7 - n % 8))) ? 0x80 : 0;
crypto/openssl/crypto/modes/cfb128.c
194
out[n / 8] = (out[n / 8] & ~(1 << (unsigned int)(7 - n % 8))) | ((d[0] & 0x80) >> (unsigned int)(n % 8));
crypto/openssl/crypto/modes/cfb128.c
203
size_t n;
crypto/openssl/crypto/modes/cfb128.c
205
for (n = 0; n < length; ++n)
crypto/openssl/crypto/modes/cfb128.c
206
cfbr_encrypt_block(&in[n], &out[n], 8, key, ivec, enc, block);
crypto/openssl/crypto/modes/cfb128.c
30
unsigned int n;
crypto/openssl/crypto/modes/cfb128.c
38
n = *num;
crypto/openssl/crypto/modes/cfb128.c
44
while (n && len) {
crypto/openssl/crypto/modes/cfb128.c
45
*(out++) = ivec[n] ^= *(in++);
crypto/openssl/crypto/modes/cfb128.c
47
n = (n + 1) % 16;
crypto/openssl/crypto/modes/cfb128.c
55
for (; n < 16; n += sizeof(size_t)) {
crypto/openssl/crypto/modes/cfb128.c
56
*(size_t_aX *)(out + n) = *(size_t_aX *)(ivec + n)
crypto/openssl/crypto/modes/cfb128.c
57
^= *(size_t_aX *)(in + n);
crypto/openssl/crypto/modes/cfb128.c
62
n = 0;
crypto/openssl/crypto/modes/cfb128.c
67
out[n] = ivec[n] ^= in[n];
crypto/openssl/crypto/modes/cfb128.c
68
++n;
crypto/openssl/crypto/modes/cfb128.c
71
*num = n;
crypto/openssl/crypto/modes/cfb128.c
78
if (n == 0) {
crypto/openssl/crypto/modes/cfb128.c
81
out[l] = ivec[n] ^= in[l];
crypto/openssl/crypto/modes/cfb128.c
83
n = (n + 1) % 16;
crypto/openssl/crypto/modes/cfb128.c
85
*num = n;
crypto/openssl/crypto/modes/cfb128.c
90
while (n && len) {
crypto/openssl/crypto/modes/cfb128.c
92
*(out++) = ivec[n] ^ (c = *(in++));
crypto/openssl/crypto/modes/cfb128.c
93
ivec[n] = c;
crypto/openssl/crypto/modes/cfb128.c
95
n = (n + 1) % 16;
crypto/openssl/crypto/modes/ctr128.c
102
for (n = 0; n < 16; n += sizeof(size_t))
crypto/openssl/crypto/modes/ctr128.c
103
*(size_t_aX *)(out + n) = *(size_t_aX *)(in + n)
crypto/openssl/crypto/modes/ctr128.c
104
^ *(size_t_aX *)(ecount_buf + n);
crypto/openssl/crypto/modes/ctr128.c
108
n = 0;
crypto/openssl/crypto/modes/ctr128.c
114
out[n] = in[n] ^ ecount_buf[n];
crypto/openssl/crypto/modes/ctr128.c
115
++n;
crypto/openssl/crypto/modes/ctr128.c
118
*num = n;
crypto/openssl/crypto/modes/ctr128.c
125
if (n == 0) {
crypto/openssl/crypto/modes/ctr128.c
129
out[l] = in[l] ^ ecount_buf[n];
crypto/openssl/crypto/modes/ctr128.c
131
n = (n + 1) % 16;
crypto/openssl/crypto/modes/ctr128.c
134
*num = n;
crypto/openssl/crypto/modes/ctr128.c
140
u32 n = 12, c = 1;
crypto/openssl/crypto/modes/ctr128.c
143
--n;
crypto/openssl/crypto/modes/ctr128.c
144
c += counter[n];
crypto/openssl/crypto/modes/ctr128.c
145
counter[n] = (u8)c;
crypto/openssl/crypto/modes/ctr128.c
147
} while (n);
crypto/openssl/crypto/modes/ctr128.c
156
unsigned int n, ctr32;
crypto/openssl/crypto/modes/ctr128.c
158
n = *num;
crypto/openssl/crypto/modes/ctr128.c
160
while (n && len) {
crypto/openssl/crypto/modes/ctr128.c
161
*(out++) = *(in++) ^ ecount_buf[n];
crypto/openssl/crypto/modes/ctr128.c
163
n = (n + 1) % 16;
crypto/openssl/crypto/modes/ctr128.c
206
out[n] = in[n] ^ ecount_buf[n];
crypto/openssl/crypto/modes/ctr128.c
207
++n;
crypto/openssl/crypto/modes/ctr128.c
211
*num = n;
crypto/openssl/crypto/modes/ctr128.c
29
u32 n = 16, c = 1;
crypto/openssl/crypto/modes/ctr128.c
32
--n;
crypto/openssl/crypto/modes/ctr128.c
33
c += counter[n];
crypto/openssl/crypto/modes/ctr128.c
34
counter[n] = (u8)c;
crypto/openssl/crypto/modes/ctr128.c
36
} while (n);
crypto/openssl/crypto/modes/ctr128.c
42
size_t *data, c, d, n;
crypto/openssl/crypto/modes/ctr128.c
52
n = 16 / sizeof(size_t);
crypto/openssl/crypto/modes/ctr128.c
54
--n;
crypto/openssl/crypto/modes/ctr128.c
55
d = data[n] += c;
crypto/openssl/crypto/modes/ctr128.c
58
} while (n);
crypto/openssl/crypto/modes/ctr128.c
79
unsigned int n;
crypto/openssl/crypto/modes/ctr128.c
82
n = *num;
crypto/openssl/crypto/modes/ctr128.c
87
while (n && len) {
crypto/openssl/crypto/modes/ctr128.c
88
*(out++) = *(in++) ^ ecount_buf[n];
crypto/openssl/crypto/modes/ctr128.c
90
n = (n + 1) % 16;
crypto/openssl/crypto/modes/cts128.c
163
size_t residue, n;
crypto/openssl/crypto/modes/cts128.c
189
for (n = 0; n < 16; ++n) {
crypto/openssl/crypto/modes/cts128.c
190
unsigned char c = in[n];
crypto/openssl/crypto/modes/cts128.c
191
out[n] = tmp.c[n] ^ ivec[n];
crypto/openssl/crypto/modes/cts128.c
192
ivec[n] = c;
crypto/openssl/crypto/modes/cts128.c
194
for (residue += 16; n < residue; ++n)
crypto/openssl/crypto/modes/cts128.c
195
out[n] = tmp.c[n] ^ in[n];
crypto/openssl/crypto/modes/cts128.c
206
size_t residue, n;
crypto/openssl/crypto/modes/cts128.c
236
for (n = 0; n < 16; ++n) {
crypto/openssl/crypto/modes/cts128.c
237
unsigned char c = in[n];
crypto/openssl/crypto/modes/cts128.c
238
out[n] = tmp.c[n] ^ ivec[n];
crypto/openssl/crypto/modes/cts128.c
239
ivec[n] = in[n + residue];
crypto/openssl/crypto/modes/cts128.c
240
tmp.c[n] = c;
crypto/openssl/crypto/modes/cts128.c
242
for (residue += 16; n < residue; ++n)
crypto/openssl/crypto/modes/cts128.c
243
out[n] = tmp.c[n] ^ tmp.c[n - 16];
crypto/openssl/crypto/modes/cts128.c
32
size_t residue, n;
crypto/openssl/crypto/modes/cts128.c
47
for (n = 0; n < residue; ++n)
crypto/openssl/crypto/modes/cts128.c
48
ivec[n] ^= in[n];
crypto/openssl/crypto/modes/cts128.c
62
size_t residue, n;
crypto/openssl/crypto/modes/cts128.c
79
for (n = 0; n < residue; ++n)
crypto/openssl/crypto/modes/cts128.c
80
ivec[n] ^= in[n];
crypto/openssl/crypto/modes/gcm128.c
1000
unsigned int n, ctr, mres;
crypto/openssl/crypto/modes/gcm128.c
1040
n = mres % 16;
crypto/openssl/crypto/modes/gcm128.c
1044
if (n) {
crypto/openssl/crypto/modes/gcm128.c
1046
while (n && len) {
crypto/openssl/crypto/modes/gcm128.c
1047
*(out++) = (ctx->Xn[mres++] = *(in++)) ^ ctx->EKi.c[n];
crypto/openssl/crypto/modes/gcm128.c
1049
n = (n + 1) % 16;
crypto/openssl/crypto/modes/gcm128.c
1051
if (n == 0) {
crypto/openssl/crypto/modes/gcm128.c
1059
while (n && len) {
crypto/openssl/crypto/modes/gcm128.c
1061
*(out++) = c ^ ctx->EKi.c[n];
crypto/openssl/crypto/modes/gcm128.c
1062
ctx->Xi.c[n] ^= c;
crypto/openssl/crypto/modes/gcm128.c
1064
n = (n + 1) % 16;
crypto/openssl/crypto/modes/gcm128.c
1066
if (n == 0) {
crypto/openssl/crypto/modes/gcm128.c
1070
ctx->mres = n;
crypto/openssl/crypto/modes/gcm128.c
1174
out[n] = (ctx->Xn[mres++] = in[n]) ^ ctx->EKi.c[n];
crypto/openssl/crypto/modes/gcm128.c
1175
++n;
crypto/openssl/crypto/modes/gcm128.c
1179
u8 c = in[n];
crypto/openssl/crypto/modes/gcm128.c
1180
ctx->Xi.c[n] ^= c;
crypto/openssl/crypto/modes/gcm128.c
1181
out[n] = c ^ ctx->EKi.c[n];
crypto/openssl/crypto/modes/gcm128.c
1182
++n;
crypto/openssl/crypto/modes/gcm128.c
1184
mres = n;
crypto/openssl/crypto/modes/gcm128.c
1195
if (n == 0) {
crypto/openssl/crypto/modes/gcm128.c
1208
out[i] = (ctx->Xn[mres++] = c = in[i]) ^ ctx->EKi.c[n];
crypto/openssl/crypto/modes/gcm128.c
1209
n = (n + 1) % 16;
crypto/openssl/crypto/modes/gcm128.c
1216
out[i] = c ^ ctx->EKi.c[n];
crypto/openssl/crypto/modes/gcm128.c
1217
ctx->Xi.c[n] ^= c;
crypto/openssl/crypto/modes/gcm128.c
1218
mres = n = (n + 1) % 16;
crypto/openssl/crypto/modes/gcm128.c
1219
if (n == 0)
crypto/openssl/crypto/modes/gcm128.c
1236
unsigned int n, ctr, mres;
crypto/openssl/crypto/modes/gcm128.c
1275
n = mres % 16;
crypto/openssl/crypto/modes/gcm128.c
1276
if (n) {
crypto/openssl/crypto/modes/gcm128.c
1278
while (n && len) {
crypto/openssl/crypto/modes/gcm128.c
1279
ctx->Xn[mres++] = *(out++) = *(in++) ^ ctx->EKi.c[n];
crypto/openssl/crypto/modes/gcm128.c
1281
n = (n + 1) % 16;
crypto/openssl/crypto/modes/gcm128.c
1283
if (n == 0) {
crypto/openssl/crypto/modes/gcm128.c
1291
while (n && len) {
crypto/openssl/crypto/modes/gcm128.c
1292
ctx->Xi.c[n] ^= *(out++) = *(in++) ^ ctx->EKi.c[n];
crypto/openssl/crypto/modes/gcm128.c
1294
n = (n + 1) % 16;
crypto/openssl/crypto/modes/gcm128.c
1296
if (n == 0) {
crypto/openssl/crypto/modes/gcm128.c
1300
ctx->mres = n;
crypto/openssl/crypto/modes/gcm128.c
1369
ctx->Xn[mres++] = out[n] = in[n] ^ ctx->EKi.c[n];
crypto/openssl/crypto/modes/gcm128.c
1371
ctx->Xi.c[mres++] ^= out[n] = in[n] ^ ctx->EKi.c[n];
crypto/openssl/crypto/modes/gcm128.c
1373
++n;
crypto/openssl/crypto/modes/gcm128.c
1390
unsigned int n, ctr, mres;
crypto/openssl/crypto/modes/gcm128.c
1429
n = mres % 16;
crypto/openssl/crypto/modes/gcm128.c
1430
if (n) {
crypto/openssl/crypto/modes/gcm128.c
1432
while (n && len) {
crypto/openssl/crypto/modes/gcm128.c
1433
*(out++) = (ctx->Xn[mres++] = *(in++)) ^ ctx->EKi.c[n];
crypto/openssl/crypto/modes/gcm128.c
1435
n = (n + 1) % 16;
crypto/openssl/crypto/modes/gcm128.c
1437
if (n == 0) {
crypto/openssl/crypto/modes/gcm128.c
1445
while (n && len) {
crypto/openssl/crypto/modes/gcm128.c
1447
*(out++) = c ^ ctx->EKi.c[n];
crypto/openssl/crypto/modes/gcm128.c
1448
ctx->Xi.c[n] ^= c;
crypto/openssl/crypto/modes/gcm128.c
1450
n = (n + 1) % 16;
crypto/openssl/crypto/modes/gcm128.c
1452
if (n == 0) {
crypto/openssl/crypto/modes/gcm128.c
1456
ctx->mres = n;
crypto/openssl/crypto/modes/gcm128.c
1528
out[n] = (ctx->Xn[mres++] = in[n]) ^ ctx->EKi.c[n];
crypto/openssl/crypto/modes/gcm128.c
1530
u8 c = in[n];
crypto/openssl/crypto/modes/gcm128.c
1532
out[n] = c ^ ctx->EKi.c[n];
crypto/openssl/crypto/modes/gcm128.c
1534
++n;
crypto/openssl/crypto/modes/gcm128.c
720
unsigned int n;
crypto/openssl/crypto/modes/gcm128.c
731
n = ctx->ares;
crypto/openssl/crypto/modes/gcm128.c
732
if (n) {
crypto/openssl/crypto/modes/gcm128.c
733
while (n && len) {
crypto/openssl/crypto/modes/gcm128.c
734
ctx->Xi.c[n] ^= *(aad++);
crypto/openssl/crypto/modes/gcm128.c
736
n = (n + 1) % 16;
crypto/openssl/crypto/modes/gcm128.c
738
if (n == 0)
crypto/openssl/crypto/modes/gcm128.c
741
ctx->ares = n;
crypto/openssl/crypto/modes/gcm128.c
761
n = (unsigned int)len;
crypto/openssl/crypto/modes/gcm128.c
766
ctx->ares = n;
crypto/openssl/crypto/modes/gcm128.c
775
unsigned int n, ctr, mres;
crypto/openssl/crypto/modes/gcm128.c
815
n = mres % 16;
crypto/openssl/crypto/modes/gcm128.c
819
if (n) {
crypto/openssl/crypto/modes/gcm128.c
821
while (n && len) {
crypto/openssl/crypto/modes/gcm128.c
822
ctx->Xn[mres++] = *(out++) = *(in++) ^ ctx->EKi.c[n];
crypto/openssl/crypto/modes/gcm128.c
824
n = (n + 1) % 16;
crypto/openssl/crypto/modes/gcm128.c
826
if (n == 0) {
crypto/openssl/crypto/modes/gcm128.c
834
while (n && len) {
crypto/openssl/crypto/modes/gcm128.c
835
ctx->Xi.c[n] ^= *(out++) = *(in++) ^ ctx->EKi.c[n];
crypto/openssl/crypto/modes/gcm128.c
837
n = (n + 1) % 16;
crypto/openssl/crypto/modes/gcm128.c
839
if (n == 0) {
crypto/openssl/crypto/modes/gcm128.c
843
ctx->mres = n;
crypto/openssl/crypto/modes/gcm128.c
946
ctx->Xn[mres++] = out[n] = in[n] ^ ctx->EKi.c[n];
crypto/openssl/crypto/modes/gcm128.c
947
++n;
crypto/openssl/crypto/modes/gcm128.c
951
ctx->Xi.c[n] ^= out[n] = in[n] ^ ctx->EKi.c[n];
crypto/openssl/crypto/modes/gcm128.c
952
++n;
crypto/openssl/crypto/modes/gcm128.c
954
mres = n;
crypto/openssl/crypto/modes/gcm128.c
964
if (n == 0) {
crypto/openssl/crypto/modes/gcm128.c
977
ctx->Xn[mres++] = out[i] = in[i] ^ ctx->EKi.c[n];
crypto/openssl/crypto/modes/gcm128.c
978
n = (n + 1) % 16;
crypto/openssl/crypto/modes/gcm128.c
984
ctx->Xi.c[n] ^= out[i] = in[i] ^ ctx->EKi.c[n];
crypto/openssl/crypto/modes/gcm128.c
985
mres = n = (n + 1) % 16;
crypto/openssl/crypto/modes/gcm128.c
986
if (n == 0)
crypto/openssl/crypto/modes/ocb128.c
20
static u32 ocb_ntz(u64 n)
crypto/openssl/crypto/modes/ocb128.c
32
while (!(n & 1)) {
crypto/openssl/crypto/modes/ocb128.c
33
n >>= 1;
crypto/openssl/crypto/modes/ofb128.c
29
unsigned int n;
crypto/openssl/crypto/modes/ofb128.c
37
n = *num;
crypto/openssl/crypto/modes/ofb128.c
42
while (n && len) {
crypto/openssl/crypto/modes/ofb128.c
43
*(out++) = *(in++) ^ ivec[n];
crypto/openssl/crypto/modes/ofb128.c
45
n = (n + 1) % 16;
crypto/openssl/crypto/modes/ofb128.c
53
for (; n < 16; n += sizeof(size_t))
crypto/openssl/crypto/modes/ofb128.c
54
*(size_t_aX *)(out + n) = *(size_t_aX *)(in + n)
crypto/openssl/crypto/modes/ofb128.c
55
^ *(size_t_aX *)(ivec + n);
crypto/openssl/crypto/modes/ofb128.c
59
n = 0;
crypto/openssl/crypto/modes/ofb128.c
64
out[n] = in[n] ^ ivec[n];
crypto/openssl/crypto/modes/ofb128.c
65
++n;
crypto/openssl/crypto/modes/ofb128.c
68
*num = n;
crypto/openssl/crypto/modes/ofb128.c
75
if (n == 0) {
crypto/openssl/crypto/modes/ofb128.c
78
out[l] = in[l] ^ ivec[n];
crypto/openssl/crypto/modes/ofb128.c
80
n = (n + 1) % 16;
crypto/openssl/crypto/modes/ofb128.c
83
*num = n;
crypto/openssl/crypto/modes/wrap128.c
259
size_t n = inlen / 8 - 1;
crypto/openssl/crypto/modes/wrap128.c
316
if (8 * (n - 1) >= ptext_len || ptext_len > 8 * n) {
crypto/openssl/crypto/o_str.c
430
int OPENSSL_strncasecmp(const char *s1, const char *s2, size_t n)
crypto/openssl/crypto/o_str.c
435
for (i = 0; i < n; i++)
crypto/openssl/crypto/o_str.c
443
size_t ossl_to_hex(char *buf, uint8_t n)
crypto/openssl/crypto/o_str.c
447
return to_hex(buf, n, hexdig);
crypto/openssl/crypto/o_time.c
185
long n = (4 * L) / 146097;
crypto/openssl/crypto/o_time.c
188
L = L - (146097 * n + 3) / 4;
crypto/openssl/crypto/o_time.c
195
*y = 100 * (n - 49) + i + L;
crypto/openssl/crypto/objects/o_names.c
308
int n;
crypto/openssl/crypto/objects/o_names.c
319
d->names[d->n++] = name;
crypto/openssl/crypto/objects/o_names.c
335
int n;
crypto/openssl/crypto/objects/o_names.c
341
d.n = 0;
crypto/openssl/crypto/objects/o_names.c
344
qsort((void *)d.names, d.n, sizeof(*d.names), do_all_sorted_cmp);
crypto/openssl/crypto/objects/o_names.c
346
for (n = 0; n < d.n; ++n)
crypto/openssl/crypto/objects/o_names.c
347
fn(d.names[n], arg);
crypto/openssl/crypto/objects/obj_dat.c
327
ASN1_OBJECT *OBJ_nid2obj(int n)
crypto/openssl/crypto/objects/obj_dat.c
332
if (n == NID_undef
crypto/openssl/crypto/objects/obj_dat.c
333
|| (n > 0 && n < NUM_NID && nid_objs[n].nid != NID_undef))
crypto/openssl/crypto/objects/obj_dat.c
334
return (ASN1_OBJECT *)&(nid_objs[n]);
crypto/openssl/crypto/objects/obj_dat.c
338
ob.nid = n;
crypto/openssl/crypto/objects/obj_dat.c
353
const char *OBJ_nid2sn(int n)
crypto/openssl/crypto/objects/obj_dat.c
355
ASN1_OBJECT *ob = OBJ_nid2obj(n);
crypto/openssl/crypto/objects/obj_dat.c
360
const char *OBJ_nid2ln(int n)
crypto/openssl/crypto/objects/obj_dat.c
362
ASN1_OBJECT *ob = OBJ_nid2obj(n);
crypto/openssl/crypto/objects/obj_dat.c
467
int i, n = 0, len, nid, first, use_bn;
crypto/openssl/crypto/objects/obj_dat.c
568
n++;
crypto/openssl/crypto/objects/obj_dat.c
592
n++;
crypto/openssl/crypto/objects/obj_dat.c
593
n += i;
crypto/openssl/crypto/objects/obj_dat.c
608
n += i;
crypto/openssl/crypto/objects/obj_dat.c
614
return n;
crypto/openssl/crypto/ocsp/ocsp_ext.c
353
X509_EXTENSION *OCSP_crlID_new(const char *url, long *n, char *tim)
crypto/openssl/crypto/ocsp/ocsp_ext.c
366
if (n) {
crypto/openssl/crypto/ocsp/ocsp_ext.c
369
if (!(ASN1_INTEGER_set(cid->crlNum, *n)))
crypto/openssl/crypto/param_build.c
107
int i, n = sk_OSSL_PARAM_BLD_DEF_num(bld->params);
crypto/openssl/crypto/param_build.c
109
for (i = 0; i < n; i++)
crypto/openssl/crypto/param_build.c
251
int n, secure = 0;
crypto/openssl/crypto/param_build.c
270
n = BN_num_bytes(bn);
crypto/openssl/crypto/param_build.c
271
if (n < 0) {
crypto/openssl/crypto/param_build.c
275
if (sz < (size_t)n) {
crypto/openssl/crypto/params.c
102
static int check_sign_bytes(const unsigned char *p, size_t n, unsigned char s)
crypto/openssl/crypto/params.c
106
for (i = 0; i < n; i++)
crypto/openssl/crypto/params.c
121
size_t n;
crypto/openssl/crypto/params.c
126
n = dest_len - src_len;
crypto/openssl/crypto/params.c
127
memset(dest, pad, n);
crypto/openssl/crypto/params.c
128
memcpy(dest + n, src, src_len);
crypto/openssl/crypto/params.c
130
n = src_len - dest_len;
crypto/openssl/crypto/params.c
131
if (!check_sign_bytes(src, n, pad)
crypto/openssl/crypto/params.c
136
|| (signed_int && ((pad ^ src[n]) & 0x80) != 0)) {
crypto/openssl/crypto/params.c
140
memcpy(dest, src + n, dest_len);
crypto/openssl/crypto/params.c
144
n = dest_len - src_len;
crypto/openssl/crypto/params.c
145
memset(dest + src_len, pad, n);
crypto/openssl/crypto/params.c
148
n = src_len - dest_len;
crypto/openssl/crypto/params.c
149
if (!check_sign_bytes(src + dest_len, n, pad)
crypto/openssl/crypto/params.c
95
const unsigned char *n = number;
crypto/openssl/crypto/params.c
98
return 0x80 & (IS_BIG_ENDIAN ? n[0] : n[s - 1]);
crypto/openssl/crypto/pem/pem_lib.c
100
j -= n;
crypto/openssl/crypto/pem/pem_lib.c
101
p += n;
crypto/openssl/crypto/pem/pem_lib.c
636
int nlen, n, i, j, outl;
crypto/openssl/crypto/pem/pem_lib.c
669
n = (int)((len > (PEM_BUFSIZE * 5)) ? (PEM_BUFSIZE * 5) : len);
crypto/openssl/crypto/pem/pem_lib.c
670
if (!EVP_EncodeUpdate(ctx, buf, &outl, &(data[j]), n)) {
crypto/openssl/crypto/pem/pem_lib.c
679
len -= n;
crypto/openssl/crypto/pem/pem_lib.c
680
j += n;
crypto/openssl/crypto/pem/pem_lib.c
90
int j = PEM_BUFSIZE - (size_t)(p - buf), n;
crypto/openssl/crypto/pem/pem_lib.c
92
n = BIO_snprintf(p, j, "DEK-Info: %s,", type);
crypto/openssl/crypto/pem/pem_lib.c
93
if (n > 0) {
crypto/openssl/crypto/pem/pem_lib.c
94
j -= n;
crypto/openssl/crypto/pem/pem_lib.c
95
p += n;
crypto/openssl/crypto/pem/pem_lib.c
97
n = BIO_snprintf(p, j, "%02X", 0xff & str[i]);
crypto/openssl/crypto/pem/pem_lib.c
98
if (n <= 0)
crypto/openssl/crypto/pem/pvkfmt.c
452
BIGNUM *e = NULL, *n = NULL, *d = NULL;
crypto/openssl/crypto/pem/pvkfmt.c
466
if (!read_lebn(&pin, nbyte, &n))
crypto/openssl/crypto/pem/pvkfmt.c
488
if (!RSA_set0_key(rsa, n, e, d))
crypto/openssl/crypto/pem/pvkfmt.c
490
n = e = d = NULL;
crypto/openssl/crypto/pem/pvkfmt.c
503
BN_free(n);
crypto/openssl/crypto/pem/pvkfmt.c
679
const BIGNUM *n, *d, *e, *p, *q, *iqmp, *dmp1, *dmq1;
crypto/openssl/crypto/pem/pvkfmt.c
683
RSA_get0_key(rsa, &n, &e, &d);
crypto/openssl/crypto/pem/pvkfmt.c
685
write_lebn(out, n, nbyte);
crypto/openssl/crypto/pkcs12/p12_key.c
123
if (EVP_KDF_derive(ctx, out, (size_t)n, params)) {
crypto/openssl/crypto/pkcs12/p12_key.c
127
BIO_printf(trc_out, "Output KEY (length %d)\n", n);
crypto/openssl/crypto/pkcs12/p12_key.c
128
BIO_hex_string(trc_out, 0, n, out, n);
crypto/openssl/crypto/pkcs12/p12_key.c
138
int saltlen, int id, int iter, int n,
crypto/openssl/crypto/pkcs12/p12_key.c
141
return PKCS12_key_gen_uni_ex(pass, passlen, salt, saltlen, id, iter, n, out, md_type, NULL, NULL);
crypto/openssl/crypto/pkcs12/p12_key.c
20
int saltlen, int id, int iter, int n,
crypto/openssl/crypto/pkcs12/p12_key.c
36
n, out, md_type, ctx, propq);
crypto/openssl/crypto/pkcs12/p12_key.c
42
int saltlen, int id, int iter, int n,
crypto/openssl/crypto/pkcs12/p12_key.c
45
return PKCS12_key_gen_asc_ex(pass, passlen, salt, saltlen, id, iter, n,
crypto/openssl/crypto/pkcs12/p12_key.c
50
int saltlen, int id, int iter, int n,
crypto/openssl/crypto/pkcs12/p12_key.c
66
n, out, md_type, ctx, propq);
crypto/openssl/crypto/pkcs12/p12_key.c
72
int saltlen, int id, int iter, int n,
crypto/openssl/crypto/pkcs12/p12_key.c
75
return PKCS12_key_gen_utf8_ex(pass, passlen, salt, saltlen, id, iter, n,
crypto/openssl/crypto/pkcs12/p12_key.c
80
int saltlen, int id, int iter, int n,
crypto/openssl/crypto/pkcs12/p12_key.c
89
if (n <= 0)
crypto/openssl/crypto/pkcs12/p12_mutl.c
178
int id, int iter, int n,
crypto/openssl/crypto/pkcs7/pk7_doit.c
1274
int i, n;
crypto/openssl/crypto/pkcs7/pk7_doit.c
1280
n = sk_X509_ATTRIBUTE_num(*sk);
crypto/openssl/crypto/pkcs7/pk7_doit.c
1281
for (i = 0; i < n; i++) {
crypto/openssl/crypto/pkcs7/pk7_doit.c
1292
if (i == n)
crypto/openssl/crypto/property/property.c
805
uint32_t n;
crypto/openssl/crypto/property/property.c
814
n = state->seed;
crypto/openssl/crypto/property/property.c
815
n ^= n << 13;
crypto/openssl/crypto/property/property.c
816
n ^= n >> 17;
crypto/openssl/crypto/property/property.c
817
n ^= n << 5;
crypto/openssl/crypto/property/property.c
818
state->seed = n;
crypto/openssl/crypto/property/property.c
820
if ((n & 1) != 0)
crypto/openssl/crypto/property/property_parse.c
315
const int n = sk_OSSL_PROPERTY_DEFINITION_num(sk);
crypto/openssl/crypto/property/property_parse.c
321
+ (n <= 0 ? 0 : n - 1) * sizeof(r->properties[0]));
crypto/openssl/crypto/property/property_parse.c
326
for (i = 0; i < n; i++) {
crypto/openssl/crypto/property/property_parse.c
340
r->num_properties = n;
crypto/openssl/crypto/property/property_parse.c
545
int i, j, n;
crypto/openssl/crypto/property/property_parse.c
554
for (i = j = n = 0; i < a->num_properties || j < b->num_properties; n++) {
crypto/openssl/crypto/property/property_parse.c
566
memcpy(r->properties + n, copy, sizeof(r->properties[0]));
crypto/openssl/crypto/property/property_parse.c
569
r->num_properties = n;
crypto/openssl/crypto/provider_core.c
1896
void *buf, size_t n, unsigned int strength)
crypto/openssl/crypto/provider_core.c
1900
buf, n, strength);
crypto/openssl/crypto/punycode.c
122
unsigned int n = initial_n;
crypto/openssl/crypto/punycode.c
180
if (i / (written_out + 1) > maxint - n)
crypto/openssl/crypto/punycode.c
182
n = n + i / (written_out + 1);
crypto/openssl/crypto/punycode.c
190
pDecoded[i] = n;
crypto/openssl/crypto/quic_vlint.c
10
} else if (n == 2) {
crypto/openssl/crypto/quic_vlint.c
13
} else if (n == 4) {
crypto/openssl/crypto/quic_vlint.c
6
void ossl_quic_vlint_encode_n(uint8_t *buf, uint64_t v, int n)
crypto/openssl/crypto/quic_vlint.c
8
if (n == 1) {
crypto/openssl/crypto/rand/randfile.c
149
n = (bytes <= RAND_LOAD_BUF_SIZE) ? (int)bytes : RAND_BUF_SIZE;
crypto/openssl/crypto/rand/randfile.c
151
n = RAND_LOAD_BUF_SIZE;
crypto/openssl/crypto/rand/randfile.c
152
i = fread(buf, 1, n, in);
crypto/openssl/crypto/rand/randfile.c
99
int i, n, ret = 0;
crypto/openssl/crypto/rc2/rc2_cbc.c
108
n = 3;
crypto/openssl/crypto/rc2/rc2_cbc.c
123
if (--n == 0)
crypto/openssl/crypto/rc2/rc2_cbc.c
125
i = (n == 2) ? 6 : 5;
crypto/openssl/crypto/rc2/rc2_cbc.c
140
int i, n;
crypto/openssl/crypto/rc2/rc2_cbc.c
152
n = 3;
crypto/openssl/crypto/rc2/rc2_cbc.c
168
if (--n == 0)
crypto/openssl/crypto/rc2/rc2_cbc.c
170
i = (n == 2) ? 6 : 5;
crypto/openssl/crypto/rc2/rc2_cbc.c
96
int i, n;
crypto/openssl/crypto/rc2/rc2_local.h
18
#define c2ln(c, l1, l2, n) \
crypto/openssl/crypto/rc2/rc2_local.h
20
c += n; \
crypto/openssl/crypto/rc2/rc2_local.h
22
switch (n) { \
crypto/openssl/crypto/rc2/rc2_local.h
57
#define l2cn(l1, l2, c, n) \
crypto/openssl/crypto/rc2/rc2_local.h
59
c += n; \
crypto/openssl/crypto/rc2/rc2_local.h
60
switch (n) { \
crypto/openssl/crypto/rc2/rc2cfb64.c
30
register int n = *num & 0x07;
crypto/openssl/crypto/rc2/rc2cfb64.c
38
if (n == 0) {
crypto/openssl/crypto/rc2/rc2cfb64.c
51
c = *(in++) ^ iv[n];
crypto/openssl/crypto/rc2/rc2cfb64.c
53
iv[n] = c;
crypto/openssl/crypto/rc2/rc2cfb64.c
54
n = (n + 1) & 0x07;
crypto/openssl/crypto/rc2/rc2cfb64.c
58
if (n == 0) {
crypto/openssl/crypto/rc2/rc2cfb64.c
72
c = iv[n];
crypto/openssl/crypto/rc2/rc2cfb64.c
73
iv[n] = cc;
crypto/openssl/crypto/rc2/rc2cfb64.c
75
n = (n + 1) & 0x07;
crypto/openssl/crypto/rc2/rc2cfb64.c
79
*num = n;
crypto/openssl/crypto/rc2/rc2ofb64.c
29
register int n = *num & 0x07;
crypto/openssl/crypto/rc2/rc2ofb64.c
46
if (n == 0) {
crypto/openssl/crypto/rc2/rc2ofb64.c
55
*(out++) = *(in++) ^ d[n];
crypto/openssl/crypto/rc2/rc2ofb64.c
56
n = (n + 1) & 0x07;
crypto/openssl/crypto/rc2/rc2ofb64.c
66
*num = n;
crypto/openssl/crypto/rc4/rc4_skey.c
48
#define SK_LOOP(d, n) \
crypto/openssl/crypto/rc4/rc4_skey.c
50
tmp = d[(n)]; \
crypto/openssl/crypto/rc4/rc4_skey.c
54
d[(n)] = d[id2]; \
crypto/openssl/crypto/rc5/rc5_local.h
101
: "c"(n), "0"((unsigned int)(a)) \
crypto/openssl/crypto/rc5/rc5_local.h
105
#define ROTATE_r32(a, n) ({ \
crypto/openssl/crypto/rc5/rc5_local.h
109
: "c"(n), "0"((unsigned int)(a)) \
crypto/openssl/crypto/rc5/rc5_local.h
116
#define ROTATE_l32(a, n) (((a) << (n & 0x1f)) | (((a) & 0xffffffff) >> ((32 - n) & 0x1f)))
crypto/openssl/crypto/rc5/rc5_local.h
119
#define ROTATE_r32(a, n) (((a) << ((32 - n) & 0x1f)) | (((a) & 0xffffffff) >> (n & 0x1f)))
crypto/openssl/crypto/rc5/rc5_local.h
127
#define E_RC5_32(a, b, s, n) \
crypto/openssl/crypto/rc5/rc5_local.h
130
a += s[n]; \
crypto/openssl/crypto/rc5/rc5_local.h
134
b += s[n + 1]; \
crypto/openssl/crypto/rc5/rc5_local.h
137
#define D_RC5_32(a, b, s, n) \
crypto/openssl/crypto/rc5/rc5_local.h
138
b -= s[n + 1]; \
crypto/openssl/crypto/rc5/rc5_local.h
142
a -= s[n]; \
crypto/openssl/crypto/rc5/rc5_local.h
20
#define c2ln(c, l1, l2, n) \
crypto/openssl/crypto/rc5/rc5_local.h
22
c += n; \
crypto/openssl/crypto/rc5/rc5_local.h
24
switch (n) { \
crypto/openssl/crypto/rc5/rc5_local.h
59
#define l2cn(l1, l2, c, n) \
crypto/openssl/crypto/rc5/rc5_local.h
61
c += n; \
crypto/openssl/crypto/rc5/rc5_local.h
62
switch (n) { \
crypto/openssl/crypto/rc5/rc5_local.h
90
#define ROTATE_l32(a, n) _lrotl(a, n)
crypto/openssl/crypto/rc5/rc5_local.h
91
#define ROTATE_r32(a, n) _lrotr(a, n)
crypto/openssl/crypto/rc5/rc5_local.h
93
#define ROTATE_l32(a, n) _rotl(a, n)
crypto/openssl/crypto/rc5/rc5_local.h
94
#define ROTATE_r32(a, n) _rotr(a, n)
crypto/openssl/crypto/rc5/rc5_local.h
97
#define ROTATE_l32(a, n) ({ \
crypto/openssl/crypto/rc5/rc5cfb64.c
30
register int n = *num & 0x07;
crypto/openssl/crypto/rc5/rc5cfb64.c
38
if (n == 0) {
crypto/openssl/crypto/rc5/rc5cfb64.c
51
c = *(in++) ^ iv[n];
crypto/openssl/crypto/rc5/rc5cfb64.c
53
iv[n] = c;
crypto/openssl/crypto/rc5/rc5cfb64.c
54
n = (n + 1) & 0x07;
crypto/openssl/crypto/rc5/rc5cfb64.c
58
if (n == 0) {
crypto/openssl/crypto/rc5/rc5cfb64.c
72
c = iv[n];
crypto/openssl/crypto/rc5/rc5cfb64.c
73
iv[n] = cc;
crypto/openssl/crypto/rc5/rc5cfb64.c
75
n = (n + 1) & 0x07;
crypto/openssl/crypto/rc5/rc5cfb64.c
79
*num = n;
crypto/openssl/crypto/rc5/rc5ofb64.c
29
register int n = *num & 0x07;
crypto/openssl/crypto/rc5/rc5ofb64.c
46
if (n == 0) {
crypto/openssl/crypto/rc5/rc5ofb64.c
55
*(out++) = *(in++) ^ d[n];
crypto/openssl/crypto/rc5/rc5ofb64.c
56
n = (n + 1) & 0x07;
crypto/openssl/crypto/rc5/rc5ofb64.c
66
*num = n;
crypto/openssl/crypto/ripemd/rmd_one.c
21
unsigned char *RIPEMD160(const unsigned char *d, size_t n, unsigned char *md)
crypto/openssl/crypto/ripemd/rmd_one.c
30
RIPEMD160_Update(&c, d, n);
crypto/openssl/crypto/rsa/rsa_ameth.c
123
if (BN_cmp(b->pkey.rsa->n, a->pkey.rsa->n) != 0
crypto/openssl/crypto/rsa/rsa_ameth.c
192
return BN_num_bits(pkey->pkey.rsa->n);
crypto/openssl/crypto/rsa/rsa_ameth.c
306
if (x->n != NULL)
crypto/openssl/crypto/rsa/rsa_ameth.c
307
mod_len = BN_num_bits(x->n);
crypto/openssl/crypto/rsa/rsa_ameth.c
329
if (!ASN1_bn_print(bp, str, x->n, NULL, off))
crypto/openssl/crypto/rsa/rsa_asn1.c
59
ASN1_SIMPLE(RSA, n, BIGNUM),
crypto/openssl/crypto/rsa/rsa_asn1.c
71
ASN1_SIMPLE(RSA, n, BIGNUM),
crypto/openssl/crypto/rsa/rsa_backend.c
119
if (!RSA_set0_key(rsa, n, e, d))
crypto/openssl/crypto/rsa/rsa_backend.c
121
n = e = d = NULL;
crypto/openssl/crypto/rsa/rsa_backend.c
246
BN_free(n);
crypto/openssl/crypto/rsa/rsa_backend.c
483
if (!rsa_bn_dup_check(&dupkey->n, rsa->n))
crypto/openssl/crypto/rsa/rsa_backend.c
69
BIGNUM *p = NULL, *q = NULL, *n = NULL, *e = NULL, *d = NULL;
crypto/openssl/crypto/rsa/rsa_backend.c
81
if ((param_n == NULL || !OSSL_PARAM_get_BN(param_n, &n))
crypto/openssl/crypto/rsa/rsa_chk.c
100
if (BN_cmp(i, key->n) != 0) {
crypto/openssl/crypto/rsa/rsa_chk.c
29
if (key->p == NULL || key->q == NULL || key->n == NULL
crypto/openssl/crypto/rsa/rsa_chk.c
39
|| (ex_primes + 2) > ossl_rsa_multip_cap(BN_num_bits(key->n))) {
crypto/openssl/crypto/rsa/rsa_crpt.c
147
BIGNUM *n = BN_new();
crypto/openssl/crypto/rsa/rsa_crpt.c
149
if (n == NULL) {
crypto/openssl/crypto/rsa/rsa_crpt.c
153
BN_with_flags(n, rsa->n, BN_FLG_CONSTTIME);
crypto/openssl/crypto/rsa/rsa_crpt.c
155
ret = BN_BLINDING_create_param(NULL, e, n, ctx, rsa->meth->bn_mod_exp,
crypto/openssl/crypto/rsa/rsa_crpt.c
158
BN_free(n);
crypto/openssl/crypto/rsa/rsa_crpt.c
25
return BN_num_bits(r->n);
crypto/openssl/crypto/rsa/rsa_crpt.c
30
return BN_num_bytes(r->n);
crypto/openssl/crypto/rsa/rsa_gen.c
124
if (BN_copy(r1, rsa->n) == NULL)
crypto/openssl/crypto/rsa/rsa_gen.c
269
int n = 0, bitsr[RSA_MAX_PRIME_NUM], bitse = 0;
crypto/openssl/crypto/rsa/rsa_gen.c
332
if (!rsa->n && ((rsa->n = BN_new()) == NULL))
crypto/openssl/crypto/rsa/rsa_gen.c
431
if (!BN_GENCB_call(cb, 2, n++))
crypto/openssl/crypto/rsa/rsa_gen.c
444
if (!BN_mul(r1, rsa->n, prime, ctx))
crypto/openssl/crypto/rsa/rsa_gen.c
489
if (!BN_GENCB_call(cb, 2, n++))
crypto/openssl/crypto/rsa/rsa_gen.c
514
if (i > 1 && BN_copy(pinfo->pp, rsa->n) == NULL)
crypto/openssl/crypto/rsa/rsa_gen.c
516
if (BN_copy(rsa->n, r1) == NULL)
crypto/openssl/crypto/rsa/rsa_lib.c
163
BN_clear_free(r->n);
crypto/openssl/crypto/rsa/rsa_lib.c
166
BN_free(r->n);
crypto/openssl/crypto/rsa/rsa_lib.c
322
uint16_t ossl_ifc_ffc_compute_security_bits(int n)
crypto/openssl/crypto/rsa/rsa_lib.c
333
switch (n) {
crypto/openssl/crypto/rsa/rsa_lib.c
356
if (n >= 687737)
crypto/openssl/crypto/rsa/rsa_lib.c
358
if (n < 8)
crypto/openssl/crypto/rsa/rsa_lib.c
366
if (n <= 7680)
crypto/openssl/crypto/rsa/rsa_lib.c
368
else if (n <= 15360)
crypto/openssl/crypto/rsa/rsa_lib.c
373
x = n * (uint64_t)log_2;
crypto/openssl/crypto/rsa/rsa_lib.c
385
int bits = BN_num_bits(rsa->n);
crypto/openssl/crypto/rsa/rsa_lib.c
399
int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d)
crypto/openssl/crypto/rsa/rsa_lib.c
405
if ((r->n == NULL && n == NULL)
crypto/openssl/crypto/rsa/rsa_lib.c
409
if (n != NULL) {
crypto/openssl/crypto/rsa/rsa_lib.c
410
BN_free(r->n);
crypto/openssl/crypto/rsa/rsa_lib.c
411
r->n = n;
crypto/openssl/crypto/rsa/rsa_lib.c
553
const BIGNUM **n, const BIGNUM **e, const BIGNUM **d)
crypto/openssl/crypto/rsa/rsa_lib.c
555
if (n != NULL)
crypto/openssl/crypto/rsa/rsa_lib.c
556
*n = r->n;
crypto/openssl/crypto/rsa/rsa_lib.c
645
return r->n;
crypto/openssl/crypto/rsa/rsa_lib.c
911
int n, i, bits;
crypto/openssl/crypto/rsa/rsa_lib.c
924
n = safe_BN_num_bits(RSA_get0_n(r));
crypto/openssl/crypto/rsa/rsa_lib.c
926
if (safe_BN_num_bits(RSA_get0_d(r)) > n)
crypto/openssl/crypto/rsa/rsa_lib.c
931
if (bits > n)
crypto/openssl/crypto/rsa/rsa_lib.c
937
if (bits > n)
crypto/openssl/crypto/rsa/rsa_lib.c
943
if (bits > n)
crypto/openssl/crypto/rsa/rsa_local.h
62
BIGNUM *n;
crypto/openssl/crypto/rsa/rsa_ossl.c
107
if (BN_num_bits(rsa->n) > OPENSSL_RSA_MAX_MODULUS_BITS) {
crypto/openssl/crypto/rsa/rsa_ossl.c
1103
if (rsa->e && rsa->n) {
crypto/openssl/crypto/rsa/rsa_ossl.c
1105
if (!BN_mod_exp_mont(vrfy, r0, rsa->e, rsa->n, ctx,
crypto/openssl/crypto/rsa/rsa_ossl.c
1110
if (!rsa->meth->bn_mod_exp(vrfy, r0, rsa->e, rsa->n, ctx,
crypto/openssl/crypto/rsa/rsa_ossl.c
112
if (BN_ucmp(rsa->n, rsa->e) <= 0) {
crypto/openssl/crypto/rsa/rsa_ossl.c
1127
if (!BN_mod(vrfy, vrfy, rsa->n, ctx))
crypto/openssl/crypto/rsa/rsa_ossl.c
1130
if (!BN_add(vrfy, vrfy, rsa->n))
crypto/openssl/crypto/rsa/rsa_ossl.c
1144
if (!rsa->meth->bn_mod_exp(r0, I, d, rsa->n, ctx,
crypto/openssl/crypto/rsa/rsa_ossl.c
118
if (BN_num_bits(rsa->n) > OPENSSL_RSA_SMALL_MODULUS_BITS) {
crypto/openssl/crypto/rsa/rsa_ossl.c
130
num = BN_num_bytes(rsa->n);
crypto/openssl/crypto/rsa/rsa_ossl.c
172
|| BN_copy(nminus1, rsa->n) == NULL
crypto/openssl/crypto/rsa/rsa_ossl.c
182
if (BN_ucmp(f, rsa->n) >= 0) {
crypto/openssl/crypto/rsa/rsa_ossl.c
191
rsa->n, ctx))
crypto/openssl/crypto/rsa/rsa_ossl.c
194
if (!rsa->meth->bn_mod_exp(ret, f, rsa->e, rsa->n, ctx,
crypto/openssl/crypto/rsa/rsa_ossl.c
325
num = BN_num_bytes(rsa->n);
crypto/openssl/crypto/rsa/rsa_ossl.c
350
if (BN_ucmp(f, rsa->n) >= 0) {
crypto/openssl/crypto/rsa/rsa_ossl.c
358
rsa->n, ctx))
crypto/openssl/crypto/rsa/rsa_ossl.c
394
if (!rsa->meth->bn_mod_exp(ret, f, d, rsa->n, ctx,
crypto/openssl/crypto/rsa/rsa_ossl.c
408
if (!BN_sub(f, rsa->n, ret))
crypto/openssl/crypto/rsa/rsa_ossl.c
547
num = BN_num_bytes(rsa->n);
crypto/openssl/crypto/rsa/rsa_ossl.c
584
|| BN_copy(nminus1, rsa->n) == NULL
crypto/openssl/crypto/rsa/rsa_ossl.c
594
if (BN_ucmp(f, rsa->n) >= 0) {
crypto/openssl/crypto/rsa/rsa_ossl.c
601
rsa->n, ctx))
crypto/openssl/crypto/rsa/rsa_ossl.c
637
if (!rsa->meth->bn_mod_exp(ret, f, d, rsa->n, ctx,
crypto/openssl/crypto/rsa/rsa_ossl.c
706
if (BN_num_bits(rsa->n) > OPENSSL_RSA_MAX_MODULUS_BITS) {
crypto/openssl/crypto/rsa/rsa_ossl.c
711
if (BN_ucmp(rsa->n, rsa->e) <= 0) {
crypto/openssl/crypto/rsa/rsa_ossl.c
717
if (BN_num_bits(rsa->n) > OPENSSL_RSA_SMALL_MODULUS_BITS) {
crypto/openssl/crypto/rsa/rsa_ossl.c
733
num = BN_num_bytes(rsa->n);
crypto/openssl/crypto/rsa/rsa_ossl.c
750
if (BN_ucmp(f, rsa->n) >= 0) {
crypto/openssl/crypto/rsa/rsa_ossl.c
757
rsa->n, ctx))
crypto/openssl/crypto/rsa/rsa_ossl.c
760
if (!rsa->meth->bn_mod_exp(ret, f, rsa->e, rsa->n, ctx,
crypto/openssl/crypto/rsa/rsa_ossl.c
766
if (!BN_sub(ret, rsa->n, ret))
crypto/openssl/crypto/rsa/rsa_ossl.c
868
rsa->n, ctx))
crypto/openssl/crypto/rsa/rsa_ossl.c
911
|| !bn_mod_add_fixed_top(r0, r0, m1, rsa->n))
crypto/openssl/crypto/rsa/rsa_pss.c
220
MSBits = (BN_num_bits(rsa->n) - 1) & 0x7;
crypto/openssl/crypto/rsa/rsa_pss.c
82
MSBits = (BN_num_bits(rsa->n) - 1) & 0x7;
crypto/openssl/crypto/rsa/rsa_sign.c
80
#define ENCODE_DIGESTINFO_SHA(name, n, sz) \
crypto/openssl/crypto/rsa/rsa_sign.c
84
ASN1_OID, 0x09, 2 * 40 + 16, 0x86, 0x48, 1, 101, 3, 4, 2, n, \
crypto/openssl/crypto/rsa/rsa_sign.c
90
#define ENCODE_DIGESTINFO_MD(name, n, sz) \
crypto/openssl/crypto/rsa/rsa_sign.c
94
ASN1_OID, 0x08, 1 * 40 + 2, 0x86, 0x48, 0x86, 0xf7, 0x0d, 2, n, \
crypto/openssl/crypto/rsa/rsa_sp800_56b_check.c
289
if (rsa->n == NULL || rsa->e == NULL)
crypto/openssl/crypto/rsa/rsa_sp800_56b_check.c
292
nbits = BN_num_bits(rsa->n);
crypto/openssl/crypto/rsa/rsa_sp800_56b_check.c
308
if (!BN_is_odd(rsa->n)) {
crypto/openssl/crypto/rsa/rsa_sp800_56b_check.c
327
if (!BN_gcd(gcd, rsa->n, ossl_bn_get0_small_factors(), ctx)
crypto/openssl/crypto/rsa/rsa_sp800_56b_check.c
334
ret = ossl_bn_miller_rabin_is_prime(rsa->n, 5, ctx, NULL, 1, &status);
crypto/openssl/crypto/rsa/rsa_sp800_56b_check.c
357
if (rsa->d == NULL || rsa->n == NULL)
crypto/openssl/crypto/rsa/rsa_sp800_56b_check.c
359
return BN_cmp(rsa->d, BN_value_one()) >= 0 && BN_cmp(rsa->d, rsa->n) < 0;
crypto/openssl/crypto/rsa/rsa_sp800_56b_check.c
384
|| rsa->n == NULL) {
crypto/openssl/crypto/rsa/rsa_sp800_56b_check.c
407
if (nbits != BN_num_bits(rsa->n)) {
crypto/openssl/crypto/rsa/rsa_sp800_56b_check.c
426
if (BN_cmp(rsa->n, r) != 0) {
crypto/openssl/crypto/rsa/rsa_sp800_56b_gen.c
287
if (rsa->n == NULL)
crypto/openssl/crypto/rsa/rsa_sp800_56b_gen.c
288
rsa->n = BN_new();
crypto/openssl/crypto/rsa/rsa_sp800_56b_gen.c
289
if (rsa->n == NULL || !BN_mul(rsa->n, rsa->p, rsa->q, ctx))
crypto/openssl/crypto/rsa/rsa_sp800_56b_gen.c
328
BN_free(rsa->n);
crypto/openssl/crypto/rsa/rsa_sp800_56b_gen.c
329
rsa->n = NULL;
crypto/openssl/crypto/rsa/rsa_sp800_56b_gen.c
450
&& BN_mod_exp(tmp, k, rsa->e, rsa->n, ctx)
crypto/openssl/crypto/rsa/rsa_sp800_56b_gen.c
451
&& BN_mod_exp(tmp, tmp, rsa->d, rsa->n, ctx)
crypto/openssl/crypto/rsa/rsa_x931g.c
93
rsa->n = BN_new();
crypto/openssl/crypto/rsa/rsa_x931g.c
94
if (rsa->n == NULL)
crypto/openssl/crypto/rsa/rsa_x931g.c
96
if (!BN_mul(rsa->n, rsa->p, rsa->q, ctx))
crypto/openssl/crypto/s390xcap.c
461
int rc, off, i, n;
crypto/openssl/crypto/s390xcap.c
477
if ((n = sscanf(tok_begin,
crypto/openssl/crypto/s390xcap.c
481
for (i = 0; i < n; i++) {
crypto/openssl/crypto/self_test_core.c
77
size_t n = 0;
crypto/openssl/crypto/self_test_core.c
80
st->params[n++] = OSSL_PARAM_construct_utf8_string(OSSL_PROV_PARAM_SELF_TEST_PHASE,
crypto/openssl/crypto/self_test_core.c
82
st->params[n++] = OSSL_PARAM_construct_utf8_string(OSSL_PROV_PARAM_SELF_TEST_TYPE,
crypto/openssl/crypto/self_test_core.c
84
st->params[n++] = OSSL_PARAM_construct_utf8_string(OSSL_PROV_PARAM_SELF_TEST_DESC,
crypto/openssl/crypto/self_test_core.c
87
st->params[n++] = OSSL_PARAM_construct_end();
crypto/openssl/crypto/sha/sha1_one.c
23
unsigned char *ossl_sha1(const unsigned char *d, size_t n, unsigned char *md)
crypto/openssl/crypto/sha/sha1_one.c
32
SHA1_Update(&c, d, n);
crypto/openssl/crypto/sha/sha1_one.c
38
unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md)
crypto/openssl/crypto/sha/sha1_one.c
44
return EVP_Q_digest(NULL, "SHA1", NULL, d, n, md, NULL) ? md : NULL;
crypto/openssl/crypto/sha/sha1_one.c
47
unsigned char *SHA224(const unsigned char *d, size_t n, unsigned char *md)
crypto/openssl/crypto/sha/sha1_one.c
53
return EVP_Q_digest(NULL, "SHA224", NULL, d, n, md, NULL) ? md : NULL;
crypto/openssl/crypto/sha/sha1_one.c
56
unsigned char *SHA256(const unsigned char *d, size_t n, unsigned char *md)
crypto/openssl/crypto/sha/sha1_one.c
62
return EVP_Q_digest(NULL, "SHA256", NULL, d, n, md, NULL) ? md : NULL;
crypto/openssl/crypto/sha/sha1_one.c
65
unsigned char *SHA384(const unsigned char *d, size_t n, unsigned char *md)
crypto/openssl/crypto/sha/sha1_one.c
71
return EVP_Q_digest(NULL, "SHA384", NULL, d, n, md, NULL) ? md : NULL;
crypto/openssl/crypto/sha/sha1_one.c
74
unsigned char *SHA512(const unsigned char *d, size_t n, unsigned char *md)
crypto/openssl/crypto/sha/sha1_one.c
80
return EVP_Q_digest(NULL, "SHA512", NULL, d, n, md, NULL) ? md : NULL;
crypto/openssl/crypto/sha/sha512.c
158
size_t n = c->num;
crypto/openssl/crypto/sha/sha512.c
160
p[n] = 0x80; /* There always is a room for one */
crypto/openssl/crypto/sha/sha512.c
161
n++;
crypto/openssl/crypto/sha/sha512.c
162
if (n > (sizeof(c->u) - 16)) {
crypto/openssl/crypto/sha/sha512.c
163
memset(p + n, 0, sizeof(c->u) - n);
crypto/openssl/crypto/sha/sha512.c
164
n = 0;
crypto/openssl/crypto/sha/sha512.c
168
memset(p + n, 0, sizeof(c->u) - 16 - n);
crypto/openssl/crypto/sha/sha512.c
199
for (n = 0; n < SHA224_DIGEST_LENGTH / 8; n++) {
crypto/openssl/crypto/sha/sha512.c
200
SHA_LONG64 t = c->h[n];
crypto/openssl/crypto/sha/sha512.c
225
for (n = 0; n < SHA256_DIGEST_LENGTH / 8; n++) {
crypto/openssl/crypto/sha/sha512.c
226
SHA_LONG64 t = c->h[n];
crypto/openssl/crypto/sha/sha512.c
239
for (n = 0; n < SHA384_DIGEST_LENGTH / 8; n++) {
crypto/openssl/crypto/sha/sha512.c
240
SHA_LONG64 t = c->h[n];
crypto/openssl/crypto/sha/sha512.c
253
for (n = 0; n < SHA512_DIGEST_LENGTH / 8; n++) {
crypto/openssl/crypto/sha/sha512.c
254
SHA_LONG64 t = c->h[n];
crypto/openssl/crypto/sha/sha512.c
296
size_t n = sizeof(c->u) - c->num;
crypto/openssl/crypto/sha/sha512.c
298
if (len < n) {
crypto/openssl/crypto/sha/sha512.c
302
memcpy(p + c->num, data, n), c->num = 0;
crypto/openssl/crypto/sha/sha512.c
303
len -= n, data += n;
crypto/openssl/crypto/sha/sha512.c
388
#define ROTR(a, n) ({ SHA_LONG64 ret; \
crypto/openssl/crypto/sha/sha512.c
391
: "J"(n),"0"(a) \
crypto/openssl/crypto/sha/sha512.c
418
#define ROTR(a, n) ({ SHA_LONG64 ret; \
crypto/openssl/crypto/sha/sha512.c
421
: "r"(a),"K"(n)); ret; })
crypto/openssl/crypto/sha/sha512.c
423
#define ROTR(a, n) ({ SHA_LONG64 ret; \
crypto/openssl/crypto/sha/sha512.c
426
: "r"(a),"I"(n)); ret; })
crypto/openssl/crypto/sha/sha512.c
534
#define ROTR(a, n) _rotr64((a), n)
crypto/openssl/crypto/slh_dsa/slh_dsa.c
156
uint32_t n = params->n;
crypto/openssl/crypto/slh_dsa/slh_dsa.c
178
if (!PACKET_get_bytes(sig_rpkt, &r, n))
crypto/openssl/crypto/slh_dsa/slh_dsa_key.c
338
size_t n = params->n;
crypto/openssl/crypto/slh_dsa/slh_dsa_key.c
348
SLH_DSA_PK_SEED(key), adrs, dst, n)
crypto/openssl/crypto/slh_dsa/slh_dsa_key.c
349
&& (validate == 0 || memcmp(dst, SLH_DSA_PK_ROOT(out), n) == 0);
crypto/openssl/crypto/slh_dsa/slh_dsa_key.c
370
size_t n = out->params->n;
crypto/openssl/crypto/slh_dsa/slh_dsa_key.c
371
size_t secret_key_len = 2 * n; /* The length of SK_SEED + SK_PRF */
crypto/openssl/crypto/slh_dsa/slh_dsa_key.c
372
size_t pk_seed_len = n; /* The length of PK_SEED */
crypto/openssl/crypto/slh_dsa/slh_dsa_key.c
422
return 2 * key->params->n;
crypto/openssl/crypto/slh_dsa/slh_dsa_key.c
438
return 4 * key->params->n;
crypto/openssl/crypto/slh_dsa/slh_dsa_key.c
443
return key->params->n;
crypto/openssl/crypto/slh_dsa/slh_dsa_key.h
14
#define SLH_DSA_SK_PRF(key) ((key)->priv + (key)->params->n)
crypto/openssl/crypto/slh_dsa/slh_dsa_key.h
15
#define SLH_DSA_PK_SEED(key) ((key)->priv + (key)->params->n * 2)
crypto/openssl/crypto/slh_dsa/slh_dsa_key.h
16
#define SLH_DSA_PK_ROOT(key) ((key)->priv + (key)->params->n * 3)
crypto/openssl/crypto/slh_dsa/slh_dsa_local.h
26
#define SLH_WOTS_LEN(n) (2 * (n) + 3)
crypto/openssl/crypto/slh_dsa/slh_fors.c
139
uint32_t n = params->n;
crypto/openssl/crypto/slh_dsa/slh_fors.c
167
|| !WPACKET_memcpy(sig_wpkt, out, n))
crypto/openssl/crypto/slh_dsa/slh_fors.c
184
if (!WPACKET_memcpy(sig_wpkt, out, n))
crypto/openssl/crypto/slh_dsa/slh_fors.c
221
uint32_t n = params->n;
crypto/openssl/crypto/slh_dsa/slh_fors.c
252
if (!PACKET_get_bytes(fors_sig_rpkt, &sk, n)
crypto/openssl/crypto/slh_dsa/slh_fors.c
253
|| !WPACKET_allocate_bytes(wroot_pkt, n, &node0)
crypto/openssl/crypto/slh_dsa/slh_fors.c
254
|| !F(ctx, pk_seed, adrs, sk, n, node0, n))
crypto/openssl/crypto/slh_dsa/slh_fors.c
261
if (!PACKET_get_bytes(fors_sig_rpkt, &authj, n))
crypto/openssl/crypto/slh_dsa/slh_fors.c
268
if (!H(ctx, pk_seed, adrs, node0, authj, node1, n))
crypto/openssl/crypto/slh_dsa/slh_fors.c
273
if (!H(ctx, pk_seed, adrs, authj, node0, node1, n))
crypto/openssl/crypto/slh_dsa/slh_fors.c
84
uint32_t n = key->params->n;
crypto/openssl/crypto/slh_dsa/slh_fors.c
94
ret = key->hash_func->F(ctx, pk_seed, adrs, sk, n, node, node_len);
crypto/openssl/crypto/slh_dsa/slh_fors.c
95
OPENSSL_cleanse(sk, n);
crypto/openssl/crypto/slh_dsa/slh_hash.c
100
&& WPACKET_memcpy(pkt, out, n);
crypto/openssl/crypto/slh_dsa/slh_hash.c
108
size_t n = params->n;
crypto/openssl/crypto/slh_dsa/slh_hash.c
110
return xof_digest_3(ctx->md_ctx, pk_seed, n, adrs, SLH_ADRS_SIZE, m1, m1_len, out, n);
crypto/openssl/crypto/slh_dsa/slh_hash.c
118
size_t n = params->n;
crypto/openssl/crypto/slh_dsa/slh_hash.c
120
return xof_digest_4(ctx->md_ctx, pk_seed, n, adrs, SLH_ADRS_SIZE, m1, n, m2, n, out, n);
crypto/openssl/crypto/slh_dsa/slh_hash.c
128
size_t n = params->n;
crypto/openssl/crypto/slh_dsa/slh_hash.c
130
return xof_digest_3(ctx->md_ctx, pk_seed, n, adrs, SLH_ADRS_SIZE, ml, ml_len, out, n);
crypto/openssl/crypto/slh_dsa/slh_hash.c
156
size_t n = params->n;
crypto/openssl/crypto/slh_dsa/slh_hash.c
159
size_t seed_len = (size_t)sz + 2 * n;
crypto/openssl/crypto/slh_dsa/slh_hash.c
164
memcpy(seed, r, n);
crypto/openssl/crypto/slh_dsa/slh_hash.c
165
memcpy(seed + n, pk_seed, n);
crypto/openssl/crypto/slh_dsa/slh_hash.c
166
return digest_4(hctx->md_big_ctx, r, n, pk_seed, n, pk_root, n, msg, msg_len,
crypto/openssl/crypto/slh_dsa/slh_hash.c
167
seed + 2 * n)
crypto/openssl/crypto/slh_dsa/slh_hash.c
180
size_t n = prms->n;
crypto/openssl/crypto/slh_dsa/slh_hash.c
203
ret = EVP_MAC_init(mctx, sk_prf, n, p) == 1
crypto/openssl/crypto/slh_dsa/slh_hash.c
204
&& EVP_MAC_update(mctx, opt_rand, n) == 1
crypto/openssl/crypto/slh_dsa/slh_hash.c
207
&& WPACKET_memcpy(pkt, mac, n); /* Truncate output to n bytes */
crypto/openssl/crypto/slh_dsa/slh_hash.c
212
do_hash(EVP_MD_CTX *ctx, size_t n, const uint8_t *pk_seed, const uint8_t *adrs,
crypto/openssl/crypto/slh_dsa/slh_hash.c
219
ret = digest_4(ctx, pk_seed, n, zeros, b - n, adrs, SLH_ADRSC_SIZE,
crypto/openssl/crypto/slh_dsa/slh_hash.c
222
memcpy(out, digest, n);
crypto/openssl/crypto/slh_dsa/slh_hash.c
231
size_t n = hctx->key->params->n;
crypto/openssl/crypto/slh_dsa/slh_hash.c
233
return do_hash(hctx->md_ctx, n, pk_seed, adrs, sk_seed, n,
crypto/openssl/crypto/slh_dsa/slh_hash.c
241
return do_hash(hctx->md_ctx, hctx->key->params->n, pk_seed, adrs, m1, m1_len,
crypto/openssl/crypto/slh_dsa/slh_hash.c
251
size_t n = prms->n;
crypto/openssl/crypto/slh_dsa/slh_hash.c
253
memcpy(m, m1, n);
crypto/openssl/crypto/slh_dsa/slh_hash.c
254
memcpy(m + n, m2, n);
crypto/openssl/crypto/slh_dsa/slh_hash.c
255
return do_hash(hctx->md_big_ctx, n, pk_seed, adrs, m, 2 * n,
crypto/openssl/crypto/slh_dsa/slh_hash.c
265
return do_hash(hctx->md_big_ctx, prms->n, pk_seed, adrs, ml, ml_len,
crypto/openssl/crypto/slh_dsa/slh_hash.c
72
size_t n = params->n;
crypto/openssl/crypto/slh_dsa/slh_hash.c
74
return xof_digest_4(ctx->md_ctx, r, n, pk_seed, n, pk_root, n,
crypto/openssl/crypto/slh_dsa/slh_hash.c
84
size_t n = params->n;
crypto/openssl/crypto/slh_dsa/slh_hash.c
86
return xof_digest_3(ctx->md_ctx, pk_seed, n, adrs, SLH_ADRS_SIZE,
crypto/openssl/crypto/slh_dsa/slh_hash.c
87
sk_seed, n, out, n);
crypto/openssl/crypto/slh_dsa/slh_hash.c
97
size_t n = params->n;
crypto/openssl/crypto/slh_dsa/slh_hash.c
99
return xof_digest_3(ctx->md_ctx, sk_prf, n, opt_rand, n, msg, msg_len, out, n)
crypto/openssl/crypto/slh_dsa/slh_hypertree.c
117
uint32_t n = params->n;
crypto/openssl/crypto/slh_dsa/slh_hypertree.c
123
memcpy(node, msg, n);
crypto/openssl/crypto/slh_dsa/slh_hypertree.c
134
return (memcmp(node, pk_root, n) == 0);
crypto/openssl/crypto/slh_dsa/slh_hypertree.c
42
uint32_t n = params->n;
crypto/openssl/crypto/slh_dsa/slh_hypertree.c
64
memcpy(root, msg, n);
crypto/openssl/crypto/slh_dsa/slh_params.h
26
uint32_t n; /* Security parameter (Hash output size in bytes) (16, 24, 32) */
crypto/openssl/crypto/slh_dsa/slh_wots.c
102
size_t n = key->params->n;
crypto/openssl/crypto/slh_dsa/slh_wots.c
104
size_t tmp_len = n;
crypto/openssl/crypto/slh_dsa/slh_wots.c
107
return WPACKET_memcpy(wpkt, in, n);
crypto/openssl/crypto/slh_dsa/slh_wots.c
113
if (!F(ctx, pk_seed, adrs, in, n, tmp, tmp_len))
crypto/openssl/crypto/slh_dsa/slh_wots.c
119
if (!F(ctx, pk_seed, adrs, tmp, n, tmp, tmp_len))
crypto/openssl/crypto/slh_dsa/slh_wots.c
144
size_t n = key->params->n;
crypto/openssl/crypto/slh_dsa/slh_wots.c
145
size_t i, len = SLH_WOTS_LEN(n); /* 2 * n + 3 */
crypto/openssl/crypto/slh_dsa/slh_wots.c
18
#define SLH_WOTS_LEN1(n) (2 * (n))
crypto/openssl/crypto/slh_dsa/slh_wots.c
183
OPENSSL_cleanse(sk, n);
crypto/openssl/crypto/slh_dsa/slh_wots.c
212
size_t n = key->params->n;
crypto/openssl/crypto/slh_dsa/slh_wots.c
213
size_t len1 = SLH_WOTS_LEN1(n); /* 2 * n = the msg length in nibbles */
crypto/openssl/crypto/slh_dsa/slh_wots.c
226
slh_bytes_to_nibbles(msg, n, msg_and_csum_nibbles);
crypto/openssl/crypto/slh_dsa/slh_wots.c
275
size_t n = key->params->n;
crypto/openssl/crypto/slh_dsa/slh_wots.c
276
size_t len1 = SLH_WOTS_LEN1(n);
crypto/openssl/crypto/slh_dsa/slh_wots.c
291
slh_bytes_to_nibbles(msg, n, msg_and_csum_nibbles);
crypto/openssl/crypto/slh_dsa/slh_wots.c
297
if (!PACKET_get_bytes(sig_rpkt, &sig_i, n)
crypto/openssl/crypto/slh_dsa/slh_xmss.c
151
size_t n = key->params->n;
crypto/openssl/crypto/slh_dsa/slh_xmss.c
165
if (!PACKET_get_bytes(sig_rpkt, &auth_path, n))
crypto/openssl/crypto/slh_dsa/slh_xmss.c
92
size_t n = key->params->n;
crypto/openssl/crypto/slh_dsa/slh_xmss.c
96
size_t auth_path_len = n;
crypto/openssl/crypto/sm4/sm4.c
227
static ossl_inline uint32_t rotl(uint32_t a, uint8_t n)
crypto/openssl/crypto/sm4/sm4.c
229
return (a << n) | (a >> (32 - n));
crypto/openssl/crypto/sm4/sm4.c
232
static ossl_inline uint32_t load_u32_be(const uint8_t *b, uint32_t n)
crypto/openssl/crypto/sm4/sm4.c
234
return ((uint32_t)b[4 * n] << 24) | ((uint32_t)b[4 * n + 1] << 16) | ((uint32_t)b[4 * n + 2] << 8) | ((uint32_t)b[4 * n + 3]);
crypto/openssl/crypto/sparse_array.c
105
static void sa_free_leaf(ossl_uintmax_t n, void *p, void *arg)
crypto/openssl/crypto/sparse_array.c
129
static void trampoline(ossl_uintmax_t n, void *l, void *arg)
crypto/openssl/crypto/sparse_array.c
131
((const struct trampoline_st *)arg)->func(n, l);
crypto/openssl/crypto/sparse_array.c
156
void *ossl_sa_get(const OPENSSL_SA *sa, ossl_uintmax_t n)
crypto/openssl/crypto/sparse_array.c
164
if (n <= sa->top) {
crypto/openssl/crypto/sparse_array.c
167
p = (void **)p[(n >> (OPENSSL_SA_BLOCK_BITS * level))
crypto/openssl/crypto/sparse_array.c
169
r = p == NULL ? NULL : p[n & SA_BLOCK_MASK];
crypto/openssl/crypto/sparse_array.c
182
ossl_uintmax_t n = posn;
crypto/openssl/crypto/sparse_array.c
189
if ((n >>= OPENSSL_SA_BLOCK_BITS) == 0)
crypto/openssl/crypto/sparse_array.c
76
const int n = i[l];
crypto/openssl/crypto/sparse_array.c
79
if (n >= SA_BLOCK_MAX) {
crypto/openssl/crypto/sparse_array.c
85
i[l] = n + 1;
crypto/openssl/crypto/sparse_array.c
86
if (p != NULL && p[n] != NULL) {
crypto/openssl/crypto/sparse_array.c
87
idx = (idx & ~SA_BLOCK_MASK) | n;
crypto/openssl/crypto/sparse_array.c
90
nodes[l] = p[n];
crypto/openssl/crypto/sparse_array.c
93
(*leaf)(idx, p[n], arg);
crypto/openssl/crypto/stack/stack.c
178
static int sk_reserve(OPENSSL_STACK *st, int n, int exact)
crypto/openssl/crypto/stack/stack.c
184
if (n > max_nodes - st->num) {
crypto/openssl/crypto/stack/stack.c
190
num_alloc = st->num + n;
crypto/openssl/crypto/stack/stack.c
227
OPENSSL_STACK *OPENSSL_sk_new_reserve(OPENSSL_sk_compfunc c, int n)
crypto/openssl/crypto/stack/stack.c
236
if (n <= 0)
crypto/openssl/crypto/stack/stack.c
239
if (!sk_reserve(st, n, 1)) {
crypto/openssl/crypto/stack/stack.c
247
int OPENSSL_sk_reserve(OPENSSL_STACK *st, int n)
crypto/openssl/crypto/stack/stack.c
254
if (n < 0)
crypto/openssl/crypto/stack/stack.c
256
return sk_reserve(st, n, 1);
crypto/openssl/crypto/ts/ts_lib.c
50
int i, critical, n;
crypto/openssl/crypto/ts/ts_lib.c
55
n = X509v3_get_ext_count(extensions);
crypto/openssl/crypto/ts/ts_lib.c
56
for (i = 0; i < n; i++) {
crypto/openssl/crypto/txt_db/txt_db.c
103
if ((n != num) || (*f != '\0')) {
crypto/openssl/crypto/txt_db/txt_db.c
108
pp[n] = p;
crypto/openssl/crypto/txt_db/txt_db.c
152
int i, n;
crypto/openssl/crypto/txt_db/txt_db.c
163
n = sk_OPENSSL_PSTRING_num(db->data);
crypto/openssl/crypto/txt_db/txt_db.c
164
for (i = 0; i < n; i++) {
crypto/openssl/crypto/txt_db/txt_db.c
189
long i, j, n, nn, l, tot = 0;
crypto/openssl/crypto/txt_db/txt_db.c
196
n = sk_OPENSSL_PSTRING_num(db->data);
crypto/openssl/crypto/txt_db/txt_db.c
198
for (i = 0; i < n; i++) {
crypto/openssl/crypto/txt_db/txt_db.c
24
int i, add, n;
crypto/openssl/crypto/txt_db/txt_db.c
281
int i, n;
crypto/openssl/crypto/txt_db/txt_db.c
301
for (n = 0; n < db->num_fields; n++)
crypto/openssl/crypto/txt_db/txt_db.c
302
OPENSSL_free(p[n]);
crypto/openssl/crypto/txt_db/txt_db.c
304
for (n = 0; n < db->num_fields; n++) {
crypto/openssl/crypto/txt_db/txt_db.c
305
if (((p[n] < (char *)p) || (p[n] > max)))
crypto/openssl/crypto/txt_db/txt_db.c
306
OPENSSL_free(p[n]);
crypto/openssl/crypto/txt_db/txt_db.c
79
n = 0;
crypto/openssl/crypto/txt_db/txt_db.c
80
pp[n++] = p;
crypto/openssl/crypto/txt_db/txt_db.c
93
if (n >= num)
crypto/openssl/crypto/txt_db/txt_db.c
95
pp[n++] = p;
crypto/openssl/crypto/whrlpool/wp_block.c
112
#define ROTATE(a, n) _rotl64((a), n)
crypto/openssl/crypto/whrlpool/wp_block.c
117
#define ROTATE(a, n) ({ u64 ret; asm ("rolq %1,%0" \
crypto/openssl/crypto/whrlpool/wp_block.c
118
: "=r"(ret) : "J"(n),"0"(a) : "cc"); ret; })
crypto/openssl/crypto/whrlpool/wp_block.c
127
#define ROTATE(a, n) ({ u64 ret; asm ("rorq %1,%0" \
crypto/openssl/crypto/whrlpool/wp_block.c
128
: "=r"(ret) : "J"(n),"0"(a) : "cc"); ret; })
crypto/openssl/crypto/whrlpool/wp_block.c
132
#define ROTATE(a, n) ({ u64 ret; asm ("shrp %0=%1,%1,%2" \
crypto/openssl/crypto/whrlpool/wp_block.c
133
: "=r"(ret) : "r"(a),"M"(64-(n))); ret; })
crypto/openssl/crypto/whrlpool/wp_block.c
135
#define ROTATE(a, n) ({ u64 ret; asm ("shrp %0=%1,%1,%2" \
crypto/openssl/crypto/whrlpool/wp_block.c
136
: "=r"(ret) : "r"(a),"M"(n)); ret; })
crypto/openssl/crypto/whrlpool/wp_block.c
145
#define ROTATE(i, n) ((i) << (n) ^ (i) >> (64 - n))
crypto/openssl/crypto/whrlpool/wp_block.c
147
#define ROTATE(i, n) ((i) >> (n) ^ (i) << (64 - n))
crypto/openssl/crypto/whrlpool/wp_block.c
496
void whirlpool_block(WHIRLPOOL_CTX *ctx, const void *inp, size_t n)
crypto/openssl/crypto/whrlpool/wp_block.c
506
GO_FOR_MMX(ctx, inp, n);
crypto/openssl/crypto/whrlpool/wp_block.c
779
} while (--n);
crypto/openssl/crypto/whrlpool/wp_dgst.c
106
n = 1;
crypto/openssl/crypto/whrlpool/wp_dgst.c
108
c->bitlen[n]++;
crypto/openssl/crypto/whrlpool/wp_dgst.c
109
} while (c->bitlen[n] == 0
crypto/openssl/crypto/whrlpool/wp_dgst.c
110
&& ++n < (WHIRLPOOL_COUNTER / sizeof(size_t)));
crypto/openssl/crypto/whrlpool/wp_dgst.c
116
if (bitoff == 0 && (n = bits / WHIRLPOOL_BBLOCK)) {
crypto/openssl/crypto/whrlpool/wp_dgst.c
117
whirlpool_block(c, inp, n);
crypto/openssl/crypto/whrlpool/wp_dgst.c
118
inp += n * WHIRLPOOL_BBLOCK / 8;
crypto/openssl/crypto/whrlpool/wp_dgst.c
94
size_t n;
crypto/openssl/crypto/x509/pcy_lib.c
58
int n;
crypto/openssl/crypto/x509/pcy_lib.c
62
n = 1;
crypto/openssl/crypto/x509/pcy_lib.c
64
n = 0;
crypto/openssl/crypto/x509/pcy_lib.c
66
n += sk_X509_POLICY_NODE_num(level->nodes);
crypto/openssl/crypto/x509/pcy_lib.c
67
return n;
crypto/openssl/crypto/x509/pcy_node.c
31
X509_POLICY_DATA n;
crypto/openssl/crypto/x509/pcy_node.c
35
n.valid_policy = (ASN1_OBJECT *)id;
crypto/openssl/crypto/x509/pcy_node.c
36
l.data = &n;
crypto/openssl/crypto/x509/pcy_tree.c
106
int n = sk_X509_num(certs) - 1; /* RFC5280 paths omit the TA */
crypto/openssl/crypto/x509/pcy_tree.c
107
int explicit_policy = (flags & X509_V_FLAG_EXPLICIT_POLICY) ? 0 : n + 1;
crypto/openssl/crypto/x509/pcy_tree.c
108
int any_skip = (flags & X509_V_FLAG_INHIBIT_ANY) ? 0 : n + 1;
crypto/openssl/crypto/x509/pcy_tree.c
109
int map_skip = (flags & X509_V_FLAG_INHIBIT_MAP) ? 0 : n + 1;
crypto/openssl/crypto/x509/pcy_tree.c
114
if (n < 0)
crypto/openssl/crypto/x509/pcy_tree.c
117
if (n == 0)
crypto/openssl/crypto/x509/pcy_tree.c
125
for (i = n - 1; i >= 0; i--) {
crypto/openssl/crypto/x509/pcy_tree.c
147
for (i = n - 1;
crypto/openssl/crypto/x509/pcy_tree.c
190
if ((tree->levels = OPENSSL_zalloc(sizeof(*tree->levels) * (n + 1))) == NULL) {
crypto/openssl/crypto/x509/pcy_tree.c
194
tree->nlevel = n + 1;
crypto/openssl/crypto/x509/pcy_tree.c
209
for (i = n - 1; i >= 0; i--) {
crypto/openssl/crypto/x509/t_x509.c
267
int i, n;
crypto/openssl/crypto/x509/t_x509.c
269
n = sig->length;
crypto/openssl/crypto/x509/t_x509.c
271
for (i = 0; i < n; i++) {
crypto/openssl/crypto/x509/t_x509.c
278
if (BIO_printf(bp, "%02x%s", s[i], ((i + 1) == n) ? "" : ":") <= 0)
crypto/openssl/crypto/x509/v3_addr.c
136
int i, n;
crypto/openssl/crypto/x509/v3_addr.c
149
for (n = 16; n > 1 && addr[n - 1] == 0x00 && addr[n - 2] == 0x00;
crypto/openssl/crypto/x509/v3_addr.c
150
n -= 2)
crypto/openssl/crypto/x509/v3_addr.c
152
for (i = 0; i < n; i += 2)
crypto/openssl/crypto/x509/v3_admis.c
207
const ASN1_OBJECT *NAMING_AUTHORITY_get0_authorityId(const NAMING_AUTHORITY *n)
crypto/openssl/crypto/x509/v3_admis.c
209
return n->namingAuthorityId;
crypto/openssl/crypto/x509/v3_admis.c
212
void NAMING_AUTHORITY_set0_authorityId(NAMING_AUTHORITY *n, ASN1_OBJECT *id)
crypto/openssl/crypto/x509/v3_admis.c
214
ASN1_OBJECT_free(n->namingAuthorityId);
crypto/openssl/crypto/x509/v3_admis.c
215
n->namingAuthorityId = id;
crypto/openssl/crypto/x509/v3_admis.c
218
const ASN1_IA5STRING *NAMING_AUTHORITY_get0_authorityURL(const NAMING_AUTHORITY *n)
crypto/openssl/crypto/x509/v3_admis.c
220
return n->namingAuthorityUrl;
crypto/openssl/crypto/x509/v3_admis.c
223
void NAMING_AUTHORITY_set0_authorityURL(NAMING_AUTHORITY *n, ASN1_IA5STRING *u)
crypto/openssl/crypto/x509/v3_admis.c
225
ASN1_IA5STRING_free(n->namingAuthorityUrl);
crypto/openssl/crypto/x509/v3_admis.c
226
n->namingAuthorityUrl = u;
crypto/openssl/crypto/x509/v3_admis.c
229
const ASN1_STRING *NAMING_AUTHORITY_get0_authorityText(const NAMING_AUTHORITY *n)
crypto/openssl/crypto/x509/v3_admis.c
231
return n->namingAuthorityText;
crypto/openssl/crypto/x509/v3_admis.c
234
void NAMING_AUTHORITY_set0_authorityText(NAMING_AUTHORITY *n, ASN1_STRING *t)
crypto/openssl/crypto/x509/v3_admis.c
236
ASN1_IA5STRING_free(n->namingAuthorityText);
crypto/openssl/crypto/x509/v3_admis.c
237
n->namingAuthorityText = t;
crypto/openssl/crypto/x509/v3_akid.c
101
int i, n = sk_CONF_VALUE_num(values);
crypto/openssl/crypto/x509/v3_akid.c
116
if (n == 1 && strcmp(sk_CONF_VALUE_value(values, 0)->name, "none") == 0) {
crypto/openssl/crypto/x509/v3_akid.c
120
for (i = 0; i < n; i++) {
crypto/openssl/crypto/x509/v3_ncons.c
122
static int ia5ncasecmp(const char *s1, const char *s2, size_t n)
crypto/openssl/crypto/x509/v3_ncons.c
124
for (; n > 0; n--, s1++, s2++) {
crypto/openssl/crypto/x509/v3_pci.c
166
int n;
crypto/openssl/crypto/x509/v3_pci.c
173
while ((n = BIO_read(b, buf, sizeof(buf))) > 0
crypto/openssl/crypto/x509/v3_pci.c
174
|| (n == 0 && BIO_should_retry(b))) {
crypto/openssl/crypto/x509/v3_pci.c
175
if (!n)
crypto/openssl/crypto/x509/v3_pci.c
179
(*policy)->length + n + 1);
crypto/openssl/crypto/x509/v3_pci.c
191
memcpy(&(*policy)->data[(*policy)->length], buf, n);
crypto/openssl/crypto/x509/v3_pci.c
192
(*policy)->length += n;
crypto/openssl/crypto/x509/v3_pci.c
197
if (n < 0) {
crypto/openssl/crypto/x509/x509_att.c
259
int i, n = sk_X509_ATTRIBUTE_num(x);
crypto/openssl/crypto/x509/x509_att.c
262
for (i = 0; i < n; ++i) {
crypto/openssl/crypto/x509/x509_att.c
39
int n;
crypto/openssl/crypto/x509/x509_att.c
47
n = sk_X509_ATTRIBUTE_num(sk);
crypto/openssl/crypto/x509/x509_att.c
48
for (; lastpos < n; lastpos++) {
crypto/openssl/crypto/x509/x509_cmp.c
242
int n = sk_X509_num(certs /* may be NULL */);
crypto/openssl/crypto/x509/x509_cmp.c
245
for (i = 0; i < n; i++) {
crypto/openssl/crypto/x509/x509_cmp.c
246
int j = (flags & X509_ADD_FLAG_PREPEND) == 0 ? i : n - 1 - i;
crypto/openssl/crypto/x509/x509_obj.c
140
n = q[j];
crypto/openssl/crypto/x509/x509_obj.c
141
if ((n < ' ') || (n > '~')) {
crypto/openssl/crypto/x509/x509_obj.c
144
p += ossl_to_hex(p, n);
crypto/openssl/crypto/x509/x509_obj.c
146
if (n == '/' || n == '+')
crypto/openssl/crypto/x509/x509_obj.c
148
*(p++) = n;
crypto/openssl/crypto/x509/x509_obj.c
151
n = os_toascii[q[j]];
crypto/openssl/crypto/x509/x509_obj.c
152
if ((n < os_toascii[' ']) || (n > os_toascii['~'])) {
crypto/openssl/crypto/x509/x509_obj.c
155
p += ossl_to_hex(p, n);
crypto/openssl/crypto/x509/x509_obj.c
157
if (n == os_toascii['/'] || n == os_toascii['+'])
crypto/openssl/crypto/x509/x509_obj.c
29
int n, lold, l, l1, l2, num, j, type;
crypto/openssl/crypto/x509/x509_obj.c
65
n = OBJ_obj2nid(ne->object);
crypto/openssl/crypto/x509/x509_obj.c
66
if ((n == NID_undef) || ((s = OBJ_nid2sn(n)) == NULL)) {
crypto/openssl/crypto/x509/x509_txt.c
21
const char *X509_verify_cert_error_string(long n)
crypto/openssl/crypto/x509/x509_txt.c
23
switch ((int)n) {
crypto/openssl/crypto/x509/x509_v3.c
105
int n;
crypto/openssl/crypto/x509/x509_v3.c
121
n = sk_X509_EXTENSION_num(sk);
crypto/openssl/crypto/x509/x509_v3.c
122
if (loc > n)
crypto/openssl/crypto/x509/x509_v3.c
123
loc = n;
crypto/openssl/crypto/x509/x509_v3.c
125
loc = n;
crypto/openssl/crypto/x509/x509_v3.c
44
int n;
crypto/openssl/crypto/x509/x509_v3.c
52
n = sk_X509_EXTENSION_num(sk);
crypto/openssl/crypto/x509/x509_v3.c
53
for (; lastpos < n; lastpos++) {
crypto/openssl/crypto/x509/x509_v3.c
64
int n, c;
crypto/openssl/crypto/x509/x509_v3.c
72
n = sk_X509_EXTENSION_num(sk);
crypto/openssl/crypto/x509/x509_v3.c
73
for (; lastpos < n; lastpos++) {
crypto/openssl/crypto/x509/x509_vfy.c
1894
int n;
crypto/openssl/crypto/x509/x509_vfy.c
1904
n = sk_X509_num(ctx->chain) - 1;
crypto/openssl/crypto/x509/x509_vfy.c
1905
xi = sk_X509_value(ctx->chain, n);
crypto/openssl/crypto/x509/x509_vfy.c
1908
ctx->error_depth = n;
crypto/openssl/crypto/x509/x509_vfy.c
1919
if (n > 0) {
crypto/openssl/crypto/x509/x509_vfy.c
1920
n--;
crypto/openssl/crypto/x509/x509_vfy.c
1921
ctx->error_depth = n;
crypto/openssl/crypto/x509/x509_vfy.c
1922
xs = sk_X509_value(ctx->chain, n);
crypto/openssl/crypto/x509/x509_vfy.c
1937
while (n >= 0) {
crypto/openssl/crypto/x509/x509_vfy.c
1960
int issuer_depth = n + (xs == xi ? 0 : 1);
crypto/openssl/crypto/x509/x509_vfy.c
1984
ctx, xs, n, X509_V_ERR_CERT_SIGNATURE_FAILURE);
crypto/openssl/crypto/x509/x509_vfy.c
1990
if (!ossl_x509_check_cert_time(ctx, xs, n))
crypto/openssl/crypto/x509/x509_vfy.c
1999
ctx->error_depth = n;
crypto/openssl/crypto/x509/x509_vfy.c
2003
if (--n >= 0) {
crypto/openssl/crypto/x509/x509_vfy.c
2005
xs = sk_X509_value(ctx->chain, n);
crypto/openssl/crypto/x509/x509_vfy.c
369
int i, n = sk_X509_num(sk);
crypto/openssl/crypto/x509/x509_vfy.c
371
for (i = 0; i < n; i++)
crypto/openssl/crypto/x509/x509_vfy.c
905
int n = sk_OPENSSL_STRING_num(vpm->hosts);
crypto/openssl/crypto/x509/x509_vfy.c
912
for (i = 0; i < n; ++i) {
crypto/openssl/crypto/x509/x509_vfy.c
917
return n == 0;
crypto/openssl/crypto/x509/x509name.c
104
int i, n, set_prev, set_next;
crypto/openssl/crypto/x509/x509name.c
113
n = sk_X509_NAME_ENTRY_num(sk);
crypto/openssl/crypto/x509/x509name.c
115
if (loc == n)
crypto/openssl/crypto/x509/x509name.c
136
for (i = loc; i < n; i++)
crypto/openssl/crypto/x509/x509name.c
192
int n, i, inc;
crypto/openssl/crypto/x509/x509name.c
198
n = sk_X509_NAME_ENTRY_num(sk);
crypto/openssl/crypto/x509/x509name.c
199
if (loc > n)
crypto/openssl/crypto/x509/x509name.c
200
loc = n;
crypto/openssl/crypto/x509/x509name.c
202
loc = n;
crypto/openssl/crypto/x509/x509name.c
215
if (loc >= n) {
crypto/openssl/crypto/x509/x509name.c
232
n = sk_X509_NAME_ENTRY_num(sk);
crypto/openssl/crypto/x509/x509name.c
233
for (i = loc + 1; i < n; i++)
crypto/openssl/crypto/x509/x509name.c
74
int n;
crypto/openssl/crypto/x509/x509name.c
83
n = sk_X509_NAME_ENTRY_num(sk);
crypto/openssl/crypto/x509/x509name.c
84
for (lastpos++; lastpos < n; lastpos++) {
crypto/openssl/demos/pkcs12/pkread.c
21
int n, m;
crypto/openssl/demos/pkcs12/pkread.c
30
for (n = 0; n < sk_PKCS7_num(safes) && name == NULL; n++) {
crypto/openssl/demos/pkcs12/pkread.c
31
safe = sk_PKCS7_value(safes, n);
crypto/openssl/demos/pkey/EVP_PKEY_RSA_keygen.c
128
BIGNUM *n = NULL, *e = NULL, *d = NULL, *p = NULL, *q = NULL;
crypto/openssl/demos/pkey/EVP_PKEY_RSA_keygen.c
137
if (EVP_PKEY_get_bn_param(pkey, OSSL_PKEY_PARAM_RSA_N, &n) == 0) {
crypto/openssl/demos/pkey/EVP_PKEY_RSA_keygen.c
194
BN_print_fp(stdout, n);
crypto/openssl/demos/pkey/EVP_PKEY_RSA_keygen.c
232
BN_free(n); /* not secret */
crypto/openssl/engines/e_afalg.c
108
static ossl_inline int io_setup(unsigned n, aio_context_t *ctx)
crypto/openssl/engines/e_afalg.c
110
return syscall(__NR_io_setup, n, ctx);
crypto/openssl/engines/e_afalg.c
113
static ossl_inline int eventfd(int n)
crypto/openssl/engines/e_afalg.c
115
return syscall(__NR_eventfd2, n, 0);
crypto/openssl/engines/e_afalg.c
123
static ossl_inline int io_read(aio_context_t ctx, long n, struct iocb **iocb)
crypto/openssl/engines/e_afalg.c
125
return syscall(__NR_io_submit, ctx, n, iocb);
crypto/openssl/engines/e_capi.c
670
BIGNUM *e = NULL, *n = NULL;
crypto/openssl/engines/e_capi.c
689
n = BN_new();
crypto/openssl/engines/e_capi.c
691
if (e == NULL || n == NULL) {
crypto/openssl/engines/e_capi.c
693
BN_free(n);
crypto/openssl/engines/e_capi.c
698
RSA_set0_key(rkey, n, e, NULL);
crypto/openssl/engines/e_capi.c
706
if (!lend_tobn(n, rsa_modulus, rsa_modlen)) {
crypto/openssl/engines/e_padlock.c
470
int n = EVP_CIPHER_CTX_get_num(ctx);
crypto/openssl/engines/e_padlock.c
473
if (n < 0)
crypto/openssl/engines/e_padlock.c
475
num = (unsigned int)n;
crypto/openssl/fuzz/asn1.c
306
int n;
crypto/openssl/fuzz/asn1.c
308
for (n = 0; item_type[n] != NULL; ++n) {
crypto/openssl/fuzz/asn1.c
311
const ASN1_ITEM *i = ASN1_ITEM_ptr(item_type[n]);
crypto/openssl/fuzz/test-corpus.c
63
int n;
crypto/openssl/fuzz/test-corpus.c
67
for (n = 1; n < argc; ++n) {
crypto/openssl/fuzz/test-corpus.c
68
size_t dirname_len = strlen(argv[n]);
crypto/openssl/fuzz/test-corpus.c
77
while ((filename = OPENSSL_DIR_read(&ctx, argv[n])) != NULL) {
crypto/openssl/fuzz/test-corpus.c
83
strcpy(pathname, argv[n]);
crypto/openssl/fuzz/test-corpus.c
97
testfile(argv[n]);
crypto/openssl/include/crypto/asn1_dsa.h
17
int ossl_encode_der_integer(WPACKET *pkt, const BIGNUM *n);
crypto/openssl/include/crypto/asn1_dsa.h
20
int ossl_decode_der_integer(PACKET *pkt, BIGNUM *n);
crypto/openssl/include/crypto/bn.h
89
int bn_lshift_fixed_top(BIGNUM *r, const BIGNUM *a, int n);
crypto/openssl/include/crypto/bn.h
90
int bn_rshift_fixed_top(BIGNUM *r, const BIGNUM *a, int n);
crypto/openssl/include/crypto/bn.h
93
int ossl_bn_mask_bits_fixed_top(BIGNUM *a, int n);
crypto/openssl/include/crypto/md32_common.h
100
#define ROTATE(a, n) (((a) << (n)) | (((a) & 0xffffffff) >> (32 - (n))))
crypto/openssl/include/crypto/md32_common.h
107
#define ROTATE(x, n) ({ MD32_REG_T ret; \
crypto/openssl/include/crypto/md32_common.h
110
: "r"(x), "i"(32 - (n))); ret; })
crypto/openssl/include/crypto/md32_common.h
114
#define ROTATE(x, n) ({ MD32_REG_T ret; \
crypto/openssl/include/crypto/md32_common.h
117
: "r"(x), "i"(32 - (n))); ret; })
crypto/openssl/include/crypto/md32_common.h
158
size_t n;
crypto/openssl/include/crypto/md32_common.h
170
n = c->num;
crypto/openssl/include/crypto/md32_common.h
171
if (n != 0) {
crypto/openssl/include/crypto/md32_common.h
174
if (len >= HASH_CBLOCK || len + n >= HASH_CBLOCK) {
crypto/openssl/include/crypto/md32_common.h
175
memcpy(p + n, data, HASH_CBLOCK - n);
crypto/openssl/include/crypto/md32_common.h
177
n = HASH_CBLOCK - n;
crypto/openssl/include/crypto/md32_common.h
178
data += n;
crypto/openssl/include/crypto/md32_common.h
179
len -= n;
crypto/openssl/include/crypto/md32_common.h
189
memcpy(p + n, data, len);
crypto/openssl/include/crypto/md32_common.h
195
n = len / HASH_CBLOCK;
crypto/openssl/include/crypto/md32_common.h
196
if (n > 0) {
crypto/openssl/include/crypto/md32_common.h
197
HASH_BLOCK_DATA_ORDER(c, data, n);
crypto/openssl/include/crypto/md32_common.h
198
n *= HASH_CBLOCK;
crypto/openssl/include/crypto/md32_common.h
199
data += n;
crypto/openssl/include/crypto/md32_common.h
200
len -= n;
crypto/openssl/include/crypto/md32_common.h
219
size_t n = c->num;
crypto/openssl/include/crypto/md32_common.h
221
p[n] = 0x80; /* there is always room for one */
crypto/openssl/include/crypto/md32_common.h
222
n++;
crypto/openssl/include/crypto/md32_common.h
224
if (n > (HASH_CBLOCK - 8)) {
crypto/openssl/include/crypto/md32_common.h
225
memset(p + n, 0, HASH_CBLOCK - n);
crypto/openssl/include/crypto/md32_common.h
226
n = 0;
crypto/openssl/include/crypto/md32_common.h
229
memset(p + n, 0, HASH_CBLOCK - 8 - n);
crypto/openssl/include/crypto/security_bits.h
14
uint16_t ossl_ifc_ffc_compute_security_bits(int n);
crypto/openssl/include/crypto/sha.h
21
unsigned char *ossl_sha1(const unsigned char *d, size_t n, unsigned char *md);
crypto/openssl/include/crypto/sparse_array.h
59
static ossl_unused ossl_inline ctype *ossl_sa_##type##_get(const SPARSE_ARRAY_OF(type) * sa, ossl_uintmax_t n) \
crypto/openssl/include/crypto/sparse_array.h
61
return (type *)ossl_sa_get((OPENSSL_SA *)sa, n); \
crypto/openssl/include/crypto/sparse_array.h
65
ossl_uintmax_t n, ctype *val) \
crypto/openssl/include/crypto/sparse_array.h
67
return ossl_sa_set((OPENSSL_SA *)sa, n, (void *)val); \
crypto/openssl/include/crypto/sparse_array.h
84
void *ossl_sa_get(const OPENSSL_SA *sa, ossl_uintmax_t n);
crypto/openssl/include/crypto/sparse_array.h
85
int ossl_sa_set(OPENSSL_SA *sa, ossl_uintmax_t n, void *val);
crypto/openssl/include/internal/common.h
110
#define c2ln(c, l1, l2, n) \
crypto/openssl/include/internal/common.h
112
c += n; \
crypto/openssl/include/internal/common.h
114
switch (n) { \
crypto/openssl/include/internal/common.h
168
#define l2cn(l1, l2, c, n) \
crypto/openssl/include/internal/common.h
170
c += n; \
crypto/openssl/include/internal/common.h
171
switch (n) { \
crypto/openssl/include/internal/cryptlib.h
171
size_t ossl_to_hex(char *buf, uint8_t n);
crypto/openssl/include/internal/e_os.h
130
#define EXIT(n) exit(n)
crypto/openssl/include/internal/e_os.h
200
#define EXIT(n) exit((n) ? (((n) << 3) | 2 | 0x10000000 | 0x35a000) : 1)
crypto/openssl/include/internal/e_os.h
214
#define EXIT(n) exit(n)
crypto/openssl/include/internal/priority_queue.h
38
ossl_pqueue_##type##_reserve(PRIORITY_QUEUE_OF(type) * pq, size_t n) \
crypto/openssl/include/internal/priority_queue.h
40
return ossl_pqueue_reserve((OSSL_PQUEUE *)pq, n); \
crypto/openssl/include/internal/priority_queue.h
79
int ossl_pqueue_reserve(OSSL_PQUEUE *pq, size_t n);
crypto/openssl/include/internal/provider.h
91
void *buf, size_t n, unsigned int strength);
crypto/openssl/include/internal/quic_txp.h
88
OSSL_QUIC_TX_PACKETISER *txp, size_t n);
crypto/openssl/include/internal/quic_vlint.h
90
void ossl_quic_vlint_encode_n(unsigned char *buf, uint64_t v, int n);
crypto/openssl/include/internal/refcount.h
233
static ossl_unused ossl_inline int CRYPTO_NEW_REF(CRYPTO_REF_COUNT *refcnt, int n)
crypto/openssl/include/internal/refcount.h
235
refcnt->val = n;
crypto/openssl/include/internal/refcount.h
279
static ossl_unused ossl_inline int CRYPTO_NEW_REF(CRYPTO_REF_COUNT *refcnt, int n)
crypto/openssl/include/internal/refcount.h
281
refcnt->val = n;
crypto/openssl/include/internal/sockets.h
177
#define readsocket(s, b, n) recv((s), (b), (n), 0)
crypto/openssl/include/internal/sockets.h
178
#define writesocket(s, b, n) send((s), (b), (n), 0)
crypto/openssl/include/internal/sockets.h
181
#define readsocket(s, b, n) read_s(s, b, n)
crypto/openssl/include/internal/sockets.h
182
#define writesocket(s, b, n) send(s, b, n, 0)
crypto/openssl/include/internal/sockets.h
186
#define readsocket(s, b, n) recv((s), (b), (n), 0)
crypto/openssl/include/internal/sockets.h
187
#define writesocket(s, b, n) send((s), (b), (n), 0)
crypto/openssl/include/internal/sockets.h
191
#define readsocket(s, b, n) read((s), (b), (n))
crypto/openssl/include/internal/sockets.h
192
#define writesocket(s, b, n) write((s), (char *)(b), (n))
crypto/openssl/include/internal/sockets.h
194
#define readsocket(s, b, n) read((s), (b), (n))
crypto/openssl/include/internal/sockets.h
195
#define writesocket(s, b, n) write((s), (b), (n))
crypto/openssl/include/internal/sockets.h
201
#define readsocket(s, b, n) read((s), (b), (n))
crypto/openssl/include/internal/sockets.h
202
#define writesocket(s, b, n) write((s), (b), (n))
crypto/openssl/include/internal/to_hex.h
14
static ossl_inline size_t to_hex(char *buf, uint8_t n, const char hexdig[17])
crypto/openssl/include/internal/to_hex.h
16
*buf++ = hexdig[(n >> 4) & 0xf];
crypto/openssl/include/internal/to_hex.h
17
*buf = hexdig[n & 0xf];
crypto/openssl/include/internal/to_hex.h
21
static ossl_inline size_t ossl_to_lowerhex(char *buf, uint8_t n)
crypto/openssl/include/internal/to_hex.h
25
return to_hex(buf, n, hexdig);
crypto/openssl/include/internal/tsan_assist.h
117
#define tsan_add(ptr, n) (sizeof(*(ptr)) == 8 ? _InterlockedExchangeAdd64((ptr), (n)) \
crypto/openssl/include/internal/tsan_assist.h
118
: _InterlockedExchangeAdd((ptr), (n)))
crypto/openssl/include/internal/tsan_assist.h
120
#define tsan_add(ptr, n) _InterlockedExchangeAdd((ptr), (n))
crypto/openssl/include/internal/tsan_assist.h
140
#define tsan_add(ptr, n) (*(ptr) += (n))
crypto/openssl/include/internal/tsan_assist.h
63
#define tsan_add(ptr, n) atomic_fetch_add_explicit((ptr), (n), memory_order_relaxed)
crypto/openssl/include/internal/tsan_assist.h
75
#define tsan_add(ptr, n) __atomic_fetch_add((ptr), (n), __ATOMIC_RELAXED)
crypto/openssl/include/openssl/asn1.h
140
#define sk_X509_ALGOR_new_reserve(cmp, n) ((STACK_OF(X509_ALGOR) *)OPENSSL_sk_new_reserve(ossl_check_X509_ALGOR_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/asn1.h
141
#define sk_X509_ALGOR_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_X509_ALGOR_sk_type(sk), (n))
crypto/openssl/include/openssl/asn1.h
243
#define sk_ASN1_STRING_TABLE_new_reserve(cmp, n) ((STACK_OF(ASN1_STRING_TABLE) *)OPENSSL_sk_new_reserve(ossl_check_ASN1_STRING_TABLE_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/asn1.h
244
#define sk_ASN1_STRING_TABLE_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_ASN1_STRING_TABLE_sk_type(sk), (n))
crypto/openssl/include/openssl/asn1.h
561
#define sk_ASN1_TYPE_new_reserve(cmp, n) ((STACK_OF(ASN1_TYPE) *)OPENSSL_sk_new_reserve(ossl_check_ASN1_TYPE_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/asn1.h
562
#define sk_ASN1_TYPE_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_ASN1_TYPE_sk_type(sk), (n))
crypto/openssl/include/openssl/asn1.h
626
#define sk_ASN1_OBJECT_new_reserve(cmp, n) ((STACK_OF(ASN1_OBJECT) *)OPENSSL_sk_new_reserve(ossl_check_ASN1_OBJECT_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/asn1.h
627
#define sk_ASN1_OBJECT_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_ASN1_OBJECT_sk_type(sk), (n))
crypto/openssl/include/openssl/asn1.h
667
OSSL_DEPRECATEDIN_3_0 void ASN1_STRING_length_set(ASN1_STRING *x, int n);
crypto/openssl/include/openssl/asn1.h
677
int ASN1_BIT_STRING_set_bit(ASN1_BIT_STRING *a, int n, int value);
crypto/openssl/include/openssl/asn1.h
678
int ASN1_BIT_STRING_get_bit(const ASN1_BIT_STRING *a, int n);
crypto/openssl/include/openssl/asn1.h
694
#define sk_ASN1_INTEGER_new_reserve(cmp, n) ((STACK_OF(ASN1_INTEGER) *)OPENSSL_sk_new_reserve(ossl_check_ASN1_INTEGER_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/asn1.h
695
#define sk_ASN1_INTEGER_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_ASN1_INTEGER_sk_type(sk), (n))
crypto/openssl/include/openssl/asn1.h
757
#define sk_ASN1_UTF8STRING_new_reserve(cmp, n) ((STACK_OF(ASN1_UTF8STRING) *)OPENSSL_sk_new_reserve(ossl_check_ASN1_UTF8STRING_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/asn1.h
758
#define sk_ASN1_UTF8STRING_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_ASN1_UTF8STRING_sk_type(sk), (n))
crypto/openssl/include/openssl/asn1.h
796
#define sk_ASN1_GENERALSTRING_new_reserve(cmp, n) ((STACK_OF(ASN1_GENERALSTRING) *)OPENSSL_sk_new_reserve(ossl_check_ASN1_GENERALSTRING_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/asn1.h
797
#define sk_ASN1_GENERALSTRING_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_ASN1_GENERALSTRING_sk_type(sk), (n))
crypto/openssl/include/openssl/asn1t.h
891
#define sk_ASN1_VALUE_new_reserve(cmp, n) ((STACK_OF(ASN1_VALUE) *)OPENSSL_sk_new_reserve(ossl_check_ASN1_VALUE_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/asn1t.h
892
#define sk_ASN1_VALUE_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_ASN1_VALUE_sk_type(sk), (n))
crypto/openssl/include/openssl/bio.h
344
#define sk_BIO_new_reserve(cmp, n) ((STACK_OF(BIO) *)OPENSSL_sk_new_reserve(ossl_check_BIO_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/bio.h
345
#define sk_BIO_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_BIO_sk_type(sk), (n))
crypto/openssl/include/openssl/bio.h
505
#define BIO_set_nbio(b, n) BIO_ctrl(b, BIO_C_SET_NBIO, (n), NULL)
crypto/openssl/include/openssl/bio.h
506
#define BIO_set_tfo(b, n) BIO_ctrl(b, BIO_C_SET_TFO, (n), NULL)
crypto/openssl/include/openssl/bio.h
528
#define BIO_set_conn_mode(b, n) BIO_ctrl(b, BIO_C_SET_CONNECT_MODE, (n), NULL)
crypto/openssl/include/openssl/bio.h
543
#define BIO_set_nbio_accept(b, n) BIO_ctrl(b, BIO_C_SET_ACCEPT, 2, (n) ? (void *)"a" : NULL)
crypto/openssl/include/openssl/bio.h
548
#define BIO_set_tfo_accept(b, n) BIO_ctrl(b, BIO_C_SET_ACCEPT, 5, (n) ? (void *)"a" : NULL)
crypto/openssl/include/openssl/bio.h
968
int BIO_snprintf(char *buf, size_t n, const char *format, ...)
crypto/openssl/include/openssl/bio.h
970
int BIO_vsnprintf(char *buf, size_t n, const char *format, va_list args)
crypto/openssl/include/openssl/bn.h
267
void BN_set_negative(BIGNUM *b, int n);
crypto/openssl/include/openssl/bn.h
291
int BN_mod_lshift(BIGNUM *r, const BIGNUM *a, int n, const BIGNUM *m,
crypto/openssl/include/openssl/bn.h
293
int BN_mod_lshift_quick(BIGNUM *r, const BIGNUM *a, int n, const BIGNUM *m);
crypto/openssl/include/openssl/bn.h
305
int BN_is_bit_set(const BIGNUM *a, int n);
crypto/openssl/include/openssl/bn.h
306
int BN_lshift(BIGNUM *r, const BIGNUM *a, int n);
crypto/openssl/include/openssl/bn.h
330
int BN_mask_bits(BIGNUM *a, int n);
crypto/openssl/include/openssl/bn.h
336
int BN_rshift(BIGNUM *r, const BIGNUM *a, int n);
crypto/openssl/include/openssl/bn.h
341
int BN_set_bit(BIGNUM *a, int n);
crypto/openssl/include/openssl/bn.h
342
int BN_clear_bit(BIGNUM *a, int n);
crypto/openssl/include/openssl/bn.h
354
const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx);
crypto/openssl/include/openssl/bn.h
356
const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx);
crypto/openssl/include/openssl/bn.h
427
int BN_BLINDING_convert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx);
crypto/openssl/include/openssl/bn.h
428
int BN_BLINDING_invert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx);
crypto/openssl/include/openssl/bn.h
429
int BN_BLINDING_convert_ex(BIGNUM *n, BIGNUM *r, BN_BLINDING *b, BN_CTX *);
crypto/openssl/include/openssl/bn.h
430
int BN_BLINDING_invert_ex(BIGNUM *n, const BIGNUM *r, BN_BLINDING *b,
crypto/openssl/include/openssl/bn.h
76
void BN_set_flags(BIGNUM *b, int n);
crypto/openssl/include/openssl/bn.h
77
int BN_get_flags(const BIGNUM *b, int n);
crypto/openssl/include/openssl/cmp.h
232
#define sk_OSSL_CMP_CERTSTATUS_new_reserve(cmp, n) ((STACK_OF(OSSL_CMP_CERTSTATUS) *)OPENSSL_sk_new_reserve(ossl_check_OSSL_CMP_CERTSTATUS_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/cmp.h
233
#define sk_OSSL_CMP_CERTSTATUS_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_OSSL_CMP_CERTSTATUS_sk_type(sk), (n))
crypto/openssl/include/openssl/cmp.h
263
#define sk_OSSL_CMP_ITAV_new_reserve(cmp, n) ((STACK_OF(OSSL_CMP_ITAV) *)OPENSSL_sk_new_reserve(ossl_check_OSSL_CMP_ITAV_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/cmp.h
264
#define sk_OSSL_CMP_ITAV_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_OSSL_CMP_ITAV_sk_type(sk), (n))
crypto/openssl/include/openssl/cmp.h
294
#define sk_OSSL_CMP_CRLSTATUS_new_reserve(cmp, n) ((STACK_OF(OSSL_CMP_CRLSTATUS) *)OPENSSL_sk_new_reserve(ossl_check_OSSL_CMP_CRLSTATUS_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/cmp.h
295
#define sk_OSSL_CMP_CRLSTATUS_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_OSSL_CMP_CRLSTATUS_sk_type(sk), (n))
crypto/openssl/include/openssl/cmp.h
338
#define sk_OSSL_CMP_PKISI_new_reserve(cmp, n) ((STACK_OF(OSSL_CMP_PKISI) *)OPENSSL_sk_new_reserve(ossl_check_OSSL_CMP_PKISI_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/cmp.h
339
#define sk_OSSL_CMP_PKISI_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_OSSL_CMP_PKISI_sk_type(sk), (n))
crypto/openssl/include/openssl/cmp.h
368
#define sk_OSSL_CMP_CERTREPMESSAGE_new_reserve(cmp, n) ((STACK_OF(OSSL_CMP_CERTREPMESSAGE) *)OPENSSL_sk_new_reserve(ossl_check_OSSL_CMP_CERTREPMESSAGE_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/cmp.h
369
#define sk_OSSL_CMP_CERTREPMESSAGE_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_OSSL_CMP_CERTREPMESSAGE_sk_type(sk), (n))
crypto/openssl/include/openssl/cmp.h
400
#define sk_OSSL_CMP_CERTRESPONSE_new_reserve(cmp, n) ((STACK_OF(OSSL_CMP_CERTRESPONSE) *)OPENSSL_sk_new_reserve(ossl_check_OSSL_CMP_CERTRESPONSE_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/cmp.h
401
#define sk_OSSL_CMP_CERTRESPONSE_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_OSSL_CMP_CERTRESPONSE_sk_type(sk), (n))
crypto/openssl/include/openssl/cms.h
106
#define sk_CMS_RecipientInfo_new_reserve(cmp, n) ((STACK_OF(CMS_RecipientInfo) *)OPENSSL_sk_new_reserve(ossl_check_CMS_RecipientInfo_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/cms.h
107
#define sk_CMS_RecipientInfo_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_CMS_RecipientInfo_sk_type(sk), (n))
crypto/openssl/include/openssl/cms.h
132
#define sk_CMS_RevocationInfoChoice_new_reserve(cmp, n) ((STACK_OF(CMS_RevocationInfoChoice) *)OPENSSL_sk_new_reserve(ossl_check_CMS_RevocationInfoChoice_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/cms.h
133
#define sk_CMS_RevocationInfoChoice_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_CMS_RevocationInfoChoice_sk_type(sk), (n))
crypto/openssl/include/openssl/cms.h
54
#define sk_CMS_SignerInfo_new_reserve(cmp, n) ((STACK_OF(CMS_SignerInfo) *)OPENSSL_sk_new_reserve(ossl_check_CMS_SignerInfo_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/cms.h
55
#define sk_CMS_SignerInfo_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_CMS_SignerInfo_sk_type(sk), (n))
crypto/openssl/include/openssl/cms.h
80
#define sk_CMS_RecipientEncryptedKey_new_reserve(cmp, n) ((STACK_OF(CMS_RecipientEncryptedKey) *)OPENSSL_sk_new_reserve(ossl_check_CMS_RecipientEncryptedKey_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/cms.h
81
#define sk_CMS_RecipientEncryptedKey_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_CMS_RecipientEncryptedKey_sk_type(sk), (n))
crypto/openssl/include/openssl/comp.h
74
#define sk_SSL_COMP_new_reserve(cmp, n) ((STACK_OF(SSL_COMP) *)OPENSSL_sk_new_reserve(ossl_check_SSL_COMP_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/comp.h
75
#define sk_SSL_COMP_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_SSL_COMP_sk_type(sk), (n))
crypto/openssl/include/openssl/conf.h
178
#define NCONF_get_number(c, g, n, r) NCONF_get_number_e(c, g, n, r)
crypto/openssl/include/openssl/conf.h
52
#define sk_CONF_VALUE_new_reserve(cmp, n) ((STACK_OF(CONF_VALUE) *)OPENSSL_sk_new_reserve(ossl_check_CONF_VALUE_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/conf.h
53
#define sk_CONF_VALUE_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_CONF_VALUE_sk_type(sk), (n))
crypto/openssl/include/openssl/core_dispatch.h
173
(char *buf, size_t n, const char *fmt, va_list args))
crypto/openssl/include/openssl/core_dispatch.h
255
OSSL_CORE_MAKE_FUNC(int, provider_random_bytes, (void *provctx, int which, void *buf, size_t n, unsigned int strength))
crypto/openssl/include/openssl/crmf.h
133
#define sk_OSSL_CRMF_CERTID_new_reserve(cmp, n) ((STACK_OF(OSSL_CRMF_CERTID) *)OPENSSL_sk_new_reserve(ossl_check_OSSL_CRMF_CERTID_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/crmf.h
134
#define sk_OSSL_CRMF_CERTID_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_OSSL_CRMF_CERTID_sk_type(sk), (n))
crypto/openssl/include/openssl/crmf.h
64
#define sk_OSSL_CRMF_MSG_new_reserve(cmp, n) ((STACK_OF(OSSL_CRMF_MSG) *)OPENSSL_sk_new_reserve(ossl_check_OSSL_CRMF_MSG_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/crmf.h
65
#define sk_OSSL_CRMF_MSG_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_OSSL_CRMF_MSG_sk_type(sk), (n))
crypto/openssl/include/openssl/crmf.h
96
#define sk_OSSL_CRMF_ATTRIBUTETYPEANDVALUE_new_reserve(cmp, n) ((STACK_OF(OSSL_CRMF_ATTRIBUTETYPEANDVALUE) *)OPENSSL_sk_new_reserve(ossl_check_OSSL_CRMF_ATTRIBUTETYPEANDVALUE_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/crmf.h
97
#define sk_OSSL_CRMF_ATTRIBUTETYPEANDVALUE_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_OSSL_CRMF_ATTRIBUTETYPEANDVALUE_sk_type(sk), (n))
crypto/openssl/include/openssl/crypto.h
124
#define OPENSSL_strndup(str, n) \
crypto/openssl/include/openssl/crypto.h
125
CRYPTO_strndup(str, n, OPENSSL_FILE, OPENSSL_LINE)
crypto/openssl/include/openssl/crypto.h
150
int OPENSSL_strncasecmp(const char *s1, const char *s2, size_t n);
crypto/openssl/include/openssl/crypto.h
207
#define sk_void_new_reserve(cmp, n) ((STACK_OF(void) *)OPENSSL_sk_new_reserve(ossl_check_void_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/crypto.h
208
#define sk_void_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_void_sk_type(sk), (n))
crypto/openssl/include/openssl/ct.h
49
#define sk_SCT_new_reserve(cmp, n) ((STACK_OF(SCT) *)OPENSSL_sk_new_reserve(ossl_check_SCT_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/ct.h
50
#define sk_SCT_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_SCT_sk_type(sk), (n))
crypto/openssl/include/openssl/ct.h
75
#define sk_CTLOG_new_reserve(cmp, n) ((STACK_OF(CTLOG) *)OPENSSL_sk_new_reserve(ossl_check_CTLOG_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/ct.h
76
#define sk_CTLOG_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_CTLOG_sk_type(sk), (n))
crypto/openssl/include/openssl/des.h
67
#define DES_ede2_cfb64_encrypt(i, o, l, k1, k2, iv, n, e) \
crypto/openssl/include/openssl/des.h
68
DES_ede3_cfb64_encrypt((i), (o), (l), (k1), (k2), (k1), (iv), (n), (e))
crypto/openssl/include/openssl/des.h
70
#define DES_ede2_ofb64_encrypt(i, o, l, k1, k2, iv, n) \
crypto/openssl/include/openssl/des.h
71
DES_ede3_ofb64_encrypt((i), (o), (l), (k1), (k2), (k1), (iv), (n))
crypto/openssl/include/openssl/dsa.h
194
#define DSA_is_prime(n, callback, cb_arg) \
crypto/openssl/include/openssl/dsa.h
195
BN_is_prime(n, DSS_prime_checks, callback, NULL, cb_arg)
crypto/openssl/include/openssl/ec.h
871
const BIGNUM *n, size_t num,
crypto/openssl/include/openssl/ec.h
885
int EC_POINT_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *n,
crypto/openssl/include/openssl/ess.h
41
#define sk_ESS_CERT_ID_new_reserve(cmp, n) ((STACK_OF(ESS_CERT_ID) *)OPENSSL_sk_new_reserve(ossl_check_ESS_CERT_ID_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/ess.h
42
#define sk_ESS_CERT_ID_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_ESS_CERT_ID_sk_type(sk), (n))
crypto/openssl/include/openssl/ess.h
74
#define sk_ESS_CERT_ID_V2_new_reserve(cmp, n) ((STACK_OF(ESS_CERT_ID_V2) *)OPENSSL_sk_new_reserve(ossl_check_ESS_CERT_ID_V2_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/ess.h
75
#define sk_ESS_CERT_ID_V2_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_ESS_CERT_ID_V2_sk_type(sk), (n))
crypto/openssl/include/openssl/evp.h
696
#define EVP_add_cipher_alias(n, alias) \
crypto/openssl/include/openssl/evp.h
697
OBJ_NAME_add((alias), OBJ_NAME_TYPE_CIPHER_METH | OBJ_NAME_ALIAS, (n))
crypto/openssl/include/openssl/evp.h
698
#define EVP_add_digest_alias(n, alias) \
crypto/openssl/include/openssl/evp.h
699
OBJ_NAME_add((alias), OBJ_NAME_TYPE_MD_METH | OBJ_NAME_ALIAS, (n))
crypto/openssl/include/openssl/evp.h
901
int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n);
crypto/openssl/include/openssl/evp.h
907
int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n);
crypto/openssl/include/openssl/kdf.h
125
int EVP_PKEY_CTX_set_scrypt_N(EVP_PKEY_CTX *ctx, uint64_t n);
crypto/openssl/include/openssl/md2.h
48
OSSL_DEPRECATEDIN_3_0 unsigned char *MD2(const unsigned char *d, size_t n,
crypto/openssl/include/openssl/md4.h
53
OSSL_DEPRECATEDIN_3_0 unsigned char *MD4(const unsigned char *d, size_t n,
crypto/openssl/include/openssl/md5.h
52
OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n,
crypto/openssl/include/openssl/mdc2.h
46
OSSL_DEPRECATEDIN_3_0 unsigned char *MDC2(const unsigned char *d, size_t n,
crypto/openssl/include/openssl/objects.h
66
ASN1_OBJECT *OBJ_nid2obj(int n);
crypto/openssl/include/openssl/objects.h
67
const char *OBJ_nid2ln(int n);
crypto/openssl/include/openssl/objects.h
68
const char *OBJ_nid2sn(int n);
crypto/openssl/include/openssl/ocsp.h
102
#define sk_OCSP_CERTID_new_reserve(cmp, n) ((STACK_OF(OCSP_CERTID) *)OPENSSL_sk_new_reserve(ossl_check_OCSP_CERTID_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/ocsp.h
103
#define sk_OCSP_CERTID_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_OCSP_CERTID_sk_type(sk), (n))
crypto/openssl/include/openssl/ocsp.h
128
#define sk_OCSP_ONEREQ_new_reserve(cmp, n) ((STACK_OF(OCSP_ONEREQ) *)OPENSSL_sk_new_reserve(ossl_check_OCSP_ONEREQ_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/ocsp.h
129
#define sk_OCSP_ONEREQ_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_OCSP_ONEREQ_sk_type(sk), (n))
crypto/openssl/include/openssl/ocsp.h
170
#define sk_OCSP_RESPID_new_reserve(cmp, n) ((STACK_OF(OCSP_RESPID) *)OPENSSL_sk_new_reserve(ossl_check_OCSP_RESPID_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/ocsp.h
171
#define sk_OCSP_RESPID_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_OCSP_RESPID_sk_type(sk), (n))
crypto/openssl/include/openssl/ocsp.h
209
#define sk_OCSP_SINGLERESP_new_reserve(cmp, n) ((STACK_OF(OCSP_SINGLERESP) *)OPENSSL_sk_new_reserve(ossl_check_OCSP_SINGLERESP_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/ocsp.h
210
#define sk_OCSP_SINGLERESP_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_OCSP_SINGLERESP_sk_type(sk), (n))
crypto/openssl/include/openssl/ocsp.h
396
X509_EXTENSION *OCSP_crlID_new(const char *url, long *n, char *tim);
crypto/openssl/include/openssl/pkcs12.h
265
int saltlen, int id, int iter, int n,
crypto/openssl/include/openssl/pkcs12.h
268
int saltlen, int id, int iter, int n,
crypto/openssl/include/openssl/pkcs12.h
272
int saltlen, int id, int iter, int n,
crypto/openssl/include/openssl/pkcs12.h
275
int saltlen, int id, int iter, int n,
crypto/openssl/include/openssl/pkcs12.h
279
int saltlen, int id, int iter, int n,
crypto/openssl/include/openssl/pkcs12.h
282
int saltlen, int id, int iter, int n,
crypto/openssl/include/openssl/pkcs12.h
73
#define sk_PKCS12_SAFEBAG_new_reserve(cmp, n) ((STACK_OF(PKCS12_SAFEBAG) *)OPENSSL_sk_new_reserve(ossl_check_PKCS12_SAFEBAG_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/pkcs12.h
74
#define sk_PKCS12_SAFEBAG_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_PKCS12_SAFEBAG_sk_type(sk), (n))
crypto/openssl/include/openssl/pkcs7.h
114
#define sk_PKCS7_RECIP_INFO_new_reserve(cmp, n) ((STACK_OF(PKCS7_RECIP_INFO) *)OPENSSL_sk_new_reserve(ossl_check_PKCS7_RECIP_INFO_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/pkcs7.h
115
#define sk_PKCS7_RECIP_INFO_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_PKCS7_RECIP_INFO_sk_type(sk), (n))
crypto/openssl/include/openssl/pkcs7.h
230
#define sk_PKCS7_new_reserve(cmp, n) ((STACK_OF(PKCS7) *)OPENSSL_sk_new_reserve(ossl_check_PKCS7_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/pkcs7.h
231
#define sk_PKCS7_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_PKCS7_sk_type(sk), (n))
crypto/openssl/include/openssl/pkcs7.h
76
#define sk_PKCS7_SIGNER_INFO_new_reserve(cmp, n) ((STACK_OF(PKCS7_SIGNER_INFO) *)OPENSSL_sk_new_reserve(ossl_check_PKCS7_SIGNER_INFO_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/pkcs7.h
77
#define sk_PKCS7_SIGNER_INFO_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_PKCS7_SIGNER_INFO_sk_type(sk), (n))
crypto/openssl/include/openssl/ripemd.h
49
OSSL_DEPRECATEDIN_3_0 unsigned char *RIPEMD160(const unsigned char *d, size_t n,
crypto/openssl/include/openssl/rsa.h
218
OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
crypto/openssl/include/openssl/rsa.h
229
const BIGNUM **n, const BIGNUM **e,
crypto/openssl/include/openssl/safestack.h
213
#define sk_OPENSSL_STRING_new_reserve(cmp, n) ((STACK_OF(OPENSSL_STRING) *)OPENSSL_sk_new_reserve(ossl_check_OPENSSL_STRING_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/safestack.h
214
#define sk_OPENSSL_STRING_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_OPENSSL_STRING_sk_type(sk), (n))
crypto/openssl/include/openssl/safestack.h
239
#define sk_OPENSSL_CSTRING_new_reserve(cmp, n) ((STACK_OF(OPENSSL_CSTRING) *)OPENSSL_sk_new_reserve(ossl_check_OPENSSL_CSTRING_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/safestack.h
240
#define sk_OPENSSL_CSTRING_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_OPENSSL_CSTRING_sk_type(sk), (n))
crypto/openssl/include/openssl/safestack.h
275
#define sk_OPENSSL_BLOCK_new_reserve(cmp, n) ((STACK_OF(OPENSSL_BLOCK) *)OPENSSL_sk_new_reserve(ossl_check_OPENSSL_BLOCK_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/safestack.h
276
#define sk_OPENSSL_BLOCK_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_OPENSSL_BLOCK_sk_type(sk), (n))
crypto/openssl/include/openssl/safestack.h
87
static ossl_unused ossl_inline STACK_OF(t1) *sk_##t1##_new_reserve(sk_##t1##_compfunc compare, int n) \
crypto/openssl/include/openssl/safestack.h
89
return (STACK_OF(t1) *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n); \
crypto/openssl/include/openssl/safestack.h
91
static ossl_unused ossl_inline int sk_##t1##_reserve(STACK_OF(t1) *sk, int n) \
crypto/openssl/include/openssl/safestack.h
93
return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n); \
crypto/openssl/include/openssl/sha.h
132
unsigned char *SHA384(const unsigned char *d, size_t n, unsigned char *md);
crypto/openssl/include/openssl/sha.h
133
unsigned char *SHA512(const unsigned char *d, size_t n, unsigned char *md);
crypto/openssl/include/openssl/sha.h
55
unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md);
crypto/openssl/include/openssl/sha.h
81
unsigned char *SHA224(const unsigned char *d, size_t n, unsigned char *md);
crypto/openssl/include/openssl/sha.h
82
unsigned char *SHA256(const unsigned char *d, size_t n, unsigned char *md);
crypto/openssl/include/openssl/srp.h
157
#define sk_SRP_gN_new_reserve(cmp, n) ((STACK_OF(SRP_gN) *)OPENSSL_sk_new_reserve(ossl_check_SRP_gN_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/srp.h
158
#define sk_SRP_gN_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_SRP_gN_sk_type(sk), (n))
crypto/openssl/include/openssl/srp.h
55
#define sk_SRP_gN_cache_new_reserve(cmp, n) ((STACK_OF(SRP_gN_cache) *)OPENSSL_sk_new_reserve(ossl_check_SRP_gN_cache_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/srp.h
56
#define sk_SRP_gN_cache_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_SRP_gN_cache_sk_type(sk), (n))
crypto/openssl/include/openssl/srp.h
96
#define sk_SRP_user_pwd_new_reserve(cmp, n) ((STACK_OF(SRP_user_pwd) *)OPENSSL_sk_new_reserve(ossl_check_SRP_user_pwd_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/srp.h
97
#define sk_SRP_user_pwd_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_SRP_user_pwd_sk_type(sk), (n))
crypto/openssl/include/openssl/ssl.h
1006
#define sk_SSL_CIPHER_new_reserve(cmp, n) ((STACK_OF(SSL_CIPHER) *)OPENSSL_sk_new_reserve(ossl_check_SSL_CIPHER_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/ssl.h
1007
#define sk_SSL_CIPHER_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_SSL_CIPHER_sk_type(sk), (n))
crypto/openssl/include/openssl/ssl.h
1508
#define SSL_get_shared_group(s, n) \
crypto/openssl/include/openssl/ssl.h
1509
SSL_ctrl(s, SSL_CTRL_GET_SHARED_GROUP, n, NULL)
crypto/openssl/include/openssl/ssl.h
1659
__owur const char *SSL_get_cipher_list(const SSL *s, int n);
crypto/openssl/include/openssl/ssl.h
254
#define sk_SRTP_PROTECTION_PROFILE_new_reserve(cmp, n) ((STACK_OF(SRTP_PROTECTION_PROFILE) *)OPENSSL_sk_new_reserve(ossl_check_SRTP_PROTECTION_PROFILE_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/ssl.h
255
#define sk_SRTP_PROTECTION_PROFILE_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_SRTP_PROTECTION_PROFILE_sk_type(sk), (n))
crypto/openssl/include/openssl/ssl.h
350
#define SSL_OP_BIT(n) ((uint64_t)1 << (uint64_t)n)
crypto/openssl/include/openssl/stack.h
36
OPENSSL_STACK *OPENSSL_sk_new_reserve(OPENSSL_sk_compfunc c, int n);
crypto/openssl/include/openssl/stack.h
37
int OPENSSL_sk_reserve(OPENSSL_STACK *st, int n);
crypto/openssl/include/openssl/ui.h
301
#define sk_UI_STRING_new_reserve(cmp, n) ((STACK_OF(UI_STRING) *)OPENSSL_sk_new_reserve(ossl_check_UI_STRING_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/ui.h
302
#define sk_UI_STRING_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_UI_STRING_sk_type(sk), (n))
crypto/openssl/include/openssl/x509.h
112
#define sk_X509_REVOKED_new_reserve(cmp, n) ((STACK_OF(X509_REVOKED) *)OPENSSL_sk_new_reserve(ossl_check_X509_REVOKED_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/x509.h
113
#define sk_X509_REVOKED_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_X509_REVOKED_sk_type(sk), (n))
crypto/openssl/include/openssl/x509.h
138
#define sk_X509_CRL_new_reserve(cmp, n) ((STACK_OF(X509_CRL) *)OPENSSL_sk_new_reserve(ossl_check_X509_CRL_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/x509.h
139
#define sk_X509_CRL_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_X509_CRL_sk_type(sk), (n))
crypto/openssl/include/openssl/x509.h
213
#define sk_X509_NAME_ENTRY_new_reserve(cmp, n) ((STACK_OF(X509_NAME_ENTRY) *)OPENSSL_sk_new_reserve(ossl_check_X509_NAME_ENTRY_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/x509.h
214
#define sk_X509_NAME_ENTRY_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_X509_NAME_ENTRY_sk_type(sk), (n))
crypto/openssl/include/openssl/x509.h
246
#define sk_X509_EXTENSION_new_reserve(cmp, n) ((STACK_OF(X509_EXTENSION) *)OPENSSL_sk_new_reserve(ossl_check_X509_EXTENSION_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/x509.h
247
#define sk_X509_EXTENSION_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_X509_EXTENSION_sk_type(sk), (n))
crypto/openssl/include/openssl/x509.h
277
#define sk_X509_ATTRIBUTE_new_reserve(cmp, n) ((STACK_OF(X509_ATTRIBUTE) *)OPENSSL_sk_new_reserve(ossl_check_X509_ATTRIBUTE_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/x509.h
278
#define sk_X509_ATTRIBUTE_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_X509_ATTRIBUTE_sk_type(sk), (n))
crypto/openssl/include/openssl/x509.h
401
#define sk_X509_INFO_new_reserve(cmp, n) ((STACK_OF(X509_INFO) *)OPENSSL_sk_new_reserve(ossl_check_X509_INFO_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/x509.h
402
#define sk_X509_INFO_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_X509_INFO_sk_type(sk), (n))
crypto/openssl/include/openssl/x509.h
522
const char *X509_verify_cert_error_string(long n);
crypto/openssl/include/openssl/x509.h
60
#define sk_X509_NAME_new_reserve(cmp, n) ((STACK_OF(X509_NAME) *)OPENSSL_sk_new_reserve(ossl_check_X509_NAME_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/x509.h
61
#define sk_X509_NAME_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_X509_NAME_sk_type(sk), (n))
crypto/openssl/include/openssl/x509.h
86
#define sk_X509_new_reserve(cmp, n) ((STACK_OF(X509) *)OPENSSL_sk_new_reserve(ossl_check_X509_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/x509.h
87
#define sk_X509_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_X509_sk_type(sk), (n))
crypto/openssl/include/openssl/x509_acert.h
147
#define sk_OSSL_IETF_ATTR_SYNTAX_VALUE_new_reserve(cmp, n) ((STACK_OF(OSSL_IETF_ATTR_SYNTAX_VALUE) *)OPENSSL_sk_new_reserve(ossl_check_OSSL_IETF_ATTR_SYNTAX_VALUE_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/x509_acert.h
148
#define sk_OSSL_IETF_ATTR_SYNTAX_VALUE_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_OSSL_IETF_ATTR_SYNTAX_VALUE_sk_type(sk), (n))
crypto/openssl/include/openssl/x509_acert.h
217
#define sk_OSSL_TARGET_new_reserve(cmp, n) ((STACK_OF(OSSL_TARGET) *)OPENSSL_sk_new_reserve(ossl_check_OSSL_TARGET_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/x509_acert.h
218
#define sk_OSSL_TARGET_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_OSSL_TARGET_sk_type(sk), (n))
crypto/openssl/include/openssl/x509_acert.h
247
#define sk_OSSL_TARGETS_new_reserve(cmp, n) ((STACK_OF(OSSL_TARGETS) *)OPENSSL_sk_new_reserve(ossl_check_OSSL_TARGETS_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/x509_acert.h
248
#define sk_OSSL_TARGETS_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_OSSL_TARGETS_sk_type(sk), (n))
crypto/openssl/include/openssl/x509_acert.h
284
#define sk_OSSL_ISSUER_SERIAL_new_reserve(cmp, n) ((STACK_OF(OSSL_ISSUER_SERIAL) *)OPENSSL_sk_new_reserve(ossl_check_OSSL_ISSUER_SERIAL_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/x509_acert.h
285
#define sk_OSSL_ISSUER_SERIAL_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_OSSL_ISSUER_SERIAL_sk_type(sk), (n))
crypto/openssl/include/openssl/x509_vfy.h
103
#define sk_X509_OBJECT_new_reserve(cmp, n) ((STACK_OF(X509_OBJECT) *)OPENSSL_sk_new_reserve(ossl_check_X509_OBJECT_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/x509_vfy.h
104
#define sk_X509_OBJECT_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_X509_OBJECT_sk_type(sk), (n))
crypto/openssl/include/openssl/x509_vfy.h
129
#define sk_X509_VERIFY_PARAM_new_reserve(cmp, n) ((STACK_OF(X509_VERIFY_PARAM) *)OPENSSL_sk_new_reserve(ossl_check_X509_VERIFY_PARAM_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/x509_vfy.h
130
#define sk_X509_VERIFY_PARAM_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_X509_VERIFY_PARAM_sk_type(sk), (n))
crypto/openssl/include/openssl/x509_vfy.h
168
#define sk_X509_TRUST_new_reserve(cmp, n) ((STACK_OF(X509_TRUST) *)OPENSSL_sk_new_reserve(ossl_check_X509_TRUST_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/x509_vfy.h
169
#define sk_X509_TRUST_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_X509_TRUST_sk_type(sk), (n))
crypto/openssl/include/openssl/x509_vfy.h
77
#define sk_X509_LOOKUP_new_reserve(cmp, n) ((STACK_OF(X509_LOOKUP) *)OPENSSL_sk_new_reserve(ossl_check_X509_LOOKUP_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/x509_vfy.h
78
#define sk_X509_LOOKUP_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_X509_LOOKUP_sk_type(sk), (n))
crypto/openssl/include/openssl/x509v3.h
1092
#define sk_X509_POLICY_NODE_new_reserve(cmp, n) ((STACK_OF(X509_POLICY_NODE) *)OPENSSL_sk_new_reserve(ossl_check_X509_POLICY_NODE_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/x509v3.h
1093
#define sk_X509_POLICY_NODE_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_X509_POLICY_NODE_sk_type(sk), (n))
crypto/openssl/include/openssl/x509v3.h
1138
#define sk_ASIdOrRange_new_reserve(cmp, n) ((STACK_OF(ASIdOrRange) *)OPENSSL_sk_new_reserve(ossl_check_ASIdOrRange_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/x509v3.h
1139
#define sk_ASIdOrRange_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_ASIdOrRange_sk_type(sk), (n))
crypto/openssl/include/openssl/x509v3.h
119
#define sk_X509V3_EXT_METHOD_new_reserve(cmp, n) ((STACK_OF(X509V3_EXT_METHOD) *)OPENSSL_sk_new_reserve(ossl_check_X509V3_EXT_METHOD_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/x509v3.h
120
#define sk_X509V3_EXT_METHOD_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_X509V3_EXT_METHOD_sk_type(sk), (n))
crypto/openssl/include/openssl/x509v3.h
1205
#define sk_IPAddressOrRange_new_reserve(cmp, n) ((STACK_OF(IPAddressOrRange) *)OPENSSL_sk_new_reserve(ossl_check_IPAddressOrRange_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/x509v3.h
1206
#define sk_IPAddressOrRange_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_IPAddressOrRange_sk_type(sk), (n))
crypto/openssl/include/openssl/x509v3.h
1253
#define sk_IPAddressFamily_new_reserve(cmp, n) ((STACK_OF(IPAddressFamily) *)OPENSSL_sk_new_reserve(ossl_check_IPAddressFamily_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/x509v3.h
1254
#define sk_IPAddressFamily_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_IPAddressFamily_sk_type(sk), (n))
crypto/openssl/include/openssl/x509v3.h
1355
#define sk_ASN1_STRING_new_reserve(cmp, n) ((STACK_OF(ASN1_STRING) *)OPENSSL_sk_new_reserve(ossl_check_ASN1_STRING_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/x509v3.h
1356
#define sk_ASN1_STRING_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_ASN1_STRING_sk_type(sk), (n))
crypto/openssl/include/openssl/x509v3.h
1396
#define sk_PROFESSION_INFO_new_reserve(cmp, n) ((STACK_OF(PROFESSION_INFO) *)OPENSSL_sk_new_reserve(ossl_check_PROFESSION_INFO_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/x509v3.h
1397
#define sk_PROFESSION_INFO_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_PROFESSION_INFO_sk_type(sk), (n))
crypto/openssl/include/openssl/x509v3.h
1422
#define sk_ADMISSIONS_new_reserve(cmp, n) ((STACK_OF(ADMISSIONS) *)OPENSSL_sk_new_reserve(ossl_check_ADMISSIONS_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/x509v3.h
1423
#define sk_ADMISSIONS_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_ADMISSIONS_sk_type(sk), (n))
crypto/openssl/include/openssl/x509v3.h
1448
const NAMING_AUTHORITY *n);
crypto/openssl/include/openssl/x509v3.h
1450
const NAMING_AUTHORITY *n);
crypto/openssl/include/openssl/x509v3.h
1452
const NAMING_AUTHORITY *n);
crypto/openssl/include/openssl/x509v3.h
1453
void NAMING_AUTHORITY_set0_authorityId(NAMING_AUTHORITY *n,
crypto/openssl/include/openssl/x509v3.h
1455
void NAMING_AUTHORITY_set0_authorityURL(NAMING_AUTHORITY *n,
crypto/openssl/include/openssl/x509v3.h
1457
void NAMING_AUTHORITY_set0_authorityText(NAMING_AUTHORITY *n,
crypto/openssl/include/openssl/x509v3.h
1509
#define sk_USERNOTICE_new_reserve(cmp, n) ((STACK_OF(USERNOTICE) *)OPENSSL_sk_new_reserve(ossl_check_USERNOTICE_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/x509v3.h
1510
#define sk_USERNOTICE_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_USERNOTICE_sk_type(sk), (n))
crypto/openssl/include/openssl/x509v3.h
1548
#define sk_OSSL_ROLE_SPEC_CERT_ID_new_reserve(cmp, n) ((STACK_OF(OSSL_ROLE_SPEC_CERT_ID) *)OPENSSL_sk_new_reserve(ossl_check_OSSL_ROLE_SPEC_CERT_ID_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/x509v3.h
1549
#define sk_OSSL_ROLE_SPEC_CERT_ID_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_OSSL_ROLE_SPEC_CERT_ID_sk_type(sk), (n))
crypto/openssl/include/openssl/x509v3.h
1798
#define sk_OSSL_TIME_PERIOD_new_reserve(cmp, n) ((STACK_OF(OSSL_TIME_PERIOD) *)OPENSSL_sk_new_reserve(ossl_check_OSSL_TIME_PERIOD_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/x509v3.h
1799
#define sk_OSSL_TIME_PERIOD_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_OSSL_TIME_PERIOD_sk_type(sk), (n))
crypto/openssl/include/openssl/x509v3.h
1828
#define sk_OSSL_DAY_TIME_BAND_new_reserve(cmp, n) ((STACK_OF(OSSL_DAY_TIME_BAND) *)OPENSSL_sk_new_reserve(ossl_check_OSSL_DAY_TIME_BAND_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/x509v3.h
1829
#define sk_OSSL_DAY_TIME_BAND_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_OSSL_DAY_TIME_BAND_sk_type(sk), (n))
crypto/openssl/include/openssl/x509v3.h
1892
#define sk_OSSL_ATTRIBUTE_MAPPING_new_reserve(cmp, n) ((STACK_OF(OSSL_ATTRIBUTE_MAPPING) *)OPENSSL_sk_new_reserve(ossl_check_OSSL_ATTRIBUTE_MAPPING_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/x509v3.h
1893
#define sk_OSSL_ATTRIBUTE_MAPPING_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_OSSL_ATTRIBUTE_MAPPING_sk_type(sk), (n))
crypto/openssl/include/openssl/x509v3.h
1944
#define sk_OSSL_ALLOWED_ATTRIBUTES_CHOICE_new_reserve(cmp, n) ((STACK_OF(OSSL_ALLOWED_ATTRIBUTES_CHOICE) *)OPENSSL_sk_new_reserve(ossl_check_OSSL_ALLOWED_ATTRIBUTES_CHOICE_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/x509v3.h
1945
#define sk_OSSL_ALLOWED_ATTRIBUTES_CHOICE_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_OSSL_ALLOWED_ATTRIBUTES_CHOICE_sk_type(sk), (n))
crypto/openssl/include/openssl/x509v3.h
1974
#define sk_OSSL_ALLOWED_ATTRIBUTES_ITEM_new_reserve(cmp, n) ((STACK_OF(OSSL_ALLOWED_ATTRIBUTES_ITEM) *)OPENSSL_sk_new_reserve(ossl_check_OSSL_ALLOWED_ATTRIBUTES_ITEM_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/x509v3.h
1975
#define sk_OSSL_ALLOWED_ATTRIBUTES_ITEM_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_OSSL_ALLOWED_ATTRIBUTES_ITEM_sk_type(sk), (n))
crypto/openssl/include/openssl/x509v3.h
220
#define sk_ACCESS_DESCRIPTION_new_reserve(cmp, n) ((STACK_OF(ACCESS_DESCRIPTION) *)OPENSSL_sk_new_reserve(ossl_check_ACCESS_DESCRIPTION_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/x509v3.h
221
#define sk_ACCESS_DESCRIPTION_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_ACCESS_DESCRIPTION_sk_type(sk), (n))
crypto/openssl/include/openssl/x509v3.h
246
#define sk_GENERAL_NAME_new_reserve(cmp, n) ((STACK_OF(GENERAL_NAME) *)OPENSSL_sk_new_reserve(ossl_check_GENERAL_NAME_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/x509v3.h
247
#define sk_GENERAL_NAME_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_GENERAL_NAME_sk_type(sk), (n))
crypto/openssl/include/openssl/x509v3.h
281
#define sk_GENERAL_NAMES_new_reserve(cmp, n) ((STACK_OF(GENERAL_NAMES) *)OPENSSL_sk_new_reserve(ossl_check_GENERAL_NAMES_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/x509v3.h
282
#define sk_GENERAL_NAMES_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_GENERAL_NAMES_sk_type(sk), (n))
crypto/openssl/include/openssl/x509v3.h
343
#define sk_DIST_POINT_new_reserve(cmp, n) ((STACK_OF(DIST_POINT) *)OPENSSL_sk_new_reserve(ossl_check_DIST_POINT_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/x509v3.h
344
#define sk_DIST_POINT_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_DIST_POINT_sk_type(sk), (n))
crypto/openssl/include/openssl/x509v3.h
388
#define sk_SXNETID_new_reserve(cmp, n) ((STACK_OF(SXNETID) *)OPENSSL_sk_new_reserve(ossl_check_SXNETID_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/x509v3.h
389
#define sk_SXNETID_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_SXNETID_sk_type(sk), (n))
crypto/openssl/include/openssl/x509v3.h
449
#define sk_POLICYQUALINFO_new_reserve(cmp, n) ((STACK_OF(POLICYQUALINFO) *)OPENSSL_sk_new_reserve(ossl_check_POLICYQUALINFO_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/x509v3.h
450
#define sk_POLICYQUALINFO_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_POLICYQUALINFO_sk_type(sk), (n))
crypto/openssl/include/openssl/x509v3.h
484
#define sk_POLICYINFO_new_reserve(cmp, n) ((STACK_OF(POLICYINFO) *)OPENSSL_sk_new_reserve(ossl_check_POLICYINFO_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/x509v3.h
485
#define sk_POLICYINFO_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_POLICYINFO_sk_type(sk), (n))
crypto/openssl/include/openssl/x509v3.h
521
#define sk_POLICY_MAPPING_new_reserve(cmp, n) ((STACK_OF(POLICY_MAPPING) *)OPENSSL_sk_new_reserve(ossl_check_POLICY_MAPPING_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/x509v3.h
522
#define sk_POLICY_MAPPING_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_POLICY_MAPPING_sk_type(sk), (n))
crypto/openssl/include/openssl/x509v3.h
559
#define sk_GENERAL_SUBTREE_new_reserve(cmp, n) ((STACK_OF(GENERAL_SUBTREE) *)OPENSSL_sk_new_reserve(ossl_check_GENERAL_SUBTREE_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/x509v3.h
560
#define sk_GENERAL_SUBTREE_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_GENERAL_SUBTREE_sk_type(sk), (n))
crypto/openssl/include/openssl/x509v3.h
741
#define sk_X509_PURPOSE_new_reserve(cmp, n) ((STACK_OF(X509_PURPOSE) *)OPENSSL_sk_new_reserve(ossl_check_X509_PURPOSE_compfunc_type(cmp), (n)))
crypto/openssl/include/openssl/x509v3.h
742
#define sk_X509_PURPOSE_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_X509_PURPOSE_sk_type(sk), (n))
crypto/openssl/providers/fips/fipsprov.c
1128
int BIO_snprintf(char *buf, size_t n, const char *format, ...)
crypto/openssl/providers/fips/fipsprov.c
1134
ret = c_BIO_vsnprintf(buf, n, format, args);
crypto/openssl/providers/fips/fipsprov.c
128
void *buf, size_t n, unsigned int strength)
crypto/openssl/providers/fips/fipsprov.c
137
return RAND_priv_bytes_ex(libctx, buf, n, strength);
crypto/openssl/providers/fips/fipsprov.c
138
return RAND_bytes_ex(libctx, buf, n, strength);
crypto/openssl/providers/implementations/ciphers/cipher_aes_gcm_siv.h
62
static ossl_inline uint32_t GSWAP4(uint32_t n)
crypto/openssl/providers/implementations/ciphers/cipher_aes_gcm_siv.h
64
return (((n & 0x000000FF) << 24)
crypto/openssl/providers/implementations/ciphers/cipher_aes_gcm_siv.h
65
| ((n & 0x0000FF00) << 8)
crypto/openssl/providers/implementations/ciphers/cipher_aes_gcm_siv.h
66
| ((n & 0x00FF0000) >> 8)
crypto/openssl/providers/implementations/ciphers/cipher_aes_gcm_siv.h
67
| ((n & 0xFF000000) >> 24));
crypto/openssl/providers/implementations/ciphers/cipher_aes_gcm_siv.h
69
static ossl_inline uint64_t GSWAP8(uint64_t n)
crypto/openssl/providers/implementations/ciphers/cipher_aes_gcm_siv.h
73
result = GSWAP4(n & 0x0FFFFFFFF);
crypto/openssl/providers/implementations/ciphers/cipher_aes_gcm_siv.h
75
return result | GSWAP4(n >> 32);
crypto/openssl/providers/implementations/ciphers/cipher_chacha20_hw.c
106
for (n = 0; n < rem; n++)
crypto/openssl/providers/implementations/ciphers/cipher_chacha20_hw.c
107
out[n] = in[n] ^ ctx->buf[n];
crypto/openssl/providers/implementations/ciphers/cipher_chacha20_hw.c
45
unsigned int n, rem, ctr32;
crypto/openssl/providers/implementations/ciphers/cipher_chacha20_hw.c
47
n = ctx->partial_len;
crypto/openssl/providers/implementations/ciphers/cipher_chacha20_hw.c
48
if (n > 0) {
crypto/openssl/providers/implementations/ciphers/cipher_chacha20_hw.c
49
while (inl > 0 && n < CHACHA_BLK_SIZE) {
crypto/openssl/providers/implementations/ciphers/cipher_chacha20_hw.c
50
*out++ = *in++ ^ ctx->buf[n++];
crypto/openssl/providers/implementations/ciphers/cipher_chacha20_hw.c
53
ctx->partial_len = n;
crypto/openssl/providers/implementations/ciphers/cipher_chacha20_hw.c
58
if (n == CHACHA_BLK_SIZE) {
crypto/openssl/providers/implementations/ciphers/cipher_des_hw.c
136
size_t n, chunk = MAXCHUNK / 8;
crypto/openssl/providers/implementations/ciphers/cipher_des_hw.c
145
for (n = 0; n < chunk * 8; ++n) {
crypto/openssl/providers/implementations/ciphers/cipher_des_hw.c
146
c[0] = (in[n / 8] & (1 << (7 - n % 8))) ? 0x80 : 0;
crypto/openssl/providers/implementations/ciphers/cipher_des_hw.c
148
out[n / 8] = (out[n / 8] & ~(0x80 >> (unsigned int)(n % 8))) | ((d[0] & 0x80) >> (unsigned int)(n % 8));
crypto/openssl/providers/implementations/ciphers/cipher_tdes_default_hw.c
100
size_t n;
crypto/openssl/providers/implementations/ciphers/cipher_tdes_default_hw.c
106
for (n = 0; n < inl; ++n) {
crypto/openssl/providers/implementations/ciphers/cipher_tdes_default_hw.c
107
c[0] = (in[n / 8] & (1 << (7 - n % 8))) ? 0x80 : 0;
crypto/openssl/providers/implementations/ciphers/cipher_tdes_default_hw.c
111
out[n / 8] = (out[n / 8] & ~(0x80 >> (unsigned int)(n % 8)))
crypto/openssl/providers/implementations/ciphers/cipher_tdes_default_hw.c
112
| ((d[0] & 0x80) >> (unsigned int)(n % 8));
crypto/openssl/providers/implementations/ciphers/ciphercommon_gcm.c
103
--n;
crypto/openssl/providers/implementations/ciphers/ciphercommon_gcm.c
104
c = counter[n];
crypto/openssl/providers/implementations/ciphers/ciphercommon_gcm.c
106
counter[n] = c;
crypto/openssl/providers/implementations/ciphers/ciphercommon_gcm.c
109
} while (n > 0);
crypto/openssl/providers/implementations/ciphers/ciphercommon_gcm.c
99
int n = 8;
crypto/openssl/providers/implementations/encode_decode/decode_der2key.c
394
#define D2I_PUBKEY_NOCTX(n, f) \
crypto/openssl/providers/implementations/encode_decode/decode_der2key.c
396
n##_d2i_PUBKEY(const unsigned char **der, long der_len, \
crypto/openssl/providers/implementations/encode_decode/encode_key2any.c
442
#define k2d_NOCTX(n, f) \
crypto/openssl/providers/implementations/encode_decode/encode_key2any.c
444
n##_k2d(const void *key, unsigned char **pder, \
crypto/openssl/providers/implementations/kdfs/hkdf.c
257
int n;
crypto/openssl/providers/implementations/kdfs/hkdf.c
287
} else if (OSSL_PARAM_get_int(p, &n)) {
crypto/openssl/providers/implementations/kdfs/hkdf.c
288
if (n != EVP_KDF_HKDF_MODE_EXTRACT_AND_EXPAND
crypto/openssl/providers/implementations/kdfs/hkdf.c
289
&& n != EVP_KDF_HKDF_MODE_EXTRACT_ONLY
crypto/openssl/providers/implementations/kdfs/hkdf.c
290
&& n != EVP_KDF_HKDF_MODE_EXPAND_ONLY) {
crypto/openssl/providers/implementations/kdfs/hkdf.c
294
ctx->mode = n;
crypto/openssl/providers/implementations/kdfs/hkdf.c
572
size_t done_len = 0, dig_len, n;
crypto/openssl/providers/implementations/kdfs/hkdf.c
580
n = okm_len / dig_len;
crypto/openssl/providers/implementations/kdfs/hkdf.c
582
n++;
crypto/openssl/providers/implementations/kdfs/hkdf.c
584
if (n > 255 || okm == NULL)
crypto/openssl/providers/implementations/kdfs/hkdf.c
593
for (i = 1; i <= n; i++) {
crypto/openssl/providers/implementations/kdfs/pbkdf1.c
54
unsigned char *out, size_t n)
crypto/openssl/providers/implementations/kdfs/pbkdf1.c
75
if (n > (size_t)mdsize) {
crypto/openssl/providers/implementations/kdfs/pbkdf1.c
89
memcpy(out, md_tmp, n);
crypto/openssl/providers/implementations/kdfs/pkcs12kdf.c
105
memcpy(out, Ai, n < u ? n : u);
crypto/openssl/providers/implementations/kdfs/pkcs12kdf.c
106
if (u >= n) {
crypto/openssl/providers/implementations/kdfs/pkcs12kdf.c
110
n -= u;
crypto/openssl/providers/implementations/kdfs/pkcs12kdf.c
52
unsigned char *out, size_t n)
crypto/openssl/providers/implementations/keymgmt/dh_kmgmt.c
683
static int dh_gencb(int p, int n, BN_GENCB *cb)
crypto/openssl/providers/implementations/keymgmt/dh_kmgmt.c
689
params[1] = OSSL_PARAM_construct_int(OSSL_GEN_PARAM_ITERATION, &n);
crypto/openssl/providers/implementations/keymgmt/dsa_kmgmt.c
581
static int dsa_gencb(int p, int n, BN_GENCB *cb)
crypto/openssl/providers/implementations/keymgmt/dsa_kmgmt.c
587
params[1] = OSSL_PARAM_construct_int(OSSL_GEN_PARAM_ITERATION, &n);
crypto/openssl/providers/implementations/keymgmt/rsa_kmgmt.c
434
static int rsa_gencb(int p, int n, BN_GENCB *cb)
crypto/openssl/providers/implementations/keymgmt/rsa_kmgmt.c
440
params[1] = OSSL_PARAM_construct_int(OSSL_GEN_PARAM_ITERATION, &n);
crypto/openssl/providers/implementations/rands/drbg.c
303
size_t ret = 0, n;
crypto/openssl/providers/implementations/rands/drbg.c
317
n = drbg->parent_nonce(drbg->parent, NULL, 0, drbg->min_noncelen,
crypto/openssl/providers/implementations/rands/drbg.c
319
if (n > 0 && (buf = OPENSSL_malloc(n)) != NULL) {
crypto/openssl/providers/implementations/rands/drbg.c
322
if (ret == n) {
crypto/openssl/providers/implementations/rands/drbg_ctr.c
101
for (i = 0; i < n; i++)
crypto/openssl/providers/implementations/rands/drbg_ctr.c
383
u32 n = 12, c = 1;
crypto/openssl/providers/implementations/rands/drbg_ctr.c
386
--n;
crypto/openssl/providers/implementations/rands/drbg_ctr.c
387
c += counter[n];
crypto/openssl/providers/implementations/rands/drbg_ctr.c
388
counter[n] = (u8)c;
crypto/openssl/providers/implementations/rands/drbg_ctr.c
390
} while (n);
crypto/openssl/providers/implementations/rands/drbg_ctr.c
67
u32 n = 16, c = 1;
crypto/openssl/providers/implementations/rands/drbg_ctr.c
70
--n;
crypto/openssl/providers/implementations/rands/drbg_ctr.c
71
c += p[n];
crypto/openssl/providers/implementations/rands/drbg_ctr.c
72
p[n] = (u8)c;
crypto/openssl/providers/implementations/rands/drbg_ctr.c
74
} while (n);
crypto/openssl/providers/implementations/rands/drbg_ctr.c
79
size_t i, n;
crypto/openssl/providers/implementations/rands/drbg_ctr.c
88
n = inlen < ctr->keylen ? inlen : ctr->keylen;
crypto/openssl/providers/implementations/rands/drbg_ctr.c
89
if (!ossl_assert(n <= sizeof(ctr->K)))
crypto/openssl/providers/implementations/rands/drbg_ctr.c
91
for (i = 0; i < n; i++)
crypto/openssl/providers/implementations/rands/drbg_ctr.c
96
n = inlen - ctr->keylen;
crypto/openssl/providers/implementations/rands/drbg_ctr.c
97
if (n > 16) {
crypto/openssl/providers/implementations/rands/drbg_ctr.c
99
n = 16;
crypto/openssl/providers/implementations/rands/fips_crng_test.c
161
static int crng_test(CRNG_TEST *crngt, const unsigned char *buf, size_t n)
crypto/openssl/providers/implementations/rands/fips_crng_test.c
165
for (i = 0; i < n; i++)
crypto/openssl/providers/implementations/rands/fips_crng_test.c
290
size_t n;
crypto/openssl/providers/implementations/rands/fips_crng_test.c
296
n = ossl_prov_get_entropy(crngt->provctx, pout, entropy,
crypto/openssl/providers/implementations/rands/fips_crng_test.c
298
if (n == 0)
crypto/openssl/providers/implementations/rands/fips_crng_test.c
300
r = crng_test(crngt, *pout, n);
crypto/openssl/providers/implementations/rands/fips_crng_test.c
301
return r > 0 ? n : 0;
crypto/openssl/providers/implementations/rands/fips_crng_test.c
308
n = crngt->parent_get_seed(crngt->parent, pout, entropy,
crypto/openssl/providers/implementations/rands/fips_crng_test.c
311
if (n > 0 && crng_test(crngt, *pout, n) > 0)
crypto/openssl/providers/implementations/rands/fips_crng_test.c
312
r = n;
crypto/openssl/providers/implementations/rands/fips_crng_test.c
314
crngt->parent_clear_seed(crngt->parent, *pout, n);
crypto/openssl/providers/implementations/rands/seeding/rand_unix.c
529
static int get_random_device(size_t n)
crypto/openssl/providers/implementations/rands/seeding/rand_unix.c
532
struct random_device *rd = &random_devices[n];
crypto/openssl/providers/implementations/rands/seeding/rand_unix.c
539
if ((rd->fd = open(random_device_paths[n], O_RDONLY)) == -1)
crypto/openssl/providers/implementations/rands/seeding/rand_unix.c
559
static void close_random_device(size_t n)
crypto/openssl/providers/implementations/rands/seeding/rand_unix.c
561
struct random_device *rd = &random_devices[n];
crypto/openssl/providers/implementations/rands/test_rng.c
109
uint32_t n;
crypto/openssl/providers/implementations/rands/test_rng.c
118
n = t->seed;
crypto/openssl/providers/implementations/rands/test_rng.c
119
n ^= n << 13;
crypto/openssl/providers/implementations/rands/test_rng.c
120
n ^= n >> 17;
crypto/openssl/providers/implementations/rands/test_rng.c
121
n ^= n << 5;
crypto/openssl/providers/implementations/rands/test_rng.c
122
t->seed = n;
crypto/openssl/providers/implementations/rands/test_rng.c
124
return n & 0xff;
crypto/openssl/providers/implementations/signature/slh_dsa_sig.c
206
size_t n = 0;
crypto/openssl/providers/implementations/signature/slh_dsa_sig.c
215
n = ossl_slh_dsa_key_get_n(ctx->key);
crypto/openssl/providers/implementations/signature/slh_dsa_sig.c
216
if (RAND_priv_bytes_ex(ctx->libctx, add_rand, n, 0) <= 0)
crypto/openssl/providers/implementations/signature/slh_dsa_sig.c
283
size_t n = ossl_slh_dsa_key_get_n(pctx->key);
crypto/openssl/providers/implementations/signature/slh_dsa_sig.c
285
if (!OSSL_PARAM_get_octet_string(p, &vp, n, &(pctx->add_random_len))
crypto/openssl/providers/implementations/signature/slh_dsa_sig.c
286
|| pctx->add_random_len != n) {
crypto/openssl/ssl/bio_ssl.c
436
int n, ret;
crypto/openssl/ssl/bio_ssl.c
438
n = strlen(str);
crypto/openssl/ssl/bio_ssl.c
439
ret = BIO_write(bp, str, n);
crypto/openssl/ssl/d1_lib.c
419
int next, n, ret = 0;
crypto/openssl/ssl/d1_lib.c
478
n = BIO_read(rbio, buf, SSL3_RT_MAX_PLAIN_LENGTH + DTLS1_RT_HEADER_LENGTH);
crypto/openssl/ssl/d1_lib.c
479
if (n <= 0) {
crypto/openssl/ssl/d1_lib.c
488
if (!PACKET_buf_init(&pkt, buf, n)) {
crypto/openssl/ssl/d1_lib.c
504
if (n < DTLS1_RT_HEADER_LENGTH) {
crypto/openssl/ssl/d1_lib.c
819
if (BIO_write(s->rlayer.rrlnext, buf, n) != n) {
crypto/openssl/ssl/priority_queue.c
134
static ossl_inline void pqueue_force_bottom(OSSL_PQUEUE *pq, size_t n)
crypto/openssl/ssl/priority_queue.c
136
ASSERT_USED(pq, n);
crypto/openssl/ssl/priority_queue.c
137
while (n > 0) {
crypto/openssl/ssl/priority_queue.c
138
const size_t p = (n - 1) / 2;
crypto/openssl/ssl/priority_queue.c
141
pqueue_swap_elem(pq, n, p);
crypto/openssl/ssl/priority_queue.c
142
n = p;
crypto/openssl/ssl/priority_queue.c
150
static ossl_inline void pqueue_move_down(OSSL_PQUEUE *pq, size_t n)
crypto/openssl/ssl/priority_queue.c
154
ASSERT_USED(pq, n);
crypto/openssl/ssl/priority_queue.c
155
while (n > 0) {
crypto/openssl/ssl/priority_queue.c
156
const size_t p = (n - 1) / 2;
crypto/openssl/ssl/priority_queue.c
159
if (pq->compare(h[n].data, h[p].data) >= 0)
crypto/openssl/ssl/priority_queue.c
161
pqueue_swap_elem(pq, n, p);
crypto/openssl/ssl/priority_queue.c
162
n = p;
crypto/openssl/ssl/priority_queue.c
170
static ossl_inline void pqueue_move_up(OSSL_PQUEUE *pq, size_t n)
crypto/openssl/ssl/priority_queue.c
173
size_t p = n * 2 + 1;
crypto/openssl/ssl/priority_queue.c
175
ASSERT_USED(pq, n);
crypto/openssl/ssl/priority_queue.c
182
while (pq->htop > p && pq->compare(h[p].data, h[n].data) < 0) {
crypto/openssl/ssl/priority_queue.c
184
pqueue_swap_elem(pq, n, p);
crypto/openssl/ssl/priority_queue.c
185
n = p;
crypto/openssl/ssl/priority_queue.c
186
p = n * 2 + 1;
crypto/openssl/ssl/priority_queue.c
197
size_t n, m;
crypto/openssl/ssl/priority_queue.c
202
n = pq->htop++;
crypto/openssl/ssl/priority_queue.c
206
pq->heap[n].data = data;
crypto/openssl/ssl/priority_queue.c
207
pq->heap[n].index = m;
crypto/openssl/ssl/priority_queue.c
209
pq->elements[m].posn = n;
crypto/openssl/ssl/priority_queue.c
213
pqueue_move_down(pq, n);
crypto/openssl/ssl/priority_queue.c
255
size_t n;
crypto/openssl/ssl/priority_queue.c
261
n = pq->elements[elem].posn;
crypto/openssl/ssl/priority_queue.c
263
ASSERT_USED(pq, n);
crypto/openssl/ssl/priority_queue.c
265
if (n == pq->htop - 1) {
crypto/openssl/ssl/priority_queue.c
273
if (n > 0)
crypto/openssl/ssl/priority_queue.c
274
pqueue_force_bottom(pq, n);
crypto/openssl/ssl/priority_queue.c
293
int ossl_pqueue_reserve(OSSL_PQUEUE *pq, size_t n)
crypto/openssl/ssl/priority_queue.c
302
if (pq->htop + n < cur_max)
crypto/openssl/ssl/priority_queue.c
305
new_max = compute_pqueue_growth(n + cur_max, cur_max);
crypto/openssl/ssl/quic/quic_cfq.c
100
static void list_remove(QUIC_CFQ_ITEM_LIST *l, QUIC_CFQ_ITEM_EX *n)
crypto/openssl/ssl/quic/quic_cfq.c
102
if (l->head == n)
crypto/openssl/ssl/quic/quic_cfq.c
103
l->head = n->next;
crypto/openssl/ssl/quic/quic_cfq.c
104
if (l->tail == n)
crypto/openssl/ssl/quic/quic_cfq.c
105
l->tail = n->prev;
crypto/openssl/ssl/quic/quic_cfq.c
106
if (n->prev != NULL)
crypto/openssl/ssl/quic/quic_cfq.c
107
n->prev->next = n->next;
crypto/openssl/ssl/quic/quic_cfq.c
108
if (n->next != NULL)
crypto/openssl/ssl/quic/quic_cfq.c
109
n->next->prev = n->prev;
crypto/openssl/ssl/quic/quic_cfq.c
110
n->prev = n->next = NULL;
crypto/openssl/ssl/quic/quic_cfq.c
113
static void list_insert_head(QUIC_CFQ_ITEM_LIST *l, QUIC_CFQ_ITEM_EX *n)
crypto/openssl/ssl/quic/quic_cfq.c
115
n->next = l->head;
crypto/openssl/ssl/quic/quic_cfq.c
116
n->prev = NULL;
crypto/openssl/ssl/quic/quic_cfq.c
117
l->head = n;
crypto/openssl/ssl/quic/quic_cfq.c
118
if (n->next != NULL)
crypto/openssl/ssl/quic/quic_cfq.c
119
n->next->prev = n;
crypto/openssl/ssl/quic/quic_cfq.c
121
l->tail = n;
crypto/openssl/ssl/quic/quic_cfq.c
124
static void list_insert_tail(QUIC_CFQ_ITEM_LIST *l, QUIC_CFQ_ITEM_EX *n)
crypto/openssl/ssl/quic/quic_cfq.c
126
n->prev = l->tail;
crypto/openssl/ssl/quic/quic_cfq.c
127
n->next = NULL;
crypto/openssl/ssl/quic/quic_cfq.c
128
l->tail = n;
crypto/openssl/ssl/quic/quic_cfq.c
129
if (n->prev != NULL)
crypto/openssl/ssl/quic/quic_cfq.c
130
n->prev->next = n;
crypto/openssl/ssl/quic/quic_cfq.c
132
l->head = n;
crypto/openssl/ssl/quic/quic_cfq.c
137
QUIC_CFQ_ITEM_EX *n)
crypto/openssl/ssl/quic/quic_cfq.c
139
n->prev = ref;
crypto/openssl/ssl/quic/quic_cfq.c
140
n->next = ref->next;
crypto/openssl/ssl/quic/quic_cfq.c
142
ref->next->prev = n;
crypto/openssl/ssl/quic/quic_cfq.c
143
ref->next = n;
crypto/openssl/ssl/quic/quic_cfq.c
145
l->tail = n;
crypto/openssl/ssl/quic/quic_cfq.c
148
static void list_insert_sorted(QUIC_CFQ_ITEM_LIST *l, QUIC_CFQ_ITEM_EX *n,
crypto/openssl/ssl/quic/quic_cfq.c
155
l->head = l->tail = n;
crypto/openssl/ssl/quic/quic_cfq.c
156
n->prev = n->next = NULL;
crypto/openssl/ssl/quic/quic_cfq.c
160
for (; p != NULL && cmp(p, n) < 0; pprev = p, p = p->next)
crypto/openssl/ssl/quic/quic_cfq.c
164
list_insert_tail(l, n);
crypto/openssl/ssl/quic/quic_cfq.c
166
list_insert_head(l, n);
crypto/openssl/ssl/quic/quic_cfq.c
168
list_insert_after(l, pprev, n);
crypto/openssl/ssl/quic/quic_record_rx.c
182
static RXE *qrx_reserve_rxe(RXE_LIST *rxl, RXE *rxe, size_t n);
crypto/openssl/ssl/quic/quic_record_rx.c
602
static RXE *qrx_resize_rxe(RXE_LIST *rxl, RXE *rxe, size_t n)
crypto/openssl/ssl/quic/quic_record_rx.c
610
if (n >= SIZE_MAX - sizeof(RXE))
crypto/openssl/ssl/quic/quic_record_rx.c
625
rxe2 = OPENSSL_realloc(rxe, sizeof(RXE) + n);
crypto/openssl/ssl/quic/quic_record_rx.c
640
rxe2->alloc_len = n;
crypto/openssl/ssl/quic/quic_record_rx.c
649
RXE *rxe, size_t n)
crypto/openssl/ssl/quic/quic_record_rx.c
651
if (rxe->alloc_len >= n)
crypto/openssl/ssl/quic/quic_record_rx.c
654
return qrx_resize_rxe(rxl, rxe, n);
crypto/openssl/ssl/quic/quic_record_tx.c
262
static TXE *qtx_resize_txe(OSSL_QTX *qtx, TXE *txe, size_t n)
crypto/openssl/ssl/quic/quic_record_tx.c
270
if (n >= SIZE_MAX - sizeof(TXE))
crypto/openssl/ssl/quic/quic_record_tx.c
285
txe2 = OPENSSL_realloc(txe, sizeof(TXE) + n);
crypto/openssl/ssl/quic/quic_record_tx.c
292
txe2->alloc_len = n;
crypto/openssl/ssl/quic/quic_record_tx.c
300
static TXE *qtx_reserve_txe(OSSL_QTX *qtx, TXE *txe, size_t n)
crypto/openssl/ssl/quic/quic_record_tx.c
302
if (txe->alloc_len >= n)
crypto/openssl/ssl/quic/quic_record_tx.c
305
return qtx_resize_txe(qtx, txe, n);
crypto/openssl/ssl/quic/quic_stream_map.c
23
QUIC_STREAM_LIST_NODE *n)
crypto/openssl/ssl/quic/quic_stream_map.c
26
assert(n->prev == NULL && n->next == NULL
crypto/openssl/ssl/quic/quic_stream_map.c
29
n->prev = l->prev;
crypto/openssl/ssl/quic/quic_stream_map.c
30
n->prev->next = n;
crypto/openssl/ssl/quic/quic_stream_map.c
31
l->prev = n;
crypto/openssl/ssl/quic/quic_stream_map.c
32
n->next = l;
crypto/openssl/ssl/quic/quic_stream_map.c
36
QUIC_STREAM_LIST_NODE *n)
crypto/openssl/ssl/quic/quic_stream_map.c
38
assert(n->prev != NULL && n->next != NULL
crypto/openssl/ssl/quic/quic_stream_map.c
39
&& n->prev != n && n->next != n);
crypto/openssl/ssl/quic/quic_stream_map.c
41
n->prev->next = n->next;
crypto/openssl/ssl/quic/quic_stream_map.c
42
n->next->prev = n->prev;
crypto/openssl/ssl/quic/quic_stream_map.c
43
n->next = n->prev = NULL;
crypto/openssl/ssl/quic/quic_stream_map.c
46
static QUIC_STREAM *list_next(QUIC_STREAM_LIST_NODE *l, QUIC_STREAM_LIST_NODE *n,
crypto/openssl/ssl/quic/quic_stream_map.c
49
assert(n->prev != NULL && n->next != NULL
crypto/openssl/ssl/quic/quic_stream_map.c
50
&& (n == l || (n->prev != n && n->next != n))
crypto/openssl/ssl/quic/quic_stream_map.c
53
n = n->next;
crypto/openssl/ssl/quic/quic_stream_map.c
55
if (n == l)
crypto/openssl/ssl/quic/quic_stream_map.c
56
n = n->next;
crypto/openssl/ssl/quic/quic_stream_map.c
57
if (n == l)
crypto/openssl/ssl/quic/quic_stream_map.c
60
assert(n != NULL);
crypto/openssl/ssl/quic/quic_stream_map.c
62
return (QUIC_STREAM *)(((char *)n) - off);
crypto/openssl/ssl/quic/quic_txp.c
1867
static int try_commit_conn_close(OSSL_QUIC_TX_PACKETISER *txp, size_t n)
crypto/openssl/ssl/quic/quic_txp.c
1887
res = txp->closing_bytes_xmit + n <= txp->closing_bytes_recv * 3;
crypto/openssl/ssl/quic/quic_txp.c
1894
txp->closing_bytes_xmit += n;
crypto/openssl/ssl/quic/quic_txp.c
1899
OSSL_QUIC_TX_PACKETISER *txp, size_t n)
crypto/openssl/ssl/quic/quic_txp.c
1901
txp->closing_bytes_recv += n;
crypto/openssl/ssl/quic/quic_txp.c
2006
size_t n;
crypto/openssl/ssl/quic/quic_txp.c
2016
n = orig_len;
crypto/openssl/ssl/quic/quic_txp.c
2017
if (n > maxn_)
crypto/openssl/ssl/quic/quic_txp.c
2018
n = maxn_;
crypto/openssl/ssl/quic/quic_txp.c
2019
if (n + *hdr_len > space_left)
crypto/openssl/ssl/quic/quic_txp.c
2020
n = (space_left >= *hdr_len) ? space_left - *hdr_len : 0;
crypto/openssl/ssl/quic/quic_txp.c
2022
*payload_len = n;
crypto/openssl/ssl/quic/quic_txp.c
2023
return n > 0;
crypto/openssl/ssl/quic/quic_txpim.c
46
QUIC_TXPIM_PKT_EX *n, *nnext;
crypto/openssl/ssl/quic/quic_txpim.c
48
for (n = l->head; n != NULL; n = nnext) {
crypto/openssl/ssl/quic/quic_txpim.c
49
nnext = n->next;
crypto/openssl/ssl/quic/quic_txpim.c
51
OPENSSL_free(n->chunks);
crypto/openssl/ssl/quic/quic_txpim.c
52
OPENSSL_free(n);
crypto/openssl/ssl/quic/quic_txpim.c
68
static void list_remove(QUIC_TXPIM_PKT_EX_LIST *l, QUIC_TXPIM_PKT_EX *n)
crypto/openssl/ssl/quic/quic_txpim.c
70
if (l->head == n)
crypto/openssl/ssl/quic/quic_txpim.c
71
l->head = n->next;
crypto/openssl/ssl/quic/quic_txpim.c
72
if (l->tail == n)
crypto/openssl/ssl/quic/quic_txpim.c
73
l->tail = n->prev;
crypto/openssl/ssl/quic/quic_txpim.c
74
if (n->prev != NULL)
crypto/openssl/ssl/quic/quic_txpim.c
75
n->prev->next = n->next;
crypto/openssl/ssl/quic/quic_txpim.c
76
if (n->next != NULL)
crypto/openssl/ssl/quic/quic_txpim.c
77
n->next->prev = n->prev;
crypto/openssl/ssl/quic/quic_txpim.c
78
n->prev = n->next = NULL;
crypto/openssl/ssl/quic/quic_txpim.c
81
static void list_insert_tail(QUIC_TXPIM_PKT_EX_LIST *l, QUIC_TXPIM_PKT_EX *n)
crypto/openssl/ssl/quic/quic_txpim.c
83
n->prev = l->tail;
crypto/openssl/ssl/quic/quic_txpim.c
84
n->next = NULL;
crypto/openssl/ssl/quic/quic_txpim.c
85
l->tail = n;
crypto/openssl/ssl/quic/quic_txpim.c
86
if (n->prev != NULL)
crypto/openssl/ssl/quic/quic_txpim.c
87
n->prev->next = n;
crypto/openssl/ssl/quic/quic_txpim.c
89
l->head = n;
crypto/openssl/ssl/record/methods/dtls_meth.c
383
size_t more, n;
crypto/openssl/ssl/record/methods/dtls_meth.c
414
TLS_BUFFER_get_len(&rl->rbuf), 0, 1, &n);
crypto/openssl/ssl/record/methods/dtls_meth.c
495
rret = rl->funcs->read_n(rl, more, more, 1, 1, &n);
crypto/openssl/ssl/record/methods/dtls_meth.c
497
if (rret < OSSL_RECORD_RETURN_SUCCESS || n != more) {
crypto/openssl/ssl/record/methods/ktls_meth.c
344
static int ktls_read_n(OSSL_RECORD_LAYER *rl, size_t n, size_t max, int extend,
crypto/openssl/ssl/record/methods/ktls_meth.c
349
ret = tls_default_read_n(rl, n, max, extend, clearold, readbytes);
crypto/openssl/ssl/record/methods/recmethod_local.h
126
int (*read_n)(OSSL_RECORD_LAYER *rl, size_t n, size_t max, int extend,
crypto/openssl/ssl/record/methods/recmethod_local.h
415
int tls_default_read_n(OSSL_RECORD_LAYER *rl, size_t n, size_t max, int extend,
crypto/openssl/ssl/record/methods/recmethod_local.h
526
#define TLS_BUFFER_set_buf(b, n) ((b)->buf = (n))
crypto/openssl/ssl/record/methods/ssl3_cbc.c
53
#define u32toLE(n, p) \
crypto/openssl/ssl/record/methods/ssl3_cbc.c
54
(*((p)++) = (unsigned char)(n), \
crypto/openssl/ssl/record/methods/ssl3_cbc.c
55
*((p)++) = (unsigned char)(n >> 8), \
crypto/openssl/ssl/record/methods/ssl3_cbc.c
56
*((p)++) = (unsigned char)(n >> 16), \
crypto/openssl/ssl/record/methods/ssl3_cbc.c
57
*((p)++) = (unsigned char)(n >> 24))
crypto/openssl/ssl/record/methods/tls1_meth.c
192
int n = EVP_MD_CTX_get_size(rl->md_ctx);
crypto/openssl/ssl/record/methods/tls1_meth.c
194
if (!ossl_assert(n >= 0)) {
crypto/openssl/ssl/record/methods/tls_common.c
294
int tls_default_read_n(OSSL_RECORD_LAYER *rl, size_t n, size_t max, int extend,
crypto/openssl/ssl/record/methods/tls_common.c
310
if (n == 0)
crypto/openssl/ssl/record/methods/tls_common.c
361
if (left > 0 && n > left)
crypto/openssl/ssl/record/methods/tls_common.c
362
n = left;
crypto/openssl/ssl/record/methods/tls_common.c
366
if (left >= n) {
crypto/openssl/ssl/record/methods/tls_common.c
367
rl->packet_length += n;
crypto/openssl/ssl/record/methods/tls_common.c
368
rb->left = left - n;
crypto/openssl/ssl/record/methods/tls_common.c
369
rb->offset += n;
crypto/openssl/ssl/record/methods/tls_common.c
370
*readbytes = n;
crypto/openssl/ssl/record/methods/tls_common.c
376
if (n > rb->len - rb->offset) {
crypto/openssl/ssl/record/methods/tls_common.c
385
max = n;
crypto/openssl/ssl/record/methods/tls_common.c
387
if (max < n)
crypto/openssl/ssl/record/methods/tls_common.c
388
max = n;
crypto/openssl/ssl/record/methods/tls_common.c
393
while (left < n) {
crypto/openssl/ssl/record/methods/tls_common.c
445
if (n > left)
crypto/openssl/ssl/record/methods/tls_common.c
446
n = left; /* makes the while condition false */
crypto/openssl/ssl/record/methods/tls_common.c
451
rb->offset += n;
crypto/openssl/ssl/record/methods/tls_common.c
452
rb->left = left - n;
crypto/openssl/ssl/record/methods/tls_common.c
453
rl->packet_length += n;
crypto/openssl/ssl/record/methods/tls_common.c
454
*readbytes = n;
crypto/openssl/ssl/record/methods/tls_common.c
547
size_t more, n;
crypto/openssl/ssl/record/methods/tls_common.c
584
num_recs == 0 ? 1 : 0, &n);
crypto/openssl/ssl/record/methods/tls_common.c
693
rret = rl->funcs->read_n(rl, more, more, 1, 0, &n);
crypto/openssl/ssl/record/rec_layer_d1.c
202
size_t n;
crypto/openssl/ssl/record/rec_layer_d1.c
344
n = rr->length;
crypto/openssl/ssl/record/rec_layer_d1.c
346
n = len;
crypto/openssl/ssl/record/rec_layer_d1.c
348
memcpy(buf, &(rr->data[rr->off]), n);
crypto/openssl/ssl/record/rec_layer_d1.c
353
if (!ssl_release_record(sc, rr, n))
crypto/openssl/ssl/record/rec_layer_d1.c
368
*readbytes = n;
crypto/openssl/ssl/record/rec_layer_s3.c
1002
if (n > 0) {
crypto/openssl/ssl/record/rec_layer_s3.c
1003
memcpy(dest + *dest_len, rr->data + rr->off, n);
crypto/openssl/ssl/record/rec_layer_s3.c
1004
*dest_len += n;
crypto/openssl/ssl/record/rec_layer_s3.c
1010
if ((n > 0 || rr->length == 0) && !ssl_release_record(s, rr, n))
crypto/openssl/ssl/record/rec_layer_s3.c
278
size_t n, max_send_fragment, split_send_fragment, maxpipes;
crypto/openssl/ssl/record/rec_layer_s3.c
379
n = (len - tot);
crypto/openssl/ssl/record/rec_layer_s3.c
414
maxpipes = s->rlayer.wrlmethod->get_max_records(s->rlayer.wrl, type, n,
crypto/openssl/ssl/record/rec_layer_s3.c
434
if (n / maxpipes >= split_send_fragment) {
crypto/openssl/ssl/record/rec_layer_s3.c
449
tmppipelen = n / maxpipes;
crypto/openssl/ssl/record/rec_layer_s3.c
450
remain = n % maxpipes;
crypto/openssl/ssl/record/rec_layer_s3.c
467
s->rlayer.wpend_tot = n;
crypto/openssl/ssl/record/rec_layer_s3.c
478
if (s->rlayer.wpend_tot == n
crypto/openssl/ssl/record/rec_layer_s3.c
486
n -= s->rlayer.wpend_tot;
crypto/openssl/ssl/record/rec_layer_s3.c
627
size_t n, curr_rec, totalbytes;
crypto/openssl/ssl/record/rec_layer_s3.c
651
n = 0;
crypto/openssl/ssl/record/rec_layer_s3.c
656
n++;
crypto/openssl/ssl/record/rec_layer_s3.c
665
*readbytes = n;
crypto/openssl/ssl/record/rec_layer_s3.c
795
n = rr->length;
crypto/openssl/ssl/record/rec_layer_s3.c
797
n = len - totalbytes;
crypto/openssl/ssl/record/rec_layer_s3.c
799
memcpy(buf, &(rr->data[rr->off]), n);
crypto/openssl/ssl/record/rec_layer_s3.c
800
buf += n;
crypto/openssl/ssl/record/rec_layer_s3.c
806
if (!ssl_release_record(s, rr, n))
crypto/openssl/ssl/record/rec_layer_s3.c
810
|| (peek && n == rr->length)) {
crypto/openssl/ssl/record/rec_layer_s3.c
814
totalbytes += n;
crypto/openssl/ssl/record/rec_layer_s3.c
997
n = dest_maxlen - *dest_len; /* available space in 'dest' */
crypto/openssl/ssl/record/rec_layer_s3.c
998
if (rr->length < n)
crypto/openssl/ssl/record/rec_layer_s3.c
999
n = rr->length; /* available bytes */
crypto/openssl/ssl/rio/poll_immediate.c
28
#define ITEM_N(items, stride, n) \
crypto/openssl/ssl/rio/poll_immediate.c
29
(*(SSL_POLL_ITEM *)((char *)(items) + (n) * (stride)))
crypto/openssl/ssl/rio/poll_immediate.c
31
#define FAIL_FROM(n) \
crypto/openssl/ssl/rio/poll_immediate.c
35
for (j = (n); j < num_items; ++j) \
crypto/openssl/ssl/s3_enc.c
100
size_t n, iv_len, key_len;
crypto/openssl/ssl/s3_enc.c
127
n = md_len + md_len;
crypto/openssl/ssl/s3_enc.c
128
key = &(p[n]);
crypto/openssl/ssl/s3_enc.c
129
n += key_len + key_len;
crypto/openssl/ssl/s3_enc.c
130
iv = &(p[n]);
crypto/openssl/ssl/s3_enc.c
131
n += iv_len + iv_len;
crypto/openssl/ssl/s3_enc.c
133
n = md_len;
crypto/openssl/ssl/s3_enc.c
134
mac_secret = &(p[n]);
crypto/openssl/ssl/s3_enc.c
135
n += md_len + key_len;
crypto/openssl/ssl/s3_enc.c
136
key = &(p[n]);
crypto/openssl/ssl/s3_enc.c
137
n += key_len + iv_len;
crypto/openssl/ssl/s3_enc.c
138
iv = &(p[n]);
crypto/openssl/ssl/s3_enc.c
139
n += iv_len;
crypto/openssl/ssl/s3_enc.c
142
if (n > s->s3.tmp.key_block_length) {
crypto/openssl/ssl/s3_enc.c
314
int n = 0;
crypto/openssl/ssl/s3_enc.c
315
params[n++] = OSSL_PARAM_construct_octet_string(OSSL_DIGEST_PARAM_SSL3_MS,
crypto/openssl/ssl/s3_enc.c
318
params[n++] = OSSL_PARAM_construct_end();
crypto/openssl/ssl/s3_enc.c
392
unsigned int n;
crypto/openssl/ssl/s3_enc.c
411
|| EVP_DigestFinal_ex(ctx, buf, &n) <= 0
crypto/openssl/ssl/s3_enc.c
414
|| EVP_DigestUpdate(ctx, buf, n) <= 0
crypto/openssl/ssl/s3_enc.c
415
|| EVP_DigestFinal_ex(ctx, out, &n) <= 0) {
crypto/openssl/ssl/s3_enc.c
420
out += n;
crypto/openssl/ssl/s3_enc.c
421
ret_secret_size += n;
crypto/openssl/ssl/ssl_ciph.c
1933
SSL_COMP *ssl3_comp_find(STACK_OF(SSL_COMP) *sk, int n)
crypto/openssl/ssl/ssl_ciph.c
1939
if ((n == 0) || (sk == NULL))
crypto/openssl/ssl/ssl_ciph.c
1941
srch_key.id = n;
crypto/openssl/ssl/ssl_conf.c
327
size_t n = OSSL_NELEM(versions);
crypto/openssl/ssl/ssl_conf.c
329
for (i = 0; i < n; i++)
crypto/openssl/ssl/ssl_lib.c
117
int n = ((int)mdmax) + 1; /* int to handle PrivMatch(255) */
crypto/openssl/ssl/ssl_lib.c
123
mdevp = OPENSSL_zalloc(n * sizeof(*mdevp));
crypto/openssl/ssl/ssl_lib.c
124
mdord = OPENSSL_zalloc(n * sizeof(*mdord));
crypto/openssl/ssl/ssl_lib.c
229
int n = ((int)mtype) + 1;
crypto/openssl/ssl/ssl_lib.c
231
mdevp = OPENSSL_realloc(dctx->mdevp, n * sizeof(*mdevp));
crypto/openssl/ssl/ssl_lib.c
236
mdord = OPENSSL_realloc(dctx->mdord, n * sizeof(*mdord));
crypto/openssl/ssl/ssl_lib.c
3314
const char *SSL_get_cipher_list(const SSL *s, int n)
crypto/openssl/ssl/ssl_lib.c
3322
if ((sk == NULL) || (sk_SSL_CIPHER_num(sk) <= n))
crypto/openssl/ssl/ssl_lib.c
3324
c = sk_SSL_CIPHER_value(sk, n);
crypto/openssl/ssl/ssl_lib.c
3432
int n;
crypto/openssl/ssl/ssl_lib.c
3438
n = (int)OPENSSL_strnlen(c->name, size);
crypto/openssl/ssl/ssl_lib.c
3439
if (n >= size)
crypto/openssl/ssl/ssl_lib.c
3442
memcpy(p, c->name, n);
crypto/openssl/ssl/ssl_lib.c
3443
p += n;
crypto/openssl/ssl/ssl_lib.c
3445
size -= n + 1;
crypto/openssl/ssl/ssl_lib.c
7045
int n;
crypto/openssl/ssl/ssl_lib.c
7047
n = sslv2format ? SSLV2_CIPHER_LEN : TLS_CIPHER_LEN;
crypto/openssl/ssl/ssl_lib.c
7054
if (PACKET_remaining(cipher_suites) % n != 0) {
crypto/openssl/ssl/ssl_lib.c
7064
size_t numciphers = PACKET_remaining(cipher_suites) / n;
crypto/openssl/ssl/ssl_lib.c
7131
int n;
crypto/openssl/ssl/ssl_lib.c
7135
n = sslv2format ? SSLV2_CIPHER_LEN : TLS_CIPHER_LEN;
crypto/openssl/ssl/ssl_lib.c
7145
if (PACKET_remaining(cipher_suites) % n != 0) {
crypto/openssl/ssl/ssl_lib.c
7164
while (PACKET_copy_bytes(cipher_suites, cipher, n)) {
crypto/openssl/ssl/ssl_local.h
2835
SSL_COMP *ssl3_comp_find(STACK_OF(SSL_COMP) *sk, int n);
crypto/openssl/ssl/t1_enc.c
125
size_t n, i, j, k, cl;
crypto/openssl/ssl/t1_enc.c
154
n = i + i;
crypto/openssl/ssl/t1_enc.c
155
key = &(p[n]);
crypto/openssl/ssl/t1_enc.c
156
n += j + j;
crypto/openssl/ssl/t1_enc.c
157
iv = &(p[n]);
crypto/openssl/ssl/t1_enc.c
158
n += k + k;
crypto/openssl/ssl/t1_enc.c
160
n = i;
crypto/openssl/ssl/t1_enc.c
161
mac_secret = &(p[n]);
crypto/openssl/ssl/t1_enc.c
162
n += i + j;
crypto/openssl/ssl/t1_enc.c
163
key = &(p[n]);
crypto/openssl/ssl/t1_enc.c
164
n += j + k;
crypto/openssl/ssl/t1_enc.c
165
iv = &(p[n]);
crypto/openssl/ssl/t1_enc.c
166
n += k;
crypto/openssl/ssl/t1_enc.c
169
if (n > s->s3.tmp.key_block_length) {
crypto/openssl/test/acvp_test.c
1262
const unsigned char *n, size_t n_len,
crypto/openssl/test/acvp_test.c
1275
|| !TEST_ptr(BN_bin2bn(n, n_len, n_bn))
crypto/openssl/test/acvp_test.c
1316
unsigned char *n = NULL, *d = NULL;
crypto/openssl/test/acvp_test.c
1368
&n, &n_len))
crypto/openssl/test/acvp_test.c
1379
|| !TEST_mem_eq(tst->n, tst->n_len, n, n_len)
crypto/openssl/test/acvp_test.c
1389
test_output_memory("n", n, n_len);
crypto/openssl/test/acvp_test.c
1406
OPENSSL_free(n);
crypto/openssl/test/acvp_test.c
1419
unsigned char *sig = NULL, *n = NULL, *e = NULL;
crypto/openssl/test/acvp_test.c
1442
|| !TEST_true(pkey_get_bn_bytes(pkey, OSSL_PKEY_PARAM_RSA_N, &n, &n_len))
crypto/openssl/test/acvp_test.c
1448
test_output_memory("n", n, n_len);
crypto/openssl/test/acvp_test.c
1453
OPENSSL_free(n);
crypto/openssl/test/acvp_test.c
1485
|| !TEST_true(rsa_create_pkey(&pkey, tst->n, tst->n_len,
crypto/openssl/test/acvp_test.c
1516
unsigned char *n = NULL, *e = NULL;
crypto/openssl/test/acvp_test.c
1522
|| !TEST_true(pkey_get_bn_bytes(pkey, OSSL_PKEY_PARAM_RSA_N, &n, &n_len))
crypto/openssl/test/acvp_test.c
1529
test_output_memory("n", n, n_len);
crypto/openssl/test/acvp_test.c
1537
OPENSSL_free(n);
crypto/openssl/test/algorithmid_test.c
280
int n, x509 = 0, spki = 0, testcount = 0;
crypto/openssl/test/algorithmid_test.c
308
n = test_get_argument_count();
crypto/openssl/test/algorithmid_test.c
309
if (spki && n == 1) {
crypto/openssl/test/algorithmid_test.c
311
} else if (x509 && n == 2) {
crypto/openssl/test/asn1_internal_test.c
128
BIGNUM *n = NULL;
crypto/openssl/test/asn1_internal_test.c
133
|| !TEST_ptr(n = BN_new())
crypto/openssl/test/asn1_internal_test.c
135
|| !TEST_true(RSA_set0_key(rsa, n, e, NULL)))
crypto/openssl/test/asn1_internal_test.c
138
n = e = NULL; /* They are now "owned" by |rsa| */
crypto/openssl/test/asn1_internal_test.c
149
BN_free(n);
crypto/openssl/test/bftest.c
295
static int test_bf_ecb_raw(int n)
crypto/openssl/test/bftest.c
301
BF_set_key(&key, strlen(bf_key[n]), (unsigned char *)bf_key[n]);
crypto/openssl/test/bftest.c
303
data[0] = bf_plain[n][0];
crypto/openssl/test/bftest.c
304
data[1] = bf_plain[n][1];
crypto/openssl/test/bftest.c
306
if (!TEST_mem_eq(&(bf_cipher[n][0]), BF_BLOCK, &(data[0]), BF_BLOCK))
crypto/openssl/test/bftest.c
310
if (!TEST_mem_eq(&(bf_plain[n][0]), BF_BLOCK, &(data[0]), BF_BLOCK))
crypto/openssl/test/bftest.c
316
static int test_bf_ecb(int n)
crypto/openssl/test/bftest.c
322
BF_set_key(&key, 8, ecb_data[n]);
crypto/openssl/test/bftest.c
324
BF_ecb_encrypt(&(plain_data[n][0]), out, &key, BF_ENCRYPT);
crypto/openssl/test/bftest.c
325
if (!TEST_mem_eq(&(cipher_data[n][0]), BF_BLOCK, out, BF_BLOCK))
crypto/openssl/test/bftest.c
329
if (!TEST_mem_eq(&(plain_data[n][0]), BF_BLOCK, out, BF_BLOCK))
crypto/openssl/test/bftest.c
335
static int test_bf_set_key(int n)
crypto/openssl/test/bftest.c
341
BF_set_key(&key, n + 1, key_test);
crypto/openssl/test/bftest.c
344
if (!TEST_mem_eq(out, 8, &(key_out[n][0]), 8))
crypto/openssl/test/bftest.c
379
int n, ret = 1;
crypto/openssl/test/bftest.c
389
n = 0;
crypto/openssl/test/bftest.c
391
&key, iv, &n, BF_ENCRYPT);
crypto/openssl/test/bftest.c
393
len - 13, &key, iv, &n, BF_ENCRYPT);
crypto/openssl/test/bftest.c
397
n = 0;
crypto/openssl/test/bftest.c
399
BF_cfb64_encrypt(cbc_out, cbc_in, 17, &key, iv, &n, BF_DECRYPT);
crypto/openssl/test/bftest.c
401
&key, iv, &n, BF_DECRYPT);
crypto/openssl/test/bftest.c
411
int n, ret = 1;
crypto/openssl/test/bftest.c
421
n = 0;
crypto/openssl/test/bftest.c
423
&n);
crypto/openssl/test/bftest.c
425
len - 13, &key, iv, &n);
crypto/openssl/test/bftest.c
429
n = 0;
crypto/openssl/test/bftest.c
431
BF_ofb64_encrypt(cbc_out, cbc_in, 17, &key, iv, &n);
crypto/openssl/test/bftest.c
432
BF_ofb64_encrypt(&(cbc_out[17]), &(cbc_in[17]), len - 17, &key, iv, &n);
crypto/openssl/test/bftest.c
462
int n;
crypto/openssl/test/bftest.c
464
for (n = 0; n < 2; n++) {
crypto/openssl/test/bftest.c
465
ebcdic2ascii(bf_key[n], bf_key[n], strlen(bf_key[n]));
crypto/openssl/test/bio_base64_test.c
191
int n, n1, n2;
crypto/openssl/test/bio_base64_test.c
246
n = BIO_read(b64, out, out_len);
crypto/openssl/test/bio_base64_test.c
251
if (n > 0) {
crypto/openssl/test/bio_base64_test.c
252
n2 = BIO_read(b64, out + n, out_len - n);
crypto/openssl/test/bio_base64_test.c
254
n += n2;
crypto/openssl/test/bio_base64_test.c
255
} else if (n == EOF_RETURN) {
crypto/openssl/test/bio_base64_test.c
256
n = BIO_read(b64, out, out_len);
crypto/openssl/test/bio_base64_test.c
261
if (n < 0 && n == EOF_RETURN)
crypto/openssl/test/bio_base64_test.c
262
n = 0;
crypto/openssl/test/bio_base64_test.c
268
if (n < (int)out_len)
crypto/openssl/test/bio_base64_test.c
270
ret = BIO_read(b64, out + n, out_len - n);
crypto/openssl/test/bio_base64_test.c
293
|| n != (int)t->bytes
crypto/openssl/test/bio_base64_test.c
294
|| (n > 0 && memcmp(raw, out, n) != 0)) {
crypto/openssl/test/bio_comp_test.c
125
static int test_zstd(int n)
crypto/openssl/test/bio_comp_test.c
127
return do_bio_comp(BIO_f_zstd(), n);
crypto/openssl/test/bio_comp_test.c
131
static int test_brotli(int n)
crypto/openssl/test/bio_comp_test.c
133
return do_bio_comp(BIO_f_brotli(), n);
crypto/openssl/test/bio_comp_test.c
137
static int test_zlib(int n)
crypto/openssl/test/bio_comp_test.c
139
return do_bio_comp(BIO_f_zlib(), n);
crypto/openssl/test/bio_comp_test.c
79
static int do_bio_comp(const BIO_METHOD *meth, int n)
crypto/openssl/test/bio_comp_test.c
83
int size = sizes[n % 4];
crypto/openssl/test/bio_comp_test.c
84
int type = n / 4;
crypto/openssl/test/bio_enc_test.c
279
int n, ret = 0;
crypto/openssl/test/bio_enc_test.c
314
|| !TEST_int_gt((n = BIO_read(cbio, cbuf, sizeof(cbuf))), 0)
crypto/openssl/test/bio_enc_test.c
318
|| !TEST_mem_eq(cbuf, n, pbuf, sizeof(pbuf) - 1))
crypto/openssl/test/bio_prefix_text.c
109
for (i = 0; n > 0; i++, n--) {
crypto/openssl/test/bio_prefix_text.c
97
size_t n = amount;
crypto/openssl/test/bio_prefix_text.c
99
chain = OPENSSL_zalloc(sizeof(*chain) * n);
crypto/openssl/test/bntest.c
1382
int n = 0, st = 0;
crypto/openssl/test/bntest.c
1387
|| !getint(s, &n, "N"))
crypto/openssl/test/bntest.c
1390
if (!TEST_true(BN_lshift(ret, a, n))
crypto/openssl/test/bntest.c
1392
|| !TEST_true(BN_rshift(ret, lshift, n))
crypto/openssl/test/bntest.c
1407
int n = 0, st = 0;
crypto/openssl/test/bntest.c
1412
|| !getint(s, &n, "N"))
crypto/openssl/test/bntest.c
1415
if (!TEST_true(BN_rshift(ret, a, n))
crypto/openssl/test/bntest.c
1420
if (n == 1) {
crypto/openssl/test/bntest.c
1861
BIGNUM *n;
crypto/openssl/test/bntest.c
1865
if (!TEST_ptr((n = BN_new())))
crypto/openssl/test/bntest.c
1867
if (!TEST_int_eq(BN_bn2binpad(n, NULL, 0), 0))
crypto/openssl/test/bntest.c
1870
if (!TEST_int_eq(BN_bn2binpad(n, out, sizeof(out)), sizeof(out)))
crypto/openssl/test/bntest.c
1880
if (!TEST_true(BN_rand(n, bytes * 8, TOP_BIT_ON, BOTTOM_BIT_NOTOUCH)))
crypto/openssl/test/bntest.c
1882
if (!TEST_int_eq(BN_num_bytes(n), bytes)
crypto/openssl/test/bntest.c
1883
|| !TEST_int_eq(BN_bn2bin(n, reference), bytes))
crypto/openssl/test/bntest.c
1886
if (!TEST_int_eq(BN_bn2binpad(n, NULL, 0), -1))
crypto/openssl/test/bntest.c
1889
if (!TEST_int_eq(BN_bn2binpad(n, out, bytes - 1), -1))
crypto/openssl/test/bntest.c
1892
if (!TEST_int_eq(BN_bn2binpad(n, out, bytes), bytes)
crypto/openssl/test/bntest.c
1896
if (!TEST_int_eq(BN_bn2binpad(n, out, bytes + 1), bytes + 1)
crypto/openssl/test/bntest.c
1901
if (!TEST_int_eq(BN_bn2binpad(n, out, sizeof(out)), sizeof(out))
crypto/openssl/test/bntest.c
1911
BN_free(n);
crypto/openssl/test/bntest.c
2395
static int test_rand_range_single(size_t n)
crypto/openssl/test/bntest.c
2397
const unsigned int range = rand_range_cases[n].range;
crypto/openssl/test/bntest.c
2398
const unsigned int iterations = rand_range_cases[n].iterations;
crypto/openssl/test/bntest.c
2399
const double critical = rand_range_cases[n].critical;
crypto/openssl/test/bntest.c
2427
TEST_note("test case %zu range %u iterations %u", n + 1, range,
crypto/openssl/test/bntest.c
323
int n, divisor, result, remainder;
crypto/openssl/test/bntest.c
3397
int n, stochastic = 0;
crypto/openssl/test/bntest.c
3411
n = test_get_argument_count();
crypto/openssl/test/bntest.c
3416
if (n == 0) {
crypto/openssl/test/bntest.c
345
static int test_signed_mod_replace_ab(int n)
crypto/openssl/test/bntest.c
3464
ADD_ALL_TESTS(run_file_tests, n);
crypto/openssl/test/bntest.c
350
if (!TEST_ptr(a = set_signed_bn(signed_mod_tests[n].n))
crypto/openssl/test/bntest.c
351
|| !TEST_ptr(b = set_signed_bn(signed_mod_tests[n].divisor))
crypto/openssl/test/bntest.c
352
|| !TEST_ptr(c = set_signed_bn(signed_mod_tests[n].result))
crypto/openssl/test/bntest.c
353
|| !TEST_ptr(d = set_signed_bn(signed_mod_tests[n].remainder)))
crypto/openssl/test/bntest.c
368
static int test_signed_mod_replace_ba(int n)
crypto/openssl/test/bntest.c
373
if (!TEST_ptr(a = set_signed_bn(signed_mod_tests[n].n))
crypto/openssl/test/bntest.c
374
|| !TEST_ptr(b = set_signed_bn(signed_mod_tests[n].divisor))
crypto/openssl/test/bntest.c
375
|| !TEST_ptr(c = set_signed_bn(signed_mod_tests[n].result))
crypto/openssl/test/bntest.c
376
|| !TEST_ptr(d = set_signed_bn(signed_mod_tests[n].remainder)))
crypto/openssl/test/bntest.c
475
BIGNUM *b = NULL, *n = NULL, *c = NULL;
crypto/openssl/test/bntest.c
485
|| !TEST_ptr(n = BN_new())
crypto/openssl/test/bntest.c
513
&& TEST_true(BN_hex2bn(&n,
crypto/openssl/test/bntest.c
520
if (!(TEST_true(BN_MONT_CTX_set(mont, n, ctx))
crypto/openssl/test/bntest.c
527
if (!(TEST_true(parse_bigBN(&n, bn1strings))
crypto/openssl/test/bntest.c
532
&& TEST_true(BN_MONT_CTX_set(mont, n, ctx))
crypto/openssl/test/bntest.c
572
&& TEST_true(parse_bigBN(&n, nhex))))
crypto/openssl/test/bntest.c
577
&& TEST_true(BN_MONT_CTX_set(mont, n, ctx))))
crypto/openssl/test/bntest.c
590
&& TEST_true(BN_hex2bn(&n,
crypto/openssl/test/bntest.c
593
&& TEST_true(BN_MONT_CTX_set(mont, n, ctx))
crypto/openssl/test/bntest.c
608
&& TEST_true(BN_hex2bn(&n,
crypto/openssl/test/bntest.c
613
&& TEST_true(BN_MONT_CTX_set(mont, n, ctx))
crypto/openssl/test/bntest.c
614
&& TEST_true(BN_mod_exp_mont_consttime(c, a, b, n, ctx, mont))
crypto/openssl/test/bntest.c
615
&& TEST_true(BN_mod_exp_mont(d, a, b, n, ctx, mont))
crypto/openssl/test/bntest.c
633
&& TEST_true(BN_hex2bn(&n,
crypto/openssl/test/bntest.c
638
&& TEST_true(BN_MONT_CTX_set(mont, n, ctx))
crypto/openssl/test/bntest.c
639
&& TEST_true(BN_mod_exp_mont_consttime(c, a, b, n, ctx, mont))))
crypto/openssl/test/bntest.c
732
BN_free(n);
crypto/openssl/test/chacha_internal_test.c
163
static int test_cha_cha_internal(int n)
crypto/openssl/test/chacha_internal_test.c
166
unsigned int i = n + 1, j;
crypto/openssl/test/cipher_overhead_test.c
35
int ret = 1, i, n = ssl3_num_ciphers();
crypto/openssl/test/cipher_overhead_test.c
39
for (i = 0; i < n; i++) {
crypto/openssl/test/cmp_hdr_test.c
68
#define X509_NAME_ADD(n, rd, s) \
crypto/openssl/test/cmp_hdr_test.c
69
X509_NAME_add_entry_by_txt((n), (rd), MBSTRING_ASC, (unsigned char *)(s), \
crypto/openssl/test/crltest.c
489
static int test_unknown_critical_crl(int n)
crypto/openssl/test/crltest.c
491
X509_CRL *unknown_critical_crl = CRL_from_strings(unknown_critical_crls[n]);
crypto/openssl/test/ctype_internal_test.c
28
static int test_ctype_chars(int n)
crypto/openssl/test/ctype_internal_test.c
30
if (!TEST_int_eq(isascii((unsigned char)n) != 0, ossl_isascii(n) != 0))
crypto/openssl/test/ctype_internal_test.c
33
if (!ossl_isascii(n))
crypto/openssl/test/ctype_internal_test.c
36
return TEST_int_eq(isalpha(n) != 0, ossl_isalpha(n) != 0)
crypto/openssl/test/ctype_internal_test.c
37
&& TEST_int_eq(isalnum(n) != 0, ossl_isalnum(n) != 0)
crypto/openssl/test/ctype_internal_test.c
39
&& TEST_int_eq(isblank(n) != 0, ossl_isblank(n) != 0)
crypto/openssl/test/ctype_internal_test.c
41
&& TEST_int_eq(iscntrl(n) != 0, ossl_iscntrl(n) != 0)
crypto/openssl/test/ctype_internal_test.c
42
&& TEST_int_eq(isdigit(n) != 0, ossl_isdigit(n) != 0)
crypto/openssl/test/ctype_internal_test.c
43
&& TEST_int_eq(isgraph(n) != 0, ossl_isgraph(n) != 0)
crypto/openssl/test/ctype_internal_test.c
44
&& TEST_int_eq(islower(n) != 0, ossl_islower(n) != 0)
crypto/openssl/test/ctype_internal_test.c
45
&& TEST_int_eq(isprint(n) != 0, ossl_isprint(n) != 0)
crypto/openssl/test/ctype_internal_test.c
46
&& TEST_int_eq(ispunct(n) != 0, ossl_ispunct(n) != 0)
crypto/openssl/test/ctype_internal_test.c
47
&& TEST_int_eq(isspace(n) != 0, ossl_isspace(n) != 0)
crypto/openssl/test/ctype_internal_test.c
48
&& TEST_int_eq(isupper(n) != 0, ossl_isupper(n) != 0)
crypto/openssl/test/ctype_internal_test.c
49
&& TEST_int_eq(isxdigit(n) != 0, ossl_isxdigit(n) != 0);
crypto/openssl/test/ctype_internal_test.c
66
static int test_ctype_toupper(int n)
crypto/openssl/test/ctype_internal_test.c
68
return TEST_int_eq(ossl_toupper(case_change[n].l), case_change[n].u)
crypto/openssl/test/ctype_internal_test.c
69
&& TEST_int_eq(ossl_toupper(case_change[n].u), case_change[n].u);
crypto/openssl/test/ctype_internal_test.c
72
static int test_ctype_tolower(int n)
crypto/openssl/test/ctype_internal_test.c
74
return TEST_int_eq(ossl_tolower(case_change[n].u), case_change[n].l)
crypto/openssl/test/ctype_internal_test.c
75
&& TEST_int_eq(ossl_tolower(case_change[n].l), case_change[n].l);
crypto/openssl/test/danetest.c
153
int n;
crypto/openssl/test/danetest.c
158
n = strlen(buf);
crypto/openssl/test/danetest.c
159
if (buf[n - 1] != '\n') {
crypto/openssl/test/danetest.c
160
if (n + 1 == sizeof(buf))
crypto/openssl/test/danetest.c
168
while (n > 0 && isspace(_UC(buf[n - 1])))
crypto/openssl/test/danetest.c
169
buf[--n] = '\0';
crypto/openssl/test/destest.c
401
const size_t n = strlen((char *)cbc_data) + 1;
crypto/openssl/test/destest.c
408
DES_xcbc_encrypt(cbc_data, cbc_out, n, &ks, &iv3, &cbc2_key, &cbc3_key,
crypto/openssl/test/destest.c
413
DES_xcbc_encrypt(cbc_out, cbc_in, n, &ks, &iv3, &cbc2_key, &cbc3_key,
crypto/openssl/test/destest.c
415
return TEST_mem_eq(cbc_data, n, cbc_data, n);
crypto/openssl/test/destest.c
425
const size_t n = (i + 7) / 8 * 8;
crypto/openssl/test/destest.c
441
if (!TEST_mem_eq(cbc_out, n, cbc3_ok, n))
crypto/openssl/test/destest.c
455
const size_t n = strlen(i + (char *)cbc_data) + 1;
crypto/openssl/test/destest.c
461
DES_ncbc_encrypt(&cbc_data[i], cbc_out, n, &ks, &iv, DES_ENCRYPT);
crypto/openssl/test/destest.c
470
const size_t n = strlen((char *)cbc_data) + 1;
crypto/openssl/test/destest.c
476
DES_ncbc_encrypt(cbc_data, &cbc_out[i], n, &ks, &iv, DES_ENCRYPT);
crypto/openssl/test/destest.c
501
const int n = strlen((char *)cbc_data) + 1;
crypto/openssl/test/destest.c
507
DES_pcbc_encrypt(cbc_data, cbc_out, n, &ks,
crypto/openssl/test/destest.c
511
DES_pcbc_encrypt(cbc_out, cbc_in, n, &ks,
crypto/openssl/test/destest.c
513
return TEST_mem_eq(cbc_in, n, cbc_data, n);
crypto/openssl/test/destest.c
555
int n;
crypto/openssl/test/destest.c
563
n = 0;
crypto/openssl/test/destest.c
564
DES_cfb64_encrypt(plain, cfb_buf1, 12, &ks, &cfb_tmp, &n, DES_ENCRYPT);
crypto/openssl/test/destest.c
566
&cfb_tmp, &n, DES_ENCRYPT);
crypto/openssl/test/destest.c
570
n = 0;
crypto/openssl/test/destest.c
571
DES_cfb64_encrypt(cfb_buf1, cfb_buf2, 17, &ks, &cfb_tmp, &n, DES_DECRYPT);
crypto/openssl/test/destest.c
573
sizeof(plain) - 17, &ks, &cfb_tmp, &n, DES_DECRYPT);
crypto/openssl/test/destest.c
594
int n;
crypto/openssl/test/destest.c
598
n = 0;
crypto/openssl/test/destest.c
599
DES_ede3_cfb64_encrypt(plain, cfb_buf1, 12, &ks, &ks, &ks, &cfb_tmp, &n,
crypto/openssl/test/destest.c
602
&ks, &ks, &cfb_tmp, &n, DES_ENCRYPT);
crypto/openssl/test/destest.c
606
n = 0;
crypto/openssl/test/destest.c
608
&cfb_tmp, &n, DES_DECRYPT);
crypto/openssl/test/destest.c
610
&ks, &ks, &ks, &cfb_tmp, &n, DES_DECRYPT);
crypto/openssl/test/destest.c
818
static int test_des_weak_keys(int n)
crypto/openssl/test/destest.c
820
const_DES_cblock *key = (unsigned char (*)[8])weak_keys[n].key;
crypto/openssl/test/destest.c
822
return TEST_int_eq(DES_is_weak_key(key), weak_keys[n].expect);
crypto/openssl/test/destest.c
844
static int test_des_check_bad_parity(int n)
crypto/openssl/test/destest.c
846
const_DES_cblock *key = (unsigned char (*)[8])bad_parity_keys[n].key;
crypto/openssl/test/destest.c
848
return TEST_int_eq(DES_check_key_parity(key), bad_parity_keys[n].expect);
crypto/openssl/test/dhtest.c
257
static int cb(int p, int n, BN_GENCB *arg)
crypto/openssl/test/dhtest.c
35
static int cb(int p, int n, BN_GENCB *arg);
crypto/openssl/test/drbgtest.c
103
static void set_reseed_counter(EVP_RAND_CTX *drbg, unsigned int n)
crypto/openssl/test/drbgtest.c
107
p->reseed_counter = n;
crypto/openssl/test/drbgtest.c
83
unsigned int n;
crypto/openssl/test/drbgtest.c
85
*params = OSSL_PARAM_construct_uint(name, &n);
crypto/openssl/test/drbgtest.c
87
return n;
crypto/openssl/test/dsatest.c
120
static int dsa_cb(int p, int n, BN_GENCB *arg)
crypto/openssl/test/dsatest.c
33
static int dsa_cb(int p, int n, BN_GENCB *arg);
crypto/openssl/test/ec_internal_test.c
214
static int field_tests_default(int n)
crypto/openssl/test/ec_internal_test.c
218
int nid = curves[n].nid;
crypto/openssl/test/ec_internal_test.c
439
static int ecpkparams_i2d2i_test(int n)
crypto/openssl/test/ec_internal_test.c
443
int nid = curves[n].nid;
crypto/openssl/test/ecdsatest.c
124
|| !TEST_ptr(qbuf = OPENSSL_hexstr2buf(ecdsa_cavs_kats[n].Q, &q_len))
crypto/openssl/test/ecdsatest.c
188
static int test_builtin(int n, int as)
crypto/openssl/test/ecdsatest.c
199
nid = curves[n].nid;
crypto/openssl/test/ecdsatest.c
338
static int test_builtin_as_ec(int n)
crypto/openssl/test/ecdsatest.c
340
return test_builtin(n, EVP_PKEY_EC);
crypto/openssl/test/ecdsatest.c
344
static int test_builtin_as_sm2(int n)
crypto/openssl/test/ecdsatest.c
346
return test_builtin(n, EVP_PKEY_SM2);
crypto/openssl/test/ecdsatest.c
73
static int x9_62_tests(int n)
crypto/openssl/test/ecdsatest.c
89
nid = ecdsa_cavs_kats[n].nid;
crypto/openssl/test/ecdsatest.c
90
md_nid = ecdsa_cavs_kats[n].md_nid;
crypto/openssl/test/ecdsatest.c
91
r_in = ecdsa_cavs_kats[n].r;
crypto/openssl/test/ecdsatest.c
92
s_in = ecdsa_cavs_kats[n].s;
crypto/openssl/test/ecdsatest.c
93
tbs = ecdsa_cavs_kats[n].msg;
crypto/openssl/test/ecdsatest.c
94
numbers[0] = ecdsa_cavs_kats[n].d;
crypto/openssl/test/ecdsatest.c
95
numbers[1] = ecdsa_cavs_kats[n].k;
crypto/openssl/test/ectest.c
1113
static int internal_curve_test(int n)
crypto/openssl/test/ectest.c
1116
int nid = curves[n].nid;
crypto/openssl/test/ectest.c
1132
static int internal_curve_test_method(int n)
crypto/openssl/test/ectest.c
1134
int r, nid = curves[n].nid;
crypto/openssl/test/ectest.c
1292
BIGNUM *n = NULL, *m = NULL, *order = NULL, *yplusone = NULL;
crypto/openssl/test/ectest.c
1306
|| !TEST_ptr(n = BN_new())
crypto/openssl/test/ectest.c
1340
if (!TEST_true(BN_hex2bn(&n, test->d)))
crypto/openssl/test/ectest.c
1343
EC_POINT_mul(NISTP, Q, n, NULL, NULL, ctx);
crypto/openssl/test/ectest.c
1347
EC_POINT_mul(NISTP, Q, NULL, G, n, ctx);
crypto/openssl/test/ectest.c
1354
|| !TEST_true(BN_rshift(m, n, 1)))
crypto/openssl/test/ectest.c
1386
EC_POINT_mul(NISTP, Q, n, NULL, NULL, ctx);
crypto/openssl/test/ectest.c
1390
EC_POINT_mul(NISTP, Q, NULL, G, n, ctx);
crypto/openssl/test/ectest.c
1396
|| !TEST_true(BN_set_word(n, 31))
crypto/openssl/test/ectest.c
1399
|| !TEST_true(EC_POINT_mul(NISTP, Q, m, P, n, ctx))
crypto/openssl/test/ectest.c
1410
BN_free(n);
crypto/openssl/test/ectest.c
2229
static int cardinality_test(int n)
crypto/openssl/test/ectest.c
2232
int nid = curves[n].nid;
crypto/openssl/test/ectest.c
767
static int char2_curve_test(int n)
crypto/openssl/test/ectest.c
779
struct c2_curve_test *const test = char2_curve_tests + n;
crypto/openssl/test/ectest.c
846
if (n == OSSL_NELEM(char2_curve_tests) - 1) {
crypto/openssl/test/endecode_test.c
35
#define TEST_FL_mem_eq(a, m, b, n) test_mem_eq(file, line, #a, #b, a, m, b, n)
crypto/openssl/test/endecode_test.c
36
#define TEST_FL_strn_eq(a, b, n) test_strn_eq(file, line, #a, #b, a, n, b, n)
crypto/openssl/test/endecode_test.c
37
#define TEST_FL_strn2_eq(a, m, b, n) test_strn_eq(file, line, #a, #b, a, m, b, n)
crypto/openssl/test/enginetest.c
226
static unsigned char n[] = "\x00\xAA\x36\xAB\xCE\x88\xAC\xFD\xFF\x55\x52\x3C\x7F\xC4\x52\x3F"
crypto/openssl/test/enginetest.c
242
if (!RSA_set0_key(rsa, BN_bin2bn(n, sizeof(n) - 1, NULL),
crypto/openssl/test/enginetest.c
449
int n;
crypto/openssl/test/enginetest.c
456
n = test_get_argument_count();
crypto/openssl/test/enginetest.c
457
if (n == 0)
crypto/openssl/test/evp_extra_test.c
1787
static int test_EVP_Enveloped(int n)
crypto/openssl/test/evp_extra_test.c
1802
if (n == 0)
crypto/openssl/test/evp_extra_test.c
1833
if (n != 0)
crypto/openssl/test/evp_extra_test.c
3875
BIGNUM *n = NULL, *e = NULL, *d = NULL;
crypto/openssl/test/evp_extra_test.c
3886
|| !TEST_ptr(n = BN_new())
crypto/openssl/test/evp_extra_test.c
3890
if (!TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_RSA_N, n))
crypto/openssl/test/evp_extra_test.c
3913
BN_free(n);
crypto/openssl/test/evp_extra_test.c
4132
BIGNUM *n = NULL;
crypto/openssl/test/evp_extra_test.c
4145
|| !TEST_ptr(n = BN_dup(BN_value_one()))
crypto/openssl/test/evp_extra_test.c
4160
if (!TEST_true(RSA_set0_key(rsa, n, e, d)))
crypto/openssl/test/evp_extra_test.c
4162
n = NULL;
crypto/openssl/test/evp_extra_test.c
4182
BN_free(n);
crypto/openssl/test/evp_extra_test.c
4345
static int test_keygen_with_empty_template(int n)
crypto/openssl/test/evp_extra_test.c
4355
switch (n) {
crypto/openssl/test/evp_extra_test.c
936
BIGNUM *n = NULL, *e = NULL;
crypto/openssl/test/evp_extra_test.c
942
|| !TEST_ptr(n = BN_new())
crypto/openssl/test/evp_extra_test.c
944
|| !TEST_true(BN_set_word(n, 17))
crypto/openssl/test/evp_extra_test.c
946
|| !TEST_true(RSA_set0_key(rsa, n, e, NULL))
crypto/openssl/test/evp_extra_test.c
952
BN_free(n);
crypto/openssl/test/evp_pkey_provided_test.c
547
BIGNUM *n = NULL, *e = NULL, *d = NULL, *p = NULL, *q = NULL;
crypto/openssl/test/evp_pkey_provided_test.c
589
|| !TEST_ptr(n = BN_bin2bn(n_data, sizeof(n_data), NULL))
crypto/openssl/test/evp_pkey_provided_test.c
597
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_RSA_N, n))
crypto/openssl/test/evp_pkey_provided_test.c
621
BN_free(n);
crypto/openssl/test/evp_pkey_provided_test.c
636
BIGNUM *n = NULL, *e = NULL, *d = NULL;
crypto/openssl/test/evp_pkey_provided_test.c
761
|| !TEST_ptr(n = BN_bin2bn(n_data, sizeof(n_data), NULL))
crypto/openssl/test/evp_pkey_provided_test.c
772
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_RSA_N, n))
crypto/openssl/test/evp_pkey_provided_test.c
797
cdata[5].comparebn = n;
crypto/openssl/test/evp_pkey_provided_test.c
814
BN_free(n);
crypto/openssl/test/evp_pkey_provided_test.c
836
BIGNUM *n = NULL, *e = NULL, *d = NULL, *n_out = NULL;
crypto/openssl/test/evp_pkey_provided_test.c
853
|| !TEST_ptr(n = BN_bin2bn(n_data, sizeof(n_data), NULL))
crypto/openssl/test/evp_pkey_provided_test.c
856
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_RSA_N, n))
crypto/openssl/test/evp_pkey_provided_test.c
867
|| !TEST_BN_eq(n, n_out))
crypto/openssl/test/evp_pkey_provided_test.c
872
BN_free(n);
crypto/openssl/test/evp_test.c
3530
int n;
crypto/openssl/test/evp_test.c
3574
rdata->n = -1;
crypto/openssl/test/evp_test.c
3592
for (i = 0; i <= rdata->n; i++) {
crypto/openssl/test/evp_test.c
3614
int n;
crypto/openssl/test/evp_test.c
3617
n = atoi(++p);
crypto/openssl/test/evp_test.c
3618
if (n >= MAX_RAND_REPEATS)
crypto/openssl/test/evp_test.c
3620
if (n > rdata->n)
crypto/openssl/test/evp_test.c
3621
rdata->n = n;
crypto/openssl/test/evp_test.c
3622
item = rdata->data + n;
crypto/openssl/test/evp_test.c
3655
if ((n = atoi(value)) <= 0 || n % 8 != 0)
crypto/openssl/test/evp_test.c
3657
rdata->generate_bits = (unsigned int)n;
crypto/openssl/test/evp_test.c
3713
for (i = 0; i <= expected->n; i++) {
crypto/openssl/test/evp_test.c
3785
TEST_info("Error in test case %d of %d\n", i, expected->n + 1);
crypto/openssl/test/evp_test.c
5393
size_t n;
crypto/openssl/test/evp_test.c
5436
n = test_get_argument_count();
crypto/openssl/test/evp_test.c
5437
if (n == 0)
crypto/openssl/test/evp_test.c
5440
ADD_ALL_TESTS(run_file_tests, n);
crypto/openssl/test/ext_internal_test.c
82
size_t n = OSSL_NELEM(ext_list);
crypto/openssl/test/ext_internal_test.c
87
for (i = 0; i < n; i++) {
crypto/openssl/test/fips_version_test.c
35
static int test_fips_version(int n)
crypto/openssl/test/fips_version_test.c
37
const char *version = test_get_argument(n);
crypto/openssl/test/fips_version_test.c
48
int n;
crypto/openssl/test/fips_version_test.c
66
n = test_get_argument_count();
crypto/openssl/test/fips_version_test.c
67
if (n == 0)
crypto/openssl/test/fips_version_test.c
70
ADD_ALL_TESTS(test_fips_version, n);
crypto/openssl/test/helpers/quictestlib.c
1164
#define BIO_MSG_N(array, stride, n) (*(BIO_MSG *)((char *)(array) + (n) * (stride)))
crypto/openssl/test/ideatest.c
100
n = 0;
crypto/openssl/test/ideatest.c
102
cfb_tmp, &n, IDEA_ENCRYPT);
crypto/openssl/test/ideatest.c
105
cfb_tmp, &n, IDEA_ENCRYPT);
crypto/openssl/test/ideatest.c
109
n = 0;
crypto/openssl/test/ideatest.c
111
cfb_tmp, &n, IDEA_DECRYPT);
crypto/openssl/test/ideatest.c
114
cfb_tmp, &n, IDEA_DECRYPT);
crypto/openssl/test/ideatest.c
95
int n;
crypto/openssl/test/igetest.c
149
static int test_ige_vectors(int n)
crypto/openssl/test/igetest.c
151
const struct ige_test *const v = &ige_test_vectors[n];
crypto/openssl/test/igetest.c
168
TEST_info("IGE test vector %d failed", n);
crypto/openssl/test/igetest.c
181
TEST_info("IGE test vector %d failed (with in == out)", n);
crypto/openssl/test/igetest.c
191
static int test_bi_ige_vectors(int n)
crypto/openssl/test/igetest.c
193
const struct bi_ige_test *const v = &bi_ige_test_vectors[n];
crypto/openssl/test/igetest.c
295
unsigned int n;
crypto/openssl/test/igetest.c
313
for (n = 0; n < sizeof(checktext); ++n)
crypto/openssl/test/igetest.c
314
if (checktext[n] == plaintext[n])
crypto/openssl/test/igetest.c
354
unsigned int n;
crypto/openssl/test/igetest.c
371
for (n = 0; n < sizeof(checktext); ++n)
crypto/openssl/test/igetest.c
372
if (checktext[n] == plaintext[n])
crypto/openssl/test/igetest.c
385
unsigned int n;
crypto/openssl/test/igetest.c
402
for (n = 0; n < sizeof(checktext); ++n)
crypto/openssl/test/igetest.c
403
if (checktext[n] == plaintext[n])
crypto/openssl/test/igetest.c
416
unsigned int n;
crypto/openssl/test/igetest.c
433
for (n = 0; n < sizeof(checktext); ++n)
crypto/openssl/test/igetest.c
434
if (checktext[n] == plaintext[n])
crypto/openssl/test/keymgmt_internal_test.c
291
static int test_pass_key(int n)
crypto/openssl/test/keymgmt_internal_test.c
294
EXECUTE_TEST(tests[n], tear_down);
crypto/openssl/test/keymgmt_internal_test.c
298
static int test_evp_pkey_export_to_provider(int n)
crypto/openssl/test/keymgmt_internal_test.c
330
if (n == 0) {
crypto/openssl/test/keymgmt_internal_test.c
334
} else if (n == 1) {
crypto/openssl/test/keymgmt_internal_test.c
91
BIGNUM *n = NULL;
crypto/openssl/test/keymgmt_internal_test.c
94
if (!TEST_true(OSSL_PARAM_get_BN(p, &n))
crypto/openssl/test/keymgmt_internal_test.c
95
|| !TEST_int_ge(BN_bn2nativepad(n, (unsigned char *)goal, sizeof(*goal)), 0))
crypto/openssl/test/keymgmt_internal_test.c
97
BN_free(n);
crypto/openssl/test/lhash_test.c
200
const int n = int_find(*vd);
crypto/openssl/test/lhash_test.c
202
if (n < 0)
crypto/openssl/test/lhash_test.c
205
int_found[n]++;
crypto/openssl/test/lhash_test.c
344
const unsigned int n = 2500000;
crypto/openssl/test/lhash_test.c
357
for (i = 0; i < n; i++) {
crypto/openssl/test/lhash_test.c
368
if (!TEST_int_eq(lh_int_num_items(h), n))
crypto/openssl/test/lhash_test.c
372
for (i = 0; i < n; i++) {
crypto/openssl/test/lhash_test.c
373
const int j = (7 * i + 4) % n * 3 + 1;
crypto/openssl/test/lhash_test.c
404
const unsigned int n = 2500000;
crypto/openssl/test/lhash_test.c
434
for (i = 0; i < n; i++) {
crypto/openssl/test/lhash_test.c
451
if (!TEST_int_eq((size_t)ossl_ht_count(h), n))
crypto/openssl/test/lhash_test.c
455
for (i = 0; i < n; i++) {
crypto/openssl/test/lhash_test.c
456
const int j = (7 * i + 4) % n * 3 + 1;
crypto/openssl/test/lhash_test.c
51
static int int_find(int n)
crypto/openssl/test/lhash_test.c
56
if (int_tests[i] == n)
crypto/openssl/test/lhash_test.c
63
const int n = int_find(*v);
crypto/openssl/test/lhash_test.c
65
if (n < 0)
crypto/openssl/test/lhash_test.c
68
int_found[n]++;
crypto/openssl/test/lhash_test.c
73
const int n = int_find(*p);
crypto/openssl/test/lhash_test.c
75
if (n < 0)
crypto/openssl/test/lhash_test.c
78
f[n]++;
crypto/openssl/test/list_test.c
104
int n = 1;
crypto/openssl/test/list_test.c
109
elem[i].n = i;
crypto/openssl/test/list_test.c
125
if (!TEST_int_eq(c->n, n) || !TEST_int_eq(d->n, 8 - n))
crypto/openssl/test/list_test.c
129
n++;
crypto/openssl/test/list_test.c
138
n = 2;
crypto/openssl/test/list_test.c
142
if (!TEST_int_eq(c->n, n) || !TEST_int_eq(d->n, 7 - n))
crypto/openssl/test/list_test.c
146
n++;
crypto/openssl/test/list_test.c
157
|| !TEST_int_eq(ossl_list_int_head(&l)->n, 5)
crypto/openssl/test/list_test.c
158
|| !TEST_int_eq(ossl_list_int_tail(&l)->n, 5))
crypto/openssl/test/list_test.c
166
|| !TEST_int_eq(ossl_list_int_head(&l)->n, 0)
crypto/openssl/test/list_test.c
167
|| !TEST_int_eq(ossl_list_int_tail(&l)->n, 0))
crypto/openssl/test/list_test.c
23
int n;
crypto/openssl/test/list_test.c
50
elem[i].n = i;
crypto/openssl/test/list_test.c
68
|| !TEST_int_eq(ossl_list_fizz_head(&a)->n, 3)
crypto/openssl/test/list_test.c
69
|| !TEST_int_eq(ossl_list_fizz_tail(&a)->n, na * 3)
crypto/openssl/test/list_test.c
70
|| !TEST_int_eq(ossl_list_buzz_head(&b)->n, nb * 5)
crypto/openssl/test/list_test.c
71
|| !TEST_int_eq(ossl_list_buzz_tail(&b)->n, 5))
crypto/openssl/test/list_test.c
79
|| !TEST_int_eq(ossl_list_fizz_head(&a)->n, 6)
crypto/openssl/test/list_test.c
80
|| !TEST_int_eq(ossl_list_buzz_tail(&b)->n, 10)
crypto/openssl/test/list_test.c
83
|| !TEST_int_eq(ossl_list_fizz_next(ossl_list_fizz_head(&a))->n, 9)
crypto/openssl/test/list_test.c
84
|| !TEST_int_eq(ossl_list_fizz_prev(ossl_list_fizz_tail(&a))->n, 15))
crypto/openssl/test/list_test.c
91
int n;
crypto/openssl/test/modes_internal_test.c
808
#define GCM128_TEST_VECTOR(n) \
crypto/openssl/test/modes_internal_test.c
810
{ sizeof(K##n), K##n }, \
crypto/openssl/test/modes_internal_test.c
811
{ sizeof(IV##n), IV##n }, \
crypto/openssl/test/modes_internal_test.c
812
{ sizeof(A##n), A##n }, \
crypto/openssl/test/modes_internal_test.c
813
{ sizeof(P##n), P##n }, \
crypto/openssl/test/modes_internal_test.c
814
{ sizeof(C##n), C##n }, \
crypto/openssl/test/modes_internal_test.c
816
sizeof(T##n), T##n \
crypto/openssl/test/p_test.c
66
static int local_snprintf(char *buf, size_t n, const char *format, ...)
crypto/openssl/test/p_test.c
72
ret = (*c_BIO_vsnprintf)(buf, n, format, args);
crypto/openssl/test/param_build_test.c
408
const int n = 100;
crypto/openssl/test/param_build_test.c
417
for (i = 0; i < n; i++) {
crypto/openssl/test/param_build_test.c
429
if (!TEST_int_eq(i, n))
crypto/openssl/test/params_api_test.c
197
static int test_param_int(int n)
crypto/openssl/test/params_api_test.c
201
const size_t len = raw_values[n].len >= sizeof(int) ? sizeof(int) : raw_values[n].len;
crypto/openssl/test/params_api_test.c
208
le_copy(buf, sizeof(in), raw_values[n].value, sizeof(in));
crypto/openssl/test/params_api_test.c
214
if (!TEST_mem_eq(cmp, len, raw_values[n].value, len))
crypto/openssl/test/params_api_test.c
220
if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in)))
crypto/openssl/test/params_api_test.c
223
return test_param_type_extra(&param, raw_values[n].value, sizeof(int));
crypto/openssl/test/params_api_test.c
226
static int test_param_long(int n)
crypto/openssl/test/params_api_test.c
230
const size_t len = raw_values[n].len >= sizeof(long int)
crypto/openssl/test/params_api_test.c
232
: raw_values[n].len;
crypto/openssl/test/params_api_test.c
239
le_copy(buf, sizeof(in), raw_values[n].value, sizeof(in));
crypto/openssl/test/params_api_test.c
245
if (!TEST_mem_eq(cmp, len, raw_values[n].value, len))
crypto/openssl/test/params_api_test.c
251
if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in)))
crypto/openssl/test/params_api_test.c
254
return test_param_type_extra(&param, raw_values[n].value, sizeof(long int));
crypto/openssl/test/params_api_test.c
257
static int test_param_uint(int n)
crypto/openssl/test/params_api_test.c
261
const size_t len = raw_values[n].len >= sizeof(unsigned int) ? sizeof(unsigned int) : raw_values[n].len;
crypto/openssl/test/params_api_test.c
268
le_copy(buf, sizeof(in), raw_values[n].value, sizeof(in));
crypto/openssl/test/params_api_test.c
274
if (!TEST_mem_eq(cmp, len, raw_values[n].value, len))
crypto/openssl/test/params_api_test.c
280
if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in)))
crypto/openssl/test/params_api_test.c
283
return test_param_type_extra(&param, raw_values[n].value, sizeof(unsigned int));
crypto/openssl/test/params_api_test.c
286
static int test_param_ulong(int n)
crypto/openssl/test/params_api_test.c
290
const size_t len = raw_values[n].len >= sizeof(unsigned long int)
crypto/openssl/test/params_api_test.c
292
: raw_values[n].len;
crypto/openssl/test/params_api_test.c
299
le_copy(buf, sizeof(in), raw_values[n].value, sizeof(in));
crypto/openssl/test/params_api_test.c
305
if (!TEST_mem_eq(cmp, len, raw_values[n].value, len))
crypto/openssl/test/params_api_test.c
311
if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in)))
crypto/openssl/test/params_api_test.c
314
return test_param_type_extra(&param, raw_values[n].value, sizeof(unsigned long int));
crypto/openssl/test/params_api_test.c
317
static int test_param_int32(int n)
crypto/openssl/test/params_api_test.c
321
const size_t len = raw_values[n].len >= sizeof(int32_t)
crypto/openssl/test/params_api_test.c
323
: raw_values[n].len;
crypto/openssl/test/params_api_test.c
330
le_copy(buf, sizeof(in), raw_values[n].value, sizeof(in));
crypto/openssl/test/params_api_test.c
336
if (!TEST_mem_eq(cmp, len, raw_values[n].value, len))
crypto/openssl/test/params_api_test.c
342
if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in)))
crypto/openssl/test/params_api_test.c
345
return test_param_type_extra(&param, raw_values[n].value, sizeof(int32_t));
crypto/openssl/test/params_api_test.c
348
static int test_param_uint32(int n)
crypto/openssl/test/params_api_test.c
352
const size_t len = raw_values[n].len >= sizeof(uint32_t)
crypto/openssl/test/params_api_test.c
354
: raw_values[n].len;
crypto/openssl/test/params_api_test.c
361
le_copy(buf, sizeof(in), raw_values[n].value, sizeof(in));
crypto/openssl/test/params_api_test.c
367
if (!TEST_mem_eq(cmp, len, raw_values[n].value, len))
crypto/openssl/test/params_api_test.c
373
if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in)))
crypto/openssl/test/params_api_test.c
376
return test_param_type_extra(&param, raw_values[n].value, sizeof(uint32_t));
crypto/openssl/test/params_api_test.c
379
static int test_param_int64(int n)
crypto/openssl/test/params_api_test.c
383
const size_t len = raw_values[n].len >= sizeof(int64_t)
crypto/openssl/test/params_api_test.c
385
: raw_values[n].len;
crypto/openssl/test/params_api_test.c
392
le_copy(buf, sizeof(in), raw_values[n].value, sizeof(in));
crypto/openssl/test/params_api_test.c
398
if (!TEST_mem_eq(cmp, len, raw_values[n].value, len))
crypto/openssl/test/params_api_test.c
404
if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in)))
crypto/openssl/test/params_api_test.c
407
return test_param_type_extra(&param, raw_values[n].value, sizeof(int64_t));
crypto/openssl/test/params_api_test.c
410
static int test_param_uint64(int n)
crypto/openssl/test/params_api_test.c
414
const size_t len = raw_values[n].len >= sizeof(uint64_t)
crypto/openssl/test/params_api_test.c
416
: raw_values[n].len;
crypto/openssl/test/params_api_test.c
423
le_copy(buf, sizeof(in), raw_values[n].value, sizeof(in));
crypto/openssl/test/params_api_test.c
429
if (!TEST_mem_eq(cmp, len, raw_values[n].value, len))
crypto/openssl/test/params_api_test.c
435
if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in)))
crypto/openssl/test/params_api_test.c
438
return test_param_type_extra(&param, raw_values[n].value, sizeof(uint64_t));
crypto/openssl/test/params_api_test.c
441
static int test_param_size_t(int n)
crypto/openssl/test/params_api_test.c
445
const size_t len = raw_values[n].len >= sizeof(size_t)
crypto/openssl/test/params_api_test.c
447
: raw_values[n].len;
crypto/openssl/test/params_api_test.c
454
le_copy(buf, sizeof(in), raw_values[n].value, sizeof(in));
crypto/openssl/test/params_api_test.c
460
if (!TEST_mem_eq(cmp, len, raw_values[n].value, len))
crypto/openssl/test/params_api_test.c
466
if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in)))
crypto/openssl/test/params_api_test.c
469
return test_param_type_extra(&param, raw_values[n].value, sizeof(size_t));
crypto/openssl/test/params_api_test.c
472
static int test_param_time_t(int n)
crypto/openssl/test/params_api_test.c
476
const size_t len = raw_values[n].len >= sizeof(time_t)
crypto/openssl/test/params_api_test.c
478
: raw_values[n].len;
crypto/openssl/test/params_api_test.c
485
le_copy(buf, sizeof(in), raw_values[n].value, sizeof(in));
crypto/openssl/test/params_api_test.c
491
if (!TEST_mem_eq(cmp, len, raw_values[n].value, len))
crypto/openssl/test/params_api_test.c
497
if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in)))
crypto/openssl/test/params_api_test.c
500
return test_param_type_extra(&param, raw_values[n].value, sizeof(size_t));
crypto/openssl/test/params_api_test.c
503
static int test_param_bignum(int n)
crypto/openssl/test/params_api_test.c
506
const size_t len = raw_values[n].len;
crypto/openssl/test/params_api_test.c
518
if (!TEST_ptr(b = BN_lebin2bn(raw_values[n].value, (int)len, NULL)))
crypto/openssl/test/params_api_test.c
524
if (!TEST_mem_eq(raw_values[n].value, len, buf, len))
crypto/openssl/test/params_api_test.c
538
static int test_param_signed_bignum(int n)
crypto/openssl/test/params_api_test.c
541
const size_t len = raw_values[n].len;
crypto/openssl/test/params_api_test.c
552
if (!TEST_ptr(b = BN_signed_lebin2bn(raw_values[n].value, (int)len, NULL)))
crypto/openssl/test/params_api_test.c
556
if (!TEST_false(!!(raw_values[n].value[len - 1] & 0x80) ^ BN_is_negative(b)))
crypto/openssl/test/params_api_test.c
561
if (!TEST_mem_eq(raw_values[n].value, len, buf, len))
crypto/openssl/test/params_api_test.c
611
int i, n = 0, ret = 0;
crypto/openssl/test/params_api_test.c
623
params[n++] = OSSL_PARAM_construct_int("int", &i);
crypto/openssl/test/params_api_test.c
624
params[n++] = OSSL_PARAM_construct_uint("uint", &u);
crypto/openssl/test/params_api_test.c
625
params[n++] = OSSL_PARAM_construct_long("long", &l);
crypto/openssl/test/params_api_test.c
626
params[n++] = OSSL_PARAM_construct_ulong("ulong", &ul);
crypto/openssl/test/params_api_test.c
627
params[n++] = OSSL_PARAM_construct_int32("int32", &i32);
crypto/openssl/test/params_api_test.c
628
params[n++] = OSSL_PARAM_construct_int64("int64", &i64);
crypto/openssl/test/params_api_test.c
629
params[n++] = OSSL_PARAM_construct_uint32("uint32", &u32);
crypto/openssl/test/params_api_test.c
630
params[n++] = OSSL_PARAM_construct_uint64("uint64", &u64);
crypto/openssl/test/params_api_test.c
631
params[n++] = OSSL_PARAM_construct_size_t("size_t", &s);
crypto/openssl/test/params_api_test.c
632
params[n++] = OSSL_PARAM_construct_double("double", &d);
crypto/openssl/test/params_api_test.c
633
params[n++] = OSSL_PARAM_construct_BN("bignum", ubuf, sizeof(ubuf));
crypto/openssl/test/params_api_test.c
634
params[n++] = OSSL_PARAM_construct_utf8_string("utf8str", buf, sizeof(buf));
crypto/openssl/test/params_api_test.c
635
params[n++] = OSSL_PARAM_construct_octet_string("octstr", buf, sizeof(buf));
crypto/openssl/test/params_api_test.c
636
params[n++] = OSSL_PARAM_construct_utf8_ptr("utf8ptr", &bufp, 0);
crypto/openssl/test/params_api_test.c
637
params[n++] = OSSL_PARAM_construct_octet_ptr("octptr", &vp, 0);
crypto/openssl/test/params_api_test.c
638
params[n] = OSSL_PARAM_construct_end();
crypto/openssl/test/params_conversion_test.c
357
size_t n;
crypto/openssl/test/params_conversion_test.c
364
n = test_get_argument_count();
crypto/openssl/test/params_conversion_test.c
365
if (n == 0)
crypto/openssl/test/params_conversion_test.c
369
ADD_ALL_TESTS(run_param_file_tests, n);
crypto/openssl/test/params_test.c
382
size_t n = 0;
crypto/openssl/test/params_test.c
385
params[n++] = OSSL_PARAM_construct_int("p1", &app_p1);
crypto/openssl/test/params_test.c
386
params[n++] = OSSL_PARAM_construct_BN("p3", bignumbin, sizeof(bignumbin));
crypto/openssl/test/params_test.c
387
params[n++] = OSSL_PARAM_construct_utf8_string("p4", app_p4,
crypto/openssl/test/params_test.c
389
params[n++] = OSSL_PARAM_construct_utf8_string("p5", app_p5,
crypto/openssl/test/params_test.c
392
params[n++] = OSSL_PARAM_construct_utf8_ptr("p6", (char **)&app_p6,
crypto/openssl/test/params_test.c
394
params[n++] = OSSL_PARAM_construct_octet_string("foo", &foo, sizeof(foo));
crypto/openssl/test/params_test.c
395
params[n++] = OSSL_PARAM_construct_end();
crypto/openssl/test/priority_queue_test.c
117
n = ossl_pqueue_size_t_num(pq);
crypto/openssl/test/priority_queue_test.c
120
if (!TEST_size_t_eq(num_rec_freed, n))
crypto/openssl/test/priority_queue_test.c
133
static int test_size_t_priority_queue(int n)
crypto/openssl/test/priority_queue_test.c
137
count = n % OSSL_NELEM(test_size_t_priority_counts);
crypto/openssl/test/priority_queue_test.c
138
n /= OSSL_NELEM(test_size_t_priority_counts);
crypto/openssl/test/priority_queue_test.c
139
order = n % 3;
crypto/openssl/test/priority_queue_test.c
140
n /= 3;
crypto/openssl/test/priority_queue_test.c
141
random = n % 2;
crypto/openssl/test/priority_queue_test.c
142
n /= 2;
crypto/openssl/test/priority_queue_test.c
143
reserve = n % 2;
crypto/openssl/test/priority_queue_test.c
144
n /= 2;
crypto/openssl/test/priority_queue_test.c
145
remove = n % 6;
crypto/openssl/test/priority_queue_test.c
146
n /= 6;
crypto/openssl/test/priority_queue_test.c
147
popfree = n % 2;
crypto/openssl/test/priority_queue_test.c
56
size_t n;
crypto/openssl/test/property_test.c
150
static int test_property_parse(int n)
crypto/openssl/test/property_test.c
159
&& TEST_ptr(p = ossl_parse_property(NULL, parser_tests[n].defn))
crypto/openssl/test/property_test.c
160
&& TEST_ptr(q = ossl_parse_query(NULL, parser_tests[n].query, 0))
crypto/openssl/test/property_test.c
161
&& TEST_int_eq(ossl_property_match_count(q, p), parser_tests[n].e))
crypto/openssl/test/property_test.c
217
static int test_property_parse_error(int n)
crypto/openssl/test/property_test.c
227
ps = parse_error_tests[n].ps;
crypto/openssl/test/property_test.c
228
if (parse_error_tests[n].query) {
crypto/openssl/test/property_test.c
267
static int test_property_merge(int n)
crypto/openssl/test/property_test.c
277
&& TEST_ptr(prop = ossl_parse_property(NULL, merge_tests[n].prop))
crypto/openssl/test/property_test.c
278
&& TEST_ptr(q_global = ossl_parse_query(NULL, merge_tests[n].q_global,
crypto/openssl/test/property_test.c
28
static int add_property_names(const char *n, ...)
crypto/openssl/test/property_test.c
280
&& TEST_ptr(q_local = ossl_parse_query(NULL, merge_tests[n].q_local, 0))
crypto/openssl/test/property_test.c
33
va_start(args, n);
crypto/openssl/test/property_test.c
35
if (!TEST_int_ne(ossl_property_name(NULL, n, 1), 0))
crypto/openssl/test/property_test.c
353
static int test_definition_compares(int n)
crypto/openssl/test/property_test.c
361
&& TEST_ptr(d = ossl_parse_property(NULL, definition_tests[n].defn))
crypto/openssl/test/property_test.c
362
&& TEST_ptr(q = ossl_parse_query(NULL, definition_tests[n].query, 0))
crypto/openssl/test/property_test.c
363
&& TEST_int_eq(ossl_property_match_count(q, d), definition_tests[n].e);
crypto/openssl/test/property_test.c
37
} while ((n = va_arg(args, const char *)) != NULL);
crypto/openssl/test/punycode_test.c
112
static int test_punycode(int n)
crypto/openssl/test/punycode_test.c
114
const struct puny_test *tc = puny_cases + n;
crypto/openssl/test/quic_ackm_test.c
152
#define DEFINE_TX_ACK_CASE(n, pntable) \
crypto/openssl/test/quic_ackm_test.c
153
static const struct tx_ack_test_case tx_ack_case_##n = { \
crypto/openssl/test/quic_ackm_test.c
155
tx_ack_range_##n, OSSL_NELEM(tx_ack_range_##n), \
crypto/openssl/test/quic_ackm_test.c
156
tx_ack_expect_##n \
crypto/openssl/test/quic_multistream_test.c
303
#define OP_BEGIN_REPEAT(n) \
crypto/openssl/test/quic_multistream_test.c
304
{ OPK_BEGIN_REPEAT, NULL, (n) },
crypto/openssl/test/quic_multistream_test.c
333
#define OP_C_SKIP_IF_UNBOUND(stream_name, n) \
crypto/openssl/test/quic_multistream_test.c
334
{ OPK_C_SKIP_IF_UNBOUND, NULL, (n), NULL, #stream_name },
crypto/openssl/test/quic_multistream_test.c
345
#define OP_SKIP_IF_BLOCKING(n) \
crypto/openssl/test/quic_multistream_test.c
346
{ OPK_SKIP_IF_BLOCKING, NULL, (n), NULL, 0 },
crypto/openssl/test/quic_record_test.c
3233
#define TX_OP_WRITE_N(n) \
crypto/openssl/test/quic_record_test.c
3234
TX_OP_WRITE(tx_script_##n##_pkt)
crypto/openssl/test/quic_record_test.c
3235
#define TX_OP_CHECK_DGRAM_N(n) \
crypto/openssl/test/quic_record_test.c
3236
TX_OP_CHECK_DGRAM(tx_script_##n##_dgram)
crypto/openssl/test/quic_record_test.c
3238
#define TX_OP_WRITE_CHECK(n) \
crypto/openssl/test/quic_record_test.c
3239
TX_OP_WRITE_N(n) \
crypto/openssl/test/quic_record_test.c
3240
TX_OP_CHECK_DGRAM_N(n)
crypto/openssl/test/quic_record_test.c
88
#define RX_OP_INJECT_N(n) \
crypto/openssl/test/quic_record_test.c
89
RX_OP_INJECT(rx_script_##n##_in)
crypto/openssl/test/quic_record_test.c
90
#define RX_OP_CHECK_PKT_N(n) \
crypto/openssl/test/quic_record_test.c
91
RX_OP_CHECK_PKT(rx_script_##n##_expect_hdr, rx_script_##n##_body)
crypto/openssl/test/quic_record_test.c
93
#define RX_OP_INJECT_CHECK(n) \
crypto/openssl/test/quic_record_test.c
94
RX_OP_INJECT_N(n) \
crypto/openssl/test/quic_record_test.c
95
RX_OP_CHECK_PKT_N(n)
crypto/openssl/test/quic_wire_test.c
1243
#define ENCODE_CASE(n) \
crypto/openssl/test/quic_wire_test.c
1245
encode_case_##n##_enc, \
crypto/openssl/test/quic_wire_test.c
1246
encode_case_##n##_expect, \
crypto/openssl/test/quic_wire_test.c
1247
OSSL_NELEM(encode_case_##n##_expect), \
crypto/openssl/test/quic_wire_test.c
1248
encode_case_##n##_dec \
crypto/openssl/test/quic_wire_test.c
1463
#define ACK_CASE(n, expect_fail, dec) \
crypto/openssl/test/quic_wire_test.c
1465
ack_case_##n##_input, \
crypto/openssl/test/quic_wire_test.c
1466
sizeof(ack_case_##n##_input), \
crypto/openssl/test/radix/terp.c
238
#define OPGEN(n) (opgen_set_line(ctx, __FILE__, __LINE__), \
crypto/openssl/test/radix/terp.c
239
opgen_##n)
crypto/openssl/test/rand_test.c
108
static int fips_health_test_one(const uint8_t *buf, size_t n, size_t gen)
crypto/openssl/test/rand_test.c
118
(void *)buf, n);
crypto/openssl/test/rand_test.c
187
void *buf, size_t n, ossl_unused unsigned int strength)
crypto/openssl/test/rand_test.c
189
while (n-- > 0)
crypto/openssl/test/rand_test.c
190
((unsigned char *)buf)[n] = 0xff & n;
crypto/openssl/test/rc2test.c
47
static int test_rc2(const int n)
crypto/openssl/test/rc2test.c
53
RC2_set_key(&key, 16, &(RC2key[n][0]), 0 /* or 1024 */);
crypto/openssl/test/rc2test.c
55
RC2_ecb_encrypt(&RC2plain[n][0], buf, &key, RC2_ENCRYPT);
crypto/openssl/test/rc2test.c
56
if (!TEST_mem_eq(&RC2cipher[n][0], 8, buf, 8))
crypto/openssl/test/rc2test.c
60
if (!TEST_mem_eq(&RC2plain[n][0], 8, buf2, 8))
crypto/openssl/test/rc5test.c
207
static int test_rc5_ecb(int n)
crypto/openssl/test/rc5test.c
213
if (!TEST_true(RC5_32_set_key(&key, 16, &RC5key[n][0], 12)))
crypto/openssl/test/rc5test.c
216
RC5_32_ecb_encrypt(&RC5plain[n][0], buf, &key, RC5_ENCRYPT);
crypto/openssl/test/rc5test.c
217
if (!TEST_mem_eq(&RC5cipher[n][0], sizeof(RC5cipher[0]), buf, sizeof(buf)))
crypto/openssl/test/rc5test.c
221
if (!TEST_mem_eq(&RC5plain[n][0], sizeof(RC5cipher[0]), buf2, sizeof(buf2)))
crypto/openssl/test/rc5test.c
227
static int test_rc5_cbc(int n)
crypto/openssl/test/rc5test.c
234
i = rc5_cbc_rounds[n];
crypto/openssl/test/rc5test.c
236
if (!TEST_true(RC5_32_set_key(&key, rc5_cbc_key[n][0],
crypto/openssl/test/rc5test.c
237
&rc5_cbc_key[n][1], i)))
crypto/openssl/test/rc5test.c
240
memcpy(ivb, &rc5_cbc_iv[n][0], 8);
crypto/openssl/test/rc5test.c
241
RC5_32_cbc_encrypt(&rc5_cbc_plain[n][0], buf, 8,
crypto/openssl/test/rc5test.c
244
if (!TEST_mem_eq(&rc5_cbc_cipher[n][0], sizeof(rc5_cbc_cipher[0]),
crypto/openssl/test/rc5test.c
248
memcpy(ivb, &rc5_cbc_iv[n][0], 8);
crypto/openssl/test/rc5test.c
250
if (!TEST_mem_eq(&rc5_cbc_plain[n][0], sizeof(rc5_cbc_plain[0]),
crypto/openssl/test/rsa_mp_test.c
132
BN_bin2bn(n, sizeof(n) - 1, NULL),
crypto/openssl/test/rsa_mp_test.c
37
static const unsigned char n[] = "\x92\x60\xd0\x75\x0a\xe1\x17\xee\xe5\x5c\x3f\x3d\xea\xba\x74\x91"
crypto/openssl/test/rsa_sp800_56b_test.c
226
BIGNUM *p = NULL, *q = NULL, *e = NULL, *d = NULL, *n = NULL;
crypto/openssl/test/rsa_sp800_56b_test.c
244
&& TEST_ptr(n = BN_new())
crypto/openssl/test/rsa_sp800_56b_test.c
247
&& TEST_true(BN_set_word(n, 15 * 17))
crypto/openssl/test/rsa_sp800_56b_test.c
248
&& TEST_true(RSA_set0_key(key, n, e, d));
crypto/openssl/test/rsa_sp800_56b_test.c
252
BN_free(n);
crypto/openssl/test/rsa_sp800_56b_test.c
305
&& TEST_BN_eq_word(key->n, N)
crypto/openssl/test/rsa_sp800_56b_test.c
415
BIGNUM *p = NULL, *q = NULL, *n = NULL, *e = NULL, *d = NULL;
crypto/openssl/test/rsa_sp800_56b_test.c
432
&& TEST_ptr(n = bn_load_new(cav_n, sizeof(cav_n)))
crypto/openssl/test/rsa_sp800_56b_test.c
434
&& TEST_true(RSA_set0_key(key, n, e, d));
crypto/openssl/test/rsa_sp800_56b_test.c
437
BN_free(n);
crypto/openssl/test/rsa_sp800_56b_test.c
458
&& TEST_true(BN_add_word(n, 1))
crypto/openssl/test/rsa_sp800_56b_test.c
460
&& TEST_true(BN_sub_word(n, 1))
crypto/openssl/test/rsa_sp800_56b_test.c
462
&& TEST_true(BN_lshift1(n, n))
crypto/openssl/test/rsa_sp800_56b_test.c
464
&& TEST_true(BN_rshift1(n, n))
crypto/openssl/test/rsa_sp800_56b_test.c
467
&& TEST_true(BN_mul(n, p, q, ctx))
crypto/openssl/test/rsa_sp800_56b_test.c
470
&& TEST_true(BN_mul(n, p, q, ctx))
crypto/openssl/test/rsa_sp800_56b_test.c
473
&& TEST_true(BN_mul(n, p, q, ctx))
crypto/openssl/test/rsa_sp800_56b_test.c
476
&& TEST_true(BN_mul(n, p, q, ctx));
crypto/openssl/test/rsa_sp800_56b_test.c
506
BIGNUM *n = NULL, *d = NULL, *e = NULL;
crypto/openssl/test/rsa_sp800_56b_test.c
513
&& TEST_ptr(n = bn_load_new(cav_n, sizeof(cav_n)))
crypto/openssl/test/rsa_sp800_56b_test.c
516
&& TEST_true(RSA_set0_key(key, n, e, d));
crypto/openssl/test/rsa_sp800_56b_test.c
518
BN_free(n);
crypto/openssl/test/rsa_sp800_56b_test.c
529
&& TEST_ptr(BN_copy(d, n))
crypto/openssl/test/rsa_sp800_56b_test.c
539
BIGNUM *n = NULL, *e = NULL;
crypto/openssl/test/rsa_sp800_56b_test.c
547
&& TEST_ptr(n = bn_load_new(cav_n, sizeof(cav_n)))
crypto/openssl/test/rsa_sp800_56b_test.c
548
&& TEST_true(RSA_set0_key(key, n, e, NULL));
crypto/openssl/test/rsa_sp800_56b_test.c
551
BN_free(n);
crypto/openssl/test/rsa_sp800_56b_test.c
557
&& TEST_true(BN_add_word(n, 1))
crypto/openssl/test/rsa_sp800_56b_test.c
559
&& TEST_true(BN_sub_word(n, 1))
crypto/openssl/test/rsa_sp800_56b_test.c
561
&& TEST_true(BN_lshift1(n, n))
crypto/openssl/test/rsa_sp800_56b_test.c
563
&& TEST_true(BN_rshift1(n, n))
crypto/openssl/test/rsa_sp800_56b_test.c
569
&& TEST_true(BN_add_word(n, 2))
crypto/openssl/test/rsa_test.c
128
static unsigned char n[] = "\x00\xBB\xF8\x2F\x09\x06\x82\xCE\x9C\x23\x38\xAC\x2B\x9D\xA8\x71"
crypto/openssl/test/rsa_test.c
267
int n;
crypto/openssl/test/rsa_test.c
282
for (n = 0; n < clen; ++n) {
crypto/openssl/test/rsa_test.c
283
ctext_ex[n] ^= 1;
crypto/openssl/test/rsa_test.c
288
ctext_ex[n] ^= 1;
crypto/openssl/test/rsa_test.c
292
for (n = -1; n < clen; ++n) {
crypto/openssl/test/rsa_test.c
293
num = RSA_private_decrypt(n, ctext_ex, ptext, key,
crypto/openssl/test/rsa_test.c
333
static int test_rsa_security_bit(int n)
crypto/openssl/test/rsa_test.c
339
const int bits = rsa_security_bits_cases[n].bits;
crypto/openssl/test/rsa_test.c
34
BN_bin2bn(n, sizeof(n) - 1, NULL), \
crypto/openssl/test/rsa_test.c
340
const int result = rsa_security_bits_cases[n].r;
crypto/openssl/test/rsa_test.c
379
BIGNUM *n;
crypto/openssl/test/rsa_test.c
471
&& TEST_ptr((n = BN_bin2bn(n_data, sizeof(n_data), NULL)))
crypto/openssl/test/rsa_test.c
479
&& TEST_true(RSA_set0_key(rsa, n, e, d))
crypto/openssl/test/rsa_test.c
495
static const unsigned char n[] = {
crypto/openssl/test/rsa_test.c
50
static unsigned char n[] = "\x00\xAA\x36\xAB\xCE\x88\xAC\xFD\xFF\x55\x52\x3C\x7F\xC4\x52\x3F"
crypto/openssl/test/rsa_test.c
541
pn = BN_bin2bn(n, sizeof(n), NULL);
crypto/openssl/test/rsa_test.c
91
static unsigned char n[] = "\x00\xA3\x07\x9A\x90\xDF\x0D\xFD\x72\xAC\x09\x0C\xCC\x2A\x78\xB8"
crypto/openssl/test/safe_math_test.c
102
if (!TEST_int_eq(err, test_ints[n].neg_a_err)
crypto/openssl/test/safe_math_test.c
108
if (!TEST_int_eq(err, test_ints[n].neg_b_err)
crypto/openssl/test/safe_math_test.c
114
if (!TEST_int_eq(err, test_ints[n].abs_a_err)
crypto/openssl/test/safe_math_test.c
120
if (!TEST_int_eq(err, test_ints[n].abs_b_err)
crypto/openssl/test/safe_math_test.c
145
static int test_uint_ops(int n)
crypto/openssl/test/safe_math_test.c
149
const unsigned int a = test_uints[n].a, b = test_uints[n].b;
crypto/openssl/test/safe_math_test.c
153
if (!TEST_int_eq(err, test_uints[n].sum_err)
crypto/openssl/test/safe_math_test.c
159
if (!TEST_int_eq(err, test_uints[n].sub_err)
crypto/openssl/test/safe_math_test.c
165
if (!TEST_int_eq(err, test_uints[n].mul_err)
crypto/openssl/test/safe_math_test.c
171
if (!TEST_int_eq(err, test_uints[n].div_err)
crypto/openssl/test/safe_math_test.c
177
if (!TEST_int_eq(err, test_uints[n].mod_err)
crypto/openssl/test/safe_math_test.c
183
if (!TEST_int_eq(err, test_uints[n].div_round_up_err)
crypto/openssl/test/safe_math_test.c
228
static int test_size_t_ops(int n)
crypto/openssl/test/safe_math_test.c
232
const size_t a = test_size_ts[n].a, b = test_size_ts[n].b;
crypto/openssl/test/safe_math_test.c
236
if (!TEST_int_eq(err, test_size_ts[n].sum_err)
crypto/openssl/test/safe_math_test.c
242
if (!TEST_int_eq(err, test_size_ts[n].sub_err)
crypto/openssl/test/safe_math_test.c
248
if (!TEST_int_eq(err, test_size_ts[n].mul_err)
crypto/openssl/test/safe_math_test.c
254
if (!TEST_int_eq(err, test_size_ts[n].div_err)
crypto/openssl/test/safe_math_test.c
260
if (!TEST_int_eq(err, test_size_ts[n].mod_err)
crypto/openssl/test/safe_math_test.c
266
if (!TEST_int_eq(err, test_size_ts[n].div_round_up_err)
crypto/openssl/test/safe_math_test.c
315
static int test_int_muldiv(int n)
crypto/openssl/test/safe_math_test.c
319
const int a = test_muldiv_ints[n].a;
crypto/openssl/test/safe_math_test.c
320
const int b = test_muldiv_ints[n].b;
crypto/openssl/test/safe_math_test.c
321
const int c = test_muldiv_ints[n].c;
crypto/openssl/test/safe_math_test.c
326
if (!TEST_int_eq(err, test_muldiv_ints[n].err)
crypto/openssl/test/safe_math_test.c
347
static int test_uint_muldiv(int n)
crypto/openssl/test/safe_math_test.c
351
const unsigned int a = test_muldiv_uints[n].a;
crypto/openssl/test/safe_math_test.c
352
const unsigned int b = test_muldiv_uints[n].b;
crypto/openssl/test/safe_math_test.c
353
const unsigned int c = test_muldiv_uints[n].c;
crypto/openssl/test/safe_math_test.c
358
if (!TEST_int_eq(err, test_muldiv_uints[n].err)
crypto/openssl/test/safe_math_test.c
56
static int test_int_ops(int n)
crypto/openssl/test/safe_math_test.c
59
const int a = test_ints[n].a, b = test_ints[n].b;
crypto/openssl/test/safe_math_test.c
63
if (!TEST_int_eq(err, test_ints[n].sum_err)
crypto/openssl/test/safe_math_test.c
69
if (!TEST_int_eq(err, test_ints[n].sub_err)
crypto/openssl/test/safe_math_test.c
75
if (!TEST_int_eq(err, test_ints[n].mul_err)
crypto/openssl/test/safe_math_test.c
81
if (!TEST_int_eq(err, test_ints[n].div_err)
crypto/openssl/test/safe_math_test.c
87
if (!TEST_int_eq(err, test_ints[n].mod_err)
crypto/openssl/test/safe_math_test.c
93
if (!TEST_int_eq(err, test_ints[n].div_round_up_err))
crypto/openssl/test/sha_test.c
17
size_t n,
crypto/openssl/test/slh_dsa_test.c
336
size_t n = key_len / 4;
crypto/openssl/test/slh_dsa_test.c
339
if (!TEST_ptr(pkey = do_gen_key(tst->name, tst->priv, key_len - n)))
crypto/openssl/test/slh_dsa_test.c
349
|| !TEST_int_eq(bits, 8 * 2 * n)
crypto/openssl/test/slh_dsa_test.c
352
|| !TEST_int_eq(sec_bits, 8 * n)
crypto/openssl/test/slh_dsa_test.c
362
if (!TEST_mem_eq(pub, pub_len, tst->priv + 2 * n, 2 * n))
crypto/openssl/test/slh_dsa_test.c
455
size_t n = key_len / 2;
crypto/openssl/test/slh_dsa_test.c
460
if (!TEST_ptr(gkey = do_gen_key(tst->name, tst->priv, key_len + n)))
crypto/openssl/test/slh_dsa_test.c
596
size_t n = key_len / 4;
crypto/openssl/test/slh_dsa_test.c
612
seed, n * 3 - 1);
crypto/openssl/test/slh_dsa_test.c
621
seed, n * 3 + 1);
crypto/openssl/test/sparse_array_test.c
111
static void leaf_check_all(ossl_uintmax_t n, char *value, void *arg)
crypto/openssl/test/sparse_array_test.c
120
&& n == cases[i].n && strcmp(value, cases[i].v) == 0) {
crypto/openssl/test/sparse_array_test.c
124
TEST_error("Index %ju with value %s not found", n, value);
crypto/openssl/test/sparse_array_test.c
127
static void leaf_delete(ossl_uintmax_t n, char *value, void *arg)
crypto/openssl/test/sparse_array_test.c
135
if (n == cases[i].n && strcmp(value, cases[i].v) == 0) {
crypto/openssl/test/sparse_array_test.c
137
ossl_sa_char_set(doall_data->sa, n, NULL);
crypto/openssl/test/sparse_array_test.c
140
TEST_error("Index %ju with value %s not found", n, value);
crypto/openssl/test/sparse_array_test.c
167
if (!TEST_true(ossl_sa_char_set(sa, cases[i].n, cases[i].v))) {
crypto/openssl/test/sparse_array_test.c
32
ossl_uintmax_t n;
crypto/openssl/test/sparse_array_test.c
50
if (!TEST_true(ossl_sa_char_set(sa, cases[i].n, cases[i].v))) {
crypto/openssl/test/sparse_array_test.c
55
if (!TEST_str_eq(ossl_sa_char_get(sa, cases[j].n), cases[j].v)) {
crypto/openssl/test/sparse_array_test.c
71
ossl_uintmax_t n;
crypto/openssl/test/sparse_array_test.c
88
if (!TEST_true(ossl_sa_char_set(sa, cases[i].n, cases[i].v))
crypto/openssl/test/sparse_array_test.c
98
ossl_uintmax_t n;
crypto/openssl/test/ssl_old_test.c
1332
n = sk_SSL_COMP_num(ssl_comp_methods);
crypto/openssl/test/ssl_old_test.c
1333
if (n) {
crypto/openssl/test/ssl_old_test.c
1336
for (j = 0; j < n; j++) {
crypto/openssl/test/ssl_old_test.c
825
size_t n = OSSL_NELEM(versions);
crypto/openssl/test/ssl_old_test.c
827
for (i = 0; i < n; i++)
crypto/openssl/test/ssl_old_test.c
923
int n, comp = 0;
crypto/openssl/test/sslcorrupttest.c
258
int n;
crypto/openssl/test/sslcorrupttest.c
269
n = setup_cipher_list();
crypto/openssl/test/sslcorrupttest.c
270
if (n > 0)
crypto/openssl/test/sslcorrupttest.c
271
ADD_ALL_TESTS(test_ssl_corrupt, n);
crypto/openssl/test/stack_test.c
103
for (i = 0; i < n; i++)
crypto/openssl/test/stack_test.c
177
const int n = OSSL_NELEM(v);
crypto/openssl/test/stack_test.c
187
for (i = 0; i < n; i++) {
crypto/openssl/test/stack_test.c
194
if (!TEST_int_eq(sk_uchar_num(s), n))
crypto/openssl/test/stack_test.c
203
if (!TEST_int_eq(sk_uchar_num(r), n))
crypto/openssl/test/stack_test.c
208
for (i = 0; i < n; i++)
crypto/openssl/test/stack_test.c
219
if (!TEST_int_eq(sk_uchar_num(r), n))
crypto/openssl/test/stack_test.c
277
const int n = OSSL_NELEM(v);
crypto/openssl/test/stack_test.c
282
for (i = 0; i < n; i++) {
crypto/openssl/test/stack_test.c
287
v[i]->n = i;
crypto/openssl/test/stack_test.c
295
if (!TEST_int_eq(sk_TST_SS_num(s), n))
crypto/openssl/test/stack_test.c
30
int n;
crypto/openssl/test/stack_test.c
306
for (i = 0; i < n; i++) {
crypto/openssl/test/stack_test.c
312
if (!TEST_int_eq(p->n, v[i]->n)) {
crypto/openssl/test/stack_test.c
331
if (!TEST_int_eq(sk_TST_SS_num(s), n - 1))
crypto/openssl/test/stack_test.c
333
for (i = 0; i < n - 1; i++)
crypto/openssl/test/stack_test.c
35
int n;
crypto/openssl/test/stack_test.c
350
const int n = OSSL_NELEM(v);
crypto/openssl/test/stack_test.c
355
for (i = 0; i < n; i++) {
crypto/openssl/test/stack_test.c
357
v[i].n = i;
crypto/openssl/test/stack_test.c
366
if (!TEST_int_eq(sk_TST_SU_num(s), n))
crypto/openssl/test/stack_test.c
370
for (i = 0; i < n; i++)
crypto/openssl/test/stack_test.c
57
const int n = OSSL_NELEM(v);
crypto/openssl/test/stack_test.c
92
for (i = 0; i < n; i++) {
crypto/openssl/test/stack_test.c
99
if (!TEST_int_eq(sk_sint_num(s), n))
crypto/openssl/test/test_test.c
522
static int test_bn_output(int n)
crypto/openssl/test/test_test.c
526
if (bn_output_tests[n] != NULL
crypto/openssl/test/test_test.c
527
&& !TEST_true(BN_hex2bn(&b, bn_output_tests[n])))
crypto/openssl/test/test_test.c
529
test_output_bignum(bn_output_tests[n], b);
crypto/openssl/test/test_test.c
539
static int test_skip_many(int n)
crypto/openssl/test/test_test.c
541
return TEST_skip("skip tests: %d", n);
crypto/openssl/test/testutil.h
198
char *test_get_argument(size_t n);
crypto/openssl/test/testutil.h
514
#define TEST_strn_eq(a, b, n) test_strn_eq(__FILE__, __LINE__, #a, #b, a, n, b, n)
crypto/openssl/test/testutil.h
515
#define TEST_strn_ne(a, b, n) test_strn_ne(__FILE__, __LINE__, #a, #b, a, n, b, n)
crypto/openssl/test/testutil.h
516
#define TEST_strn2_eq(a, m, b, n) test_strn_eq(__FILE__, __LINE__, #a, #b, a, m, b, n)
crypto/openssl/test/testutil.h
517
#define TEST_strn2_ne(a, m, b, n) test_strn_ne(__FILE__, __LINE__, #a, #b, a, m, b, n)
crypto/openssl/test/testutil.h
519
#define TEST_mem_eq(a, m, b, n) test_mem_eq(__FILE__, __LINE__, #a, #b, a, m, b, n)
crypto/openssl/test/testutil.h
520
#define TEST_mem_ne(a, m, b, n) test_mem_ne(__FILE__, __LINE__, #a, #b, a, m, b, n)
crypto/openssl/test/testutil/format_output.c
149
static void hex_convert_memory(const unsigned char *m, size_t n, char *b,
crypto/openssl/test/testutil/format_output.c
154
for (i = 0; i < n; i++) {
crypto/openssl/test/testutil/format_output.c
159
if (i % width == width - 1 && i != n - 1)
crypto/openssl/test/testutil/format_output.c
209
int n = bytes * 2, i;
crypto/openssl/test/testutil/format_output.c
220
n--;
crypto/openssl/test/testutil/format_output.c
230
n++;
crypto/openssl/test/testutil/format_output.c
240
n++;
crypto/openssl/test/testutil/format_output.c
244
return n;
crypto/openssl/test/testutil/format_output.c
247
for (i = 0; i < n; i++) {
crypto/openssl/test/testutil/format_output.c
249
if (i % (2 * BN_OUTPUT_SIZE) == 2 * BN_OUTPUT_SIZE - 1 && i != n - 1)
crypto/openssl/test/testutil/format_output.c
394
int n = BN_bn2bin(bn, buf);
crypto/openssl/test/testutil/format_output.c
396
hex_convert_memory(buf, n, p, BN_OUTPUT_SIZE);
crypto/openssl/test/testutil/options.c
38
char *test_get_argument(size_t n)
crypto/openssl/test/testutil/options.c
42
OPENSSL_assert(n < sizeof(used));
crypto/openssl/test/testutil/options.c
43
if ((int)n >= opt_num_rest() || argv == NULL)
crypto/openssl/test/testutil/options.c
45
used[n] = 1;
crypto/openssl/test/testutil/options.c
46
return argv[n];
crypto/openssl/test/testutil/options.c
53
int n, arg_count = opt_num_rest();
crypto/openssl/test/testutil/options.c
56
n = (int)OSSL_NELEM(used);
crypto/openssl/test/testutil/options.c
58
n = arg_count;
crypto/openssl/test/testutil/options.c
59
for (i = 0; i < n; i++) {
crypto/openssl/test/threadstest.c
789
size_t n;
crypto/openssl/test/threadstest.c
795
for (n = 0; providers[n] != NULL; n++)
crypto/openssl/test/threadstest.c
796
if (!TEST_size_t_lt(n, MAXIMUM_PROVIDERS)
crypto/openssl/test/threadstest.c
797
|| !TEST_ptr(multi_provider[n] = OSSL_PROVIDER_load(multi_libctx,
crypto/openssl/test/threadstest.c
798
providers[n]))) {
crypto/openssl/test/threadstest.c
815
static int start_threads(size_t n, void (*thread_func)(void))
crypto/openssl/test/threadstest.c
819
if (!TEST_size_t_le(multi_num_threads + n, MAXIMUM_THREADS))
crypto/openssl/test/threadstest.c
822
for (i = 0; i < n; i++)
crypto/openssl/test/v3nametest.c
104
if (!X509_NAME_add_entry_by_NID(n, nid, MBSTRING_ASC,
crypto/openssl/test/v3nametest.c
108
if (!X509_set_subject_name(crt, n))
crypto/openssl/test/v3nametest.c
112
X509_NAME_free(n);
crypto/openssl/test/v3nametest.c
88
X509_NAME *n = NULL;
crypto/openssl/test/v3nametest.c
92
n = X509_NAME_new();
crypto/openssl/test/v3nametest.c
93
if (n == NULL)
crypto/openssl/test/x509_dup_cert_test.c
17
static int test_509_dup_cert(int n)
crypto/openssl/test/x509_dup_cert_test.c
22
const char *cert_f = test_get_argument(n);
crypto/openssl/test/x509_dup_cert_test.c
38
size_t n;
crypto/openssl/test/x509_dup_cert_test.c
45
n = test_get_argument_count();
crypto/openssl/test/x509_dup_cert_test.c
46
if (!TEST_int_gt(n, 0))
crypto/openssl/test/x509_dup_cert_test.c
49
ADD_ALL_TESTS(test_509_dup_cert, n);
crypto/openssl/test/x509_time_test.c
607
static int test_days(int n)
crypto/openssl/test/x509_time_test.c
615
day_of_week_tests[n].y, day_of_week_tests[n].m,
crypto/openssl/test/x509_time_test.c
616
day_of_week_tests[n].d);
crypto/openssl/test/x509_time_test.c
623
&& TEST_int_eq(t.tm_yday, day_of_week_tests[n].yd)
crypto/openssl/test/x509_time_test.c
624
&& TEST_int_eq(t.tm_wday, day_of_week_tests[n].wd);
crypto/openssl/test/x509aux.c
172
size_t n;
crypto/openssl/test/x509aux.c
179
n = test_get_argument_count();
crypto/openssl/test/x509aux.c
180
if (n == 0)
crypto/openssl/test/x509aux.c
183
ADD_ALL_TESTS(test_certs, (int)n);
include/arpa/nameser.h
460
#define NS_NXT_BIT_SET( n,p) (p[(n)/NS_NXT_BITS] |= (0x80>>((n)%NS_NXT_BITS)))
include/arpa/nameser.h
461
#define NS_NXT_BIT_CLEAR(n,p) (p[(n)/NS_NXT_BITS] &= ~(0x80>>((n)%NS_NXT_BITS)))
include/arpa/nameser.h
462
#define NS_NXT_BIT_ISSET(n,p) (p[(n)/NS_NXT_BITS] & (0x80>>((n)%NS_NXT_BITS)))
include/printf.h
115
int __printf_pad(struct __printf_io *io, int n, int zero);
include/wchar.h
139
int swprintf(wchar_t * __restrict, size_t n, const wchar_t * __restrict,
include/wchar.h
145
int vswprintf(wchar_t * __restrict, size_t n, const wchar_t * __restrict,
include/wchar.h
232
int wcsncasecmp(const wchar_t *, const wchar_t *, size_t n);
include/xlocale/_wchar.h
80
int swprintf_l(wchar_t * __restrict, size_t n, locale_t,
include/xlocale/_wchar.h
87
int vswprintf_l(wchar_t * __restrict, size_t n, locale_t,
kerberos5/include/krb5-types.h
21
#define KRB5TYPES_REQUIRE_GNUC(m,n,p) \
kerberos5/include/krb5-types.h
23
(((m) * 10000) + ((n) * 100) + (p)))
lib/clang/liblldb/LLDBWrapLua.cpp
1111
#define SWIG_Lua_get_table(L,n) \
lib/clang/liblldb/LLDBWrapLua.cpp
1112
(lua_pushstring(L, n), lua_rawget(L,-2))
lib/clang/liblldb/LLDBWrapLua.cpp
1114
#define SWIG_Lua_add_function(L,n,f) \
lib/clang/liblldb/LLDBWrapLua.cpp
1115
(lua_pushstring(L, n), \
lib/clang/liblldb/LLDBWrapLua.cpp
1119
#define SWIG_Lua_add_boolean(L,n,b) \
lib/clang/liblldb/LLDBWrapLua.cpp
1120
(lua_pushstring(L, n), \
lib/clang/liblldb/LLDBWrapLua.cpp
3091
int n=0;
lib/clang/liblldb/LLDBWrapLua.cpp
3093
lua_rawgeti(L,index,n+1);
lib/clang/liblldb/LLDBWrapLua.cpp
3095
++n;
lib/clang/liblldb/LLDBWrapLua.cpp
3099
return n;
lib/clang/liblldb/LLDBWrapLua.cpp
3104
int n=0;
lib/clang/liblldb/LLDBWrapLua.cpp
3107
++n;
lib/clang/liblldb/LLDBWrapLua.cpp
3110
return n;
lib/clang/liblldb/LLDBWrapLua.cpp
3702
const size_t n = self->GetSize();
lib/clang/liblldb/LLDBWrapLua.cpp
3703
if (n)
lib/clang/liblldb/LLDBWrapLua.cpp
3705
for (size_t i=0; i<n; ++i)
lib/csu/common/crtbegin.c
79
int n;
lib/csu/common/crtbegin.c
86
for (n = 1;; n++) {
lib/csu/common/crtbegin.c
87
fn = __DTOR_LIST__[n];
lib/csu/common/crtbegin.c
89
(uintptr_t)&__DTOR_LIST__[n] >= dtors_end))
lib/csu/common/crtend.c
52
int n;
lib/csu/common/crtend.c
55
for (n = 1;; n++) {
lib/csu/common/crtend.c
56
fn = __CTOR_END__[-n];
lib/csu/common/crtend.c
59
(uintptr_t)&__CTOR_END__[-n] < ctors_start))
lib/geom/part/geom_part.c
1021
n = strtoimax(argv[0], NULL, 0);
lib/geom/part/geom_part.c
1025
gctl_ro_param(r, GPART_PARAM_INDEX, sizeof(n), &n);
lib/geom/part/geom_part.c
1061
sizeof(n), &n);
lib/geom/part/geom_part.c
911
intmax_t n;
lib/geom/part/geom_part.c
983
n = strtoimax(argv[1], NULL, 0);
lib/geom/part/geom_part.c
993
sizeof(n), &n);
lib/libbluetooth/hci.c
139
ssize_t n;
lib/libbluetooth/hci.c
156
while ((n = select(s + 1, &rfd, NULL, NULL, &tv)) < 0) {
lib/libbluetooth/hci.c
163
if (n == 0) {
lib/libbluetooth/hci.c
171
while ((n = read(s, buf, size)) < 0) {
lib/libbluetooth/hci.c
182
if (n >= sizeof(*h) && n == (sizeof(*h) + h->length))
lib/libbluetooth/hci.c
183
return (n);
lib/libbluetooth/hci.c
189
if (n >= sizeof(*h) && n == (sizeof(*h) + le16toh(h->length)))
lib/libbluetooth/hci.c
190
return (n);
lib/libbluetooth/hci.c
196
if (n >= sizeof(*h) && n == (sizeof(*h) + h->length))
lib/libbluetooth/hci.c
197
return (n);
lib/libbluetooth/hci.c
203
if (n >= sizeof(*h) && n == (sizeof(*h) + h->length))
lib/libbluetooth/hci.c
204
return (n);
lib/libbluetooth/hci.c
222
ssize_t n;
lib/libbluetooth/hci.c
248
n = bt_devsend(s, r->opcode, r->cparam, r->clen);
lib/libbluetooth/hci.c
249
if (n < 0) {
lib/libbluetooth/hci.c
262
n = bt_devrecv(s, buf, sizeof(buf), to);
lib/libbluetooth/hci.c
263
if (n < 0) {
lib/libbluetooth/hci.c
273
n -= sizeof(*e);
lib/libbluetooth/hci.c
278
n -= sizeof(*cc);
lib/libbluetooth/hci.c
280
if (r->rlen >= n) {
lib/libbluetooth/hci.c
281
r->rlen = n;
lib/libbluetooth/hci.c
297
if (r->rlen >= n) {
lib/libbluetooth/hci.c
298
r->rlen = n;
lib/libbluetooth/hci.c
309
if (r->rlen >= n) {
lib/libbluetooth/hci.c
310
r->rlen = n;
lib/libbluetooth/hci.c
418
int s, n;
lib/libbluetooth/hci.c
429
n = bt_devenum(bt_devany_cb, _devname);
lib/libbluetooth/hci.c
430
if (n <= 0) {
lib/libbluetooth/hci.c
431
if (n == 0)
lib/libbluetooth/hci.c
434
return (n);
lib/libbluetooth/hci.c
496
n = bt_devrecv(s, buf, sizeof(buf), length);
lib/libbluetooth/hci.c
497
if (n < 0) {
lib/libbluetooth/hci.c
503
if (n < sizeof(ng_hci_event_pkt_t)) {
lib/libbluetooth/hci.c
517
for (n = 0; n < MIN(ep->num_responses, num_rsp); n ++) {
lib/libc/aarch64/string/strncat.c
16
strncat(char *dest, const char *src, size_t n)
lib/libc/aarch64/string/strncat.c
22
endptr = __memccpy(dest + len, src, '\0', n);
lib/libc/aarch64/string/strncat.c
26
endptr = dest + len + n + 1;
lib/libc/aarch64/string/strsep.c
41
size_t n;
lib/libc/aarch64/string/strsep.c
48
n = __strcspn(s, delim);
lib/libc/aarch64/string/strsep.c
49
if (s[n] == '\0')
lib/libc/aarch64/string/strsep.c
52
s[n] = '\0';
lib/libc/aarch64/string/strsep.c
53
*stringp = s + n + 1;
lib/libc/amd64/string/strncat.c
16
strncat(char *dest, const char *src, size_t n)
lib/libc/amd64/string/strncat.c
22
endptr = __memccpy(dest + len, src, '\0', n);
lib/libc/amd64/string/strncat.c
26
endptr = dest + len + n + 1;
lib/libc/amd64/string/strsep.c
41
size_t n;
lib/libc/amd64/string/strsep.c
48
n = __strcspn(s, delim);
lib/libc/amd64/string/strsep.c
49
if (s[n] == '\0')
lib/libc/amd64/string/strsep.c
52
s[n] = '\0';
lib/libc/amd64/string/strsep.c
53
*stringp = s + n + 1;
lib/libc/compat-43/sigcompat.c
69
int n;
lib/libc/compat-43/sigcompat.c
73
n = __libc_sigprocmask(SIG_SETMASK, &set, &oset);
lib/libc/compat-43/sigcompat.c
74
if (n)
lib/libc/compat-43/sigcompat.c
75
return (n);
lib/libc/compat-43/sigcompat.c
83
int n;
lib/libc/compat-43/sigcompat.c
87
n = __libc_sigprocmask(SIG_BLOCK, &set, &oset);
lib/libc/compat-43/sigcompat.c
88
if (n)
lib/libc/compat-43/sigcompat.c
89
return (n);
lib/libc/csu/libc_start1.c
102
size_t array_size, n;
lib/libc/csu/libc_start1.c
110
for (n = 0; n < array_size; n++) {
lib/libc/csu/libc_start1.c
111
fn = __preinit_array_start[n];
lib/libc/csu/libc_start1.c
117
for (n = 0; n < array_size; n++) {
lib/libc/csu/libc_start1.c
118
fn = __init_array_start[n];
lib/libc/csu/libc_start1.c
85
size_t array_size, n;
lib/libc/csu/libc_start1.c
88
for (n = array_size; n > 0; n--) {
lib/libc/csu/libc_start1.c
89
fn = __fini_array_start[n - 1];
lib/libc/db/btree/bt_split.c
184
n = NBINTERNAL(nksize);
lib/libc/db/btree/bt_split.c
185
if (n < nbytes) {
lib/libc/db/btree/bt_split.c
187
bt_pfxsaved += nbytes - n;
lib/libc/db/btree/bt_split.c
189
nbytes = n;
lib/libc/db/btree/bt_split.c
83
u_int32_t n, nbytes, nksize;
lib/libc/db/btree/btree.h
104
#define LALIGN(n) (((n) + sizeof(pgno_t) - 1) & ~(sizeof(pgno_t) - 1))
lib/libc/db/hash/hash.c
582
int n, ndx, off, size;
lib/libc/db/hash/hash.c
600
for (bp = (u_int16_t *)rbufp->page, n = *bp++, ndx = 1; ndx < n;)
lib/libc/db/hash/hash.c
620
n = *bp++;
lib/libc/db/hash/hash.c
642
n = *bp++;
lib/libc/db/hash/hash.c
867
unsigned int n, bucket;
lib/libc/db/hash/hash.c
869
n = hashp->hash(k, len);
lib/libc/db/hash/hash.c
870
bucket = n & hashp->HIGH_MASK;
lib/libc/db/hash/hash_bigkey.c
106
n = p[0];
lib/libc/db/hash/hash_bigkey.c
107
p[++n] = off;
lib/libc/db/hash/hash_bigkey.c
108
p[0] = ++n;
lib/libc/db/hash/hash_bigkey.c
109
FREESPACE(p) = off - PAGE_META(n);
lib/libc/db/hash/hash_bigkey.c
111
p[n] = PARTIAL_KEY;
lib/libc/db/hash/hash_bigkey.c
115
n = p[0];
lib/libc/db/hash/hash_bigkey.c
133
p[n] = off;
lib/libc/db/hash/hash_bigkey.c
134
p[n - 2] = FULL_KEY_DATA;
lib/libc/db/hash/hash_bigkey.c
139
p[n - 2] = FULL_KEY;
lib/libc/db/hash/hash_bigkey.c
161
n = p[0];
lib/libc/db/hash/hash_bigkey.c
162
p[++n] = off;
lib/libc/db/hash/hash_bigkey.c
163
p[0] = ++n;
lib/libc/db/hash/hash_bigkey.c
164
FREESPACE(p) = off - PAGE_META(n);
lib/libc/db/hash/hash_bigkey.c
167
p[n] = FULL_KEY;
lib/libc/db/hash/hash_bigkey.c
174
p[n] = FULL_KEY_DATA;
lib/libc/db/hash/hash_bigkey.c
196
int key_done, n;
lib/libc/db/hash/hash_bigkey.c
234
n = bp[0];
lib/libc/db/hash/hash_bigkey.c
235
pageno = bp[n - 1];
lib/libc/db/hash/hash_bigkey.c
239
if (n > 2) {
lib/libc/db/hash/hash_bigkey.c
247
n -= 2;
lib/libc/db/hash/hash_bigkey.c
248
bp[0] = n;
lib/libc/db/hash/hash_bigkey.c
249
FREESPACE(bp) = hashp->BSIZE - PAGE_META(n);
lib/libc/db/hash/hash_bigkey.c
320
int n;
lib/libc/db/hash/hash_bigkey.c
325
n = bp[0];
lib/libc/db/hash/hash_bigkey.c
333
((n == 2) || (bp[n] == OVFLPAGE) || (FREESPACE(bp))))
lib/libc/db/hash/hash_bigkey.c
336
pageno = bp[n - 1];
lib/libc/db/hash/hash_bigkey.c
559
u_int16_t free_space, n, off, *tp;
lib/libc/db/hash/hash_bigkey.c
595
n = tp[0];
lib/libc/db/hash/hash_bigkey.c
598
tp[++n] = (u_int16_t)addr;
lib/libc/db/hash/hash_bigkey.c
599
tp[++n] = OVFLPAGE;
lib/libc/db/hash/hash_bigkey.c
600
tp[0] = n;
lib/libc/db/hash/hash_bigkey.c
624
n = tp[4];
lib/libc/db/hash/hash_bigkey.c
633
tp[4] = n;
lib/libc/db/hash/hash_bigkey.c
85
int key_size, n;
lib/libc/db/hash/hash_page.c
103
bp[++n] = off;
lib/libc/db/hash/hash_page.c
108
bp[++n] = off;
lib/libc/db/hash/hash_page.c
111
bp[0] = n;
lib/libc/db/hash/hash_page.c
112
bp[n + 1] = off - ((n + 3) * sizeof(u_int16_t));
lib/libc/db/hash/hash_page.c
113
bp[n + 2] = off;
lib/libc/db/hash/hash_page.c
125
int n;
lib/libc/db/hash/hash_page.c
128
n = bp[0];
lib/libc/db/hash/hash_page.c
138
if (ndx != (n - 1)) {
lib/libc/db/hash/hash_page.c
146
for (i = ndx + 2; i <= n; i += 2) {
lib/libc/db/hash/hash_page.c
165
bp[n] = OFFSET(bp) + pairlen;
lib/libc/db/hash/hash_page.c
166
bp[n - 1] = bp[n + 1] + pairlen + 2 * sizeof(u_int16_t);
lib/libc/db/hash/hash_page.c
167
bp[0] = n - 2;
lib/libc/db/hash/hash_page.c
185
int n, ndx, retval;
lib/libc/db/hash/hash_page.c
206
for (n = 1, ndx = 1; n < ino[0]; n += 2) {
lib/libc/db/hash/hash_page.c
207
if (ino[n + 1] < REAL_KEY) {
lib/libc/db/hash/hash_page.c
215
key.data = (u_char *)op + ino[n];
lib/libc/db/hash/hash_page.c
216
key.size = off - ino[n];
lib/libc/db/hash/hash_page.c
222
copyto = ino[n + 1] + diff;
lib/libc/db/hash/hash_page.c
223
memmove(op + copyto, op + ino[n + 1],
lib/libc/db/hash/hash_page.c
224
off - ino[n + 1]);
lib/libc/db/hash/hash_page.c
225
ino[ndx] = copyto + ino[n] - ino[n + 1];
lib/libc/db/hash/hash_page.c
228
copyto = ino[n + 1];
lib/libc/db/hash/hash_page.c
232
val.data = (u_char *)op + ino[n + 1];
lib/libc/db/hash/hash_page.c
233
val.size = ino[n] - ino[n + 1];
lib/libc/db/hash/hash_page.c
238
off = ino[n + 1];
lib/libc/db/hash/hash_page.c
288
u_int16_t n, off, ov_addr, scopyto;
lib/libc/db/hash/hash_page.c
298
n = ino[0] - 1;
lib/libc/db/hash/hash_page.c
299
while (n < ino[0]) {
lib/libc/db/hash/hash_page.c
318
} else if (ino[n + 1] == OVFLPAGE) {
lib/libc/db/hash/hash_page.c
319
ov_addr = ino[n];
lib/libc/db/hash/hash_page.c
334
n = 1;
lib/libc/db/hash/hash_page.c
344
for (n = 1; (n < ino[0]) && (ino[n + 1] >= REAL_KEY); n += 2) {
lib/libc/db/hash/hash_page.c
346
key.data = (u_char *)cino + ino[n];
lib/libc/db/hash/hash_page.c
347
key.size = off - ino[n];
lib/libc/db/hash/hash_page.c
348
val.data = (u_char *)cino + ino[n + 1];
lib/libc/db/hash/hash_page.c
349
val.size = ino[n] - ino[n + 1];
lib/libc/db/hash/hash_page.c
350
off = ino[n + 1];
lib/libc/db/hash/hash_page.c
880
u_int16_t free_space, n, off, pageno;
lib/libc/db/hash/hash_page.c
883
n = sp[0];
lib/libc/db/hash/hash_page.c
887
pageno = sp[n - 1];
lib/libc/db/hash/hash_page.c
889
sp[n - 1] = off;
lib/libc/db/hash/hash_page.c
892
sp[n] = off;
lib/libc/db/hash/hash_page.c
894
sp[0] = n + 2;
lib/libc/db/hash/hash_page.c
895
sp[n + 1] = pageno;
lib/libc/db/hash/hash_page.c
896
sp[n + 2] = OVFLPAGE;
lib/libc/db/hash/hash_page.c
94
u_int16_t *bp, n, off;
lib/libc/db/hash/hash_page.c
99
n = bp[0];
lib/libc/gen/arc4random.c
198
_rs_random_buf(void *_buf, size_t n)
lib/libc/gen/arc4random.c
204
_rs_stir_if_needed(n);
lib/libc/gen/arc4random.c
205
while (n > 0) {
lib/libc/gen/arc4random.c
207
m = minimum(n, rs->rs_have);
lib/libc/gen/arc4random.c
213
n -= m;
lib/libc/gen/arc4random.c
247
__ssp_real(arc4random_buf)(void *buf, size_t n)
lib/libc/gen/arc4random.c
250
_rs_random_buf(buf, n);
lib/libc/gen/arc4random.c
91
_rs_init(u_char *buf, size_t n)
lib/libc/gen/arc4random.c
93
if (n < KEYSZ + IVSZ)
lib/libc/gen/exec.c
110
int n;
lib/libc/gen/exec.c
113
n = 1;
lib/libc/gen/exec.c
115
n++;
lib/libc/gen/exec.c
117
argv = alloca((n + 1) * sizeof(*argv));
lib/libc/gen/exec.c
123
n = 1;
lib/libc/gen/exec.c
125
while ((argv[n] = va_arg(ap, char *)) != NULL)
lib/libc/gen/exec.c
126
n++;
lib/libc/gen/exec.c
56
int n;
lib/libc/gen/exec.c
59
n = 1;
lib/libc/gen/exec.c
61
n++;
lib/libc/gen/exec.c
63
argv = alloca((n + 1) * sizeof(*argv));
lib/libc/gen/exec.c
69
n = 1;
lib/libc/gen/exec.c
71
while ((argv[n] = va_arg(ap, char *)) != NULL)
lib/libc/gen/exec.c
72
n++;
lib/libc/gen/exec.c
83
int n;
lib/libc/gen/exec.c
86
n = 1;
lib/libc/gen/exec.c
88
n++;
lib/libc/gen/exec.c
90
argv = alloca((n + 1) * sizeof(*argv));
lib/libc/gen/exec.c
96
n = 1;
lib/libc/gen/exec.c
98
while ((argv[n] = va_arg(ap, char *)) != NULL)
lib/libc/gen/exec.c
99
n++;
lib/libc/gen/getbsize.c
41
long n, max, mul, blocksize;
lib/libc/gen/getbsize.c
51
if ((n = strtol(p, &ep, 10)) < 0)
lib/libc/gen/getbsize.c
53
if (n == 0)
lib/libc/gen/getbsize.c
54
n = 1;
lib/libc/gen/getbsize.c
79
n = 512;
lib/libc/gen/getbsize.c
84
if (n > max) {
lib/libc/gen/getbsize.c
86
n = max;
lib/libc/gen/getbsize.c
88
if ((blocksize = n * mul) < 512) {
lib/libc/gen/getbsize.c
91
blocksize = n = 512;
lib/libc/gen/getbsize.c
94
blocksize = n = 512;
lib/libc/gen/getbsize.c
96
(void)snprintf(header, sizeof(header), "%ld%s-blocks", n, form);
lib/libc/gen/getcap.c
1007
n = 0;
lib/libc/gen/getcap.c
1021
n = n * base + digit;
lib/libc/gen/getcap.c
1028
*num = n;
lib/libc/gen/getcap.c
296
int n;
lib/libc/gen/getcap.c
298
n = _read(fd, buf, sizeof(buf));
lib/libc/gen/getcap.c
299
if (n <= 0) {
lib/libc/gen/getcap.c
302
if (n < 0) {
lib/libc/gen/getcap.c
311
b_end = buf+n;
lib/libc/gen/getcap.c
826
int n, i;
lib/libc/gen/getcap.c
828
n = 0;
lib/libc/gen/getcap.c
831
n = n * 8 + (*bp++ - '0');
lib/libc/gen/getcap.c
833
*mp++ = n;
lib/libc/gen/getcap.c
977
long n;
lib/libc/gen/getgrent.c
1497
unsigned long n;
lib/libc/gen/getgrent.c
1521
n = strtoul(p, &q, 10);
lib/libc/gen/getgrent.c
1522
if (q < eol && *q == ':' && gid == (gid_t)n)
lib/libc/gen/getgrent.c
1539
unsigned long n;
lib/libc/gen/getgrent.c
1554
n = strtoul(s_gid, &s_gid, 10);
lib/libc/gen/getgrent.c
1557
grp->gr_gid = (gid_t)n;
lib/libc/gen/getgrent.c
779
is_comment_line(const char *s, size_t n)
lib/libc/gen/getgrent.c
783
eom = &s[n];
lib/libc/gen/getpwent.c
1028
uint32_t n;
lib/libc/gen/getpwent.c
1042
if (p + sizeof(n) > eom) \
lib/libc/gen/getpwent.c
1044
memcpy(&n, p, sizeof(n)); \
lib/libc/gen/getpwent.c
1045
(field) = ntohl(n); \
lib/libc/gen/getpwent.c
1046
p += sizeof(n); \
lib/libc/gen/getpwent.c
1470
size_t n;
lib/libc/gen/getpwent.c
1477
n = 0;
lib/libc/gen/getpwent.c
1478
n += pwd->pw_name != NULL ? strlen(pwd->pw_name) + 1 : 0;
lib/libc/gen/getpwent.c
1479
n += pwd->pw_passwd != NULL ? strlen(pwd->pw_passwd) + 1 : 0;
lib/libc/gen/getpwent.c
1480
n += pwd->pw_class != NULL ? strlen(pwd->pw_class) + 1 : 0;
lib/libc/gen/getpwent.c
1481
n += pwd->pw_gecos != NULL ? strlen(pwd->pw_gecos) + 1 : 0;
lib/libc/gen/getpwent.c
1482
n += pwd->pw_dir != NULL ? strlen(pwd->pw_dir) + 1 : 0;
lib/libc/gen/getpwent.c
1483
n += pwd->pw_shell != NULL ? strlen(pwd->pw_shell) + 1 : 0;
lib/libc/gen/getpwent.c
1484
copy = malloc(n);
lib/libc/gen/getpwent.c
1490
eob = &copy[n];
lib/libc/gen/getpwent.c
1514
if ((n = strlcpy(p, q, eob-p)) >= eob-p) { \
lib/libc/gen/getpwent.c
1518
p += n + 1; \
lib/libc/gen/nlist.c
57
int fd, n;
lib/libc/gen/nlist.c
62
n = __fdnlist(fd, list);
lib/libc/gen/nlist.c
64
return (n);
lib/libc/gen/nlist.c
76
int n = -1;
lib/libc/gen/nlist.c
80
n = (nlist_fn[i].fn)(fd, list);
lib/libc/gen/nlist.c
81
if (n != -1)
lib/libc/gen/nlist.c
84
return (n);
lib/libc/gen/opendir2.c
152
n = _getdirentries(fd2, ddptr, space, &dirp->dd_seek);
lib/libc/gen/opendir2.c
153
if (n > 0) {
lib/libc/gen/opendir2.c
154
ddptr += n;
lib/libc/gen/opendir2.c
155
space -= n;
lib/libc/gen/opendir2.c
157
if (n < 0) {
lib/libc/gen/opendir2.c
163
} while (n > 0);
lib/libc/gen/opendir2.c
182
n = 0;
lib/libc/gen/opendir2.c
196
dpv[n] = dp;
lib/libc/gen/opendir2.c
197
n++;
lib/libc/gen/opendir2.c
207
mergesort(dpv, n, sizeof(*dpv), opendir_compar);
lib/libc/gen/opendir2.c
209
dpv[n] = NULL;
lib/libc/gen/opendir2.c
217
for (n = 0; dpv[n]; n++) {
lib/libc/gen/opendir2.c
218
struct dirent *dp = dpv[n];
lib/libc/gen/opendir2.c
234
dpv = malloc((n+1) * sizeof(struct dirent *));
lib/libc/gen/opendir2.c
91
int fd2, incr, len, n, saved_errno, space;
lib/libc/gen/sig2str.c
100
*pnum = (int)n;
lib/libc/gen/sig2str.c
72
long long n;
lib/libc/gen/sig2str.c
82
n = 0;
lib/libc/gen/sig2str.c
84
n = strtonum(str + rtend, INT_MIN, INT_MAX, &errstr);
lib/libc/gen/sig2str.c
85
if (n == 0 || errstr != NULL)
lib/libc/gen/sig2str.c
90
sig += (int)n;
lib/libc/gen/sig2str.c
98
n = strtonum(str, 1, SIGRTMAX, &errstr);
lib/libc/iconv/bsd_iconv.c
194
unsigned int i, j, n;
lib/libc/iconv/bsd_iconv.c
225
for (n = 0; n < j; n++)
lib/libc/iconv/bsd_iconv.c
226
free(names[n]);
lib/libc/iconv/bsd_iconv.c
233
for (n = 0; n < j; n++)
lib/libc/iconv/bsd_iconv.c
234
free(names[n]);
lib/libc/iconv/citrus_lookup.h
53
_citrus_lookup_alias(const char *path, const char *key, char *buf, size_t n,
lib/libc/iconv/citrus_lookup.h
58
ret = _citrus_lookup_simple(path, key, buf, n, ignore_case);
lib/libc/iconv/citrus_module.c
128
int i, n;
lib/libc/iconv/citrus_module.c
130
for (n = 0, i = 0; i < MAXDEWEY; i++) {
lib/libc/iconv/citrus_module.c
138
dewey[n++] = (int)_bcs_strtol(cp, &cp, 10);
lib/libc/iconv/citrus_module.c
141
return (n);
lib/libc/iconv/citrus_module.c
203
int n;
lib/libc/iconv/citrus_module.c
212
if ((n = _getdewey(tmp, dp->d_name+len+4)) == 0)
lib/libc/iconv/citrus_module.c
227
if (n == 1 || tmp[1] >= minor)
lib/libc/iconv/citrus_module.c
236
if (_cmpndewey(tmp, n, dewey, ndewey) <= 0)
lib/libc/iconv/citrus_module.c
245
ndewey = n;
lib/libc/iconv/citrus_none.c
107
char *s, size_t n, _csid_t csid, _index_t idx, void *ps __unused,
lib/libc/iconv/citrus_none.c
119
if (n < 1) {
lib/libc/iconv/citrus_none.c
126
if (n < 2) {
lib/libc/iconv/citrus_none.c
135
if (n < 3) {
lib/libc/iconv/citrus_none.c
145
if (n < 4) {
lib/libc/iconv/citrus_none.c
162
_wc_t * __restrict pwc, char ** __restrict s, size_t n,
lib/libc/iconv/citrus_none.c
171
if (n == 0) {
lib/libc/iconv/citrus_none.c
189
char * __restrict s, size_t n, _wc_t wc,
lib/libc/iconv/citrus_none.c
198
if (n == 0) {
lib/libc/iconv/citrus_none.c
204
if (s != NULL && n > 0)
lib/libc/iconv/citrus_none.c
212
char * __restrict s __unused, size_t n __unused,
lib/libc/iconv/citrus_none.c
86
_csid_t *csid, _index_t *idx, char **s, size_t n,
lib/libc/iconv/citrus_none.c
90
if (n < 1) {
lib/libc/iconv/citrus_prop.c
253
size_t m, n;
lib/libc/iconv/citrus_prop.c
259
n = 0;
lib/libc/iconv/citrus_prop.c
273
s[n] = quot;
lib/libc/iconv/citrus_prop.c
274
++n, --m;
lib/libc/iconv/citrus_prop.c
280
t = realloc(s, n + m);
lib/libc/iconv/citrus_prop.c
291
s[n] = '\0';
lib/libc/iconv/citrus_prop.c
301
s[n] = ch;
lib/libc/iconv/citrus_prop.c
302
++n, --m;
lib/libc/iconv/citrus_prop.c
321
char * __restrict s, size_t n)
lib/libc/iconv/citrus_prop.c
326
for (m = 0; m < n; ++m) {
lib/libc/iconv/citrus_prop.c
83
int ch, cutlim, n; \
lib/libc/iconv/citrus_prop.c
92
if (p == NULL || (n = (p - xdigit)) >= base) \
lib/libc/iconv/citrus_prop.c
94
if (acc > cutoff || (acc == cutoff && n > cutlim)) \
lib/libc/iconv/citrus_prop.c
97
acc += n; \
lib/libc/iconv/citrus_stdenc.h
103
char * __restrict s, size_t n, void * __restrict ps,
lib/libc/iconv/citrus_stdenc.h
107
return ((*ce->ce_ops->eo_put_state_reset)(ce, s, n, ps, nresult));
lib/libc/iconv/citrus_stdenc.h
73
char ** __restrict s, size_t n, void * __restrict ps,
lib/libc/iconv/citrus_stdenc.h
77
return ((*ce->ce_ops->eo_mbtocs)(ce, csid, idx, s, n, ps, nresult,
lib/libc/iconv/citrus_stdenc.h
83
char * __restrict s, size_t n, _citrus_csid_t csid, _citrus_index_t idx,
lib/libc/iconv/citrus_stdenc.h
88
return ((*ce->ce_ops->eo_cstomb)(ce, s, n, csid, idx, ps, nresult,
lib/libc/iconv/citrus_stdenc.h
94
char * __restrict s, size_t n, _citrus_wc_t wc, void * __restrict ps,
lib/libc/iconv/citrus_stdenc.h
98
return ((*ce->ce_ops->eo_wctomb)(ce, s, n, wc, ps, nresult, hooks));
lib/libc/iconv/citrus_stdenc_local.h
39
#define _CITRUS_STDENC_GETOPS_FUNC_BASE(n) \
lib/libc/iconv/citrus_stdenc_local.h
40
int n(struct _citrus_stdenc_ops *, size_t)
lib/libc/iconv/citrus_stdenc_template.h
122
char ** __restrict s, size_t n, void * __restrict ps,
lib/libc/iconv/citrus_stdenc_template.h
128
ret = _FUNCNAME(mbrtowc_priv)(_CE_TO_EI(ce), &wc, s, n,
lib/libc/iconv/citrus_stdenc_template.h
141
char * __restrict s, size_t n, _citrus_csid_t csid, _citrus_index_t idx,
lib/libc/iconv/citrus_stdenc_template.h
154
ret = _FUNCNAME(wcrtomb_priv)(_CE_TO_EI(ce), s, n, wc,
lib/libc/iconv/citrus_stdenc_template.h
161
_citrus_wc_t * __restrict wc, char ** __restrict s, size_t n,
lib/libc/iconv/citrus_stdenc_template.h
167
ret = _FUNCNAME(mbrtowc_priv)(_CE_TO_EI(ce), wc, s, n,
lib/libc/iconv/citrus_stdenc_template.h
176
char * __restrict s, size_t n, _citrus_wc_t wc, void * __restrict ps,
lib/libc/iconv/citrus_stdenc_template.h
181
ret = _FUNCNAME(wcrtomb_priv)(_CE_TO_EI(ce), s, n, wc, _TO_STATE(ps),
lib/libc/iconv/citrus_stdenc_template.h
188
char * __restrict s __unused, size_t n __unused,
lib/libc/iconv/citrus_stdenc_template.h
193
return ((_FUNCNAME(put_state_reset)(_CE_TO_EI(ce), s, n, _TO_STATE(ps),
lib/libc/include/reentrant.h
123
#define thr_sigsetmask(f, n, o) _pthread_sigmask(f, n, o)
lib/libc/inet/inet_addr.c
103
int base, n;
lib/libc/inet/inet_addr.c
172
n = pp - parts + 1;
lib/libc/inet/inet_addr.c
173
switch (n) {
lib/libc/inet/inet_cidr_ntop.c
222
int n;
lib/libc/inet/inet_cidr_ntop.c
225
n = 4;
lib/libc/inet/inet_cidr_ntop.c
227
n = 3;
lib/libc/inet/inet_cidr_ntop.c
229
n = 2;
lib/libc/inet/inet_cidr_ntop.c
230
n = decoct(src+12, n, tp, sizeof tmp - (tp - tmp));
lib/libc/inet/inet_cidr_ntop.c
231
if (n == 0) {
lib/libc/inet/inet_cidr_pton.c
225
const int n = tp - colonp;
lib/libc/inet/inet_cidr_pton.c
230
for (i = 1; i <= n; i++) {
lib/libc/inet/inet_cidr_pton.c
231
endp[- i] = colonp[n - i];
lib/libc/inet/inet_cidr_pton.c
232
colonp[n - i] = 0;
lib/libc/inet/inet_cidr_pton.c
84
int n, ch, tmp, bits;
lib/libc/inet/inet_cidr_pton.c
91
n = strchr(digits, ch) - digits;
lib/libc/inet/inet_cidr_pton.c
92
assert(n >= 0 && n <= 9);
lib/libc/inet/inet_cidr_pton.c
94
tmp += n;
lib/libc/inet/inet_net_pton.c
106
n = strchr(xdigits, ch) - xdigits;
lib/libc/inet/inet_net_pton.c
107
assert(n >= 0 && n <= 15);
lib/libc/inet/inet_net_pton.c
109
tmp = n;
lib/libc/inet/inet_net_pton.c
111
tmp = (tmp << 4) | n;
lib/libc/inet/inet_net_pton.c
129
n = strchr(digits, ch) - digits;
lib/libc/inet/inet_net_pton.c
130
assert(n >= 0 && n <= 9);
lib/libc/inet/inet_net_pton.c
132
tmp += n;
lib/libc/inet/inet_net_pton.c
158
n = strchr(digits, ch) - digits;
lib/libc/inet/inet_net_pton.c
159
assert(n >= 0 && n <= 9);
lib/libc/inet/inet_net_pton.c
161
bits += n;
lib/libc/inet/inet_net_pton.c
91
int n, ch, tmp, dirty, bits;
lib/libc/inet/inet_network.c
49
in_addr_t val, base, n;
lib/libc/inet/inet_network.c
89
n = pp - parts;
lib/libc/inet/inet_network.c
90
if (n > 4U)
lib/libc/inet/inet_network.c
92
for (val = 0, i = 0; i < n; i++) {
lib/libc/inet/inet_pton.c
196
const int n = tp - colonp;
lib/libc/inet/inet_pton.c
201
for (i = 1; i <= n; i++) {
lib/libc/inet/inet_pton.c
202
endp[- i] = colonp[n - i];
lib/libc/inet/inet_pton.c
203
colonp[n - i] = 0;
lib/libc/locale/ascii.c
89
_ascii_mbrtowc(wchar_t * __restrict pwc, const char * __restrict s, size_t n,
lib/libc/locale/ascii.c
96
if (n == 0)
lib/libc/locale/big5.c
115
n = 1;
lib/libc/locale/big5.c
119
if (n == 0)
lib/libc/locale/big5.c
138
if (n < 2) {
lib/libc/locale/big5.c
98
_BIG5_mbrtowc(wchar_t * __restrict pwc, const char * __restrict s, size_t n,
lib/libc/locale/collate.c
239
int n = table->info->subst_count[pass];
lib/libc/locale/collate.c
241
if (n == 0)
lib/libc/locale/euc.c
138
size_t n, mbstate_t * __restrict ps)
lib/libc/locale/euc.c
140
return (_EUC_mbrtowc_impl(pwc, s, n, ps, SS2, 4, 0, 0));
lib/libc/locale/euc.c
185
size_t n, mbstate_t * __restrict ps)
lib/libc/locale/euc.c
187
return (_EUC_mbrtowc_impl(pwc, s, n, ps, 0, 0, 0, 0));
lib/libc/locale/euc.c
232
size_t n, mbstate_t * __restrict ps)
lib/libc/locale/euc.c
234
return (_EUC_mbrtowc_impl(pwc, s, n, ps, SS2, 2, SS3, 3));
lib/libc/locale/euc.c
279
size_t n, mbstate_t * __restrict ps)
lib/libc/locale/euc.c
281
return (_EUC_mbrtowc_impl(pwc, s, n, ps, SS2, 4, 0, 0));
lib/libc/locale/euc.c
312
size_t n, mbstate_t * __restrict ps,
lib/libc/locale/euc.c
329
n = 1;
lib/libc/locale/euc.c
333
if (n == 0)
lib/libc/locale/euc.c
365
for (i = 0; i < MIN(want, n); i++) {
lib/libc/locale/fix_grouping.c
46
char n;
lib/libc/locale/fix_grouping.c
70
n = *src - '0';
lib/libc/locale/fix_grouping.c
73
n *= 10;
lib/libc/locale/fix_grouping.c
74
n += *src - '0';
lib/libc/locale/fix_grouping.c
77
*dst = n;
lib/libc/locale/gb18030.c
109
n = 1;
lib/libc/locale/gb18030.c
113
ncopy = MIN(MIN(n, MB_CUR_MAX), sizeof(gs->bytes) - gs->count);
lib/libc/locale/gb18030.c
118
n = gs->count;
lib/libc/locale/gb18030.c
120
if (n == 0)
lib/libc/locale/gb18030.c
135
if (n < 2)
lib/libc/locale/gb18030.c
148
if (n < 3)
lib/libc/locale/gb18030.c
154
if (n < 4)
lib/libc/locale/gb18030.c
93
size_t n, mbstate_t * __restrict ps)
lib/libc/locale/gb2312.c
109
_GB2312_mbrtowc(wchar_t * __restrict pwc, const char * __restrict s, size_t n,
lib/libc/locale/gb2312.c
126
n = 1;
lib/libc/locale/gb2312.c
130
ncopy = MIN(MIN(n, MB_CUR_MAX), sizeof(gs->bytes) - gs->count);
lib/libc/locale/gb2312.c
135
n = gs->count;
lib/libc/locale/gb2312.c
137
if ((len = _GB2312_check(s, n)) < 0)
lib/libc/locale/gb2312.c
86
_GB2312_check(const char *str, size_t n)
lib/libc/locale/gb2312.c
90
if (n == 0)
lib/libc/locale/gb2312.c
94
if (n < 2)
lib/libc/locale/gbk.c
100
_GBK_mbrtowc(wchar_t * __restrict pwc, const char * __restrict s, size_t n,
lib/libc/locale/gbk.c
117
n = 1;
lib/libc/locale/gbk.c
121
if (n == 0)
lib/libc/locale/gbk.c
140
if (n < 2) {
lib/libc/locale/mblen.c
39
mblen_l(const char *s, size_t n, locale_t locale)
lib/libc/locale/mblen.c
50
rval = XLOCALE_CTYPE(locale)->__mbrtowc(NULL, s, n,
lib/libc/locale/mblen.c
58
mblen(const char *s, size_t n)
lib/libc/locale/mblen.c
60
return mblen_l(s, n, __get_locale());
lib/libc/locale/mbrlen.c
38
mbrlen_l(const char * __restrict s, size_t n, mbstate_t * __restrict ps, locale_t locale)
lib/libc/locale/mbrlen.c
43
return (XLOCALE_CTYPE(locale)->__mbrtowc(NULL, s, n, ps));
lib/libc/locale/mbrlen.c
47
mbrlen(const char * __restrict s, size_t n, mbstate_t * __restrict ps)
lib/libc/locale/mbrlen.c
49
return mbrlen_l(s, n, ps, __get_locale());
lib/libc/locale/mbrtoc16.c
38
mbrtoc16_l(char16_t * __restrict pc16, const char * __restrict s, size_t n,
lib/libc/locale/mbrtoc16.c
57
return (mbrtoc32_l(NULL, s, n, &cs->c32_mbstate, locale));
lib/libc/locale/mbrtoc16.c
67
len = mbrtoc32_l(&c32, s, n, &cs->c32_mbstate, locale);
lib/libc/locale/mbrtoc16.c
83
mbrtoc16(char16_t * __restrict pc16, const char * __restrict s, size_t n,
lib/libc/locale/mbrtoc16.c
87
return (mbrtoc16_l(pc16, s, n, ps, __get_locale()));
lib/libc/locale/mbrtoc32.c
34
mbrtoc32_l(char32_t * __restrict pc32, const char * __restrict s, size_t n,
lib/libc/locale/mbrtoc32.c
43
return (mbrtowc_l(pc32, s, n, ps, locale));
lib/libc/locale/mbrtoc32.c
47
mbrtoc32(char32_t * __restrict pc32, const char * __restrict s, size_t n,
lib/libc/locale/mbrtoc32.c
51
return (mbrtoc32_l(pc32, s, n, ps, __get_locale()));
lib/libc/locale/mbrtocXX_iconv.h
104
srcleft = cs->srcbuf_len + n;
lib/libc/locale/mbrtocXX_iconv.h
150
mbrtocXX(charXX_t * __restrict pc, const char * __restrict s, size_t n,
lib/libc/locale/mbrtocXX_iconv.h
154
return (mbrtocXX_l(pc, s, n, ps, __get_locale()));
lib/libc/locale/mbrtocXX_iconv.h
58
mbrtocXX_l(charXX_t * __restrict pc, const char * __restrict s, size_t n,
lib/libc/locale/mbrtocXX_iconv.h
93
if (n > sizeof(cs->srcbuf) - cs->srcbuf_len)
lib/libc/locale/mbrtocXX_iconv.h
94
n = sizeof(cs->srcbuf) - cs->srcbuf_len;
lib/libc/locale/mbrtocXX_iconv.h
95
memcpy(cs->srcbuf + cs->srcbuf_len, s, n);
lib/libc/locale/mbrtowc.c
39
size_t n, mbstate_t * __restrict ps, locale_t locale)
lib/libc/locale/mbrtowc.c
44
return (XLOCALE_CTYPE(locale)->__mbrtowc(pwc, s, n, ps));
lib/libc/locale/mbrtowc.c
49
size_t n, mbstate_t * __restrict ps)
lib/libc/locale/mbrtowc.c
51
return mbrtowc_l(pwc, s, n, ps, __get_locale());
lib/libc/locale/mbstowcs.c
40
mbstowcs_l(wchar_t * __restrict pwcs, const char * __restrict s, size_t n, locale_t locale)
lib/libc/locale/mbstowcs.c
49
return (XLOCALE_CTYPE(locale)->__mbsnrtowcs(pwcs, &sp, SIZE_T_MAX, n, &mbs));
lib/libc/locale/mbstowcs.c
52
mbstowcs(wchar_t * __restrict pwcs, const char * __restrict s, size_t n)
lib/libc/locale/mbstowcs.c
54
return mbstowcs_l(pwcs, s, n, __get_locale());
lib/libc/locale/mbtowc.c
40
mbtowc_l(wchar_t * __restrict pwc, const char * __restrict s, size_t n, locale_t locale)
lib/libc/locale/mbtowc.c
51
rval = XLOCALE_CTYPE(locale)->__mbrtowc(pwc, s, n,
lib/libc/locale/mbtowc.c
64
mbtowc(wchar_t * __restrict pwc, const char * __restrict s, size_t n)
lib/libc/locale/mbtowc.c
66
return mbtowc_l(pwc, s, n, __get_locale());
lib/libc/locale/mskanji.c
110
n = 1;
lib/libc/locale/mskanji.c
114
if (n == 0)
lib/libc/locale/mskanji.c
131
if (n < 2) {
lib/libc/locale/mskanji.c
94
_MSKanji_mbrtowc(wchar_t * __restrict pwc, const char * __restrict s, size_t n,
lib/libc/locale/none.c
103
if (n == 0)
lib/libc/locale/none.c
96
_none_mbrtowc(wchar_t * __restrict pwc, const char * __restrict s, size_t n,
lib/libc/locale/utf8.c
109
n = 1;
lib/libc/locale/utf8.c
113
if (n == 0)
lib/libc/locale/utf8.c
170
for (i = (us->want == 0) ? 1 : 0; i < MIN(want, n); i++) {
lib/libc/locale/utf8.c
93
_UTF8_mbrtowc(wchar_t * __restrict pwc, const char * __restrict s, size_t n,
lib/libc/locale/wcsftime.c
101
n = mbsrtowcs_l(wcs, &dstp, maxsize, &mbs, locale);
lib/libc/locale/wcsftime.c
102
if (n == (size_t)-2 || n == (size_t)-1 || dstp != NULL)
lib/libc/locale/wcsftime.c
107
return (n);
lib/libc/locale/wcsftime.c
64
size_t n, sflen;
lib/libc/locale/wcstombs.c
40
wcstombs_l(char * __restrict s, const wchar_t * __restrict pwcs, size_t n,
lib/libc/locale/wcstombs.c
50
return (XLOCALE_CTYPE(locale)->__wcsnrtombs(s, &pwcsp, SIZE_T_MAX, n, &mbs));
lib/libc/locale/wcstombs.c
53
wcstombs(char * __restrict s, const wchar_t * __restrict pwcs, size_t n)
lib/libc/locale/wcstombs.c
55
return wcstombs_l(s, pwcs, n, __get_locale());
lib/libc/nameser/ns_name.c
100
u_int n;
lib/libc/nameser/ns_name.c
107
while ((n = *cp++) != 0) {
lib/libc/nameser/ns_name.c
108
if ((n & NS_CMPRSFLGS) == NS_CMPRSFLGS) {
lib/libc/nameser/ns_name.c
128
if ((n & NS_CMPRSFLGS) == NS_TYPE_ELT) {
lib/libc/nameser/ns_name.c
131
if (n != DNS_LABELTYPE_BITSTRING) {
lib/libc/nameser/ns_name.c
218
int c, n, escaped, e = 0;
lib/libc/nameser/ns_name.c
250
n = (cp - digits) * 100;
lib/libc/nameser/ns_name.c
256
n += (cp - digits) * 10;
lib/libc/nameser/ns_name.c
262
n += (cp - digits);
lib/libc/nameser/ns_name.c
263
if (n > 255) {
lib/libc/nameser/ns_name.c
267
c = n;
lib/libc/nameser/ns_name.c
357
u_int n;
lib/libc/nameser/ns_name.c
368
while ((n = *cp++) != 0) {
lib/libc/nameser/ns_name.c
369
if ((n & NS_CMPRSFLGS) == NS_CMPRSFLGS) {
lib/libc/nameser/ns_name.c
374
*dn++ = n;
lib/libc/nameser/ns_name.c
422
int n, len, checked, l;
lib/libc/nameser/ns_name.c
434
while ((n = *srcp++) != 0) {
lib/libc/nameser/ns_name.c
436
switch (n & NS_CMPRSFLGS) {
lib/libc/nameser/ns_name.c
449
*dstp++ = n;
lib/libc/nameser/ns_name.c
462
l = ((n & 0x3f) << 8) | (*srcp & 0xff);
lib/libc/nameser/ns_name.c
519
int n, l, first = 1;
lib/libc/nameser/ns_name.c
539
n = *srcp;
lib/libc/nameser/ns_name.c
540
if ((n & NS_CMPRSFLGS) == NS_CMPRSFLGS) {
lib/libc/nameser/ns_name.c
554
} while (n != 0);
lib/libc/nameser/ns_name.c
560
n = *srcp;
lib/libc/nameser/ns_name.c
561
if (n != 0 && msg != NULL) {
lib/libc/nameser/ns_name.c
581
if ((n & NS_CMPRSFLGS) == NS_CMPRSFLGS) {
lib/libc/nameser/ns_name.c
585
n = labellen(srcp);
lib/libc/nameser/ns_name.c
586
if (dstp + 1 + n >= eob) {
lib/libc/nameser/ns_name.c
589
memcpy(dstp, srcp, n + 1);
lib/libc/nameser/ns_name.c
590
srcp += n + 1;
lib/libc/nameser/ns_name.c
591
dstp += n + 1;
lib/libc/nameser/ns_name.c
592
} while (n != 0);
lib/libc/nameser/ns_name.c
618
int n;
lib/libc/nameser/ns_name.c
620
if ((n = ns_name_unpack(msg, eom, src, tmp, sizeof tmp)) == -1)
lib/libc/nameser/ns_name.c
624
return (n);
lib/libc/nameser/ns_name.c
680
u_int n;
lib/libc/nameser/ns_name.c
684
while (cp < eom && (n = *cp++) != 0) {
lib/libc/nameser/ns_name.c
686
switch (n & NS_CMPRSFLGS) {
lib/libc/nameser/ns_name.c
688
cp += n;
lib/libc/nameser/ns_name.c
721
u_int n;
lib/libc/nameser/ns_name.c
723
while (namesiz-- > 0 && (n = *nname++) != 0) {
lib/libc/nameser/ns_name.c
724
if ((n & NS_CMPRSFLGS) != 0) {
lib/libc/nameser/ns_name.c
728
if (n > namesiz) {
lib/libc/nameser/ns_name.c
732
nname += n;
lib/libc/nameser/ns_name.c
733
namesiz -= n;
lib/libc/nameser/ns_name.c
789
u_int n;
lib/libc/nameser/ns_name.c
792
n = *nname++;
lib/libc/nameser/ns_name.c
796
if (n == 0) {
lib/libc/nameser/ns_name.c
806
if ((n & NS_CMPRSFLGS) != 0) {
lib/libc/nameser/ns_name.c
812
if (n > namelen) {
lib/libc/nameser/ns_name.c
818
l = ns_name_map(nname + n, namelen - n, map, mapsize);
lib/libc/nameser/ns_name.c
830
map[l].len = n;
lib/libc/nameser/ns_name.c
840
u_int n;
lib/libc/nameser/ns_name.c
842
while (namesiz-- > 0 && (n = *nname++) != 0) {
lib/libc/nameser/ns_name.c
843
if ((n & NS_CMPRSFLGS) != 0) {
lib/libc/nameser/ns_name.c
847
if (n > namesiz) {
lib/libc/nameser/ns_name.c
851
nname += n;
lib/libc/nameser/ns_name.c
852
namesiz -= n;
lib/libc/nameser/ns_name.c
925
u_int n;
lib/libc/nameser/ns_name.c
939
while ((n = *cp++) != 0) {
lib/libc/nameser/ns_name.c
943
switch (n & NS_CMPRSFLGS) {
lib/libc/nameser/ns_name.c
945
n = labellen(cp - 1); /*%< XXX */
lib/libc/nameser/ns_name.c
946
if (n != *dn++)
lib/libc/nameser/ns_name.c
949
for ((void)NULL; n > 0; n--)
lib/libc/nameser/ns_name.c
960
cp = msg + (((n & 0x3f) << 8) | *cp);
lib/libc/nameser/ns_print.c
1055
int n, m;
lib/libc/nameser/ns_print.c
1065
n = MIN(16, edata - rdata);
lib/libc/nameser/ns_print.c
1066
for (m = 0; m < n; m++)
lib/libc/nameser/ns_print.c
1069
if (n < 16) {
lib/libc/nameser/ns_print.c
1075
for (m = 0; m < n; m++)
lib/libc/nameser/ns_print.c
1080
rdata += n;
lib/libc/nameser/ns_print.c
1141
int n = *rdata;
lib/libc/nameser/ns_print.c
1143
if (rdata + 1 + n <= edata) {
lib/libc/nameser/ns_print.c
1145
while (n-- > 0) {
lib/libc/nameser/ns_print.c
1173
int n;
lib/libc/nameser/ns_print.c
1175
n = dn_expand(msg, msg + msglen, *pp, *buf, *buflen);
lib/libc/nameser/ns_print.c
1176
if (n < 0)
lib/libc/nameser/ns_print.c
1199
*pp += n;
lib/libc/nameser/ns_print.c
415
int n, lcnt;
lib/libc/nameser/ns_print.c
431
n = 0;
lib/libc/nameser/ns_print.c
443
len = SPRINTF((tmp, "%d ", n));
lib/libc/nameser/ns_print.c
448
} while (++n & 07);
lib/libc/nameser/ns_print.c
460
int n;
lib/libc/nameser/ns_print.c
489
for (n = 0; n < len; n += 48) {
lib/libc/nameser/ns_print.c
491
T(addstr(base64_key + n, MIN(len - n, 48),
lib/libc/nameser/ns_print.c
496
n = SPRINTF((tmp, " ; key_tag= %u", key_id));
lib/libc/nameser/ns_print.c
497
T(addstr(tmp, n, &buf, &buflen));
lib/libc/nameser/ns_print.c
508
int n;
lib/libc/nameser/ns_print.c
553
for (n = 0; n < len; n += 48) {
lib/libc/nameser/ns_print.c
555
T(addstr(base64_key + n, MIN(len - n, 48),
lib/libc/nameser/ns_print.c
564
int n, c;
lib/libc/nameser/ns_print.c
570
n = edata - rdata;
lib/libc/nameser/ns_print.c
571
for (c = 0; c < n*8; c++)
lib/libc/nameser/ns_print.c
581
int n;
lib/libc/nameser/ns_print.c
610
for (n = 0; n < len; n += 48) {
lib/libc/nameser/ns_print.c
613
T(addstr(base64_cert + n, MIN(len - n, 48),
lib/libc/nameser/ns_print.c
655
int n;
lib/libc/nameser/ns_print.c
660
n = ns_get16(rdata); rdata += INT16SZ;
lib/libc/nameser/ns_print.c
661
rdata += n; /*%< sig */
lib/libc/nameser/ns_print.c
662
n = ns_get16(rdata); rdata += INT16SZ; /*%< original id */
lib/libc/nameser/ns_print.c
878
int n;
lib/libc/nameser/ns_print.c
89
int n;
lib/libc/nameser/ns_print.c
901
for (n = 0; n < len; n += 48) {
lib/libc/nameser/ns_print.c
904
T(addstr(base64_dhcid + n, MIN(len - n, 48),
lib/libc/nameser/ns_print.c
91
n = ns_sprintrrf(ns_msg_base(*handle), ns_msg_size(*handle),
lib/libc/nameser/ns_print.c
914
int n;
lib/libc/nameser/ns_print.c
95
return (n);
lib/libc/nameser/ns_print.c
993
for (n = 0; n < len; n += 48) {
lib/libc/nameser/ns_print.c
996
T(addstr(base64_key + n, MIN(len - n, 48),
lib/libc/nameser/ns_samedomain.c
167
size_t n = strlen(src);
lib/libc/nameser/ns_samedomain.c
169
if (n + sizeof "." > dstsize) { /*%< Note: sizeof == 2 */
lib/libc/nameser/ns_samedomain.c
174
while (n >= 1U && dst[n - 1] == '.') /*%< Ends in "." */
lib/libc/nameser/ns_samedomain.c
175
if (n >= 2U && dst[n - 2] == '\\' && /*%< Ends in "\." */
lib/libc/nameser/ns_samedomain.c
176
(n < 3U || dst[n - 3] != '\\')) /*%< But not "\\." */
lib/libc/nameser/ns_samedomain.c
179
dst[--n] = '\0';
lib/libc/nameser/ns_samedomain.c
180
dst[n++] = '.';
lib/libc/nameser/ns_samedomain.c
181
dst[n] = '\0';
lib/libc/net/ether_addr.c
115
ether_ntoa_r(const struct ether_addr *n, char *a)
lib/libc/net/ether_addr.c
119
i = sprintf(a, "%02x:%02x:%02x:%02x:%02x:%02x", n->octet[0],
lib/libc/net/ether_addr.c
120
n->octet[1], n->octet[2], n->octet[3], n->octet[4], n->octet[5]);
lib/libc/net/ether_addr.c
127
ether_ntoa(const struct ether_addr *n)
lib/libc/net/ether_addr.c
131
return (ether_ntoa_r(n, a));
lib/libc/net/getaddrinfo.c
1431
size_t n = strnlen(addr, afd->a_addrlen);
lib/libc/net/getaddrinfo.c
1433
ai->ai_addrlen -= afd->a_addrlen - n;
lib/libc/net/getaddrinfo.c
1434
ai->ai_addr->sa_len -= afd->a_addrlen - n;
lib/libc/net/getaddrinfo.c
1990
int n;
lib/libc/net/getaddrinfo.c
2026
n = dn_expand(answer->buf, eom, cp, bp, ep - bp);
lib/libc/net/getaddrinfo.c
2027
if ((n < 0) || !(*name_ok)(bp)) {
lib/libc/net/getaddrinfo.c
2031
cp += n + QFIXEDSZ;
lib/libc/net/getaddrinfo.c
2037
n = strlen(bp) + 1; /* for the \0 */
lib/libc/net/getaddrinfo.c
2038
if (n >= MAXHOSTNAMELEN) {
lib/libc/net/getaddrinfo.c
2043
bp += n;
lib/libc/net/getaddrinfo.c
2050
n = dn_expand(answer->buf, eom, cp, bp, ep - bp);
lib/libc/net/getaddrinfo.c
2051
if ((n < 0) || !(*name_ok)(bp)) {
lib/libc/net/getaddrinfo.c
2055
cp += n; /* name */
lib/libc/net/getaddrinfo.c
2060
n = _getshort(cp);
lib/libc/net/getaddrinfo.c
2064
cp += n;
lib/libc/net/getaddrinfo.c
2069
n = dn_expand(answer->buf, eom, cp, tbuf, sizeof tbuf);
lib/libc/net/getaddrinfo.c
2070
if ((n < 0) || !(*name_ok)(tbuf)) {
lib/libc/net/getaddrinfo.c
2074
cp += n;
lib/libc/net/getaddrinfo.c
2076
n = strlen(tbuf) + 1; /* for the \0 */
lib/libc/net/getaddrinfo.c
2077
if (n > ep - bp || n >= MAXHOSTNAMELEN) {
lib/libc/net/getaddrinfo.c
2083
bp += n;
lib/libc/net/getaddrinfo.c
2088
cp += n;
lib/libc/net/getaddrinfo.c
2100
cp += n;
lib/libc/net/getaddrinfo.c
2111
cp += n;
lib/libc/net/getaddrinfo.c
2114
if (type == T_A && n != INADDRSZ) {
lib/libc/net/getaddrinfo.c
2115
cp += n;
lib/libc/net/getaddrinfo.c
2118
if (type == T_AAAA && n != IN6ADDRSZ) {
lib/libc/net/getaddrinfo.c
2119
cp += n;
lib/libc/net/getaddrinfo.c
2127
cp += n;
lib/libc/net/getaddrinfo.c
2145
cp += n;
lib/libc/net/getaddrinfo.c
2153
cp += n;
lib/libc/net/getaddrinfo.c
2355
ai = getanswer(buf2, q2.n, q2.name, q2.qtype, pai, res);
lib/libc/net/getaddrinfo.c
2364
ai = getanswer(buf, q.n, q.name, q.qtype, pai, res);
lib/libc/net/getaddrinfo.c
241
int n; /* result length */
lib/libc/net/getaddrinfo.c
2710
int n;
lib/libc/net/getaddrinfo.c
2757
n = res_nmkquery(res, QUERY, name, class, type, NULL, 0, NULL,
lib/libc/net/getaddrinfo.c
2759
if (n > 0 && (res->_flags & RES_F_EDNS0ERR) == 0 &&
lib/libc/net/getaddrinfo.c
2761
n = res_nopt(res, n, buf, MAXPACKET, anslen);
lib/libc/net/getaddrinfo.c
2762
if (n <= 0) {
lib/libc/net/getaddrinfo.c
2769
return (n);
lib/libc/net/getaddrinfo.c
2771
n = res_nsend(res, buf, n, answer, anslen);
lib/libc/net/getaddrinfo.c
2772
if (n < 0) {
lib/libc/net/getaddrinfo.c
2815
if (n > anslen)
lib/libc/net/getaddrinfo.c
2829
t->n = n;
lib/libc/net/getaddrinfo.c
3034
size_t n, d;
lib/libc/net/getaddrinfo.c
3046
n = strlen(name);
lib/libc/net/getaddrinfo.c
3047
if (n >= MAXDNAME) {
lib/libc/net/getaddrinfo.c
3051
if (n > 0 && name[--n] == '.') {
lib/libc/net/getaddrinfo.c
3052
strncpy(nbuf, name, n);
lib/libc/net/getaddrinfo.c
3053
nbuf[n] = '\0';
lib/libc/net/getaddrinfo.c
3057
n = strlen(name);
lib/libc/net/getaddrinfo.c
3059
if (n + d + 1 >= MAXDNAME) {
lib/libc/net/getaddrinfo.c
678
int i, n;
lib/libc/net/getaddrinfo.c
682
for (n = 0, ai = sentinel->ai_next; ai != NULL; ai = ai->ai_next, n++)
lib/libc/net/getaddrinfo.c
688
if (n <= 1)
lib/libc/net/getaddrinfo.c
689
return(n);
lib/libc/net/getaddrinfo.c
692
if ((aio = calloc(n, sizeof(*aio))) == NULL)
lib/libc/net/getaddrinfo.c
693
return(n); /* give up reordering */
lib/libc/net/getaddrinfo.c
700
return (n);
lib/libc/net/getaddrinfo.c
703
for (i = 0, ai = sentinel->ai_next; i < n; ai = ai->ai_next, i++) {
lib/libc/net/getaddrinfo.c
713
qsort(aio, n, sizeof(*aio), comp_dst);
lib/libc/net/getaddrinfo.c
716
for (i = 0, aip = &sentinel->ai_next; i < n; i++) {
lib/libc/net/getaddrinfo.c
725
return(n);
lib/libc/net/gethostbydns.c
142
int n;
lib/libc/net/gethostbydns.c
181
n = dn_expand(answer->buf, eom, cp, bp, ep - bp);
lib/libc/net/gethostbydns.c
182
if ((n < 0) || !(*name_ok)(bp)) {
lib/libc/net/gethostbydns.c
186
BOUNDED_INCR(n + QFIXEDSZ);
lib/libc/net/gethostbydns.c
192
n = strlen(bp) + 1; /* for the \0 */
lib/libc/net/gethostbydns.c
193
if (n >= MAXHOSTNAMELEN) {
lib/libc/net/gethostbydns.c
198
bp += n;
lib/libc/net/gethostbydns.c
212
n = dn_expand(answer->buf, eom, cp, bp, ep - bp);
lib/libc/net/gethostbydns.c
213
if ((n < 0) || !(*name_ok)(bp)) {
lib/libc/net/gethostbydns.c
217
cp += n; /* name */
lib/libc/net/gethostbydns.c
226
n = _getshort(cp);
lib/libc/net/gethostbydns.c
228
BOUNDS_CHECK(cp, n);
lib/libc/net/gethostbydns.c
229
erdata = cp + n;
lib/libc/net/gethostbydns.c
232
cp += n;
lib/libc/net/gethostbydns.c
238
n = dn_expand(answer->buf, eom, cp, tbuf, sizeof tbuf);
lib/libc/net/gethostbydns.c
239
if ((n < 0) || !(*name_ok)(tbuf)) {
lib/libc/net/gethostbydns.c
243
cp += n;
lib/libc/net/gethostbydns.c
250
n = strlen(bp) + 1; /* for the \0 */
lib/libc/net/gethostbydns.c
251
if (n >= MAXHOSTNAMELEN) {
lib/libc/net/gethostbydns.c
255
bp += n;
lib/libc/net/gethostbydns.c
257
n = strlen(tbuf) + 1; /* for the \0 */
lib/libc/net/gethostbydns.c
258
if (n > ep - bp || n >= MAXHOSTNAMELEN) {
lib/libc/net/gethostbydns.c
264
bp += n;
lib/libc/net/gethostbydns.c
268
n = dn_expand(answer->buf, eom, cp, tbuf, sizeof tbuf);
lib/libc/net/gethostbydns.c
269
if (n < 0 || !res_dnok(tbuf)) {
lib/libc/net/gethostbydns.c
273
cp += n;
lib/libc/net/gethostbydns.c
279
n = strlen(tbuf) + 1; /* for the \0 */
lib/libc/net/gethostbydns.c
280
if (n > ep - bp || n >= MAXHOSTNAMELEN) {
lib/libc/net/gethostbydns.c
286
bp += n;
lib/libc/net/gethostbydns.c
298
cp += n;
lib/libc/net/gethostbydns.c
308
cp += n;
lib/libc/net/gethostbydns.c
311
n = dn_expand(answer->buf, eom, cp, bp, ep - bp);
lib/libc/net/gethostbydns.c
312
if ((n < 0) || !res_hnok(bp)) {
lib/libc/net/gethostbydns.c
317
cp += n;
lib/libc/net/gethostbydns.c
327
n = -1;
lib/libc/net/gethostbydns.c
328
if (n != -1) {
lib/libc/net/gethostbydns.c
329
n = strlen(bp) + 1; /* for the \0 */
lib/libc/net/gethostbydns.c
330
if (n >= MAXHOSTNAMELEN) {
lib/libc/net/gethostbydns.c
334
bp += n;
lib/libc/net/gethostbydns.c
340
n = strlen(bp) + 1; /* for the \0 */
lib/libc/net/gethostbydns.c
341
if (n >= MAXHOSTNAMELEN) {
lib/libc/net/gethostbydns.c
345
bp += n;
lib/libc/net/gethostbydns.c
358
cp += n;
lib/libc/net/gethostbydns.c
361
if (n != he->h_length) {
lib/libc/net/gethostbydns.c
362
cp += n;
lib/libc/net/gethostbydns.c
375
if (bp + n >= ep) {
lib/libc/net/gethostbydns.c
376
dbg_printf("size (%d) too big\n", n, statp);
lib/libc/net/gethostbydns.c
384
cp += n;
lib/libc/net/gethostbydns.c
387
memcpy(*hap++ = bp, cp, n);
lib/libc/net/gethostbydns.c
388
bp += n;
lib/libc/net/gethostbydns.c
389
cp += n;
lib/libc/net/gethostbydns.c
418
n = strlen(qname) + 1; /* for the \0 */
lib/libc/net/gethostbydns.c
419
if (n > ep - bp || n >= MAXHOSTNAMELEN)
lib/libc/net/gethostbydns.c
423
bp += n;
lib/libc/net/gethostbydns.c
478
int n, type, error;
lib/libc/net/gethostbydns.c
520
n = res_nsearch(statp, name, C_IN, type, buf->buf, sizeof(buf->buf));
lib/libc/net/gethostbydns.c
521
if (n < 0) {
lib/libc/net/gethostbydns.c
523
dbg_printf("res_nsearch failed (%d)\n", n, statp);
lib/libc/net/gethostbydns.c
526
} else if (n > sizeof(buf->buf)) {
lib/libc/net/gethostbydns.c
528
dbg_printf("static buffer is too small (%d)\n", n, statp);
lib/libc/net/gethostbydns.c
532
error = gethostanswer(buf, n, name, type, &he, hed, statp);
lib/libc/net/gethostbydns.c
569
int n;
lib/libc/net/gethostbydns.c
611
for (n = NS_IN6ADDRSZ - 1; n >= 0; n--) {
lib/libc/net/gethostbydns.c
613
uaddr[n] & 0xf,
lib/libc/net/gethostbydns.c
614
(uaddr[n] >> 4) & 0xf));
lib/libc/net/gethostbydns.c
626
n = res_nquery(statp, qbuf, C_IN, T_PTR, (u_char *)buf->buf,
lib/libc/net/gethostbydns.c
628
if (n < 0) {
lib/libc/net/gethostbydns.c
630
dbg_printf("res_nquery failed (%d)\n", n, statp);
lib/libc/net/gethostbydns.c
634
if (n > sizeof buf->buf) {
lib/libc/net/gethostbydns.c
636
dbg_printf("static buffer is too small (%d)\n", n, statp);
lib/libc/net/gethostbydns.c
640
if (gethostanswer(buf, n, qbuf, T_PTR, &he, hed, statp) != 0) {
lib/libc/net/gethostnamadr.c
121
n = hptr->h_length = he->h_length;
lib/libc/net/gethostnamadr.c
129
memcpy(cp, he->h_addr_list[i], n);
lib/libc/net/gethostnamadr.c
131
cp += n;
lib/libc/net/gethostnamadr.c
137
n = strlen(he->h_name) + 1;
lib/libc/net/gethostnamadr.c
140
cp += n;
lib/libc/net/gethostnamadr.c
145
n = strlen(he->h_aliases[i]) + 1;
lib/libc/net/gethostnamadr.c
148
cp += n;
lib/libc/net/gethostnamadr.c
99
int i, n;
lib/libc/net/getnameinfo.c
403
int n;
lib/libc/net/getnameinfo.c
409
n = snprintf(buf, bufsiz, "%u", sa6->sin6_scope_id);
lib/libc/net/getnameinfo.c
410
if (n < 0 || n >= bufsiz)
lib/libc/net/getnameinfo.c
413
return n;
lib/libc/net/getnameinfo.c
426
n = snprintf(buf, bufsiz, "%u", sa6->sin6_scope_id);
lib/libc/net/getnameinfo.c
427
if (n < 0 || (size_t)n >= bufsiz)
lib/libc/net/getnameinfo.c
430
return n;
lib/libc/net/getnameinfo.c
448
int n;
lib/libc/net/getnameinfo.c
454
n = snprintf(host, hostlen, "link#%d", sdl->sdl_index);
lib/libc/net/getnameinfo.c
455
if (n >= hostlen) {
lib/libc/net/getnameinfo.c
463
n = sdl->sdl_nlen;
lib/libc/net/getnameinfo.c
464
if (n >= hostlen) {
lib/libc/net/getnameinfo.c
469
host[n] = '\0';
lib/libc/net/getnameinfo.c
512
int i, n;
lib/libc/net/getnameinfo.c
517
n = snprintf(outp, hostlen, "%s%02x",
lib/libc/net/getnameinfo.c
519
if (n < 0 || n >= hostlen) {
lib/libc/net/getnameinfo.c
523
outp += n;
lib/libc/net/getnameinfo.c
524
hostlen -= n;
lib/libc/net/getnetbydns.c
158
int n;
lib/libc/net/getnetbydns.c
200
n = dn_expand(answer->buf, eom, cp, bp, ep - bp);
lib/libc/net/getnetbydns.c
201
if ((n < 0) || !res_dnok(bp))
lib/libc/net/getnetbydns.c
203
cp += n;
lib/libc/net/getnetbydns.c
210
GETSHORT(n, cp);
lib/libc/net/getnetbydns.c
212
n = dn_expand(answer->buf, eom, cp, bp, ep - bp);
lib/libc/net/getnetbydns.c
213
if ((n < 0) || !res_hnok(bp)) {
lib/libc/net/getnetbydns.c
214
cp += n;
lib/libc/net/getnetbydns.c
217
cp += n;
lib/libc/net/getnetbydns.c
219
n = strlen(bp) + 1;
lib/libc/net/getnetbydns.c
220
bp += n;
lib/libc/net/getnetbydns.c
234
n = strlen(ans) + 1;
lib/libc/net/getnetbydns.c
235
if (ep - bp < n) {
lib/libc/net/getnetnamadr.c
294
int i, n;
lib/libc/net/getnetnamadr.c
318
n = strlen(ne->n_name) + 1;
lib/libc/net/getnetnamadr.c
321
cp += n;
lib/libc/net/getnetnamadr.c
326
n = strlen(ne->n_aliases[i]) + 1;
lib/libc/net/getnetnamadr.c
329
cp += n;
lib/libc/net/getprotoent.c
295
int i, n;
lib/libc/net/getprotoent.c
318
n = strlen(pe->p_name) + 1;
lib/libc/net/getprotoent.c
321
cp += n;
lib/libc/net/getprotoent.c
326
n = strlen(pe->p_aliases[i]) + 1;
lib/libc/net/getprotoent.c
329
cp += n;
lib/libc/net/hesiod.c
258
int n;
lib/libc/net/hesiod.c
310
n = 0;
lib/libc/net/hesiod.c
311
while (*data && n < 2) {
lib/libc/net/hesiod.c
318
ctx->classes[n++] = C_IN;
lib/libc/net/hesiod.c
321
ctx->classes[n++] =
lib/libc/net/hesiod.c
325
while (n < 2)
lib/libc/net/hesiod.c
326
ctx->classes[n++] = 0;
lib/libc/net/hesiod.c
351
int ancount, qdcount, i, j, n, skip, type, class, len;
lib/libc/net/hesiod.c
358
n = res_mkquery(QUERY, name, qclass, T_TXT, NULL, 0,
lib/libc/net/hesiod.c
360
if (n < 0)
lib/libc/net/hesiod.c
364
n = res_send(qbuf, n, abuf, MAX_HESRESP);
lib/libc/net/hesiod.c
365
if (n < 0 || n > MAX_HESRESP) {
lib/libc/net/hesiod.c
374
eom = abuf + n;
lib/libc/net/hesiod.c
426
n = (unsigned char) *p++;
lib/libc/net/hesiod.c
427
if (p + n > eor) {
lib/libc/net/hesiod.c
431
memcpy(dst, p, (size_t)n);
lib/libc/net/hesiod.c
432
p += n;
lib/libc/net/hesiod.c
433
dst += n;
lib/libc/net/linkaddr.c
228
#define CHECK(n) do { \
lib/libc/net/linkaddr.c
229
if ((SIZE_MAX - (n)) >= needed) \
lib/libc/net/linkaddr.c
230
needed += (n); \
lib/libc/net/linkaddr.c
231
if (rem >= ((n) + 1)) \
lib/libc/net/linkaddr.c
232
rem -= (n); \
lib/libc/net/name6.c
589
int i, j, n;
lib/libc/net/name6.c
609
for (n = 0; n < hp->h_length; n++) {
lib/libc/net/name6.c
610
if ((ap[n] & mp[n]) != sp[n])
lib/libc/net/name6.c
613
if (n == hp->h_length)
lib/libc/net/name6.c
618
n = i;
lib/libc/net/name6.c
620
for (i = 0; i < n - 1; i++) {
lib/libc/net/name6.c
621
for (j = i + 1; j < n; j++) {
lib/libc/net/name6.c
643
int i, n;
lib/libc/net/name6.c
662
for (n = 0; hp->h_addr_list[n] != NULL; n++)
lib/libc/net/name6.c
668
if (n <= 1)
lib/libc/net/name6.c
672
if ((aio = malloc(sizeof(*aio) * n)) == NULL)
lib/libc/net/name6.c
674
memset(aio, 0, sizeof(*aio) * n);
lib/libc/net/name6.c
684
for (i = 0; i < n; i++) {
lib/libc/net/name6.c
718
qsort(aio, n, sizeof(*aio), comp_dst);
lib/libc/net/name6.c
721
for (i = 0; i < n; i++)
lib/libc/nls/msgcat.c
81
#define SAVEFAIL(n, l, e) { np = calloc(1, sizeof(struct catentry)); \
lib/libc/nls/msgcat.c
83
np->name = strdup(n); \
lib/libc/quad/qdivrem.c
133
for (n = 4; v[1] == 0; v++) {
lib/libc/quad/qdivrem.c
134
if (--n == 1) {
lib/libc/quad/qdivrem.c
167
for (m = 4 - n; u[1] == 0; u++)
lib/libc/quad/qdivrem.c
183
shl(&u[0], m + n, d); /* u <<= d */
lib/libc/quad/qdivrem.c
184
shl(&v[1], n - 1, d); /* v <<= d */
lib/libc/quad/qdivrem.c
211
u_long n = COMBINE(uj0, uj1);
lib/libc/quad/qdivrem.c
212
qhat = n / v1;
lib/libc/quad/qdivrem.c
213
rhat = n % v1;
lib/libc/quad/qdivrem.c
227
for (t = 0, i = n; i > 0; i--) {
lib/libc/quad/qdivrem.c
242
for (t = 0, i = n; i > 0; i--) { /* D6: add back. */
lib/libc/quad/qdivrem.c
259
for (i = m + n; i > m; --i)
lib/libc/quad/qdivrem.c
85
int m, n, d, j, i;
lib/libc/regex/grot/main.c
483
size_t n;
lib/libc/regex/grot/split.c
155
int n;
lib/libc/regex/grot/split.c
160
for (n = atoi(argv[3]); n > 0; n--) {
lib/libc/regex/grot/split.c
164
for (n = atoi(argv[3]); n > 0; n--) {
lib/libc/regex/grot/split.c
277
int n;
lib/libc/regex/grot/split.c
284
for (n = 0; tests[n].str != NULL; n++) {
lib/libc/regex/grot/split.c
285
(void) strcpy(buf, tests[n].str);
lib/libc/regex/grot/split.c
287
nf = split(buf, fields, RNF, tests[n].seps);
lib/libc/regex/grot/split.c
289
if (nf != tests[n].nf) {
lib/libc/regex/grot/split.c
291
tests[n].str, tests[n].seps, nf, tests[n].nf);
lib/libc/regex/grot/split.c
301
if (strcmp(f, tests[n].fi[i]) != 0) {
lib/libc/regex/grot/split.c
303
tests[n].str, tests[n].seps,
lib/libc/regex/grot/split.c
304
i, fields[i], tests[n].fi[i]);
lib/libc/regex/regcomp.c
1385
size_t n;
lib/libc/regex/regcomp.c
1391
n = wcrtomb(bracket, ch, &mbs);
lib/libc/regex/regcomp.c
1392
assert(n != (size_t)-1);
lib/libc/regex/regcomp.c
1393
bracket[n] = ']';
lib/libc/regex/regcomp.c
1394
bracket[n + 1] = '\0';
lib/libc/regex/regcomp.c
1395
p->end = bracket+n+1;
lib/libc/regex/regcomp.c
1466
# define MAP(n) (((n) <= 1) ? (n) : ((n) == INFINITY) ? INF : N)
lib/libc/regex/regcomp.c
1533
size_t n;
lib/libc/regex/regcomp.c
1536
n = mbrtowc(&wc, p->next, p->end - p->next, &mbs);
lib/libc/regex/regcomp.c
1537
if (n == (size_t)-1 || n == (size_t)-2) {
lib/libc/regex/regcomp.c
1541
if (n == 0)
lib/libc/regex/regcomp.c
1542
n = 1;
lib/libc/regex/regcomp.c
1543
p->next += n;
lib/libc/regex/regcomp.c
1606
wint_t i, s, n;
lib/libc/regex/regcomp.c
1616
for (i = n = 0; i < NC; i++)
lib/libc/regex/regcomp.c
1618
n++;
lib/libc/regex/regcomp.c
1622
if (n > 1)
lib/libc/regex/regcomp.c
1625
if (n == 1) {
lib/libc/regex/regcomp.c
182
#define NEXTn(n) (p->next += (n))
lib/libc/regex/regcomp.c
197
#define DROP(n) (p->slen -= (n))
lib/libc/regex/regex2.h
79
#define OP(n) ((n)&OPRMASK)
lib/libc/regex/regex2.h
80
#define OPND(n) ((n)&OPDMASK)
lib/libc/regex/regexec.c
101
#define STATESETUP(m, n) /* nothing */
lib/libc/regex/regexec.c
105
#define INIT(o, n) ((o) = (unsigned long)1 << (n))
lib/libc/regex/regexec.c
110
#define FWD(dst, src, n) ((dst) |= ((unsigned long)(src)&(here)) << (n))
lib/libc/regex/regexec.c
111
#define BACK(dst, src, n) ((dst) |= ((unsigned long)(src)&(here)) >> (n))
lib/libc/regex/regexec.c
112
#define ISSETBACK(v, n) (((v) & ((unsigned long)here >> (n))) != 0)
lib/libc/regex/regexec.c
147
#define SET0(v, n) ((v)[n] = 0)
lib/libc/regex/regexec.c
148
#define SET1(v, n) ((v)[n] = 1)
lib/libc/regex/regexec.c
149
#define ISSET(v, n) ((v)[n])
lib/libc/regex/regexec.c
159
#define INIT(o, n) ((o) = (n))
lib/libc/regex/regexec.c
164
#define FWD(dst, src, n) ((dst)[here+(n)] |= (src)[here])
lib/libc/regex/regexec.c
165
#define BACK(dst, src, n) ((dst)[here-(n)] |= (src)[here])
lib/libc/regex/regexec.c
166
#define ISSETBACK(v, n) ((v)[here - (n)])
lib/libc/regex/regexec.c
59
xmbrtowc(wint_t *wi, const char *s, size_t n, mbstate_t *mbs, wint_t dummy)
lib/libc/regex/regexec.c
64
nr = mbrtowc(&wc, s, n, mbs);
lib/libc/regex/regexec.c
81
size_t n __unused,
lib/libc/regex/regexec.c
95
#define SET0(v, n) ((v) &= ~((unsigned long)1 << (n)))
lib/libc/regex/regexec.c
96
#define SET1(v, n) ((v) |= (unsigned long)1 << (n))
lib/libc/regex/regexec.c
97
#define ISSET(v, n) (((v) & ((unsigned long)1 << (n))) != 0)
lib/libc/resolv/res_comp.c
92
int n = ns_name_uncompress(msg, eom, src, dst, (size_t)dstsiz);
lib/libc/resolv/res_comp.c
94
if (n > 0 && dst[0] == '.')
lib/libc/resolv/res_comp.c
96
return (n);
lib/libc/resolv/res_debug.c
144
int n, sflag, rrnum;
lib/libc/resolv/res_debug.c
235
n = ns_sprintrr(handle, &rr, NULL, NULL,
lib/libc/resolv/res_debug.c
237
if (n < 0) {
lib/libc/resolv/res_debug.c
343
int n;
lib/libc/resolv/res_debug.c
345
if ((n = dn_expand(msg, msg + len, cp, name, sizeof name)) < 0)
lib/libc/resolv/res_debug.c
351
return (cp + n);
lib/libc/resolv/res_debug.c
367
int n, newlen;
lib/libc/resolv/res_debug.c
369
if ((n = dn_expand(msg, cp + msglen, cp, name, namelen)) < 0)
lib/libc/resolv/res_debug.c
378
return (cp + n);
lib/libc/resolv/res_debug.c
386
const u_char *n;
lib/libc/resolv/res_debug.c
388
n = p_fqnname(cp, msg, MAXCDNAME, name, sizeof name);
lib/libc/resolv/res_debug.c
389
if (n == NULL)
lib/libc/resolv/res_debug.c
392
return (n);
lib/libc/resolv/res_findzonecut.c
187
int n;
lib/libc/resolv/res_findzonecut.c
198
if ((n = get_soa(statp, dname, class, opts, zname, zsize,
lib/libc/resolv/res_findzonecut.c
201
(n = satisfy(statp, mname, &nsrrs, addrs, naddrs)) > 0))
lib/libc/resolv/res_findzonecut.c
205
if ((n = get_ns(statp, zname, class, opts, &nsrrs)) < 0 ||
lib/libc/resolv/res_findzonecut.c
207
(n = satisfy(statp, mname, &nsrrs, addrs, naddrs)) > 0))
lib/libc/resolv/res_findzonecut.c
211
if ((n = get_glue(statp, class, opts, &nsrrs)) >= 0)
lib/libc/resolv/res_findzonecut.c
212
n = satisfy(statp, mname, &nsrrs, addrs, naddrs);
lib/libc/resolv/res_findzonecut.c
215
DPRINTF(("FINISH n=%d (%s)", n, (n < 0) ? strerror(errno) : "OK"));
lib/libc/resolv/res_findzonecut.c
218
return (n);
lib/libc/resolv/res_findzonecut.c
228
int n, x;
lib/libc/resolv/res_findzonecut.c
230
n = 0;
lib/libc/resolv/res_findzonecut.c
236
n += x;
lib/libc/resolv/res_findzonecut.c
245
n += x;
lib/libc/resolv/res_findzonecut.c
247
DPRINTF(("satisfy(%s): %d", mname, n));
lib/libc/resolv/res_findzonecut.c
248
return (n);
lib/libc/resolv/res_findzonecut.c
256
int n = 0;
lib/libc/resolv/res_findzonecut.c
263
n++;
lib/libc/resolv/res_findzonecut.c
265
DPRINTF(("add_addrs: %d", n));
lib/libc/resolv/res_findzonecut.c
266
return (n);
lib/libc/resolv/res_findzonecut.c
276
int n, i, ancount, nscount;
lib/libc/resolv/res_findzonecut.c
301
n = do_query(statp, dname, class, ns_t_soa, resp, &msg);
lib/libc/resolv/res_findzonecut.c
302
if (n < 0) {
lib/libc/resolv/res_findzonecut.c
304
dname, p_class(class), n));
lib/libc/resolv/res_findzonecut.c
307
if (n > 0) {
lib/libc/resolv/res_findzonecut.c
309
sect = ns_s_max, n = 0;
lib/libc/resolv/res_findzonecut.c
315
sect = ns_s_an, n = ancount;
lib/libc/resolv/res_findzonecut.c
317
sect = ns_s_ns, n = nscount;
lib/libc/resolv/res_findzonecut.c
319
sect = ns_s_max, n = 0;
lib/libc/resolv/res_findzonecut.c
321
for (i = 0; i < n; i++) {
lib/libc/resolv/res_findzonecut.c
415
int n;
lib/libc/resolv/res_findzonecut.c
422
n = do_query(statp, zname, class, ns_t_ns, resp, &msg);
lib/libc/resolv/res_findzonecut.c
423
if (n != 0) {
lib/libc/resolv/res_findzonecut.c
425
zname, p_class(class), n));
lib/libc/resolv/res_findzonecut.c
454
int n;
lib/libc/resolv/res_findzonecut.c
459
n = do_query(statp, nsrr->name, class, ns_t_a,
lib/libc/resolv/res_findzonecut.c
461
if (n < 0) {
lib/libc/resolv/res_findzonecut.c
467
if (n > 0) {
lib/libc/resolv/res_findzonecut.c
481
n = do_query(statp, nsrr->name, class, ns_t_aaaa,
lib/libc/resolv/res_findzonecut.c
483
if (n < 0) {
lib/libc/resolv/res_findzonecut.c
489
if (n > 0) {
lib/libc/resolv/res_findzonecut.c
675
int i, n;
lib/libc/resolv/res_findzonecut.c
677
n = res_nmkquery(statp, ns_o_query, dname, class, qtype,
lib/libc/resolv/res_findzonecut.c
679
if (n < 0) {
lib/libc/resolv/res_findzonecut.c
683
n = res_nsend(statp, req, n, resp, NS_MAXMSG);
lib/libc/resolv/res_findzonecut.c
684
if (n < 0) {
lib/libc/resolv/res_findzonecut.c
688
if (n == 0) {
lib/libc/resolv/res_findzonecut.c
693
if (ns_initparse(resp, n, msg) < 0) {
lib/libc/resolv/res_findzonecut.c
697
n = 0;
lib/libc/resolv/res_findzonecut.c
705
n += (ns_rr_class(rr) == class &&
lib/libc/resolv/res_findzonecut.c
709
return (n);
lib/libc/resolv/res_init.c
436
int n;
lib/libc/resolv/res_init.c
454
for (wp = statp->defdname, n = 0;
lib/libc/resolv/res_init.c
455
*wp != '\0' && n < MAXDNSRCH;
lib/libc/resolv/res_init.c
469
statp->dnsrch[n] = wp;
lib/libc/resolv/res_init.c
472
if (n == 0)
lib/libc/resolv/res_init.c
474
printf(" %s", statp->dnsrch[n]);
lib/libc/resolv/res_init.c
476
n++;
lib/libc/resolv/res_init.c
484
statp->dnsrch[n] = NULL;
lib/libc/resolv/res_mkquery.c
134
if ((n = dn_comp(dname, cp, ep - cp - QFIXEDSZ, dnptrs,
lib/libc/resolv/res_mkquery.c
137
cp += n;
lib/libc/resolv/res_mkquery.c
150
n = dn_comp((const char *)data, cp, ep - cp - RRFIXEDSZ,
lib/libc/resolv/res_mkquery.c
152
if (n < 0)
lib/libc/resolv/res_mkquery.c
154
cp += n;
lib/libc/resolv/res_mkquery.c
98
int n;
lib/libc/resolv/res_mkupdate.c
1064
int n;
lib/libc/resolv/res_mkupdate.c
1078
if (sscanf(s, "%d", &n) != 1 || n <= 0)
lib/libc/resolv/res_mkupdate.c
1079
n = -1;
lib/libc/resolv/res_mkupdate.c
1080
return (n);
lib/libc/resolv/res_mkupdate.c
190
if ((n = dn_comp(rrecp->r_dname, cp, buflen, dnptrs,
lib/libc/resolv/res_mkupdate.c
193
cp += n;
lib/libc/resolv/res_mkupdate.c
194
ShrinkBuffer(n + 2*INT16SZ);
lib/libc/resolv/res_mkupdate.c
236
n = dn_comp(buf2, cp, buflen, dnptrs, lastdnptr);
lib/libc/resolv/res_mkupdate.c
237
if (n < 0)
lib/libc/resolv/res_mkupdate.c
239
cp += n;
lib/libc/resolv/res_mkupdate.c
240
ShrinkBuffer(n);
lib/libc/resolv/res_mkupdate.c
249
n = dn_comp(buf2, cp, buflen,
lib/libc/resolv/res_mkupdate.c
251
if (n < 0)
lib/libc/resolv/res_mkupdate.c
253
cp += n;
lib/libc/resolv/res_mkupdate.c
254
ShrinkBuffer(n);
lib/libc/resolv/res_mkupdate.c
283
n = getnum_str(&startp, endp);
lib/libc/resolv/res_mkupdate.c
284
if (n < 0)
lib/libc/resolv/res_mkupdate.c
287
PUTSHORT(n, cp);
lib/libc/resolv/res_mkupdate.c
290
n = dn_comp(buf2, cp, buflen, dnptrs, lastdnptr);
lib/libc/resolv/res_mkupdate.c
291
if (n < 0)
lib/libc/resolv/res_mkupdate.c
293
cp += n;
lib/libc/resolv/res_mkupdate.c
294
ShrinkBuffer(n);
lib/libc/resolv/res_mkupdate.c
297
n = getnum_str(&startp, endp);
lib/libc/resolv/res_mkupdate.c
298
if (n < 0)
lib/libc/resolv/res_mkupdate.c
301
PUTSHORT(n, cp);
lib/libc/resolv/res_mkupdate.c
303
n = getnum_str(&startp, endp);
lib/libc/resolv/res_mkupdate.c
304
if (n < 0)
lib/libc/resolv/res_mkupdate.c
307
PUTSHORT(n, cp);
lib/libc/resolv/res_mkupdate.c
309
n = getnum_str(&startp, endp);
lib/libc/resolv/res_mkupdate.c
310
if (n < 0)
lib/libc/resolv/res_mkupdate.c
313
PUTSHORT(n, cp);
lib/libc/resolv/res_mkupdate.c
317
n = dn_comp(buf2, cp, buflen, NULL, NULL);
lib/libc/resolv/res_mkupdate.c
318
if (n < 0)
lib/libc/resolv/res_mkupdate.c
320
cp += n;
lib/libc/resolv/res_mkupdate.c
321
ShrinkBuffer(n);
lib/libc/resolv/res_mkupdate.c
324
n = getnum_str(&startp, endp);
lib/libc/resolv/res_mkupdate.c
325
if (n < 0)
lib/libc/resolv/res_mkupdate.c
327
PUTSHORT(n, cp);
lib/libc/resolv/res_mkupdate.c
333
n = dn_comp(buf2, cp, buflen, dnptrs,
lib/libc/resolv/res_mkupdate.c
335
if (n < 0)
lib/libc/resolv/res_mkupdate.c
337
cp += n;
lib/libc/resolv/res_mkupdate.c
338
ShrinkBuffer(n);
lib/libc/resolv/res_mkupdate.c
364
if ((n = res_servicenumber(buf2)) <= 0)
lib/libc/resolv/res_mkupdate.c
367
if (n < MAXPORT) {
lib/libc/resolv/res_mkupdate.c
368
bm[n/8] |= (0x80>>(n%8));
lib/libc/resolv/res_mkupdate.c
369
if ((unsigned)n > maxbm)
lib/libc/resolv/res_mkupdate.c
370
maxbm = n;
lib/libc/resolv/res_mkupdate.c
382
if ((n = getstr_str(buf2, sizeof buf2,
lib/libc/resolv/res_mkupdate.c
385
if (n > 255)
lib/libc/resolv/res_mkupdate.c
387
ShrinkBuffer(n+1);
lib/libc/resolv/res_mkupdate.c
388
*cp++ = n;
lib/libc/resolv/res_mkupdate.c
389
memcpy(cp, buf2, n);
lib/libc/resolv/res_mkupdate.c
390
cp += n;
lib/libc/resolv/res_mkupdate.c
395
if ((n = getstr_str(buf2, sizeof buf2,
lib/libc/resolv/res_mkupdate.c
401
if (n > 255)
lib/libc/resolv/res_mkupdate.c
403
ShrinkBuffer(n+1);
lib/libc/resolv/res_mkupdate.c
404
*cp++ = n;
lib/libc/resolv/res_mkupdate.c
405
memcpy(cp, buf2, n);
lib/libc/resolv/res_mkupdate.c
406
cp += n;
lib/libc/resolv/res_mkupdate.c
411
if ((n = getstr_str(buf2, sizeof buf2, &startp,
lib/libc/resolv/res_mkupdate.c
414
if (n > 255)
lib/libc/resolv/res_mkupdate.c
416
ShrinkBuffer(n+1);
lib/libc/resolv/res_mkupdate.c
417
*cp++ = n;
lib/libc/resolv/res_mkupdate.c
418
memcpy(cp, buf2, n);
lib/libc/resolv/res_mkupdate.c
419
cp += n;
lib/libc/resolv/res_mkupdate.c
423
if ((n = getstr_str(buf2, sizeof buf2, &startp,
lib/libc/resolv/res_mkupdate.c
426
if ((n > 255) || (n == 0))
lib/libc/resolv/res_mkupdate.c
428
ShrinkBuffer(n+1);
lib/libc/resolv/res_mkupdate.c
429
*cp++ = n;
lib/libc/resolv/res_mkupdate.c
430
memcpy(cp, buf2, n);
lib/libc/resolv/res_mkupdate.c
431
cp += n;
lib/libc/resolv/res_mkupdate.c
432
if ((n = getstr_str(buf2, sizeof buf2, &startp,
lib/libc/resolv/res_mkupdate.c
434
n = 0;
lib/libc/resolv/res_mkupdate.c
435
if (n > 255)
lib/libc/resolv/res_mkupdate.c
437
ShrinkBuffer(n+1);
lib/libc/resolv/res_mkupdate.c
438
*cp++ = n;
lib/libc/resolv/res_mkupdate.c
439
memcpy(cp, buf2, n);
lib/libc/resolv/res_mkupdate.c
440
cp += n;
lib/libc/resolv/res_mkupdate.c
443
if ((n = inet_nsap_addr((char *)startp, (u_char *)buf2, sizeof(buf2))) != 0) {
lib/libc/resolv/res_mkupdate.c
444
ShrinkBuffer(n);
lib/libc/resolv/res_mkupdate.c
445
memcpy(cp, buf2, n);
lib/libc/resolv/res_mkupdate.c
446
cp += n;
lib/libc/resolv/res_mkupdate.c
452
if ((n = loc_aton((char *)startp, (u_char *)buf2)) != 0) {
lib/libc/resolv/res_mkupdate.c
453
ShrinkBuffer(n);
lib/libc/resolv/res_mkupdate.c
454
memcpy(cp, buf2, n);
lib/libc/resolv/res_mkupdate.c
455
cp += n;
lib/libc/resolv/res_mkupdate.c
468
if ((n = getword_str(buf2, sizeof buf2,
lib/libc/resolv/res_mkupdate.c
477
n = getnum_str(&startp, endp);
lib/libc/resolv/res_mkupdate.c
478
if (n < 0)
lib/libc/resolv/res_mkupdate.c
481
*cp++ = n;
lib/libc/resolv/res_mkupdate.c
483
n = getnum_str(&startp, endp);
lib/libc/resolv/res_mkupdate.c
484
if (n <= 0 || n > 255)
lib/libc/resolv/res_mkupdate.c
487
*cp++ = n;
lib/libc/resolv/res_mkupdate.c
528
n = getnum_str(&startp, endp);
lib/libc/resolv/res_mkupdate.c
529
if (n < 0)
lib/libc/resolv/res_mkupdate.c
532
PUTSHORT(n, cp);
lib/libc/resolv/res_mkupdate.c
536
n = dn_comp(buf2, cp, buflen, dnptrs, lastdnptr);
lib/libc/resolv/res_mkupdate.c
537
if (n < 0)
lib/libc/resolv/res_mkupdate.c
539
cp += n;
lib/libc/resolv/res_mkupdate.c
540
ShrinkBuffer(n);
lib/libc/resolv/res_mkupdate.c
542
if ((n = getword_str(buf2, sizeof buf2,
lib/libc/resolv/res_mkupdate.c
556
n = gethexnum_str(&startp, endp);
lib/libc/resolv/res_mkupdate.c
557
if (n < 0)
lib/libc/resolv/res_mkupdate.c
560
PUTSHORT(n, cp);
lib/libc/resolv/res_mkupdate.c
562
n = getnum_str(&startp, endp);
lib/libc/resolv/res_mkupdate.c
563
if (n < 0)
lib/libc/resolv/res_mkupdate.c
566
*cp++ = n;
lib/libc/resolv/res_mkupdate.c
568
n = getnum_str(&startp, endp);
lib/libc/resolv/res_mkupdate.c
569
if (n < 0)
lib/libc/resolv/res_mkupdate.c
572
*cp++ = n;
lib/libc/resolv/res_mkupdate.c
574
if ((n = getword_str(buf2, sizeof buf2,
lib/libc/resolv/res_mkupdate.c
593
n = dn_comp(buf2, cp, buflen, NULL, NULL);
lib/libc/resolv/res_mkupdate.c
594
if (n < 0)
lib/libc/resolv/res_mkupdate.c
596
cp += n;
lib/libc/resolv/res_mkupdate.c
597
ShrinkBuffer(n);
lib/libc/resolv/res_mkupdate.c
612
n = maxtype/NS_NXT_BITS+1;
lib/libc/resolv/res_mkupdate.c
613
ShrinkBuffer(n);
lib/libc/resolv/res_mkupdate.c
614
memcpy(cp, data, n);
lib/libc/resolv/res_mkupdate.c
615
cp += n;
lib/libc/resolv/res_mkupdate.c
620
n = getnum_str(&startp, endp);
lib/libc/resolv/res_mkupdate.c
621
if (n < 0)
lib/libc/resolv/res_mkupdate.c
624
PUTSHORT(n, cp);
lib/libc/resolv/res_mkupdate.c
626
n = getnum_str(&startp, endp);
lib/libc/resolv/res_mkupdate.c
627
if (n < 0)
lib/libc/resolv/res_mkupdate.c
630
PUTSHORT(n, cp);
lib/libc/resolv/res_mkupdate.c
632
n = getnum_str(&startp, endp);
lib/libc/resolv/res_mkupdate.c
633
if (n < 0)
lib/libc/resolv/res_mkupdate.c
636
*cp++ = n;
lib/libc/resolv/res_mkupdate.c
638
if ((n = getword_str(buf2, sizeof buf2,
lib/libc/resolv/res_mkupdate.c
660
n = getnum_str(&startp, endp);
lib/libc/resolv/res_mkupdate.c
661
if (n < 0 || n > 65535)
lib/libc/resolv/res_mkupdate.c
664
PUTSHORT(n, cp);
lib/libc/resolv/res_mkupdate.c
666
n = getnum_str(&startp, endp);
lib/libc/resolv/res_mkupdate.c
667
if (n < 0 || n > 65535)
lib/libc/resolv/res_mkupdate.c
670
PUTSHORT(n, cp);
lib/libc/resolv/res_mkupdate.c
672
if ((n = getstr_str(buf2, sizeof buf2,
lib/libc/resolv/res_mkupdate.c
676
if (n > 255)
lib/libc/resolv/res_mkupdate.c
678
ShrinkBuffer(n+1);
lib/libc/resolv/res_mkupdate.c
679
*cp++ = n;
lib/libc/resolv/res_mkupdate.c
680
memcpy(cp, buf2, n);
lib/libc/resolv/res_mkupdate.c
681
cp += n;
lib/libc/resolv/res_mkupdate.c
683
if ((n = getstr_str(buf2, sizeof buf2,
lib/libc/resolv/res_mkupdate.c
687
if (n > 255)
lib/libc/resolv/res_mkupdate.c
689
ShrinkBuffer(n+1);
lib/libc/resolv/res_mkupdate.c
690
*cp++ = n;
lib/libc/resolv/res_mkupdate.c
691
memcpy(cp, buf2, n);
lib/libc/resolv/res_mkupdate.c
692
cp += n;
lib/libc/resolv/res_mkupdate.c
694
if ((n = getstr_str(buf2, sizeof buf2,
lib/libc/resolv/res_mkupdate.c
698
if (n > 255)
lib/libc/resolv/res_mkupdate.c
700
ShrinkBuffer(n+1);
lib/libc/resolv/res_mkupdate.c
701
*cp++ = n;
lib/libc/resolv/res_mkupdate.c
702
memcpy(cp, buf2, n);
lib/libc/resolv/res_mkupdate.c
703
cp += n;
lib/libc/resolv/res_mkupdate.c
707
n = dn_comp(buf2, cp, buflen, NULL, NULL);
lib/libc/resolv/res_mkupdate.c
708
if (n < 0)
lib/libc/resolv/res_mkupdate.c
710
cp += n;
lib/libc/resolv/res_mkupdate.c
711
ShrinkBuffer(n);
lib/libc/resolv/res_mkupdate.c
716
n = (u_int16_t)((cp - sp2) - INT16SZ);
lib/libc/resolv/res_mkupdate.c
717
PUTSHORT(n, sp2);
lib/libc/resolv/res_mkupdate.c
842
int c, n;
lib/libc/resolv/res_mkupdate.c
849
for (n = 0; *startpp <= endp; ) {
lib/libc/resolv/res_mkupdate.c
876
n = n * 16 + (c - '0');
lib/libc/resolv/res_mkupdate.c
878
n = n * 16 + (tolower(c) - 'a' + 10);
lib/libc/resolv/res_mkupdate.c
881
return (n + m);
lib/libc/resolv/res_mkupdate.c
890
int c, n;
lib/libc/resolv/res_mkupdate.c
894
for (n = 0; *startpp <= endp; ) {
lib/libc/resolv/res_mkupdate.c
90
int n, i, soanum, multiline;
lib/libc/resolv/res_mkupdate.c
920
n = n * 10 + (c - '0');
lib/libc/resolv/res_mkupdate.c
923
return (n + m);
lib/libc/resolv/res_query.c
111
int n;
lib/libc/resolv/res_query.c
122
n = res_nmkquery(statp, QUERY, name, class, type, NULL, 0, NULL,
lib/libc/resolv/res_query.c
125
if (n > 0 && (statp->_flags & RES_F_EDNS0ERR) == 0 &&
lib/libc/resolv/res_query.c
127
n = res_nopt(statp, n, buf, sizeof(buf), anslen);
lib/libc/resolv/res_query.c
128
if (n > 0 && (statp->options & RES_NSID) != 0U) {
lib/libc/resolv/res_query.c
129
rdata = &buf[n];
lib/libc/resolv/res_query.c
130
n = res_nopt_rdata(statp, n, buf, sizeof(buf), rdata,
lib/libc/resolv/res_query.c
135
if (n <= 0) {
lib/libc/resolv/res_query.c
141
return (n);
lib/libc/resolv/res_query.c
144
n = res_nsend(statp, buf, n, answer, anslen);
lib/libc/resolv/res_query.c
145
if (n < 0) {
lib/libc/resolv/res_query.c
161
return (n);
lib/libc/resolv/res_query.c
192
return (n);
lib/libc/resolv/res_query.c
405
int n, d;
lib/libc/resolv/res_query.c
417
n = strlen(name);
lib/libc/resolv/res_query.c
418
if (n >= MAXDNAME) {
lib/libc/resolv/res_query.c
422
n--;
lib/libc/resolv/res_query.c
423
if (n >= 0 && name[n] == '.') {
lib/libc/resolv/res_query.c
424
strncpy(nbuf, name, n);
lib/libc/resolv/res_query.c
425
nbuf[n] = '\0';
lib/libc/resolv/res_query.c
429
n = strlen(name);
lib/libc/resolv/res_query.c
431
if (n + d + 1 >= MAXDNAME) {
lib/libc/resolv/res_send.c
223
int n, ttype, tclass;
lib/libc/resolv/res_send.c
225
n = dn_expand(buf, eom, cp, tname, sizeof tname);
lib/libc/resolv/res_send.c
226
if (n < 0)
lib/libc/resolv/res_send.c
228
cp += n;
lib/libc/resolv/res_send.c
274
int n, ttype, tclass;
lib/libc/resolv/res_send.c
276
n = dn_expand(buf1, eom1, cp, tname, sizeof tname);
lib/libc/resolv/res_send.c
277
if (n < 0)
lib/libc/resolv/res_send.c
279
cp += n;
lib/libc/resolv/res_send.c
294
int gotsomewhere, terrno, tries, v_circuit, resplen, ns, n;
lib/libc/resolv/res_send.c
466
n = send_vc(statp, buf, buflen, ans, anssiz, &terrno,
lib/libc/resolv/res_send.c
468
if (n < 0)
lib/libc/resolv/res_send.c
470
if (n == 0)
lib/libc/resolv/res_send.c
472
resplen = n;
lib/libc/resolv/res_send.c
475
n = send_dg(statp,
lib/libc/resolv/res_send.c
481
if (n < 0)
lib/libc/resolv/res_send.c
483
if (n == 0)
lib/libc/resolv/res_send.c
487
resplen = n;
lib/libc/resolv/res_send.c
589
get_nsaddr(res_state statp, size_t n)
lib/libc/resolv/res_send.c
592
if (!statp->nsaddr_list[n].sin_family && EXT(statp).ext) {
lib/libc/resolv/res_send.c
598
return (struct sockaddr *)(void *)&EXT(statp).ext->nsaddrs[n];
lib/libc/resolv/res_send.c
605
return (struct sockaddr *)(void *)&statp->nsaddr_list[n];
lib/libc/resolv/res_send.c
618
int truncating, connreset, resplen, n;
lib/libc/resolv/res_send.c
715
while ((n = _read(statp->_vcsock, (char *)cp, (int)len)) > 0) {
lib/libc/resolv/res_send.c
716
cp += n;
lib/libc/resolv/res_send.c
717
if ((len -= n) == 0)
lib/libc/resolv/res_send.c
720
if (n <= 0) {
lib/libc/resolv/res_send.c
762
(n = _read(statp->_vcsock, (char *)cp, (int)len)) > 0) {
lib/libc/resolv/res_send.c
763
cp += n;
lib/libc/resolv/res_send.c
764
len -= n;
lib/libc/resolv/res_send.c
766
if (n <= 0) {
lib/libc/resolv/res_send.c
781
n = _read(statp->_vcsock, junk,
lib/libc/resolv/res_send.c
783
if (n > 0)
lib/libc/resolv/res_send.c
784
len -= n;
lib/libc/resolv/res_send.c
827
int resplen, seconds, n, s;
lib/libc/resolv/res_send.c
940
n = _kevent(kq, &kv, 1, &kv, 1, &timeout);
lib/libc/resolv/res_send.c
944
n = pselect(s + 1, &dsmask, NULL, NULL, &timeout, NULL);
lib/libc/resolv/res_send.c
954
n = _poll(&pollfd, 1, polltimeout);
lib/libc/resolv/res_send.c
957
if (n == 0) {
lib/libc/resolv/res_send.c
962
if (n < 0) {
lib/libc/resolv/res_update.c
158
n = res_nmkupdate(statp, HEAD(zptr->z_rrlist),
lib/libc/resolv/res_update.c
160
DPRINTF(("res_mkupdate -> %d", n));
lib/libc/resolv/res_update.c
161
if (n < 0)
lib/libc/resolv/res_update.c
175
n = res_nsendsigned(statp, packet, n, key,
lib/libc/resolv/res_update.c
179
n = res_nsend(statp, packet, n, answer, sizeof answer);
lib/libc/resolv/res_update.c
180
if (n < 0) {
lib/libc/resolv/res_update.c
182
n, strerror(errno)));
lib/libc/resolv/res_update.c
99
int nzones = 0, nscount = 0, n;
lib/libc/rpc/clnt_dg.c
336
int kin_len, n;
lib/libc/rpc/clnt_dg.c
459
n = _kevent(cu->cu_kq, &cu->cu_kin, kin_len, &kv, 1, &ts);
lib/libc/rpc/clnt_dg.c
463
if (n == 1) {
lib/libc/rpc/clnt_dg.c
487
if (n == -1 && errno != EINTR) {
lib/libc/secure/strlcat_chk.c
39
size_t n = dsize;
lib/libc/secure/strlcat_chk.c
46
while (n-- != 0 && *dst != '\0') {
lib/libc/secure/strlcat_chk.c
51
n = dsize - dlen;
lib/libc/secure/strlcat_chk.c
53
if (n-- == 0)
lib/libc/secure/strlcat_chk.c
56
if (n != 0) {
lib/libc/secure/strlcat_chk.c
60
n--;
lib/libc/stdio/fflush.c
103
int n, f, t;
lib/libc/stdio/fflush.c
112
n = fp->_p - p; /* write this much */
lib/libc/stdio/fflush.c
121
for (; n > 0; n -= t, p += t) {
lib/libc/stdio/fflush.c
122
t = _swrite(fp, (char *)p, n);
lib/libc/stdio/fflush.c
126
memmove(fp->_p, p, n);
lib/libc/stdio/fflush.c
128
fp->_p += n;
lib/libc/stdio/fflush.c
130
fp->_w -= n;
lib/libc/stdio/fgets.c
108
n -= len;
lib/libc/stdio/fgets.c
51
fgets(char * __restrict buf, int n, FILE * __restrict fp)
lib/libc/stdio/fgets.c
60
if (n <= 0) { /* sanity check */
lib/libc/stdio/fgets.c
68
n--; /* leave space for NUL */
lib/libc/stdio/fgets.c
69
while (n != 0) {
lib/libc/stdio/fgets.c
92
if (len > n)
lib/libc/stdio/fgets.c
93
len = n;
lib/libc/stdio/fgetws.c
126
fgetws(wchar_t * __restrict ws, int n, FILE * __restrict fp)
lib/libc/stdio/fgetws.c
128
return fgetws_l(ws, n, fp, __get_locale());
lib/libc/stdio/fgetws.c
45
fgetws_l(wchar_t * __restrict ws, int n, FILE * __restrict fp, locale_t locale)
lib/libc/stdio/fgetws.c
58
if (n <= 0) {
lib/libc/stdio/fgetws.c
65
if (n == 1)
lib/libc/stdio/fgetws.c
78
n - 1, &fp->_mbstate);
lib/libc/stdio/fgetws.c
97
n -= nconv;
lib/libc/stdio/fgetws.c
99
} while ((wsp == ws || wsp[-1] != L'\n') && n > 1 && (fp->_r > 0 ||
lib/libc/stdio/findfp.c
104
g->niobs = n;
lib/libc/stdio/findfp.c
106
while (--n >= 0)
lib/libc/stdio/findfp.c
118
int n;
lib/libc/stdio/findfp.c
128
for (fp = g->iobs, n = g->niobs; --n >= 0; fp++)
lib/libc/stdio/findfp.c
173
int n;
lib/libc/stdio/findfp.c
175
n = getdtablesize() - FOPEN_MAX + 20; /* 20 for slop. */
lib/libc/stdio/findfp.c
181
for (g = &__sglue; (n -= g->niobs) > 0 && g->next; g = g->next)
lib/libc/stdio/findfp.c
183
if ((n > 0) && ((g = moreglue(n)) != NULL)) {
lib/libc/stdio/findfp.c
91
moreglue(int n)
lib/libc/stdio/findfp.c
99
g = (struct glue *)malloc(sizeof(*g) + align + n * sizeof(FILE));
lib/libc/stdio/fseek.c
222
n = fp->_up - fp->_bf._base;
lib/libc/stdio/fseek.c
223
curoff -= n;
lib/libc/stdio/fseek.c
224
n += fp->_ur;
lib/libc/stdio/fseek.c
226
n = fp->_p - fp->_bf._base;
lib/libc/stdio/fseek.c
227
curoff -= n;
lib/libc/stdio/fseek.c
228
n += fp->_r;
lib/libc/stdio/fseek.c
236
if (target >= curoff && target < curoff + n) {
lib/libc/stdio/fseek.c
240
fp->_r = n - o;
lib/libc/stdio/fseek.c
264
n = target - curoff;
lib/libc/stdio/fseek.c
265
if (n) {
lib/libc/stdio/fseek.c
266
if (__srefill(fp) || fp->_r < n)
lib/libc/stdio/fseek.c
268
fp->_p += n;
lib/libc/stdio/fseek.c
269
fp->_r -= n;
lib/libc/stdio/fseek.c
94
size_t n;
lib/libc/stdio/ftell.c
123
(n = fp->_p - fp->_bf._base) > 0) {
lib/libc/stdio/ftell.c
129
if (pos > OFF_MAX - n) {
lib/libc/stdio/ftell.c
133
pos += n;
lib/libc/stdio/ftell.c
85
size_t n;
lib/libc/stdio/fvwrite.c
64
#define COPY(n) (void)memcpy((void *)fp->_p, (void *)p, (size_t)(n))
lib/libc/stdio/fwalk.c
44
int n, ret;
lib/libc/stdio/fwalk.c
57
for (fp = g->iobs, n = g->niobs; --n >= 0; fp++)
lib/libc/stdio/fwrite.c
100
n = fwrite_unlocked(buf, size, count, fp);
lib/libc/stdio/fwrite.c
102
return (n);
lib/libc/stdio/fwrite.c
52
size_t n;
lib/libc/stdio/fwrite.c
75
n = count * size;
lib/libc/stdio/fwrite.c
78
uio.uio_resid = iov.iov_len = n;
lib/libc/stdio/fwrite.c
89
count = (n - uio.uio_resid) / size;
lib/libc/stdio/fwrite.c
97
size_t n;
lib/libc/stdio/getdelim.c
43
p2roundup(size_t n)
lib/libc/stdio/getdelim.c
46
if (!powerof2(n)) {
lib/libc/stdio/getdelim.c
47
n--;
lib/libc/stdio/getdelim.c
48
n |= n >> 1;
lib/libc/stdio/getdelim.c
49
n |= n >> 2;
lib/libc/stdio/getdelim.c
50
n |= n >> 4;
lib/libc/stdio/getdelim.c
51
n |= n >> 8;
lib/libc/stdio/getdelim.c
52
n |= n >> 16;
lib/libc/stdio/getdelim.c
54
n |= n >> 32;
lib/libc/stdio/getdelim.c
56
n++;
lib/libc/stdio/getdelim.c
58
return (n);
lib/libc/stdio/gets_s.c
48
_gets_s(char *buf, rsize_t n)
lib/libc/stdio/gets_s.c
54
for (s = buf, n--; (c = __sgetc(stdin)) != '\n' && n > 0 ; n--) {
lib/libc/stdio/gets_s.c
68
if (n == 0) {
lib/libc/stdio/gets_s.c
81
__ssp_real(gets_s)(char *buf, rsize_t n)
lib/libc/stdio/gets_s.c
87
} else if (n > RSIZE_MAX) {
lib/libc/stdio/gets_s.c
91
} else if (n == 0) {
lib/libc/stdio/gets_s.c
97
ret = _gets_s(buf, n);
lib/libc/stdio/printf-pos.c
251
u_int n; /* handy integer (short term usage) */
lib/libc/stdio/printf-pos.c
299
n = 0;
lib/libc/stdio/printf-pos.c
301
n = 10 * n + to_digit(ch);
lib/libc/stdio/printf-pos.c
303
if (n > MAX_POSARG) {
lib/libc/stdio/printf-pos.c
310
types.nextarg = n;
lib/libc/stdio/printf-pos.c
440
u_int n; /* handy integer (short term usage) */
lib/libc/stdio/printf-pos.c
488
n = 0;
lib/libc/stdio/printf-pos.c
490
n = 10 * n + to_digit(ch);
lib/libc/stdio/printf-pos.c
492
if (n > MAX_POSARG) {
lib/libc/stdio/printf-pos.c
499
types.nextarg = n;
lib/libc/stdio/printf-pos.c
632
u_int n, newsize;
lib/libc/stdio/printf-pos.c
650
for (n = oldsize; n < newsize; n++)
lib/libc/stdio/printf-pos.c
651
newtable[n] = T_UNUSED;
lib/libc/stdio/printf-pos.c
666
u_int n;
lib/libc/stdio/printf-pos.c
676
for (n = 1; n <= types->tablemax; n++) {
lib/libc/stdio/printf-pos.c
677
switch (types->table[n]) {
lib/libc/stdio/printf-pos.c
679
(*argtable) [n].intarg = va_arg (ap, int);
lib/libc/stdio/printf-pos.c
682
(*argtable) [n].pschararg = va_arg (ap, signed char *);
lib/libc/stdio/printf-pos.c
685
(*argtable) [n].pshortarg = va_arg (ap, short *);
lib/libc/stdio/printf-pos.c
688
(*argtable) [n].intarg = va_arg (ap, int);
lib/libc/stdio/printf-pos.c
691
(*argtable) [n].uintarg = va_arg (ap, unsigned int);
lib/libc/stdio/printf-pos.c
694
(*argtable) [n].pintarg = va_arg (ap, int *);
lib/libc/stdio/printf-pos.c
697
(*argtable) [n].longarg = va_arg (ap, long);
lib/libc/stdio/printf-pos.c
700
(*argtable) [n].ulongarg = va_arg (ap, unsigned long);
lib/libc/stdio/printf-pos.c
703
(*argtable) [n].plongarg = va_arg (ap, long *);
lib/libc/stdio/printf-pos.c
706
(*argtable) [n].longlongarg = va_arg (ap, long long);
lib/libc/stdio/printf-pos.c
709
(*argtable) [n].ulonglongarg = va_arg (ap, unsigned long long);
lib/libc/stdio/printf-pos.c
712
(*argtable) [n].plonglongarg = va_arg (ap, long long *);
lib/libc/stdio/printf-pos.c
715
(*argtable) [n].ptrdiffarg = va_arg (ap, ptrdiff_t);
lib/libc/stdio/printf-pos.c
718
(*argtable) [n].pptrdiffarg = va_arg (ap, ptrdiff_t *);
lib/libc/stdio/printf-pos.c
721
(*argtable) [n].sizearg = va_arg (ap, size_t);
lib/libc/stdio/printf-pos.c
724
(*argtable) [n].sizearg = va_arg (ap, ssize_t);
lib/libc/stdio/printf-pos.c
727
(*argtable) [n].pssizearg = va_arg (ap, ssize_t *);
lib/libc/stdio/printf-pos.c
730
(*argtable) [n].intmaxarg = va_arg (ap, intmax_t);
lib/libc/stdio/printf-pos.c
733
(*argtable) [n].uintmaxarg = va_arg (ap, uintmax_t);
lib/libc/stdio/printf-pos.c
736
(*argtable) [n].pintmaxarg = va_arg (ap, intmax_t *);
lib/libc/stdio/printf-pos.c
739
(*argtable) [n].doublearg = va_arg (ap, double);
lib/libc/stdio/printf-pos.c
742
(*argtable) [n].longdoublearg = va_arg (ap, long double);
lib/libc/stdio/printf-pos.c
745
(*argtable) [n].pchararg = va_arg (ap, char *);
lib/libc/stdio/printf-pos.c
748
(*argtable) [n].pvoidarg = va_arg (ap, void *);
lib/libc/stdio/printf-pos.c
751
(*argtable) [n].wintarg = va_arg (ap, wint_t);
lib/libc/stdio/printf-pos.c
754
(*argtable) [n].pwchararg = va_arg (ap, wchar_t *);
lib/libc/stdio/printf-pos.c
90
u_int n;
lib/libc/stdio/printf-pos.c
96
for (n = 0; n < STATIC_ARG_TBL_SIZE; n++)
lib/libc/stdio/printf-pos.c
97
types->table[n] = T_UNUSED;
lib/libc/stdio/printfcommon.h
116
int n;
lib/libc/stdio/printfcommon.h
119
n = (howmany >= PADSIZE) ? PADSIZE : howmany;
lib/libc/stdio/printfcommon.h
120
if (io_print(iop, with, n, locale))
lib/libc/stdio/printfcommon.h
122
howmany -= n;
lib/libc/stdio/printflocal.h
59
#define to_char(n) ((n) + '0')
lib/libc/stdio/snprintf.c
51
snprintf(char * __restrict str, size_t n, char const * __restrict fmt, ...)
lib/libc/stdio/snprintf.c
59
on = n;
lib/libc/stdio/snprintf.c
60
if (n != 0)
lib/libc/stdio/snprintf.c
61
n--;
lib/libc/stdio/snprintf.c
62
if (n > INT_MAX) {
lib/libc/stdio/snprintf.c
70
f._bf._size = f._w = n;
lib/libc/stdio/snprintf.c
78
snprintf_l(char * __restrict str, size_t n, locale_t locale,
lib/libc/stdio/snprintf.c
88
on = n;
lib/libc/stdio/snprintf.c
89
if (n != 0)
lib/libc/stdio/snprintf.c
90
n--;
lib/libc/stdio/snprintf.c
91
if (n > INT_MAX) {
lib/libc/stdio/snprintf.c
99
f._bf._size = f._w = n;
lib/libc/stdio/stdio.c
101
_swrite(FILE *fp, char const *buf, int n)
lib/libc/stdio/stdio.c
113
ret = (*fp->_write)(fp->_cookie, buf, n);
lib/libc/stdio/stdio.c
49
__sread(void *cookie, char *buf, int n)
lib/libc/stdio/stdio.c
53
return(_read(fp->_file, buf, (size_t)n));
lib/libc/stdio/stdio.c
57
__swrite(void *cookie, char const *buf, int n)
lib/libc/stdio/stdio.c
61
return (_write(fp->_file, buf, (size_t)n));
lib/libc/stdio/stdio.c
83
_sread(FILE *fp, char *buf, int n)
lib/libc/stdio/stdio.c
87
ret = (*fp->_read)(fp->_cookie, buf, n);
lib/libc/stdio/swprintf.c
40
swprintf(wchar_t * __restrict s, size_t n, const wchar_t * __restrict fmt, ...)
lib/libc/stdio/swprintf.c
46
ret = vswprintf(s, n, fmt, ap);
lib/libc/stdio/swprintf.c
52
swprintf_l(wchar_t * __restrict s, size_t n, locale_t locale,
lib/libc/stdio/swprintf.c
59
ret = vswprintf_l(s, n, locale, fmt, ap);
lib/libc/stdio/vfprintf.c
1038
n = grouping_print(&gs, &io,
lib/libc/stdio/vfprintf.c
1040
if (n < 0)
lib/libc/stdio/vfprintf.c
1042
cp += n;
lib/libc/stdio/vfprintf.c
306
int n, n2; /* handy integer (short term usage) */
lib/libc/stdio/vfprintf.c
477
if ((n = fmt - cp) != 0) {
lib/libc/stdio/vfprintf.c
478
if ((unsigned)ret + n > INT_MAX) {
lib/libc/stdio/vfprintf.c
483
PRINT(cp, n);
lib/libc/stdio/vfprintf.c
484
ret += n;
lib/libc/stdio/vfprintf.c
554
n = 0;
lib/libc/stdio/vfprintf.c
556
n = 10 * n + to_digit(ch);
lib/libc/stdio/vfprintf.c
560
nextarg = n;
lib/libc/stdio/vfprintf.c
571
width = n;
lib/libc/stdio/vfscanf.c
115
int n;
lib/libc/stdio/vfscanf.c
120
if ((n = fp->_r) < width) {
lib/libc/stdio/vfscanf.c
121
sum += n;
lib/libc/stdio/vfscanf.c
122
width -= n;
lib/libc/stdio/vfscanf.c
123
fp->_p += n;
lib/libc/stdio/vfscanf.c
150
int n, nread;
lib/libc/stdio/vfscanf.c
154
n = 0;
lib/libc/stdio/vfscanf.c
159
n += nread;
lib/libc/stdio/vfscanf.c
161
if (n == 0)
lib/libc/stdio/vfscanf.c
163
return (n);
lib/libc/stdio/vfscanf.c
170
int n;
lib/libc/stdio/vfscanf.c
173
n = 0;
lib/libc/stdio/vfscanf.c
175
n++, fp->_r--, fp->_p++;
lib/libc/stdio/vfscanf.c
179
if (n == 0)
lib/libc/stdio/vfscanf.c
197
n = p - p0;
lib/libc/stdio/vfscanf.c
198
if (n == 0)
lib/libc/stdio/vfscanf.c
202
return (n);
lib/libc/stdio/vfscanf.c
211
int n, nread;
lib/libc/stdio/vfscanf.c
214
n = 0;
lib/libc/stdio/vfscanf.c
218
n += nread;
lib/libc/stdio/vfscanf.c
225
n += nread;
lib/libc/stdio/vfscanf.c
229
if (n == 0)
lib/libc/stdio/vfscanf.c
233
return (n);
lib/libc/stdio/vfscanf.c
240
int n;
lib/libc/stdio/vfscanf.c
243
n = 0;
lib/libc/stdio/vfscanf.c
245
n++, fp->_r--, fp->_p++;
lib/libc/stdio/vfscanf.c
262
n = p - p0;
lib/libc/stdio/vfscanf.c
264
return (n);
lib/libc/stdio/vfscanf.c
272
int n, nread;
lib/libc/stdio/vfscanf.c
275
n = 0;
lib/libc/stdio/vfscanf.c
279
n += nread;
lib/libc/stdio/vfscanf.c
286
n += nread;
lib/libc/stdio/vfscanf.c
292
return (n);
lib/libc/stdio/vfscanf.c
875
int c, n, v, i;
lib/libc/stdio/vfscanf.c
904
n = *fmt++; /* and examine the next */
lib/libc/stdio/vfscanf.c
905
switch (n) {
lib/libc/stdio/vfscanf.c
929
n = *fmt;
lib/libc/stdio/vfscanf.c
930
if (n == ']'
lib/libc/stdio/vfscanf.c
931
|| (table->__collate_load_error ? n < c :
lib/libc/stdio/vfscanf.c
932
__collate_range_cmp(n, c) < 0
lib/libc/stdio/vfscanf.c
943
} while (c < n);
lib/libc/stdio/vfscanf.c
947
__collate_range_cmp(i, n) <= 0
lib/libc/stdio/vfscanf.c
952
c = n;
lib/libc/stdio/vfscanf.c
972
c = n;
lib/libc/stdio/vfwprintf.c
1095
n = grouping_print(&gs, &io,
lib/libc/stdio/vfwprintf.c
1097
if (n < 0)
lib/libc/stdio/vfwprintf.c
1099
cp += n;
lib/libc/stdio/vfwprintf.c
384
int n, n2; /* handy integer (short term usage) */
lib/libc/stdio/vfwprintf.c
546
if ((n = fmt - cp) != 0) {
lib/libc/stdio/vfwprintf.c
547
if ((unsigned)ret + n > INT_MAX) {
lib/libc/stdio/vfwprintf.c
552
PRINT(cp, n);
lib/libc/stdio/vfwprintf.c
553
ret += n;
lib/libc/stdio/vfwprintf.c
623
n = 0;
lib/libc/stdio/vfwprintf.c
625
n = 10 * n + to_digit(ch);
lib/libc/stdio/vfwprintf.c
629
nextarg = n;
lib/libc/stdio/vfwprintf.c
640
width = n;
lib/libc/stdio/vfwscanf.c
131
int n;
lib/libc/stdio/vfwscanf.c
133
n = 0;
lib/libc/stdio/vfwscanf.c
142
n++;
lib/libc/stdio/vfwscanf.c
144
if (n == 0)
lib/libc/stdio/vfwscanf.c
146
return (n);
lib/libc/stdio/vfwscanf.c
153
int n;
lib/libc/stdio/vfwscanf.c
155
n = 0;
lib/libc/stdio/vfwscanf.c
159
n++;
lib/libc/stdio/vfwscanf.c
161
if (n == 0)
lib/libc/stdio/vfwscanf.c
163
return (n);
lib/libc/stdio/vfwscanf.c
173
int n;
lib/libc/stdio/vfwscanf.c
175
n = 0;
lib/libc/stdio/vfwscanf.c
185
n++;
lib/libc/stdio/vfwscanf.c
191
return (n);
lib/libc/stdio/vfwscanf.c
200
int n;
lib/libc/stdio/vfwscanf.c
203
n = 0;
lib/libc/stdio/vfwscanf.c
206
n++;
lib/libc/stdio/vfwscanf.c
216
n = wcp - wcp0;
lib/libc/stdio/vfwscanf.c
217
if (n == 0)
lib/libc/stdio/vfwscanf.c
221
return (n);
lib/libc/stdio/vsnprintf.c
49
vsnprintf_l(char * __restrict str, size_t n, locale_t locale,
lib/libc/stdio/vsnprintf.c
59
on = n;
lib/libc/stdio/vsnprintf.c
60
if (n != 0)
lib/libc/stdio/vsnprintf.c
61
n--;
lib/libc/stdio/vsnprintf.c
62
if (n > INT_MAX) {
lib/libc/stdio/vsnprintf.c
68
if (n == 0) {
lib/libc/stdio/vsnprintf.c
72
n = 1;
lib/libc/stdio/vsnprintf.c
76
f._bf._size = f._w = n;
lib/libc/stdio/vsnprintf.c
83
vsnprintf(char * __restrict str, size_t n, const char * __restrict fmt,
lib/libc/stdio/vsnprintf.c
86
return vsnprintf_l(str, n, __get_locale(), fmt, ap);
lib/libc/stdio/vswprintf.c
106
vswprintf(wchar_t * __restrict s, size_t n, const wchar_t * __restrict fmt,
lib/libc/stdio/vswprintf.c
109
return vswprintf_l(s, n, __get_locale(), fmt, ap);
lib/libc/stdio/vswprintf.c
46
vswprintf_l(wchar_t * __restrict s, size_t n, locale_t locale,
lib/libc/stdio/vswprintf.c
57
if (n == 0) {
lib/libc/stdio/vswprintf.c
61
if (n - 1 > INT_MAX) {
lib/libc/stdio/vswprintf.c
90
nwc = mbsrtowcs_l(s, (const char **)&mbp, n, &mbs, locale);
lib/libc/stdio/vswprintf.c
97
if (nwc == n) {
lib/libc/stdio/vswprintf.c
98
s[n - 1] = L'\0';
lib/libc/stdio/wbuf.c
49
int n;
lib/libc/stdio/wbuf.c
76
n = fp->_p - fp->_bf._base;
lib/libc/stdio/wbuf.c
77
if (n >= fp->_bf._size) {
lib/libc/stdio/wbuf.c
80
n = 0;
lib/libc/stdio/wbuf.c
84
if (++n == fp->_bf._size || (fp->_flags & __SLBF && c == '\n'))
lib/libc/stdio/xprintf.c
138
int n;
lib/libc/stdio/xprintf.c
147
if ((n = (howmany)) > 0) {
lib/libc/stdio/xprintf.c
148
while (n > PADSIZE) {
lib/libc/stdio/xprintf.c
150
n -= PADSIZE;
lib/libc/stdio/xprintf.c
152
ret += __printf_puts(io, with, n);
lib/libc/stdio/xprintf.c
174
__printf_arginfo_pct(const struct printf_info *pi __unused, size_t n __unused, int *argt __unused)
lib/libc/stdio/xprintf.c
190
__printf_arginfo_n(const struct printf_info *pi, size_t n, int *argt)
lib/libc/stdio/xprintf.c
193
assert(n >= 1);
lib/libc/stdio/xprintf.c
274
int n;
lib/libc/stdio/xprintf.c
362
n = 0;
lib/libc/stdio/xprintf.c
364
n *= 10;
lib/libc/stdio/xprintf.c
365
n += to_digit(*fmt);
lib/libc/stdio/xprintf.c
371
nextarg = n;
lib/libc/stdio/xprintf.c
374
pi->width = n;
lib/libc/stdio/xprintf.c
549
n = printf_tbl[pi->spec].render(
lib/libc/stdio/xprintf.c
551
if (n < 0)
lib/libc/stdio/xprintf.c
554
ret += n;
lib/libc/stdio/xprintf_errno.c
42
__printf_arginfo_errno(const struct printf_info *pi __unused, size_t n,
lib/libc/stdio/xprintf_errno.c
46
assert(n >= 1);
lib/libc/stdio/xprintf_float.c
123
__printf_arginfo_float(const struct printf_info *pi, size_t n, int *argt)
lib/libc/stdio/xprintf_float.c
125
assert (n > 0);
lib/libc/stdio/xprintf_float.c
81
#define to_char(n) ((n) + '0')
lib/libc/stdio/xprintf_hexdump.c
38
__printf_arginfo_hexdump(const struct printf_info *pi, size_t n, int *argt)
lib/libc/stdio/xprintf_hexdump.c
41
assert(n >= 2);
lib/libc/stdio/xprintf_int.c
232
__printf_arginfo_int(const struct printf_info *pi, size_t n, int *argt)
lib/libc/stdio/xprintf_int.c
234
assert (n > 0);
lib/libc/stdio/xprintf_int.c
441
__printf_arginfo_ptr(const struct printf_info *pi __unused, size_t n, int *argt)
lib/libc/stdio/xprintf_int.c
444
assert (n > 0);
lib/libc/stdio/xprintf_int.c
67
#define to_char(n) ((n) + '0')
lib/libc/stdio/xprintf_quote.c
41
__printf_arginfo_quote(const struct printf_info *pi __unused, size_t n, int *argt)
lib/libc/stdio/xprintf_quote.c
44
assert(n >= 1);
lib/libc/stdio/xprintf_str.c
109
__printf_arginfo_str(const struct printf_info *pi, size_t n, int *argt)
lib/libc/stdio/xprintf_str.c
112
assert (n > 0);
lib/libc/stdio/xprintf_str.c
151
__printf_arginfo_chr(const struct printf_info *pi, size_t n, int *argt)
lib/libc/stdio/xprintf_str.c
154
assert (n > 0);
lib/libc/stdio/xprintf_time.c
44
__printf_arginfo_time(const struct printf_info *pi, size_t n, int *argt)
lib/libc/stdio/xprintf_time.c
47
assert(n >= 1);
lib/libc/stdio/xprintf_vis.c
40
__printf_arginfo_vis(const struct printf_info *pi, size_t n, int *argt)
lib/libc/stdio/xprintf_vis.c
43
assert(n >= 1);
lib/libc/stdlib/atexit.c
207
int n, has_phdr;
lib/libc/stdlib/atexit.c
221
for (n = p->ind; --n >= 0;) {
lib/libc/stdlib/atexit.c
222
if (p->fns[n].fn_type == ATEXIT_FN_EMPTY)
lib/libc/stdlib/atexit.c
224
fn = p->fns[n];
lib/libc/stdlib/atexit.c
236
p->fns[n].fn_type = ATEXIT_FN_EMPTY;
lib/libc/stdlib/malloc/jemalloc/include/jemalloc/internal/jemalloc_preamble.h
25
# define JEMALLOC_N(n) jet_##n
lib/libc/stdlib/malloc/jemalloc/include/jemalloc/internal/jemalloc_preamble.h
31
# define JEMALLOC_N(n) __je_##n
lib/libc/stdlib/merge.c
245
setup(u_char *list1, u_char *list2, size_t n, size_t size, cmp_t cmp)
lib/libc/stdlib/merge.c
251
if (n <= 5) {
lib/libc/stdlib/merge.c
252
insertionsort(list1, n, size, cmp);
lib/libc/stdlib/merge.c
253
*EVAL(list2) = (u_char*) list2 + n*size;
lib/libc/stdlib/merge.c
260
i = 4 + (n & 1);
lib/libc/stdlib/merge.c
261
insertionsort(list1 + (n - i) * size, i, size, cmp);
lib/libc/stdlib/merge.c
262
last = list1 + size * (n - i);
lib/libc/stdlib/merge.c
263
*EVAL(list2 + (last - list1)) = list2 + n * size;
lib/libc/stdlib/merge.c
299
p2 = *EVAL(p2) = list2 + n*size;
lib/libc/stdlib/merge.c
316
insertionsort(u_char *a, size_t n, size_t size, cmp_t cmp)
lib/libc/stdlib/merge.c
321
for (ai = a+size; --n >= 1; ai += size)
lib/libc/stdlib/qsort.c
104
local_qsort(void *a, size_t n, size_t es, cmp_t *cmp, void *thunk)
lib/libc/stdlib/qsort.c
111
if (__predict_false(n < 2))
lib/libc/stdlib/qsort.c
114
if (n < 7) {
lib/libc/stdlib/qsort.c
115
for (pm = (char *)a + es; pm < (char *)a + n * es; pm += es)
lib/libc/stdlib/qsort.c
122
pm = (char *)a + (n / 2) * es;
lib/libc/stdlib/qsort.c
123
if (n > 7) {
lib/libc/stdlib/qsort.c
125
pn = (char *)a + (n - 1) * es;
lib/libc/stdlib/qsort.c
126
if (n > 40) {
lib/libc/stdlib/qsort.c
127
size_t d = (n / 8) * es;
lib/libc/stdlib/qsort.c
138
pc = pd = (char *)a + (n - 1) * es;
lib/libc/stdlib/qsort.c
161
pn = (char *)a + n * es;
lib/libc/stdlib/qsort.c
183
n = d2 / es;
lib/libc/stdlib/qsort.c
194
n = d1 / es;
lib/libc/stdlib/qsort.c
202
(qsort_r)(void *a, size_t n, size_t es, cmp_t *cmp, void *thunk)
lib/libc/stdlib/qsort.c
204
local_qsort_r(a, n, es, cmp, thunk);
lib/libc/stdlib/qsort.c
208
__qsort_r_compat(void *a, size_t n, size_t es, void *thunk, cmp_t *cmp)
lib/libc/stdlib/qsort.c
210
local_qsort_r_compat(a, n, es, cmp, thunk);
lib/libc/stdlib/qsort.c
214
qsort_s(void *a, rsize_t n, rsize_t es, cmp_t *cmp, void *thunk)
lib/libc/stdlib/qsort.c
216
if (n > RSIZE_MAX) {
lib/libc/stdlib/qsort.c
223
} else if (n != 0) {
lib/libc/stdlib/qsort.c
239
local_qsort_s(a, n, es, cmp, thunk);
lib/libc/stdlib/qsort.c
244
qsort(void *a, size_t n, size_t es, cmp_t *cmp)
lib/libc/stdlib/qsort.c
246
local_qsort(a, n, es, cmp, NULL);
lib/libc/stdlib/qsort.c
67
#define vecswap(a, b, n) \
lib/libc/stdlib/qsort.c
68
if ((n) > 0) swapfunc(a, b, n)
lib/libc/stdlib/radixsort.c
106
if (n < THRESHOLD)
lib/libc/stdlib/radixsort.c
107
simplesort(a, n, 0, tr, endch);
lib/libc/stdlib/radixsort.c
109
if ((ta = malloc(n * sizeof(a))) == NULL)
lib/libc/stdlib/radixsort.c
111
r_sort_b(a, ta, n, 0, tr, endch);
lib/libc/stdlib/radixsort.c
118
#define pop(a, n, i) a = (--sp)->sa, n = sp->sn, i = sp->si
lib/libc/stdlib/radixsort.c
119
#define push(a, n, i) sp->sa = a, sp->sn = n, (sp++)->si = i
lib/libc/stdlib/radixsort.c
124
r_sort_a(const u_char **a, int n, int i, const u_char *tr, u_int endch)
lib/libc/stdlib/radixsort.c
135
push(a, n, i);
lib/libc/stdlib/radixsort.c
137
pop(a, n, i);
lib/libc/stdlib/radixsort.c
138
if (n < THRESHOLD) {
lib/libc/stdlib/radixsort.c
139
simplesort(a, n, i, tr, endch);
lib/libc/stdlib/radixsort.c
142
an = a + n;
lib/libc/stdlib/radixsort.c
156
r_sort_a(a, n, i, tr, endch);
lib/libc/stdlib/radixsort.c
166
if (nc == 1 && count[bmin] == n) {
lib/libc/stdlib/radixsort.c
167
push(a, n, i+1);
lib/libc/stdlib/radixsort.c
222
r_sort_b(const u_char **a, const u_char **ta, int n, int i, const u_char *tr,
lib/libc/stdlib/radixsort.c
233
push(a, n, i);
lib/libc/stdlib/radixsort.c
235
pop(a, n, i);
lib/libc/stdlib/radixsort.c
236
if (n < THRESHOLD) {
lib/libc/stdlib/radixsort.c
237
simplesort(a, n, i, tr, endch);
lib/libc/stdlib/radixsort.c
243
for (ak = a + n; --ak >= a;) {
lib/libc/stdlib/radixsort.c
252
r_sort_b(a, ta, n, i, tr, endch);
lib/libc/stdlib/radixsort.c
264
top[255] = a + n;
lib/libc/stdlib/radixsort.c
283
for (ak = ta + n, ai = a+n; ak > ta;) /* Copy to temp. */
lib/libc/stdlib/radixsort.c
285
for (ak = ta+n; --ak >= ta;) /* Deal to piles. */
lib/libc/stdlib/radixsort.c
292
simplesort(const u_char **a, int n, int b, const u_char *tr, u_int endch)
lib/libc/stdlib/radixsort.c
297
for (ak = a+1; --n >= 1; ak++)
lib/libc/stdlib/radixsort.c
87
radixsort(const u_char **a, int n, const u_char *tab, u_int endch)
lib/libc/stdlib/radixsort.c
94
r_sort_a(a, n, 0, tr, endch);
lib/libc/stdlib/radixsort.c
99
sradixsort(const u_char **a, int n, const u_char *tab, u_int endch)
lib/libc/stdlib/random.c
350
initstate(unsigned int seed, char *arg_state, size_t n)
lib/libc/stdlib/random.c
367
error = initstate_r(&implicit, seed, int_arg_state, n);
lib/libc/stdlib/strfrom.c
165
__sf_edoofus(char *s, size_t n)
lib/libc/stdlib/strfrom.c
171
b.n = n;
lib/libc/stdlib/strfrom.c
20
size_t n;
lib/libc/stdlib/strfrom.c
31
if (b->n > 0 && (size_t)b->pos < b->n - 1)
lib/libc/stdlib/strfrom.c
435
__sf_render_hex(char *s, size_t n, char conv, int prec,
lib/libc/stdlib/strfrom.c
442
b.n = n;
lib/libc/stdlib/strfrom.c
455
__sf_render_decimal(char *s, size_t n, char conv, char lc, int prec,
lib/libc/stdlib/strfrom.c
462
b.n = n;
lib/libc/stdlib/strfrom.c
76
if (b->n > 0)
lib/libc/stdlib/strfrom.c
77
b->s[(size_t)b->pos < b->n ? b->pos : b->n - 1] = '\0';
lib/libc/stdlib/strfromd.c
13
strfromd(char * __restrict s, size_t n, const char * __restrict fmt, double fp)
lib/libc/stdlib/strfromd.c
20
return (__sf_edoofus(s, n));
lib/libc/stdlib/strfromd.c
26
ret = __sf_render_hex(s, n, conv, prec, digits, dend, decpt,
lib/libc/stdlib/strfromd.c
39
ret = __sf_render_decimal(s, n, conv, lc, prec, digits, dend, decpt,
lib/libc/stdlib/strfromf.c
13
strfromf(char * __restrict s, size_t n, const char * __restrict fmt, float fp)
lib/libc/stdlib/strfromf.c
22
return (__sf_edoofus(s, n));
lib/libc/stdlib/strfromf.c
28
ret = __sf_render_hex(s, n, conv, prec, digits, dend, decpt,
lib/libc/stdlib/strfromf.c
41
ret = __sf_render_decimal(s, n, conv, lc, prec, digits, dend, decpt,
lib/libc/stdlib/strfroml.c
13
strfroml(char * __restrict s, size_t n, const char * __restrict fmt,
lib/libc/stdlib/strfroml.c
21
return (__sf_edoofus(s, n));
lib/libc/stdlib/strfroml.c
27
ret = __sf_render_hex(s, n, conv, prec, digits, dend, decpt,
lib/libc/stdlib/strfroml.c
40
ret = __sf_render_decimal(s, n, conv, lc, prec, digits, dend, decpt,
lib/libc/stdlib/tdelete.c
131
for (n = rootp; n != leaf;) {
lib/libc/stdlib/tdelete.c
133
x = *n;
lib/libc/stdlib/tdelete.c
143
*n = z;
lib/libc/stdlib/tdelete.c
152
*n = y;
lib/libc/stdlib/tdelete.c
165
n = &x->llink;
lib/libc/stdlib/tdelete.c
167
x = *n;
lib/libc/stdlib/tdelete.c
177
*n = z;
lib/libc/stdlib/tdelete.c
186
*n = y;
lib/libc/stdlib/tdelete.c
199
n = &x->rlink;
lib/libc/stdlib/tdelete.c
71
posix_tnode **leaf, *old, **n, *x, *y, *z, *result;
lib/libc/stdlib/tsearch.c
37
posix_tnode **leaf, *result, *n, *x, *y, *z;
lib/libc/stdlib/tsearch.c
92
for (n = *rootp; n != *leaf;) {
lib/libc/stdlib/tsearch.c
94
n->balance += 1;
lib/libc/stdlib/tsearch.c
95
n = n->llink;
lib/libc/stdlib/tsearch.c
97
n->balance -= 1;
lib/libc/stdlib/tsearch.c
98
n = n->rlink;
lib/libc/stdtime/strftime.c
577
_conv(const int n, const char * const format, char * const pt,
lib/libc/stdtime/strftime.c
582
(void) sprintf_l(buf, loc, format, n);
lib/libc/stdtime/strptime.c
491
long n;
lib/libc/stdtime/strptime.c
496
n = strtol_l(buf, &cp, 10, locale);
lib/libc/stdtime/strptime.c
497
if (errno == ERANGE || (long)(t = n) != n) {
lib/libc/string/memccpy.c
35
memccpy(void * restrict t, const void * restrict f, int c, size_t n)
lib/libc/string/memccpy.c
38
if (n) {
lib/libc/string/memccpy.c
45
} while (--n != 0);
lib/libc/string/memchr.c
36
memchr(const void *src, int c, size_t n)
lib/libc/string/memchr.c
41
for (; ((uintptr_t)s & ALIGN) && n && *s != c; s++, n--)
lib/libc/string/memchr.c
43
if (n && *s != c) {
lib/libc/string/memchr.c
47
for (w = (const void *)s; n >= SS && !HASZERO(*w ^ k);
lib/libc/string/memchr.c
48
w++, n -= SS)
lib/libc/string/memchr.c
53
for (; n && *s != c; s++, n--)
lib/libc/string/memchr.c
55
return n ? (void *)s : 0;
lib/libc/string/memcmp.c
41
memcmp(const void *s1, const void *s2, size_t n)
lib/libc/string/memcmp.c
43
if (n != 0) {
lib/libc/string/memcmp.c
49
} while (--n != 0);
lib/libc/string/memmem.c
115
if (n[ip + k] == n[jp + k]) {
lib/libc/string/memmem.c
121
} else if (n[ip + k] < n[jp + k]) {
lib/libc/string/memmem.c
136
if (memcmp(n, n + p, ms + 1)) {
lib/libc/string/memmem.c
166
for (k = MAX(ms + 1, mem); k < l && n[k] == h[k]; k++)
lib/libc/string/memmem.c
174
for (k = ms + 1; k > mem && n[k - 1] == h[k - 1]; k--)
lib/libc/string/memmem.c
186
const unsigned char *h = h0, *n = n0;
lib/libc/string/memmem.c
197
h = memchr(h0, *n, k);
lib/libc/string/memmem.c
204
return twobyte_memmem(h, k, n);
lib/libc/string/memmem.c
206
return threebyte_memmem(h, k, n);
lib/libc/string/memmem.c
208
return fourbyte_memmem(h, k, n);
lib/libc/string/memmem.c
210
return twoway_memmem(h, h + k, n, l);
lib/libc/string/memmem.c
29
twobyte_memmem(const unsigned char *h, size_t k, const unsigned char *n)
lib/libc/string/memmem.c
31
uint16_t nw = n[0] << 8 | n[1], hw = h[0] << 8 | h[1];
lib/libc/string/memmem.c
39
threebyte_memmem(const unsigned char *h, size_t k, const unsigned char *n)
lib/libc/string/memmem.c
41
uint32_t nw = (uint32_t)n[0] << 24 | n[1] << 16 | n[2] << 8;
lib/libc/string/memmem.c
50
fourbyte_memmem(const unsigned char *h, size_t k, const unsigned char *n)
lib/libc/string/memmem.c
52
uint32_t nw = (uint32_t)n[0] << 24 | n[1] << 16 | n[2] << 8 | n[3];
lib/libc/string/memmem.c
77
const unsigned char *n, size_t l)
lib/libc/string/memmem.c
85
BITOP(byteset, n[i], |=), shift[n[i]] = i + 1;
lib/libc/string/memmem.c
92
if (n[ip + k] == n[jp + k]) {
lib/libc/string/memmem.c
98
} else if (n[ip + k] > n[jp + k]) {
lib/libc/string/memrchr.c
26
memrchr(const void *s, int c, size_t n)
lib/libc/string/memrchr.c
30
if (n != 0) {
lib/libc/string/memrchr.c
31
cp = (unsigned char *)s + n;
lib/libc/string/memrchr.c
35
} while (--n != 0);
lib/libc/string/memset_s.c
34
memset_s(void *s, rsize_t smax, int c, rsize_t n)
lib/libc/string/memset_s.c
42
lim = n < smax ? n : smax;
lib/libc/string/memset_s.c
50
} else if (n > RSIZE_MAX) {
lib/libc/string/memset_s.c
55
if (n > smax) {
lib/libc/string/stpncpy.c
34
stpncpy(char * __restrict dst, const char * __restrict src, size_t n)
lib/libc/string/stpncpy.c
37
for (; n--; dst++, src++) {
lib/libc/string/stpncpy.c
40
while (n--)
lib/libc/string/strcasecmp.c
61
strncasecmp_l(const char *s1, const char *s2, size_t n, locale_t locale)
lib/libc/string/strcasecmp.c
64
if (n != 0) {
lib/libc/string/strcasecmp.c
74
} while (--n != 0);
lib/libc/string/strcasecmp.c
80
strncasecmp(const char *s1, const char *s2, size_t n)
lib/libc/string/strcasecmp.c
82
return strncasecmp_l(s1, s2, n, __get_locale());
lib/libc/string/strlcat.c
36
size_t n = dsize;
lib/libc/string/strlcat.c
40
while (n-- != 0 && *dst != '\0')
lib/libc/string/strlcat.c
43
n = dsize - dlen;
lib/libc/string/strlcat.c
45
if (n-- == 0)
lib/libc/string/strlcat.c
48
if (n != 0) {
lib/libc/string/strlcat.c
50
n--;
lib/libc/string/strncat.c
44
strncat(char * __restrict dst, const char * __restrict src, size_t n)
lib/libc/string/strncat.c
46
if (n != 0) {
lib/libc/string/strncat.c
56
} while (--n != 0);
lib/libc/string/strncmp.c
35
strncmp(const char *s1, const char *s2, size_t n)
lib/libc/string/strncmp.c
38
if (n == 0)
lib/libc/string/strncmp.c
46
} while (--n != 0);
lib/libc/string/strncpy.c
53
(char * __restrict dst, const char * __restrict src, size_t n)
lib/libc/string/strncpy.c
55
if (n != 0) {
lib/libc/string/strncpy.c
62
while (--n != 0)
lib/libc/string/strncpy.c
66
} while (--n != 0);
lib/libc/string/strsignal.c
104
n = strlcpy(ebuf,
lib/libc/string/strsignal.c
112
n = strlcpy(ebuf,
lib/libc/string/strsignal.c
131
p = (ebuf + n);
lib/libc/string/strsignal.c
91
size_t n;
lib/libc/string/strstr.c
114
if (n[ip + k] == n[jp + k]) {
lib/libc/string/strstr.c
120
} else if (n[ip + k] < n[jp + k]) {
lib/libc/string/strstr.c
135
if (memcmp(n, n + p, ms + 1)) {
lib/libc/string/strstr.c
177
for (k = MAX(ms + 1, mem); n[k] && n[k] == h[k]; k++)
lib/libc/string/strstr.c
179
if (n[k]) {
lib/libc/string/strstr.c
185
for (k = ms + 1; k > mem && n[k - 1] == h[k - 1]; k--)
lib/libc/string/strstr.c
195
strstr(const char *h, const char *n)
lib/libc/string/strstr.c
198
if (!n[0])
lib/libc/string/strstr.c
202
h = strchr(h, *n);
lib/libc/string/strstr.c
203
if (!h || !n[1])
lib/libc/string/strstr.c
207
if (!n[2])
lib/libc/string/strstr.c
208
return twobyte_strstr((void *)h, (void *)n);
lib/libc/string/strstr.c
211
if (!n[3])
lib/libc/string/strstr.c
212
return threebyte_strstr((void *)h, (void *)n);
lib/libc/string/strstr.c
215
if (!n[4])
lib/libc/string/strstr.c
216
return fourbyte_strstr((void *)h, (void *)n);
lib/libc/string/strstr.c
218
return twoway_strstr((void *)h, (void *)n);
lib/libc/string/strstr.c
29
twobyte_strstr(const unsigned char *h, const unsigned char *n)
lib/libc/string/strstr.c
31
uint16_t nw = n[0] << 8 | n[1], hw = h[0] << 8 | h[1];
lib/libc/string/strstr.c
38
threebyte_strstr(const unsigned char *h, const unsigned char *n)
lib/libc/string/strstr.c
40
uint32_t nw = (uint32_t)n[0] << 24 | n[1] << 16 | n[2] << 8;
lib/libc/string/strstr.c
48
fourbyte_strstr(const unsigned char *h, const unsigned char *n)
lib/libc/string/strstr.c
50
uint32_t nw = (uint32_t)n[0] << 24 | n[1] << 16 | n[2] << 8 | n[3];
lib/libc/string/strstr.c
73
twoway_strstr(const unsigned char *h, const unsigned char *n)
lib/libc/string/strstr.c
81
for (l = 0; n[l] && h[l]; l++)
lib/libc/string/strstr.c
82
BITOP(byteset, n[l], |=), shift[n[l]] = l + 1;
lib/libc/string/strstr.c
83
if (n[l])
lib/libc/string/strstr.c
91
if (n[ip + k] == n[jp + k]) {
lib/libc/string/strstr.c
97
} else if (n[ip + k] > n[jp + k]) {
lib/libc/string/timingsafe_bcmp.c
23
__timingsafe_bcmp(const void *b1, const void *b2, size_t n)
lib/libc/string/timingsafe_bcmp.c
28
for (; n > 0; n--)
lib/libc/string/wcpncpy.c
34
size_t n)
lib/libc/string/wcpncpy.c
37
for (; n--; dst++, src++) {
lib/libc/string/wcpncpy.c
40
while (n--)
lib/libc/string/wcslcat.c
54
size_t n = siz;
lib/libc/string/wcslcat.c
58
while (n-- != 0 && *d != '\0')
lib/libc/string/wcslcat.c
61
n = siz - dlen;
lib/libc/string/wcslcat.c
63
if (n == 0)
lib/libc/string/wcslcat.c
66
if (n != 1) {
lib/libc/string/wcslcat.c
68
n--;
lib/libc/string/wcslcpy.c
52
size_t n = siz;
lib/libc/string/wcslcpy.c
55
if (n != 0 && --n != 0) {
lib/libc/string/wcslcpy.c
59
} while (--n != 0);
lib/libc/string/wcslcpy.c
63
if (n == 0) {
lib/libc/string/wcsncasecmp.c
33
wcsncasecmp(const wchar_t *s1, const wchar_t *s2, size_t n)
lib/libc/string/wcsncasecmp.c
37
if (n == 0)
lib/libc/string/wcsncasecmp.c
44
if (--n == 0)
lib/libc/string/wcsncat.c
42
size_t n)
lib/libc/string/wcsncat.c
53
while (n && *r) {
lib/libc/string/wcsncat.c
55
n--;
lib/libc/string/wcsncmp.c
37
wcsncmp(const wchar_t *s1, const wchar_t *s2, size_t n)
lib/libc/string/wcsncmp.c
40
if (n == 0)
lib/libc/string/wcsncmp.c
50
} while (--n != 0);
lib/libc/string/wcsncpy.c
44
size_t n)
lib/libc/string/wcsncpy.c
46
if (n != 0) {
lib/libc/string/wcsncpy.c
53
while (--n != 0)
lib/libc/string/wcsncpy.c
57
} while (--n != 0);
lib/libc/string/wcswidth.c
49
wcswidth_l(const wchar_t *pwcs, size_t n, locale_t locale)
lib/libc/string/wcswidth.c
56
while (n-- > 0 && (wc = *pwcs++) != L'\0') {
lib/libc/string/wcswidth.c
65
wcswidth(const wchar_t *pwcs, size_t n)
lib/libc/string/wcswidth.c
67
return wcswidth_l(pwcs, n, __get_locale());
lib/libc/string/wmemchr.c
40
wmemchr(const wchar_t *s, wchar_t c, size_t n)
lib/libc/string/wmemchr.c
44
for (i = 0; i < n; i++) {
lib/libc/string/wmemcmp.c
40
wmemcmp(const wchar_t *s1, const wchar_t *s2, size_t n)
lib/libc/string/wmemcmp.c
44
for (i = 0; i < n; i++) {
lib/libc/string/wmemcpy.c
43
size_t n)
lib/libc/string/wmemcpy.c
45
return (wchar_t *)memcpy(d, s, n * sizeof(wchar_t));
lib/libc/string/wmemmove.c
42
__ssp_real(wmemmove)(wchar_t *d, const wchar_t *s, size_t n)
lib/libc/string/wmemmove.c
44
return (wchar_t *)memmove(d, s, n * sizeof(wchar_t));
lib/libc/string/wmemset.c
41
__ssp_real(wmemset)(wchar_t *s, wchar_t c, size_t n)
lib/libc/string/wmemset.c
47
for (i = 0; i < n; i++) {
lib/libc/sys/pselect.c
38
pselect(int n, fd_set *rs, fd_set *ws, fd_set *es, const struct timespec *t,
lib/libc/sys/pselect.c
41
return (INTERPOS_SYS(pselect, n, rs, ws, es, t, s));
lib/libc/sys/select.c
38
select(int n, fd_set *rs, fd_set *ws, fd_set *es, struct timeval *t)
lib/libc/sys/select.c
40
return (INTERPOS_SYS(select, n, rs, ws, es, t));
lib/libc/tests/gen/fmtmsg_test.c
164
ssize_t n;
lib/libc/tests/gen/fmtmsg_test.c
187
while ((n = read(pip[0], p, result + resultsize - p - 1)) != 0) {
lib/libc/tests/gen/fmtmsg_test.c
188
if (n == -1) {
lib/libc/tests/gen/fmtmsg_test.c
194
p += n;
lib/libc/tests/gen/fpsetround_test.c
105
double d = strtod(tst[i].n, NULL);
lib/libc/tests/gen/fpsetround_test.c
114
fprintf(stderr, "%4.4s %-5.5s %6d %8d\n", rnd[r].n,
lib/libc/tests/gen/fpsetround_test.c
115
tst[i].n, (int)rint(d), tst[i].v[r]);
lib/libc/tests/gen/fpsetround_test.c
139
const int n = rnd[j].rm;
lib/libc/tests/gen/fpsetround_test.c
141
ATF_CHECK_EQ(r = fpsetround(n), o);
lib/libc/tests/gen/fpsetround_test.c
144
getname(n), getname(o), getname(r));
lib/libc/tests/gen/fpsetround_test.c
145
ATF_CHECK_EQ(r = fpgetround(), n);
lib/libc/tests/gen/fpsetround_test.c
146
if (n != r)
lib/libc/tests/gen/fpsetround_test.c
147
fprintf(stderr, "get expected=%s got=%s\n", getname(n),
lib/libc/tests/gen/fpsetround_test.c
62
const char *n;
lib/libc/tests/gen/fpsetround_test.c
74
const char *n;
lib/libc/tests/gen/fpsetround_test.c
96
return rnd[i].n;
lib/libc/tests/gen/getmntinfo_test.c
40
check_mntinfo(struct statfs *mntinfo, int n)
lib/libc/tests/gen/getmntinfo_test.c
44
for (i = 0; i < n; i++) {
lib/libc/tests/gen/scandir_blocks_test.c
26
scandir_blocks_verify(const struct atf_tc *tc, int n, struct dirent **namelist)
lib/libc/tests/gen/scandir_blocks_test.c
28
ATF_REQUIRE_EQ_MSG(5, n, "return value is %d", n);
lib/libc/tests/gen/scandir_test.c
28
scandir_verify(const struct atf_tc *tc, int n, struct dirent **namelist)
lib/libc/tests/gen/scandir_test.c
30
ATF_REQUIRE_EQ_MSG(5, n, "return value is %d", n);
lib/libc/tests/gen/sig2str_test.c
129
int n, sig;
lib/libc/tests/gen/sig2str_test.c
134
ATF_CHECK_MSG(str2sig(fullname, &n) == 0,
lib/libc/tests/gen/sig2str_test.c
138
ATF_CHECK_INTEQ_MSG(n, sig,
lib/libc/tests/gen/sig2str_test.c
140
sys_signame[sig], sig, fullname, n);
lib/libc/tests/gen/sig2str_test.c
148
int n, sig;
lib/libc/tests/gen/sig2str_test.c
155
ATF_CHECK_MSG(str2sig(fullname, &n) == 0,
lib/libc/tests/gen/sig2str_test.c
159
ATF_CHECK_INTEQ_MSG(n, sig,
lib/libc/tests/gen/sig2str_test.c
161
sys_signame[sig], sig, fullname, n);
lib/libc/tests/gen/sig2str_test.c
169
int n, sig;
lib/libc/tests/gen/sig2str_test.c
173
ATF_CHECK_MSG(str2sig(buf, &n) == 0,
lib/libc/tests/gen/sig2str_test.c
175
ATF_CHECK_INTEQ_MSG(n, sig,
lib/libc/tests/gen/sig2str_test.c
177
buf, n, sig);
lib/libc/tests/resolv/resolv_test.c
174
resolvone(long threadnum, int n, enum method method)
lib/libc/tests/resolv/resolv_test.c
181
DBG("T%ld: %d resolving %s %zd\n", threadnum, n, host, i);
lib/libc/tests/stdio/eintr_test.c
33
setdata(int n)
lib/libc/tests/stdio/eintr_test.c
35
ndata = n;
lib/libc/tests/stdio/getdelim_test.c
181
size_t linecap, n;
lib/libc/tests/stdio/getdelim_test.c
188
n = strlen(apothegm);
lib/libc/tests/stdio/getdelim_test.c
190
ATF_REQUIRE(getdelim(&line, &linecap, '\0', fp) == n + 1);
lib/libc/tests/stdio/getdelim_test.c
192
ATF_REQUIRE(line[n + 1] == '\0');
lib/libc/tests/stdio/getdelim_test.c
193
ATF_REQUIRE(linecap > n + 1);
lib/libc/tests/stdio/getdelim_test.c
194
n = strlen(apothegm + n + 1);
lib/libc/tests/stdio/getdelim_test.c
196
ATF_REQUIRE(getdelim(&line, &linecap, '\0', fp) == n + 1);
lib/libc/tests/stdio/getdelim_test.c
197
ATF_REQUIRE(line[n + 1] == '\0');
lib/libc/tests/stdio/getdelim_test.c
198
ATF_REQUIRE(linecap > n + 1);
lib/libc/tests/stdlib/qsort_bench.c
52
uintmax_t n = 1LLU << log2n;
lib/libc/tests/stdlib/qsort_bench.c
56
ATF_REQUIRE(buf = malloc(n * sizeof(*buf)));
lib/libc/tests/stdlib/qsort_bench.c
58
buf[n / 2] = n / 2;
lib/libc/tests/stdlib/qsort_bench.c
59
for (unsigned int i = 1; i < n / 2; i++) {
lib/libc/tests/stdlib/qsort_bench.c
60
buf[i] = n / 2 - i;
lib/libc/tests/stdlib/qsort_bench.c
61
buf[n / 2 + i] = n - i;
lib/libc/tests/stdlib/qsort_bench.c
65
qsort(buf, n, sizeof(*buf), intcmp);
lib/libc/tests/stdlib/qsort_bench.c
69
for (unsigned int i = 1; i < n; i++) {
lib/libc/tests/stdlib/qsort_bench.c
77
ATF_CHECK_MSG(ncmp / n < n,
lib/libc/tests/stdlib/qsort_bench.c
78
"runtime %ju exceeds N² for N = %ju", ncmp, n);
lib/libc/tests/stdlib/qsort_bench.c
81
ATF_CHECK_MSG(ncmp / n <= log2n + 1,
lib/libc/tests/stdlib/qsort_bench.c
82
"runtime %ju exceeds N log N for N = %ju", ncmp, n);
lib/libc/tests/stdlib/strfmon_test.c
24
double n;
lib/libc/tests/stdlib/strfmon_test.c
37
n = 1234.56;
lib/libc/tests/stdlib/strfmon_test.c
38
strfmon(actual, sizeof(actual) - 1, "%i", n);
lib/libc/tests/stdlib/tsearch_test.c
38
tnode_assert(const posix_tnode *n)
lib/libc/tests/stdlib/tsearch_test.c
43
if (n == NULL)
lib/libc/tests/stdlib/tsearch_test.c
45
height_left = tnode_assert(n->llink);
lib/libc/tests/stdlib/tsearch_test.c
46
height_right = tnode_assert(n->rlink);
lib/libc/tests/stdlib/tsearch_test.c
50
ATF_CHECK_EQ(balance, n->balance);
lib/libc/tests/string/ffs_test.c
51
const int n = sizeof(TYPE) * CHAR_BIT;
lib/libc/tests/string/ffs_test.c
54
for (i = 0; i < n - 1; i++)
lib/libc/tests/string/ffs_test.c
67
const int n = sizeof(TYPE) * CHAR_BIT;
lib/libc/tests/string/ffs_test.c
70
for (i = 0; i < n - 1; i++)
lib/libc/tests/string/fls_test.c
51
const int n = sizeof(TYPE) * CHAR_BIT;
lib/libc/tests/string/fls_test.c
54
for (i = 0; i < n - 1; i++)
lib/libc/tests/string/fls_test.c
67
const int n = sizeof(TYPE) * CHAR_BIT;
lib/libc/tests/string/fls_test.c
70
for (i = 0; i < n - 1; i++)
lib/libc/tests/string/fls_test.c
73
ATF_CHECK_EQ_MSG(n, FLS(x),
lib/libc/tests/string/fls_test.c
74
"%s(%#jx) == %d != %d", __STRING(FLS), (intmax_t)x, FLS(x), n);
lib/libc/tests/sys/brk_test.c
105
void *oldbrk, *n, *newbrk;
lib/libc/tests/sys/brk_test.c
123
n = (void *)(((uintptr_t)oldbrk + PAGE_SIZE) & ~PAGE_SIZE);
lib/libc/tests/sys/brk_test.c
125
error = mincore(n, PAGE_SIZE, &v);
lib/libc/uuid/uuid_from_string.c
46
int n;
lib/libc/uuid/uuid_from_string.c
71
n = sscanf(s,
lib/libc/uuid/uuid_from_string.c
78
if (n != 11)
lib/libc/uuid/uuid_from_string.c
82
n = u->clock_seq_hi_and_reserved;
lib/libc/uuid/uuid_from_string.c
83
if ((n & 0x80) != 0x00 && /* variant 0? */
lib/libc/uuid/uuid_from_string.c
84
(n & 0xc0) != 0x80 && /* variant 1? */
lib/libc/uuid/uuid_from_string.c
85
(n & 0xe0) != 0xc0) { /* variant 2? */
lib/libc/xdr/xdr_rec.c
520
ssize_t n;
lib/libc/xdr/xdr_rec.c
524
n = rstrm->readit(rstrm->tcp_handle, rstrm->in_hdrp,
lib/libc/xdr/xdr_rec.c
526
if (n == 0) {
lib/libc/xdr/xdr_rec.c
530
if (n < 0) {
lib/libc/xdr/xdr_rec.c
534
rstrm->in_hdrp += n;
lib/libc/xdr/xdr_rec.c
535
rstrm->in_hdrlen += n;
lib/libc/xdr/xdr_rec.c
562
n = rstrm->readit(rstrm->tcp_handle,
lib/libc/xdr/xdr_rec.c
566
if (n < 0) {
lib/libc/xdr/xdr_rec.c
571
if (n == 0) {
lib/libc/xdr/xdr_rec.c
576
rstrm->in_received += n;
lib/libc/yp/yplib.c
129
struct ypmatch_ent *n, *c = ypdb->cache;
lib/libc/yp/yplib.c
132
n = c->ypc_next;
lib/libc/yp/yplib.c
134
c = n;
lib/libc/yp/yplib.c
144
struct ypmatch_ent *n, *p = NULL;
lib/libc/yp/yplib.c
151
n = c->ypc_next;
lib/libc/yp/yplib.c
153
c = n;
lib/libcalendar/easter.c
40
int c, i, j, k, l, n;
lib/libcalendar/easter.c
42
n = y % 19;
lib/libcalendar/easter.c
45
i = (c - c/4 -(c-k)/3 + 19 * n + 15) % 30;
lib/libcalendar/easter.c
46
i = i -(i/28) * (1 - (i/28) * (29/(i + 1)) * ((21 - n)/11));
lib/libcasper/services/cap_dns/cap_dns.c
108
n = snprintf(nvlname, sizeof(nvlname), "addr%u", ii);
lib/libcasper/services/cap_dns/cap_dns.c
109
assert(n > 0 && n < (int)sizeof(nvlname));
lib/libcasper/services/cap_dns/cap_dns.c
224
int error, n;
lib/libcasper/services/cap_dns/cap_dns.c
254
n = snprintf(nvlname, sizeof(nvlname), "res%u", ii);
lib/libcasper/services/cap_dns/cap_dns.c
255
assert(n > 0 && n < (int)sizeof(nvlname));
lib/libcasper/services/cap_dns/cap_dns.c
334
int n;
lib/libcasper/services/cap_dns/cap_dns.c
343
n = snprintf(nvlname, sizeof(nvlname), "type%u", i);
lib/libcasper/services/cap_dns/cap_dns.c
344
assert(n > 0 && n < (int)sizeof(nvlname));
lib/libcasper/services/cap_dns/cap_dns.c
357
int n;
lib/libcasper/services/cap_dns/cap_dns.c
366
n = snprintf(nvlname, sizeof(nvlname), "family%u", i);
lib/libcasper/services/cap_dns/cap_dns.c
367
assert(n > 0 && n < (int)sizeof(nvlname));
lib/libcasper/services/cap_dns/cap_dns.c
437
int n;
lib/libcasper/services/cap_dns/cap_dns.c
447
n = snprintf(nvlname, sizeof(nvlname), "alias%u", ii);
lib/libcasper/services/cap_dns/cap_dns.c
448
assert(n > 0 && n < (int)sizeof(nvlname));
lib/libcasper/services/cap_dns/cap_dns.c
458
n = snprintf(nvlname, sizeof(nvlname), "addr%u", ii);
lib/libcasper/services/cap_dns/cap_dns.c
459
assert(n > 0 && n < (int)sizeof(nvlname));
lib/libcasper/services/cap_dns/cap_dns.c
618
int error, family, n;
lib/libcasper/services/cap_dns/cap_dns.c
655
n = snprintf(nvlname, sizeof(nvlname), "res%u", ii);
lib/libcasper/services/cap_dns/cap_dns.c
656
assert(n > 0 && n < (int)sizeof(nvlname));
lib/libcasper/services/cap_dns/cap_dns.c
76
int n;
lib/libcasper/services/cap_dns/cap_dns.c
91
n = snprintf(nvlname, sizeof(nvlname), "alias%u", ii);
lib/libcasper/services/cap_dns/cap_dns.c
92
assert(n > 0 && n < (int)sizeof(nvlname));
lib/libcasper/services/cap_grp/cap_grp.c
116
n = snprintf(nvlname, sizeof(nvlname), "gr_mem[%u]", ii);
lib/libcasper/services/cap_grp/cap_grp.c
117
assert(n > 0 && n < (int)sizeof(nvlname));
lib/libcasper/services/cap_grp/cap_grp.c
130
n = snprintf(nvlname, sizeof(nvlname), "gr_mem[%u]", ii);
lib/libcasper/services/cap_grp/cap_grp.c
131
assert(n > 0 && n < (int)sizeof(nvlname));
lib/libcasper/services/cap_grp/cap_grp.c
415
int n;
lib/libcasper/services/cap_grp/cap_grp.c
427
n = snprintf(nvlname, sizeof(nvlname), "gid%u", i);
lib/libcasper/services/cap_grp/cap_grp.c
428
assert(n > 0 && n < (int)sizeof(nvlname));
lib/libcasper/services/cap_grp/cap_grp.c
432
n = snprintf(nvlname, sizeof(nvlname), "gid%u", i);
lib/libcasper/services/cap_grp/cap_grp.c
433
assert(n > 0 && n < (int)sizeof(nvlname));
lib/libcasper/services/cap_grp/cap_grp.c
588
int n;
lib/libcasper/services/cap_grp/cap_grp.c
615
n = snprintf(nvlname, sizeof(nvlname), "gr_mem[%u]",
lib/libcasper/services/cap_grp/cap_grp.c
617
assert(n > 0 && n < (ssize_t)sizeof(nvlname));
lib/libcasper/services/cap_grp/cap_grp.c
99
int n;
lib/libcasper/services/cap_net/cap_net.c
1031
n = snprintf(nvlname, sizeof(nvlname), "res%u", ii);
lib/libcasper/services/cap_net/cap_net.c
1032
assert(n > 0 && n < (int)sizeof(nvlname));
lib/libcasper/services/cap_net/cap_net.c
112
n = snprintf(nvlname, sizeof(nvlname), "alias%u", ii);
lib/libcasper/services/cap_net/cap_net.c
113
assert(n > 0 && n < (int)sizeof(nvlname));
lib/libcasper/services/cap_net/cap_net.c
129
n = snprintf(nvlname, sizeof(nvlname), "addr%u", ii);
lib/libcasper/services/cap_net/cap_net.c
130
assert(n > 0 && n < (int)sizeof(nvlname));
lib/libcasper/services/cap_net/cap_net.c
291
int error, serrno, n;
lib/libcasper/services/cap_net/cap_net.c
323
n = snprintf(nvlname, sizeof(nvlname), "res%u", ii);
lib/libcasper/services/cap_net/cap_net.c
324
assert(n > 0 && n < (int)sizeof(nvlname));
lib/libcasper/services/cap_net/cap_net.c
754
int n;
lib/libcasper/services/cap_net/cap_net.c
764
n = snprintf(nvlname, sizeof(nvlname), "alias%u", ii);
lib/libcasper/services/cap_net/cap_net.c
765
assert(n > 0 && n < (int)sizeof(nvlname));
lib/libcasper/services/cap_net/cap_net.c
775
n = snprintf(nvlname, sizeof(nvlname), "addr%u", ii);
lib/libcasper/services/cap_net/cap_net.c
776
assert(n > 0 && n < (int)sizeof(nvlname));
lib/libcasper/services/cap_net/cap_net.c
97
int n;
lib/libcasper/services/cap_net/cap_net.c
975
int error, serrno, family, n;
lib/libcasper/services/cap_netdb/cap_netdb.c
100
int n = 0;
lib/libcasper/services/cap_netdb/cap_netdb.c
104
while (pp->p_aliases[n] != NULL)
lib/libcasper/services/cap_netdb/cap_netdb.c
105
++n;
lib/libcasper/services/cap_netdb/cap_netdb.c
107
(const char * const *)pp->p_aliases, n);
lib/libcasper/services/cap_netdb/cap_netdb.c
50
size_t n;
lib/libcasper/services/cap_netdb/cap_netdb.c
60
aliases = nvlist_take_string_array(nvl, "aliases", &n);
lib/libcasper/services/cap_netdb/cap_netdb.c
61
pp->p_aliases = realloc(aliases, sizeof(char *) * (n + 1));
lib/libcasper/services/cap_netdb/cap_netdb.c
63
while (n-- > 0)
lib/libcasper/services/cap_netdb/cap_netdb.c
64
free(aliases[n]);
lib/libcasper/services/cap_netdb/cap_netdb.c
71
pp->p_aliases[n] = NULL;
lib/libcasper/services/cap_netdb/tests/netdb_test.c
69
size_t n = 0;
lib/libcasper/services/cap_netdb/tests/netdb_test.c
78
while (pp->p_aliases[n] != NULL)
lib/libcasper/services/cap_netdb/tests/netdb_test.c
79
++n;
lib/libcasper/services/cap_netdb/tests/netdb_test.c
80
ATF_REQUIRE(n > 0);
lib/libcasper/services/cap_pwd/cap_pwd.c
368
int n;
lib/libcasper/services/cap_pwd/cap_pwd.c
380
n = snprintf(nvlname, sizeof(nvlname), "uid%u", i);
lib/libcasper/services/cap_pwd/cap_pwd.c
381
assert(n > 0 && n < (int)sizeof(nvlname));
lib/libcasper/services/cap_pwd/cap_pwd.c
385
n = snprintf(nvlname, sizeof(nvlname), "name%u", i);
lib/libcasper/services/cap_pwd/cap_pwd.c
386
assert(n > 0 && n < (int)sizeof(nvlname));
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
105
n = read(fd, &val, sz);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
106
ATF_REQUIRE(n >= 0 && (size_t)n == sz);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
78
ssize_t n;
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
89
n = write(fd, &val, sz);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
90
ATF_REQUIRE(n >= 0 && (size_t)n == sz);
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c
98
ssize_t n;
lib/libcrypt/crypt.h
42
extern void _crypt_to64(char *s, u_long v, int n);
lib/libcrypt/crypt.h
43
extern void b64_from_24bit(uint8_t B2, uint8_t B1, uint8_t B0, int n, char **cp);
lib/libcrypt/misc.c
40
_crypt_to64(char *s, u_long v, int n)
lib/libcrypt/misc.c
42
while (--n >= 0) {
lib/libcrypt/misc.c
49
b64_from_24bit(uint8_t B2, uint8_t B1, uint8_t B0, int n, char **cp)
lib/libcrypt/misc.c
55
for (i = 0; i < n; i++) {
lib/libcuse/cuse_lib.c
144
unsigned long n;
lib/libcuse/cuse_lib.c
147
for (n = remainder = 0; n != CUSE_ALLOC_UNIT_MAX; n++) {
lib/libcuse/cuse_lib.c
148
if (a_cuse[n].ptr == NULL)
lib/libcuse/cuse_lib.c
151
ptr_min = a_cuse[n].ptr;
lib/libcuse/cuse_lib.c
152
ptr_max = a_cuse[n].ptr + a_cuse[n].size - 1;
lib/libcuse/cuse_lib.c
161
return ((n << CUSE_ALLOC_UNIT_SHIFT) + remainder);
lib/libcuse/cuse_lib.c
171
unsigned long n;
lib/libcuse/cuse_lib.c
190
for (n = 0; n <= CUSE_ALLOC_UNIT_MAX - m; ) {
lib/libcuse/cuse_lib.c
191
if (a_cuse[n].size != 0) {
lib/libcuse/cuse_lib.c
193
n += howmany(a_cuse[n].size, 1 << CUSE_ALLOC_UNIT_SHIFT);
lib/libcuse/cuse_lib.c
198
if (a_cuse[n + x].size != 0)
lib/libcuse/cuse_lib.c
203
n += x + 1;
lib/libcuse/cuse_lib.c
207
a_cuse[n].size = size;
lib/libcuse/cuse_lib.c
210
info.alloc_nr = n;
lib/libcuse/cuse_lib.c
217
MAP_SHARED, f_cuse, n << CUSE_ALLOC_UNIT_SHIFT);
lib/libcuse/cuse_lib.c
221
a_cuse[n].ptr = ptr;
lib/libcuse/cuse_lib.c
231
a_cuse[n].size = 0;
lib/libcuse/cuse_lib.c
232
n++;
lib/libcuse/cuse_lib.c
241
int n;
lib/libcuse/cuse_lib.c
247
for (n = 0; n != CUSE_ALLOC_UNIT_MAX; n++) {
lib/libcuse/cuse_lib.c
248
if (a_cuse[n].ptr == ptr)
lib/libcuse/cuse_lib.c
253
return (n != CUSE_ALLOC_UNIT_MAX);
lib/libcuse/cuse_lib.c
262
int n;
lib/libcuse/cuse_lib.c
268
for (n = 0; n != CUSE_ALLOC_UNIT_MAX; n++) {
lib/libcuse/cuse_lib.c
269
if (a_cuse[n].ptr != ptr)
lib/libcuse/cuse_lib.c
272
temp = a_cuse[n];
lib/libcuse/cuse_lib.c
280
info.alloc_nr = n;
lib/libcuse/cuse_lib.c
290
a_cuse[n].ptr = NULL;
lib/libcuse/cuse_lib.c
291
a_cuse[n].size = 0;
lib/libefivar/efivar-dp-xlate.c
127
int rv = 0, n, i;
lib/libefivar/efivar-dp-xlate.c
199
n = getfsstat(NULL, 0, MNT_NOWAIT) + 1;
lib/libefivar/efivar-dp-xlate.c
200
if (n < 0) {
lib/libefivar/efivar-dp-xlate.c
204
mntlen = sizeof(struct statfs) * n;
lib/libefivar/efivar-dp-xlate.c
206
n = getfsstat(mnt, mntlen, MNT_NOWAIT);
lib/libefivar/efivar-dp-xlate.c
207
if (n < 0) {
lib/libefivar/efivar-dp-xlate.c
222
for (i = 0; i < n; i++) {
lib/libefivar/efivar-dp-xlate.c
279
if (i >= n)
lib/libefivar/uefi-dplib.h
515
#define StrnCmp(a, b, n) strncmp(a, b, n)
lib/libexecinfo/tests/sigtramp_test.c
27
size_t n, i, match;
lib/libexecinfo/tests/sigtramp_test.c
29
n = backtrace(addresses, nitems(addresses));
lib/libexecinfo/tests/sigtramp_test.c
30
ATF_REQUIRE(n > 1);
lib/libexecinfo/tests/sigtramp_test.c
31
symbols = backtrace_symbols(addresses, n);
lib/libexecinfo/tests/sigtramp_test.c
35
for (i = 0; i < n; i++) {
lib/libexecinfo/tests/sigtramp_test.c
41
printf("match at %zu, symbols %zu\n", match, n);
lib/libfetch/common.h
148
#define ftp_seterr(n) fetch_seterr(ftp_errlist, n)
lib/libfetch/common.h
149
#define http_seterr(n) fetch_seterr(http_errlist, n)
lib/libfetch/common.h
150
#define netdb_seterr(n) fetch_seterr(netdb_errlist, n)
lib/libfetch/common.h
151
#define url_seterr(n) fetch_seterr(url_errlist, n)
lib/libfetch/common.h
152
#define socks5_seterr(n) fetch_seterr(socks5_errlist, n)
lib/libfetch/fetch.c
352
int i, n;
lib/libfetch/fetch.c
420
for (n = 0, q = ++p; *q && (*q != '/'); q++) {
lib/libfetch/fetch.c
421
if (*q >= '0' && *q <= '9' && n < INT_MAX / 10) {
lib/libfetch/fetch.c
422
n = n * 10 + (*q - '0');
lib/libfetch/fetch.c
429
if (p != q && (n < 1 || n > IPPORT_MAX))
lib/libfetch/fetch.c
431
u->port = n;
lib/libfetch/http.c
1570
int e, i, n, val;
lib/libfetch/http.c
1600
n = MAX_REDIRECT;
lib/libfetch/http.c
1871
n = 1;
lib/libfetch/http.c
1909
++n;
lib/libfetch/http.c
1915
++n;
lib/libfetch/http.c
1975
} while (++i < n);
lib/libgssapi/gss_inquire_cred.c
181
gss_name_t n = (gss_name_t)name;
lib/libgssapi/gss_inquire_cred.c
182
if (n)
lib/libgssapi/gss_inquire_cred.c
183
gss_release_name(minor_status, &n);
lib/libiconv_modules/BIG5/citrus_big5.c
180
uint64_t n;
lib/libiconv_modules/BIG5/citrus_big5.c
188
for (n = start; n <= end; ++n)
lib/libiconv_modules/BIG5/citrus_big5.c
189
ei->cell[n & 0xFF] |= i;
lib/libiconv_modules/BIG5/citrus_big5.c
273
char ** __restrict s, size_t n,
lib/libiconv_modules/BIG5/citrus_big5.c
294
if (n < 1)
lib/libiconv_modules/BIG5/citrus_big5.c
298
n--;
lib/libiconv_modules/BIG5/citrus_big5.c
311
if (n < 1) {
lib/libiconv_modules/BIG5/citrus_big5.c
316
n--;
lib/libiconv_modules/BIG5/citrus_big5.c
359
size_t n, wchar_t wc, _BIG5State * __restrict psenc __unused,
lib/libiconv_modules/BIG5/citrus_big5.c
387
if (n < l) {
lib/libiconv_modules/DECHanyu/citrus_dechanyu.c
169
wchar_t * __restrict pwc, char ** __restrict s, size_t n,
lib/libiconv_modules/DECHanyu/citrus_dechanyu.c
186
if (n-- < 1)
lib/libiconv_modules/DECHanyu/citrus_dechanyu.c
222
if (n-- < 1)
lib/libiconv_modules/DECHanyu/citrus_dechanyu.c
229
if (n-- < 1)
lib/libiconv_modules/DECHanyu/citrus_dechanyu.c
238
if (n-- < 1)
lib/libiconv_modules/DECHanyu/citrus_dechanyu.c
250
if (n-- < 1)
lib/libiconv_modules/DECHanyu/citrus_dechanyu.c
278
char * __restrict s, size_t n, wchar_t wc,
lib/libiconv_modules/DECHanyu/citrus_dechanyu.c
306
if (n < psenc->chlen) {
lib/libiconv_modules/EUC/citrus_euc.c
194
size_t n, _EUCState *psenc, size_t *nresult)
lib/libiconv_modules/EUC/citrus_euc.c
213
if (n < 1)
lib/libiconv_modules/EUC/citrus_euc.c
217
n--;
lib/libiconv_modules/EUC/citrus_euc.c
231
if (n < 1)
lib/libiconv_modules/EUC/citrus_euc.c
235
n--;
lib/libiconv_modules/EUC/citrus_euc.c
277
_citrus_EUC_wcrtomb_priv(_EUCEncodingInfo *ei, char *s, size_t n, wchar_t wc,
lib/libiconv_modules/EUC/citrus_euc.c
296
if (n < (unsigned)i) {
lib/libiconv_modules/EUCTW/citrus_euctw.c
180
size_t n, _EUCTWState * __restrict psenc, size_t * __restrict nresult)
lib/libiconv_modules/EUCTW/citrus_euctw.c
199
if (n < 1)
lib/libiconv_modules/EUCTW/citrus_euctw.c
203
n--;
lib/libiconv_modules/EUCTW/citrus_euctw.c
217
if (n < 1)
lib/libiconv_modules/EUCTW/citrus_euctw.c
221
n--;
lib/libiconv_modules/EUCTW/citrus_euctw.c
271
char * __restrict s, size_t n, wchar_t wc,
lib/libiconv_modules/EUCTW/citrus_euctw.c
288
if (n < len) {
lib/libiconv_modules/EUCTW/citrus_euctw.c
296
if (n < len) {
lib/libiconv_modules/EUCTW/citrus_euctw.c
305
if (n < len) {
lib/libiconv_modules/GBK2K/citrus_gbk2k.c
152
wchar_t * __restrict pwc, char ** __restrict s, size_t n,
lib/libiconv_modules/GBK2K/citrus_gbk2k.c
190
if (n-- < 1)
lib/libiconv_modules/GBK2K/citrus_gbk2k.c
252
char * __restrict s, size_t n, wchar_t wc, _GBK2KState * __restrict psenc,
lib/libiconv_modules/GBK2K/citrus_gbk2k.c
264
if (n < len) {
lib/libiconv_modules/HZ/citrus_hz.c
179
wchar_t * __restrict pwc, char ** __restrict s, size_t n,
lib/libiconv_modules/HZ/citrus_hz.c
203
if (n-- < 1) {
lib/libiconv_modules/HZ/citrus_hz.c
303
char * __restrict s, size_t n, wchar_t wc,
lib/libiconv_modules/HZ/citrus_hz.c
366
if (n < 2)
lib/libiconv_modules/HZ/citrus_hz.c
368
n -= 2;
lib/libiconv_modules/HZ/citrus_hz.c
372
if (n < 2)
lib/libiconv_modules/HZ/citrus_hz.c
374
n -= 2;
lib/libiconv_modules/HZ/citrus_hz.c
379
if (n < len)
lib/libiconv_modules/HZ/citrus_hz.c
400
char * __restrict s, size_t n, _HZState * __restrict psenc,
lib/libiconv_modules/HZ/citrus_hz.c
409
if (n < 2)
lib/libiconv_modules/HZ/citrus_hz.c
411
n -= 2;
lib/libiconv_modules/HZ/citrus_hz.c
415
if (n < 1)
lib/libiconv_modules/ISO2022/citrus_iso2022.c
1010
char * __restrict string, size_t n, char ** __restrict result,
lib/libiconv_modules/ISO2022/citrus_iso2022.c
1156
if (n < len) {
lib/libiconv_modules/ISO2022/citrus_iso2022.c
1176
char * __restrict s, size_t n, _ISO2022State * __restrict psenc,
lib/libiconv_modules/ISO2022/citrus_iso2022.c
1192
if (sizeof(buf) < len || n < len-1) {
lib/libiconv_modules/ISO2022/citrus_iso2022.c
1205
char * __restrict s, size_t n, wchar_t wc,
lib/libiconv_modules/ISO2022/citrus_iso2022.c
1221
if (sizeof(buf) < len || n < len) {
lib/libiconv_modules/ISO2022/citrus_iso2022.c
530
seqmatch(const char * __restrict s, size_t n,
lib/libiconv_modules/ISO2022/citrus_iso2022.c
536
while ((size_t)(p - sp->chars) < n && p - sp->chars < sp->len) {
lib/libiconv_modules/ISO2022/citrus_iso2022.c
577
char * __restrict string, size_t n, char ** __restrict result,
lib/libiconv_modules/ISO2022/citrus_iso2022.c
586
if (1 <= n && string[0] == '\017') {
lib/libiconv_modules/ISO2022/citrus_iso2022.c
589
n--;
lib/libiconv_modules/ISO2022/citrus_iso2022.c
592
if (1 <= n && string[0] == '\016') {
lib/libiconv_modules/ISO2022/citrus_iso2022.c
595
n--;
lib/libiconv_modules/ISO2022/citrus_iso2022.c
600
if (1 <= n && string[0] && strchr("\217\216", string[0])) {
lib/libiconv_modules/ISO2022/citrus_iso2022.c
604
n--;
lib/libiconv_modules/ISO2022/citrus_iso2022.c
609
if (1 <= n && string[0] != '\033')
lib/libiconv_modules/ISO2022/citrus_iso2022.c
614
nmatch = seqmatch(string, n, sp);
lib/libiconv_modules/ISO2022/citrus_iso2022.c
615
if (sp->len == nmatch && n >= (size_t)(sp->len))
lib/libiconv_modules/ISO2022/citrus_iso2022.c
652
n -= sp->len;
lib/libiconv_modules/ISO2022/citrus_iso2022.c
657
if (2 <= n && string[0] == '\033' &&
lib/libiconv_modules/ISO2022/citrus_iso2022.c
661
n -= 2;
lib/libiconv_modules/ISO2022/citrus_iso2022.c
667
if (2 <= n && string[0] == '\033' &&
lib/libiconv_modules/ISO2022/citrus_iso2022.c
671
n -= 2;
lib/libiconv_modules/ISO2022/citrus_iso2022.c
676
if (2 <= n && string[0] == '\033' && string[1] &&
lib/libiconv_modules/ISO2022/citrus_iso2022.c
680
n -= 2;
lib/libiconv_modules/ISO2022/citrus_iso2022.c
690
nmatch = seqmatch(string, n, sp);
lib/libiconv_modules/ISO2022/citrus_iso2022.c
698
if (n < (size_t)(sp->len)) {
lib/libiconv_modules/ISO2022/citrus_iso2022.c
699
if ((size_t)(nmatch) == n) {
lib/libiconv_modules/ISO2022/citrus_iso2022.c
717
if (n < 1) {
lib/libiconv_modules/ISO2022/citrus_iso2022.c
746
if (2 <= n &&
lib/libiconv_modules/ISO2022/citrus_iso2022.c
750
if (3 <= n &&
lib/libiconv_modules/ISO2022/citrus_iso2022.c
763
if (1 <= n)
lib/libiconv_modules/ISO2022/citrus_iso2022.c
847
size_t n, _ISO2022State * __restrict psenc, size_t * __restrict nresult)
lib/libiconv_modules/ISO2022/citrus_iso2022.c
877
if (n > 0) {
lib/libiconv_modules/ISO2022/citrus_iso2022.c
879
n--;
lib/libiconv_modules/ISO2022/citrus_iso2022.c
895
if (n == 0) {
lib/libiconv_modules/ISO2022/citrus_iso2022.c
909
wchar = _ISO2022_sgetwchar(ei, s0, n, &result, psenc);
lib/libiconv_modules/ISO2022/citrus_iso2022.c
918
n -= (result - s0);
lib/libiconv_modules/ISO2022/citrus_iso2022.c
920
if (n > 0)
lib/libiconv_modules/ISO2022/citrus_iso2022.c
925
n += c;
lib/libiconv_modules/ISO2022/citrus_iso2022.c
926
if (n < sizeof(psenc->ch)) {
lib/libiconv_modules/ISO2022/citrus_iso2022.c
927
memcpy(psenc->ch, s0 - c, n);
lib/libiconv_modules/ISO2022/citrus_iso2022.c
928
psenc->chlen = n;
lib/libiconv_modules/JOHAB/citrus_johab.c
149
wchar_t * __restrict pwc, char ** __restrict s, size_t n,
lib/libiconv_modules/JOHAB/citrus_johab.c
164
if (n-- < 1)
lib/libiconv_modules/JOHAB/citrus_johab.c
182
if (n-- < 1) {
lib/libiconv_modules/JOHAB/citrus_johab.c
205
char * __restrict s, size_t n, wchar_t wc,
lib/libiconv_modules/JOHAB/citrus_johab.c
215
if (n < 1)
lib/libiconv_modules/JOHAB/citrus_johab.c
220
if (n < 2) {
lib/libiconv_modules/JOHAB/citrus_johab.c
289
int m, n, l, linear, t;
lib/libiconv_modules/JOHAB/citrus_johab.c
299
n = 0x21;
lib/libiconv_modules/JOHAB/citrus_johab.c
302
n = 0x4A;
lib/libiconv_modules/JOHAB/citrus_johab.c
305
l = ((idx >> 8) & 0xFF) - n;
lib/libiconv_modules/MSKanji/citrus_mskanji.c
155
wchar_t * __restrict pwc, char ** __restrict s, size_t n,
lib/libiconv_modules/MSKanji/citrus_mskanji.c
175
if (n < 1)
lib/libiconv_modules/MSKanji/citrus_mskanji.c
179
n--;
lib/libiconv_modules/MSKanji/citrus_mskanji.c
190
if (n < 1)
lib/libiconv_modules/MSKanji/citrus_mskanji.c
194
n--;
lib/libiconv_modules/MSKanji/citrus_mskanji.c
234
char * __restrict s, size_t n, wchar_t wc,
lib/libiconv_modules/MSKanji/citrus_mskanji.c
246
if (n < 2) {
lib/libiconv_modules/MSKanji/citrus_mskanji.c
261
if (n < 1) {
lib/libiconv_modules/UES/citrus_ues.c
189
wchar_t * __restrict pwc, char ** __restrict s, size_t n,
lib/libiconv_modules/UES/citrus_ues.c
210
if (n-- < 1)
lib/libiconv_modules/UES/citrus_ues.c
217
if (n-- < 1)
lib/libiconv_modules/UES/citrus_ues.c
238
if (n-- < 1) {
lib/libiconv_modules/UES/citrus_ues.c
300
char * __restrict s, size_t n, wchar_t wc,
lib/libiconv_modules/UES/citrus_ues.c
309
if (n-- < 1)
lib/libiconv_modules/UES/citrus_ues.c
313
if (n < 6)
lib/libiconv_modules/UES/citrus_ues.c
317
if (n < 12)
lib/libiconv_modules/UES/citrus_ues.c
323
if (n < 10)
lib/libiconv_modules/UTF1632/citrus_utf1632.c
103
char **s, size_t n, _UTF1632State *psenc, size_t *nresult)
lib/libiconv_modules/UTF1632/citrus_utf1632.c
125
if (n == 0)
lib/libiconv_modules/UTF1632/citrus_utf1632.c
128
n--;
lib/libiconv_modules/UTF1632/citrus_utf1632.c
248
_citrus_UTF1632_wcrtomb_priv(_UTF1632EncodingInfo *ei, char *s, size_t n,
lib/libiconv_modules/UTF1632/citrus_utf1632.c
267
if (n < cnt)
lib/libiconv_modules/UTF1632/citrus_utf1632.c
270
s += cnt, n -= cnt;
lib/libiconv_modules/UTF1632/citrus_utf1632.c
282
if (n < 4)
lib/libiconv_modules/UTF1632/citrus_utf1632.c
289
if (n < 2)
lib/libiconv_modules/UTF1632/citrus_utf1632.c
315
if (n < 4)
lib/libiconv_modules/UTF7/citrus_utf7.c
154
uint16_t * __restrict u16, char ** __restrict s, size_t n,
lib/libiconv_modules/UTF7/citrus_utf7.c
165
if (n-- < 1) {
lib/libiconv_modules/UTF7/citrus_utf7.c
243
wchar_t * __restrict pwc, char ** __restrict s, size_t n,
lib/libiconv_modules/UTF7/citrus_utf7.c
256
err = _citrus_UTF7_mbtoutf16(ei, &hi, s, n, psenc, &nr);
lib/libiconv_modules/UTF7/citrus_utf7.c
263
n -= nr;
lib/libiconv_modules/UTF7/citrus_utf7.c
269
err = _citrus_UTF7_mbtoutf16(ei, &lo, s, n, psenc, &nr);
lib/libiconv_modules/UTF7/citrus_utf7.c
299
char * __restrict s, size_t n, uint16_t u16,
lib/libiconv_modules/UTF7/citrus_utf7.c
339
if (n < (size_t)psenc->chlen)
lib/libiconv_modules/UTF7/citrus_utf7.c
350
char * __restrict s, size_t n, wchar_t wchar,
lib/libiconv_modules/UTF7/citrus_utf7.c
374
if (n > sizeof(buf))
lib/libiconv_modules/UTF7/citrus_utf7.c
375
n = sizeof(buf);
lib/libiconv_modules/UTF7/citrus_utf7.c
377
err = _citrus_UTF7_utf16tomb(ei, bufp, n, u16[i], psenc, &nr);
lib/libiconv_modules/UTF7/citrus_utf7.c
384
n -= nr;
lib/libiconv_modules/UTF7/citrus_utf7.c
396
char * __restrict s, size_t n, _UTF7State * __restrict psenc,
lib/libiconv_modules/UTF7/citrus_utf7.c
406
if (n-- < 1)
lib/libiconv_modules/UTF7/citrus_utf7.c
418
if (n-- < 1)
lib/libiconv_modules/UTF8/citrus_utf8.c
181
size_t n, _UTF8State *psenc, size_t *nresult)
lib/libiconv_modules/UTF8/citrus_utf8.c
198
if (n-- < 1)
lib/libiconv_modules/UTF8/citrus_utf8.c
211
if (n-- < 1)
lib/libiconv_modules/UTF8/citrus_utf8.c
244
_citrus_UTF8_wcrtomb_priv(_UTF8EncodingInfo *ei __unused, char *s, size_t n,
lib/libiconv_modules/UTF8/citrus_utf8.c
261
if (n < cnt) {
lib/libiconv_modules/VIQR/citrus_viqr.c
104
mnemonic_ext_find(wchar_t wc, const mnemonic_def_t *head, size_t n)
lib/libiconv_modules/VIQR/citrus_viqr.c
108
for (; n > 0; n >>= 1) {
lib/libiconv_modules/VIQR/citrus_viqr.c
109
mid = head + (n >> 1);
lib/libiconv_modules/VIQR/citrus_viqr.c
114
--n;
lib/libiconv_modules/VIQR/citrus_viqr.c
197
mnemonic_t *m0, *n;
lib/libiconv_modules/VIQR/citrus_viqr.c
199
TAILQ_FOREACH_SAFE(m0, &m->child, entry, n)
lib/libiconv_modules/VIQR/citrus_viqr.c
256
wchar_t * __restrict pwc, char ** __restrict s, size_t n,
lib/libiconv_modules/VIQR/citrus_viqr.c
276
if (n-- < 1) {
lib/libiconv_modules/VIQR/citrus_viqr.c
318
char * __restrict s, size_t n, wchar_t wc,
lib/libiconv_modules/VIQR/citrus_viqr.c
329
if (n-- < 1)
lib/libiconv_modules/VIQR/citrus_viqr.c
340
if (n-- < 1)
lib/libiconv_modules/VIQR/citrus_viqr.c
364
if (n-- < 1)
lib/libiconv_modules/VIQR/citrus_viqr.c
388
char * __restrict s __unused, size_t n __unused,
lib/libiconv_modules/VIQR/citrus_viqr.c
442
size_t i, n;
lib/libiconv_modules/VIQR/citrus_viqr.c
454
n = strlen(s);
lib/libiconv_modules/VIQR/citrus_viqr.c
455
if (ei->mb_cur_max < n)
lib/libiconv_modules/VIQR/citrus_viqr.c
456
ei->mb_cur_max = n;
lib/libiconv_modules/VIQR/citrus_viqr.c
469
n = strlen(p->name);
lib/libiconv_modules/VIQR/citrus_viqr.c
470
if (ei->mb_cur_max < n)
lib/libiconv_modules/VIQR/citrus_viqr.c
471
ei->mb_cur_max = n;
lib/libiconv_modules/ZW/citrus_zw.c
110
wchar_t * __restrict pwc, char **__restrict s, size_t n,
lib/libiconv_modules/ZW/citrus_zw.c
127
if (n-- < 1) { \
lib/libiconv_modules/ZW/citrus_zw.c
255
char *__restrict s, size_t n, wchar_t wc,
lib/libiconv_modules/ZW/citrus_zw.c
267
if (n < 1)
lib/libiconv_modules/ZW/citrus_zw.c
269
n -= 1;
lib/libiconv_modules/ZW/citrus_zw.c
272
if (n < 4)
lib/libiconv_modules/ZW/citrus_zw.c
274
n -= 4;
lib/libiconv_modules/ZW/citrus_zw.c
283
if (n < 2)
lib/libiconv_modules/ZW/citrus_zw.c
285
n -= 2;
lib/libiconv_modules/ZW/citrus_zw.c
305
if (n < 2)
lib/libiconv_modules/ZW/citrus_zw.c
307
n -= 2;
lib/libiconv_modules/ZW/citrus_zw.c
313
if (n < 2)
lib/libiconv_modules/ZW/citrus_zw.c
315
n -= 2;
lib/libiconv_modules/ZW/citrus_zw.c
343
char * __restrict s, size_t n, _ZWState * __restrict psenc,
lib/libiconv_modules/ZW/citrus_zw.c
351
if (n-- < 1)
lib/libiconv_modules/iconv_std/citrus_iconv_std.c
108
_csid_t *csid, _index_t *idx, char **s, size_t n, size_t *nresult,
lib/libiconv_modules/iconv_std/citrus_iconv_std.c
112
return (_stdenc_mbtocs(se->se_handle, csid, idx, s, n, se->se_ps,
lib/libiconv_modules/iconv_std/citrus_iconv_std.c
118
char *s, size_t n, _csid_t csid, _index_t idx, size_t *nresult,
lib/libiconv_modules/iconv_std/citrus_iconv_std.c
122
return (_stdenc_cstomb(se->se_handle, s, n, csid, idx, se->se_ps,
lib/libiconv_modules/iconv_std/citrus_iconv_std.c
128
char *s, size_t n, _wc_t wc, size_t *nresult,
lib/libiconv_modules/iconv_std/citrus_iconv_std.c
132
return (_stdenc_wctomb(se->se_handle, s, n, wc, se->se_ps, nresult,
lib/libiconv_modules/iconv_std/citrus_iconv_std.c
137
put_state_resetx(struct _citrus_iconv_std_encoding *se, char *s, size_t n,
lib/libiconv_modules/iconv_std/citrus_iconv_std.c
141
return (_stdenc_put_state_reset(se->se_handle, s, n, se->se_ps, nresult));
lib/libiconv_modules/mapper_std/citrus_mapper_std.c
106
idx = idx * lz->width + n - lz->begin;
lib/libiconv_modules/mapper_std/citrus_mapper_std.c
155
uint32_t m, n;
lib/libiconv_modules/mapper_std/citrus_mapper_std.c
163
n = 1U << (m - 1);
lib/libiconv_modules/mapper_std/citrus_mapper_std.c
164
n |= n - 1;
lib/libiconv_modules/mapper_std/citrus_mapper_std.c
166
rc->rc_src_rowcol_mask = n;
lib/libiconv_modules/mapper_std/citrus_mapper_std.c
175
n = be32toh(rcx->rcx_src_row_end);
lib/libiconv_modules/mapper_std/citrus_mapper_std.c
176
if (m + n > 0) {
lib/libiconv_modules/mapper_std/citrus_mapper_std.c
177
ret = set_linear_zone(lz, m, n);
lib/libiconv_modules/mapper_std/citrus_mapper_std.c
186
n = be32toh(rcx->rcx_src_col_end);
lib/libiconv_modules/mapper_std/citrus_mapper_std.c
188
return (set_linear_zone(lz, m, n));
lib/libiconv_modules/mapper_std/citrus_mapper_std.c
198
uint32_t m, n;
lib/libiconv_modules/mapper_std/citrus_mapper_std.c
207
n = 1 << (m - 1);
lib/libiconv_modules/mapper_std/citrus_mapper_std.c
208
n |= n - 1;
lib/libiconv_modules/mapper_std/citrus_mapper_std.c
210
rc->rc_src_rowcol_mask = n;
lib/libiconv_modules/mapper_std/citrus_mapper_std.c
222
n = be32toh(rcx->rcx_src_rowcol[i].end);
lib/libiconv_modules/mapper_std/citrus_mapper_std.c
223
ret = set_linear_zone(lz, m, n);
lib/libiconv_modules/mapper_std/citrus_mapper_std.c
84
_index_t idx = 0, n;
lib/libiconv_modules/mapper_std/citrus_mapper_std.c
94
n = (src >> i) & rc->rc_src_rowcol_mask;
lib/libiconv_modules/mapper_std/citrus_mapper_std.c
95
if (n < lz->begin || n > lz->end) {
lib/libifconfig/libifconfig_media.c
353
size_t n;
lib/libifconfig/libifconfig_media.c
361
n = 0;
lib/libifconfig/libifconfig_media.c
368
++n;
lib/libifconfig/libifconfig_media.c
371
if (n == 0) {
lib/libifconfig/libifconfig_media.c
376
options = calloc(n + 1, sizeof(*options));
lib/libifconfig/libifconfig_media.c
380
options[n] = NULL;
lib/libifconfig/libifconfig_media.c
381
n = 0;
lib/libifconfig/libifconfig_media.c
388
options[n] = desc->ifmt_string;
lib/libifconfig/libifconfig_media.c
389
++n;
lib/libkiconv/quirks.c
93
#define NumOf(n) (sizeof((n)) / sizeof((n)[0]))
lib/libkvm/kvm_amd64.c
70
size_t n;
lib/libkvm/kvm_amd64.c
78
n = vm->phnum;
lib/libkvm/kvm_amd64.c
79
while (n && (pa < p->p_paddr || pa >= p->p_paddr + p->p_memsz))
lib/libkvm/kvm_amd64.c
80
p++, n--;
lib/libkvm/kvm_amd64.c
81
if (n == 0)
lib/libkvm/kvm_arm.c
69
size_t n;
lib/libkvm/kvm_arm.c
72
n = vm->phnum;
lib/libkvm/kvm_arm.c
73
while (n && (pa < p->p_paddr || pa >= p->p_paddr + p->p_memsz))
lib/libkvm/kvm_arm.c
74
p++, n--;
lib/libkvm/kvm_arm.c
75
if (n == 0)
lib/libkvm/kvm_i386.c
75
size_t n;
lib/libkvm/kvm_i386.c
83
n = vm->phnum;
lib/libkvm/kvm_i386.c
84
while (n && (pa < p->p_paddr || pa >= p->p_paddr + p->p_memsz))
lib/libkvm/kvm_i386.c
85
p++, n--;
lib/libkvm/kvm_i386.c
86
if (n == 0)
lib/libkvm/kvm_minidump_powerpc64_hpt.c
278
int i, n;
lib/libkvm/kvm_minidump_powerpc64_hpt.c
282
n = data->slbsize / sizeof(ppc64_slb_entry_t);
lib/libkvm/kvm_minidump_powerpc64_hpt.c
285
for (i = 0; i < n; i++, slb++) {
lib/libkvm/kvm_minidump_powerpc64_hpt.c
300
if (i == n) {
lib/libkvm/kvm_minidump_powerpc64_hpt.c
535
int i, n;
lib/libkvm/kvm_minidump_powerpc64_hpt.c
539
n = data->slbsize / sizeof(ppc64_slb_entry_t);
lib/libkvm/kvm_minidump_powerpc64_hpt.c
543
for (i = 0; i < n; i++, slb++) {
lib/libkvm/kvm_minidump_powerpc64_hpt.c
551
if (i == n) {
lib/libkvm/kvm_private.c
109
n = strlen(cp);
lib/libkvm/kvm_private.c
110
(void)snprintf(&cp[n], sizeof(kd->errbuf) - n, ": %s",
lib/libkvm/kvm_private.c
117
_kvm_malloc(kvm_t *kd, size_t n)
lib/libkvm/kvm_private.c
121
if ((p = calloc(n, sizeof(char))) == NULL)
lib/libkvm/kvm_private.c
123
n, strerror(errno));
lib/libkvm/kvm_private.c
566
struct kvm_nlist *n, *np, *p;
lib/libkvm/kvm_private.c
593
n = np = malloc(len);
lib/libkvm/kvm_private.c
594
bzero(n, len);
lib/libkvm/kvm_private.c
595
if (n == NULL)
lib/libkvm/kvm_private.c
620
np = n;
lib/libkvm/kvm_private.c
656
free(n);
lib/libkvm/kvm_private.c
98
int n;
lib/libkvm/kvm_proc.c
691
_kvm_realloc(kvm_t *kd, void *p, size_t n)
lib/libkvm/kvm_proc.c
695
np = reallocf(p, n);
lib/liblua/luaconf.h
409
#define lua_number2str(s,sz,n) \
lib/liblua/luaconf.h
410
l_sprintf((s), sz, LUA_NUMBER_FMT, (LUAI_UACNUMBER)(n))
lib/liblua/luaconf.h
421
#define lua_numbertointeger(n,p) \
lib/liblua/luaconf.h
422
((n) >= (LUA_NUMBER)(LUA_MININTEGER) && \
lib/liblua/luaconf.h
423
(n) < -(LUA_NUMBER)(LUA_MININTEGER) && \
lib/liblua/luaconf.h
424
(*(p) = (LUA_INTEGER)(n), 1))
lib/liblua/luaconf.h
433
#define l_floatatt(n) (FLT_##n)
lib/liblua/luaconf.h
449
#define l_floatatt(n) (LDBL_##n)
lib/liblua/luaconf.h
464
#define l_floatatt(n) (DBL_##n)
lib/liblua/luaconf.h
506
#define lua_integer2str(s,sz,n) \
lib/liblua/luaconf.h
507
l_sprintf((s), sz, LUA_INTEGER_FMT, (LUAI_UACINT)(n))
lib/liblua/luaconf.h
624
#define lua_number2strx(L,b,sz,f,n) \
lib/liblua/luaconf.h
625
((void)L, l_sprintf(b,sz,f,(LUAI_UACNUMBER)(n)))
lib/liblua/luaconf.h
749
#define LUAI_MAXALIGN lua_Number n; double u; void *s; lua_Integer i; long l
lib/libmd/rmd_locl.h
114
#define p_c2l(c,l,n) { \
lib/libmd/rmd_locl.h
115
switch (n) { \
lib/libmd/rmd_locl.h
125
#define c2l_p(c,l,n) { \
lib/libmd/rmd_locl.h
127
(c)+=n; \
lib/libmd/rmd_locl.h
128
switch (n) { \
lib/libmd/rmd_locl.h
155
#define ROTATE(a,n) _lrotl(a,n)
lib/libmd/rmd_locl.h
157
#define ROTATE(a,n) (((a)<<(n))|(((a)&0xffffffff)>>(32-(n))))
lib/libmd/rmd_locl.h
68
#define p_c2nl(c,l,n) { \
lib/libmd/rmd_locl.h
69
switch (n) { \
lib/libmd/rmd_locl.h
79
#define c2nl_p(c,l,n) { \
lib/libmd/rmd_locl.h
81
(c)+=n; \
lib/libmd/rmd_locl.h
82
switch (n) { \
lib/libmd/sha1c.c
100
size_t n = len & ~(size_t)(SHA_CBLOCK - 1);
lib/libmd/sha1c.c
102
sha1_block(c, p, n);
lib/libmd/sha1c.c
103
p += n;
lib/libmd/sha1c.c
104
len -= n;
lib/libmd/sha1c.c
83
size_t n = SHA_CBLOCK - c->num;
lib/libmd/sha1c.c
85
if (n > len)
lib/libmd/sha1c.c
86
n = len;
lib/libmd/sha1c.c
88
memcpy((char *)c->data + c->num, p, n);
lib/libmd/sha1c.c
89
c->num += n;
lib/libmd/sha1c.c
95
p += n;
lib/libmd/sha1c.c
96
len -= n;
lib/libmd/sha_locl.h
127
#define p_c2l(c,l,n) { \
lib/libmd/sha_locl.h
128
switch (n) { \
lib/libmd/sha_locl.h
138
#define c2l_p(c,l,n) { \
lib/libmd/sha_locl.h
140
(c)+=n; \
lib/libmd/sha_locl.h
141
switch (n) { \
lib/libmd/sha_locl.h
168
#define ROTATE(a,n) _lrotl(a,n)
lib/libmd/sha_locl.h
170
#define ROTATE(a,n) (((a)<<(n))|(((a)&0xffffffff)>>(32-(n))))
lib/libmd/sha_locl.h
81
#define p_c2nl(c,l,n) { \
lib/libmd/sha_locl.h
82
switch (n) { \
lib/libmd/sha_locl.h
92
#define c2nl_p(c,l,n) { \
lib/libmd/sha_locl.h
94
(c)+=n; \
lib/libmd/sha_locl.h
95
switch (n) { \
lib/libmemstat/memstat.h
122
size_t memstat_malloc_zone_get_size(size_t n);
lib/libmemstat/memstat.h
123
int memstat_malloc_zone_used(const struct memory_type *mtp, size_t n);
lib/libmemstat/memstat_malloc.c
525
memstat_malloc_zone_get_size(size_t n)
lib/libmemstat/memstat_malloc.c
528
if (n >= nitems(memstat_malloc_zone_sizes)) {
lib/libmemstat/memstat_malloc.c
532
return (memstat_malloc_zone_sizes[n]);
lib/libmemstat/memstat_malloc.c
536
memstat_malloc_zone_used(const struct memory_type *mtp, size_t n)
lib/libmemstat/memstat_malloc.c
539
if (memstat_get_sizemask(mtp) & (1 << n))
lib/libmixer/mixer.c
501
size_t n;
lib/libmixer/mixer.c
508
n = strlcpy(buf, BASEPATH, size);
lib/libmixer/mixer.c
510
n = snprintf(buf, size, BASEPATH "%d", unit);
lib/libmixer/mixer.c
512
if (n >= size) {
lib/libmixer/mixer.h
32
#define MIX_ISSET(n,f) (((1U << (n)) & (f)) ? 1 : 0)
lib/libmixer/mixer.h
33
#define MIX_ISDEV(m,n) MIX_ISSET(n, (m)->devmask)
lib/libmixer/mixer.h
34
#define MIX_ISMUTE(m,n) MIX_ISSET(n, (m)->mutemask)
lib/libmixer/mixer.h
35
#define MIX_ISREC(m,n) MIX_ISSET(n, (m)->recmask)
lib/libmixer/mixer.h
36
#define MIX_ISRECSRC(m,n) MIX_ISSET(n, (m)->recsrc)
lib/libmp/mpasbn.c
164
_itom(const char *msg, short n)
lib/libmp/mpasbn.c
169
asprintf(&s, "%x", n);
lib/libmp/mpasbn.c
178
mp_itom(short n)
lib/libmp/mpasbn.c
181
return (_itom("itom", n));
lib/libnetbsd/efun.c
105
emalloc(size_t n)
lib/libnetbsd/efun.c
107
void *p = malloc(n);
lib/libnetbsd/efun.c
108
if (p == NULL && n != 0)
lib/libnetbsd/efun.c
109
(*efunc)(1, "Cannot allocate %zu bytes", n);
lib/libnetbsd/efun.c
114
ecalloc(size_t n, size_t s)
lib/libnetbsd/efun.c
116
void *p = calloc(n, s);
lib/libnetbsd/efun.c
117
if (p == NULL && n != 0 && s != 0)
lib/libnetbsd/efun.c
118
(*efunc)(1, "Cannot allocate %zu blocks of size %zu", n, s);
lib/libnetbsd/efun.c
123
erealloc(void *p, size_t n)
lib/libnetbsd/efun.c
125
void *q = realloc(p, n);
lib/libnetbsd/efun.c
126
if (q == NULL && n != 0)
lib/libnetbsd/efun.c
127
(*efunc)(1, "Cannot re-allocate %zu bytes", n);
lib/libnetgraph/msg.c
233
int n;
lib/libnetgraph/msg.c
238
n = poll(&rfds, 1, INFTIM);
lib/libnetgraph/msg.c
239
if (n == -1) {
lib/libnetmap/nmport.c
876
u_int c, n = d->last_tx_ring - d->first_tx_ring + 1,
lib/libnetmap/nmport.c
879
for (c = 0; c < n ; c++, ri++) {
lib/libnv/msgio.c
309
unsigned int n;
lib/libnv/msgio.c
316
n = (cmsg->cmsg_len - CMSG_LEN(0)) / sizeof(int);
lib/libnv/msgio.c
317
if (i + n > nfds) {
lib/libnv/msgio.c
321
bcopy(CMSG_DATA(cmsg), fds + i, sizeof(int) * n);
lib/libnv/msgio.c
323
i += n;
lib/libnv/tests/nvlist_send_recv_test.c
388
int error, mib[4], n;
lib/libnv/tests/nvlist_send_recv_test.c
395
len = sizeof(n);
lib/libnv/tests/nvlist_send_recv_test.c
396
error = sysctl(mib, nitems(mib), &n, &len, NULL, 0);
lib/libnv/tests/nvlist_send_recv_test.c
399
return (n);
lib/libopenbsd/imsg-buffer.c
150
ssize_t n;
lib/libopenbsd/imsg-buffer.c
162
if ((n = writev(msgbuf->fd, iov, i)) == -1) {
lib/libopenbsd/imsg-buffer.c
170
if (n == 0) { /* connection closed */
lib/libopenbsd/imsg-buffer.c
175
msgbuf_drain(msgbuf, n);
lib/libopenbsd/imsg-buffer.c
196
msgbuf_drain(struct msgbuf *msgbuf, size_t n)
lib/libopenbsd/imsg-buffer.c
200
for (buf = TAILQ_FIRST(&msgbuf->bufs); buf != NULL && n > 0;
lib/libopenbsd/imsg-buffer.c
203
if (buf->rpos + n >= buf->wpos) {
lib/libopenbsd/imsg-buffer.c
204
n -= buf->wpos - buf->rpos;
lib/libopenbsd/imsg-buffer.c
207
buf->rpos += n;
lib/libopenbsd/imsg-buffer.c
208
n = 0;
lib/libopenbsd/imsg-buffer.c
228
ssize_t n;
lib/libopenbsd/imsg-buffer.c
263
if ((n = sendmsg(msgbuf->fd, &msg, 0)) == -1) {
lib/libopenbsd/imsg-buffer.c
271
if (n == 0) { /* connection closed */
lib/libopenbsd/imsg-buffer.c
285
msgbuf_drain(msgbuf, n);
lib/libopenbsd/imsg.c
120
return (n);
lib/libopenbsd/imsg.c
56
ssize_t n = -1;
lib/libopenbsd/imsg.c
82
if ((n = recvmsg(ibuf->fd, &msg, 0)) == -1) {
lib/libopenbsd/imsg.c
88
ibuf->r.wpos += n;
lib/libopenbsd/ohash.c
102
while (n[i].p != NULL) {
lib/libopenbsd/ohash.c
107
n[i].hv = h->t[j].hv;
lib/libopenbsd/ohash.c
108
n[i].p = h->t[j].p;
lib/libopenbsd/ohash.c
112
h->t = n;
lib/libopenbsd/ohash.c
73
struct _ohash_record *n;
lib/libopenbsd/ohash.c
94
n = (h->info.calloc)(ns, sizeof(struct _ohash_record), h->info.data);
lib/libopenbsd/ohash.c
95
if (!n)
lib/libpam/modules/pam_exec/pam_exec.c
55
#define PAM_ITEM_ENV(n) { (n), #n }
lib/libpam/modules/pam_krb5/pam_krb5.c
1051
compat_princ_component(krb5_context context __unused, krb5_principal princ, int n)
lib/libpam/modules/pam_krb5/pam_krb5.c
1053
return princ->name.name_string.val[n];
lib/libpam/modules/pam_krb5/pam_krb5.c
1066
compat_princ_component(krb5_context context, krb5_principal princ, int n)
lib/libpam/modules/pam_krb5/pam_krb5.c
1068
return krb5_princ_component(context, princ, n)->data;
lib/libpam/modules/pam_unix/pam_unix.c
469
to64(char *s, long v, int n)
lib/libpam/modules/pam_unix/pam_unix.c
471
while (--n >= 0) {
lib/libpjdlog/pjdlog.c
104
size_t n, int *argt)
lib/libpjdlog/pjdlog.c
107
assert(n >= 1);
lib/libpjdlog/pjdlog.c
78
size_t n, int *argt)
lib/libpjdlog/pjdlog.c
81
assert(n >= 1);
lib/libpmc/libpmc.c
1190
const unsigned char *c, *n;
lib/libpmc/libpmc.c
1193
n = (const unsigned char *) name;
lib/libpmc/libpmc.c
1195
for (; (nc = *n) && (cc = *c); n++, c++) {
lib/libpmc/libpmc.c
1208
if (*n == '\0' && *c == '\0')
lib/libpmc/libpmc.c
1224
size_t n;
lib/libpmc/libpmc.c
1228
for (n = 0; n < pcd->pm_evc_event_table_size; n++, ev++)
lib/libpmc/libpmc.c
1244
size_t n;
lib/libpmc/libpmc.c
1305
for (n = 0; n < PMC_CLASS_TABLE_SIZE; n++) {
lib/libpmc/libpmc.c
1306
pcd = pmc_class_table[n];
lib/libpmc/libpmc.c
1322
for (n = 0; ev == NULL && n < PMC_CLASS_TABLE_SIZE; n++) {
lib/libpmc/libpmc.c
1323
pcd = pmc_class_table[n];
lib/libpmc/libpmc.c
1597
unsigned int n;
lib/libpmc/libpmc.c
1634
for (n = 0; n < op_cpu_info.pm_nclass; n++)
lib/libpmc/libpmc.c
1635
memcpy(&cpu_info.pm_classes[n], &op_cpu_info.pm_classes[n],
lib/libpmc/libpmc.c
1636
sizeof(cpu_info.pm_classes[n]));
lib/libpmc/libpmc.c
1652
for (n = 0; n < soft_event_info.pm_nevent; n++) {
lib/libpmc/libpmc.c
1653
soft_event_table[n].pm_ev_name =
lib/libpmc/libpmc.c
1654
soft_event_info.pm_events[n].pm_ev_name;
lib/libpmc/libpmc.c
1655
soft_event_table[n].pm_ev_code =
lib/libpmc/libpmc.c
1656
soft_event_info.pm_events[n].pm_ev_code;
lib/libpmc/libpmc.c
1666
n = 0;
lib/libpmc/libpmc.c
1671
pmc_class_table[n++] = &tsc_class_table_descr;
lib/libpmc/libpmc.c
1675
pmc_class_table[n++] = &rapl_class_table_descr;
lib/libpmc/libpmc.c
1679
pmc_class_table[n++] = &k8_class_table_descr;
lib/libpmc/libpmc.c
1683
pmc_class_table[n++] = &ibs_class_table_descr;
lib/libpmc/libpmc.c
1688
pmc_class_table[n++] = &soft_class_table_descr;
lib/libpmc/libpmc.c
1695
pmc_class_table[n++] =
lib/libpmc/libpmc.c
1699
pmc_class_table[n++] =
lib/libpmc/libpmc.c
1713
pmc_class_table[n++] =
lib/libpmc/libpmc.c
1717
pmc_class_table[n++] =
lib/libpmc/libpmc.c
1721
pmc_class_table[n++] =
lib/libpmc/libpmc.c
1731
pmc_class_table[n++] =
lib/libpmc/libpmc.c
1736
pmc_class_table[n++] = &dmc620_pmu_c_class_table_descr;
lib/libpmc/libpmc.c
1740
pmc_class_table[n++] = &cmn600_pmu_class_table_descr;
lib/libpmc/libpmc.c
1746
pmc_class_table[n++] = &ppc7450_class_table_descr;
lib/libpmc/libpmc.c
1750
pmc_class_table[n++] = &ppc970_class_table_descr;
lib/libpmc/libpmc.c
1754
pmc_class_table[n++] = &e500_class_table_descr;
lib/libpmc/libpmc.c
1847
size_t n;
lib/libpmc/libpmc.c
1849
for (n = 0; n < PMC_TABLE_SIZE(pmc_class_names); n++)
lib/libpmc/libpmc.c
1850
if (pc == pmc_class_names[n].pm_class)
lib/libpmc/libpmc.c
1851
return (pmc_class_names[n].pm_name);
lib/libpmc/libpmc.c
1860
size_t n;
lib/libpmc/libpmc.c
1862
for (n = 0; n < PMC_TABLE_SIZE(pmc_cputype_names); n++)
lib/libpmc/libpmc.c
1863
if (cp == pmc_cputype_names[n].pm_cputype)
lib/libpmc/libpmc.c
1864
return (pmc_cputype_names[n].pm_name);
lib/libpmc/libpmc.c
1968
const char *n;
lib/libpmc/libpmc.c
1970
if ((n = _pmc_name_of_event(pe, cpu_info.pm_cputype)) != NULL)
lib/libpmc/libpmc.c
1971
return (n);
lib/libpmc/libpmc.c
558
int n;
lib/libpmc/libpmc.c
658
if ((n = pmc_parse_mask(pmask, p, &evmask)) < 0)
lib/libpmc/pmu-events/jevents.c
1021
int n = 16384;
lib/libpmc/pmu-events/jevents.c
1031
line = malloc(n);
lib/libpmc/pmu-events/jevents.c
1046
p = fgets(line, n, mapfp);
lib/libpmc/pmu-events/jevents.c
1055
p = fgets(line, n, mapfp);
lib/libpmc/pmu-events/jevents.c
912
int n;
lib/libpmc/pmu-events/jevents.c
921
n = asprintf(&tblname, "pme_%s", fname);
lib/libpmc/pmu-events/jevents.c
922
if (n < 0) {
lib/libpmc/pmu-events/list.h
163
#define list_safe_reset_next(ptr, n, member) \
lib/libpmc/pmu-events/list.h
164
(n) = list_next_entry(ptr, member)
lib/libpmc/pmu-events/list.h
172
#define list_for_each_safe(p, n, head) \
lib/libpmc/pmu-events/list.h
173
for (p = (head)->next, n = (p)->next; p != (head); p = n, n = (p)->next)
lib/libpmc/pmu-events/list.h
179
#define list_for_each_entry_safe(p, n, h, field) \
lib/libpmc/pmu-events/list.h
181
n = list_entry((p)->field.next, typeof(*p), field); &(p)->field != (h);\
lib/libpmc/pmu-events/list.h
182
p = n, n = list_entry(n->field.next, typeof(*n), field))
lib/libpmc/pmu-events/list.h
192
#define list_for_each_entry_safe_from(pos, n, head, member) \
lib/libpmc/pmu-events/list.h
193
for (n = list_entry((pos)->member.next, typeof(*pos), member); \
lib/libpmc/pmu-events/list.h
195
pos = n, n = list_entry(n->member.next, typeof(*n), member))
lib/libpmc/pmu-events/list.h
201
#define list_for_each_entry_safe_reverse(p, n, h, field) \
lib/libpmc/pmu-events/list.h
203
n = list_entry((p)->field.prev, typeof(*p), field); &(p)->field != (h); \
lib/libpmc/pmu-events/list.h
204
p = n, n = list_entry(n->field.prev, typeof(*n), field))
lib/libpmc/pmu-events/list.h
325
hlist_del(struct hlist_node *n)
lib/libpmc/pmu-events/list.h
328
if (n->next)
lib/libpmc/pmu-events/list.h
329
n->next->pprev = n->pprev;
lib/libpmc/pmu-events/list.h
330
*n->pprev = n->next;
lib/libpmc/pmu-events/list.h
334
hlist_del_init(struct hlist_node *n)
lib/libpmc/pmu-events/list.h
337
if (hlist_unhashed(n))
lib/libpmc/pmu-events/list.h
339
hlist_del(n);
lib/libpmc/pmu-events/list.h
340
INIT_HLIST_NODE(n);
lib/libpmc/pmu-events/list.h
344
hlist_add_head(struct hlist_node *n, struct hlist_head *h)
lib/libpmc/pmu-events/list.h
347
n->next = h->first;
lib/libpmc/pmu-events/list.h
349
h->first->pprev = &n->next;
lib/libpmc/pmu-events/list.h
350
h->first = n;
lib/libpmc/pmu-events/list.h
351
n->pprev = &h->first;
lib/libpmc/pmu-events/list.h
355
hlist_add_before(struct hlist_node *n, struct hlist_node *next)
lib/libpmc/pmu-events/list.h
358
n->pprev = next->pprev;
lib/libpmc/pmu-events/list.h
359
n->next = next;
lib/libpmc/pmu-events/list.h
360
next->pprev = &n->next;
lib/libpmc/pmu-events/list.h
361
*(n->pprev) = n;
lib/libpmc/pmu-events/list.h
365
hlist_add_after(struct hlist_node *n, struct hlist_node *next)
lib/libpmc/pmu-events/list.h
368
next->next = n->next;
lib/libpmc/pmu-events/list.h
369
n->next = next;
lib/libpmc/pmu-events/list.h
370
next->pprev = &n->next;
lib/libpmc/pmu-events/list.h
427
#define hlist_for_each_safe(p, n, head) \
lib/libpmc/pmu-events/list.h
428
for (p = (head)->first; p && ({ n = (p)->next; 1; }); p = n)
lib/libpmc/pmu-events/list.h
447
#define hlist_for_each_entry_safe(pos, n, head, member) \
lib/libpmc/pmu-events/list.h
449
(pos) && ({ n = (pos)->member.next; 1; }); \
lib/libpmc/pmu-events/list.h
450
pos = hlist_entry_safe(n, typeof(*(pos)), member))
lib/libpmcstat/libpmcstat_image.c
104
for (n = newsyms = 0; n < nshsyms; n++) {
lib/libpmcstat/libpmcstat_image.c
105
if (gelf_getsym(data, (int) n, &sym) != &sym)
lib/libpmcstat/libpmcstat_image.c
64
size_t n, newsyms, nshsyms, nfuncsyms;
lib/libpmcstat/libpmcstat_image.c
79
for (n = nfuncsyms = 0; n < nshsyms; n++) {
lib/libpmcstat/libpmcstat_image.c
80
if (gelf_getsym(data, (int) n, &sym) != &sym)
lib/libproc/proc_sym.c
209
size_t n;
lib/libproc/proc_sym.c
214
if ((n = strlcat(path, "/", PATH_MAX)) >= PATH_MAX)
lib/libproc/proc_sym.c
226
path[n] = '\0';
lib/libprocstat/core.c
323
ssize_t n;
lib/libprocstat/core.c
327
n = read(core->pc_fd, buf, len);
lib/libprocstat/core.c
328
if (n == -1) {
lib/libprocstat/core.c
332
if (n < (ssize_t)len) {
lib/libprocstat/core.c
388
ssize_t n;
lib/libprocstat/core.c
443
n = core_read_mem(core, p, chunksz, addr, false);
lib/libprocstat/core.c
444
if (n == -1)
lib/libprocstat/core.c
471
int n;
lib/libprocstat/core.c
481
for (n = 0; offset < eoffset; n++) {
lib/libprocstat/core.c
515
return (n);
lib/libradius/radlib.c
1240
int n;
lib/libradius/radlib.c
1242
n = rad_init_send_request(h, &fd, &tv);
lib/libradius/radlib.c
1244
if (n != 0)
lib/libradius/radlib.c
1245
return n;
lib/libradius/radlib.c
1256
n = select(fd + 1, &readfds, NULL, NULL, &tv);
lib/libradius/radlib.c
1258
if (n == -1) {
lib/libradius/radlib.c
1272
n = rad_continue_send_request(h, n, &fd, &tv);
lib/libradius/radlib.c
1274
if (n != 0)
lib/libradius/radlib.c
1275
return n;
lib/libradius/radlib.c
682
int n, cur_srv;
lib/libradius/radlib.c
779
n = sendto(h->fd, h->out, h->out_len, 0,
lib/libradius/radlib.c
782
if (n != h->out_len)
lib/libradius/radlib.c
798
int n;
lib/libradius/radlib.c
812
for (n = 0; n < h->num_servers; n++) {
lib/libradius/radlib.c
813
if (h->servers[n].addr.sin_addr.s_addr == from.sin_addr.s_addr) {
lib/libradius/radlib.c
814
h->servers[n].addr.sin_port = from.sin_port;
lib/libradius/radlib.c
815
h->srv = n;
lib/libradius/radlib.c
833
int n;
lib/libradius/radlib.c
848
n = sendto(h->fd, h->out, h->out_len, 0,
lib/libradius/radlib.c
851
if (n != h->out_len) {
lib/libradius/radlib.c
852
if (n == -1)
lib/libsecureboot/brf.c
368
ta->pkey.key.rsa.n = xblobdup(pk->key.rsa.n, pk->key.rsa.nlen);
lib/libsecureboot/brf.c
394
xfree(ta->pkey.key.rsa.n);
lib/libsecureboot/h/libsecureboot.h
56
#define DEBUG_PRINTF(n, x) if (DebugVe >= n) printf x
lib/libsecureboot/h/verify_file.h
58
int hash_string(char *s, size_t n, char *buf, size_t bufsz);
lib/libsecureboot/openpgp/dearmor.c
103
size_t n, x;
lib/libsecureboot/openpgp/dearmor.c
128
data = read_file(infile, &n);
lib/libsecureboot/openpgp/dearmor.c
130
data = dearmor(data, n, &n);
lib/libsecureboot/openpgp/dearmor.c
131
for (x = 0; x < n; ) {
lib/libsecureboot/openpgp/dearmor.c
132
o = write(fd, &data[x], (n - x));
lib/libsecureboot/openpgp/decode.c
32
octets2hex(unsigned char *ptr, size_t n)
lib/libsecureboot/openpgp/decode.c
38
hex = malloc(2 * n + 1);
lib/libsecureboot/openpgp/decode.c
40
for (i = 0, cp = hex; i < n; i++) {
lib/libsecureboot/openpgp/decode.c
48
i2octets(int n, size_t i)
lib/libsecureboot/openpgp/decode.c
53
if (n > 15)
lib/libsecureboot/openpgp/decode.c
55
for (j = 0, x = n - 1; x >= 0; x--, j++) {
lib/libsecureboot/openpgp/decode.c
62
octets2i(unsigned char *ptr, size_t n)
lib/libsecureboot/openpgp/decode.c
67
for (val = i = 0; i < n; i++) {
lib/libsecureboot/openpgp/decode.c
68
val |= (*ptr++ << ((n - i - 1) * 8));
lib/libsecureboot/openpgp/decode.h
48
unsigned char * i2octets(int n, size_t i);
lib/libsecureboot/openpgp/decode.h
49
int octets2i(unsigned char *ptr, size_t n);
lib/libsecureboot/openpgp/decode.h
50
char * octets2hex(unsigned char *ptr, size_t n);
lib/libsecureboot/openpgp/opgp_key.c
121
key->key->n = mpi2bn(&ptr, &key->key->nlen);
lib/libsecureboot/openpgp/opgp_key.c
127
rsa->n = mpi2bn(&ptr);
lib/libsecureboot/openpgp/opgp_key.c
130
if (!key->key || !rsa->n || !rsa->e) {
lib/libsecureboot/openpgp/opgp_key.c
283
size_t n;
lib/libsecureboot/openpgp/opgp_key.c
286
data = read_file(kfile, &n);
lib/libsecureboot/openpgp/opgp_key.c
287
key = load_key_buf(data, n);
lib/libsecureboot/openpgp/opgp_key.c
315
size_t n;
lib/libsecureboot/openpgp/opgp_key.c
318
n = (size_t)snprintf(kfile, sizeof(kfile), "%s/%s", *tp, keyID);
lib/libsecureboot/openpgp/opgp_key.c
319
if (n >= sizeof(kfile))
lib/libsecureboot/openpgp/opgp_key.c
357
size_t n;
lib/libsecureboot/openpgp/opgp_key.c
365
n = strlen(cp);
lib/libsecureboot/openpgp/opgp_key.c
366
key = load_key_buf((unsigned char *)cp, n);
lib/libsecureboot/openpgp/opgp_sig.c
118
int n;
lib/libsecureboot/openpgp/opgp_sig.c
120
n = tag; /* avoid unused */
lib/libsecureboot/openpgp/opgp_sig.c
161
sp = decode_subpacket(&ptr, &stag, &n);
lib/libsecureboot/openpgp/opgp_sig.c
162
hcount -= n;
lib/libsecureboot/openpgp/opgp_sig.c
168
sp = decode_subpacket(&ptr, &stag, &n);
lib/libsecureboot/openpgp/opgp_sig.c
169
ucount -= n;
lib/libsecureboot/openpgp/opgp_sig.c
439
int n;
lib/libsecureboot/openpgp/opgp_sig.c
442
n = snprintf(pbuf, sizeof(pbuf), "%s%s", filename, *ep);
lib/libsecureboot/openpgp/opgp_sig.c
443
if (n >= (int)sizeof(pbuf)) {
lib/libsecureboot/openpgp/opgp_sig.c
471
size_t n;
lib/libsecureboot/openpgp/opgp_sig.c
477
n = strlcpy(pbuf, sigfile, sizeof(pbuf));
lib/libsecureboot/openpgp/opgp_sig.c
478
if (n < sizeof(pbuf)) {
lib/libsecureboot/readfile.c
31
int m, n, x;
lib/libsecureboot/readfile.c
37
n = read(fd, &buf[x], m);
lib/libsecureboot/readfile.c
38
if (n < 0)
lib/libsecureboot/readfile.c
40
if (n > 0) {
lib/libsecureboot/readfile.c
41
m -= n;
lib/libsecureboot/readfile.c
42
x += n;
lib/libsecureboot/tests/tvo.c
45
int n;
lib/libsecureboot/tests/tvo.c
58
n = ve_trust_init();
lib/libsecureboot/tests/tvo.c
78
n = ve_trust_add(optarg);
lib/libsecureboot/tests/tvo.c
79
printf("Local trust %s: %d\n", optarg, n);
lib/libsecureboot/tests/tvo.c
97
printf("Trust %d\n", n);
lib/libsecureboot/vectx.c
236
int n;
lib/libsecureboot/vectx.c
252
d = n = read(ctx->vec_fd, &bp[off], x);
lib/libsecureboot/vectx.c
253
if (ctx->vec_closing && n < x) {
lib/libsecureboot/vectx.c
256
__func__, n, (long)ctx->vec_off,
lib/libsecureboot/vectx.c
259
if (n < 0) {
lib/libsecureboot/vectx.c
260
return (n);
lib/libsecureboot/vectx.c
284
} while (n > 0 && off < nbytes);
lib/libsecureboot/vectx.c
314
ssize_t n;
lib/libsecureboot/vectx.c
329
n = vectx_read(ctx, buf, PAGE_SIZE);
lib/libsecureboot/vectx.c
330
if (n < 0)
lib/libsecureboot/vectx.c
331
return (n);
lib/libsecureboot/vectx.c
332
} while (n > 0);
lib/libsecureboot/vectx.c
35
# define DEBUG_PRINTF(n, x) if (vectx_debug >= n) printf x
lib/libsecureboot/vectx.c
369
n = 0;
lib/libsecureboot/vectx.c
374
n = vectx_read(ctx, buf, delta);
lib/libsecureboot/vectx.c
375
if (n < 0)
lib/libsecureboot/vectx.c
376
return (n);
lib/libsecureboot/vectx.c
378
} while (ctx->vec_off < off && n > 0);
lib/libsecureboot/veopen.c
106
n = 0;
lib/libsecureboot/veopen.c
113
n++;
lib/libsecureboot/veopen.c
117
if (n > 0) {
lib/libsecureboot/veopen.c
118
n--;
lib/libsecureboot/veopen.c
121
if (n == 0)
lib/libsecureboot/veopen.c
198
size_t n, plen, nlen, nplen;
lib/libsecureboot/veopen.c
203
n = strlcpy(pbuf, path, sizeof(pbuf));
lib/libsecureboot/veopen.c
204
if (n >= sizeof(pbuf))
lib/libsecureboot/veopen.c
240
nlen = n - plen - 1;
lib/libsecureboot/veopen.c
247
nlen = n - 1;
lib/libsecureboot/veopen.c
250
nlen = n;
lib/libsecureboot/veopen.c
354
int n;
lib/libsecureboot/veopen.c
389
n = read(fd, buf, sizeof(buf));
lib/libsecureboot/veopen.c
390
if (n < 0)
lib/libsecureboot/veopen.c
391
return (n);
lib/libsecureboot/veopen.c
392
if (n > 0)
lib/libsecureboot/veopen.c
393
md->update(&mctx.vtable, buf, n);
lib/libsecureboot/veopen.c
394
} while (n > 0);
lib/libsecureboot/veopen.c
75
int n;
lib/libsecureboot/vepcr.c
145
int n;
lib/libsecureboot/vepcr.c
147
n = 0;
lib/libsecureboot/vepcr.c
158
n = snprintf(&hinfo[x], nbytes - x, "%s,", cp);
lib/libsecureboot/vepcr.c
159
x += n;
lib/libsecureboot/verify_file.c
180
size_t n;
lib/libsecureboot/verify_file.c
185
n = strlen(name);
lib/libsecureboot/verify_file.c
186
if (n > 4) {
lib/libsecureboot/verify_file.c
664
hash_string(char *s, size_t n, char *buf, size_t bufsz)
lib/libsecureboot/verify_file.c
683
if (n == 0)
lib/libsecureboot/verify_file.c
684
n = strlen(s);
lib/libsecureboot/verify_file.c
686
md->update(&mctx.vtable, s, n);
lib/libsecureboot/vets.c
1041
int n;
lib/libsecureboot/vets.c
1050
n = 2*hlen;
lib/libsecureboot/vets.c
1051
if ((rc = strncmp(hex, want, n))) {
lib/libsecureboot/vets.c
1052
ve_error_set("%s: %.*s != %.*s", path, n, hex, n, want);
lib/libsecureboot/vets.c
1072
#define ve_test_hash(n, N) \
lib/libsecureboot/vets.c
1073
printf("Testing hash: " #n "\t\t\t\t%s\n", \
lib/libsecureboot/vets.c
1074
test_hash(&br_ ## n ## _vtable, br_ ## n ## _SIZE, #n, \
lib/libsecureboot/vets.c
70
ve_anchor_verbose_set(int n)
lib/libsecureboot/vets.c
72
anchor_verbose = n;
lib/libsecureboot/vets.c
82
ve_debug_set(int n)
lib/libsecureboot/vets.c
84
DebugVe = n;
lib/libsecureboot/vets.c
954
size_t n;
lib/libsecureboot/vets.c
957
n = strlcpy(pbuf, sigfile, sizeof(pbuf));
lib/libsecureboot/vets.c
958
if (n > (sizeof(pbuf) - 5) || strcmp(&sigfile[n - 3], "sig") != 0)
lib/libsecureboot/vets.c
960
cp = strcpy(&pbuf[n - 3], "certs");
lib/libsysdecode/flags.c
80
#define TABLE_START(n) static struct name_table n[] = {
lib/libsysdecode/linux.c
54
#define TABLE_START(n) static struct name_table n[] = {
lib/libtacplus/taclib.c
491
int n;
lib/libtacplus/taclib.c
493
n = read(h->fd, ptr, len);
lib/libtacplus/taclib.c
494
if (n == -1) {
lib/libtacplus/taclib.c
525
} else if (n == 0) {
lib/libtacplus/taclib.c
529
ptr += n;
lib/libtacplus/taclib.c
530
len -= n;
lib/libtacplus/taclib.c
643
int n;
lib/libtacplus/taclib.c
645
n = write(h->fd, ptr, len);
lib/libtacplus/taclib.c
646
if (n == -1) {
lib/libtacplus/taclib.c
678
ptr += n;
lib/libtacplus/taclib.c
679
len -= n;
lib/libthr/arch/arm/thr_rtld_arm.c
42
void __aeabi_memset(void *dest, size_t n, int c);
lib/libthr/arch/arm/thr_rtld_arm.c
43
void __aeabi_memclr(void *dest, size_t n);
lib/libthr/arch/arm/thr_rtld_arm.c
44
void __aeabi_memmove(void *dest, void *src, size_t n);
lib/libthr/arch/arm/thr_rtld_arm.c
45
void __aeabi_memcpy(void *dest, void *src, size_t n);
lib/libthr/arch/arm/thr_rtld_arm.c
46
void __aeabi_memcmp(void *dest, void *src, size_t n);
lib/libunbound/config.h
1458
void *memmove(void *dest, const void *src, size_t n);
lib/libunbound/config.h
1522
int memcmp(const void *x, const void *y, size_t n);
lib/libunbound/config.h
1587
void arc4random_buf(void* buf, size_t n);
lib/libunbound/config.h
1635
# define calloc(n,s) unbound_stat_calloc_log(n, s, __FILE__, __LINE__, __func__)
lib/libunbound/config.h
1640
# define reallocarray(p,n,s) unbound_stat_reallocarray_log(p, n, s, __FILE__, __LINE__, __func__)
lib/libusb/libusb10_desc.c
46
#define N_ALIGN(n) (-((-(n)) & (-8UL)))
lib/libusb/libusb10_io.c
689
uint32_t n;
lib/libusb/libusb10_io.c
701
for (n = 0; n != off; n++) {
lib/libusb/libusb10_io.c
702
ptr += transfer->iso_packet_desc[n].length;
lib/libusb/libusb10_io.c
730
int n;
lib/libusb/libusb10_io.c
735
for (n = 0; n != transfer->num_iso_packets; n++)
lib/libusb/libusb10_io.c
736
transfer->iso_packet_desc[n].length = length;
lib/libusb/libusb20.c
894
uint16_t n;
lib/libusb/libusb20.c
929
n = (temp[0] / 2) - 1;
lib/libusb/libusb20.c
930
if (n > len) {
lib/libusb/libusb20.c
931
n = len;
lib/libusb/libusb20.c
940
for (i = 0; (i != n); i++) {
lib/libusb/libusb20_desc.h
114
#define LIBUSB20_ME_STRUCT(n, field, arg, ismeta) \
lib/libusb/libusb20_desc.h
118
#define LIBUSB20_ME_STRUCT_ARRAY(n, field, arg, ismeta) \
lib/libusb/libusb20_desc.h
123
#define LIBUSB20_ME_INTEGER(n, field, ismeta, un, u, bits, a, size) \
lib/libusb/libusb20_desc.h
130
#define LIBUSB20_ME_UINT8_T(n, field, arg, ismeta) \
lib/libusb/libusb20_desc.h
131
LIBUSB20_ME_INTEGER(n, field, ismeta, UN, u, 8, , 1)
lib/libusb/libusb20_desc.h
133
#define LIBUSB20_ME_UINT8_ARRAY_T(n, field, arg, ismeta) \
lib/libusb/libusb20_desc.h
134
LIBUSB20_ME_INTEGER(n, field, ismeta, UN, u, 8, [arg], arg)
lib/libusb/libusb20_desc.h
136
#define LIBUSB20_ME_SINT8_T(n, field, arg, ismeta) \
lib/libusb/libusb20_desc.h
137
LIBUSB20_ME_INTEGER(n, field, ismeta,,, 8, , 1)
lib/libusb/libusb20_desc.h
139
#define LIBUSB20_ME_SINT8_ARRAY_T(n, field, arg, ismeta) \
lib/libusb/libusb20_desc.h
140
LIBUSB20_ME_INTEGER(n, field, ismeta,,, 8, [arg], arg)
lib/libusb/libusb20_desc.h
142
#define LIBUSB20_ME_UINT16_T(n, field, arg, ismeta) \
lib/libusb/libusb20_desc.h
143
LIBUSB20_ME_INTEGER(n, field, ismeta, UN, u, 16, , 1)
lib/libusb/libusb20_desc.h
145
#define LIBUSB20_ME_UINT16_ARRAY_T(n, field, arg, ismeta) \
lib/libusb/libusb20_desc.h
146
LIBUSB20_ME_INTEGER(n, field, ismeta, UN, u, 16, [arg], arg)
lib/libusb/libusb20_desc.h
148
#define LIBUSB20_ME_SINT16_T(n, field, arg, ismeta) \
lib/libusb/libusb20_desc.h
149
LIBUSB20_ME_INTEGER(n, field, ismeta,,, 16, , 1)
lib/libusb/libusb20_desc.h
151
#define LIBUSB20_ME_SINT16_ARRAY_T(n, field, arg, ismeta) \
lib/libusb/libusb20_desc.h
152
LIBUSB20_ME_INTEGER(n, field, ismeta,,, 16, [arg], arg)
lib/libusb/libusb20_desc.h
154
#define LIBUSB20_ME_UINT32_T(n, field, arg, ismeta) \
lib/libusb/libusb20_desc.h
155
LIBUSB20_ME_INTEGER(n, field, ismeta, UN, u, 32, , 1)
lib/libusb/libusb20_desc.h
157
#define LIBUSB20_ME_UINT32_ARRAY_T(n, field, arg, ismeta) \
lib/libusb/libusb20_desc.h
158
LIBUSB20_ME_INTEGER(n, field, ismeta, UN, u, 32, [arg], arg)
lib/libusb/libusb20_desc.h
160
#define LIBUSB20_ME_SINT32_T(n, field, arg, ismeta) \
lib/libusb/libusb20_desc.h
161
LIBUSB20_ME_INTEGER(n, field, ismeta,,, 32, , 1)
lib/libusb/libusb20_desc.h
163
#define LIBUSB20_ME_SINT32_ARRAY_T(n, field, arg, ismeta) \
lib/libusb/libusb20_desc.h
164
LIBUSB20_ME_INTEGER(n, field, ismeta,,, 32, [arg], arg)
lib/libusb/libusb20_desc.h
166
#define LIBUSB20_ME_UINT64_T(n, field, arg, ismeta) \
lib/libusb/libusb20_desc.h
167
LIBUSB20_ME_INTEGER(n, field, ismeta, UN, u, 64, , 1)
lib/libusb/libusb20_desc.h
169
#define LIBUSB20_ME_UINT64_ARRAY_T(n, field, arg, ismeta) \
lib/libusb/libusb20_desc.h
170
LIBUSB20_ME_INTEGER(n, field, ismeta, UN, u, 64, [arg], arg)
lib/libusb/libusb20_desc.h
172
#define LIBUSB20_ME_SINT64_T(n, field, arg, ismeta) \
lib/libusb/libusb20_desc.h
173
LIBUSB20_ME_INTEGER(n, field, ismeta,,, 64, , 1)
lib/libusb/libusb20_desc.h
175
#define LIBUSB20_ME_SINT64_ARRAY_T(n, field, arg, ismeta) \
lib/libusb/libusb20_desc.h
176
LIBUSB20_ME_INTEGER(n, field, ismeta,,, 64, [arg], arg)
lib/libusb/libusb20_desc.h
178
#define LIBUSB20_MAKE_DECODED_FIELD(n, type, field, arg) \
lib/libusb/libusb20_desc.h
179
LIBUSB20_ME_##type (n, field, arg, LIBUSB20_NO)
lib/libusb/libusb20_desc.h
197
#define LIBUSB20_MAKE_FORMAT_SUB(n, type, field, arg) \
lib/libusb/libusb20_desc.h
198
LIBUSB20_ME_##type (n, field, arg, LIBUSB20_YES)
lib/libusb/libusb20_desc.h
208
#define LIBUSB20_DEVICE_DESC(m,n) \
lib/libusb/libusb20_desc.h
209
m(n, UINT8_T, bLength, ) \
lib/libusb/libusb20_desc.h
210
m(n, UINT8_T, bDescriptorType, ) \
lib/libusb/libusb20_desc.h
211
m(n, UINT16_T, bcdUSB, ) \
lib/libusb/libusb20_desc.h
212
m(n, UINT8_T, bDeviceClass, ) \
lib/libusb/libusb20_desc.h
213
m(n, UINT8_T, bDeviceSubClass, ) \
lib/libusb/libusb20_desc.h
214
m(n, UINT8_T, bDeviceProtocol, ) \
lib/libusb/libusb20_desc.h
215
m(n, UINT8_T, bMaxPacketSize0, ) \
lib/libusb/libusb20_desc.h
216
m(n, UINT16_T, idVendor, ) \
lib/libusb/libusb20_desc.h
217
m(n, UINT16_T, idProduct, ) \
lib/libusb/libusb20_desc.h
218
m(n, UINT16_T, bcdDevice, ) \
lib/libusb/libusb20_desc.h
219
m(n, UINT8_T, iManufacturer, ) \
lib/libusb/libusb20_desc.h
220
m(n, UINT8_T, iProduct, ) \
lib/libusb/libusb20_desc.h
221
m(n, UINT8_T, iSerialNumber, ) \
lib/libusb/libusb20_desc.h
222
m(n, UINT8_T, bNumConfigurations, ) \
lib/libusb/libusb20_desc.h
226
#define LIBUSB20_ENDPOINT_DESC(m,n) \
lib/libusb/libusb20_desc.h
227
m(n, UINT8_T, bLength, ) \
lib/libusb/libusb20_desc.h
228
m(n, UINT8_T, bDescriptorType, ) \
lib/libusb/libusb20_desc.h
229
m(n, UINT8_T, bEndpointAddress, ) \
lib/libusb/libusb20_desc.h
230
m(n, UINT8_T, bmAttributes, ) \
lib/libusb/libusb20_desc.h
231
m(n, UINT16_T, wMaxPacketSize, ) \
lib/libusb/libusb20_desc.h
232
m(n, UINT8_T, bInterval, ) \
lib/libusb/libusb20_desc.h
233
m(n, UINT8_T, bRefresh, ) \
lib/libusb/libusb20_desc.h
234
m(n, UINT8_T, bSynchAddress, ) \
lib/libusb/libusb20_desc.h
238
#define LIBUSB20_INTERFACE_DESC(m,n) \
lib/libusb/libusb20_desc.h
239
m(n, UINT8_T, bLength, ) \
lib/libusb/libusb20_desc.h
240
m(n, UINT8_T, bDescriptorType, ) \
lib/libusb/libusb20_desc.h
241
m(n, UINT8_T, bInterfaceNumber, ) \
lib/libusb/libusb20_desc.h
242
m(n, UINT8_T, bAlternateSetting, ) \
lib/libusb/libusb20_desc.h
243
m(n, UINT8_T, bNumEndpoints, ) \
lib/libusb/libusb20_desc.h
244
m(n, UINT8_T, bInterfaceClass, ) \
lib/libusb/libusb20_desc.h
245
m(n, UINT8_T, bInterfaceSubClass, ) \
lib/libusb/libusb20_desc.h
246
m(n, UINT8_T, bInterfaceProtocol, ) \
lib/libusb/libusb20_desc.h
247
m(n, UINT8_T, iInterface, ) \
lib/libusb/libusb20_desc.h
251
#define LIBUSB20_INTERFACE_ASSOCIATION_DESC(m,n) \
lib/libusb/libusb20_desc.h
252
m(n, UINT8_T, bLength, ) \
lib/libusb/libusb20_desc.h
253
m(n, UINT8_T, bDescriptorType, ) \
lib/libusb/libusb20_desc.h
254
m(n, UINT8_T, bFirstInterface, ) \
lib/libusb/libusb20_desc.h
255
m(n, UINT8_T, bInterfaceCount, ) \
lib/libusb/libusb20_desc.h
256
m(n, UINT8_T, bFunctionClass, ) \
lib/libusb/libusb20_desc.h
257
m(n, UINT8_T, bFunctionSubClass, ) \
lib/libusb/libusb20_desc.h
258
m(n, UINT8_T, bFunctionProtocol, ) \
lib/libusb/libusb20_desc.h
259
m(n, UINT8_T, iFunction, ) \
lib/libusb/libusb20_desc.h
263
#define LIBUSB20_CONFIG_DESC(m,n) \
lib/libusb/libusb20_desc.h
264
m(n, UINT8_T, bLength, ) \
lib/libusb/libusb20_desc.h
265
m(n, UINT8_T, bDescriptorType, ) \
lib/libusb/libusb20_desc.h
266
m(n, UINT16_T, wTotalLength, ) \
lib/libusb/libusb20_desc.h
267
m(n, UINT8_T, bNumInterfaces, ) \
lib/libusb/libusb20_desc.h
268
m(n, UINT8_T, bConfigurationValue, ) \
lib/libusb/libusb20_desc.h
269
m(n, UINT8_T, iConfiguration, ) \
lib/libusb/libusb20_desc.h
270
m(n, UINT8_T, bmAttributes, ) \
lib/libusb/libusb20_desc.h
271
m(n, UINT8_T, bMaxPower, ) \
lib/libusb/libusb20_desc.h
275
#define LIBUSB20_CONTROL_SETUP(m,n) \
lib/libusb/libusb20_desc.h
276
m(n, UINT8_T, bmRequestType, ) \
lib/libusb/libusb20_desc.h
277
m(n, UINT8_T, bRequest, ) \
lib/libusb/libusb20_desc.h
278
m(n, UINT16_T, wValue, ) \
lib/libusb/libusb20_desc.h
279
m(n, UINT16_T, wIndex, ) \
lib/libusb/libusb20_desc.h
280
m(n, UINT16_T, wLength, ) \
lib/libusb/libusb20_desc.h
284
#define LIBUSB20_SS_ENDPT_COMP_DESC(m,n) \
lib/libusb/libusb20_desc.h
285
m(n, UINT8_T, bLength, ) \
lib/libusb/libusb20_desc.h
286
m(n, UINT8_T, bDescriptorType, ) \
lib/libusb/libusb20_desc.h
287
m(n, UINT8_T, bMaxBurst, ) \
lib/libusb/libusb20_desc.h
288
m(n, UINT8_T, bmAttributes, ) \
lib/libusb/libusb20_desc.h
289
m(n, UINT16_T, wBytesPerInterval, ) \
lib/libusb/libusb20_desc.h
293
#define LIBUSB20_USB_20_DEVCAP_DESC(m,n) \
lib/libusb/libusb20_desc.h
294
m(n, UINT8_T, bLength, ) \
lib/libusb/libusb20_desc.h
295
m(n, UINT8_T, bDescriptorType, ) \
lib/libusb/libusb20_desc.h
296
m(n, UINT8_T, bDevCapabilityType, ) \
lib/libusb/libusb20_desc.h
297
m(n, UINT32_T, bmAttributes, ) \
lib/libusb/libusb20_desc.h
301
#define LIBUSB20_SS_USB_DEVCAP_DESC(m,n) \
lib/libusb/libusb20_desc.h
302
m(n, UINT8_T, bLength, ) \
lib/libusb/libusb20_desc.h
303
m(n, UINT8_T, bDescriptorType, ) \
lib/libusb/libusb20_desc.h
304
m(n, UINT8_T, bDevCapabilityType, ) \
lib/libusb/libusb20_desc.h
305
m(n, UINT8_T, bmAttributes, ) \
lib/libusb/libusb20_desc.h
306
m(n, UINT16_T, wSpeedSupported, ) \
lib/libusb/libusb20_desc.h
307
m(n, UINT8_T, bFunctionalitySupport, ) \
lib/libusb/libusb20_desc.h
308
m(n, UINT8_T, bU1DevExitLat, ) \
lib/libusb/libusb20_desc.h
309
m(n, UINT16_T, wU2DevExitLat, ) \
lib/libusb/libusb20_desc.h
317
#define LIBUSB20_BOS_DESCRIPTOR(m,n) \
lib/libusb/libusb20_desc.h
318
m(n, UINT8_T, bLength, ) \
lib/libusb/libusb20_desc.h
319
m(n, UINT8_T, bDescriptorType, ) \
lib/libusb/libusb20_desc.h
320
m(n, UINT16_T, wTotalLength, ) \
lib/libusb/libusb20_desc.h
321
m(n, UINT8_T, bNumDeviceCaps, ) \
lib/libusb/libusb20_int.h
118
#define LIBUSB20_DEVICE(m,n) \
lib/libusb/libusb20_int.h
119
m(n, detach_kernel_driver) \
lib/libusb/libusb20_int.h
120
m(n, attach_kernel_driver) \
lib/libusb/libusb20_int.h
121
m(n, do_request_sync) \
lib/libusb/libusb20_int.h
122
m(n, get_config_desc_full) \
lib/libusb/libusb20_int.h
123
m(n, get_config_index) \
lib/libusb/libusb20_int.h
124
m(n, kernel_driver_active) \
lib/libusb/libusb20_int.h
125
m(n, process) \
lib/libusb/libusb20_int.h
126
m(n, reset_device) \
lib/libusb/libusb20_int.h
127
m(n, check_connected) \
lib/libusb/libusb20_int.h
128
m(n, set_power_mode) \
lib/libusb/libusb20_int.h
129
m(n, get_power_mode) \
lib/libusb/libusb20_int.h
130
m(n, get_power_usage) \
lib/libusb/libusb20_int.h
131
m(n, get_stats) \
lib/libusb/libusb20_int.h
132
m(n, set_alt_index) \
lib/libusb/libusb20_int.h
133
m(n, set_config_index) \
lib/libusb/libusb20_int.h
134
m(n, tr_cancel_async) \
lib/libusb/libusb20_int.h
135
m(n, tr_clear_stall_sync) \
lib/libusb/libusb20_int.h
136
m(n, tr_close) \
lib/libusb/libusb20_int.h
137
m(n, tr_open) \
lib/libusb/libusb20_int.h
138
m(n, tr_submit) \
lib/libusb/libusb20_int.h
61
#define LIBUSB20_DEFINE(n,field) \
lib/libusb/libusb20_int.h
64
#define LIBUSB20_DECLARE(n,field) \
lib/libusb/libusb20_int.h
65
/* .field = */ n##_##field,
lib/libusb/libusb20_int.h
67
#define LIBUSB20_BACKEND(m,n) \
lib/libusb/libusb20_int.h
69
m(n, get_backend_name) \
lib/libusb/libusb20_int.h
71
m(n, init_backend) \
lib/libusb/libusb20_int.h
72
m(n, exit_backend) \
lib/libusb/libusb20_int.h
73
m(n, dev_get_info) \
lib/libusb/libusb20_int.h
74
m(n, dev_get_iface_desc) \
lib/libusb/libusb20_int.h
75
m(n, root_get_dev_quirk) \
lib/libusb/libusb20_int.h
76
m(n, root_get_quirk_name) \
lib/libusb/libusb20_int.h
77
m(n, root_add_dev_quirk) \
lib/libusb/libusb20_int.h
78
m(n, root_remove_dev_quirk) \
lib/libusb/libusb20_int.h
79
m(n, root_set_template) \
lib/libusb/libusb20_int.h
80
m(n, root_get_template) \
lib/libusb/libusb20_int.h
82
m(n, open_device) \
lib/libusb/libusb20_int.h
83
m(n, close_device) \
lib/libusbhid/usage.c
105
n = strdup(name);
lib/libusbhid/usage.c
106
if (!n)
lib/libusbhid/usage.c
121
curpage->page_contents[curpage->pagesize].name = n;
lib/libusbhid/usage.c
140
curpage->name = n;
lib/libusbhid/usage.c
76
char line[100], name[100], *p, *n;
lib/libutil/property.c
122
if (n >= PROPERTY_MAX_NAME) {
lib/libutil/property.c
123
n = 0;
lib/libutil/property.c
127
hold_n[n++] = ch;
lib/libutil/property.c
142
hold_n[n] = '\0';
lib/libutil/property.c
144
v = n = 0;
lib/libutil/property.c
150
hold_n[n] = '\0';
lib/libutil/property.c
151
v = n = 0;
lib/libutil/property.c
155
hold_n[n++] = ch;
lib/libutil/property.c
161
v = n = 0;
lib/libutil/property.c
172
v = n = 0;
lib/libutil/property.c
178
v = n = 0;
lib/libutil/property.c
191
n = v = 0;
lib/libutil/property.c
195
v = n = 0;
lib/libutil/property.c
217
v = n = 0;
lib/libutil/property.c
46
properties n;
lib/libutil/property.c
48
if ((n = (properties)malloc(sizeof(struct _property))) == NULL)
lib/libutil/property.c
50
n->next = NULL;
lib/libutil/property.c
52
if ((n->name = strdup(name)) == NULL) {
lib/libutil/property.c
53
free(n);
lib/libutil/property.c
57
n->name = NULL;
lib/libutil/property.c
59
if ((n->value = strdup(value)) == NULL) {
lib/libutil/property.c
60
free(n->name);
lib/libutil/property.c
61
free(n);
lib/libutil/property.c
65
n->value = NULL;
lib/libutil/property.c
66
return (n);
lib/libutil/property.c
76
int bp, n, v, max;
lib/libutil/property.c
80
n = v = bp = max = 0;
lib/libveriexec/exec_script.c
50
int n;
lib/libveriexec/exec_script.c
54
if ((n = read(fd, buf, sizeof(buf))) > 0) {
lib/libveriexec/exec_script.c
58
if ((n = strspn(cp, ws)) > 0)
lib/libveriexec/exec_script.c
59
cp += n;
lib/libveriexec/exec_script.c
60
if ((n = strcspn(cp, ws)) > 0) {
lib/libveriexec/exec_script.c
61
cp[n] = '\0';
lib/libveriexec/veriexec_get.c
202
size_t n;
lib/libveriexec/veriexec_get.c
205
(n = strlen(want)) > 0 &&
lib/libveriexec/veriexec_get.c
208
want, n);
lib/libveriexec/veriexec_get.c
232
size_t n;
lib/libveriexec/veriexec_get.c
235
(n = strlen(want)) > 0 &&
lib/libveriexec/veriexec_get.c
238
want, n);
lib/libveriexec/veriexec_get.c
252
size_t n;
lib/libveriexec/veriexec_get.c
256
n = 20;
lib/libveriexec/veriexec_get.c
258
n = 32;
lib/libveriexec/veriexec_get.c
260
n = 48;
lib/libveriexec/veriexec_get.c
262
for (i = 0; i < n; i++) {
lib/libvmmapi/vmmapi.c
1014
int error, i, n;
lib/libvmmapi/vmmapi.c
1028
n = MIN(len, PAGE_SIZE - off);
lib/libvmmapi/vmmapi.c
1030
va = vm_map_gpa(vcpu->ctx, gpa, n);
lib/libvmmapi/vmmapi.c
1035
iov->iov_len = n;
lib/libvmmapi/vmmapi.c
1039
gla += n;
lib/libvmmapi/vmmapi.c
1040
len -= n;
lib/libvmmapi/vmmapi.c
1061
size_t n;
lib/libvmmapi/vmmapi.c
1066
n = min(len, iov->iov_len);
lib/libvmmapi/vmmapi.c
1068
bcopy(src, dst, n);
lib/libvmmapi/vmmapi.c
1071
dst += n;
lib/libvmmapi/vmmapi.c
1072
len -= n;
lib/libvmmapi/vmmapi.c
1081
size_t n;
lib/libvmmapi/vmmapi.c
1086
n = min(len, iov->iov_len);
lib/libvmmapi/vmmapi.c
1088
bcopy(src, dst, n);
lib/libvmmapi/vmmapi.c
1091
src += n;
lib/libvmmapi/vmmapi.c
1092
len -= n;
lib/libvmmapi/vmmapi.c
393
size_t n;
lib/libvmmapi/vmmapi.c
426
n = strlcpy(memseg.name, name, sizeof(memseg.name));
lib/libvmmapi/vmmapi.c
427
if (n >= sizeof(memseg.name)) {
lib/libvmmapi/vmmapi.c
442
size_t n;
lib/libvmmapi/vmmapi.c
450
n = strlcpy(namebuf, memseg.name, bufsize);
lib/libvmmapi/vmmapi.c
451
if (n >= bufsize) {
lib/msun/ld128/e_lgammal_r.c
187
uint64_t lx, n;
lib/msun/ld128/e_lgammal_r.c
198
EXTRACT_LDBL128_WORDS(hx,lx,n,vz);
lib/msun/ld128/e_lgammal_r.c
202
n--;
lib/msun/ld128/e_lgammal_r.c
204
n &= 7;
lib/msun/ld128/e_lgammal_r.c
205
y = y - z + n * 0.25;
lib/msun/ld128/e_lgammal_r.c
207
switch (n) {
lib/msun/ld128/e_powl.c
150
int32_t i, j, k, yisint, n;
lib/msun/ld128/e_powl.c
282
n = 0;
lib/msun/ld128/e_powl.c
287
n -= 113;
lib/msun/ld128/e_powl.c
291
n += ((ix) >> 16) - 0x3fff;
lib/msun/ld128/e_powl.c
302
n += 1;
lib/msun/ld128/e_powl.c
354
t = (long double) n;
lib/msun/ld128/e_powl.c
406
n = 0;
lib/msun/ld128/e_powl.c
409
n = floorl (z + 0.5L);
lib/msun/ld128/e_powl.c
410
t = n;
lib/msun/ld128/e_powl.c
431
j += (n << 16);
lib/msun/ld128/e_powl.c
433
z = scalbnl (z, n); /* subnormal output */
lib/msun/ld128/e_rem_pio2l.h
105
return n;
lib/msun/ld128/e_rem_pio2l.h
125
n = __kernel_rem_pio2(tx,ty,e0,nx,3);
lib/msun/ld128/e_rem_pio2l.h
129
if(expsign<0) {y[0] = -r; y[1] = -w; return -n;}
lib/msun/ld128/e_rem_pio2l.h
130
y[0] = r; y[1] = w; return n;
lib/msun/ld128/e_rem_pio2l.h
63
int64_t n;
lib/msun/ld128/e_rem_pio2l.h
75
n = i64rint(fn);
lib/msun/ld128/k_expl.h
241
int n, n2;
lib/msun/ld128/k_expl.h
245
n = irint(fn);
lib/msun/ld128/k_expl.h
246
n2 = (unsigned)n % INTERVALS;
lib/msun/ld128/k_expl.h
248
*kp = n >> LOG2_INTERVALS;
lib/msun/ld128/s_expl.c
205
int k, n, n2;
lib/msun/ld128/s_expl.c
268
n = irint(fn);
lib/msun/ld128/s_expl.c
269
n2 = (unsigned)n % INTERVALS;
lib/msun/ld128/s_expl.c
270
k = n >> LOG2_INTERVALS;
lib/msun/ld80/e_lgammal_r.c
212
uint64_t n;
lib/msun/ld80/e_lgammal_r.c
223
EXTRACT_LDBL80_WORDS(hx,n,vz);
lib/msun/ld80/e_lgammal_r.c
227
n--;
lib/msun/ld80/e_lgammal_r.c
229
n &= 7; /* octant of y mod 2 */
lib/msun/ld80/e_lgammal_r.c
230
y = y - z + n * 0.25; /* y mod 2 */
lib/msun/ld80/e_lgammal_r.c
232
switch (n) {
lib/msun/ld80/e_powl.c
26
__polevll(long double x, const long double *PP, int n)
lib/msun/ld80/e_powl.c
35
} while (--n);
lib/msun/ld80/e_powl.c
45
__p1evll(long double x, const long double *PP, int n)
lib/msun/ld80/e_powl.c
51
n -= 1;
lib/msun/ld80/e_powl.c
55
} while (--n);
lib/msun/ld80/e_powl.c
564
int n, e, sign, asign, lx;
lib/msun/ld80/e_powl.c
592
n = -nn;
lib/msun/ld80/e_powl.c
597
n = nn;
lib/msun/ld80/e_powl.c
605
e = (lx - 1)*n;
lib/msun/ld80/e_powl.c
632
if( n & 1 )
lib/msun/ld80/e_powl.c
642
n >>= 1;
lib/msun/ld80/e_powl.c
643
while( n )
lib/msun/ld80/e_powl.c
646
if( n & 1 ) /* if that bit is set, then include in product */
lib/msun/ld80/e_powl.c
648
n >>= 1;
lib/msun/ld80/e_rem_pio2l.h
114
return n;
lib/msun/ld80/e_rem_pio2l.h
134
n = __kernel_rem_pio2(tx,ty,e0,nx,2);
lib/msun/ld80/e_rem_pio2l.h
137
if(expsign<0) {y[0] = -r; y[1] = -w; return -n;}
lib/msun/ld80/e_rem_pio2l.h
138
y[0] = r; y[1] = w; return n;
lib/msun/ld80/e_rem_pio2l.h
75
int e0,ex,i,j,nx,n;
lib/msun/ld80/e_rem_pio2l.h
84
n = irint(fn);
lib/msun/ld80/k_expl.h
222
int n, n2;
lib/msun/ld80/k_expl.h
227
n = irint(fn);
lib/msun/ld80/k_expl.h
228
n2 = (unsigned)n % INTERVALS;
lib/msun/ld80/k_expl.h
230
*kp = n >> LOG2_INTERVALS;
lib/msun/ld80/s_expl.c
163
int k, n, n2;
lib/msun/ld80/s_expl.c
222
n = irint(fn);
lib/msun/ld80/s_expl.c
223
n2 = (unsigned)n % INTERVALS;
lib/msun/ld80/s_expl.c
224
k = n >> LOG2_INTERVALS;
lib/msun/src/e_fmod.c
111
n = -1022 - iy;
lib/msun/src/e_fmod.c
112
if(n<=20) {
lib/msun/src/e_fmod.c
113
lx = (lx>>n)|((u_int32_t)hx<<(32-n));
lib/msun/src/e_fmod.c
114
hx >>= n;
lib/msun/src/e_fmod.c
115
} else if (n<=31) {
lib/msun/src/e_fmod.c
116
lx = (hx<<(32-n))|(lx>>n); hx = sx;
lib/msun/src/e_fmod.c
118
lx = hx>>(n-32); hx = sx;
lib/msun/src/e_fmod.c
29
int32_t hx, hy, hz, ix, iy, n, sx;
lib/msun/src/e_fmod.c
64
n = -1022-ix;
lib/msun/src/e_fmod.c
65
if(n<=31) {
lib/msun/src/e_fmod.c
66
hx = (hx<<n)|(lx>>(32-n));
lib/msun/src/e_fmod.c
67
lx <<= n;
lib/msun/src/e_fmod.c
69
hx = lx<<(n-32);
lib/msun/src/e_fmod.c
76
n = -1022-iy;
lib/msun/src/e_fmod.c
77
if(n<=31) {
lib/msun/src/e_fmod.c
78
hy = (hy<<n)|(ly>>(32-n));
lib/msun/src/e_fmod.c
79
ly <<= n;
lib/msun/src/e_fmod.c
81
hy = ly<<(n-32);
lib/msun/src/e_fmod.c
87
n = ix - iy;
lib/msun/src/e_fmod.c
88
while(n--) {
lib/msun/src/e_fmodf.c
30
int32_t hx, hy, hz, ix, iy, n, sx;
lib/msun/src/e_fmodf.c
62
n = -126-ix;
lib/msun/src/e_fmodf.c
63
hx = hx<<n;
lib/msun/src/e_fmodf.c
68
n = -126-iy;
lib/msun/src/e_fmodf.c
69
hy = hy<<n;
lib/msun/src/e_fmodf.c
73
n = ix - iy;
lib/msun/src/e_fmodf.c
74
while(n--) {
lib/msun/src/e_fmodf.c
97
n = -126 - iy;
lib/msun/src/e_fmodf.c
98
hx >>= n;
lib/msun/src/e_fmodl.c
114
n = ix - iy;
lib/msun/src/e_fmodl.c
116
while(n--) {
lib/msun/src/e_fmodl.c
67
int ix,iy,n,sx;
lib/msun/src/e_jn.c
101
for(i=1;i<n;i++){
lib/msun/src/e_jn.c
112
if(n>33) /* underflow */
lib/msun/src/e_jn.c
116
for (a=one,i=2;i<=n;i++) {
lib/msun/src/e_jn.c
154
w = (n+n)/(double)x; h = 2.0/(double)x;
lib/msun/src/e_jn.c
162
m = n+n;
lib/msun/src/e_jn.c
163
for(t=zero, i = 2*(n+k); i>=m; i -= 2) t = one/(i/x-t);
lib/msun/src/e_jn.c
174
tmp = n;
lib/msun/src/e_jn.c
178
for(i=n-1,di=(double)(i+i);i>0;i--){
lib/msun/src/e_jn.c
186
for(i=n-1,di=(double)(i+i);i>0;i--){
lib/msun/src/e_jn.c
212
yn(int n, double x)
lib/msun/src/e_jn.c
227
if(n<0){
lib/msun/src/e_jn.c
228
n = -n;
lib/msun/src/e_jn.c
229
sign = 1 - ((n&1)<<1);
lib/msun/src/e_jn.c
231
if(n==0) return(y0(x));
lib/msun/src/e_jn.c
232
if(n==1) return(sign*y1(x));
lib/msun/src/e_jn.c
249
switch(n&3) {
lib/msun/src/e_jn.c
262
for(i=1;i<n&&high!=0xfff00000;i++){
lib/msun/src/e_jn.c
50
jn(int n, double x)
lib/msun/src/e_jn.c
63
if(n<0){
lib/msun/src/e_jn.c
64
n = -n;
lib/msun/src/e_jn.c
68
if(n==0) return(j0(x));
lib/msun/src/e_jn.c
69
if(n==1) return(j1(x));
lib/msun/src/e_jn.c
70
sgn = (n&1)&(hx>>31); /* even n -- 0, odd n -- sign(x) */
lib/msun/src/e_jn.c
74
else if((double)n<=x) {
lib/msun/src/e_jn.c
91
switch(n&3) {
lib/msun/src/e_jnf.c
112
w = (n+n)/(float)x; h = (float)2.0/(float)x;
lib/msun/src/e_jnf.c
120
m = n+n;
lib/msun/src/e_jnf.c
121
for(t=zero, i = 2*(n+k); i>=m; i -= 2) t = one/(i/x-t);
lib/msun/src/e_jnf.c
132
tmp = n;
lib/msun/src/e_jnf.c
136
for(i=n-1,di=(float)(i+i);i>0;i--){
lib/msun/src/e_jnf.c
144
for(i=n-1,di=(float)(i+i);i>0;i--){
lib/msun/src/e_jnf.c
170
ynf(int n, float x)
lib/msun/src/e_jnf.c
182
if(n<0){
lib/msun/src/e_jnf.c
183
n = -n;
lib/msun/src/e_jnf.c
184
sign = 1 - ((n&1)<<1);
lib/msun/src/e_jnf.c
186
if(n==0) return(y0f(x));
lib/msun/src/e_jnf.c
187
if(n==1) return(sign*y1f(x));
lib/msun/src/e_jnf.c
194
for(i=1;i<n&&ib!=0xff800000;i++){
lib/msun/src/e_jnf.c
32
jnf(int n, float x)
lib/msun/src/e_jnf.c
45
if(n<0){
lib/msun/src/e_jnf.c
46
n = -n;
lib/msun/src/e_jnf.c
50
if(n==0) return(j0f(x));
lib/msun/src/e_jnf.c
51
if(n==1) return(j1f(x));
lib/msun/src/e_jnf.c
52
sgn = (n&1)&(hx>>31); /* even n -- 0, odd n -- sign(x) */
lib/msun/src/e_jnf.c
56
else if((float)n<=x) {
lib/msun/src/e_jnf.c
60
for(i=1;i<n;i++){
lib/msun/src/e_jnf.c
70
if(n>33) /* underflow */
lib/msun/src/e_jnf.c
74
for (a=one,i=2;i<=n;i++) {
lib/msun/src/e_lgamma_r.c
164
int n;
lib/msun/src/e_lgamma_r.c
174
GET_LOW_WORD(n,vz); /* bits for rounded y (units 0.25) */
lib/msun/src/e_lgamma_r.c
178
n--;
lib/msun/src/e_lgamma_r.c
180
n &= 7; /* octant of y mod 2 */
lib/msun/src/e_lgamma_r.c
181
y = y - z + n * 0.25; /* y mod 2 */
lib/msun/src/e_lgamma_r.c
183
switch (n) {
lib/msun/src/e_lgammaf_r.c
100
n--;
lib/msun/src/e_lgammaf_r.c
102
n &= 7; /* octant of y mod 2 */
lib/msun/src/e_lgammaf_r.c
103
y = y - z + n * 0.25F; /* y mod 2 */
lib/msun/src/e_lgammaf_r.c
105
switch (n) {
lib/msun/src/e_lgammaf_r.c
86
int n;
lib/msun/src/e_lgammaf_r.c
96
GET_FLOAT_WORD(n,vz); /* bits for rounded y (units 0.25) */
lib/msun/src/e_pow.c
101
int32_t i,j,k,yisint,n;
lib/msun/src/e_pow.c
180
n = ((u_int32_t)hx>>31)-1;
lib/msun/src/e_pow.c
183
if((n|yisint)==0) return (x-x)/(x-x);
lib/msun/src/e_pow.c
186
if((n|(yisint-1))==0) s = -one;/* (-ve)**(odd int) */
lib/msun/src/e_pow.c
208
n = 0;
lib/msun/src/e_pow.c
211
{ax *= two53; n -= 53; GET_HIGH_WORD(ix,ax); }
lib/msun/src/e_pow.c
212
n += ((ix)>>20)-0x3ff;
lib/msun/src/e_pow.c
218
else {k=0;n+=1;ix -= 0x00100000;}
lib/msun/src/e_pow.c
250
t = n;
lib/msun/src/e_pow.c
281
n = 0;
lib/msun/src/e_pow.c
283
n = j+(0x00100000>>(k+1));
lib/msun/src/e_pow.c
284
k = ((n&0x7fffffff)>>20)-0x3ff; /* new k for n */
lib/msun/src/e_pow.c
286
SET_HIGH_WORD(t,n&~(0x000fffff>>k));
lib/msun/src/e_pow.c
287
n = ((n&0x000fffff)|0x00100000)>>(20-k);
lib/msun/src/e_pow.c
288
if(j<0) n = -n;
lib/msun/src/e_pow.c
306
j += (int32_t)((u_int32_t)n<<20);
lib/msun/src/e_pow.c
307
if((j>>20)<=0) z = scalbn(z,n); /* subnormal output */
lib/msun/src/e_powf.c
125
n = ((u_int32_t)hx>>31)-1;
lib/msun/src/e_powf.c
128
if((n|yisint)==0) return (x-x)/(x-x);
lib/msun/src/e_powf.c
131
if((n|(yisint-1))==0) sn = -one;/* (-ve)**(odd int) */
lib/msun/src/e_powf.c
150
n = 0;
lib/msun/src/e_powf.c
153
{ax *= two24; n -= 24; GET_FLOAT_WORD(ix,ax); }
lib/msun/src/e_powf.c
154
n += ((ix)>>23)-0x7f;
lib/msun/src/e_powf.c
160
else {k=0;n+=1;ix -= 0x00800000;}
lib/msun/src/e_powf.c
195
t = n;
lib/msun/src/e_powf.c
224
n = 0;
lib/msun/src/e_powf.c
226
n = j+(0x00800000>>(k+1));
lib/msun/src/e_powf.c
227
k = ((n&0x7fffffff)>>23)-0x7f; /* new k for n */
lib/msun/src/e_powf.c
228
SET_FLOAT_WORD(t,n&~(0x007fffff>>k));
lib/msun/src/e_powf.c
229
n = ((n&0x007fffff)|0x00800000)>>(23-k);
lib/msun/src/e_powf.c
230
if(j<0) n = -n;
lib/msun/src/e_powf.c
249
j += (int32_t)((u_int32_t)n<<23);
lib/msun/src/e_powf.c
250
if((j>>23)<=0) z = scalbnf(z,n); /* subnormal output */
lib/msun/src/e_powf.c
60
int32_t i,j,k,yisint,n;
lib/msun/src/e_rem_pio2.c
127
n = irint(fn);
lib/msun/src/e_rem_pio2.c
154
return n;
lib/msun/src/e_rem_pio2.c
173
n = __kernel_rem_pio2(tx,ty,e0,nx,1);
lib/msun/src/e_rem_pio2.c
174
if(hx<0) {y[0] = -ty[0]; y[1] = -ty[1]; return -n;}
lib/msun/src/e_rem_pio2.c
175
y[0] = ty[0]; y[1] = ty[1]; return n;
lib/msun/src/e_rem_pio2.c
55
int32_t e0,i,j,nx,n,ix,hx;
lib/msun/src/e_rem_pio2f.c
49
int32_t e0,n,ix,hx;
lib/msun/src/e_rem_pio2f.c
56
n = irint(fn);
lib/msun/src/e_rem_pio2f.c
60
return n;
lib/msun/src/e_rem_pio2f.c
72
n = __kernel_rem_pio2(tx,ty,e0,1,0);
lib/msun/src/e_rem_pio2f.c
73
if(hx<0) {*y = -ty[0]; return -n;}
lib/msun/src/e_rem_pio2f.c
74
*y = ty[0]; return n;
lib/msun/src/k_rem_pio2.c
292
int32_t jz,jx,jv,jp,jk,carry,n,iq[20],i,j,k,m,q0,ih;
lib/msun/src/k_rem_pio2.c
325
n = (int32_t) z;
lib/msun/src/k_rem_pio2.c
326
z -= (double)n;
lib/msun/src/k_rem_pio2.c
329
i = (iq[jz-1]>>(24-q0)); n += i;
lib/msun/src/k_rem_pio2.c
337
n += 1; carry = 0;
lib/msun/src/k_rem_pio2.c
438
return n&7;
lib/msun/src/math_private.h
763
int n;
lib/msun/src/math_private.h
765
__asm("fistl %0" : "=m" (n) : "t" (x));
lib/msun/src/math_private.h
766
return (n);
lib/msun/src/math_private.h
772
int n;
lib/msun/src/math_private.h
774
__asm("fistl %0" : "=m" (n) : "t" (x));
lib/msun/src/math_private.h
775
return (n);
lib/msun/src/math_private.h
783
int n;
lib/msun/src/math_private.h
785
__asm("fistl %0" : "=m" (n) : "t" (x));
lib/msun/src/math_private.h
786
return (n);
lib/msun/src/s_cos.c
54
int32_t n, ix;
lib/msun/src/s_cos.c
72
n = __ieee754_rem_pio2(x,y);
lib/msun/src/s_cos.c
73
switch(n&3) {
lib/msun/src/s_cosf.c
39
int32_t n, hx, ix;
lib/msun/src/s_cosf.c
75
n = __ieee754_rem_pio2f(x,&y);
lib/msun/src/s_cosf.c
76
switch(n&3) {
lib/msun/src/s_modfl.c
51
#define GETFRAC(bits, n) ((bits) & ~(MASK << (n)))
lib/msun/src/s_remquo.c
118
n = -1022 - iy;
lib/msun/src/s_remquo.c
119
if(n<=20) {
lib/msun/src/s_remquo.c
120
lx = (lx>>n)|((u_int32_t)hx<<(32-n));
lib/msun/src/s_remquo.c
121
hx >>= n;
lib/msun/src/s_remquo.c
122
} else if (n<=31) {
lib/msun/src/s_remquo.c
123
lx = (hx<<(32-n))|(lx>>n); hx = 0;
lib/msun/src/s_remquo.c
125
lx = hx>>(n-32); hx = 0;
lib/msun/src/s_remquo.c
30
int32_t hx,hy,hz,ix,iy,n,sx;
lib/msun/src/s_remquo.c
71
n = -1022-ix;
lib/msun/src/s_remquo.c
72
if(n<=31) {
lib/msun/src/s_remquo.c
73
hx = (hx<<n)|(lx>>(32-n));
lib/msun/src/s_remquo.c
74
lx <<= n;
lib/msun/src/s_remquo.c
76
hx = lx<<(n-32);
lib/msun/src/s_remquo.c
83
n = -1022-iy;
lib/msun/src/s_remquo.c
84
if(n<=31) {
lib/msun/src/s_remquo.c
85
hy = (hy<<n)|(ly>>(32-n));
lib/msun/src/s_remquo.c
86
ly <<= n;
lib/msun/src/s_remquo.c
88
hy = ly<<(n-32);
lib/msun/src/s_remquo.c
94
n = ix - iy;
lib/msun/src/s_remquo.c
96
while(n--) {
lib/msun/src/s_remquof.c
100
n = -126 - iy;
lib/msun/src/s_remquof.c
101
hx >>= n;
lib/msun/src/s_remquof.c
28
int32_t hx, hy, hz, ix, iy, n, sx;
lib/msun/src/s_remquof.c
65
n = -126-ix;
lib/msun/src/s_remquof.c
66
hx <<= n;
lib/msun/src/s_remquof.c
71
n = -126-iy;
lib/msun/src/s_remquof.c
72
hy <<= n;
lib/msun/src/s_remquof.c
76
n = ix - iy;
lib/msun/src/s_remquof.c
78
while(n--) {
lib/msun/src/s_remquol.c
122
n = ix - iy;
lib/msun/src/s_remquol.c
124
while(n--) {
lib/msun/src/s_remquol.c
70
int ix,iy,n,q,sx,sxy;
lib/msun/src/s_scalbln.c
36
scalbln(double x, long n)
lib/msun/src/s_scalbln.c
39
return (scalbn(x, (n > NMAX) ? NMAX : (n < NMIN) ? NMIN : (int)n));
lib/msun/src/s_scalbln.c
43
scalblnf(float x, long n)
lib/msun/src/s_scalbln.c
46
return (scalbnf(x, (n > NMAX) ? NMAX : (n < NMIN) ? NMIN : (int)n));
lib/msun/src/s_scalbln.c
50
scalblnl(long double x, long n)
lib/msun/src/s_scalbln.c
53
return (scalbnl(x, (n > NMAX) ? NMAX : (n < NMIN) ? NMIN : (int)n));
lib/msun/src/s_scalbn.c
13
double scalbn(double x, int n)
lib/msun/src/s_scalbn.c
18
if (n > 1023) {
lib/msun/src/s_scalbn.c
20
n -= 1023;
lib/msun/src/s_scalbn.c
21
if (n > 1023) {
lib/msun/src/s_scalbn.c
23
n -= 1023;
lib/msun/src/s_scalbn.c
24
if (n > 1023)
lib/msun/src/s_scalbn.c
25
n = 1023;
lib/msun/src/s_scalbn.c
27
} else if (n < -1022) {
lib/msun/src/s_scalbn.c
31
n += 1022 - 53;
lib/msun/src/s_scalbn.c
32
if (n < -1022) {
lib/msun/src/s_scalbn.c
34
n += 1022 - 53;
lib/msun/src/s_scalbn.c
35
if (n < -1022)
lib/msun/src/s_scalbn.c
36
n = -1022;
lib/msun/src/s_scalbn.c
39
u.i = (uint64_t)(0x3ff+n)<<52;
lib/msun/src/s_scalbnf.c
12
float scalbnf(float x, int n)
lib/msun/src/s_scalbnf.c
17
if (n > 127) {
lib/msun/src/s_scalbnf.c
19
n -= 127;
lib/msun/src/s_scalbnf.c
20
if (n > 127) {
lib/msun/src/s_scalbnf.c
22
n -= 127;
lib/msun/src/s_scalbnf.c
23
if (n > 127)
lib/msun/src/s_scalbnf.c
24
n = 127;
lib/msun/src/s_scalbnf.c
26
} else if (n < -126) {
lib/msun/src/s_scalbnf.c
28
n += 126 - 24;
lib/msun/src/s_scalbnf.c
29
if (n < -126) {
lib/msun/src/s_scalbnf.c
31
n += 126 - 24;
lib/msun/src/s_scalbnf.c
32
if (n < -126)
lib/msun/src/s_scalbnf.c
33
n = -126;
lib/msun/src/s_scalbnf.c
36
u.i = (uint32_t)(0x7f+n)<<23;
lib/msun/src/s_scalbnl.c
20
long double scalbnl(long double x, int n)
lib/msun/src/s_scalbnl.c
24
if (n > 16383) {
lib/msun/src/s_scalbnl.c
26
n -= 16383;
lib/msun/src/s_scalbnl.c
27
if (n > 16383) {
lib/msun/src/s_scalbnl.c
29
n -= 16383;
lib/msun/src/s_scalbnl.c
30
if (n > 16383)
lib/msun/src/s_scalbnl.c
31
n = 16383;
lib/msun/src/s_scalbnl.c
33
} else if (n < -16382) {
lib/msun/src/s_scalbnl.c
35
n += 16382 - 113;
lib/msun/src/s_scalbnl.c
36
if (n < -16382) {
lib/msun/src/s_scalbnl.c
38
n += 16382 - 113;
lib/msun/src/s_scalbnl.c
39
if (n < -16382)
lib/msun/src/s_scalbnl.c
40
n = -16382;
lib/msun/src/s_scalbnl.c
44
u.xbits.expsign = 0x3fff + n;
lib/msun/src/s_sin.c
54
int32_t n, ix;
lib/msun/src/s_sin.c
72
n = __ieee754_rem_pio2(x,y);
lib/msun/src/s_sin.c
73
switch(n&3) {
lib/msun/src/s_sincos.c
27
int32_t n, ix;
lib/msun/src/s_sincos.c
54
n = __ieee754_rem_pio2(x, y);
lib/msun/src/s_sincos.c
56
switch(n & 3) {
lib/msun/src/s_sincosf.c
101
n = __ieee754_rem_pio2f(x, &y);
lib/msun/src/s_sincosf.c
104
switch(n & 3) {
lib/msun/src/s_sincosf.c
38
int32_t n, hx, ix;
lib/msun/src/s_sinf.c
39
int32_t n, hx, ix;
lib/msun/src/s_sinf.c
73
n = __ieee754_rem_pio2f(x,&y);
lib/msun/src/s_sinf.c
74
switch(n&3) {
lib/msun/src/s_tan.c
53
int32_t n, ix;
lib/msun/src/s_tan.c
71
n = __ieee754_rem_pio2(x,y);
lib/msun/src/s_tan.c
72
return __kernel_tan(y[0],y[1],1-((n&1)<<1)); /* 1 -- n even
lib/msun/src/s_tanf.c
37
int32_t n, hx, ix;
lib/msun/src/s_tanf.c
65
n = __ieee754_rem_pio2f(x,&y);
lib/msun/src/s_tanf.c
67
return __kernel_tandf(y,1-((n&1)<<1));
lib/virtual_oss/bt/bt.c
322
int n;
lib/virtual_oss/bt/bt.c
334
for (n = 0; n != BT_NUM_VALUES; n++) {
lib/virtual_oss/bt/bt.c
335
values[n].flags = SDP_ATTR_INVALID;
lib/virtual_oss/bt/bt.c
336
values[n].vlen = BT_BUF_SIZE;
lib/virtual_oss/bt/bt.c
337
values[n].value = buffer[n];
lib/virtual_oss/bt/bt.c
341
n = sdp_search(ss, 1, &service_class, 1, bt_attrs, BT_NUM_VALUES, values);
lib/virtual_oss/bt/bt.c
342
if (n != 0) {
lib/virtual_oss/bt/bt.c
347
for (n = 0; n != BT_NUM_VALUES; n++) {
lib/virtual_oss/bt/bt.c
348
if (values[n].flags != SDP_ATTR_OK)
lib/virtual_oss/bt/bt.c
350
if (values[n].attr != SDP_ATTR_PROTOCOL_DESCRIPTOR_LIST)
lib/virtual_oss/bt/bt.c
352
psm = bt_find_psm(values[n].value, values[n].value + values[n].vlen);
libexec/bootpd/bootpd.c
178
int n;
libexec/bootpd/bootpd.c
291
if (!stmp || (sscanf(stmp, "%d", &n) != 1) || (n < 0)) {
libexec/bootpd/bootpd.c
296
debug = n;
libexec/bootpd/bootpd.c
331
if (!stmp || (sscanf(stmp, "%d", &n) != 1) || (n < 0)) {
libexec/bootpd/bootpd.c
336
actualtimeout.tv_sec = (int32) (60 * n);
libexec/bootpd/bootpd.c
342
timeout = (n > 0) ? &actualtimeout : NULL;
libexec/bootpd/bootpd.c
384
n = open(_PATH_TTY, O_RDWR);
libexec/bootpd/bootpd.c
385
if (n >= 0) {
libexec/bootpd/bootpd.c
386
ioctl(n, TIOCNOTTY, (char *) 0);
libexec/bootpd/bootpd.c
387
(void) close(n);
libexec/bootpd/bootpd.c
535
n = recvfrom(s, pktbuf, MAX_MSG_SIZE, 0,
libexec/bootpd/bootpd.c
537
if (n <= 0) {
libexec/bootpd/bootpd.c
544
if (n < sizeof(struct bootp)) {
libexec/bootpd/bootpd.c
550
pktlen = n;
libexec/bootpd/bootpd.c
628
int n;
libexec/bootpd/bootpd.c
892
n = strlen(clntpath);
libexec/bootpd/bootpd.c
896
clntpath[n] = 0; /* Try it without the suffix */
libexec/bootpd/bootpgw/bootpgw.c
151
int n, ba_len, ra_len;
libexec/bootpd/bootpgw/bootpgw.c
247
if (!stmp || (sscanf(stmp, "%d", &n) != 1) || (n < 0)) {
libexec/bootpd/bootpgw/bootpgw.c
251
debug = n;
libexec/bootpd/bootpgw/bootpgw.c
262
if (!stmp || (sscanf(stmp, "%d", &n) != 1) ||
libexec/bootpd/bootpgw/bootpgw.c
263
(n < 0) || (n > 16))
libexec/bootpd/bootpgw/bootpgw.c
268
maxhops = (u_char)n;
libexec/bootpd/bootpgw/bootpgw.c
287
if (!stmp || (sscanf(stmp, "%d", &n) != 1) || (n < 0)) {
libexec/bootpd/bootpgw/bootpgw.c
291
actualtimeout.tv_sec = (int32) (60 * n);
libexec/bootpd/bootpgw/bootpgw.c
297
timeout = (n > 0) ? &actualtimeout : NULL;
libexec/bootpd/bootpgw/bootpgw.c
308
if (!stmp || (sscanf(stmp, "%d", &n) != 1) ||
libexec/bootpd/bootpgw/bootpgw.c
309
(n < 0) || (n > 60))
libexec/bootpd/bootpgw/bootpgw.c
314
minwait = (u_int)n;
libexec/bootpd/bootpgw/bootpgw.c
354
n = open(_PATH_TTY, O_RDWR);
libexec/bootpd/bootpgw/bootpgw.c
355
if (n >= 0) {
libexec/bootpd/bootpgw/bootpgw.c
356
ioctl(n, TIOCNOTTY, (char *) 0);
libexec/bootpd/bootpgw/bootpgw.c
357
(void) close(n);
libexec/bootpd/bootpgw/bootpgw.c
450
n = recvfrom(s, pktbuf, MAX_MSG_SIZE, 0,
libexec/bootpd/bootpgw/bootpgw.c
452
if (n <= 0) {
libexec/bootpd/bootpgw/bootpgw.c
459
if (n < sizeof(struct bootp)) {
libexec/bootpd/bootpgw/bootpgw.c
465
pktlen = n;
libexec/bootpd/dovend.c
364
int n;
libexec/bootpd/dovend.c
368
for (n = 4; n > 0; n--) {
libexec/bootpd/dumptab.c
102
n = 0;
libexec/bootpd/dumptab.c
107
n++;
libexec/bootpd/dumptab.c
111
report(LOG_INFO, "dumped %d entries to \"%s\".", n, filename);
libexec/bootpd/dumptab.c
44
int n;
libexec/bootpd/getether.c
123
int n;
libexec/bootpd/getether.c
154
n = ifrp->ifr_addr.sa_len + sizeof(ifrp->ifr_name);
libexec/bootpd/getether.c
155
if (n < sizeof(*ifrp))
libexec/bootpd/getether.c
156
n = sizeof(*ifrp);
libexec/bootpd/getether.c
157
ifrp = (struct ifreq *) ((char *) ifrp + n);
libexec/bootpd/getif.c
112
u_int n = 4; /* bytes left, then bitmask */
libexec/bootpd/getif.c
115
while (n && (*ca == *cb)) {
libexec/bootpd/getif.c
119
n--;
libexec/bootpd/getif.c
122
if (n) {
libexec/bootpd/getif.c
123
n = 0x80;
libexec/bootpd/getif.c
124
while (n && ((*ca & n) == (*cb & n))) {
libexec/bootpd/getif.c
126
n >>= 1;
libexec/bootpd/hwaddr.c
295
bitrev(int n)
libexec/bootpd/hwaddr.c
302
r |= (n & 1);
libexec/bootpd/hwaddr.c
303
n >>= 1;
libexec/bootpd/readfile.c
1143
int n, len, quoteflag;
libexec/bootpd/readfile.c
1146
n = 0;
libexec/bootpd/readfile.c
1148
while ((n < len) && (**src)) {
libexec/bootpd/readfile.c
1164
n++;
libexec/bootpd/readfile.c
1170
while ((n > 0) && isspace(dest[-1])) {
libexec/bootpd/readfile.c
1172
n--;
libexec/bootpd/readfile.c
1176
*length = n;
libexec/bootpd/readfile.c
1636
int n;
libexec/bootpd/readfile.c
1651
n = lookup_ipa(tmpstr, result);
libexec/bootpd/readfile.c
1652
if (n < 0)
libexec/bootpd/readfile.c
1654
return n;
libexec/bootpd/readfile.c
1687
n = pp - parts;
libexec/bootpd/readfile.c
1688
switch (n) {
libexec/bootpd/rtmsg.c
92
int n;
libexec/bootpd/rtmsg.c
95
ioctl(s, FIONREAD, &n);
libexec/bootpd/rtmsg.c
96
while (n > 0) {
libexec/bootpd/rtmsg.c
98
ioctl(s, FIONREAD, &n);
libexec/bootpd/tools/bootpef/bootpef.c
121
int n;
libexec/bootpd/tools/bootpef/bootpef.c
177
if (!stmp || (sscanf(stmp, "%d", &n) != 1) || (n < 0)) {
libexec/bootpd/tools/bootpef/bootpef.c
182
debug = n;
libexec/bootpd/tools/bootptest/bootptest.c
140
int n, fromlen, recvcnt;
libexec/bootpd/tools/bootptest/bootptest.c
356
n = BUFLEN - sizeof(*bp) + BP_VEND_LEN;
libexec/bootpd/tools/bootptest/bootptest.c
357
n = read(fd, bp->bp_vend, n);
libexec/bootpd/tools/bootptest/bootptest.c
359
if (n < 0) {
libexec/bootpd/tools/bootptest/bootptest.c
363
printf("read %d bytes of vendor template\n", n);
libexec/bootpd/tools/bootptest/bootptest.c
364
if (n > BP_VEND_LEN) {
libexec/bootpd/tools/bootptest/bootptest.c
367
snaplen += (n - BP_VEND_LEN);
libexec/bootpd/tools/bootptest/bootptest.c
388
n = select(s + 1, (fd_set *) & readfds, NULL, NULL, &tv);
libexec/bootpd/tools/bootptest/bootptest.c
389
if (n < 0) {
libexec/bootpd/tools/bootptest/bootptest.c
393
if (n == 0) {
libexec/bootpd/tools/bootptest/bootptest.c
409
n = recvfrom(s, rcvbuf, BUFLEN, 0,
libexec/bootpd/tools/bootptest/bootptest.c
411
if (n <= 0) {
libexec/bootpd/tools/bootptest/bootptest.c
414
if (n < sizeof(struct bootp)) {
libexec/bootpd/tools/bootptest/bootptest.c
423
snaplen = n;
libexec/bootpd/tools/bootptest/bootptest.c
425
bootp_print((struct bootp *)rcvbuf, n, sin_from.sin_port, 0);
libexec/flua/lfbsd/lfbsd.c
251
#define PROCESS_SIMPLE(n) { #n, lua_process_ ## n }
libexec/flua/lfbsd/lfbsd.c
266
#define REG_SIMPLE(n) { #n, lua_ ## n }
libexec/flua/lfbsd/lfbsd.c
59
lua_Integer n, i;
libexec/flua/lfbsd/lfbsd.c
63
n = lua_rawlen(L, abs_arg);
libexec/flua/lfbsd/lfbsd.c
64
ret = lua_newuserdata(L, (n+1)*sizeof(char*));
libexec/flua/lfbsd/lfbsd.c
65
for (i=0; i<n; i++) {
libexec/flua/lfbsd/lfbsd.c
97
int n = lua_gettop(L);
libexec/flua/lfbsd/lfbsd.c
99
luaL_argcheck(L, n > 0 && n <= 2, n >= 2 ? 2 : n,
libexec/flua/lfs/lfs.c
292
#define PUSH_ENTRY(n) { #n, push_st_ ## n }
libexec/flua/lfs/lfs.c
426
#define REG_SIMPLE(n) { #n, lua_ ## n }
libexec/flua/libfreebsd/kenv/kenv.c
25
int ret, n;
libexec/flua/libfreebsd/kenv/kenv.c
28
n = lua_gettop(L);
libexec/flua/libfreebsd/kenv/kenv.c
29
if (n == 0) {
libexec/flua/libfreebsd/kenv/kenv.c
85
#define REG_SIMPLE(n) { #n, lua_kenv_ ## n }
libexec/flua/libfreebsd/sys/linker/linker.c
70
#define REG_SIMPLE(n) { #n, lua_ ## n }
libexec/flua/libhash/lhash.c
164
#define REG_SIMPLE(n) { #n, lua_ ## n }
libexec/flua/modules/lposix.c
547
#define REG_DEF(n, func) { #n, func }
libexec/flua/modules/lposix.c
548
#define REG_SIMPLE(n) REG_DEF(n, lua_ ## n)
libexec/getty/main.c
202
char *n = ttyname(STDIN_FILENO);
libexec/getty/main.c
203
if (n == NULL) {
libexec/getty/main.c
207
snprintf(ttyn, sizeof(ttyn), "%s", n);
libexec/getty/subr.c
135
if (cgetnum(buf, np->field, &n) == -1)
libexec/getty/subr.c
139
np->value = n;
libexec/getty/subr.c
231
set_flags(int n)
libexec/getty/subr.c
236
switch (n) {
libexec/getty/subr.c
332
if (n == 1) { /* read mode flags */
libexec/getty/subr.c
345
if (n == 0)
libexec/getty/subr.c
61
long n;
libexec/rbootd/bpf.c
111
if (ioctl(BpfFd, BIOCGDLT, (caddr_t)&n) < 0) {
libexec/rbootd/bpf.c
115
if (n != DLT_EN10MB) {
libexec/rbootd/bpf.c
117
IntfName, n);
libexec/rbootd/bpf.c
124
n = 1;
libexec/rbootd/bpf.c
125
if (ioctl(BpfFd, BIOCIMMEDIATE, (caddr_t)&n) < 0) {
libexec/rbootd/bpf.c
213
int minunit, n;
libexec/rbootd/bpf.c
258
n = atoi(cp);
libexec/rbootd/bpf.c
259
if (n < minunit) {
libexec/rbootd/bpf.c
260
minunit = n;
libexec/rbootd/bpf.c
83
int n = 0;
libexec/rbootd/bpf.c
89
(void) sprintf(bpfdev, _PATH_BPF, n++);
libexec/rbootd/defs.h
72
#define STRNEQN(s1,s2,n) ((*s1 == *s2) && (strncmp(s1,s2,n) == 0))
libexec/rtld-elf/libmap.c
410
lm_findn(const char *p, const char *f, const size_t n)
libexec/rtld-elf/libmap.c
414
if (n < sizeof(pathbuf) - 1)
libexec/rtld-elf/libmap.c
417
s = xmalloc(n + 1);
libexec/rtld-elf/libmap.c
418
memcpy(s, f, n);
libexec/rtld-elf/libmap.c
419
s[n] = '\0';
libexec/rtld-elf/libmap.c
445
lmp_find(const char *n)
libexec/rtld-elf/libmap.c
449
dbg("%s(\"%s\")", __func__, n);
libexec/rtld-elf/libmap.c
452
if ((lmp->type == T_EXACT && strcmp(n, lmp->p) == 0) ||
libexec/rtld-elf/libmap.c
453
(lmp->type == T_DIRECTORY && strncmp(n, lmp->p,
libexec/rtld-elf/libmap.c
455
(lmp->type == T_BASENAME && strcmp(quickbasename(n),
libexec/rtld-elf/libmap.c
463
lmp_init(char *n)
libexec/rtld-elf/libmap.c
467
dbg("%s(\"%s\")", __func__, n);
libexec/rtld-elf/libmap.c
470
lmp->p = n;
libexec/rtld-elf/libmap.c
471
if (n[strlen(n) - 1] == '/')
libexec/rtld-elf/libmap.c
473
else if (strchr(n,'/') == NULL)
libexec/rtld-elf/rtld.c
2126
#define COND_SWAP(n) (is_le ? le32toh(n) : be32toh(n))
libexec/rtld-elf/rtld.c
2727
free_needed_filtees(Needed_Entry *n, RtldLockState *lockstate)
libexec/rtld-elf/rtld.c
2731
for (needed = n; needed != NULL; needed = needed->next) {
libexec/rtld-elf/rtld.c
2737
for (needed = n; needed != NULL; needed = needed1) {
libexec/rtld-elf/rtld.c
345
#define LD_UTRACE(e, h, mb, ms, r, n) \
libexec/rtld-elf/rtld.c
348
ld_utrace_log(e, h, mb, ms, r, n); \
libexec/rtld-elf/rtld.c
3639
const char *n;
libexec/rtld-elf/rtld.c
3648
n = strchr(name, '/');
libexec/rtld-elf/rtld.c
3649
if (n == NULL)
libexec/rtld-elf/rtld.c
3651
len = n - name;
libexec/rtld-elf/rtld.c
3672
fd = __sys_openat(dirfd, n + 1, O_RDONLY | O_CLOEXEC | O_VERIFY);
libexec/rtld-elf/rtld.c
372
const char *const n;
libexec/rtld-elf/rtld.c
380
[LD_##var] = { .n = #var, .unsecure = unsec, __VA_ARGS__ }
libexec/rtld-elf/rtld.c
427
char **m, *n, *v;
libexec/rtld-elf/rtld.c
430
n = *m;
libexec/rtld-elf/rtld.c
431
v = strchr(n, '=');
libexec/rtld-elf/rtld.c
436
if (v - n == (ptrdiff_t)name_len &&
libexec/rtld-elf/rtld.c
437
strncmp(name, n, name_len) == 0)
libexec/rtld-elf/rtld.c
448
char **m, *n, *v;
libexec/rtld-elf/rtld.c
453
n = *m;
libexec/rtld-elf/rtld.c
454
if (strncmp(env_prefix, n, prefix_len) != 0) {
libexec/rtld-elf/rtld.c
458
n += prefix_len;
libexec/rtld-elf/rtld.c
459
v = strchr(n, '=');
libexec/rtld-elf/rtld.c
470
nlen = strlen(lvd->n);
libexec/rtld-elf/rtld.c
471
if (v - n == (ptrdiff_t)nlen &&
libexec/rtld-elf/rtld.c
472
strncmp(lvd->n, n, nlen) == 0) {
libexec/rtld-elf/rtld.c
4960
const Needed_Entry *n;
libexec/rtld-elf/rtld.c
4968
for (n = needed; n != NULL; n = n->next) {
libexec/rtld-elf/rtld.c
4969
if (n->obj == NULL || (res = symlook_list(&req1,
libexec/rtld-elf/rtld.c
4970
&n->obj->dagmembers, dlp)) != 0)
libexec/rtld-elf/rtld.c
6505
char *n, *v;
libexec/rtld-elf/rtld.c
6513
n = argv[i];
libexec/rtld-elf/rtld.c
6514
v = strchr(n, '=');
libexec/rtld-elf/rtld.c
6521
if (v - n == (ptrdiff_t)strlen(l->n) &&
libexec/rtld-elf/rtld.c
6522
strncmp(n, l->n, v - n) == 0) {
libexec/rtld-elf/rtld.c
6528
_rtld_error("Unknown LD_ option %s", n);
libexec/rtld-elf/rtld.c
6584
int n, val;
libexec/rtld-elf/rtld.c
6602
n = 0;
libexec/rtld-elf/rtld.c
6615
if (n > INT_MAX / radix)
libexec/rtld-elf/rtld.c
6617
n *= radix;
libexec/rtld-elf/rtld.c
6618
if (n > INT_MAX - val)
libexec/rtld-elf/rtld.c
6620
n += val;
libexec/rtld-elf/rtld.c
6629
return (n);
libexec/rtld-elf/rtld.c
6744
if (strcmp(lvd->n, name) == 0)
libexec/rtld-elf/rtld.c
6859
if (strcmp(lvd->n, name) != 0)
libexec/rtld-elf/rtld_malloc.c
287
morepages(int n)
libexec/rtld-elf/rtld_malloc.c
306
addr = mmap(0, n * pagesz, PROT_READ | PROT_WRITE,
libexec/rtld-elf/rtld_malloc.c
318
pagepool_end = pagepool_start + n * pagesz;
libexec/rtld-elf/rtld_malloc.c
321
return (n);
libexec/rtld-elf/rtld_malloc.c
82
static int morepages(int n);
libexec/rtld-elf/rtld_printf.c
128
int ch, n, sign;
libexec/rtld-elf/rtld_printf.c
191
for (n = 0;; ++fmt) {
libexec/rtld-elf/rtld_printf.c
192
n = n * 10 + ch - '0';
libexec/rtld-elf/rtld_printf.c
198
dwidth = n;
libexec/rtld-elf/rtld_printf.c
200
width = n;
libexec/rtld-elf/rtld_printf.c
212
n = *p++;
libexec/rtld-elf/rtld_printf.c
213
if (num & (1 << (n - 1))) {
libexec/rtld-elf/rtld_printf.c
215
for (; (n = *p) > ' '; ++p)
libexec/rtld-elf/rtld_printf.c
216
PCHAR(n);
libexec/rtld-elf/rtld_printf.c
303
n = strlen (p);
libexec/rtld-elf/rtld_printf.c
305
for (n = 0; n < dwidth && p[n]; n++)
libexec/rtld-elf/rtld_printf.c
308
width -= n;
libexec/rtld-elf/rtld_printf.c
313
while (n--)
libexec/rtld-elf/rtld_printf.c
377
p = ksprintn(nbuf, num, base, &n, upper);
libexec/rtld-elf/rtld_printf.c
390
width -= tmp + imax(dwidth, n);
libexec/rtld-elf/rtld_printf.c
391
dwidth -= n;
libexec/tftpd/tftp-file.c
102
return fwrite(convbuffer, 1, n, file);
libexec/tftpd/tftp-file.c
109
static size_t n = 0, in = 0;
libexec/tftpd/tftp-file.c
114
n = 0;
libexec/tftpd/tftp-file.c
130
if (n == in) {
libexec/tftpd/tftp-file.c
137
n = 0;
libexec/tftpd/tftp-file.c
141
if (convbuffer[n] == '\r') {
libexec/tftpd/tftp-file.c
144
n++;
libexec/tftpd/tftp-file.c
149
if (convbuffer[n] == '\n') {
libexec/tftpd/tftp-file.c
152
n++;
libexec/tftpd/tftp-file.c
156
buffer[i++] = convbuffer[n++];
libexec/tftpd/tftp-file.c
56
size_t i, n;
libexec/tftpd/tftp-file.c
62
n = 0;
libexec/tftpd/tftp-file.c
66
convbuffer[n++] = buffer[i];
libexec/tftpd/tftp-file.c
79
if (n == 0) {
libexec/tftpd/tftp-file.c
83
convbuffer[n++] = '\n';
libexec/tftpd/tftp-file.c
91
convbuffer[n-1] = '\n';
libexec/tftpd/tftp-file.c
97
convbuffer[n++] = buffer[i];
libexec/tftpd/tftp-io.c
175
int n, size;
libexec/tftpd/tftp-io.c
204
n = sendto(peer, buf, size, 0,
libexec/tftpd/tftp-io.c
206
if (n != size) {
libexec/tftpd/tftp-io.c
226
int n, size;
libexec/tftpd/tftp-io.c
257
n = sendto(peer, buf, size, 0,
libexec/tftpd/tftp-io.c
259
if (n != size) {
libexec/tftpd/tftp-io.c
276
int size, i, n;
libexec/tftpd/tftp-io.c
295
n = snprintf(bp, size, "%s%c%s", options[i].o_type,
libexec/tftpd/tftp-io.c
297
bp += n + 1;
libexec/tftpd/tftp-io.c
298
size -= n + 1;
libexec/tftpd/tftp-io.c
353
int n;
libexec/tftpd/tftp-io.c
367
n = send_packet(peer, block, (char *)pkt, size + 4);
libexec/tftpd/tftp-io.c
368
return (n);
libexec/tftpd/tftp-io.c
386
int n;
libexec/tftpd/tftp-io.c
404
n = recvfrom(peer, data, size, 0, (struct sockaddr *)pfrom, &fromlen);
libexec/tftpd/tftp-io.c
408
if (n < 0) {
libexec/tftpd/tftp-io.c
413
if (n < 4) {
libexec/tftpd/tftp-io.c
415
"receive_packet: packet too small (%d bytes)", n);
libexec/tftpd/tftp-io.c
424
if (pkt->th_opcode == DATA && n > pktsize) {
libexec/tftpd/tftp-io.c
444
n, packettype(pkt->th_opcode));
libexec/tftpd/tftp-io.c
446
return n - 4;
libexec/tftpd/tftpd.c
118
ssize_t n;
libexec/tftpd/tftpd.c
221
n = recvfrom(0, recvbuffer, MAXPKTSIZE, block ? 0 : MSG_DONTWAIT,
libexec/tftpd/tftpd.c
223
if (n < 0) {
libexec/tftpd/tftpd.c
229
if ((size_t)n < 4 /* tftphdr */) {
libexec/tftpd/tftpd.c
231
n, peername);
libexec/tftpd/tftpd.c
407
tftp_rrq(peer, tp->th_stuff, (size_t)n - 1);
libexec/tftpd/tftpd.c
415
tftp_wrq(peer, tp->th_stuff, (size_t)n - 1);
libexec/tftpd/tftpd.c
572
int n;
libexec/tftpd/tftpd.c
577
n = receive_packet(peer, lrecvbuffer, MAXPKTSIZE,
libexec/tftpd/tftpd.c
579
if (n < 0) {
libexec/tftpd/tftpd.c
582
rp_strerror(n));
sbin/bectl/bectl.c
544
int len, n, i;
sbin/bectl/bectl.c
557
n = strlcpy(p, basename, len);
sbin/bectl/bectl.c
559
if (n >= len)
sbin/bectl/bectl.c
561
p += n;
sbin/bectl/bectl.c
563
len -= (n + 1);
sbin/bectl/bectl.c
564
n = strlcpy(p, argv[i], len);
sbin/bsdlabel/bsdlabel.c
971
#define NXTNUM(n) do { \
sbin/bsdlabel/bsdlabel.c
977
(n) = strtoul(cp, NULL, 10); \
sbin/bsdlabel/bsdlabel.c
982
#define NXTWORD(w,n) do { \
sbin/bsdlabel/bsdlabel.c
989
(n) = strtoul(cp, &tmp, 10); \
sbin/dhclient/dhclient.c
147
#define ADVANCE(x, n) (x += ROUNDUP((n)->sa_len))
sbin/dhclient/dhclient.c
155
findproto(char *cp, int n)
sbin/dhclient/dhclient.c
160
if (n == 0)
sbin/dhclient/dhclient.c
163
if (i & n) {
sbin/dhclient/dhclient.c
185
get_ifa(char *cp, int n)
sbin/dhclient/dhclient.c
190
if (n == 0)
sbin/dhclient/dhclient.c
193
if (i & n) {
sbin/dhclient/dhclient.c
239
ssize_t n;
sbin/dhclient/dhclient.c
242
n = read(routefd, &msg, sizeof(msg));
sbin/dhclient/dhclient.c
244
if (n < (ssize_t)sizeof(rtm->rtm_msglen) ||
sbin/dhclient/dhclient.c
245
n < (ssize_t)rtm->rtm_msglen ||
sbin/dhclient/privsep.c
53
ssize_t n;
sbin/dhclient/privsep.c
56
n = write(sock, buf->buf + buf->rpos, buf->size - buf->rpos);
sbin/dhclient/privsep.c
57
if (n != -1)
sbin/dhclient/privsep.c
58
buf->rpos += n;
sbin/dhclient/privsep.c
59
if (n == 0) { /* connection closed */
sbin/dhclient/privsep.c
63
} while (n == -1 && (errno == EAGAIN || errno == EINTR));
sbin/dhclient/privsep.c
71
return (n);
sbin/dhclient/privsep.c
77
ssize_t n;
sbin/dhclient/privsep.c
82
n = read(sock, p, nbytes);
sbin/dhclient/privsep.c
83
if (n == 0)
sbin/dhclient/privsep.c
85
if (n != -1) {
sbin/dhclient/privsep.c
86
r += (size_t)n;
sbin/dhclient/privsep.c
87
p += n;
sbin/dhclient/privsep.c
88
nbytes -= n;
sbin/dhclient/privsep.c
90
} while (n == -1 && (errno == EINTR || errno == EAGAIN));
sbin/dhclient/privsep.c
92
if (n == -1)
sbin/dump/cache.c
128
n = pread(fd, blk->b_Data, BlockSize, blk->b_Offset);
sbin/dump/cache.c
129
if (n != BlockSize) {
sbin/dump/cache.c
85
int n;
sbin/dump/dumprmt.c
217
int n, i, cc;
sbin/dump/dumprmt.c
220
n = rmtcall("read", line);
sbin/dump/dumprmt.c
221
if (n < 0)
sbin/dump/dumprmt.c
223
return (n);
sbin/dump/dumprmt.c
224
for (i = 0; i < n; i += cc) {
sbin/dump/dumprmt.c
225
cc = read(rmtape, buf+i, n - i);
sbin/dump/dumprmt.c
229
return (n);
sbin/etherswitchcfg/etherswitchcfg.c
193
int n;
sbin/etherswitchcfg/etherswitchcfg.c
200
n = 0;
sbin/etherswitchcfg/etherswitchcfg.c
205
n++;
sbin/etherswitchcfg/etherswitchcfg.c
229
if (n)
sbin/fdisk/fdisk.c
517
int fdesc, n;
sbin/fdisk/fdisk.c
532
if ((n = read(fdesc, mboot.bootinst, mboot.bootinst_size)) == -1 ||
sbin/fdisk/fdisk.c
535
if (n != mboot.bootinst_size)
sbin/fsck_ffs/dir.c
197
u_int dsize, n;
sbin/fsck_ffs/dir.c
218
if ((n = (*idesc->id_func)(idesc)) & ALTERED) {
sbin/fsck_ffs/dir.c
227
if (n & STOP)
sbin/fsck_ffs/dir.c
228
return (n);
sbin/fsck_ffs/ea.c
61
u_int n;
sbin/fsck_ffs/ea.c
78
for (n = 0; n < blksiz; n++) {
sbin/fsck_ffs/ea.c
79
printf("%02x", cp[n]);
sbin/fsck_ffs/ea.c
80
if ((n & 31) == 31)
sbin/fsck_ffs/inode.c
170
int i, n, (*func)(struct inodesc *), nif;
sbin/fsck_ffs/inode.c
177
if (((n = (*func)(idesc)) & KEEPON) == 0)
sbin/fsck_ffs/inode.c
178
return (n);
sbin/fsck_ffs/inode.c
215
n = (*func)(idesc);
sbin/fsck_ffs/inode.c
217
n = iblock(idesc, isize, type - 1);
sbin/fsck_ffs/inode.c
220
if (n & STOP) {
sbin/fsck_ffs/inode.c
222
return (n);
sbin/fsck_ffs/pass2.c
283
int n, entrysize, ret = 0;
sbin/fsck_ffs/pass2.c
354
n = DIRSIZ(0, dirp);
sbin/fsck_ffs/pass2.c
355
if (dirp->d_reclen < n + entrysize)
sbin/fsck_ffs/pass2.c
357
proto.d_reclen = dirp->d_reclen - n;
sbin/fsck_ffs/pass2.c
358
dirp->d_reclen = n;
sbin/fsck_ffs/pass2.c
361
dirp = (struct direct *)((char *)(dirp) + n);
sbin/fsck_ffs/pass2.c
465
n = 0;
sbin/fsck_ffs/pass2.c
468
n = reply("REMOVE");
sbin/fsck_ffs/pass2.c
483
n = reply("REMOVE");
sbin/fsck_ffs/pass2.c
495
n = 1;
sbin/fsck_ffs/pass2.c
512
n = 1;
sbin/fsck_ffs/pass2.c
518
n = 1;
sbin/fsck_ffs/pass2.c
527
if ((n = reply("REMOVE")) == 1)
sbin/fsck_ffs/pass2.c
549
} else if ((n = fix_extraneous(inp, idesc))) {
sbin/fsck_ffs/pass2.c
573
if (n == 0)
sbin/fsck_ffs/pass4.c
50
int i, n, cg;
sbin/fsck_ffs/pass4.c
84
n = inoinfo(inumber)->ino_linkcnt;
sbin/fsck_ffs/pass4.c
85
if (n) {
sbin/fsck_ffs/pass4.c
86
adjust(&idesc, (short)n);
sbin/fsck_ffs/pass5.c
505
ufs2_daddr_t n, astart, aend, ustart, uend;
sbin/fsck_ffs/pass5.c
521
n = startvalue + i * CHAR_BIT + m;
sbin/fsck_ffs/pass5.c
524
astart = aend = n;
sbin/fsck_ffs/pass5.c
527
if (aend + 1 == n) {
sbin/fsck_ffs/pass5.c
528
aend = n;
sbin/fsck_ffs/pass5.c
539
astart = aend = n;
sbin/fsck_ffs/pass5.c
542
ustart = uend = n;
sbin/fsck_ffs/pass5.c
545
if (uend + 1 == n) {
sbin/fsck_ffs/pass5.c
546
uend = n;
sbin/fsck_ffs/pass5.c
552
ustart = uend = n;
sbin/fsck_ffs/pass5.c
584
ustart = uend = n;
sbin/fsck_ffs/suj.c
138
errmalloc(size_t n)
sbin/fsck_ffs/suj.c
142
a = Malloc(n);
sbin/fsck_ffs/suj.c
144
err(EX_OSERR, "malloc(%zu)", n);
sbin/fsck_msdosfs/dir.c
1058
struct dirTodoNode *n = pendingDirectories->next;
sbin/fsck_msdosfs/dir.c
1065
pendingDirectories = n;
sbin/fsck_msdosfs/dir.c
885
struct dirTodoNode *n;
sbin/fsck_msdosfs/dir.c
991
if (!(n = newDirTodo())) {
sbin/fsck_msdosfs/dir.c
995
n->next = pendingDirectories;
sbin/fsck_msdosfs/dir.c
996
n->dir = d;
sbin/fsck_msdosfs/dir.c
997
pendingDirectories = n;
sbin/fsck_msdosfs/fat.c
1151
copyfat(struct fat_descriptor *fat, int n)
sbin/fsck_msdosfs/fat.c
1170
dst_off = boot->bpbResSectors + n * boot->FATsecs;
sbin/fsck_msdosfs/fat.c
1188
perr("Unable to write FAT %d", n);
sbin/fsirand/fsirand.c
110
int devfd, n, cg;
sbin/fsirand/fsirand.c
183
} else if ((n = read(devfd, inodebuf, ibufsize)) != ibufsize) {
sbin/fsirand/fsirand.c
185
(n < ibufsize) ? "short read" : strerror(errno));
sbin/fsirand/fsirand.c
191
for (n = cg > 0 ? 0 : UFS_ROOTINO;
sbin/fsirand/fsirand.c
192
n < (int)sblock->fs_ipg;
sbin/fsirand/fsirand.c
193
n++, inumber++) {
sbin/fsirand/fsirand.c
215
} else if ((n = write(devfd, inodebuf, ibufsize)) !=
sbin/fsirand/fsirand.c
218
(n != ibufsize) ? "short write" :
sbin/fsirand/fsirand.c
60
int n, ex = 0;
sbin/fsirand/fsirand.c
63
while ((n = getopt(argc, argv, "bfp")) != -1) {
sbin/fsirand/fsirand.c
64
switch (n) {
sbin/fsirand/fsirand.c
89
for (n = optind; n < argc; n++) {
sbin/fsirand/fsirand.c
91
(void)puts(argv[n]);
sbin/fsirand/fsirand.c
92
ex += fsirand(argv[n]);
sbin/fsirand/fsirand.c
93
if (n < argc - 1)
sbin/geom/core/geom.c
1339
int all, error, geoms, i, n, nargs, script;
sbin/geom/core/geom.c
1355
for (i = 0, n = 0; i < nargs; i++) {
sbin/geom/core/geom.c
1368
n++;
sbin/geom/core/geom.c
1370
if (n == 0)
sbin/geom/core/geom.c
1373
n = 0;
sbin/geom/core/geom.c
1384
n++;
sbin/geom/core/geom.c
1386
if (n == 0)
sbin/geom/core/geom.c
963
unsigned n;
sbin/geom/core/geom.c
973
n = 1;
sbin/geom/core/geom.c
975
xo_emit("{T:/%u}. ", n++);
sbin/geom/core/geom.c
985
n = 1;
sbin/geom/core/geom.c
987
xo_emit("{T:/%u}. ", n++);
sbin/growfs/growfs.c
1071
ssize_t n;
sbin/growfs/growfs.c
1079
n = read(fsi, bf, size);
sbin/growfs/growfs.c
1080
if (n != (ssize_t)size)
sbin/growfs/growfs.c
1094
ssize_t n;
sbin/growfs/growfs.c
1104
n = write(fso, bf, size);
sbin/growfs/growfs.c
1105
if (n != (ssize_t)size)
sbin/hastd/lzf.c
300
# define SET_ERRNO(n)
sbin/hastd/lzf.c
303
# define SET_ERRNO(n) errno = (n)
sbin/hastd/pjdlog.c
61
size_t n, int *argt)
sbin/hastd/pjdlog.c
64
assert(n >= 1);
sbin/hastd/pjdlog.c
87
size_t n, int *argt)
sbin/hastd/pjdlog.c
90
assert(n >= 1);
sbin/ifconfig/af_link.c
93
int n = sdl->sdl_nlen > 0 ? sdl->sdl_nlen + 1 : 0;
sbin/ifconfig/af_link.c
94
printf("\tlladdr %s\n", link_ntoa(sdl) + n);
sbin/ifconfig/ifieee80211.c
2588
int n;
sbin/ifconfig/ifieee80211.c
2591
n = vsnprintf(buf+1, sizeof(buf)-1, fmt, ap);
sbin/ifconfig/ifieee80211.c
2593
col += 1+n;
sbin/ifconfig/ifieee80211.c
2596
col += n;
sbin/ifconfig/ifieee80211.c
3019
size_t i, n;
sbin/ifconfig/ifieee80211.c
3023
n = (vhtpwr->tx_info &
sbin/ifconfig/ifieee80211.c
3026
if (n + 3 > ielen)
sbin/ifconfig/ifieee80211.c
3027
n = ielen - 3;
sbin/ifconfig/ifieee80211.c
3029
for (i = 0; i < n; i++) {
sbin/ifconfig/ifieee80211.c
3255
int n;
sbin/ifconfig/ifieee80211.c
3266
n = LE_READ_2(ie);
sbin/ifconfig/ifieee80211.c
3269
for (; n > 0; n--) {
sbin/ifconfig/ifieee80211.c
3276
n = LE_READ_2(ie);
sbin/ifconfig/ifieee80211.c
3279
for (; n > 0; n--) {
sbin/ifconfig/ifieee80211.c
3349
int n;
sbin/ifconfig/ifieee80211.c
3360
n = LE_READ_2(ie);
sbin/ifconfig/ifieee80211.c
3363
for (; n > 0; n--) {
sbin/ifconfig/ifieee80211.c
3370
n = LE_READ_2(ie);
sbin/ifconfig/ifieee80211.c
3373
for (; n > 0; n--) {
sbin/ifconfig/ifieee80211.c
3389
size_t n;
sbin/ifconfig/ifieee80211.c
3397
n = (*ie & 0x0f);
sbin/ifconfig/ifieee80211.c
3398
printf("<%zu", n + 1);
sbin/ifconfig/ifieee80211.c
3401
if (n != 0)
sbin/ifconfig/ifieee80211.c
3433
int n;
sbin/ifconfig/ifieee80211.c
3471
for (n = 15; n >= 0; n--) {
sbin/ifconfig/ifieee80211.c
3476
switch (cfg_mthd & (1 << n)) {
sbin/ifconfig/ifieee80211.c
3546
cfg_mthd & (1 << n));
sbin/ifconfig/ifieee80211.c
3556
n = LE_READ_2(ie);
sbin/ifconfig/ifieee80211.c
3557
if (n < (int)nitems(dev_pass_id))
sbin/ifconfig/ifieee80211.c
3558
printf(" dpi:%s", dev_pass_id[n]);
sbin/ifconfig/ifieee80211.c
3571
for (n = 0; n < tlv_len; n++)
sbin/ifconfig/ifieee80211.c
3572
printf("%02x", ie[n]);
sbin/ifconfig/ifieee80211.c
3577
for (n = 7; n >= 0; n--) {
sbin/ifconfig/ifieee80211.c
3582
switch (*ie & (1 << n)) {
sbin/ifconfig/ifieee80211.c
3599
*ie & (1 << n));
sbin/ifconfig/ifieee80211.c
3616
for (n = 0; n < (tlv_len - 1); n++)
sbin/ifconfig/ifieee80211.c
3617
printf("%02x-", ie[n]);
sbin/ifconfig/ifieee80211.c
3618
printf("%02x", ie[n]);
sbin/ifconfig/ifieee80211.c
3622
for (n = 0; n < tlv_len; n++)
sbin/ifconfig/ifieee80211.c
3623
printf("%02x", ie[n]);
sbin/ifconfig/ifieee80211.c
4000
printbssidname(const struct ether_addr *n)
sbin/ifconfig/ifieee80211.c
4004
if (ether_ntohost(name, n) != 0)
sbin/ipf/common/ipf_y.y
2286
ip_pool_node_t *n, *top;
sbin/ipf/common/ipf_y.y
2297
for (n = top, a = list; (n != NULL) && (a != NULL); a = a->al_next) {
sbin/ipf/common/ipf_y.y
2300
n->ipn_addr.adf_family = AF_INET6;
sbin/ipf/common/ipf_y.y
2301
n->ipn_addr.adf_addr = a->al_i6addr;
sbin/ipf/common/ipf_y.y
2302
n->ipn_addr.adf_len = offsetof(addrfamily_t,
sbin/ipf/common/ipf_y.y
2304
n->ipn_mask.adf_family = AF_INET6;
sbin/ipf/common/ipf_y.y
2305
n->ipn_mask.adf_addr = a->al_i6mask;
sbin/ipf/common/ipf_y.y
2306
n->ipn_mask.adf_len = offsetof(addrfamily_t,
sbin/ipf/common/ipf_y.y
2311
n->ipn_addr.adf_family = AF_INET;
sbin/ipf/common/ipf_y.y
2312
n->ipn_addr.adf_addr.in4.s_addr = a->al_1;
sbin/ipf/common/ipf_y.y
2313
n->ipn_addr.adf_len = offsetof(addrfamily_t,
sbin/ipf/common/ipf_y.y
2315
n->ipn_mask.adf_family = AF_INET;
sbin/ipf/common/ipf_y.y
2316
n->ipn_mask.adf_addr.in4.s_addr = a->al_2;
sbin/ipf/common/ipf_y.y
2317
n->ipn_mask.adf_len = offsetof(addrfamily_t,
sbin/ipf/common/ipf_y.y
2320
n->ipn_info = a->al_not;
sbin/ipf/common/ipf_y.y
2322
n->ipn_next = calloc(1, sizeof(*n));
sbin/ipf/common/ipf_y.y
2323
n = n->ipn_next;
sbin/ipf/common/ipf_y.y
2332
while ((n = top) != NULL) {
sbin/ipf/common/ipf_y.y
2333
top = n->ipn_next;
sbin/ipf/common/ipf_y.y
2334
free(n);
sbin/ipf/common/ipf_y.y
2343
iphtent_t *n, *top;
sbin/ipf/common/ipf_y.y
2354
for (n = top, a = list; (n != NULL) && (a != NULL); a = a->al_next) {
sbin/ipf/common/ipf_y.y
2356
n->ipe_family = AF_INET6;
sbin/ipf/common/ipf_y.y
2357
n->ipe_addr = a->al_i6addr;
sbin/ipf/common/ipf_y.y
2358
n->ipe_mask = a->al_i6mask;
sbin/ipf/common/ipf_y.y
2360
n->ipe_family = AF_INET;
sbin/ipf/common/ipf_y.y
2361
n->ipe_addr.in4_addr = a->al_1;
sbin/ipf/common/ipf_y.y
2362
n->ipe_mask.in4_addr = a->al_2;
sbin/ipf/common/ipf_y.y
2364
n->ipe_value = 0;
sbin/ipf/common/ipf_y.y
2366
n->ipe_next = calloc(1, sizeof(*n));
sbin/ipf/common/ipf_y.y
2367
n = n->ipe_next;
sbin/ipf/common/ipf_y.y
2381
while ((n = top) != NULL) {
sbin/ipf/common/ipf_y.y
2382
top = n->ipe_next;
sbin/ipf/common/ipf_y.y
2383
free(n);
sbin/ipf/common/lexer.c
183
int c, n, isbuilding, rval, lnext, nokey = 0;
sbin/ipf/common/lexer.c
266
n = yygetc(0);
sbin/ipf/common/lexer.c
267
if (n == '{') {
sbin/ipf/common/lexer.c
274
if (!ISALPHA(n)) {
sbin/ipf/common/lexer.c
275
yyunputc(n);
sbin/ipf/common/lexer.c
279
n = yygetc(1);
sbin/ipf/common/lexer.c
280
} while (ISALPHA(n) || ISDIGIT(n) || n == '_');
sbin/ipf/common/lexer.c
281
yyunputc(n);
sbin/ipf/common/lexer.c
311
n = yygetc(1);
sbin/ipf/common/lexer.c
312
if (n == EOF || n == TOOLONG) {
sbin/ipf/common/lexer.c
316
if (n == '\n') {
sbin/ipf/common/lexer.c
320
} while (n != c);
sbin/ipf/common/lexer.c
360
n = yygetc(0);
sbin/ipf/common/lexer.c
361
if (n == '>') {
sbin/ipf/common/lexer.c
365
yyunputc(n);
sbin/ipf/common/lexer.c
383
n = yygetc(0);
sbin/ipf/common/lexer.c
384
if (n == '=') {
sbin/ipf/common/lexer.c
388
yyunputc(n);
sbin/ipf/common/lexer.c
399
n = yygetc(0);
sbin/ipf/common/lexer.c
400
if (n == '=') {
sbin/ipf/common/lexer.c
404
if (n == '>') {
sbin/ipf/common/lexer.c
408
yyunputc(n);
sbin/ipf/common/lexer.c
419
n = yygetc(0);
sbin/ipf/common/lexer.c
420
if (n == '=') {
sbin/ipf/common/lexer.c
424
if (n == '<') {
sbin/ipf/common/lexer.c
428
yyunputc(n);
sbin/ipf/common/lexer.c
507
n = yygetc(0);
sbin/ipf/common/lexer.c
508
if (n == 'x') {
sbin/ipf/common/lexer.c
510
n = yygetc(1);
sbin/ipf/common/lexer.c
511
} while (ishex(n));
sbin/ipf/common/lexer.c
512
yyunputc(n);
sbin/ipf/common/lexer.c
516
yyunputc(n);
sbin/ipf/common/lexer.c
524
n = yygetc(1);
sbin/ipf/common/lexer.c
525
} while (ISDIGIT(n));
sbin/ipf/common/lexer.c
526
yyunputc(n);
sbin/ipf/common/lexer.c
728
int n;
sbin/ipf/common/lexer.c
732
while ((n = yylex()) != 0)
sbin/ipf/common/lexer.c
734
yylineNum, n, yystr, yypos, yylast);
sbin/ipf/ipf/bpf_filter.c
181
mb_t *m, *n;
sbin/ipf/ipf/bpf_filter.c
243
n = m;
sbin/ipf/ipf/bpf_filter.c
244
MINDEX(len, n, k);
sbin/ipf/ipf/bpf_filter.c
245
A = MTOD(n, u_char *)[k];
sbin/ipf/ipf/bpf_filter.c
290
n = m;
sbin/ipf/ipf/bpf_filter.c
291
MINDEX(len, n, k);
sbin/ipf/ipf/bpf_filter.c
292
A = MTOD(n, u_char *)[k];
sbin/ipf/ipf/bpf_filter.c
303
n = m;
sbin/ipf/ipf/bpf_filter.c
304
MINDEX(len, n, k);
sbin/ipf/ipf/bpf_filter.c
305
X = (MTOD(n, char *)[k] & 0xf) << 2;
sbin/ipf/ipf/ipfcomp.c
1003
m[i].n = 0;
sbin/ipf/ipf/ipfcomp.c
1013
if ((n & 0x0001) &&
sbin/ipf/ipf/ipfcomp.c
1017
m[FRC_IFN].n++;
sbin/ipf/ipf/ipfcomp.c
1019
n &= ~0x0001;
sbin/ipf/ipf/ipfcomp.c
1021
if ((n & 0x0002) && (fr1->fr_family == fr->fr_family)) {
sbin/ipf/ipf/ipfcomp.c
1023
m[FRC_V].n++;
sbin/ipf/ipf/ipfcomp.c
1025
n &= ~0x0002;
sbin/ipf/ipf/ipfcomp.c
1027
if ((n & 0x0004) &&
sbin/ipf/ipf/ipfcomp.c
1033
m[FRC_FL].n++;
sbin/ipf/ipf/ipfcomp.c
1035
n &= ~0x0004;
sbin/ipf/ipf/ipfcomp.c
1037
if ((n & 0x0008) &&
sbin/ipf/ipf/ipfcomp.c
1042
m[FRC_P].n++;
sbin/ipf/ipf/ipfcomp.c
1044
n &= ~0x0008;
sbin/ipf/ipf/ipfcomp.c
1046
if ((n & 0x0010) &&
sbin/ipf/ipf/ipfcomp.c
1051
m[FRC_TTL].n++;
sbin/ipf/ipf/ipfcomp.c
1053
n &= ~0x0010;
sbin/ipf/ipf/ipfcomp.c
1055
if ((n & 0x0020) &&
sbin/ipf/ipf/ipfcomp.c
1060
m[FRC_TOS].n++;
sbin/ipf/ipf/ipfcomp.c
1062
n &= ~0x0020;
sbin/ipf/ipf/ipfcomp.c
1064
if ((n & 0x0040) &&
sbin/ipf/ipf/ipfcomp.c
1070
m[FRC_TCP].n++;
sbin/ipf/ipf/ipfcomp.c
1072
n &= ~0x0040;
sbin/ipf/ipf/ipfcomp.c
1074
if ((n & 0x0080) &&
sbin/ipf/ipf/ipfcomp.c
1081
m[FRC_SP].n++;
sbin/ipf/ipf/ipfcomp.c
1083
n &= ~0x0080;
sbin/ipf/ipf/ipfcomp.c
1085
if ((n & 0x0100) &&
sbin/ipf/ipf/ipfcomp.c
1092
m[FRC_DP].n++;
sbin/ipf/ipf/ipfcomp.c
1094
n &= ~0x0100;
sbin/ipf/ipf/ipfcomp.c
1096
if ((n & 0x0200) &&
sbin/ipf/ipf/ipfcomp.c
1103
m[FRC_SRC].n++;
sbin/ipf/ipf/ipfcomp.c
1104
} else if ((n & 0x0200) &&
sbin/ipf/ipf/ipfcomp.c
1113
n &= ~0x0200;
sbin/ipf/ipf/ipfcomp.c
1117
m[FRC_SRC].n++;
sbin/ipf/ipf/ipfcomp.c
1118
n |= 0x0200;
sbin/ipf/ipf/ipfcomp.c
1121
n &= ~0x0200;
sbin/ipf/ipf/ipfcomp.c
1124
if ((n & 0x0400) &&
sbin/ipf/ipf/ipfcomp.c
1131
m[FRC_DST].n++;
sbin/ipf/ipf/ipfcomp.c
1132
} else if ((n & 0x0400) &&
sbin/ipf/ipf/ipfcomp.c
1141
n &= ~0x0400;
sbin/ipf/ipf/ipfcomp.c
1145
m[FRC_DST].n++;
sbin/ipf/ipf/ipfcomp.c
1146
n |= 0x0400;
sbin/ipf/ipf/ipfcomp.c
1149
n &= ~0x0400;
sbin/ipf/ipf/ipfcomp.c
1152
if ((n & 0x0800) &&
sbin/ipf/ipf/ipfcomp.c
1158
m[FRC_OPT].n++;
sbin/ipf/ipf/ipfcomp.c
1160
n &= ~0x0800;
sbin/ipf/ipf/ipfcomp.c
1162
if ((n & 0x1000) &&
sbin/ipf/ipf/ipfcomp.c
1168
m[FRC_SEC].n++;
sbin/ipf/ipf/ipfcomp.c
1170
n &= ~0x1000;
sbin/ipf/ipf/ipfcomp.c
1172
if ((n & 0x10000) &&
sbin/ipf/ipf/ipfcomp.c
1178
m[FRC_ATH].n++;
sbin/ipf/ipf/ipfcomp.c
1180
n &= ~0x10000;
sbin/ipf/ipf/ipfcomp.c
1182
if ((n & 0x20000) &&
sbin/ipf/ipf/ipfcomp.c
1190
m[FRC_ICT].n++;
sbin/ipf/ipf/ipfcomp.c
1192
n &= ~0x20000;
sbin/ipf/ipf/ipfcomp.c
1194
if ((n & 0x40000) &&
sbin/ipf/ipf/ipfcomp.c
1200
m[FRC_ICC].n++;
sbin/ipf/ipf/ipfcomp.c
1202
n &= ~0x40000;
sbin/ipf/ipf/ipfcomp.c
14
int n;
sbin/ipf/ipf/ipfcomp.c
245
if (i1->n == i2->n) {
sbin/ipf/ipf/ipfcomp.c
248
return (i2->n - i1->n);
sbin/ipf/ipf/ipfcomp.c
436
static mc_t *n = NULL;
sbin/ipf/ipf/ipfcomp.c
456
if (n != NULL) {
sbin/ipf/ipf/ipfcomp.c
457
free(n);
sbin/ipf/ipf/ipfcomp.c
458
n = NULL;
sbin/ipf/ipf/ipfcomp.c
466
if (n != NULL) {
sbin/ipf/ipf/ipfcomp.c
467
free(n);
sbin/ipf/ipf/ipfcomp.c
468
n = NULL;
sbin/ipf/ipf/ipfcomp.c
685
if (n) {
sbin/ipf/ipf/ipfcomp.c
691
if (n[i].c != m[i].c)
sbin/ipf/ipf/ipfcomp.c
693
if (n[i].s != m[i].s)
sbin/ipf/ipf/ipfcomp.c
695
if (n[i].s) {
sbin/ipf/ipf/ipfcomp.c
696
if (n[i].n && (n[i].n > n[i].e)) {
sbin/ipf/ipf/ipfcomp.c
701
if (n[i].e > 0) {
sbin/ipf/ipf/ipfcomp.c
936
if (n == NULL)
sbin/ipf/ipf/ipfcomp.c
937
n = (mc_t *)malloc(sizeof(*n) * FRC_MAX);
sbin/ipf/ipf/ipfcomp.c
938
bcopy((char *)m, (char *)n, sizeof(*n) * FRC_MAX);
sbin/ipf/ipf/ipfcomp.c
970
int i, n, rn;
sbin/ipf/ipf/ipfcomp.c
994
n = 0xfffffff;
sbin/ipf/ipfs/ipfs.c
541
int n;
sbin/ipf/ipfs/ipfs.c
584
n = ipn.ipn_dsize - sizeof(ipn);
sbin/ipf/ipfs/ipfs.c
585
if (n > 0) {
sbin/ipf/ipfs/ipfs.c
587
i = read(nfd, s, n);
sbin/ipf/ipfs/ipfs.c
590
if (i != n) {
sbin/ipf/ipfs/ipfs.c
593
i, n);
sbin/ipf/ipfstat/ipfstat.c
2120
int n = IPFGENITER_STATE;
sbin/ipf/ipfstat/ipfstat.c
2121
(void) ioctl(ipf_fd,SIOCIPFDELTOK, &n);
sbin/ipf/ipfstat/ipfstat.c
2153
int i, n, *x, rv, p;
sbin/ipf/ipfstat/ipfstat.c
2158
for (n = array[0], x = array + 1; n > 0; x += e->ipfe_size) {
sbin/ipf/ipfstat/ipfstat.c
2162
n -= e->ipfe_size;
sbin/ipf/ipfstat/ipfstat.c
899
int n;
sbin/ipf/ipfstat/ipfstat.c
902
n = 0;
sbin/ipf/ipfstat/ipfstat.c
906
for (n = 1; fp; fp = fb.fr_next, n++) {
sbin/ipf/ipfstat/ipfstat.c
957
PRINTF("@%d ", n);
sbin/ipf/ipfsync/ipfsyncd.c
240
int n;
sbin/ipf/ipfsync/ipfsyncd.c
244
n = select(maxfd + 1, &rd, NULL, NULL, NULL);
sbin/ipf/ipfsync/ipfsyncd.c
245
if (n < 0) {
sbin/ipf/ipftest/ipftest.c
279
n = m->mb_next;
sbin/ipf/ipftest/ipftest.c
281
m = n;
sbin/ipf/ipftest/ipftest.c
33
int kstrncpy(char *, long, int n);
sbin/ipf/ipftest/ipftest.c
503
kstrncpy(char *buf, long pos, int n)
sbin/ipf/ipftest/ipftest.c
509
while ((n > 0) && (*buf++ = *ptr++))
sbin/ipf/ipftest/ipftest.c
68
mb_t mb, *m, *n;
sbin/ipf/ipftest/md5.c
77
#define ROTATE_LEFT(x, n) (((x) << (n)) | ((x) >> (32-(n))))
sbin/ipf/ipmon/ipmon.c
1759
int n, tr, nr, i;
sbin/ipf/ipmon/ipmon.c
1765
n = select(conf->maxfd + 1, &fdr, NULL, NULL, NULL);
sbin/ipf/ipmon/ipmon.c
1766
if (n == 0)
sbin/ipf/ipmon/ipmon.c
1768
if (n == -1) {
sbin/ipf/ipmon/ipmon.c
1787
n = 0;
sbin/ipf/ipmon/ipmon.c
1788
tr = read_log(l->fd, &n, (char *)buf, sizeof(buf));
sbin/ipf/ipmon/ipmon.c
1831
if (n > 0) {
sbin/ipf/ipmon/ipmon.c
1832
print_log(conf, l, (char *)buf, n);
sbin/ipf/ipnat/ipnat.c
285
int n = 0;
sbin/ipf/ipnat/ipnat.c
288
n = 0;
sbin/ipf/ipnat/ipnat.c
299
n = -1;
sbin/ipf/ipnat/ipnat.c
301
n = obj.ipfo_retval;
sbin/ipf/ipnat/ipnat.c
303
} else if (ioctl(fd, SIOCIPFFL, &n) == -1) {
sbin/ipf/ipnat/ipnat.c
305
n = -1;
sbin/ipf/ipnat/ipnat.c
308
if (n >= 0)
sbin/ipf/ipnat/ipnat.c
309
printf("%d entries flushed from NAT table\n", n);
sbin/ipf/ipnat/ipnat.c
313
n = 1;
sbin/ipf/ipnat/ipnat.c
314
if (!(opts & OPT_DONOTHING) && ioctl(fd, SIOCIPFFL, &n) == -1)
sbin/ipf/ipnat/ipnat.c
317
printf("%d entries flushed from NAT list\n", n);
sbin/ipf/ipnat/ipnat.c
678
int i, n, *x, rv, p;
sbin/ipf/ipnat/ipnat.c
682
n = array[0];
sbin/ipf/ipnat/ipnat.c
685
for (; n > 0; x += 3 + x[3], rv = 0) {
sbin/ipf/ipnat/ipnat.c
689
n -= e->ipfe_size;
sbin/ipf/ipnat/ipnat_y.y
1371
ipnat_t *n;
sbin/ipf/ipnat/ipnat_y.y
1373
n = calloc(1, sizeof(*n));
sbin/ipf/ipnat/ipnat_y.y
1374
if (n == NULL)
sbin/ipf/ipnat/ipnat_y.y
1378
nattop = nat = n;
sbin/ipf/ipnat/ipnat_y.y
1379
n->in_pnext = &nattop;
sbin/ipf/ipnat/ipnat_y.y
1381
nat->in_next = n;
sbin/ipf/ipnat/ipnat_y.y
1382
n->in_pnext = &nat->in_next;
sbin/ipf/ipnat/ipnat_y.y
1383
nat = n;
sbin/ipf/ipnat/ipnat_y.y
1386
n->in_flineno = yylineNum;
sbin/ipf/ipnat/ipnat_y.y
1387
n->in_ifnames[0] = -1;
sbin/ipf/ipnat/ipnat_y.y
1388
n->in_ifnames[1] = -1;
sbin/ipf/ipnat/ipnat_y.y
1389
n->in_plabel = -1;
sbin/ipf/ipnat/ipnat_y.y
1390
n->in_pconfig = -1;
sbin/ipf/ipnat/ipnat_y.y
1391
n->in_size = sizeof(*n);
sbin/ipf/ipnat/ipnat_y.y
1596
namelist_t *n;
sbin/ipf/ipnat/ipnat_y.y
1598
n = calloc(1, sizeof(*n));
sbin/ipf/ipnat/ipnat_y.y
1599
if (n != NULL) {
sbin/ipf/ipnat/ipnat_y.y
1601
n->na_name = strdup(name);
sbin/ipf/ipnat/ipnat_y.y
1603
n->na_name = malloc(strlen(name) + strlen(prefix) + 1);
sbin/ipf/ipnat/ipnat_y.y
1604
strcpy(n->na_name, prefix);
sbin/ipf/ipnat/ipnat_y.y
1605
strcat(n->na_name, name);
sbin/ipf/ipnat/ipnat_y.y
1608
return(n);
sbin/ipf/ipnat/ipnat_y.y
1615
namelist_t *n;
sbin/ipf/ipnat/ipnat_y.y
1617
n = calloc(1, sizeof(*n));
sbin/ipf/ipnat/ipnat_y.y
1618
if (n != NULL) {
sbin/ipf/ipnat/ipnat_y.y
1620
n->na_name = strdup(name);
sbin/ipf/ipnat/ipnat_y.y
1622
n->na_name = malloc(strlen(name) + strlen(prefix) + 1);
sbin/ipf/ipnat/ipnat_y.y
1623
strcpy(n->na_name, prefix);
sbin/ipf/ipnat/ipnat_y.y
1624
strcat(n->na_name, name);
sbin/ipf/ipnat/ipnat_y.y
1626
n->na_value = 1;
sbin/ipf/ipnat/ipnat_y.y
1628
return(n);
sbin/ipf/ipnat/ipnat_y.y
1726
ipnat_t *n;
sbin/ipf/ipnat/ipnat_y.y
1731
n = realloc(*np, (*np)->in_size + nlen);
sbin/ipf/ipnat/ipnat_y.y
1733
nattop = n;
sbin/ipf/ipnat/ipnat_y.y
1734
*np = n;
sbin/ipf/ipnat/ipnat_y.y
1735
if (n == NULL)
sbin/ipf/ipnat/ipnat_y.y
1737
if (n->in_pnext != NULL)
sbin/ipf/ipnat/ipnat_y.y
1738
*n->in_pnext = n;
sbin/ipf/ipnat/ipnat_y.y
1739
n->in_size += nlen;
sbin/ipf/ipnat/ipnat_y.y
1740
pos = n->in_namelen;
sbin/ipf/ipnat/ipnat_y.y
1741
n->in_namelen += nlen;
sbin/ipf/ipnat/ipnat_y.y
1742
strcpy(n->in_names + pos, name);
sbin/ipf/ipnat/ipnat_y.y
1743
n->in_names[n->in_namelen] = '\0';
sbin/ipf/ipnat/ipnat_y.y
698
$$.n = $3;
sbin/ipf/ipnat/ipnat_y.y
703
$$.n = addname(&nat, $3);
sbin/ipf/ipnat/ipnat_y.y
93
int n; /* number */
sbin/ipf/ippool/ippool_y.y
100
line: table role ipftree eol { ip_pool_node_t *n;
sbin/ipf/ippool/ippool_y.y
104
while ((n = $3) != NULL) {
sbin/ipf/ippool/ippool_y.y
105
$3 = n->ipn_next;
sbin/ipf/ippool/ippool_y.y
106
free(n);
sbin/ipf/ipsend/dlcommon.c
1043
int n = 0;
sbin/ipf/ipsend/dlcommon.c
1054
n++;
sbin/ipf/ipsend/dlcommon.c
1058
return (n);
sbin/ipf/ipsend/dltest.h
28
#define OFFADDR(s, n) (u_char*)((char*)(s) + (int)(n))
sbin/ipf/ipsend/sock.c
110
if (read(kfd, buf, n) == -1)
sbin/ipf/ipsend/sock.c
115
return (n);
sbin/ipf/ipsend/sock.c
131
size_t n;
sbin/ipf/ipsend/sock.c
138
n = sizeof(kp);
sbin/ipf/ipsend/sock.c
139
if (sysctl(mib, 4, &kp, &n, NULL, 0) == -1)
sbin/ipf/ipsend/sock.c
97
kmemcpy(char *buf, void *pos, int n)
sbin/ipf/libipf/gethost.c
16
struct netent *n;
sbin/ipf/libipf/gethost.c
49
n = getnetbyname(name);
sbin/ipf/libipf/gethost.c
50
if (n != NULL) {
sbin/ipf/libipf/gethost.c
51
hostp->in4.s_addr = htonl(n->n_net & 0xffffffff);
sbin/ipf/libipf/inet_addr.c
149
n = pp - parts + 1;
sbin/ipf/libipf/inet_addr.c
150
switch (n) {
sbin/ipf/libipf/inet_addr.c
93
register int base, n;
sbin/ipf/libipf/ipft_pc.c
137
int n, p, i;
sbin/ipf/libipf/ipft_pc.c
139
n = sizeof(*rec);
sbin/ipf/libipf/ipft_pc.c
141
while (n > 0) {
sbin/ipf/libipf/ipft_pc.c
145
n -= i;
sbin/ipf/libipf/ipft_pc.c
155
n = MIN(p, rec->wirelen);
sbin/ipf/libipf/ipft_pc.c
156
if (!n || n < 0)
sbin/ipf/libipf/ipft_pc.c
175
int i, n;
sbin/ipf/libipf/ipft_pc.c
188
n = MIN(i, cnt);
sbin/ipf/libipf/ipft_pc.c
189
bcopy(bufp, buf, n);
sbin/ipf/libipf/ipft_pc.c
190
return (n);
sbin/ipf/libipf/ipft_pc.c
205
int i, j, n;
sbin/ipf/libipf/ipft_pc.c
227
for (j = i, n = 0; j > 0; ) {
sbin/ipf/libipf/ipft_pc.c
228
n = read(pfd, s, j);
sbin/ipf/libipf/ipft_pc.c
229
if (n <= 0)
sbin/ipf/libipf/ipft_pc.c
231
j -= n;
sbin/ipf/libipf/ipft_pc.c
232
s += n;
sbin/ipf/libipf/ipft_pc.c
241
n = MIN(i, cnt);
sbin/ipf/libipf/ipft_pc.c
242
bcopy(s, buf, n);
sbin/ipf/libipf/ipft_pc.c
243
mb->mb_len = n;
sbin/ipf/libipf/ipft_pc.c
244
return (n);
sbin/ipf/libipf/kmem.c
105
n--;
sbin/ipf/libipf/kmem.c
51
kmemcpy(register char *buf, long pos, register int n)
sbin/ipf/libipf/kmem.c
55
if (!n)
sbin/ipf/libipf/kmem.c
62
while ((r = kvm_read(kvm_f, pos, buf, n)) < n)
sbin/ipf/libipf/kmem.c
73
n -= r;
sbin/ipf/libipf/kmem.c
79
kstrncpy(register char *buf, long pos, register int n)
sbin/ipf/libipf/kmem.c
83
if (!n)
sbin/ipf/libipf/kmem.c
90
while (n > 0)
sbin/ipf/libipf/load_hash.c
24
int n;
sbin/ipf/libipf/load_hash.c
29
for (n = 0, a = list; a != NULL; a = a->ipe_next)
sbin/ipf/libipf/load_hash.c
30
n++;
sbin/ipf/libipf/load_hash.c
42
if (n <= 0)
sbin/ipf/libipf/load_hash.c
43
n = 1;
sbin/ipf/libipf/load_hash.c
45
size = n * 2 - 1;
sbin/ipf/libipf/nat_setgroupmap.c
11
nat_setgroupmap(ipnat_t *n)
sbin/ipf/libipf/nat_setgroupmap.c
13
if (n->in_nsrcmsk == n->in_osrcmsk)
sbin/ipf/libipf/nat_setgroupmap.c
14
n->in_ippip = 1;
sbin/ipf/libipf/nat_setgroupmap.c
15
else if (n->in_flags & IPN_AUTOPORTMAP) {
sbin/ipf/libipf/nat_setgroupmap.c
16
n->in_ippip = ~ntohl(n->in_osrcmsk);
sbin/ipf/libipf/nat_setgroupmap.c
17
if (n->in_nsrcmsk != 0xffffffff)
sbin/ipf/libipf/nat_setgroupmap.c
18
n->in_ippip /= (~ntohl(n->in_nsrcmsk) + 1);
sbin/ipf/libipf/nat_setgroupmap.c
19
n->in_ippip++;
sbin/ipf/libipf/nat_setgroupmap.c
20
if (n->in_ippip == 0)
sbin/ipf/libipf/nat_setgroupmap.c
21
n->in_ippip = 1;
sbin/ipf/libipf/nat_setgroupmap.c
22
n->in_ppip = USABLE_PORTS / n->in_ippip;
sbin/ipf/libipf/nat_setgroupmap.c
24
n->in_space = USABLE_PORTS * ~ntohl(n->in_nsrcmsk);
sbin/ipf/libipf/nat_setgroupmap.c
25
n->in_snip = 0;
sbin/ipf/libipf/nat_setgroupmap.c
26
if (!(n->in_ppip = n->in_spmin))
sbin/ipf/libipf/nat_setgroupmap.c
27
n->in_ppip = 1;
sbin/ipf/libipf/nat_setgroupmap.c
28
n->in_ippip = USABLE_PORTS / n->in_ppip;
sbin/ipf/libipf/printdstlist.c
35
ipf_dstnode_t *n;
sbin/ipf/libipf/printdstlist.c
37
n = calloc(1, node->ipfd_size);
sbin/ipf/libipf/printdstlist.c
38
if (n == NULL)
sbin/ipf/libipf/printdstlist.c
40
if ((*copyfunc)(node, n, node->ipfd_size)) {
sbin/ipf/libipf/printdstlist.c
41
free(n);
sbin/ipf/libipf/printdstlist.c
47
node = printdstlistnode(n, bcopywrap, opts, fields);
sbin/ipf/libipf/printdstlist.c
49
free(n);
sbin/ipf/libipf/printnatfield.c
101
PRINTF("%"PRIu64"", n->nat_pkts[0]);
sbin/ipf/libipf/printnatfield.c
103
PRINTF("%lu", n->nat_pkts[0]);
sbin/ipf/libipf/printnatfield.c
109
PRINTF("%"PRIu64"", n->nat_pkts[1]);
sbin/ipf/libipf/printnatfield.c
111
PRINTF("%lu", n->nat_pkts[1]);
sbin/ipf/libipf/printnatfield.c
117
PRINTF("%"PRIu64"", n->nat_bytes[0]);
sbin/ipf/libipf/printnatfield.c
119
PRINTF("%lu", n->nat_bytes[0]);
sbin/ipf/libipf/printnatfield.c
125
PRINTF("%"PRIu64"", n->nat_bytes[1]);
sbin/ipf/libipf/printnatfield.c
127
PRINTF("%lu", n->nat_bytes[1]);
sbin/ipf/libipf/printnatfield.c
132
PRINTF("%d", n->nat_pr[0]);
sbin/ipf/libipf/printnatfield.c
136
PRINTF("%d", n->nat_pr[1]);
sbin/ipf/libipf/printnatfield.c
140
PRINTF("%u", n->nat_hv[0]);
sbin/ipf/libipf/printnatfield.c
144
PRINTF("%u", n->nat_hv[1]);
sbin/ipf/libipf/printnatfield.c
148
PRINTF("%d", n->nat_ref);
sbin/ipf/libipf/printnatfield.c
152
PRINTF("%d", n->nat_rev);
sbin/ipf/libipf/printnatfield.c
156
PRINTF("%d", n->nat_v[0]);
sbin/ipf/libipf/printnatfield.c
160
PRINTF("%d", n->nat_v[0]);
sbin/ipf/libipf/printnatfield.c
164
PRINTF("%d", n->nat_redir);
sbin/ipf/libipf/printnatfield.c
168
PRINTF("%d", n->nat_use);
sbin/ipf/libipf/printnatfield.c
172
PRINTF("%u", n->nat_ipsumd);
sbin/ipf/libipf/printnatfield.c
176
PRINTF("%d", n->nat_dir);
sbin/ipf/libipf/printnatfield.c
180
PRINTF("%s", hostname(n->nat_v[0], &n->nat_odstip));
sbin/ipf/libipf/printnatfield.c
184
PRINTF("%s", hostname(n->nat_v[0], &n->nat_osrcip));
sbin/ipf/libipf/printnatfield.c
188
PRINTF("%s", hostname(n->nat_v[1], &n->nat_ndstip));
sbin/ipf/libipf/printnatfield.c
192
PRINTF("%s", hostname(n->nat_v[1], &n->nat_nsrcip));
sbin/ipf/libipf/printnatfield.c
196
PRINTF("%hu", ntohs(n->nat_odport));
sbin/ipf/libipf/printnatfield.c
200
PRINTF("%hu", ntohs(n->nat_osport));
sbin/ipf/libipf/printnatfield.c
204
PRINTF("%hu", ntohs(n->nat_ndport));
sbin/ipf/libipf/printnatfield.c
208
PRINTF("%hu", ntohs(n->nat_nsport));
sbin/ipf/libipf/printnatfield.c
212
PRINTF("%u", n->nat_age);
sbin/ipf/libipf/printnatfield.c
51
printnatfield( nat_t *n, int fieldnum)
sbin/ipf/libipf/printnatfield.c
60
printnatfield(n, i);
sbin/ipf/libipf/printnatfield.c
68
PRINTF("%#lx", (u_long)n->nat_ifps[0]);
sbin/ipf/libipf/printnatfield.c
72
PRINTF("%#lx", (u_long)n->nat_ifps[1]);
sbin/ipf/libipf/printnatfield.c
76
PRINTF("%d", n->nat_mtu[0]);
sbin/ipf/libipf/printnatfield.c
80
PRINTF("%d", n->nat_mtu[1]);
sbin/ipf/libipf/printnatfield.c
84
PRINTF("%s", n->nat_ifnames[0]);
sbin/ipf/libipf/printnatfield.c
88
PRINTF("%s", n->nat_ifnames[1]);
sbin/ipf/libipf/printnatfield.c
92
PRINTF("%d", n->nat_sumd[0]);
sbin/ipf/libipf/printnatfield.c
96
PRINTF("%d", n->nat_sumd[1]);
sbin/ipf/libipf/save_v1trap.c
230
u_int n = htonl(value);
sbin/ipf/libipf/save_v1trap.c
248
bcopy((u_char *)&n + 4 - len, buffer + 1, len);
sbin/ipf/libipf/save_v1trap.c
258
u_int n = value;
sbin/ipf/libipf/save_v1trap.c
265
if (n > 4194304) {
sbin/ipf/libipf/save_v1trap.c
266
*s++ = 0x80 | (n / 4194304);
sbin/ipf/libipf/save_v1trap.c
267
n -= 4194304 * (n / 4194304);
sbin/ipf/libipf/save_v1trap.c
269
if (n > 32768) {
sbin/ipf/libipf/save_v1trap.c
270
*s++ = 0x80 | (n / 32768);
sbin/ipf/libipf/save_v1trap.c
271
n -= 32768 * (n / 327678);
sbin/ipf/libipf/save_v1trap.c
273
if (n > 128) {
sbin/ipf/libipf/save_v1trap.c
274
*s++ = 0x80 | (n / 128);
sbin/ipf/libipf/save_v1trap.c
275
n -= (n / 128) * 128;
sbin/ipf/libipf/save_v1trap.c
277
*s++ = (u_char)n;
sbin/ipf/libipf/save_v1trap.c
299
int n;
sbin/ipf/libipf/save_v1trap.c
346
n = writeint(s + 1, 6);
sbin/ipf/libipf/save_v1trap.c
347
if (n == 0)
sbin/ipf/libipf/save_v1trap.c
349
*s = n;
sbin/ipf/libipf/save_v1trap.c
350
s += n + 1;
sbin/ipf/libipf/save_v1trap.c
354
n = writeint(s + 1, 0);
sbin/ipf/libipf/save_v1trap.c
355
if (n == 0)
sbin/ipf/libipf/save_v1trap.c
357
*s = n;
sbin/ipf/libipf/save_v1trap.c
358
s += n + 1;
sbin/ipf/libipf/save_v1trap.c
388
n = writeint(t + 1, IPFILTER_VERSION);
sbin/ipf/libipf/save_v1trap.c
389
*t = n;
sbin/ipf/libipf/save_v1trap.c
390
t += n + 1;
sbin/ipf/libipf/save_v1trap.c
408
n = writelength(t, msglen);
sbin/ipf/libipf/save_v1trap.c
409
t += n;
sbin/ipf/libipf/save_v1trap.c
434
int n;
sbin/ipf/libipf/save_v1trap.c
436
n = maketrap_v1(community, buffer, sizeof(buffer),
sbin/ipf/libipf/save_v1trap.c
438
if (n > 0) {
sbin/ipf/libipf/save_v1trap.c
439
return (send(fd, buffer, n, 0));
sbin/ipf/libipf/save_v2trap.c
232
u_int n = htonl(value);
sbin/ipf/libipf/save_v2trap.c
250
bcopy((u_char *)&n + 4 - len, buffer + 1, len);
sbin/ipf/libipf/save_v2trap.c
260
u_int n = value;
sbin/ipf/libipf/save_v2trap.c
267
if (n > 4194304) {
sbin/ipf/libipf/save_v2trap.c
268
*s++ = 0x80 | (n / 4194304);
sbin/ipf/libipf/save_v2trap.c
269
n -= 4194304 * (n / 4194304);
sbin/ipf/libipf/save_v2trap.c
271
if (n > 32768) {
sbin/ipf/libipf/save_v2trap.c
272
*s++ = 0x80 | (n / 32768);
sbin/ipf/libipf/save_v2trap.c
273
n -= 32768 * (n / 327678);
sbin/ipf/libipf/save_v2trap.c
275
if (n > 128) {
sbin/ipf/libipf/save_v2trap.c
276
*s++ = 0x80 | (n / 128);
sbin/ipf/libipf/save_v2trap.c
277
n -= (n / 128) * 128;
sbin/ipf/libipf/save_v2trap.c
279
*s++ = (u_char)n;
sbin/ipf/libipf/save_v2trap.c
302
int n;
sbin/ipf/libipf/save_v2trap.c
384
n = writeint(t + 1, IPFILTER_VERSION);
sbin/ipf/libipf/save_v2trap.c
385
*t = n;
sbin/ipf/libipf/save_v2trap.c
386
t += n + 1;
sbin/ipf/libipf/save_v2trap.c
409
n = writelength(t, msglen);
sbin/ipf/libipf/save_v2trap.c
410
t += n;
sbin/ipf/libipf/save_v2trap.c
435
int n;
sbin/ipf/libipf/save_v2trap.c
437
n = maketrap_v2(community, buffer, sizeof(buffer),
sbin/ipf/libipf/save_v2trap.c
439
if (n > 0) {
sbin/ipf/libipf/save_v2trap.c
440
return (send(fd, buffer, n, 0));
sbin/ipfw/dummynet.c
1884
int n = 0;
sbin/ipfw/dummynet.c
1915
n++;
sbin/ipfw/dummynet.c
1921
v = (n*2 < len) ? v + 2 : base;
sbin/ipfw/dummynet.c
1923
return n;
sbin/ipfw/dummynet.c
1940
int n; /* # of ranges */
sbin/ipfw/dummynet.c
1948
n = parse_range(ac, av, NULL, 0); /* Count # of ranges. */
sbin/ipfw/dummynet.c
1951
l = sizeof(*oid) + sizeof(uint32_t) * n * 2;
sbin/ipfw/dummynet.c
1955
if (n > 0) /* store ranges in idx */
sbin/ipfw/dummynet.c
1956
parse_range(ac, av, (uint32_t *)(oid + 1), n*2);
sbin/ipfw/dummynet.c
1990
if (n > 0) {
sbin/ipfw/ipfw2.c
1274
int i, n;
sbin/ipfw/ipfw2.c
1279
for (n=i+1; n < len; n++)
sbin/ipfw/ipfw2.c
1280
if ( (p[n/8] & (1 << (7 - (n%8)))) != 0)
sbin/ipfw/ipfw2.c
2910
int n;
sbin/ipfw/ipfw2.c
2917
for (n = 0; n < rcnt; n++,
sbin/ipfw/ipfw2.c
2948
int n, seen;
sbin/ipfw/ipfw2.c
2952
for (n = seen = 0; n < rcnt; n++,
sbin/ipfw/ipfw2.c
3622
n2mask(struct in6_addr *mask, int n)
sbin/ipfw/ipfw2.c
3630
for (; n > 0; p++, n -= 8) {
sbin/ipfw/ipfw2.c
3631
if (n >= 8)
sbin/ipfw/ipfw2.c
3634
*p = minimask[n];
sbin/ipfw/ipfw2.h
380
void n2mask(struct in6_addr *mask, int n);
sbin/ipfw/ipfw2.h
437
int ipfw_delete_pipe(int pipe_or_queue, int n);
sbin/ipfw/nat.c
166
n->ip.s_addr = htonl(INADDR_ANY);
sbin/ipfw/nat.c
168
n->ip = sin->sin_addr;
sbin/ipfw/nat.c
169
strncpy(n->if_name, ifn, IF_NAMESIZE);
sbin/ipfw/nat.c
47
static void nat_show_cfg(struct nat44_cfg_nat *n, void *arg);
sbin/ipfw/nat.c
48
static void nat_show_log(struct nat44_cfg_nat *n, void *arg);
sbin/ipfw/nat.c
626
nat_show_log(struct nat44_cfg_nat *n, void *arg __unused)
sbin/ipfw/nat.c
630
buf = (char *)(n + 1);
sbin/ipfw/nat.c
632
printf("nat %s: %s\n", n->name, buf);
sbin/ipfw/nat.c
636
nat_show_cfg(struct nat44_cfg_nat *n, void *arg __unused)
sbin/ipfw/nat.c
645
buf = (caddr_t)n;
sbin/ipfw/nat.c
646
off = sizeof(*n);
sbin/ipfw/nat.c
647
printf("ipfw nat %s config", n->name);
sbin/ipfw/nat.c
648
if (strlen(n->if_name) != 0)
sbin/ipfw/nat.c
649
printf(" if %s", n->if_name);
sbin/ipfw/nat.c
650
else if (n->ip.s_addr != 0)
sbin/ipfw/nat.c
651
printf(" ip %s", inet_ntoa(n->ip));
sbin/ipfw/nat.c
652
while (n->mode != 0) {
sbin/ipfw/nat.c
653
if (n->mode & PKT_ALIAS_LOG) {
sbin/ipfw/nat.c
655
n->mode &= ~PKT_ALIAS_LOG;
sbin/ipfw/nat.c
656
} else if (n->mode & PKT_ALIAS_DENY_INCOMING) {
sbin/ipfw/nat.c
658
n->mode &= ~PKT_ALIAS_DENY_INCOMING;
sbin/ipfw/nat.c
659
} else if (n->mode & PKT_ALIAS_SAME_PORTS) {
sbin/ipfw/nat.c
661
n->mode &= ~PKT_ALIAS_SAME_PORTS;
sbin/ipfw/nat.c
662
} else if (n->mode & PKT_ALIAS_SKIP_GLOBAL) {
sbin/ipfw/nat.c
664
n->mode &= ~PKT_ALIAS_SKIP_GLOBAL;
sbin/ipfw/nat.c
665
} else if (n->mode & PKT_ALIAS_UNREGISTERED_ONLY) {
sbin/ipfw/nat.c
667
n->mode &= ~PKT_ALIAS_UNREGISTERED_ONLY;
sbin/ipfw/nat.c
668
} else if (n->mode & PKT_ALIAS_UNREGISTERED_CGN) {
sbin/ipfw/nat.c
670
n->mode &= ~PKT_ALIAS_UNREGISTERED_CGN;
sbin/ipfw/nat.c
671
} else if (n->mode & PKT_ALIAS_RESET_ON_ADDR_CHANGE) {
sbin/ipfw/nat.c
673
n->mode &= ~PKT_ALIAS_RESET_ON_ADDR_CHANGE;
sbin/ipfw/nat.c
674
} else if (n->mode & PKT_ALIAS_REVERSE) {
sbin/ipfw/nat.c
676
n->mode &= ~PKT_ALIAS_REVERSE;
sbin/ipfw/nat.c
677
} else if (n->mode & PKT_ALIAS_PROXY_ONLY) {
sbin/ipfw/nat.c
679
n->mode &= ~PKT_ALIAS_PROXY_ONLY;
sbin/ipfw/nat.c
680
} else if (n->mode & PKT_ALIAS_UDP_EIM) {
sbin/ipfw/nat.c
682
n->mode &= ~PKT_ALIAS_UDP_EIM;
sbin/ipfw/nat.c
686
for (cnt = 0; cnt < n->redir_cnt; cnt++) {
sbin/ipfw/nat.c
788
struct nat44_cfg_nat *n; /* Nat instance configuration. */
sbin/ipfw/nat.c
808
len = sizeof(*oh) + sizeof(*n);
sbin/ipfw/nat.c
82
set_addr_dynamic(const char *ifn, struct nat44_cfg_nat *n)
sbin/ipfw/nat.c
882
off = sizeof(*oh) + sizeof(*n);
sbin/ipfw/nat.c
885
n = (struct nat44_cfg_nat *)(oh + 1);
sbin/ipfw/nat.c
888
snprintf(n->name, sizeof(n->name), "%d", i);
sbin/ipfw/nat.c
898
if (!inet_aton(av[0], &(n->ip)))
sbin/ipfw/nat.c
907
set_addr_dynamic(av[0], n);
sbin/ipfw/nat.c
912
n->mode |= PKT_ALIAS_LOG;
sbin/ipfw/nat.c
915
n->mode |= PKT_ALIAS_DENY_INCOMING;
sbin/ipfw/nat.c
918
n->mode |= PKT_ALIAS_SAME_PORTS;
sbin/ipfw/nat.c
921
n->mode |= PKT_ALIAS_UNREGISTERED_ONLY;
sbin/ipfw/nat.c
924
n->mode |= PKT_ALIAS_UNREGISTERED_CGN;
sbin/ipfw/nat.c
927
n->mode |= PKT_ALIAS_SKIP_GLOBAL;
sbin/ipfw/nat.c
930
n->mode |= PKT_ALIAS_RESET_ON_ADDR_CHANGE;
sbin/ipfw/nat.c
933
n->mode |= PKT_ALIAS_REVERSE;
sbin/ipfw/nat.c
936
n->mode |= PKT_ALIAS_PROXY_ONLY;
sbin/ipfw/nat.c
939
n->mode |= PKT_ALIAS_UDP_EIM;
sbin/ipfw/nat.c
959
n->redir_cnt++;
sbin/ipfw/nat.c
971
n->alias_port_lo = lp;
sbin/ipfw/nat.c
972
n->alias_port_hi = hp;
sbin/ipfw/nat.c
978
if (n->mode & PKT_ALIAS_SAME_PORTS && n->alias_port_lo)
sbin/ipfw/tables.c
1535
char *comma, *e, *n, *p;
sbin/ipfw/tables.c
1569
n = arg;
sbin/ipfw/tables.c
1576
if ((comma = strchr(n, ',')) != NULL)
sbin/ipfw/tables.c
1581
v->tag = strtol(n, &e, 10);
sbin/ipfw/tables.c
1586
v->pipe = strtol(n, &e, 10);
sbin/ipfw/tables.c
1591
v->divert = strtol(n, &e, 10);
sbin/ipfw/tables.c
1596
v->skipto = strtol(n, &e, 10);
sbin/ipfw/tables.c
1601
v->netgraph = strtol(n, &e, 10);
sbin/ipfw/tables.c
1606
v->fib = strtol(n, &e, 10);
sbin/ipfw/tables.c
1611
v->nat = strtol(n, &e, 10);
sbin/ipfw/tables.c
1616
v->limit = strtol(n, &e, 10);
sbin/ipfw/tables.c
1621
if (strchr(n, '.') != NULL &&
sbin/ipfw/tables.c
1622
inet_pton(AF_INET, n, &a4) == 1) {
sbin/ipfw/tables.c
1626
if (lookup_host(n, &ipaddr) == 0) {
sbin/ipfw/tables.c
1633
if (isalpha(*n)) {
sbin/ipfw/tables.c
1634
if ((dval = match_token(f_ipdscp, n)) != -1) {
sbin/ipfw/tables.c
1640
v->dscp = strtol(n, &e, 10);
sbin/ipfw/tables.c
1646
if (strchr(n, ':') != NULL) {
sbin/ipfw/tables.c
1650
if (getaddrinfo(n, NULL, &hints, &res) == 0) {
sbin/ipfw/tables.c
1662
v->mark = strtol(n, &e, 16);
sbin/ipfw/tables.c
1669
errx(EX_USAGE, "Unable to parse %s as %s", n, etype);
sbin/ipfw/tables.c
1674
if ((n = comma) != NULL)
sbin/ldconfig/elfhints.c
189
#define COND_SWAP(n) (is_be ? be32toh(n) : le32toh(n))
sbin/mount_nfs/mount_nfs.c
539
int n, s;
sbin/mount_nfs/mount_nfs.c
552
n = select(s + 1, &rfds, NULL, NULL, &tv);
sbin/mount_nfs/mount_nfs.c
553
if (n == 0)
sbin/mount_nfs/mount_nfs.c
555
if (n == -1) {
sbin/newfs/mkfs.c
1206
u_int n;
sbin/newfs/mkfs.c
1208
for (n = 0; n < sizeof(n) * CHAR_BIT; n++)
sbin/newfs/mkfs.c
1209
if (1 << n == val)
sbin/newfs/mkfs.c
1210
return (n);
sbin/newfs_msdos/mkfs_msdos.c
251
ssize_t n;
sbin/newfs_msdos/mkfs_msdos.c
673
if ((n = read(fd1, img, bpb.bpbBytesPerSec)) == -1) {
sbin/newfs_msdos/mkfs_msdos.c
677
if ((unsigned)n != bpb.bpbBytesPerSec) {
sbin/newfs_msdos/mkfs_msdos.c
773
n = write(fd, physbuf, chunksize);
sbin/newfs_msdos/mkfs_msdos.c
774
if (n != chunksize) {
sbin/newfs_msdos/mkfs_msdos.c
788
n = write(fd, physbuf, tailsize);
sbin/newfs_msdos/mkfs_msdos.c
789
if (n != tailsize) {
sbin/newfs_msdos/mkfs_msdos.c
820
int n, r;
sbin/newfs_msdos/mkfs_msdos.c
822
if (!(n = getmntinfo(&mp, MNT_NOWAIT))) {
sbin/newfs_msdos/mkfs_msdos.c
831
for (; n--; mp++) {
sbin/nvmecontrol/comnd.c
175
int i, n, idx, ch;
sbin/nvmecontrol/comnd.c
183
n = 0;
sbin/nvmecontrol/comnd.c
185
for (n = 0; opts[n].long_arg != NULL;)
sbin/nvmecontrol/comnd.c
186
n++;
sbin/nvmecontrol/comnd.c
187
lopts = malloc((n + 2) * sizeof(struct option));
sbin/nvmecontrol/comnd.c
190
p = shortopts = malloc((2 * n + 3) * sizeof(char));
sbin/nvmecontrol/comnd.c
194
for (i = 0; i < n; i++) {
sbin/nvmecontrol/comnd.c
205
lopts[n].name = "help";
sbin/nvmecontrol/comnd.c
206
lopts[n].has_arg = no_argument;
sbin/nvmecontrol/comnd.c
207
lopts[n].flag = NULL;
sbin/nvmecontrol/comnd.c
208
lopts[n].val = '?';
sbin/nvmecontrol/comnd.c
211
memset(lopts + n + 1, 0, sizeof(struct option));
sbin/nvmecontrol/comnd.c
219
if (idx == n)
sbin/nvmecontrol/ns.c
491
int fd, i, n;
sbin/nvmecontrol/ns.c
523
n = le16toh(clist[0]);
sbin/nvmecontrol/ns.c
524
printf("NVM subsystem includes %d controller(s):\n", n);
sbin/nvmecontrol/ns.c
525
for (i = 0; i < n; i++)
sbin/nvmecontrol/ns.c
848
int fd, i, n;
sbin/nvmecontrol/ns.c
886
n = le16toh(clist[0]);
sbin/nvmecontrol/ns.c
887
printf("Attached %d controller(s):\n", n);
sbin/nvmecontrol/ns.c
888
for (i = 0; i < n; i++)
sbin/nvmecontrol/resv.c
357
u_int i, n;
sbin/nvmecontrol/resv.c
405
n = (s->regctl[1] << 8) | s->regctl[0];
sbin/nvmecontrol/resv.c
408
printf("Number of Registered Controllers: %u\n", n);
sbin/nvmecontrol/resv.c
412
n = MIN(n, (sizeof(data) - sizeof(e)) / sizeof(e->ctrlr[0]));
sbin/nvmecontrol/resv.c
413
for (i = 0; i < n; i++) {
sbin/nvmecontrol/resv.c
424
n = MIN(n, (sizeof(data) - sizeof(s)) / sizeof(s->ctrlr[0]));
sbin/nvmecontrol/resv.c
425
for (i = 0; i < n; i++) {
sbin/pfctl/parse.y
1825
struct node_host *n;
sbin/pfctl/parse.y
1828
for (n = $3; n != NULL; n = n->next) {
sbin/pfctl/parse.y
1829
switch (n->addr.type) {
sbin/pfctl/parse.y
1853
n->addr.type);
sbin/pfctl/parse.y
3758
struct node_host *n;
sbin/pfctl/parse.y
3771
if ((n = ifa_exists($1)) != NULL)
sbin/pfctl/parse.y
3772
$$->ifa_flags = n->ifa_flags;
sbin/pfctl/parse.y
3961
struct node_mac *n;
sbin/pfctl/parse.y
3963
for (n = $2; n != NULL; n = n->next)
sbin/pfctl/parse.y
3964
n->neg = $1;
sbin/pfctl/parse.y
4092
struct node_host *n;
sbin/pfctl/parse.y
4094
for (n = $2; n != NULL; n = n->next)
sbin/pfctl/parse.y
4095
n->not = $1;
sbin/pfctl/parse.y
4196
struct node_host *n;
sbin/pfctl/parse.y
4203
for (n = $1; n != NULL; n = n->next)
sbin/pfctl/parse.y
4204
set_ipmask(n, $3);
sbin/pfctl/parse.y
5560
struct node_host *n;
sbin/pfctl/parse.y
5563
for (n = $3; n != NULL; n = n->next) {
sbin/pfctl/parse.y
5568
n->ifname = strdup($2);
sbin/pfctl/parse.y
6049
#define LOOP_THROUGH(T,n,r,C) \
sbin/pfctl/parse.y
6051
T *n; \
sbin/pfctl/parse.y
6058
n = r; \
sbin/pfctl/parse.y
6059
while (n != NULL) { \
sbin/pfctl/parse.y
6063
n = n->next; \
sbin/pfctl/parse.y
6192
char n[4];
sbin/pfctl/parse.y
6199
snprintf(n, sizeof(n), "%u", proto);
sbin/pfctl/parse.y
6200
expand_label_str(label, len, name, n);
sbin/pfctl/parse.y
6209
char n[11];
sbin/pfctl/parse.y
6212
snprintf(n, sizeof(n), "%u", r->nr);
sbin/pfctl/parse.y
6213
expand_label_str(label, len, name, n);
sbin/pfctl/parse.y
6236
struct node_queue *n;
sbin/pfctl/parse.y
6307
n = calloc(1, sizeof(struct node_queue));
sbin/pfctl/parse.y
6308
if (n == NULL)
sbin/pfctl/parse.y
6313
if (strlcpy(n->parent, qname,
sbin/pfctl/parse.y
6314
sizeof(n->parent)) >=
sbin/pfctl/parse.y
6315
sizeof(n->parent))
sbin/pfctl/parse.y
6317
if (strlcpy(n->queue, queue->queue,
sbin/pfctl/parse.y
6318
sizeof(n->queue)) >= sizeof(n->queue))
sbin/pfctl/parse.y
6320
if (strlcpy(n->ifname, interface->ifname,
sbin/pfctl/parse.y
6321
sizeof(n->ifname)) >= sizeof(n->ifname))
sbin/pfctl/parse.y
6323
n->scheduler = pa.scheduler;
sbin/pfctl/parse.y
6324
n->next = NULL;
sbin/pfctl/parse.y
6325
n->tail = n;
sbin/pfctl/parse.y
6327
queues = n;
sbin/pfctl/parse.y
6329
queues->tail->next = n;
sbin/pfctl/parse.y
6330
queues->tail = n;
sbin/pfctl/parse.y
6347
struct node_queue *n, *nq;
sbin/pfctl/parse.y
6423
n = calloc(1,
sbin/pfctl/parse.y
6425
if (n == NULL)
sbin/pfctl/parse.y
6427
if (strlcpy(n->parent, a->qname,
sbin/pfctl/parse.y
6428
sizeof(n->parent)) >=
sbin/pfctl/parse.y
6429
sizeof(n->parent))
sbin/pfctl/parse.y
6431
if (strlcpy(n->queue, nq->queue,
sbin/pfctl/parse.y
6432
sizeof(n->queue)) >=
sbin/pfctl/parse.y
6433
sizeof(n->queue))
sbin/pfctl/parse.y
6435
if (strlcpy(n->ifname, tqueue->ifname,
sbin/pfctl/parse.y
6436
sizeof(n->ifname)) >=
sbin/pfctl/parse.y
6437
sizeof(n->ifname))
sbin/pfctl/parse.y
6439
n->scheduler = tqueue->scheduler;
sbin/pfctl/parse.y
6440
n->next = NULL;
sbin/pfctl/parse.y
6441
n->tail = n;
sbin/pfctl/parse.y
6443
queues = n;
sbin/pfctl/parse.y
6445
queues->tail->next = n;
sbin/pfctl/parse.y
6446
queues->tail = n;
sbin/pfctl/parse.y
7859
decide_address_family(struct node_host *n, sa_family_t *af)
sbin/pfctl/parse.y
7861
if (*af != 0 || n == NULL)
sbin/pfctl/parse.y
7863
*af = n->af;
sbin/pfctl/parse.y
7864
while ((n = n->next) != NULL) {
sbin/pfctl/parse.y
7865
if (n->af != *af) {
sbin/pfctl/parse.y
7875
struct node_host *n = *nh, *prev = NULL;
sbin/pfctl/parse.y
7877
while (n != NULL) {
sbin/pfctl/parse.y
7878
if (*af && n->af && n->af != *af) {
sbin/pfctl/parse.y
7880
struct node_host *next = n->next;
sbin/pfctl/parse.y
7883
if (n == (*nh)->tail)
sbin/pfctl/parse.y
7891
if (n->ifname != NULL)
sbin/pfctl/parse.y
7892
free(n->ifname);
sbin/pfctl/parse.y
7893
free(n);
sbin/pfctl/parse.y
7894
n = next;
sbin/pfctl/parse.y
7896
if (n->af && !*af)
sbin/pfctl/parse.y
7897
*af = n->af;
sbin/pfctl/parse.y
7898
prev = n;
sbin/pfctl/parse.y
7899
n = n->next;
sbin/pfctl/parse.y
7908
struct node_host *n;
sbin/pfctl/parse.y
7911
for (n = nh; n != NULL; n = n->next) {
sbin/pfctl/parse.y
7912
if (n->addr.type != PF_ADDR_TABLE &&
sbin/pfctl/parse.y
7913
n->addr.type != PF_ADDR_DYNIFTL) {
sbin/pfctl/parse.y
7946
getservice(char *n)
sbin/pfctl/parse.y
7951
if (atoul(n, &ulval) == 0) {
sbin/pfctl/parse.y
7958
s = getservbyname(n, "tcp");
sbin/pfctl/parse.y
7960
s = getservbyname(n, "udp");
sbin/pfctl/parse.y
7962
s = getservbyname(n, "sctp");
sbin/pfctl/parse.y
7964
yyerror("unknown port %s", n);
sbin/pfctl/pfctl.c
3292
struct node_host *h = NULL, *n = NULL;
sbin/pfctl/pfctl.c
3304
for (n = h; n != NULL; n = n->next)
sbin/pfctl/pfctl.c
3305
pfctl_set_interface_flags(pf, n->ifname, flags, how);
sbin/pfctl/pfctl.c
3456
char *n;
sbin/pfctl/pfctl.c
3463
n = dirname(anchorbuf);
sbin/pfctl/pfctl.c
3464
if (n[0] != '.' && n[1] != '\0')
sbin/pfctl/pfctl.c
3465
strlcpy(pr.path, n, sizeof(pr.path));
sbin/pfctl/pfctl.c
3467
n = basename(anchorbuf);
sbin/pfctl/pfctl.c
3468
if (n != NULL)
sbin/pfctl/pfctl.c
3469
strlcpy(pr.name, n, sizeof(pr.name));
sbin/pfctl/pfctl.c
509
struct node_host *h = NULL, *n = NULL;
sbin/pfctl/pfctl.c
519
for (n = h; n != NULL; n = n->next) {
sbin/pfctl/pfctl.c
533
struct node_host *h = NULL, *n = NULL;
sbin/pfctl/pfctl.c
543
for (n = h; n != NULL; n = n->next)
sbin/pfctl/pfctl.c
545
if (strncmp(pp->pfik_name, n->ifname, IFNAMSIZ))
sbin/pfctl/pfctl_osfp.c
144
#define GET_INT(v, mod, n, ty, mx) \
sbin/pfctl/pfctl_osfp.c
145
get_int(&line, &len, &v, mod, n, ty, mx, fp_filename, lineno)
sbin/pfctl/pfctl_osfp.c
146
#define GET_STR(v, n, mn) \
sbin/pfctl/pfctl_osfp.c
147
get_str(&line, &len, &v, n, mn, fp_filename, lineno)
sbin/pfctl/pfctl_parser.c
1421
struct pf_addr *m, *n;
sbin/pfctl/pfctl_parser.c
1443
n = &h->addr.v.a.addr;
sbin/pfctl/pfctl_parser.c
1446
n->addr32[i] = n->addr32[i] & m->addr32[i];
sbin/pfctl/pfctl_parser.c
1452
struct node_host *n = NULL;
sbin/pfctl/pfctl_parser.c
1455
for (n = h; n != NULL; n = n->next) {
sbin/pfctl/pfctl_parser.c
1473
struct node_host *n;
sbin/pfctl/pfctl_parser.c
1478
if ((n = calloc(1, sizeof(*n))) == NULL)
sbin/pfctl/pfctl_parser.c
1480
bcopy(h, n, sizeof(*n));
sbin/pfctl/pfctl_parser.c
1481
n->ifname = NULL;
sbin/pfctl/pfctl_parser.c
1482
n->next = NULL;
sbin/pfctl/pfctl_parser.c
1483
n->tail = NULL;
sbin/pfctl/pfctl_parser.c
1486
if (af == AF_INET && unmask(&n->addr.v.a.mask) > 32)
sbin/pfctl/pfctl_parser.c
1487
set_ipmask(n, 32);
sbin/pfctl/pfctl_parser.c
1489
return (n);
sbin/pfctl/pfctl_parser.c
1565
struct node_host *n = NULL, *h = NULL;
sbin/pfctl/pfctl_parser.c
1576
n = calloc(1, sizeof(struct node_host));
sbin/pfctl/pfctl_parser.c
1577
if (n == NULL)
sbin/pfctl/pfctl_parser.c
1579
n->af = ifa->ifa_addr->sa_family;
sbin/pfctl/pfctl_parser.c
1580
n->ifa_flags = ifa->ifa_flags;
sbin/pfctl/pfctl_parser.c
1582
if (n->af == AF_INET6 &&
sbin/pfctl/pfctl_parser.c
1596
n->ifindex = 0;
sbin/pfctl/pfctl_parser.c
1597
if (n->af == AF_LINK) {
sbin/pfctl/pfctl_parser.c
1598
n->ifindex = ((struct sockaddr_dl *)
sbin/pfctl/pfctl_parser.c
1602
copy_satopfaddr(&n->addr.v.a.addr, ifa->ifa_addr);
sbin/pfctl/pfctl_parser.c
1604
copy_satopfaddr(&n->addr.v.a.mask, ifa->ifa_netmask);
sbin/pfctl/pfctl_parser.c
1611
copy_satopfaddr(&n->bcast, ifa->ifa_broadaddr);
sbin/pfctl/pfctl_parser.c
1618
copy_satopfaddr(&n->peer, ifa->ifa_dstaddr);
sbin/pfctl/pfctl_parser.c
1620
if (n->af == AF_INET6)
sbin/pfctl/pfctl_parser.c
1621
n->ifindex = ((struct sockaddr_in6 *)
sbin/pfctl/pfctl_parser.c
1624
if ((n->ifname = strdup(ifa->ifa_name)) == NULL)
sbin/pfctl/pfctl_parser.c
1626
n->next = NULL;
sbin/pfctl/pfctl_parser.c
1627
n->tail = n;
sbin/pfctl/pfctl_parser.c
1629
h = n;
sbin/pfctl/pfctl_parser.c
1631
h->tail->next = n;
sbin/pfctl/pfctl_parser.c
1632
h->tail = n;
sbin/pfctl/pfctl_parser.c
1720
struct node_host *n;
sbin/pfctl/pfctl_parser.c
1728
if ((n = calloc(1, sizeof(*n))) == NULL)
sbin/pfctl/pfctl_parser.c
1730
if ((n->ifname = strdup(ifa_name)) == NULL)
sbin/pfctl/pfctl_parser.c
1732
return (n);
sbin/pfctl/pfctl_parser.c
1735
for (n = iftab; n; n = n->next) {
sbin/pfctl/pfctl_parser.c
1736
if (n->af == AF_LINK && !strncmp(n->ifname, ifa_name, IFNAMSIZ))
sbin/pfctl/pfctl_parser.c
1737
return (n);
sbin/pfctl/pfctl_parser.c
1749
struct node_host *n, *h = NULL;
sbin/pfctl/pfctl_parser.c
1766
if ((n = ifa_lookup(ifg->ifgrq_member, flags)) == NULL)
sbin/pfctl/pfctl_parser.c
1769
h = n;
sbin/pfctl/pfctl_parser.c
1771
h->tail->next = n;
sbin/pfctl/pfctl_parser.c
1772
h->tail = n->tail;
sbin/pfctl/pfctl_parser.c
1783
struct node_host *p = NULL, *h = NULL, *n = NULL;
sbin/pfctl/pfctl_parser.c
1826
n = calloc(1, sizeof(struct node_host));
sbin/pfctl/pfctl_parser.c
1827
if (n == NULL)
sbin/pfctl/pfctl_parser.c
1829
n->af = p->af;
sbin/pfctl/pfctl_parser.c
1831
memcpy(&n->addr.v.a.addr, &p->bcast,
sbin/pfctl/pfctl_parser.c
1834
memcpy(&n->addr.v.a.addr, &p->peer,
sbin/pfctl/pfctl_parser.c
1837
memcpy(&n->addr.v.a.addr, &p->addr.v.a.addr,
sbin/pfctl/pfctl_parser.c
1840
set_ipmask(n, unmask(&p->addr.v.a.mask));
sbin/pfctl/pfctl_parser.c
1842
set_ipmask(n, -1);
sbin/pfctl/pfctl_parser.c
1843
n->ifindex = p->ifindex;
sbin/pfctl/pfctl_parser.c
1844
n->ifname = strdup(p->ifname);
sbin/pfctl/pfctl_parser.c
1846
n->next = NULL;
sbin/pfctl/pfctl_parser.c
1847
n->tail = n;
sbin/pfctl/pfctl_parser.c
1849
h = n;
sbin/pfctl/pfctl_parser.c
1851
h->tail->next = n;
sbin/pfctl/pfctl_parser.c
1852
h->tail = n;
sbin/pfctl/pfctl_parser.c
1861
int n;
sbin/pfctl/pfctl_parser.c
1869
n = strlen(filter);
sbin/pfctl/pfctl_parser.c
1870
if (n < 1 || n >= IFNAMSIZ)
sbin/pfctl/pfctl_parser.c
1872
if (filter[n-1] >= '0' && filter[n-1] <= '9')
sbin/pfctl/pfctl_parser.c
1874
if (strncmp(p->ifname, filter, n))
sbin/pfctl/pfctl_parser.c
1876
return (p->ifname[n] < '0' || p->ifname[n] > '9');
sbin/pfctl/pfctl_parser.c
1917
struct node_host *n, *h = NULL;
sbin/pfctl/pfctl_parser.c
1949
for (n = h; n != NULL; n = n->next)
sbin/pfctl/pfctl_parser.c
1950
set_ipmask(n, mask);
sbin/pfctl/pfctl_parser.c
2003
struct node_host *n, *h = NULL;
sbin/pfctl/pfctl_parser.c
2036
n = calloc(1, sizeof(struct node_host));
sbin/pfctl/pfctl_parser.c
2037
if (n == NULL)
sbin/pfctl/pfctl_parser.c
2039
n->ifname = NULL;
sbin/pfctl/pfctl_parser.c
2040
n->af = res->ai_family;
sbin/pfctl/pfctl_parser.c
2041
copy_satopfaddr(&n->addr.v.a.addr, res->ai_addr);
sbin/pfctl/pfctl_parser.c
2043
n->ifindex =
sbin/pfctl/pfctl_parser.c
2045
set_ipmask(n, mask);
sbin/pfctl/pfctl_parser.c
2046
n->next = NULL;
sbin/pfctl/pfctl_parser.c
2047
n->tail = n;
sbin/pfctl/pfctl_parser.c
2049
h = n;
sbin/pfctl/pfctl_parser.c
2051
h->tail->next = n;
sbin/pfctl/pfctl_parser.c
2052
h->tail = n;
sbin/pfctl/pfctl_parser.c
2071
struct node_host *h, *n;
sbin/pfctl/pfctl_parser.c
2076
if ((n = host(r, opts)) == NULL) {
sbin/pfctl/pfctl_parser.c
2080
rv = append_addr_host(b, n, test, not);
sbin/pfctl/pfctl_parser.c
2082
h = n;
sbin/pfctl/pfctl_parser.c
2083
n = n->next;
sbin/pfctl/pfctl_parser.c
2085
} while (n != NULL);
sbin/pfctl/pfctl_parser.c
2096
append_addr_host(struct pfr_buffer *b, struct node_host *n, int test, int not)
sbin/pfctl/pfctl_parser.c
2103
addr.pfra_not = n->not ^ not;
sbin/pfctl/pfctl_parser.c
2104
addr.pfra_af = n->af;
sbin/pfctl/pfctl_parser.c
2105
addr.pfra_net = unmask(&n->addr.v.a.mask);
sbin/pfctl/pfctl_parser.c
2106
switch (n->af) {
sbin/pfctl/pfctl_parser.c
2108
addr.pfra_ip4addr.s_addr = n->addr.v.a.addr.addr32[0];
sbin/pfctl/pfctl_parser.c
2112
memcpy(&addr.pfra_ip6addr, &n->addr.v.a.addr.v6,
sbin/pfctl/pfctl_parser.c
2127
} while ((n = n->next) != NULL);
sbin/pfctl/pfctl_qstats.c
459
int n;
sbin/pfctl/pfctl_qstats.c
465
n = qs->avgn;
sbin/pfctl/pfctl_qstats.c
494
if (n == 0) {
sbin/pfctl/pfctl_qstats.c
502
qs->avg_bytes = ((qs->avg_bytes * (n - 1)) +
sbin/pfctl/pfctl_qstats.c
503
(b - qs->prev_bytes)) / n;
sbin/pfctl/pfctl_qstats.c
506
qs->avg_packets = ((qs->avg_packets * (n - 1)) +
sbin/pfctl/pfctl_qstats.c
507
(p - qs->prev_packets)) / n;
sbin/pfctl/pfctl_qstats.c
511
if (n < AVGN_MAX)
sbin/ping/ping.c
893
int n;
sbin/ping/ping.c
912
n = pselect(srecv + 1, &rfds, NULL, NULL, &timeout, NULL);
sbin/ping/ping.c
913
if (n < 0)
sbin/ping/ping.c
915
if (n == 1) {
sbin/ping/ping.c
949
if (n == 0 || (options & F_FLOOD)) {
sbin/ping/ping6.c
1153
int n;
sbin/ping/ping6.c
1170
n = ppoll(&pfd, 1, &timeout, NULL);
sbin/ping/ping6.c
1171
if (n < 0)
sbin/ping/ping6.c
1173
if (n == 1) {
sbin/ping/ping6.c
1218
if (n == 0 || (options & F_FLOOD)) {
sbin/rcorder/hash.h
120
#define Hash_Size(n) (((n) + sizeof (int) - 1) / sizeof (int))
sbin/recoverdisk/recoverdisk.c
122
int n;
sbin/recoverdisk/recoverdisk.c
124
n = 0;
sbin/recoverdisk/recoverdisk.c
127
if (++n == 4) {
sbin/recoverdisk/recoverdisk.c
135
for (; n < 3; n++) {
sbin/restore/tape.c
1605
swabshort(u_char *sp, int n)
sbin/restore/tape.c
1609
while (--n >= 0) {
sbin/restore/tape.c
1617
swablong(u_char *sp, int n)
sbin/restore/tape.c
1621
while (--n >= 0) {
sbin/restore/tape.c
1630
swabquad(u_char *sp, int n)
sbin/restore/tape.c
1634
while (--n >= 0) {
sbin/restore/tape.c
1647
int n = 0;
sbin/restore/tape.c
1653
n = (n * 10) + (*cp++ - '0');
sbin/restore/tape.c
1657
if (n == 0)
sbin/restore/tape.c
1658
n = 1;
sbin/restore/tape.c
1659
sp = swabshort(sp, n);
sbin/restore/tape.c
1663
if (n == 0)
sbin/restore/tape.c
1664
n = 1;
sbin/restore/tape.c
1665
sp = swablong(sp, n);
sbin/restore/tape.c
1669
if (n == 0)
sbin/restore/tape.c
1670
n = 1;
sbin/restore/tape.c
1671
sp = swabquad(sp, n);
sbin/restore/tape.c
1675
if (n == 0)
sbin/restore/tape.c
1676
n = 1;
sbin/restore/tape.c
1677
sp += n;
sbin/restore/tape.c
1687
n = 0;
sbin/route/route.c
1527
int n;
sbin/route/route.c
1530
n = 1;
sbin/route/route.c
1531
if (setsockopt(s, SOL_SOCKET, SO_RERROR, &n, sizeof(n)) == -1)
sbin/route/route.c
1537
n = read(s, msg, sizeof(msg));
sbin/route/route.c
1538
if (n == -1) {
sbin/route/route.c
1543
(void)printf("\ngot message of size %d on %s", n, ctime(&now));
sbin/route/route.c
1544
print_rtmsg((struct rt_msghdr *)(void *)msg, n);
sbin/route/route.c
585
int n;
sbin/route/route.c
670
n = snprintf(rt_line, sizeof(rt_line), "link#%d",
sbin/route/route.c
672
if (n > (int)sizeof(rt_line))
sbin/route/route.c
687
if ((n = snprintf(cps, cpe - cps, " %x", *sp)) > 0)
sbin/route/route.c
688
cps += n;
sbin/route/route.c
705
int n;
sbin/route/route.c
771
n = snprintf(net_line, sizeof(net_line), "link#%d",
sbin/route/route.c
773
if (n > (int)sizeof(net_line))
sbin/route/route.c
788
if ((n = snprintf(cps, cpe - cps, " %x", *sp++)) > 0)
sbin/route/route.c
789
cps += n;
sbin/routed/defs.h
412
struct netinfo *n;
sbin/routed/input.c
137
struct netinfo *n, *lim;
sbin/routed/input.c
174
n = rip->rip_nets;
sbin/routed/input.c
188
&& n < lim && n->n_family == RIP_AF_AUTH) {
sbin/routed/input.c
244
if (n >= lim) {
sbin/routed/input.c
249
if (cc%sizeof(*n) != sizeof(struct rip)%sizeof(*n)) {
sbin/routed/input.c
264
&& n->n_family == RIP_AF_AUTH
sbin/routed/input.c
274
n->n_metric = ntohl(n->n_metric);
sbin/routed/input.c
282
if (n->n_family == RIP_AF_UNSPEC
sbin/routed/input.c
283
&& n->n_metric == HOPCNT_INFINITY) {
sbin/routed/input.c
338
v12buf.n->n_family = RIP_AF_INET;
sbin/routed/input.c
339
v12buf.n->n_dst = RIP_DEFAULT;
sbin/routed/input.c
349
v12buf.n->n_metric = htonl(i);
sbin/routed/input.c
350
v12buf.n++;
sbin/routed/input.c
368
if (n->n_family == RIP_AF_AUTH)
sbin/routed/input.c
371
if (n->n_family != RIP_AF_INET) {
sbin/routed/input.c
376
ntohs(n->n_family),
sbin/routed/input.c
377
naddr_ntoa(n->n_dst));
sbin/routed/input.c
383
dst = n->n_dst;
sbin/routed/input.c
394
|| 0 == (mask = ntohl(n->n_mask))
sbin/routed/input.c
401
rt = rtfind(n->n_dst);
sbin/routed/input.c
404
v12buf.n->n_mask = mask;
sbin/routed/input.c
407
v12buf.n->n_metric = HOPCNT_INFINITY;
sbin/routed/input.c
412
v12buf.n->n_family = RIP_AF_INET;
sbin/routed/input.c
413
v12buf.n->n_dst = dst;
sbin/routed/input.c
421
v12buf.n->n_metric = j;
sbin/routed/input.c
423
v12buf.n->n_metric = HOPCNT_INFINITY;
sbin/routed/input.c
425
v12buf.n->n_tag = rt->rt_tag;
sbin/routed/input.c
426
v12buf.n->n_mask = mask;
sbin/routed/input.c
432
v12buf.n->n_nhop = rt->rt_gate;
sbin/routed/input.c
435
v12buf.n->n_metric = htonl(v12buf.n->n_metric);
sbin/routed/input.c
439
if (++v12buf.n >= v12buf.lim)
sbin/routed/input.c
441
} while (++n < lim);
sbin/routed/input.c
452
((char *)v12buf.n - (char*)v12buf.buf));
sbin/routed/input.c
456
((char *)v12buf.n - (char*)v12buf.buf));
sbin/routed/input.c
496
if (cc%sizeof(*n) != sizeof(struct rip)%sizeof(*n)) {
sbin/routed/input.c
551
if (n >= lim) {
sbin/routed/input.c
601
if (n->n_family == RIP_AF_AUTH)
sbin/routed/input.c
604
n->n_metric = ntohl(n->n_metric);
sbin/routed/input.c
605
dst = n->n_dst;
sbin/routed/input.c
606
if (n->n_family != RIP_AF_INET
sbin/routed/input.c
607
&& (n->n_family != RIP_AF_UNSPEC
sbin/routed/input.c
613
n->n_family,
sbin/routed/input.c
624
if (n->n_metric == 0
sbin/routed/input.c
625
|| n->n_metric > HOPCNT_INFINITY) {
sbin/routed/input.c
629
n->n_metric,
sbin/routed/input.c
638
if (n->n_nhop != 0) {
sbin/routed/input.c
640
n->n_nhop = 0;
sbin/routed/input.c
643
if (on_net(n->n_nhop,
sbin/routed/input.c
645
&& check_dst(n->n_nhop)) {
sbin/routed/input.c
646
gate = n->n_nhop;
sbin/routed/input.c
653
naddr_ntoa(n->n_nhop));
sbin/routed/input.c
654
n->n_nhop = 0;
sbin/routed/input.c
660
|| 0 == (mask = ntohl(n->n_mask))) {
sbin/routed/input.c
672
n->n_tag = 0;
sbin/routed/input.c
676
n->n_metric += (aifp->int_metric
sbin/routed/input.c
678
if (n->n_metric > HOPCNT_INFINITY)
sbin/routed/input.c
679
n->n_metric = HOPCNT_INFINITY;
sbin/routed/input.c
703
&& (int)n->n_metric >= aifp->int_d_metric)
sbin/routed/input.c
752
new.rts_metric = n->n_metric;
sbin/routed/input.c
753
new.rts_tag = n->n_tag;
sbin/routed/input.c
759
input_route(dst, mask, &new, n);
sbin/routed/input.c
764
} while (++n < lim);
sbin/routed/input.c
777
struct netinfo *n)
sbin/routed/input.c
810
if (n->n_nhop != 0
sbin/routed/input.c
811
&& ifwithaddr(n->n_nhop, 1, 0) != NULL)
sbin/routed/input.c
908
if (n->n_nhop != 0
sbin/routed/input.c
909
&& NULL != ifwithaddr(n->n_nhop, 1, 0))
sbin/routed/main.c
124
while ((n = getopt(argc, argv, "isqdghmAtvT:F:P:")) != -1) {
sbin/routed/main.c
125
switch (n) {
sbin/routed/main.c
177
n = FAKE_METRIC;
sbin/routed/main.c
180
n = (int)strtoul(p+1, &q, 0);
sbin/routed/main.c
182
&& n <= HOPCNT_INFINITY-1
sbin/routed/main.c
183
&& n >= 1)
sbin/routed/main.c
194
parm.parm_d_metric = n;
sbin/routed/main.c
426
n = 1 + (0-t2.tv_sec)/SUPPLY_INTERVAL;
sbin/routed/main.c
427
next_bcast.tv_sec += n*SUPPLY_INTERVAL;
sbin/routed/main.c
489
n = select(sock_max, &ibits, 0, 0, &wtime);
sbin/routed/main.c
490
if (n <= 0) {
sbin/routed/main.c
491
if (n < 0 && errno != EINTR && errno != EAGAIN)
sbin/routed/main.c
498
n--;
sbin/routed/main.c
502
n--;
sbin/routed/main.c
506
n--;
sbin/routed/main.c
510
if (n <= 0)
sbin/routed/main.c
515
n--;
sbin/routed/main.c
90
int n, mib[4], off;
sbin/routed/output.c
243
wb->n = wb->base;
sbin/routed/output.c
244
memset(wb->n, 0, NETS_LEN*sizeof(*wb->n));
sbin/routed/output.c
251
na = (struct netauth*)wb->n;
sbin/routed/output.c
256
wb->n++;
sbin/routed/output.c
264
wb->n++;
sbin/routed/output.c
280
na2 = (struct netauth*)wb->n;
sbin/routed/output.c
289
wb->n++;
sbin/routed/output.c
313
((char *)wb->n - (char*)wb->buf)) < 0
sbin/routed/output.c
394
wb->n->n_family = RIP_AF_INET;
sbin/routed/output.c
395
wb->n->n_dst = htonl(dst_h);
sbin/routed/output.c
399
wb->n->n_metric = ((stopint || ag->ag_metric < 1)
sbin/routed/output.c
402
wb->n->n_metric = htonl(wb->n->n_metric);
sbin/routed/output.c
415
wb->n->n_nhop = ag->ag_nhop;
sbin/routed/output.c
416
wb->n->n_mask = htonl(mask);
sbin/routed/output.c
417
wb->n->n_tag = ag->ag_tag;
sbin/routed/output.c
421
if (++wb->n >= wb->lim)
sbin/routed/output.c
767
v12buf.n->n_family = RIP_AF_INET;
sbin/routed/output.c
768
v12buf.n->n_dst = htonl(RIP_DEFAULT);
sbin/routed/output.c
769
v12buf.n->n_metric = htonl(def_metric);
sbin/routed/output.c
770
v12buf.n++;
sbin/routed/output.c
780
if (v12buf.n != v12buf.base
sbin/routed/output.c
781
&& (v12buf.n > v12buf.base+1
sbin/routed/output.c
784
if (v2buf.n != v2buf.base
sbin/routed/output.c
785
&& (v2buf.n > v2buf.base+1
sbin/routed/parms.c
164
int metric, n, lnum;
sbin/routed/parms.c
210
n = sscanf(lptr, "%4s %129[^ \t] gateway"
sbin/routed/parms.c
213
if (n != 4 && n != 5) {
sbin/routed/parms.c
215
lptr, n);
sbin/routed/radix.c
130
caddr_t m = m_arg, n = n_arg;
sbin/routed/radix.c
131
caddr_t lim, lim2 = lim = n + *(u_char *)n;
sbin/routed/radix.c
132
int longer = (*(u_char *)n++) - (int)(*(u_char *)m++);
sbin/routed/radix.c
137
while (n < lim) {
sbin/routed/radix.c
138
if (*n & ~(*m))
sbin/routed/radix.c
140
if (*n++ != *m++)
sbin/routed/radix.c
143
while (n < lim2)
sbin/routed/radix.c
144
if (*n++)
sbin/routed/radix.h
133
#define Bcopy(a, b, n) memmove(((void *)(b)), ((void *)(a)), (size_t)(n))
sbin/routed/radix.h
134
#define Bzero(p, n) memset((void *)(p), 0, (size_t)(n));
sbin/routed/rdisc.c
1023
for (n = 0; n < p->ad.icmp_ad_num; n++) {
sbin/routed/rdisc.c
932
int n, fromlen, cc, hlen;
sbin/routed/rtquery/rtquery.c
583
struct netinfo *n, *lim;
sbin/routed/rtquery/rtquery.c
619
if (size > (int)sizeof(imsg_buf) - (int)sizeof(*n)) {
sbin/routed/rtquery/rtquery.c
622
size = (int)sizeof(imsg_buf) - (int)sizeof(*n);
sbin/routed/rtquery/rtquery.c
627
} else if (size%sizeof(*n) != sizeof(struct rip)%sizeof(*n)) {
sbin/routed/rtquery/rtquery.c
631
n = IMSG.rip_nets;
sbin/routed/rtquery/rtquery.c
632
lim = (struct netinfo *)((char*)n + size) - 1;
sbin/routed/rtquery/rtquery.c
633
for (; n <= lim; n++) {
sbin/routed/rtquery/rtquery.c
635
if (n->n_family == RIP_AF_INET) {
sbin/routed/rtquery/rtquery.c
636
in.s_addr = n->n_dst;
sbin/routed/rtquery/rtquery.c
639
mask = ntohl(n->n_mask);
sbin/routed/rtquery/rtquery.c
691
} else if (n->n_family == RIP_AF_AUTH) {
sbin/routed/rtquery/rtquery.c
692
na = (struct netauth*)n;
sbin/routed/rtquery/rtquery.c
694
&& n == IMSG.rip_nets) {
sbin/routed/rtquery/rtquery.c
703
&& n == IMSG.rip_nets) {
sbin/routed/rtquery/rtquery.c
723
if (md5_authed && n+1 > lim
sbin/routed/rtquery/rtquery.c
741
ntohs(n->n_family),
sbin/routed/rtquery/rtquery.c
742
(u_char)(n->n_dst >> 24),
sbin/routed/rtquery/rtquery.c
743
(u_char)(n->n_dst >> 16),
sbin/routed/rtquery/rtquery.c
744
(u_char)(n->n_dst >> 8),
sbin/routed/rtquery/rtquery.c
745
(u_char)n->n_dst);
sbin/routed/rtquery/rtquery.c
749
net_buf, (int)ntohl(n->n_metric), name);
sbin/routed/rtquery/rtquery.c
751
if (n->n_nhop != 0) {
sbin/routed/rtquery/rtquery.c
752
in.s_addr = n->n_nhop;
sbin/routed/rtquery/rtquery.c
762
if (n->n_tag != 0)
sbin/routed/rtquery/rtquery.c
763
(void)printf(" tag=%#x%s", n->n_tag,
sbin/routed/trace.c
872
struct netinfo *n, *lim;
sbin/routed/trace.c
873
# define NA ((struct netauth*)n)
sbin/routed/trace.c
902
n = msg->rip_nets;
sbin/routed/trace.c
904
for (; n < lim; n++) {
sbin/routed/trace.c
906
&& n->n_family == RIP_AF_UNSPEC
sbin/routed/trace.c
907
&& ntohl(n->n_metric) == HOPCNT_INFINITY
sbin/routed/trace.c
909
&& (n+1 == lim
sbin/routed/trace.c
910
|| (n+2 == lim
sbin/routed/trace.c
911
&& (n+1)->n_family == RIP_AF_AUTH))) {
sbin/routed/trace.c
913
if (n->n_dst != 0)
sbin/routed/trace.c
915
naddr_ntoa(n->n_dst));
sbin/routed/trace.c
916
if (n->n_mask != 0)
sbin/routed/trace.c
918
(u_int)ntohl(n->n_mask));
sbin/routed/trace.c
919
if (n->n_nhop != 0)
sbin/routed/trace.c
921
naddr_ntoa(n->n_nhop));
sbin/routed/trace.c
922
if (n->n_tag != 0)
sbin/routed/trace.c
924
ntohs(n->n_tag));
sbin/routed/trace.c
929
if (n->n_family == RIP_AF_AUTH) {
sbin/routed/trace.c
931
&& n == msg->rip_nets) {
sbin/routed/trace.c
941
&& n == msg->rip_nets) {
sbin/routed/trace.c
969
if (n->n_family != RIP_AF_INET) {
sbin/routed/trace.c
972
ntohs(n->n_family),
sbin/routed/trace.c
973
naddr_ntoa(n->n_dst),
sbin/routed/trace.c
974
(u_int)ntohl(n->n_mask));
sbin/routed/trace.c
977
addrname(n->n_dst,
sbin/routed/trace.c
978
ntohl(n->n_mask),
sbin/routed/trace.c
979
n->n_mask==0 ? 2 : 1));
sbin/routed/trace.c
982
addrname(n->n_dst,
sbin/routed/trace.c
983
ntohl(n->n_mask),
sbin/routed/trace.c
984
n->n_mask==0 ? 2 : 0));
sbin/routed/trace.c
987
(u_int)ntohl(n->n_metric));
sbin/routed/trace.c
988
if (n->n_nhop != 0)
sbin/routed/trace.c
990
naddr_ntoa(n->n_nhop));
sbin/routed/trace.c
991
if (n->n_tag != 0)
sbin/routed/trace.c
993
ntohs(n->n_tag));
sbin/routed/trace.c
996
if (size != (char *)n - (char *)msg)
sbin/savecore/savecore.c
1341
int argc, n;
sbin/savecore/savecore.c
1349
n = 8;
sbin/savecore/savecore.c
1350
argv = malloc(n * sizeof(*argv));
sbin/savecore/savecore.c
1362
if (argc >= n) {
sbin/savecore/savecore.c
1363
n *= 2;
sbin/savecore/savecore.c
1364
argv = realloc(argv, n * sizeof(*argv));
sbin/setkey/parse.y
1009
n = 0;
sbin/setkey/parse.y
1053
n++;
sbin/setkey/parse.y
1057
if (n == 0)
sbin/setkey/parse.y
1080
int n;
sbin/setkey/parse.y
1248
n = 0;
sbin/setkey/parse.y
1292
n++;
sbin/setkey/parse.y
1310
if (n == 0)
sbin/setkey/parse.y
857
int n;
sbin/setkey/parse.y
889
n = 0;
sbin/setkey/parse.y
935
n++;
sbin/setkey/parse.y
939
if (n == 0)
sbin/setkey/parse.y
958
int n;
sbin/swapon/swapon.c
814
int hlen, mib[16], n, pagesize;
sbin/swapon/swapon.c
861
for (n = 0; ; ++n) {
sbin/swapon/swapon.c
862
mib[mibsize] = n;
sbin/umbctl/umbctl.c
149
int n = 0;
sbin/umbctl/umbctl.c
161
return n;
sbin/umbctl/umbctl.c
167
n += sizeof(*out);
sbin/veriexec/veriexec.c
144
int n;
sbin/veriexec/veriexec.c
146
n = (argc - optind);
sbin/veriexec/veriexec.c
150
if (n > 1)
sbin/veriexec/veriexec.h
41
#define VERBOSE(n, x) if (Verbose > n) printf x
secure/lib/libcrypt/blowfish.c
61
#define BLFRND(s, p, i, j, n) (i ^= _F(s, j) ^ (p)[n])
share/examples/inotify/inotify.c
138
ssize_t n;
share/examples/inotify/inotify.c
146
n = read(ifd, iev, ievsz);
share/examples/inotify/inotify.c
147
if (n < 0)
share/examples/inotify/inotify.c
149
assert(n >= (ssize_t)sizeof(*iev));
share/examples/inotify/inotify.c
151
for (iev1 = iev; n > 0;) {
share/examples/inotify/inotify.c
152
assert(n >= (ssize_t)sizeof(*iev1));
share/examples/inotify/inotify.c
160
n -= sizeof(*iev1) + iev1->len;
share/examples/ipfilter/l4check/l4check.c
180
int n, i, fd;
share/examples/ipfilter/l4check/l4check.c
189
n = l4->l4_wlen;
share/examples/ipfilter/l4check/l4check.c
191
i = send(fd, l4->l4_wptr, n, 0);
share/examples/ipfilter/l4check/l4check.c
211
int n, i, fd;
share/examples/ipfilter/l4check/l4check.c
221
n = l4->l4_rsize - l4->l4_rlen;
share/examples/ipfilter/l4check/l4check.c
224
n = sizeof(buf) - 1;
share/examples/ipfilter/l4check/l4check.c
230
n, fd, ptr);
share/examples/ipfilter/l4check/l4check.c
231
i = recv(fd, ptr, n, 0);
share/examples/ipfilter/samples/proxy.c
124
while ((n = read(0, buffer, sizeof(buffer))) > 0)
share/examples/ipfilter/samples/proxy.c
125
if (write(1, buffer, n) != n)
share/examples/ipfilter/samples/proxy.c
236
int i, n, maxfd;
share/examples/ipfilter/samples/proxy.c
238
n = 0;
share/examples/ipfilter/samples/proxy.c
252
while (n >= 0) {
share/examples/ipfilter/samples/proxy.c
266
n = select(maxfd + 1, &rd, &wr, NULL, NULL);
share/examples/ipfilter/samples/proxy.c
268
if ((n > 0) && FD_ISSET(in, &rd)) {
share/examples/ipfilter/samples/proxy.c
274
n--;
share/examples/ipfilter/samples/proxy.c
277
if ((n > 0) && FD_ISSET(net, &rd)) {
share/examples/ipfilter/samples/proxy.c
283
n--;
share/examples/ipfilter/samples/proxy.c
286
if ((n > 0) && FD_ISSET(out, &wr)) {
share/examples/ipfilter/samples/proxy.c
296
n--;
share/examples/ipfilter/samples/proxy.c
299
if ((n > 0) && FD_ISSET(net, &wr)) {
share/examples/ipfilter/samples/proxy.c
60
int namelen, fd, n;
share/examples/ipfilter/samples/relay.c
36
int nfd, n, rw;
share/examples/ipfilter/samples/relay.c
58
switch ((n = select(nfd + 1, &rfds, &wfds, NULL, NULL)))
share/examples/ipfilter/samples/relay.c
71
n--;
share/examples/ipfilter/samples/relay.c
73
if (n && FD_ISSET(ofd, &wfds)) {
share/examples/ipfilter/samples/relay.c
78
n--;
share/examples/ipfilter/samples/relay.c
80
if (n && FD_ISSET(rfd, &rfds)) {
share/examples/ipfilter/samples/relay.c
87
n--;
share/examples/ipfilter/samples/relay.c
89
if (n && FD_ISSET(rfd, &wfds)) {
share/examples/ipfilter/samples/relay.c
94
n--;
share/examples/libifconfig/status.c
191
int n;
share/examples/libifconfig/status.c
203
n = sdl->sdl_nlen > 0 ? sdl->sdl_nlen + 1 : 0;
share/examples/libifconfig/status.c
205
printf("\tlladdr %s\n", link_ntoa(sdl) + n);
share/examples/libusb20/bulk.c
204
unsigned n = strtoul(argv[out_len], 0, 0);
share/examples/libusb20/bulk.c
205
if (n > 255)
share/examples/libusb20/bulk.c
208
out_len, n);
share/examples/libusb20/bulk.c
209
out_buf[out_len] = (uint8_t)n;
share/examples/libusb20/control.c
375
unsigned n = strtoul(argv[out_len], 0, 0);
share/examples/libusb20/control.c
376
if (n > 255)
share/examples/libusb20/control.c
379
out_len, n);
share/examples/libusb20/control.c
380
out_buf[out_len] = (uint8_t)n;
share/examples/sound/mmap.c
163
int n;
share/examples/sound/mmap.c
167
n = kevent(kq, NULL, 0, &ev, 1, NULL);
share/examples/sound/mmap.c
168
if (n < 0)
share/examples/sound/mmap.c
170
if (n == 0)
stand/common/gfx_fb.c
2553
load_mapping(int fd, struct vt_font *fp, int n)
stand/common/gfx_fb.c
2559
if (fp->vf_map_count[n] == 0)
stand/common/gfx_fb.c
2562
size = fp->vf_map_count[n] * sizeof(*mp);
stand/common/gfx_fb.c
2566
fp->vf_map[n] = mp;
stand/common/gfx_fb.c
2570
free(fp->vf_map[n]);
stand/common/gfx_fb.c
2571
fp->vf_map[n] = NULL;
stand/common/gfx_fb.c
2575
for (i = 0; i < fp->vf_map_count[n]; i++) {
stand/common/gfx_fb.c
2584
builtin_mapping(struct vt_font *fp, int n)
stand/common/gfx_fb.c
2589
if (n >= VFNT_MAPS)
stand/common/gfx_fb.c
2592
if (fp->vf_map_count[n] == 0)
stand/common/gfx_fb.c
2595
size = fp->vf_map_count[n] * sizeof(*mp);
stand/common/gfx_fb.c
2599
fp->vf_map[n] = mp;
stand/common/gfx_fb.c
2601
memcpy(mp, DEFAULT_FONT_DATA.vfbd_font->vf_map[n], size);
stand/common/load_elf.c
1285
size_t n;
stand/common/load_elf.c
1298
for (n = 0; n < ef->relsz / sizeof(r); n++) {
stand/common/load_elf.c
1299
COPYOUT(ef->rel + n, &r, sizeof(r));
stand/common/load_elf.c
1306
for (n = 0; n < ef->relasz / sizeof(a); n++) {
stand/common/load_elf.c
1307
COPYOUT(ef->rela + n, &a, sizeof(a));
stand/common/vdisk.c
148
vdisk_info_t *n;
stand/common/vdisk.c
153
n = STAILQ_NEXT(p, vdisk_link);
stand/common/vdisk.c
155
if (n == NULL) {
stand/common/vdisk.c
160
if (n->vdisk_unit > vd->vdisk_unit) {
stand/efi/libefi/efi_console.c
573
int n;
stand/efi/libefi/efi_console.c
575
n = 8 - ((conout->Mode->CursorColumn + 8) % 8);
stand/efi/libefi/efi_console.c
576
for (i = 0; i < n; i++)
stand/efi/libefi/eficom.c
475
unsigned n;
stand/efi/libefi/eficom.c
482
n = strtoul(value, &ep, 10);
stand/efi/libefi/eficom.c
485
*valp = n;
stand/efi/libefi/env.c
540
int i, n;
stand/efi/libefi/env.c
547
n = datasz / sizeof (EFI_MEMORY_TYPE_INFORMATION);
stand/efi/libefi/env.c
548
for (i = 0; i < n && ti[i].NumberOfPages != 0; i++) {
stand/ficl/dict.c
129
int dictAllot(FICL_DICT *pDict, int n)
stand/ficl/dict.c
133
if (n > 0)
stand/ficl/dict.c
135
if ((unsigned)n <= dictCellsAvail(pDict) * sizeof (CELL))
stand/ficl/dict.c
136
cp += n;
stand/ficl/dict.c
142
n = -n;
stand/ficl/dict.c
143
if ((unsigned)n <= dictCellsUsed(pDict) * sizeof (CELL))
stand/ficl/dict.c
144
cp -= n;
stand/ficl/dict.c
149
cp += n;
stand/ficl/dict.c
308
void dictCheck(FICL_DICT *pDict, FICL_VM *pVM, int n)
stand/ficl/dict.c
310
if ((n >= 0) && (dictCellsAvail(pDict) * (int)sizeof(CELL) < n))
stand/ficl/dict.c
315
if ((n <= 0) && (dictCellsUsed(pDict) * (int)sizeof(CELL) < -n))
stand/ficl/dict.c
499
int n = 0;
stand/ficl/dict.c
504
++n;
stand/ficl/dict.c
509
avg += (double)(n * (n+1)) / 2.0;
stand/ficl/dict.c
511
if (n > nMax)
stand/ficl/dict.c
512
nMax = n;
stand/ficl/dict.c
513
if (n == 0)
stand/ficl/ficl.h
372
void stackDrop (FICL_STACK *pStack, int n);
stand/ficl/ficl.h
373
CELL stackFetch (FICL_STACK *pStack, int n);
stand/ficl/ficl.h
376
void stackPick (FICL_STACK *pStack, int n);
stand/ficl/ficl.h
386
void stackRoll (FICL_STACK *pStack, int n);
stand/ficl/ficl.h
388
void stackStore (FICL_STACK *pStack, int n, CELL c);
stand/ficl/ficl.h
413
#define STORE(n,c) stackStore(pVM->pStack,n,LVALUEtoCELL(c))
stand/ficl/ficl.h
415
#define DROP(n) stackDrop(pVM->pStack,n)
stand/ficl/ficl.h
416
#define DROPF(n) stackDrop(pVM->fStack,n)
stand/ficl/ficl.h
417
#define FETCH(n) stackFetch(pVM->pStack,n)
stand/ficl/ficl.h
418
#define PICK(n) stackPick(pVM->pStack,n)
stand/ficl/ficl.h
419
#define PICKF(n) stackPick(pVM->fStack,n)
stand/ficl/ficl.h
420
#define ROLL(n) stackRoll(pVM->pStack,n)
stand/ficl/ficl.h
421
#define ROLLF(n) stackRoll(pVM->fStack,n)
stand/ficl/ficl.h
743
int dictAllot (FICL_DICT *pDict, int n);
stand/ficl/ficl.h
758
void dictCheck (FICL_DICT *pDict, FICL_VM *pVM, int n);
stand/ficl/prefix.c
100
if (!strincmp(SI_PTR(si), pFW->name, (FICL_UNS)n))
stand/ficl/prefix.c
103
vmSetTibIndex(pVM, si.cp + n - pVM->tib.cp );
stand/ficl/prefix.c
94
int n;
stand/ficl/prefix.c
95
n = pFW->nName;
stand/ficl/stack.c
158
void stackDrop(FICL_STACK *pStack, int n)
stand/ficl/stack.c
161
assert(n > 0);
stand/ficl/stack.c
163
pStack->sp -= n;
stand/ficl/stack.c
173
CELL stackFetch(FICL_STACK *pStack, int n)
stand/ficl/stack.c
175
return pStack->sp[-n-1];
stand/ficl/stack.c
178
void stackStore(FICL_STACK *pStack, int n, CELL c)
stand/ficl/stack.c
180
pStack->sp[-n-1] = c;
stand/ficl/stack.c
234
void stackPick(FICL_STACK *pStack, int n)
stand/ficl/stack.c
236
stackPush(pStack, stackFetch(pStack, n));
stand/ficl/stack.c
325
void stackRoll(FICL_STACK *pStack, int n)
stand/ficl/stack.c
330
if (n == 0)
stand/ficl/stack.c
332
else if (n > 0)
stand/ficl/stack.c
334
pCell = pStack->sp - n - 1;
stand/ficl/stack.c
337
for (;n > 0; --n, pCell++)
stand/ficl/stack.c
349
for (; n < 0; ++n, pCell--)
stand/ficl/testmain.c
232
int n = 0;
stand/ficl/testmain.c
237
n++;
stand/ficl/testmain.c
241
fprintf(pOut, "%d\t%d", i, n);
stand/ficl/words.c
4452
int n = 0;
stand/ficl/words.c
4461
for ( ; (uMin > 0) && (n == 0); uMin--)
stand/ficl/words.c
4470
n = (int)(c1 - c2);
stand/ficl/words.c
4473
if (n == 0)
stand/ficl/words.c
4474
n = (int)(u1 - u2);
stand/ficl/words.c
4476
if (n < 0)
stand/ficl/words.c
4477
n = -1;
stand/ficl/words.c
4478
else if (n > 0)
stand/ficl/words.c
4479
n = 1;
stand/ficl/words.c
4481
PUSHINT(n);
stand/i386/libi386/biossmap.c
102
n = 0;
stand/i386/libi386/biossmap.c
104
smapattr[n++] = cur->xattr &
stand/i386/libi386/biossmap.c
60
u_int n, x;
stand/i386/libi386/biossmap.c
63
n = 0;
stand/i386/libi386/biossmap.c
88
n++;
stand/i386/libi386/biossmap.c
90
smaplen = n;
stand/i386/libi386/biossmap.c
95
n = 0;
stand/i386/libi386/biossmap.c
97
smapbase[n++] = cur->smap;
stand/i386/libi386/textvidc.c
135
int n;
stand/i386/libi386/textvidc.c
142
n = 8 - ((curx + 8) % 8);
stand/i386/libi386/textvidc.c
143
for (i = 0; i < n; i++)
stand/i386/libi386/time.c
95
time_t n = 0;
stand/i386/libi386/time.c
96
time(&n);
stand/i386/libi386/time.c
97
return n;
stand/i386/libi386/vbe.c
1162
int modenum = -1, n;
stand/i386/libi386/vbe.c
1171
n = -1;
stand/i386/libi386/vbe.c
1178
n = strtoul(arg, &cp, 0);
stand/i386/libi386/vbe.c
1186
vbe_modelist(n);
stand/i386/libi386/vbe.c
1233
n = strtoul(arg, &cp, 0);
stand/i386/libi386/vbe.c
1240
modenum = vbe_find_mode_xydm(0, 0, 0, n);
stand/kboot/include/seg.h
18
void need_avail(int n);
stand/kboot/kboot/hostdisk.c
307
int n;
stand/kboot/kboot/hostdisk.c
318
n = host_read(desc->d_unit, buf, size);
stand/kboot/kboot/hostdisk.c
320
n = host_write(desc->d_unit, buf, size);
stand/kboot/kboot/hostdisk.c
324
if (n < 0)
stand/kboot/kboot/hostdisk.c
327
*rsize = n;
stand/kboot/libkboot/seg.c
35
need_avail(int n)
stand/kboot/libkboot/seg.c
37
if (n <= segalloc)
stand/kboot/libkboot/seg.c
40
while (n > segalloc)
stand/kshim/bsd_kernel.h
669
#define strlcpy(d,s,n) snprintf((d),(n),"%s",(s))
stand/liblua/gfx_utils.c
226
#define REG_SIMPLE(n) { #n, lua_ ## n }
stand/liblua/luaconf.h
402
#define lua_number2str(s,sz,n) \
stand/liblua/luaconf.h
403
l_sprintf((s), sz, LUA_NUMBER_FMT, (LUAI_UACNUMBER)(n))
stand/liblua/luaconf.h
414
#define lua_numbertointeger(n,p) \
stand/liblua/luaconf.h
415
(*(p) = (LUA_INTEGER)(n), 1)
stand/liblua/luaconf.h
424
#define l_floatatt(n) (FLT_##n)
stand/liblua/luaconf.h
440
#define l_floatatt(n) (LDBL_##n)
stand/liblua/luaconf.h
455
#define l_floatatt(n) (DBL_##n)
stand/liblua/luaconf.h
477
#define l_mathlim(n) (LUA_FLOAT_INT_HACK_##n)
stand/liblua/luaconf.h
523
#define lua_integer2str(s,sz,n) \
stand/liblua/luaconf.h
524
l_sprintf((s), sz, LUA_INTEGER_FMT, (LUAI_UACINT)(n))
stand/liblua/luaconf.h
641
#define lua_number2strx(L,b,sz,f,n) \
stand/liblua/luaconf.h
642
((void)L, l_sprintf(b,sz,f,(LUAI_UACNUMBER)(n)))
stand/liblua/luaconf.h
766
#define LUAI_MAXALIGN lua_Number n; void *s; lua_Integer i; long l
stand/liblua/luaconf.local.h
24
#define lua_numbertointeger(n,p) \
stand/liblua/luaconf.local.h
25
(*(p) = (LUA_INTEGER)(n), 1)
stand/liblua/luaconf.local.h
50
#define l_floatatt(n) (LUA_FLOAT_INT_HACK_##n)
stand/liblua/luaconf.local.h
71
#define LUAI_MAXALIGN lua_Number n; void *s; lua_Integer i; long l
stand/liblua/lutils.c
388
#define REG_SIMPLE(n) { #n, lua_ ## n }
stand/libofw/ofw_disk.c
113
n = OF_read(dp->d_handle, buf, size);
stand/libofw/ofw_disk.c
114
if (n < 0 && n != -2)
stand/libofw/ofw_disk.c
116
} while (n == -2);
stand/libofw/ofw_disk.c
165
unsigned int n;
stand/libofw/ofw_disk.c
174
n = OF_blocks(dev->d_handle);
stand/libofw/ofw_disk.c
175
*(uint64_t *)data = ((uint64_t)n * block_size);
stand/libofw/ofw_disk.c
186
uintmax_t block_size, n;
stand/libofw/ofw_disk.c
199
n = OF_blocks(kdp->d_handle);
stand/libofw/ofw_disk.c
202
kdp->d_path, n, block_size, n * block_size);
stand/libofw/ofw_disk.c
95
int n;
stand/libofw/ofw_time.c
44
time_t n = 0;
stand/libofw/ofw_time.c
45
time(&n);
stand/libofw/ofw_time.c
46
return (n);
stand/libofw/openfirm.c
450
int n;
stand/libofw/openfirm.c
457
for (cp = (cell_t *)(args.args_n_results + (n = nargs)); --n >= 0;)
stand/libofw/openfirm.c
465
(n = be32toh(args.nreturns))); --n > 0;)
stand/libsa/arp.c
160
ssize_t n;
stand/libsa/arp.c
171
n = readether(d, &ptr, (void **)&ah, tleft, &etype);
stand/libsa/arp.c
173
if (n == -1 || n < sizeof(struct ether_arp)) {
stand/libsa/arp.c
176
printf("bad len=%zd\n", n);
stand/libsa/arp.c
244
return (n);
stand/libsa/bootp.c
337
ssize_t n;
stand/libsa/bootp.c
344
n = readudp(d, &ptr, (void **)&bp, tleft);
stand/libsa/bootp.c
345
if (n == -1 || n < sizeof(struct bootp) - BOOTP_VENDSIZE)
stand/libsa/bootp.c
348
DEBUG_PRINTF(1,("bootprecv: checked. bp = %p, n = %zd\n", bp, n));
stand/libsa/bootp.c
360
int vsize = n - offsetof(struct bootp, bp_vend);
stand/libsa/bootp.c
369
bootp_response = malloc(n);
stand/libsa/bootp.c
371
bootp_response_size = n;
stand/libsa/bootp.c
385
return (n);
stand/libsa/cd9660read.c
318
size_t size, remaining, n;
stand/libsa/cd9660read.c
351
n = remaining;
stand/libsa/cd9660read.c
353
n = ISO_DEFAULT_BLOCK_SIZE - byte_off;
stand/libsa/cd9660read.c
355
memcpy(s, blkbuf + byte_off, n);
stand/libsa/cd9660read.c
356
remaining -= n;
stand/libsa/cd9660read.c
357
s += n;
stand/libsa/cd9660read.c
359
fs_off += n;
stand/libsa/dosfs.c
1000
n = nbyte & (secsiz - 1);
stand/libsa/dosfs.c
1001
if (nbyte -= n) {
stand/libsa/dosfs.c
1007
if (n != 0) {
stand/libsa/dosfs.c
1011
memcpy(s, fs->secbuf, n);
stand/libsa/dosfs.c
147
#define bytsec(fs, n) ((n) >> (fs)->sshift)
stand/libsa/dosfs.c
151
#define bytblk(fs, n) ((n) >> (fs)->bshift)
stand/libsa/dosfs.c
411
u_int clus, c, cnt, n;
stand/libsa/dosfs.c
425
if (nb > (n = size - f->offset))
stand/libsa/dosfs.c
426
nb = n;
stand/libsa/dosfs.c
433
n = 0;
stand/libsa/dosfs.c
436
n = bytblk(f->fs, f->offset);
stand/libsa/dosfs.c
438
n++;
stand/libsa/dosfs.c
439
while (n--) {
stand/libsa/dosfs.c
447
if (!clus || (n = f->fs->bsize - off) > cnt)
stand/libsa/dosfs.c
448
n = cnt;
stand/libsa/dosfs.c
453
err = ioread(f->fs, off, buf, n);
stand/libsa/dosfs.c
456
f->offset += n;
stand/libsa/dosfs.c
459
buf = (char *)buf + n;
stand/libsa/dosfs.c
460
cnt -= n;
stand/libsa/dosfs.c
702
size_t n;
stand/libsa/dosfs.c
714
if ((n = s - path) > 255)
stand/libsa/dosfs.c
716
memcpy(name, path, n);
stand/libsa/dosfs.c
717
name[n] = 0;
stand/libsa/dosfs.c
832
u_int n, x, c;
stand/libsa/dosfs.c
835
for (n = 0; n < 3; n++)
stand/libsa/dosfs.c
836
for (p = (u_char *)xde + ix[n].off, x = ix[n].dim; x;
stand/libsa/dosfs.c
883
int n;
stand/libsa/dosfs.c
889
if ((n = fatcnt(fs, c)) == -1)
stand/libsa/dosfs.c
890
return (n);
stand/libsa/dosfs.c
891
size = blkbyt(fs, n);
stand/libsa/dosfs.c
903
int n;
stand/libsa/dosfs.c
905
for (n = 0; okclus(fs, c); n++)
stand/libsa/dosfs.c
908
return (fatend(fs->fatsz, c) ? n : -1);
stand/libsa/dosfs.c
982
size_t n, secsiz;
stand/libsa/dosfs.c
990
if ((n = secsiz - off) > nbyte)
stand/libsa/dosfs.c
991
n = nbyte;
stand/libsa/dosfs.c
995
memcpy(s, fs->secbuf + off, n);
stand/libsa/dosfs.c
997
s += n;
stand/libsa/dosfs.c
998
nbyte -= n;
stand/libsa/ether.c
120
n -= sizeof(*eh);
stand/libsa/ether.c
121
return (n);
stand/libsa/ether.c
54
ssize_t n;
stand/libsa/ether.c
69
n = netif_put(d, eh, len);
stand/libsa/ether.c
70
if (n == -1 || n < sizeof(*eh))
stand/libsa/ether.c
73
n -= sizeof(*eh);
stand/libsa/ether.c
74
return (n);
stand/libsa/ether.c
87
ssize_t n;
stand/libsa/ether.c
97
n = netif_get(d, &ptr, tleft);
stand/libsa/ether.c
98
if (n == -1 || n < sizeof(*eh)) {
stand/libsa/geli/geliboot.c
319
size_t n, nsec, secsize;
stand/libsa/geli/geliboot.c
337
for (n = 0, dstoff = offset; n < nsec; n++, dstoff += secsize) {
stand/libsa/geli/geliboot.h
56
extern void pwgets(char *buf, int n, int hide);
stand/libsa/geli/pwgets.c
37
pwgets(char *buf, int n, int hide)
stand/libsa/geli/pwgets.c
66
if ((n < 1) || ((lp - buf) < n - 1)) {
stand/libsa/gets.c
37
ngets(char *buf, int n)
stand/libsa/gets.c
75
if ((n < 1) || ((lp - buf) < n - 1)) {
stand/libsa/ip.c
197
readipv4(struct iodesc *d, void **pkt, void **payload, ssize_t n)
stand/libsa/ip.c
209
if (n < sizeof(*ip)) {
stand/libsa/ip.c
224
if (n < ntohs(ip->ip_len)) {
stand/libsa/ip.c
226
n, ntohs(ip->ip_len)));
stand/libsa/ip.c
258
n -= hlen - sizeof(*ip);
stand/libsa/ip.c
261
n = (n > (ntohs(ip->ip_len) - sizeof(*ip))) ?
stand/libsa/ip.c
262
ntohs(ip->ip_len) - sizeof(*ip) : n;
stand/libsa/ip.c
265
return (n);
stand/libsa/ip.c
310
n = 0;
stand/libsa/ip.c
314
if (fragoffset != n) {
stand/libsa/ip.c
326
n += ntohs(ipq->ipq_hdr->ip_len) - (ipq->ipq_hdr->ip_hl << 2);
stand/libsa/ip.c
343
ipr->ip_total_size = n + sizeof(*ip) + sizeof(struct ether_header);
stand/libsa/ip.c
360
ipr->ip_hdr->ip_len = htons(n);
stand/libsa/ip.c
364
n = 0;
stand/libsa/ip.c
374
bcopy(data, ptr + n, len);
stand/libsa/ip.c
375
n += len;
stand/libsa/ip.c
390
return (n);
stand/libsa/ip.c
405
ssize_t n;
stand/libsa/ip.c
411
n = readether(d, &ptr, &data, tleft, &etype);
stand/libsa/ip.c
412
if (n == -1) {
stand/libsa/ip.c
438
ret = readipv4(d, &ptr, &data, n);
stand/libsa/net.c
152
int n;
stand/libsa/net.c
195
n = pp - parts + 1;
stand/libsa/net.c
196
switch (n) {
stand/libsa/net.c
237
int n;
stand/libsa/net.c
244
n = 4;
stand/libsa/net.c
257
} while (--n > 0);
stand/libsa/net.c
263
number(char *s, n_long *n)
stand/libsa/net.c
265
for (*n = 0; isdigit(*s); s++)
stand/libsa/net.c
266
*n = (*n * 10) + *s - '0';
stand/libsa/net.c
274
n_long addr = 0, n;
stand/libsa/net.c
278
p = number(p, &n);
stand/libsa/net.c
279
addr |= (n << 24) & 0xff000000;
stand/libsa/net.c
282
p = number(p, &n);
stand/libsa/net.c
283
addr |= (n << 16) & 0xff0000;
stand/libsa/net.c
286
p = number(p, &n);
stand/libsa/net.c
287
addr |= (n << 8) & 0xff00;
stand/libsa/net.c
290
p = number(p, &n);
stand/libsa/net.c
291
addr |= n & 0xff;
stand/libsa/open.c
142
size_t n;
stand/libsa/open.c
187
n = strlen(file);
stand/libsa/open.c
188
is_dir = (n > 0 && file[n - 1] == '/');
stand/libsa/printf.c
256
int ch, n;
stand/libsa/printf.c
325
for (n = 0;; ++fmt) {
stand/libsa/printf.c
326
n = n * 10 + ch - '0';
stand/libsa/printf.c
332
dwidth = n;
stand/libsa/printf.c
334
width = n;
stand/libsa/printf.c
346
n = *p++;
stand/libsa/printf.c
347
if (num & (1 << (n - 1))) {
stand/libsa/printf.c
349
for (; (n = *p) > ' '; ++p)
stand/libsa/printf.c
350
PCHAR(n);
stand/libsa/printf.c
436
n = strlen (p);
stand/libsa/printf.c
438
for (n = 0; n < dwidth && p[n]; n++)
stand/libsa/printf.c
441
width -= n;
stand/libsa/printf.c
446
while (n--)
stand/libsa/printf.c
515
p = ksprintn(nbuf, num, base, &n, upper);
stand/libsa/printf.c
528
width -= tmp + imax(dwidth, n);
stand/libsa/printf.c
529
dwidth -= n;
stand/libsa/rarp.c
144
ssize_t n;
stand/libsa/rarp.c
154
n = readether(d, &ptr, (void **)&ap, tleft, &etype);
stand/libsa/rarp.c
156
if (n == -1 || n < sizeof(struct ether_arp)) {
stand/libsa/rarp.c
159
printf("bad len=%zd\n", n);
stand/libsa/rarp.c
213
return (n);
stand/libsa/rpc.c
219
ssize_t n;
stand/libsa/rpc.c
229
n = readudp(d, &ptr, (void **)&reply, tleft);
stand/libsa/rpc.c
230
if (n <= (4 * 4)) {
stand/libsa/rpc.c
266
return (n);
stand/libsa/smbios.c
260
UUID_TYPE n;
stand/libsa/smbios.c
265
n = UUID_GET(addr, i) + 1;
stand/libsa/smbios.c
266
if (zeros == 0 && n == 0)
stand/libsa/smbios.c
268
else if (ones == 0 && n == 1)
stand/libsa/stand.h
585
# define DEBUG_PRINTF(n, args) if (_DEBUG_LEVEL_VAR >= n) printf args
stand/libsa/stand.h
587
# define DEBUG_PRINTF(n, args)
stand/libsa/strcasecmp.c
47
strncasecmp(const char *s1, const char *s2, size_t n)
stand/libsa/strcasecmp.c
49
if (n != 0) {
stand/libsa/strcasecmp.c
59
} while (--n != 0);
stand/libsa/udp.c
107
ssize_t n;
stand/libsa/udp.c
118
n = readip(d, &ptr, (void **)&uh, tleft, IPPROTO_UDP);
stand/libsa/udp.c
119
if (n == -1 || n < sizeof(*uh) || n != ntohs(uh->uh_ulen)) {
stand/libsa/udp.c
140
n = ntohs(uh->uh_ulen) + sizeof(*ip);
stand/libsa/udp.c
148
if (in_cksum(ui, n) != 0) {
stand/libsa/udp.c
169
n = (n > (ntohs(uh->uh_ulen) - sizeof(*uh))) ?
stand/libsa/udp.c
170
ntohs(uh->uh_ulen) - sizeof(*uh) : n;
stand/libsa/udp.c
173
return (n);
stand/libsa/ufsread.c
102
while ((n = fsread(*ino, buf, DEV_BSIZE)) > 0)
stand/libsa/ufsread.c
120
if (n != -1 && ls)
stand/libsa/ufsread.c
131
ssize_t n;
stand/libsa/ufsread.c
142
if ((n = s - path) > UFS_MAXNAMLEN)
stand/libsa/ufsread.c
144
ls = *path == '?' && n == 1 && !*s;
stand/libsa/ufsread.c
145
memcpy(name, path, n);
stand/libsa/ufsread.c
146
name[n] = 0;
stand/libsa/ufsread.c
186
size_t n, nb, size, off, vboff;
stand/libsa/ufsread.c
207
for (n = 0; sblock_try[n] != -1; n++) {
stand/libsa/ufsread.c
208
if (dskread(dmadat->sbbuf, sblock_try[n] / DEV_BSIZE,
stand/libsa/ufsread.c
217
fs.fs_sblockloc == sblock_try[n])
stand/libsa/ufsread.c
221
fs.fs_sblockloc == sblock_try[n])
stand/libsa/ufsread.c
228
if (sblock_try[n] == -1) {
stand/libsa/ufsread.c
237
n = IPERVBLK(&fs);
stand/libsa/ufsread.c
238
if (dskread(blkbuf, INO_TO_VBA(&fs, n, inode), DBPERVBLK))
stand/libsa/ufsread.c
240
n = INO_TO_VBO(n, inode);
stand/libsa/ufsread.c
242
memcpy(&dp1, (struct ufs1_dinode *)(void *)blkbuf + n,
stand/libsa/ufsread.c
245
memcpy(&dp2, (struct ufs2_dinode *)(void *)blkbuf + n,
stand/libsa/ufsread.c
249
memcpy(&dp1, (struct ufs1_dinode *)(void *)blkbuf + n,
stand/libsa/ufsread.c
252
memcpy(&dp2, (struct ufs2_dinode *)(void *)blkbuf + n,
stand/libsa/ufsread.c
261
n = size - fs_off;
stand/libsa/ufsread.c
262
if (nbyte > n)
stand/libsa/ufsread.c
263
nbyte = n;
stand/libsa/ufsread.c
271
n = INDIRPERVBLK(&fs);
stand/libsa/ufsread.c
273
u = (u_int)(lbn - UFS_NDADDR) / n * DBPERVBLK;
stand/libsa/ufsread.c
280
n = (lbn - UFS_NDADDR) & (n - 1);
stand/libsa/ufsread.c
282
memcpy(&addr1, (ufs1_daddr_t *)indbuf + n,
stand/libsa/ufsread.c
286
memcpy(&addr2, (ufs2_daddr_t *)indbuf + n,
stand/libsa/ufsread.c
290
memcpy(&addr1, (ufs1_daddr_t *)indbuf + n,
stand/libsa/ufsread.c
294
memcpy(&addr2, (ufs2_daddr_t *)indbuf + n,
stand/libsa/ufsread.c
301
n = sblksize(&fs, (off_t)size, lbn) - (off & ~VBLKMASK);
stand/libsa/ufsread.c
302
if (n > VBLKSIZE)
stand/libsa/ufsread.c
303
n = VBLKSIZE;
stand/libsa/ufsread.c
305
if (dskread(blkbuf, vbaddr, n >> DEV_BSHIFT))
stand/libsa/ufsread.c
309
n -= vboff;
stand/libsa/ufsread.c
310
if (n > nb)
stand/libsa/ufsread.c
311
n = nb;
stand/libsa/ufsread.c
312
memcpy(s, blkbuf + vboff, n);
stand/libsa/ufsread.c
313
s += n;
stand/libsa/ufsread.c
314
fs_off += n;
stand/libsa/ufsread.c
315
nb -= n;
stand/libsa/ufsread.c
99
ssize_t n;
stand/libsa/uuid_from_string.c
119
n = u->clock_seq_hi_and_reserved;
stand/libsa/uuid_from_string.c
120
if ((n & 0x80) != 0x00 && /* variant 0? */
stand/libsa/uuid_from_string.c
121
(n & 0xc0) != 0x80 && /* variant 1? */
stand/libsa/uuid_from_string.c
122
(n & 0xe0) != 0xc0) { /* variant 2? */
stand/libsa/uuid_from_string.c
88
int n;
stand/libsa/zfs/nvlist.c
1416
nvlist_add_boolean_array(nvlist_t *nvl, const char *name, int *a, uint32_t n)
stand/libsa/zfs/nvlist.c
1418
return (nvlist_add_common(nvl, name, DATA_TYPE_BOOLEAN_ARRAY, n, a));
stand/libsa/zfs/nvlist.c
1422
nvlist_add_byte_array(nvlist_t *nvl, const char *name, uint8_t *a, uint32_t n)
stand/libsa/zfs/nvlist.c
1424
return (nvlist_add_common(nvl, name, DATA_TYPE_BYTE_ARRAY, n, a));
stand/libsa/zfs/nvlist.c
1428
nvlist_add_int8_array(nvlist_t *nvl, const char *name, int8_t *a, uint32_t n)
stand/libsa/zfs/nvlist.c
1430
return (nvlist_add_common(nvl, name, DATA_TYPE_INT8_ARRAY, n, a));
stand/libsa/zfs/nvlist.c
1434
nvlist_add_uint8_array(nvlist_t *nvl, const char *name, uint8_t *a, uint32_t n)
stand/libsa/zfs/nvlist.c
1436
return (nvlist_add_common(nvl, name, DATA_TYPE_UINT8_ARRAY, n, a));
stand/libsa/zfs/nvlist.c
1440
nvlist_add_int16_array(nvlist_t *nvl, const char *name, int16_t *a, uint32_t n)
stand/libsa/zfs/nvlist.c
1442
return (nvlist_add_common(nvl, name, DATA_TYPE_INT16_ARRAY, n, a));
stand/libsa/zfs/nvlist.c
1447
uint32_t n)
stand/libsa/zfs/nvlist.c
1449
return (nvlist_add_common(nvl, name, DATA_TYPE_UINT16_ARRAY, n, a));
stand/libsa/zfs/nvlist.c
1453
nvlist_add_int32_array(nvlist_t *nvl, const char *name, int32_t *a, uint32_t n)
stand/libsa/zfs/nvlist.c
1455
return (nvlist_add_common(nvl, name, DATA_TYPE_INT32_ARRAY, n, a));
stand/libsa/zfs/nvlist.c
1460
uint32_t n)
stand/libsa/zfs/nvlist.c
1462
return (nvlist_add_common(nvl, name, DATA_TYPE_UINT32_ARRAY, n, a));
stand/libsa/zfs/nvlist.c
1466
nvlist_add_int64_array(nvlist_t *nvl, const char *name, int64_t *a, uint32_t n)
stand/libsa/zfs/nvlist.c
1468
return (nvlist_add_common(nvl, name, DATA_TYPE_INT64_ARRAY, n, a));
stand/libsa/zfs/nvlist.c
1473
uint32_t n)
stand/libsa/zfs/nvlist.c
1475
return (nvlist_add_common(nvl, name, DATA_TYPE_UINT64_ARRAY, n, a));
stand/libsa/zfs/nvlist.c
1480
char * const *a, uint32_t n)
stand/libsa/zfs/nvlist.c
1482
return (nvlist_add_common(nvl, name, DATA_TYPE_STRING_ARRAY, n, a));
stand/libsa/zfs/nvlist.c
1493
uint32_t n)
stand/libsa/zfs/nvlist.c
1495
return (nvlist_add_common(nvl, name, DATA_TYPE_NVLIST_ARRAY, n, a));
stand/libsa/zfs/zfs.c
155
size_t n;
stand/libsa/zfs/zfs.c
161
n = size;
stand/libsa/zfs/zfs.c
162
if (fp->f_seekp + n > sb.st_size)
stand/libsa/zfs/zfs.c
163
n = sb.st_size - fp->f_seekp;
stand/libsa/zfs/zfs.c
165
rc = dnode_read(spa, &fp->f_dnode, fp->f_seekp, start, n);
stand/libsa/zfs/zfs.c
171
for (i = 0; i < n; i++)
stand/libsa/zfs/zfs.c
174
fp->f_seekp += n;
stand/libsa/zfs/zfs.c
176
*resid = size - n;
stand/libsa/zfs/zfsimpl.c
2038
for (int n = 0; n < VDEV_UBERBLOCK_COUNT(vd); n++) {
stand/libsa/zfs/zfsimpl.c
2040
VDEV_UBERBLOCK_OFFSET(vd, n),
stand/libsa/zfs/zfsimpl.c
2265
ilog2(int n)
stand/libsa/zfs/zfsimpl.c
2270
if (n == (1 << v))
stand/libsa/zfs/zfsimpl.c
2756
#define ZAP_HASH_IDX(hash, n) (((n) == 0) ? 0 : ((hash) >> (64 - (n))))
stand/libsa/zfs/zfsimpl.c
557
int n = 1;
stand/libsa/zfs/zfsimpl.c
565
n = vd->v_nchildren;
stand/libsa/zfs/zfsimpl.c
568
malloc(offsetof(indirect_split_t, is_child[n]));
stand/libsa/zfs/zfsimpl.c
573
bzero(is, offsetof(indirect_split_t, is_child[n]));
stand/libsa/zfs/zfsimpl.c
575
is->is_children = n;
stand/powerpc/ofw/cas.c
79
#define OV5_MAX_CPUS(n) ((MAX_CPUS >> (3*8 - (n)*8)) & 0xff)
stand/powerpc/ofw/cas.c
83
#define OV5_LOPAPR_LEVEL(n) ((LOPAPR_LEVEL >> (8 - (n)*8)) & 0xff)
stand/uboot/glue.c
261
int n = 0;
stand/uboot/glue.c
271
if (++n >= UB_MAX_DEV)
stand/uboot/glue.c
278
di->cookie = devices[n - 1].cookie;
stand/uboot/glue.c
284
return (n);
stand/uboot/uboot_fdt.c
120
int eth_no, i, len, n;
stand/uboot/uboot_fdt.c
162
n = 0;
stand/uboot/uboot_fdt.c
164
n = i;
stand/uboot/uboot_fdt.c
166
if (n > TMP_MAX_ETH)
stand/uboot/uboot_fdt.c
171
if (n != 0) {
stand/uboot/uboot_fdt.c
187
if (n + 1 > eth_no)
stand/uboot/uboot_fdt.c
188
eth_no = n + 1;
stand/uboot/uboot_fdt.c
199
for (i = 0, n = 0; i < si->mr_no && n < nitems(regions); i++) {
stand/uboot/uboot_fdt.c
201
regions[n].start = si->mr[i].start;
stand/uboot/uboot_fdt.c
202
regions[n].size = si->mr[i].size;
stand/uboot/uboot_fdt.c
203
n++;
stand/uboot/uboot_fdt.c
208
fdt_fixup_memory(regions, n);
stand/userboot/test/test.c
372
ssize_t n;
stand/userboot/test/test.c
376
n = pread(disk_fd[unit], dst, size, offset);
stand/userboot/test/test.c
377
if (n == 0) {
stand/userboot/test/test.c
382
if (n < 0)
stand/userboot/test/test.c
384
*resid_return = size - n;
stand/userboot/test/test.c
392
ssize_t n;
stand/userboot/test/test.c
396
n = pwrite(disk_fd[unit], src, size, offset);
stand/userboot/test/test.c
397
if (n < 0)
stand/userboot/test/test.c
399
*resid_return = size - n;
stand/userboot/test/test.c
89
int n;
stand/userboot/test/test.c
91
if (ioctl(0, FIONREAD, &n) >= 0)
stand/userboot/test/test.c
92
return (n > 0);
sys/amd64/amd64/bpf_jit_machdep.h
127
typedef void (*emit_func)(bpf_bin_stream *stream, u_int value, u_int n);
sys/amd64/amd64/minidump_machdep.c
169
int ii, j, k, n;
sys/amd64/amd64/minidump_machdep.c
210
for (n = 0; n < NPDEPG * NPTEPG; n++) {
sys/amd64/amd64/minidump_machdep.c
220
for (n = 0; n < NPDEPG; n++, va += NBPDR) {
sys/amd64/amd64/pmap.c
1636
allocpages(vm_paddr_t *firstaddr, int n)
sys/amd64/amd64/pmap.c
1641
bzero((void *)ret, n * PAGE_SIZE);
sys/amd64/amd64/pmap.c
1642
*firstaddr += n * PAGE_SIZE;
sys/amd64/amd64/pmap.c
2172
#define SYSMAP(c, p, v, n) \
sys/amd64/amd64/pmap.c
2173
v = (c)va; va += ((n)*PAGE_SIZE); p = pte; pte += (n);
sys/amd64/amd64/uio_machdep.c
110
n -= cnt;
sys/amd64/amd64/uio_machdep.c
58
uiomove_fromphys(vm_page_t ma[], vm_offset_t offset, int n, struct uio *uio)
sys/amd64/amd64/uio_machdep.c
77
while (n > 0 && uio->uio_resid) {
sys/amd64/amd64/uio_machdep.c
88
if (cnt > n)
sys/amd64/amd64/uio_machdep.c
89
cnt = n;
sys/amd64/include/pcpu.h
273
#define zpcpu_sub_protected(base, n) do { \
sys/amd64/include/pcpu.h
275
zpcpu_sub(base, n); \
sys/amd64/include/pcpu.h
278
#define zpcpu_set_protected(base, n) do { \
sys/amd64/include/pcpu.h
279
__typeof(*base) __n = (n); \
sys/amd64/include/pcpu.h
295
#define zpcpu_add(base, n) do { \
sys/amd64/include/pcpu.h
296
__typeof(*base) __n = (n); \
sys/amd64/include/pcpu.h
310
#define zpcpu_add_protected(base, n) do { \
sys/amd64/include/pcpu.h
312
zpcpu_add(base, n); \
sys/amd64/include/pcpu.h
315
#define zpcpu_sub(base, n) do { \
sys/amd64/include/pcpu.h
316
__typeof(*base) __n = (n); \
sys/amd64/pt/pt.c
342
int nranges_supp, n, error = 0;
sys/amd64/pt/pt.c
351
n = cfg->nranges;
sys/amd64/pt/pt.c
352
if (n > nranges_supp) {
sys/amd64/pt/pt.c
355
__func__, n, nranges_supp);
sys/amd64/pt/pt.c
356
n = nranges_supp;
sys/amd64/pt/pt.c
359
switch (n) {
sys/amd64/vmm/amd/amdvi_priv.h
37
#define BIT(n) (1ULL << (n))
sys/amd64/vmm/amd/amdvi_priv.h
39
#define REG_BITS(x, n, m) (((x) >> (m)) & \
sys/amd64/vmm/amd/amdvi_priv.h
40
((1 << (((n) - (m)) + 1)) - 1))
sys/amd64/vmm/amd/svm.c
473
int n;
sys/amd64/vmm/amd/svm.c
489
for (n = 0; n < 16; n++) {
sys/amd64/vmm/amd/svm.c
490
mask = (BIT(n) << 16) | BIT(n);
sys/amd64/vmm/amd/svm.c
491
if (n == 0 || n == 2 || n == 3 || n == 4 || n == 8)
sys/amd64/vmm/amd/svm.c
502
for (n = 0; n < 32; n++) {
sys/amd64/vmm/amd/svm.c
506
if (n == 2 || n == 9) {
sys/amd64/vmm/amd/svm.c
509
svm_enable_intercept(vcpu, VMCB_EXC_INTCPT, BIT(n));
sys/amd64/vmm/amd/vmcb.h
32
#define BIT(n) (1ULL << n)
sys/amd64/vmm/io/vhpet.c
126
vhpet_timer_msi_enabled(struct vhpet *vhpet, int n)
sys/amd64/vmm/io/vhpet.c
130
if ((vhpet->timer[n].cap_config & msi_enable) == msi_enable)
sys/amd64/vmm/io/vhpet.c
137
vhpet_timer_ioapic_pin(struct vhpet *vhpet, int n)
sys/amd64/vmm/io/vhpet.c
143
if (vhpet_timer_msi_enabled(vhpet, n))
sys/amd64/vmm/io/vhpet.c
146
return ((vhpet->timer[n].cap_config & HPET_TCNF_INT_ROUTE) >> 9);
sys/amd64/vmm/io/vhpet.c
176
vhpet_timer_clear_isr(struct vhpet *vhpet, int n)
sys/amd64/vmm/io/vhpet.c
180
if (vhpet->isr & (1 << n)) {
sys/amd64/vmm/io/vhpet.c
181
pin = vhpet_timer_ioapic_pin(vhpet, n);
sys/amd64/vmm/io/vhpet.c
182
KASSERT(pin != 0, ("vhpet timer %d irq incorrectly routed", n));
sys/amd64/vmm/io/vhpet.c
184
vhpet->isr &= ~(1 << n);
sys/amd64/vmm/io/vhpet.c
189
vhpet_periodic_timer(struct vhpet *vhpet, int n)
sys/amd64/vmm/io/vhpet.c
192
return ((vhpet->timer[n].cap_config & HPET_TCNF_TYPE) != 0);
sys/amd64/vmm/io/vhpet.c
196
vhpet_timer_interrupt_enabled(struct vhpet *vhpet, int n)
sys/amd64/vmm/io/vhpet.c
199
return ((vhpet->timer[n].cap_config & HPET_TCNF_INT_ENB) != 0);
sys/amd64/vmm/io/vhpet.c
203
vhpet_timer_edge_trig(struct vhpet *vhpet, int n)
sys/amd64/vmm/io/vhpet.c
206
KASSERT(!vhpet_timer_msi_enabled(vhpet, n), ("vhpet_timer_edge_trig: "
sys/amd64/vmm/io/vhpet.c
207
"timer %d is using MSI", n));
sys/amd64/vmm/io/vhpet.c
209
if ((vhpet->timer[n].cap_config & HPET_TCNF_INT_TYPE) == 0)
sys/amd64/vmm/io/vhpet.c
216
vhpet_timer_interrupt(struct vhpet *vhpet, int n)
sys/amd64/vmm/io/vhpet.c
221
if (!vhpet_timer_interrupt_enabled(vhpet, n))
sys/amd64/vmm/io/vhpet.c
227
if ((vhpet->isr & (1 << n)) != 0) {
sys/amd64/vmm/io/vhpet.c
228
VM_CTR1(vhpet->vm, "hpet t%d intr is already asserted", n);
sys/amd64/vmm/io/vhpet.c
232
if (vhpet_timer_msi_enabled(vhpet, n)) {
sys/amd64/vmm/io/vhpet.c
233
lapic_intr_msi(vhpet->vm, vhpet->timer[n].msireg >> 32,
sys/amd64/vmm/io/vhpet.c
234
vhpet->timer[n].msireg & 0xffffffff);
sys/amd64/vmm/io/vhpet.c
238
pin = vhpet_timer_ioapic_pin(vhpet, n);
sys/amd64/vmm/io/vhpet.c
240
VM_CTR1(vhpet->vm, "hpet t%d intr is not routed to ioapic", n);
sys/amd64/vmm/io/vhpet.c
244
if (vhpet_timer_edge_trig(vhpet, n)) {
sys/amd64/vmm/io/vhpet.c
247
vhpet->isr |= 1 << n;
sys/amd64/vmm/io/vhpet.c
253
vhpet_adjust_compval(struct vhpet *vhpet, int n, uint32_t counter)
sys/amd64/vmm/io/vhpet.c
257
KASSERT(vhpet->timer[n].comprate != 0, ("hpet t%d is not periodic", n));
sys/amd64/vmm/io/vhpet.c
259
compval = vhpet->timer[n].compval;
sys/amd64/vmm/io/vhpet.c
260
comprate = vhpet->timer[n].comprate;
sys/amd64/vmm/io/vhpet.c
275
vhpet->timer[n].compval = compnext;
sys/amd64/vmm/io/vhpet.c
281
int n;
sys/amd64/vmm/io/vhpet.c
290
n = arg->timer_num;
sys/amd64/vmm/io/vhpet.c
291
callout = &vhpet->timer[n].callout;
sys/amd64/vmm/io/vhpet.c
293
VM_CTR1(vhpet->vm, "hpet t%d fired", n);
sys/amd64/vmm/io/vhpet.c
309
vhpet_start_timer(vhpet, n, counter, now);
sys/amd64/vmm/io/vhpet.c
310
vhpet_timer_interrupt(vhpet, n);
sys/amd64/vmm/io/vhpet.c
317
vhpet_stop_timer(struct vhpet *vhpet, int n, sbintime_t now)
sys/amd64/vmm/io/vhpet.c
320
VM_CTR1(vhpet->vm, "hpet t%d stopped", n);
sys/amd64/vmm/io/vhpet.c
321
callout_stop(&vhpet->timer[n].callout);
sys/amd64/vmm/io/vhpet.c
330
if (vhpet->timer[n].callout_sbt < now) {
sys/amd64/vmm/io/vhpet.c
332
"stopping timer", n);
sys/amd64/vmm/io/vhpet.c
333
vhpet_timer_interrupt(vhpet, n);
sys/amd64/vmm/io/vhpet.c
338
vhpet_start_timer(struct vhpet *vhpet, int n, uint32_t counter, sbintime_t now)
sys/amd64/vmm/io/vhpet.c
342
if (vhpet->timer[n].comprate != 0)
sys/amd64/vmm/io/vhpet.c
343
vhpet_adjust_compval(vhpet, n, counter);
sys/amd64/vmm/io/vhpet.c
353
delta = (vhpet->timer[n].compval - counter) * vhpet->freq_sbt;
sys/amd64/vmm/io/vhpet.c
355
vhpet->timer[n].callout_sbt = now + delta;
sys/amd64/vmm/io/vhpet.c
356
callout_reset_sbt(&vhpet->timer[n].callout, vhpet->timer[n].callout_sbt,
sys/amd64/vmm/io/vhpet.c
357
precision, vhpet_handler, &vhpet->timer[n].arg, C_ABSOLUTE);
sys/amd64/vmm/io/vhpet.c
395
vhpet_timer_update_config(struct vhpet *vhpet, int n, uint64_t data,
sys/amd64/vmm/io/vhpet.c
403
if (vhpet_timer_msi_enabled(vhpet, n) ||
sys/amd64/vmm/io/vhpet.c
404
vhpet_timer_edge_trig(vhpet, n)) {
sys/amd64/vmm/io/vhpet.c
405
if (vhpet->isr & (1 << n))
sys/amd64/vmm/io/vhpet.c
406
panic("vhpet timer %d isr should not be asserted", n);
sys/amd64/vmm/io/vhpet.c
408
old_pin = vhpet_timer_ioapic_pin(vhpet, n);
sys/amd64/vmm/io/vhpet.c
409
oldval = vhpet->timer[n].cap_config;
sys/amd64/vmm/io/vhpet.c
419
vhpet->timer[n].cap_config = newval;
sys/amd64/vmm/io/vhpet.c
420
VM_CTR2(vhpet->vm, "hpet t%d cap_config set to 0x%016x", n, newval);
sys/amd64/vmm/io/vhpet.c
427
allowed_irqs = vhpet->timer[n].cap_config >> 32;
sys/amd64/vmm/io/vhpet.c
428
new_pin = vhpet_timer_ioapic_pin(vhpet, n);
sys/amd64/vmm/io/vhpet.c
431
"allowed_irqs 0x%08x", n, new_pin, allowed_irqs);
sys/amd64/vmm/io/vhpet.c
433
vhpet->timer[n].cap_config &= ~HPET_TCNF_INT_ROUTE;
sys/amd64/vmm/io/vhpet.c
436
if (!vhpet_periodic_timer(vhpet, n))
sys/amd64/vmm/io/vhpet.c
437
vhpet->timer[n].comprate = 0;
sys/amd64/vmm/io/vhpet.c
448
if (vhpet->isr & (1 << n)) {
sys/amd64/vmm/io/vhpet.c
450
n, old_pin));
sys/amd64/vmm/io/vhpet.c
451
if (!vhpet_timer_interrupt_enabled(vhpet, n))
sys/amd64/vmm/io/vhpet.c
453
else if (vhpet_timer_msi_enabled(vhpet, n))
sys/amd64/vmm/io/vhpet.c
455
else if (vhpet_timer_edge_trig(vhpet, n))
sys/amd64/vmm/io/vhpet.c
457
else if (vhpet_timer_ioapic_pin(vhpet, n) != old_pin)
sys/amd64/vmm/io/vhpet.c
464
"configuration change", n);
sys/amd64/vmm/io/vhpet.c
466
vhpet->isr &= ~(1 << n);
sys/amd64/vmm/io/vhpet.c
99
static void vhpet_start_timer(struct vhpet *vhpet, int n, uint32_t counter,
sys/amd64/vmm/vmm.c
1621
int b, f, i, n, s;
sys/amd64/vmm/vmm.c
1644
n = sscanf(cp, "%d/%d/%d", &b, &s, &f);
sys/amd64/vmm/vmm.c
1645
if (n == 3 && bus == b && slot == s && func == f) {
sys/amd64/vmm/vmm.c
1842
size_t n, off, remaining;
sys/amd64/vmm/vmm.c
1857
n = min(remaining, PAGE_SIZE - off);
sys/amd64/vmm/vmm.c
1859
copyinfo[nused].len = n;
sys/amd64/vmm/vmm.c
1860
remaining -= n;
sys/amd64/vmm/vmm.c
1861
gla += n;
sys/amd64/vmm/vmm_instruction_emul.c
2689
int n, i;
sys/amd64/vmm/vmm_instruction_emul.c
2698
if ((n = vie->disp_bytes) == 0)
sys/amd64/vmm/vmm_instruction_emul.c
2701
if (n != 1 && n != 4)
sys/amd64/vmm/vmm_instruction_emul.c
2702
panic("decode_displacement: invalid disp_bytes %d", n);
sys/amd64/vmm/vmm_instruction_emul.c
2704
for (i = 0; i < n; i++) {
sys/amd64/vmm/vmm_instruction_emul.c
2712
if (n == 1)
sys/amd64/vmm/vmm_instruction_emul.c
2723
int i, n;
sys/amd64/vmm/vmm_instruction_emul.c
2749
if ((n = vie->imm_bytes) == 0)
sys/amd64/vmm/vmm_instruction_emul.c
2752
KASSERT(n == 1 || n == 2 || n == 4,
sys/amd64/vmm/vmm_instruction_emul.c
2753
("%s: invalid number of immediate bytes: %d", __func__, n));
sys/amd64/vmm/vmm_instruction_emul.c
2755
for (i = 0; i < n; i++) {
sys/amd64/vmm/vmm_instruction_emul.c
2764
if (n == 1)
sys/amd64/vmm/vmm_instruction_emul.c
2766
else if (n == 2)
sys/amd64/vmm/vmm_instruction_emul.c
2777
int i, n;
sys/amd64/vmm/vmm_instruction_emul.c
2791
n = vie->addrsize;
sys/amd64/vmm/vmm_instruction_emul.c
2792
KASSERT(n == 2 || n == 4 || n == 8, ("invalid moffset bytes: %d", n));
sys/amd64/vmm/vmm_instruction_emul.c
2795
for (i = 0; i < n; i++) {
sys/arm/allwinner/a10_dmac.h
33
#define AWIN_NDMA_REG(n) (0x100+0x20*(n))
sys/arm/allwinner/a10_dmac.h
38
#define AWIN_DDMA_REG(n) (0x300+0x20*(n))
sys/arm/allwinner/a10_dmac.h
47
#define AWIN_DMA_IRQ_DDMA_END(n) (1U << (17+2*(n)))
sys/arm/allwinner/a10_dmac.h
48
#define AWIN_DMA_IRQ_DDMA_HF(n) (1U << (16+2*(n)))
sys/arm/allwinner/a10_dmac.h
50
#define AWIN_DMA_IRQ_NDMA_END(n) (1U << (1+2*(n)))
sys/arm/allwinner/a10_dmac.h
51
#define AWIN_DMA_IRQ_NDMA_HF(n) (1U << (0+2*(n)))
sys/arm/allwinner/a31_dmac.c
63
#define DMA_EN_REG(n) (0x100 + (n) * 0x40 + 0x00)
sys/arm/allwinner/a31_dmac.c
65
#define DMA_PAU_REG(n) (0x100 + (n) * 0x40 + 0x04)
sys/arm/allwinner/a31_dmac.c
66
#define DMA_STAR_ADDR_REG(n) (0x100 + (n) * 0x40 + 0x08)
sys/arm/allwinner/a31_dmac.c
67
#define DMA_CFG_REG(n) (0x100 + (n) * 0x40 + 0x0c)
sys/arm/allwinner/a31_dmac.c
94
#define DMA_CUR_SRC_REG(n) (0x100 + (n) * 0x40 + 0x10)
sys/arm/allwinner/a31_dmac.c
95
#define DMA_CUR_DEST_REG(n) (0x100 + (n) * 0x40 + 0x14)
sys/arm/allwinner/a31_dmac.c
96
#define DMA_BCNT_LEFT_REG(n) (0x100 + (n) * 0x40 + 0x18)
sys/arm/allwinner/a31_dmac.c
97
#define DMA_PARA_REG(n) (0x100 + (n) * 0x40 + 0x1c)
sys/arm/allwinner/a33_codec.c
109
#define HMIC_CTRL1_N(n) (((n) & 0xf) << 8)
sys/arm/allwinner/a64/sun50i_a64_acodec.c
59
#define A64_AC_PR_ADDR(n) (((n) & 0x1f) << 16)
sys/arm/allwinner/a64/sun50i_a64_acodec.c
61
#define A64_ACDA_PR_WDAT(n) (((n) & 0xff) << 8)
sys/arm/allwinner/a64/sun50i_a64_acodec.c
62
#define A64_ACDA_PR_RDAT(n) ((n) & 0xff)
sys/arm/allwinner/a64/sun50i_a64_acodec.c
67
#define A64_HPVOL(n) ((n) & 0x3f)
sys/arm/allwinner/a64/sun50i_a64_acodec.c
85
#define A64_MIC2G(n) (((n) & 7) << 4)
sys/arm/allwinner/a64/sun50i_a64_acodec.c
88
#define A64_MIC2BOOST(n) (((n) & 7) << 0)
sys/arm/allwinner/aw_i2s.c
109
#define DA_CLKD_BCLKDIV_SUN8I(n) (((n) & 0xf) << 4)
sys/arm/allwinner/aw_i2s.c
111
#define DA_CLKD_BCLKDIV_SUN4I(n) (((n) & 7) << 4)
sys/arm/allwinner/aw_i2s.c
115
#define DA_CLKD_MCLKDIV(n) (((n) & 0xff) << 0)
sys/arm/allwinner/aw_i2s.c
124
#define DA_CHCFG_RX_SLOT_NUM(n) (((n) & 7) << 4)
sys/arm/allwinner/aw_i2s.c
126
#define DA_CHCFG_TX_SLOT_NUM(n) (((n) & 7) << 0)
sys/arm/allwinner/aw_i2s.c
128
#define DA_CHSEL_OFFSET(n) (((n) & 3) << 12) /* sun8i */
sys/arm/allwinner/aw_i2s.c
130
#define DA_CHSEL_EN(n) (((n) & 0xff) << 4)
sys/arm/allwinner/aw_i2s.c
132
#define DA_CHSEL_SEL(n) (((n) & 7) << 0)
sys/arm/allwinner/aw_i2s.c
248
u_int n;
sys/arm/allwinner/aw_i2s.c
250
for (n = 0; n < divmaplen; n++)
sys/arm/allwinner/aw_i2s.c
251
if (divmap[n] == div)
sys/arm/allwinner/aw_i2s.c
252
return n;
sys/arm/allwinner/aw_i2s.c
70
#define DA_FAT0_LRCK_PERIOD(n) (((n) & 0x3fff) << 8) /* sun8i */
sys/arm/allwinner/aw_rsb.c
191
u_int n;
sys/arm/allwinner/aw_rsb.c
194
for (n = off; n < MIN(len, 4 + off); n++)
sys/arm/allwinner/aw_rsb.c
195
val |= ((uint32_t)buf[n] << ((n - off) * NBBY));
sys/arm/allwinner/aw_rsb.c
203
u_int n;
sys/arm/allwinner/aw_rsb.c
205
for (n = off; n < MIN(len, 4 + off); n++)
sys/arm/allwinner/aw_rsb.c
206
buf[n] = (val >> ((n - off) * NBBY)) & 0xff;
sys/arm/allwinner/aw_sid.c
56
#define SID_PRCTL_OFFSET(n) (((n) & SID_PRCTL_OFFSET_MASK) << 16)
sys/arm/allwinner/if_awg.c
1788
unsigned int n;
sys/arm/allwinner/if_awg.c
1792
for (n = 0; n < nitems(regs); n++)
sys/arm/allwinner/if_awg.c
1793
device_printf(dev, " %-20s %08x\n", regs[n].name,
sys/arm/allwinner/if_awg.c
1794
RD4(sc, regs[n].reg));
sys/arm/allwinner/if_awg.c
85
#define DESC_OFF(n) ((n) * sizeof(struct emac_desc))
sys/arm/allwinner/if_awg.c
86
#define TX_NEXT(n) (((n) + 1) & (TX_DESC_COUNT - 1))
sys/arm/allwinner/if_awg.c
87
#define TX_SKIP(n, o) (((n) + (o)) & (TX_DESC_COUNT - 1))
sys/arm/allwinner/if_awg.c
88
#define RX_NEXT(n) (((n) + 1) & (RX_DESC_COUNT - 1))
sys/arm/allwinner/if_awgreg.h
113
#define EMAC_ADDR_HIGH(n) (0x50 + (n) * 8)
sys/arm/allwinner/if_awgreg.h
114
#define EMAC_ADDR_LOW(n) (0x54 + (n) * 8)
sys/arm/arm/debug_monitor.c
208
dbg_wb_read_reg(int reg, int n)
sys/arm/arm/debug_monitor.c
214
switch (reg + n) {
sys/arm/arm/debug_monitor.c
229
dbg_wb_write_reg(int reg, int n, uint32_t val)
sys/arm/arm/debug_monitor.c
232
switch (reg + n) {
sys/arm/arm/gic_common.h
100
#define GICD_ICFGR(n) (0x0C00 + (((n) >> 4) * 4)) /* v1 ICDICFR */
sys/arm/arm/gic_common.h
69
#define GICD_TYPER_I_NUM(n) ((((n) & 0x1F) + 1) * 32)
sys/arm/arm/gic_common.h
87
#define GICD_IGROUPR(n) (0x0080 + (((n) >> 5) * 4)) /* v1 ICDISER */
sys/arm/arm/gic_common.h
89
#define GICD_ISENABLER(n) (0x0100 + (((n) >> 5) * 4)) /* v1 ICDISER */
sys/arm/arm/gic_common.h
90
#define GICD_I_MASK(n) (1ul << ((n) & 0x1f))
sys/arm/arm/gic_common.h
92
#define GICD_ICENABLER(n) (0x0180 + (((n) >> 5) * 4)) /* v1 ICDICER */
sys/arm/arm/gic_common.h
93
#define GICD_ISPENDR(n) (0x0200 + (((n) >> 5) * 4)) /* v1 ICDISPR */
sys/arm/arm/gic_common.h
94
#define GICD_ICPENDR(n) (0x0280 + (((n) >> 5) * 4)) /* v1 ICDICPR */
sys/arm/arm/gic_common.h
95
#define GICD_ISACTIVER(n) (0x0300 + (((n) >> 5) * 4)) /* v1 ICDABR */
sys/arm/arm/gic_common.h
96
#define GICD_ICACTIVER(n) (0x0380 + (((n) >> 5) * 4))
sys/arm/arm/gic_common.h
97
#define GICD_IPRIORITYR(n) (0x0400 + (((n) >> 2) * 4)) /* v1 ICDIPR */
sys/arm/arm/gic_common.h
99
#define GICD_ITARGETSR(n) (0x0800 + (((n) >> 2) * 4)) /* v1 ICDIPTR */
sys/arm/arm/pmap-v6.c
1203
#define SYSMAP(c, p, v, n) do { \
sys/arm/arm/pmap-v6.c
1204
v = (c)pmap_preboot_reserve_pages(n); \
sys/arm/arm/uio_machdep.c
101
n -= cnt;
sys/arm/arm/uio_machdep.c
57
uiomove_fromphys(vm_page_t ma[], vm_offset_t offset, int n, struct uio *uio)
sys/arm/arm/uio_machdep.c
75
while (n > 0 && uio->uio_resid) {
sys/arm/arm/uio_machdep.c
86
if (cnt > n)
sys/arm/arm/uio_machdep.c
87
cnt = n;
sys/arm/broadcom/bcm2835/bcm2835_dma.c
101
#define BCM_DMA_CH(n) (0x100*(n))
sys/arm/broadcom/bcm2835/bcm2835_dma.c
61
#define BCM_DMA_CS(n) (0x100*(n) + 0x00)
sys/arm/broadcom/bcm2835/bcm2835_dma.c
74
#define BCM_DMA_CBADDR(n) (0x100*(n) + 0x04)
sys/arm/broadcom/bcm2835/bcm2835_dma.c
75
#define BCM_DMA_INFO(n) (0x100*(n) + 0x08)
sys/arm/broadcom/bcm2835/bcm2835_dma.c
89
#define BCM_DMA_SRC(n) (0x100*(n) + 0x0C)
sys/arm/broadcom/bcm2835/bcm2835_dma.c
90
#define BCM_DMA_DST(n) (0x100*(n) + 0x10)
sys/arm/broadcom/bcm2835/bcm2835_dma.c
91
#define BCM_DMA_LEN(n) (0x100*(n) + 0x14)
sys/arm/broadcom/bcm2835/bcm2835_dma.c
92
#define BCM_DMA_STRIDE(n) (0x100*(n) + 0x18)
sys/arm/broadcom/bcm2835/bcm2835_dma.c
93
#define BCM_DMA_CBNEXT(n) (0x100*(n) + 0x1C)
sys/arm/broadcom/bcm2835/bcm2835_dma.c
94
#define BCM_DMA_DEBUG(n) (0x100*(n) + 0x20)
sys/arm/broadcom/bcm2835/bcm2835_fb.c
431
char bootargs[2048], *n, *p, *v;
sys/arm/broadcom/bcm2835/bcm2835_fb.c
456
n = strsep(&v, "=");
sys/arm/broadcom/bcm2835/bcm2835_fb.c
457
if (strcmp(n, "bcm2708_fb.fbwidth") == 0 && v != NULL)
sys/arm/broadcom/bcm2835/bcm2835_fb.c
459
else if (strcmp(n, "bcm2708_fb.fbheight") == 0 &&
sys/arm/broadcom/bcm2835/bcm2835_fb.c
462
else if (strcmp(n, "bcm2708_fb.fbswap") == 0 &&
sys/arm/broadcom/bcm2835/bcm2835_fb.c
744
bcmfb_copy(video_adapter_t *adp, vm_offset_t src, vm_offset_t dst, int n)
sys/arm/broadcom/bcm2835/bcm2835_fbd.c
222
char bootargs[2048], *n, *p, *v;
sys/arm/broadcom/bcm2835/bcm2835_fbd.c
239
n = strsep(&v, "=");
sys/arm/broadcom/bcm2835/bcm2835_fbd.c
240
if (strcmp(n, "bcm2708_fb.fbswap") == 0 && v != NULL)
sys/arm/broadcom/bcm2835/bcm2835_ft5406.c
87
#define FT5406_POINT_XH(n) (0 + 3 + (n)*6)
sys/arm/broadcom/bcm2835/bcm2835_ft5406.c
88
#define FT5406_POINT_XL(n) (1 + 3 + (n)*6)
sys/arm/broadcom/bcm2835/bcm2835_ft5406.c
89
#define FT5406_POINT_YH(n) (2 + 3 + (n)*6)
sys/arm/broadcom/bcm2835/bcm2835_ft5406.c
90
#define FT5406_POINT_YL(n) (3 + 3 + (n)*6)
sys/arm/broadcom/bcm2835/bcm2835_ft5406.c
94
#define GET_X(buf, n) (((buf[FT5406_POINT_XH(n)] & 0xf) << 8) | \
sys/arm/broadcom/bcm2835/bcm2835_ft5406.c
95
(buf[FT5406_POINT_XL(n)]))
sys/arm/broadcom/bcm2835/bcm2835_ft5406.c
96
#define GET_Y(buf, n) (((buf[FT5406_POINT_YH(n)] & 0xf) << 8) | \
sys/arm/broadcom/bcm2835/bcm2835_ft5406.c
97
(buf[FT5406_POINT_YL(n)]))
sys/arm/broadcom/bcm2835/bcm2835_ft5406.c
98
#define GET_TOUCH_ID(buf, n) ((buf[FT5406_POINT_YH(n)] >> 4) & 0xf)
sys/arm/broadcom/bcm2835/bcm2835_gpio.c
165
#define BCM2711_GPIO_SHIFT(n) (((n) % 16) * 2)
sys/arm/broadcom/bcm2835/bcm2835_gpio.c
166
#define BCM2711_GPIO_REGID(n) ((n) / 16)
sys/arm/broadcom/bcm2835/bcm2835_intr.c
101
#define IS_IRQ_BASIC(n) (((n) >= 0) && ((n) < BANK1_START))
sys/arm/broadcom/bcm2835/bcm2835_intr.c
102
#define IS_IRQ_BANK1(n) (((n) >= BANK1_START) && ((n) <= BANK1_END))
sys/arm/broadcom/bcm2835/bcm2835_intr.c
103
#define IS_IRQ_BANK2(n) (((n) >= BANK2_START) && ((n) <= BANK2_END))
sys/arm/broadcom/bcm2835/bcm2835_intr.c
104
#define IRQ_BANK1(n) ((n) - BANK1_START)
sys/arm/broadcom/bcm2835/bcm2835_intr.c
105
#define IRQ_BANK2(n) ((n) - BANK2_START)
sys/arm/broadcom/bcm2835/bcm2836.c
63
#define BCM_LINTC_TIMER_CFG_REG(n) (0x40 + (n) * 4)
sys/arm/broadcom/bcm2835/bcm2836.c
64
#define BCM_LINTC_MBOX_CFG_REG(n) (0x50 + (n) * 4)
sys/arm/broadcom/bcm2835/bcm2836.c
65
#define BCM_LINTC_PENDING_REG(n) (0x60 + (n) * 4)
sys/arm/broadcom/bcm2835/bcm2836.c
66
#define BCM_LINTC_MBOX0_SET_REG(n) (0x80 + (n) * 16)
sys/arm/broadcom/bcm2835/bcm2836.c
67
#define BCM_LINTC_MBOX1_SET_REG(n) (0x84 + (n) * 16)
sys/arm/broadcom/bcm2835/bcm2836.c
68
#define BCM_LINTC_MBOX2_SET_REG(n) (0x88 + (n) * 16)
sys/arm/broadcom/bcm2835/bcm2836.c
69
#define BCM_LINTC_MBOX3_SET_REG(n) (0x8C + (n) * 16)
sys/arm/broadcom/bcm2835/bcm2836.c
70
#define BCM_LINTC_MBOX0_CLR_REG(n) (0xC0 + (n) * 16)
sys/arm/broadcom/bcm2835/bcm2836.c
71
#define BCM_LINTC_MBOX1_CLR_REG(n) (0xC4 + (n) * 16)
sys/arm/broadcom/bcm2835/bcm2836.c
72
#define BCM_LINTC_MBOX2_CLR_REG(n) (0xC8 + (n) * 16)
sys/arm/broadcom/bcm2835/bcm2836.c
73
#define BCM_LINTC_MBOX3_CLR_REG(n) (0xCC + (n) * 16)
sys/arm/broadcom/bcm2835/bcm2836.c
79
#define BCM_LINTC_GIRR_IRQ_CORE(n) (n)
sys/arm/broadcom/bcm2835/bcm2836.c
80
#define BCM_LINTC_GIRR_FIQ_CORE(n) ((n) << 2)
sys/arm/broadcom/bcm2835/bcm2836.c
83
#define BCM_LINTC_PIRR_IRQ_EN_CORE(n) (1 << (n))
sys/arm/broadcom/bcm2835/bcm2836.c
84
#define BCM_LINTC_PIRR_FIQ_EN_CORE(n) (1 << ((n) + 4))
sys/arm/broadcom/bcm2835/bcm2836.c
87
#define BCM_LINTC_TCR_IRQ_EN_TIMER(n) (1 << (n))
sys/arm/broadcom/bcm2835/bcm2836.c
88
#define BCM_LINTC_TCR_FIQ_EN_TIMER(n) (1 << ((n) + 4))
sys/arm/broadcom/bcm2835/bcm2836.c
91
#define BCM_LINTC_MCR_IRQ_EN_MBOX(n) (1 << (n))
sys/arm/broadcom/bcm2835/bcm2836.c
92
#define BCM_LINTC_MCR_FIQ_EN_MBOX(n) (1 << ((n) + 4))
sys/arm/broadcom/bcm2835/bcm2836_mp.c
62
#define MBOXINTRCTRL_CORE(n) (0x00000050 + (0x04 * (n)))
sys/arm/broadcom/bcm2835/bcm2836_mp.c
63
#define MBOX0SET_CORE(n) (0x00000080 + (0x10 * (n)))
sys/arm/broadcom/bcm2835/bcm2836_mp.c
64
#define MBOX1SET_CORE(n) (0x00000084 + (0x10 * (n)))
sys/arm/broadcom/bcm2835/bcm2836_mp.c
65
#define MBOX2SET_CORE(n) (0x00000088 + (0x10 * (n)))
sys/arm/broadcom/bcm2835/bcm2836_mp.c
66
#define MBOX3SET_CORE(n) (0x0000008C + (0x10 * (n)))
sys/arm/broadcom/bcm2835/bcm2836_mp.c
67
#define MBOX0CLR_CORE(n) (0x000000C0 + (0x10 * (n)))
sys/arm/broadcom/bcm2835/bcm2836_mp.c
68
#define MBOX1CLR_CORE(n) (0x000000C4 + (0x10 * (n)))
sys/arm/broadcom/bcm2835/bcm2836_mp.c
69
#define MBOX2CLR_CORE(n) (0x000000C8 + (0x10 * (n)))
sys/arm/broadcom/bcm2835/bcm2836_mp.c
70
#define MBOX3CLR_CORE(n) (0x000000CC + (0x10 * (n)))
sys/arm/freescale/imx/imx6_audmux.c
57
#define AUDMUX_PTCR(n) (0x8 * (n - 1)) /* Port Timing Control Register */
sys/arm/freescale/imx/imx6_audmux.c
66
#define AUDMUX_PDCR(n) (0x8 * (n - 1) + 0x4) /* Port Data Control Reg */
sys/arm/freescale/imx/imx6_audmux.c
69
#define PDCR_RXDSEL_PORT(n) (n - 1)
sys/arm/freescale/imx/imx6_ipu.c
1079
int n;
sys/arm/freescale/imx/imx6_ipu.c
1097
for (n = 0; n < ei->edid_nmodes; n++)
sys/arm/freescale/imx/imx6_ipu.c
1098
if (ipu_mode_is_valid(&m[n])) {
sys/arm/freescale/imx/imx6_ipu.c
1099
videomode = &m[n];
sys/arm/freescale/imx/imx6_sdma.h
54
#define SDMAARM_SDMA_CHNPRI(n) (0x100 + 0x4 * n) /* Channel Priority Registers */
sys/arm/freescale/imx/imx6_sdma.h
55
#define SDMAARM_CHNENBL(n) (0x200 + 0x4 * n) /* Channel Enable RAM */
sys/arm/freescale/imx/imx_iomuxreg.h
33
#define IMX_IOMUXREG_BIT(n) (1 << (n))
sys/arm/freescale/imx/imx_iomuxreg.h
48
#define IOMUX_GPR13_SATA_PHY_8(n) IMX_IOMUXREG_SHIFTIN(n, IMX_IOMUXREG_BITS(26, 24))
sys/arm/freescale/imx/imx_iomuxreg.h
49
#define IOMUX_GPR13_SATA_PHY_7(n) IMX_IOMUXREG_SHIFTIN(n, IMX_IOMUXREG_BITS(23, 19))
sys/arm/freescale/imx/imx_iomuxreg.h
50
#define IOMUX_GPR13_SATA_PHY_6(n) IMX_IOMUXREG_SHIFTIN(n, IMX_IOMUXREG_BITS(18, 16))
sys/arm/freescale/imx/imx_iomuxreg.h
51
#define IOMUX_GPR13_SATA_SPEED(n) IMX_IOMUXREG_SHIFTIN(n, (1 << 15))
sys/arm/freescale/imx/imx_iomuxreg.h
52
#define IOMUX_GPR13_SATA_PHY_5(n) IMX_IOMUXREG_SHIFTIN(n, (1 << 14))
sys/arm/freescale/imx/imx_iomuxreg.h
53
#define IOMUX_GPR13_SATA_PHY_4(n) IMX_IOMUXREG_SHIFTIN(n, IMX_IOMUXREG_BITS(13, 11))
sys/arm/freescale/imx/imx_iomuxreg.h
54
#define IOMUX_GPR13_SATA_PHY_3(n) IMX_IOMUXREG_SHIFTIN(n, IMX_IOMUXREG_BITS(10, 7))
sys/arm/freescale/imx/imx_iomuxreg.h
55
#define IOMUX_GPR13_SATA_PHY_2(n) IMX_IOMUXREG_SHIFTIN(n, IMX_IOMUXREG_BITS(6, 2))
sys/arm/freescale/imx/imx_iomuxreg.h
56
#define IOMUX_GPR13_SATA_PHY_1(n) IMX_IOMUXREG_SHIFTIN(n, (1 << 1))
sys/arm/freescale/imx/imx_iomuxreg.h
57
#define IOMUX_GPR13_SATA_PHY_0(n) IMX_IOMUXREG_SHIFTIN(n, (1 << 0))
sys/arm/freescale/vybrid/vf_anadig.c
83
#define USB_VBUS_DETECT(n) (0x1A0 + 0x60 * n)
sys/arm/freescale/vybrid/vf_anadig.c
84
#define USB_CHRG_DETECT(n) (0x1B0 + 0x60 * n)
sys/arm/freescale/vybrid/vf_anadig.c
85
#define USB_VBUS_DETECT_STATUS(n) (0x1C0 + 0x60 * n)
sys/arm/freescale/vybrid/vf_anadig.c
86
#define USB_CHRG_DETECT_STATUS(n) (0x1D0 + 0x60 * n)
sys/arm/freescale/vybrid/vf_anadig.c
87
#define USB_LOOPBACK(n) (0x1E0 + 0x60 * n)
sys/arm/freescale/vybrid/vf_anadig.c
88
#define USB_MISC(n) (0x1F0 + 0x60 * n)
sys/arm/freescale/vybrid/vf_ccm.c
73
#define CCM_CCGR(n) (0x40 + (n * 0x04)) /* Clock Gating Register */
sys/arm/freescale/vybrid/vf_ccm.c
74
#define CCM_CMEOR(n) (0x70 + (n * 0x70)) /* Module Enable Override */
sys/arm/freescale/vybrid/vf_ccm.c
75
#define CCM_CCPGR(n) (0x90 + (n * 0x04)) /* Platform Clock Gating */
sys/arm/freescale/vybrid/vf_dcu4.c
157
#define DCU_CTRLDESCL(n, m) 0x200 + (0x40 * n) + 0x4 * (m - 1)
sys/arm/freescale/vybrid/vf_dcu4.c
158
#define DCU_CTRLDESCLn_1(n) DCU_CTRLDESCL(n, 1)
sys/arm/freescale/vybrid/vf_dcu4.c
159
#define DCU_CTRLDESCLn_2(n) DCU_CTRLDESCL(n, 2)
sys/arm/freescale/vybrid/vf_dcu4.c
160
#define DCU_CTRLDESCLn_3(n) DCU_CTRLDESCL(n, 3)
sys/arm/freescale/vybrid/vf_dcu4.c
162
#define DCU_CTRLDESCLn_4(n) DCU_CTRLDESCL(n, 4)
sys/arm/freescale/vybrid/vf_dcu4.c
167
#define DCU_CTRLDESCLn_5(n) DCU_CTRLDESCL(n, 5)
sys/arm/freescale/vybrid/vf_dcu4.c
168
#define DCU_CTRLDESCLn_6(n) DCU_CTRLDESCL(n, 6)
sys/arm/freescale/vybrid/vf_dcu4.c
169
#define DCU_CTRLDESCLn_7(n) DCU_CTRLDESCL(n, 7)
sys/arm/freescale/vybrid/vf_dcu4.c
170
#define DCU_CTRLDESCLn_8(n) DCU_CTRLDESCL(n, 8)
sys/arm/freescale/vybrid/vf_dcu4.c
171
#define DCU_CTRLDESCLn_9(n) DCU_CTRLDESCL(n, 9)
sys/arm/freescale/vybrid/vf_dmamux.c
56
#define DMAMUX_CHCFG(n) (0x1 * n) /* Channels 0-15 Cfg Reg */
sys/arm/freescale/vybrid/vf_edma.h
80
#define DMA_TCDn_SADDR(n) (0x00 + 0x20 * n) /* Source Address */
sys/arm/freescale/vybrid/vf_edma.h
81
#define DMA_TCDn_SOFF(n) (0x04 + 0x20 * n) /* Signed Source Address Offset */
sys/arm/freescale/vybrid/vf_edma.h
82
#define DMA_TCDn_ATTR(n) (0x06 + 0x20 * n) /* Transfer Attributes */
sys/arm/freescale/vybrid/vf_edma.h
83
#define DMA_TCDn_NBYTES_MLNO(n) (0x08 + 0x20 * n) /* Minor Byte Count */
sys/arm/freescale/vybrid/vf_edma.h
84
#define DMA_TCDn_NBYTES_MLOFFNO(n) (0x08 + 0x20 * n) /* Signed Minor Loop Offset */
sys/arm/freescale/vybrid/vf_edma.h
85
#define DMA_TCDn_NBYTES_MLOFFYES(n) (0x08 + 0x20 * n) /* Signed Minor Loop Offset */
sys/arm/freescale/vybrid/vf_edma.h
86
#define DMA_TCDn_SLAST(n) (0x0C + 0x20 * n) /* Last Source Address Adjustment */
sys/arm/freescale/vybrid/vf_edma.h
87
#define DMA_TCDn_DADDR(n) (0x10 + 0x20 * n) /* Destination Address */
sys/arm/freescale/vybrid/vf_edma.h
88
#define DMA_TCDn_DOFF(n) (0x14 + 0x20 * n) /* Signed Destination Address Offset */
sys/arm/freescale/vybrid/vf_edma.h
89
#define DMA_TCDn_CITER_ELINKYES(n) (0x16 + 0x20 * n) /* Current Minor Loop Link, Major Loop Count */
sys/arm/freescale/vybrid/vf_edma.h
90
#define DMA_TCDn_CITER_ELINKNO(n) (0x16 + 0x20 * n)
sys/arm/freescale/vybrid/vf_edma.h
91
#define DMA_TCDn_DLASTSGA(n) (0x18 + 0x20 * n) /* Last Dst Addr Adjustment/Scatter Gather Address */
sys/arm/freescale/vybrid/vf_edma.h
92
#define DMA_TCDn_CSR(n) (0x1C + 0x20 * n) /* Control and Status */
sys/arm/freescale/vybrid/vf_edma.h
93
#define DMA_TCDn_BITER_ELINKYES(n) (0x1E + 0x20 * n) /* Beginning Minor Loop Link, Major Loop Count */
sys/arm/freescale/vybrid/vf_edma.h
94
#define DMA_TCDn_BITER_ELINKNO(n) (0x1E + 0x20 * n) /* Beginning Minor Loop Link, Major Loop Count */
sys/arm/freescale/vybrid/vf_gpio.c
61
#define GPIO_PDOR(n) (0x00 + 0x40 * (n >> 5))
sys/arm/freescale/vybrid/vf_gpio.c
62
#define GPIO_PSOR(n) (0x04 + 0x40 * (n >> 5))
sys/arm/freescale/vybrid/vf_gpio.c
63
#define GPIO_PCOR(n) (0x08 + 0x40 * (n >> 5))
sys/arm/freescale/vybrid/vf_gpio.c
64
#define GPIO_PTOR(n) (0x0C + 0x40 * (n >> 5))
sys/arm/freescale/vybrid/vf_gpio.c
65
#define GPIO_PDIR(n) (0x10 + 0x40 * (n >> 5))
sys/arm/freescale/vybrid/vf_iomuxc.h
29
#define IOMUXC(n) (n * 0x04)
sys/arm/freescale/vybrid/vf_mscm.c
58
#define MSCM_IRSPRC(n) (0x880 + 2 * n)
sys/arm/freescale/vybrid/vf_port.c
57
#define PORT_PCR(n) (0x1000 * (n >> 5) + 0x4 * (n % 32))
sys/arm/mv/mpic.c
98
#define MPIC_CPU(n) (n) * 0x100
sys/arm/mv/mv_pci.c
658
uint32_t n = bit / BITS_PER_UINT32;
sys/arm/mv/mv_pci.c
661
return (map[n] & (1 << bit));
sys/arm/mv/mv_pci.c
667
uint32_t n = bit / BITS_PER_UINT32;
sys/arm/mv/mv_pci.c
670
map[n] |= (1 << bit);
sys/arm/mv/mvreg.h
224
#define GPIO(n) (1 << (n))
sys/arm/mv/mvreg.h
278
#define CPU_CONTROL_PCIE_DISABLE(n) (1 << (3 * (n)))
sys/arm/mv/mvreg.h
42
#define ENDPOINT_IRQ_MASK(n) 0xC
sys/arm/mv/mvreg.h
46
#define ENDPOINT_IRQ_MASK_HI(n) 0x1C
sys/arm/mv/mvreg.h
47
#define ENDPOINT_IRQ_MASK_ERROR(n) (-1)
sys/arm/mv/mvwin.h
117
#define MV_WIN_CPU_CTRL_ARMV7(n) (((n) < 8) ? 0x10 * (n) : 0x90 + (0x8 * ((n) - 8)))
sys/arm/mv/mvwin.h
118
#define MV_WIN_CPU_BASE_ARMV7(n) ((((n) < 8) ? 0x10 * (n) : 0x90 + (0x8 * ((n) - 8))) + 0x4)
sys/arm/mv/mvwin.h
119
#define MV_WIN_CPU_REMAP_LO_ARMV7(n) (0x10 * (n) + 0x008)
sys/arm/mv/mvwin.h
120
#define MV_WIN_CPU_REMAP_HI_ARMV7(n) (0x10 * (n) + 0x00C)
sys/arm/mv/mvwin.h
122
#define MV_WIN_CPU_CTRL_ARMV5(n) (0x10 * (n) + (((n) < 8) ? 0x000 : 0x880))
sys/arm/mv/mvwin.h
123
#define MV_WIN_CPU_BASE_ARMV5(n) (0x10 * (n) + (((n) < 8) ? 0x004 : 0x884))
sys/arm/mv/mvwin.h
124
#define MV_WIN_CPU_REMAP_LO_ARMV5(n) (0x10 * (n) + (((n) < 8) ? 0x008 : 0x888))
sys/arm/mv/mvwin.h
125
#define MV_WIN_CPU_REMAP_HI_ARMV5(n) (0x10 * (n) + (((n) < 8) ? 0x00C : 0x88C))
sys/arm/mv/mvwin.h
134
#define MV_WIN_DDR_BASE(n) (0x8 * (n) + 0x0)
sys/arm/mv/mvwin.h
135
#define MV_WIN_DDR_SIZE(n) (0x8 * (n) + 0x4)
sys/arm/mv/mvwin.h
169
#define MV_WIN_CESA_CTRL(n) (0x8 * (n) + 0xA04)
sys/arm/mv/mvwin.h
170
#define MV_WIN_CESA_BASE(n) (0x8 * (n) + 0xA00)
sys/arm/mv/mvwin.h
173
#define MV_WIN_USB_CTRL(n) (0x10 * (n) + 0x320)
sys/arm/mv/mvwin.h
174
#define MV_WIN_USB_BASE(n) (0x10 * (n) + 0x324)
sys/arm/mv/mvwin.h
177
#define MV_WIN_USB3_CTRL(n) (0x8 * (n) + 0x4000)
sys/arm/mv/mvwin.h
178
#define MV_WIN_USB3_BASE(n) (0x8 * (n) + 0x4004)
sys/arm/mv/mvwin.h
182
#define MV_WIN_NETA_BASE(n) MV_WIN_ETH_BASE(n) + MV_WIN_NETA_OFFSET
sys/arm/mv/mvwin.h
186
#define MV_WIN_ETH_BASE(n) (0x8 * (n) + 0x200)
sys/arm/mv/mvwin.h
187
#define MV_WIN_ETH_SIZE(n) (0x8 * (n) + 0x204)
sys/arm/mv/mvwin.h
188
#define MV_WIN_ETH_REMAP(n) (0x4 * (n) + 0x280)
sys/arm/mv/mvwin.h
191
#define MV_WIN_IDMA_BASE(n) (0x8 * (n) + 0xa00)
sys/arm/mv/mvwin.h
192
#define MV_WIN_IDMA_SIZE(n) (0x8 * (n) + 0xa04)
sys/arm/mv/mvwin.h
193
#define MV_WIN_IDMA_REMAP(n) (0x4 * (n) + 0xa60)
sys/arm/mv/mvwin.h
194
#define MV_WIN_IDMA_CAP(n) (0x4 * (n) + 0xa70)
sys/arm/mv/mvwin.h
198
#define MV_WIN_XOR_BASE(n, m) (0x4 * (n) + 0xa50 + (m) * 0x100)
sys/arm/mv/mvwin.h
199
#define MV_WIN_XOR_SIZE(n, m) (0x4 * (n) + 0xa70 + (m) * 0x100)
sys/arm/mv/mvwin.h
200
#define MV_WIN_XOR_REMAP(n, m) (0x4 * (n) + 0xa90 + (m) * 0x100)
sys/arm/mv/mvwin.h
201
#define MV_WIN_XOR_CTRL(n, m) (0x4 * (n) + 0xa40 + (m) * 0x100)
sys/arm/mv/mvwin.h
202
#define MV_WIN_XOR_OVERR(n, m) (0x4 * (n) + 0xaa0 + (m) * 0x100)
sys/arm/mv/mvwin.h
207
#define MV_WIN_PCIE_TARGET_ARMADAXP(n) (4 + (4 * ((n) % 2)))
sys/arm/mv/mvwin.h
208
#define MV_WIN_PCIE_MEM_ATTR_ARMADAXP(n) (0xE8 + (0x10 * ((n) / 2)))
sys/arm/mv/mvwin.h
209
#define MV_WIN_PCIE_IO_ATTR_ARMADAXP(n) (0xE0 + (0x10 * ((n) / 2)))
sys/arm/mv/mvwin.h
210
#define MV_WIN_PCIE_TARGET_ARMADA38X(n) ((n) == 0 ? 8 : 4)
sys/arm/mv/mvwin.h
211
#define MV_WIN_PCIE_MEM_ATTR_ARMADA38X(n) ((n) < 2 ? 0xE8 : (0xD8 - (((n) % 2) * 0x20)))
sys/arm/mv/mvwin.h
212
#define MV_WIN_PCIE_IO_ATTR_ARMADA38X(n) ((n) < 2 ? 0xE0 : (0xD0 - (((n) % 2) * 0x20)))
sys/arm/mv/mvwin.h
213
#define MV_WIN_PCIE_TARGET(n) (4 + (4 * ((n) % 2)))
sys/arm/mv/mvwin.h
214
#define MV_WIN_PCIE_MEM_ATTR(n) (0xE8 + (0x10 * ((n) / 2)))
sys/arm/mv/mvwin.h
215
#define MV_WIN_PCIE_IO_ATTR(n) (0xE0 + (0x10 * ((n) / 2)))
sys/arm/mv/mvwin.h
221
#define MV_WIN_PCIE_CTRL(n) (0x10 * (((n) < 5) ? (n) : \
sys/arm/mv/mvwin.h
222
(n) + 1) + 0x1820)
sys/arm/mv/mvwin.h
223
#define MV_WIN_PCIE_BASE(n) (0x10 * (((n) < 5) ? (n) : \
sys/arm/mv/mvwin.h
224
(n) + 1) + 0x1824)
sys/arm/mv/mvwin.h
225
#define MV_WIN_PCIE_REMAP(n) (0x10 * (((n) < 5) ? (n) : \
sys/arm/mv/mvwin.h
226
(n) + 1) + 0x182C)
sys/arm/mv/mvwin.h
229
#define MV_PCIE_BAR_CTRL(n) (0x04 * (n) + 0x1800)
sys/arm/mv/mvwin.h
230
#define MV_PCIE_BAR_BASE(n) (0x08 * ((n) < 3 ? (n) : 4) + 0x0010)
sys/arm/mv/mvwin.h
231
#define MV_PCIE_BAR_BASE_H(n) (0x08 * (n) + 0x0014)
sys/arm/mv/mvwin.h
239
#define MV_WIN_SATA_CTRL_ARMADA38X(n) (0x10 * (n) + 0x60)
sys/arm/mv/mvwin.h
240
#define MV_WIN_SATA_BASE_ARMADA38X(n) (0x10 * (n) + 0x64)
sys/arm/mv/mvwin.h
241
#define MV_WIN_SATA_SIZE_ARMADA38X(n) (0x10 * (n) + 0x68)
sys/arm/mv/mvwin.h
243
#define MV_WIN_SATA_CTRL(n) (0x10 * (n) + 0x30)
sys/arm/mv/mvwin.h
244
#define MV_WIN_SATA_BASE(n) (0x10 * (n) + 0x34)
sys/arm/mv/mvwin.h
247
#define MV_WIN_SDHCI_CTRL(n) (0x8 * (n) + 0x4080)
sys/arm/mv/mvwin.h
248
#define MV_WIN_SDHCI_BASE(n) (0x8 * (n) + 0x4084)
sys/arm/nvidia/as3722_regulators.c
48
#define DIV_ROUND_UP(n,d) howmany(n, d)
sys/arm/nvidia/drm2/tegra_hdmi.c
451
int n;
sys/arm/nvidia/drm2/tegra_hdmi.c
477
for (n = min_n; n <= max_n; n++) {
sys/arm/nvidia/drm2/tegra_hdmi.c
479
cts_f *= n;
sys/arm/nvidia/drm2/tegra_hdmi.c
486
aval_f *= n;
sys/arm/nvidia/drm2/tegra_hdmi.c
490
better_n = abs(n - ideal_n) < abs((int)(*best_n) - ideal_n);
sys/arm/nvidia/drm2/tegra_hdmi.c
494
*best_n = (uint32_t)n;
sys/arm/nvidia/drm2/tegra_hdmi.c
498
if (err_f == 0 && n == ideal_n)
sys/arm/nvidia/tegra124/tegra124_clk_per.c
205
#define L(n) ((0 * 32) + (n))
sys/arm/nvidia/tegra124/tegra124_clk_per.c
206
#define H(n) ((1 * 32) + (n))
sys/arm/nvidia/tegra124/tegra124_clk_per.c
207
#define U(n) ((2 * 32) + (n))
sys/arm/nvidia/tegra124/tegra124_clk_per.c
208
#define V(n) ((3 * 32) + (n))
sys/arm/nvidia/tegra124/tegra124_clk_per.c
209
#define W(n) ((4 * 32) + (n))
sys/arm/nvidia/tegra124/tegra124_clk_per.c
210
#define X(n) ((5 * 32) + (n))
sys/arm/nvidia/tegra124/tegra124_clk_pll.c
1025
uint32_t m, n, p, pr;
sys/arm/nvidia/tegra124/tegra124_clk_pll.c
1033
get_divisors(sc, &m, &n, &pr);
sys/arm/nvidia/tegra124/tegra124_clk_pll.c
1041
clknode_get_name(clk), reg, misc_reg, m, n, p, pr,
sys/arm/nvidia/tegra124/tegra124_clk_pll.c
1045
if ((m == 0) || (n == 0) || (p == 0)) {
sys/arm/nvidia/tegra124/tegra124_clk_pll.c
1049
*freq = ((*freq / m) * n) / p;
sys/arm/nvidia/tegra124/tegra124_clk_pll.c
489
get_divisors(struct pll_sc *sc, uint32_t *m, uint32_t *n, uint32_t *p)
sys/arm/nvidia/tegra124/tegra124_clk_pll.c
497
*n = get_masked(val, PLL_BASE_DIVN_SHIFT, mnp_bits->n_width);
sys/arm/nvidia/tegra124/tegra124_clk_pll.c
502
set_divisors(struct pll_sc *sc, uint32_t val, uint32_t m, uint32_t n,
sys/arm/nvidia/tegra124/tegra124_clk_pll.c
509
val = set_masked(val, n, PLL_BASE_DIVN_SHIFT, mnp_bits->n_width);
sys/arm/nvidia/tegra124/tegra124_clk_pll.c
702
uint32_t m, uint32_t n, uint32_t p)
sys/arm/nvidia/tegra124/tegra124_clk_pll.c
711
if (n >= (1 << mnp_bits->n_width))
sys/arm/nvidia/tegra124/tegra124_clk_pll.c
718
(*fout != (((fin / m) * n) /p)))
sys/arm/nvidia/tegra124/tegra124_clk_pll.c
721
*fout = ((fin / m) * n) /p;
sys/arm/nvidia/tegra124/tegra124_clk_pll.c
734
reg = set_masked(reg, n, PLL_BASE_DIVN_SHIFT, mnp_bits->n_width);
sys/arm/nvidia/tegra124/tegra124_clk_pll.c
760
*fout = ((fin / m) * n) / p;
sys/arm/nvidia/tegra124/tegra124_clk_pll.c
767
uint32_t m, n, p;
sys/arm/nvidia/tegra124/tegra124_clk_pll.c
771
n = (*fout * p * m + fin / 2)/ fin;
sys/arm/nvidia/tegra124/tegra124_clk_pll.c
772
dprintf("%s: m: %d, n: %d, p: %d\n", __func__, m, n, p);
sys/arm/nvidia/tegra124/tegra124_clk_pll.c
773
return (pll_set_std(sc, fin, fout, flags, m, n, p));
sys/arm/nvidia/tegra124/tegra124_clk_pll.c
779
uint32_t m, n, p;
sys/arm/nvidia/tegra124/tegra124_clk_pll.c
783
n = (*fout * p * m + fin / 2)/ fin;
sys/arm/nvidia/tegra124/tegra124_clk_pll.c
784
dprintf("%s: m: %d, n: %d, p: %d\n", __func__, m, n, p);
sys/arm/nvidia/tegra124/tegra124_clk_pll.c
785
return (pll_set_std( sc, fin, fout, flags, m, n, p));
sys/arm/nvidia/tegra124/tegra124_clk_pll.c
805
uint32_t m, n, p;
sys/arm/nvidia/tegra124/tegra124_clk_pll.c
828
n = (*fout * p * m + fin / 2) / fin;
sys/arm/nvidia/tegra124/tegra124_clk_pll.c
831
if (n == 0)
sys/arm/nvidia/tegra124/tegra124_clk_pll.c
833
if (n >= (1 << mnp_bits->n_width))
sys/arm/nvidia/tegra124/tegra124_clk_pll.c
835
vco = (fin * n) / m;
sys/arm/nvidia/tegra124/tegra124_clk_pll.c
850
best_n = n;
sys/arm/nvidia/tegra124/tegra124_clk_pll.c
874
uint32_t m, n, p;
sys/arm/nvidia/tegra124/tegra124_clk_pll.c
878
n = *fout * p * m / fin;
sys/arm/nvidia/tegra124/tegra124_clk_pll.c
879
dprintf("%s: m: %d, n: %d, p: %d\n", __func__, m, n, p);
sys/arm/nvidia/tegra124/tegra124_clk_pll.c
880
return (pll_set_std(sc, fin, fout, flags, m, n, p));
sys/arm/nvidia/tegra124/tegra124_clk_pll.c
887
uint32_t m, n, p;
sys/arm/nvidia/tegra124/tegra124_clk_pll.c
895
n = (*fout * p * m + fin / 2)/ fin;
sys/arm/nvidia/tegra124/tegra124_clk_pll.c
896
dprintf("%s: m: %d, n: %d, p: %d\n", __func__, m, n, p);
sys/arm/nvidia/tegra124/tegra124_clk_pll.c
900
if (n >= (1 << mnp_bits->n_width))
sys/arm/nvidia/tegra124/tegra124_clk_pll.c
907
(*fout != (((fin / m) * n) /p)))
sys/arm/nvidia/tegra124/tegra124_clk_pll.c
909
*fout = ((fin / m) * n) /p;
sys/arm/nvidia/tegra124/tegra124_clk_pll.c
921
reg = set_masked(reg, n, PLL_BASE_DIVN_SHIFT, mnp_bits->n_width);
sys/arm/nvidia/tegra124/tegra124_clk_pll.c
948
*fout = ((fin / m) * n) / p;
sys/arm/nvidia/tegra124/tegra124_xusbpadctl.c
221
#define PORT(t, n, p, i) { \
sys/arm/nvidia/tegra124/tegra124_xusbpadctl.c
223
.name = n "-" #p, \
sys/arm/nvidia/tegra124/tegra124_xusbpadctl.c
224
.base_name = n, \
sys/arm/nvidia/tegra124/tegra124_xusbpadctl.c
269
#define PAD(n, t, u, d) { \
sys/arm/nvidia/tegra124/tegra124_xusbpadctl.c
270
.name = n, \
sys/arm/nvidia/tegra124/tegra124_xusbpadctl.c
304
#define LANE(n, p, r, s, m, mx) { \
sys/arm/nvidia/tegra124/tegra124_xusbpadctl.c
305
.name = n "-" #p, \
sys/arm/nvidia/tegra_gpio.c
70
#define GPIO_BANKNUM(n) ((n) / (GPIO_REGS_IN_BANK * GPIO_PINS_IN_REG))
sys/arm/nvidia/tegra_gpio.c
71
#define GPIO_PORTNUM(n) (((n) / GPIO_PINS_IN_REG) % GPIO_REGS_IN_BANK)
sys/arm/nvidia/tegra_gpio.c
72
#define GPIO_BIT(n) ((n) % GPIO_PINS_IN_REG)
sys/arm/nvidia/tegra_gpio.c
74
#define GPIO_REGNUM(n) (GPIO_BANKNUM(n) * GPIO_BANK_OFFS + \
sys/arm/nvidia/tegra_gpio.c
75
GPIO_PORTNUM(n) * 4)
sys/arm/qualcomm/qcom_scm_legacy_defs.h
77
#define QCOM_SCM_LEGACY_ATOMIC_ID(svc, cmd, n) \
sys/arm/qualcomm/qcom_scm_legacy_defs.h
81
((n) & 0xf))
sys/arm/ti/am335x/am335x_lcd.c
582
int n;
sys/arm/ti/am335x/am335x_lcd.c
601
for (n = 0; n < ei->edid_nmodes; n++)
sys/arm/ti/am335x/am335x_lcd.c
602
if (am335x_mode_is_valid(&m[n])) {
sys/arm/ti/am335x/am335x_lcd.c
603
videomode = &m[n];
sys/arm/ti/am335x/am335x_lcd_syscons.c
654
am335x_syscons_copy(video_adapter_t *adp, vm_offset_t src, vm_offset_t dst, int n)
sys/arm/ti/am335x/tda19988.c
94
#define VIP_CNTRL_5_SP_CNT(n) (((n) & 3) << 1)
sys/arm/ti/clk/ti_clk_dpll.c
115
uint32_t n, p, max_n, max_p, min_n, min_p;
sys/arm/ti/clk/ti_clk_dpll.c
119
max_n = ti_clk_factor_get_max(&sc->n);
sys/arm/ti/clk/ti_clk_dpll.c
121
min_n = ti_clk_factor_get_min(&sc->n);
sys/arm/ti/clk/ti_clk_dpll.c
125
for (n = min_n; n <= max_n; ) {
sys/arm/ti/clk/ti_clk_dpll.c
126
cur = fparent * n / p;
sys/arm/ti/clk/ti_clk_dpll.c
129
*factor_n = n;
sys/arm/ti/clk/ti_clk_dpll.c
133
n++;
sys/arm/ti/clk/ti_clk_dpll.c
181
uint32_t val, n, p, best_n, best_p, timeout;
sys/arm/ti/clk/ti_clk_dpll.c
226
n = ti_clk_factor_get_value(&sc->n, best_n);
sys/arm/ti/clk/ti_clk_dpll.c
228
val &= ~sc->n.mask;
sys/arm/ti/clk/ti_clk_dpll.c
230
val |= n << sc->n.shift;
sys/arm/ti/clk/ti_clk_dpll.c
266
uint32_t val, n, p;
sys/arm/ti/clk/ti_clk_dpll.c
274
n = ti_clk_get_factor(val, &sc->n);
sys/arm/ti/clk/ti_clk_dpll.c
277
*freq = *freq * n / p;
sys/arm/ti/clk/ti_clk_dpll.c
310
sc->n.shift = clkdef->ti_clksel_mult.shift;
sys/arm/ti/clk/ti_clk_dpll.c
311
sc->n.mask = clkdef->ti_clksel_mult.mask;
sys/arm/ti/clk/ti_clk_dpll.c
312
sc->n.width = clkdef->ti_clksel_mult.width;
sys/arm/ti/clk/ti_clk_dpll.c
313
sc->n.value = clkdef->ti_clksel_mult.value;
sys/arm/ti/clk/ti_clk_dpll.c
314
sc->n.min_value = clkdef->ti_clksel_mult.min_value;
sys/arm/ti/clk/ti_clk_dpll.c
315
sc->n.max_value = clkdef->ti_clksel_mult.max_value;
sys/arm/ti/clk/ti_clk_dpll.c
316
sc->n.flags = clkdef->ti_clksel_mult.flags;
sys/arm/ti/clk/ti_clk_dpll.c
56
struct ti_clk_factor n; /* ti_clksel_mult */
sys/arm/ti/ti_adcreg.h
75
#define ADC_STEPCFG(n) (0x064 + (8*((n)-1)))
sys/arm/ti/ti_adcreg.h
76
#define ADC_STEPDLY(n) (0x068 + (8*((n)-1)))
sys/arm/ti/ti_edma3.c
65
#define TI_EDMA3CC_DMAQNUM(n) (0x240 + ((n)*4))
sys/arm/ti/ti_mbox.h
36
#define TI_MBOX_MESSAGE(n) (0x40 + (n) * 0x4)
sys/arm/ti/ti_mbox.h
37
#define TI_MBOX_FIFOSTATUS(n) (0x80 + (n) * 0x4)
sys/arm/ti/ti_mbox.h
38
#define TI_MBOX_MSGSTATUS(n) (0xc0 + (n) * 0x4)
sys/arm/ti/ti_mbox.h
39
#define TI_MBOX_IRQSTATUS_RAW(n) (0x100 + (n) * 0x10)
sys/arm/ti/ti_mbox.h
40
#define TI_MBOX_IRQSTATUS_CLR(n) (0x104 + (n) * 0x10)
sys/arm/ti/ti_mbox.h
41
#define TI_MBOX_IRQENABLE_SET(n) (0x108 + (n) * 0x10)
sys/arm/ti/ti_mbox.h
42
#define TI_MBOX_IRQENABLE_CLR(n) (0x10c + (n) * 0x10)
sys/arm/xilinx/zy7_ehci.c
115
#define ZY7_USB_PORTSC(n) (0x0180+4*(n))
sys/arm/xilinx/zy7_ehci.c
130
#define ZY7_USB_ENDPTCTRL(n) (0x01c0+4*(n))
sys/arm/xilinx/zy7_qspi.c
216
int n, nvalid;
sys/arm/xilinx/zy7_qspi.c
234
n = MIN(nvalid, sc->cmd->tx_cmd_sz -
sys/arm/xilinx/zy7_qspi.c
237
sc->tx_bytes_sent, n);
sys/arm/xilinx/zy7_qspi.c
239
if (nvalid > n) {
sys/arm/xilinx/zy7_qspi.c
241
memcpy((uint8_t *)&data + n,
sys/arm/xilinx/zy7_qspi.c
242
sc->cmd->tx_data, nvalid - n);
sys/arm/xilinx/zy7_qspi.c
273
int n, nbytes;
sys/arm/xilinx/zy7_qspi.c
289
n = MIN(nbytes, sc->cmd->rx_cmd_sz -
sys/arm/xilinx/zy7_qspi.c
292
&data, n);
sys/arm/xilinx/zy7_qspi.c
293
sc->rx_bytes_rcvd += n;
sys/arm/xilinx/zy7_qspi.c
294
nbytes -= n;
sys/arm/xilinx/zy7_qspi.c
295
data >>= 8 * n;
sys/arm/xilinx/zy7_slcr.h
243
#define ZY7_SLCR_MIO_PIN(n) (0x0700 + (n) * 4) /* 0-53 */
sys/arm64/arm64/cmn600.c
216
#define NAME_OF(t, n) case NODE_TYPE_ ## t: return n
sys/arm64/arm64/cmn600.c
242
#define NAME_OF(t, n) case POR_MXP_PX_INFO_DEV_TYPE_ ## t: return n
sys/arm64/arm64/cmn600.c
55
#define FLD(v, n) (((v) & n ## _MASK) >> n ## _SHIFT)
sys/arm64/arm64/debug_monitor.c
163
dbg_wb_read_reg(int reg, int n)
sys/arm64/arm64/debug_monitor.c
167
switch (reg + n) {
sys/arm64/arm64/debug_monitor.c
173
printf("trying to read from wrong debug register %d\n", n);
sys/arm64/arm64/debug_monitor.c
181
dbg_wb_write_reg(int reg, int n, uint64_t val)
sys/arm64/arm64/debug_monitor.c
183
switch (reg + n) {
sys/arm64/arm64/debug_monitor.c
189
printf("trying to write to wrong debug register %d\n", n);
sys/arm64/arm64/gic_v3_reg.h
265
#define GICR_IPRIORITYR(n) (0x0400 + (((n) >> 2) * 4))
sys/arm64/arm64/gic_v3_reg.h
64
#define GICD_TYPER_IDBITS(n) ((((n) >> 19) & 0x1F) + 1)
sys/arm64/arm64/gic_v3_reg.h
77
#define GICD_IROUTER(n) (0x6000 + ((n) * 8))
sys/arm64/arm64/gicv5.c
262
u_int n;
sys/arm64/arm64/gicv5.c
271
n = MAX(5, istsz + 1 + lpi_id_bits);
sys/arm64/arm64/gicv5.c
272
size = 1ul << (n + 1);
sys/arm64/arm64/gicv5.c
290
u_int n;
sys/arm64/arm64/gicv5.c
299
n = MAX(5, lpi_id_bits - L2_ISTE_LOG2_ENTRIES(istsz, l2sz) + 2);
sys/arm64/arm64/gicv5.c
300
size = 1ul << (n + 1);
sys/arm64/arm64/gicv5_its.c
603
u_int n;
sys/arm64/arm64/gicv5_its.c
608
n = 2 + devid_bits;
sys/arm64/arm64/gicv5_its.c
609
size = 1ul << (n + 1);
sys/arm64/arm64/gicv5_its.c
626
u_int n;
sys/arm64/arm64/gicv5_its.c
632
n = MAX(2, devid_bits - L2_DTE_LOG2_ENTRIES(l2sz) + 2);
sys/arm64/arm64/gicv5_its.c
633
size = 1ul << (n + 1);
sys/arm64/arm64/gicv5reg.h
471
#define ICC_PPI_PRIORITYR_PRIORITY_SHIFT(n) ((n) * 8)
sys/arm64/arm64/gicv5reg.h
472
#define ICC_PPI_PRIORITYR_PRIORITY(n, x) \
sys/arm64/arm64/gicv5reg.h
473
((uint64_t)(x) << ICC_PPI_PRIORITYR_PRIORITY_SHIFT(n))
sys/arm64/arm64/uio_machdep.c
106
n -= cnt;
sys/arm64/arm64/uio_machdep.c
54
uiomove_fromphys(vm_page_t ma[], vm_offset_t offset, int n, struct uio *uio)
sys/arm64/arm64/uio_machdep.c
73
while (n > 0 && uio->uio_resid) {
sys/arm64/arm64/uio_machdep.c
84
if (cnt > n)
sys/arm64/arm64/uio_machdep.c
85
cnt = n;
sys/arm64/broadcom/genet/if_genet.c
1008
(__BIT(GENET_MAX_MDF_FILTER - n) - 1);
sys/arm64/broadcom/genet/if_genet.c
1376
int error, index, len, cnt, npkt, n;
sys/arm64/broadcom/genet/if_genet.c
1389
for (n = 0; n < total; n++) {
sys/arm64/broadcom/genet/if_genet.c
91
#define TX_NEXT(n, count) (((n) + 1) & ((count) - 1))
sys/arm64/broadcom/genet/if_genet.c
92
#define RX_NEXT(n, count) (((n) + 1) & ((count) - 1))
sys/arm64/broadcom/genet/if_genet.c
957
gen_setup_rxfilter_mdf(struct gen_softc *sc, u_int n, const uint8_t *ea)
sys/arm64/broadcom/genet/if_genet.c
962
WR4(sc, GENET_UMAC_MDF_ADDR0(n), addr0);
sys/arm64/broadcom/genet/if_genet.c
963
WR4(sc, GENET_UMAC_MDF_ADDR1(n), addr1);
sys/arm64/broadcom/genet/if_genet.c
981
u_int n;
sys/arm64/broadcom/genet/if_genet.c
992
n = if_llmaddr_count(ifp) + 2;
sys/arm64/broadcom/genet/if_genet.c
994
if (n > GENET_MAX_MDF_FILTER)
sys/arm64/broadcom/genet/if_genetreg.h
112
#define GENET_UMAC_MDF_ADDR0(n) (0xe54 + (n) * 0x8)
sys/arm64/broadcom/genet/if_genetreg.h
113
#define GENET_UMAC_MDF_ADDR1(n) (0xe58 + (n) * 0x8)
sys/arm64/coresight/coresight_acpi.c
67
int i, n;
sys/arm64/coresight/coresight_acpi.c
84
n = nr_graphs->Integer.Value;
sys/arm64/coresight/coresight_acpi.c
85
if (n != 1)
sys/arm64/coresight/coresight_acpi.c
89
if (graph->Package.Count != (n + 2))
sys/arm64/coresight/coresight_acpi.c
92
for (i = 2; i < n + 2; i++) {
sys/arm64/coresight/coresight_etm4x.h
106
#define TRCSEQEVR(n) (0x100 + (n) * 0x4) /* Trace Sequencer State Transition Control Register [n=0-2] */
sys/arm64/coresight/coresight_etm4x.h
110
#define TRCCNTRLDVR(n) (0x140 + (n) * 0x4) /* 32 Trace Counter Reload Value Register [n=0-3] */
sys/arm64/coresight/coresight_etm4x.h
111
#define TRCCNTCTLR(n) (0x150 + (n) * 0x4) /* 32 Trace Counter Control Register [n=0-3] */
sys/arm64/coresight/coresight_etm4x.h
112
#define TRCCNTVR(n) (0x160 + (n) * 0x4) /* 32 Trace Counter Value Register [n=0-3] */
sys/arm64/coresight/coresight_etm4x.h
113
#define TRCIMSPEC(n) (0x1C0 + (n) * 0x4) /* Trace IMPLEMENTATION DEFINED register [n=0-7] */
sys/arm64/coresight/coresight_etm4x.h
115
#define TRCIDR0(n) (0x1E0 + 0x4 * (n))
sys/arm64/coresight/coresight_etm4x.h
116
#define TRCIDR8(n) (0x180 + 0x4 * (n))
sys/arm64/coresight/coresight_etm4x.h
117
#define TRCIDR(n) ((n > 7) ? TRCIDR8(n) : TRCIDR0(n))
sys/arm64/coresight/coresight_etm4x.h
123
#define TRCRSCTLR(n) (0x200 + (n) * 0x4) /* Trace Resource Selection Control Register [n=2-31] */
sys/arm64/coresight/coresight_etm4x.h
124
#define TRCSSCCR(n) (0x280 + (n) * 0x4) /* Trace Single-shot Comparator Control Register [n=0-7] */
sys/arm64/coresight/coresight_etm4x.h
125
#define TRCSSCSR(n) (0x2A0 + (n) * 0x4) /* Trace Single-shot Comparator Status Register [n=0-7] */
sys/arm64/coresight/coresight_etm4x.h
126
#define TRCSSPCICR(n) (0x2C0 + (n) * 0x4) /* Trace Single-shot PE Comparator Input Control [n=0-7] */
sys/arm64/coresight/coresight_etm4x.h
131
#define TRCACVR(n) (0x400 + (n) * 0x8) /* Trace Address Comparator Value Register [n=0-15] */
sys/arm64/coresight/coresight_etm4x.h
132
#define TRCACATR(n) (0x480 + (n) * 0x8) /* Trace Address Comparator Access Type Register [n=0-15] */
sys/arm64/coresight/coresight_etm4x.h
145
#define TRCACATR_EXLEVEL_S(n) (0x1 << ((n) + TRCACATR_EXLEVEL_S_S))
sys/arm64/coresight/coresight_etm4x.h
148
#define TRCACATR_EXLEVEL_NS(n) (0x1 << ((n) + TRCACATR_EXLEVEL_NS_S))
sys/arm64/coresight/coresight_etm4x.h
149
#define TRCDVCVR(n) (0x500 + (n) * 0x8) /* Trace Data Value Comparator Value Register [n=0-7] */
sys/arm64/coresight/coresight_etm4x.h
150
#define TRCDVCMR(n) (0x580 + (n) * 0x8) /* Trace Data Value Comparator Mask Register [n=0-7] */
sys/arm64/coresight/coresight_etm4x.h
151
#define TRCCIDCVR(n) (0x600 + (n) * 0x8) /* Trace Context ID Comparator Value Register [n=0-7] */
sys/arm64/coresight/coresight_etm4x.h
152
#define TRCVMIDCVR(n) (0x640 + (n) * 0x8) /* Trace Virtual context identifier Comparator Value [n=0-7] */
sys/arm64/coresight/coresight_etm4x.h
169
#define TRCPIDR(n) (0xFE0 + (n) * 0x4) /* Management Peripheral IDn Register [n=0-3] */
sys/arm64/coresight/coresight_etm4x.h
170
#define TRCPIDR567(n) (0xFD4 + ((n) - 5) * 0x4) /* Management Peripheral ID5 to Peripheral ID7 Registers */
sys/arm64/coresight/coresight_etm4x.h
171
#define TRCCIDR(n) (0xFF0 + (n) * 0x4) /* Management Component IDn Register [n=0-4] */
sys/arm64/coresight/coresight_etm4x.h
86
#define TRCVICTLR_EXLEVEL_NS(n) (0x1 << ((n) + TRCVICTLR_EXLEVEL_NS_S))
sys/arm64/coresight/coresight_etm4x.h
89
#define TRCVICTLR_EXLEVEL_S(n) (0x1 << ((n) + TRCVICTLR_EXLEVEL_S_S))
sys/arm64/freescale/imx/clk/imx_clk_composite.c
39
#define TARGET_ROOT_MUX(n) ((n) << 24)
sys/arm64/freescale/imx/clk/imx_clk_composite.c
42
#define TARGET_ROOT_PRE_PODF(n) ((((n) - 1) & 0x7) << 16)
sys/arm64/freescale/imx/clk/imx_clk_composite.c
46
#define TARGET_ROOT_POST_PODF(n) ((((n) - 1) & 0x3f) << 0)
sys/arm64/include/rsi.h
61
#define SMC_RSI_FID(n) SMCCC_FUNC_ID(SMCCC_FAST_CALL, \
sys/arm64/include/rsi.h
64
n)
sys/arm64/nvidia/tegra210/max77620_regulators.c
49
#define DIV_ROUND_UP(n,d) howmany(n, d)
sys/arm64/nvidia/tegra210/tegra210_clk_per.c
257
#define L(n) ((0 * 32) + (n))
sys/arm64/nvidia/tegra210/tegra210_clk_per.c
258
#define H(n) ((1 * 32) + (n))
sys/arm64/nvidia/tegra210/tegra210_clk_per.c
259
#define U(n) ((2 * 32) + (n))
sys/arm64/nvidia/tegra210/tegra210_clk_per.c
260
#define V(n) ((3 * 32) + (n))
sys/arm64/nvidia/tegra210/tegra210_clk_per.c
261
#define W(n) ((4 * 32) + (n))
sys/arm64/nvidia/tegra210/tegra210_clk_per.c
262
#define X(n) ((5 * 32) + (n))
sys/arm64/nvidia/tegra210/tegra210_clk_per.c
263
#define Y(n) ((6 * 32) + (n))
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
1001
uint32_t m, n, p;
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
1005
n = (*fout * p * m + fin / 2)/ fin;
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
1006
dprintf("%s: m: %d, n: %d, p: %d\n", __func__, m, n, p);
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
1007
return (pll_set_std( sc, fin, fout, flags, m, n, p));
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
1028
uint32_t m, n, p;
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
1051
n = (*fout * p * m + fin / 2) / fin;
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
1054
if (n == 0)
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
1056
if (n >= (1 << mnp_bits->n_width))
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
1058
vco = (fin * n) / m;
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
1073
best_n = n;
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
1097
uint32_t m, n, p;
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
1101
n = *fout * p * m / fin;
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
1102
dprintf("%s: m: %d, n: %d, p: %d\n", __func__, m, n, p);
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
1103
return (pll_set_std(sc, fin, fout, flags, m, n, p));
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
1115
uint32_t m, n, p;
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
1133
n = (*fout * p * m + fin / 2) / fin;
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
1134
dprintf("%s: m: %d, n: %d, p: %d\n", __func__, m, n, p);
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
1138
if (n >= (1 << mnp_bits->n_width))
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
1145
(*fout != (((fin / m) * n) /p)))
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
1147
*fout = ((fin / m) * n) /p;
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
1169
reg |= PLLX_MISC_2_NDIV_NEW(n);
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
1191
reg = set_masked(reg, n, mnp_bits->n_shift,
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
1214
*fout = ((fin / m) * n) / p;
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
1335
uint32_t m, n, p, pr;
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
1344
get_divisors(sc, &m, &n, &pr);
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
1356
clknode_get_name(clk), reg, misc_reg, m, n, p, pr,
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
1360
if ((m == 0) || (n == 0) || (p == 0)) {
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
1368
*freq = ((*freq / m) * n) / p;
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
193
#define DIV_TB(_id, cname, plist, o, s, n, table) \
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
203
.i_width = n, \
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
682
get_divisors(struct pll_sc *sc, uint32_t *m, uint32_t *n, uint32_t *p)
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
690
*n = get_masked(val, mnp_bits->n_shift, mnp_bits->n_width);
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
695
set_divisors(struct pll_sc *sc, uint32_t val, uint32_t m, uint32_t n,
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
702
val = set_masked(val, n, mnp_bits->n_shift, mnp_bits->n_width);
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
900
uint32_t m, uint32_t n, uint32_t p)
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
909
if (n >= (1 << mnp_bits->n_width))
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
916
(*fout != (((fin / m) * n) /p)))
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
919
*fout = ((fin / m) * n) /p;
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
932
reg = set_masked(reg, n, mnp_bits->n_shift, mnp_bits->n_width);
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
958
*fout = ((fin / m) * n) / p;
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
965
uint32_t m, n, p;
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
969
n = (*fout * p * m + fin / 2)/ fin;
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
970
dprintf("%s: m: %d, n: %d, p: %d\n", __func__, m, n, p);
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
971
return (pll_set_std(sc, fin, fout, flags, m, n, p));
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
977
uint32_t m, n, p;
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
981
n = (*fout * p * m + fin / 2)/ fin;
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
982
dprintf("%s: m: %d, n: %d, p: %d\n", __func__, m, n, p);
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
983
return (pll_set_std( sc, fin, fout, flags, m, n, p));
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
989
uint32_t m, n, p;
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
993
n = (*fout * p * m + fin / 2)/ fin;
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
994
dprintf("%s: m: %d, n: %d, p: %d\n", __func__, m, n, p);
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
995
return (pll_set_std( sc, fin, fout, flags, m, n, p));
sys/arm64/nvidia/tegra210/tegra210_xusbpadctl.c
383
#define PORT(t, n, p, i) { \
sys/arm64/nvidia/tegra210/tegra210_xusbpadctl.c
385
.name = n "-" #p, \
sys/arm64/nvidia/tegra210/tegra210_xusbpadctl.c
386
.base_name = n, \
sys/arm64/nvidia/tegra210/tegra210_xusbpadctl.c
436
#define PAD(n, t, cn, rn, e, d) { \
sys/arm64/nvidia/tegra210/tegra210_xusbpadctl.c
437
.name = n, \
sys/arm64/nvidia/tegra210/tegra210_xusbpadctl.c
473
#define LANE(n, p, r, s, m, mx) { \
sys/arm64/nvidia/tegra210/tegra210_xusbpadctl.c
474
.name = n "-" #p, \
sys/arm64/rockchip/rk_i2s.c
131
#define DIV_ROUND_CLOSEST(n,d) (((n) + (d) / 2) / (d))
sys/arm64/rockchip/rk_i2s.c
84
#define I2S_CKR_MDIV(n) (((n) - 1) << 16)
sys/arm64/rockchip/rk_i2s.c
86
#define I2S_CKR_RSD(n) (((n) - 1) << 8)
sys/arm64/rockchip/rk_i2s.c
88
#define I2S_CKR_TSD(n) (((n) - 1) << 0)
sys/arm64/rockchip/rk_i2s.c
94
#define I2S_DMACR_RDL(n) (((n) - 1) << 16)
sys/arm64/rockchip/rk_i2s.c
96
#define I2S_DMACR_TDL(n) ((n) << 0)
sys/arm64/rockchip/rk_i2s.c
98
#define I2S_INTCR_RFT(n) (((n) - 1) << 20)
sys/arm64/rockchip/rk_i2s.c
99
#define I2S_INTCR_TFT(n) ((n) << 4)
sys/arm64/rockchip/rk_pcie.c
156
#define PCIE_CORE_OB_ADDR0(n) (0xC00000 + 0x20 * (n) + 0x00)
sys/arm64/rockchip/rk_pcie.c
157
#define PCIE_CORE_OB_ADDR1(n) (0xC00000 + 0x20 * (n) + 0x04)
sys/arm64/rockchip/rk_pcie.c
158
#define PCIE_CORE_OB_DESC0(n) (0xC00000 + 0x20 * (n) + 0x08)
sys/arm64/rockchip/rk_pcie.c
159
#define PCIE_CORE_OB_DESC1(n) (0xC00000 + 0x20 * (n) + 0x0C)
sys/arm64/rockchip/rk_pcie.c
160
#define PCIE_CORE_OB_DESC2(n) (0xC00000 + 0x20 * (n) + 0x10)
sys/arm64/rockchip/rk_pcie.c
161
#define PCIE_CORE_OB_DESC3(n) (0xC00000 + 0x20 * (n) + 0x14)
sys/arm64/rockchip/rk_pcie.c
163
#define PCIE_CORE_IB_ADDR0(n) (0xC00800 + 0x8 * (n) + 0x00)
sys/arm64/rockchip/rk_pcie.c
164
#define PCIE_CORE_IB_ADDR1(n) (0xC00800 + 0x8 * (n) + 0x04)
sys/arm64/rockchip/rk_pcie.c
85
#define STRAP_CONF_LANES(n) ((((n) / 2) & 0x3) << 4)
sys/arm64/vmm/arm64.h
52
#define PMEVCNTR_EL0(n) (PMEVCNTR0_EL0 + MIN(n, 30))
sys/arm64/vmm/arm64.h
53
#define PMEVTYPER_EL0(n) (PMEVTYPER0_EL0 + MIN(n, 30))
sys/arm64/vmm/arm64.h
54
#define DBGBCR_EL1(n) (DBGBCR0_EL1 + MIN(n, 15))
sys/arm64/vmm/arm64.h
55
#define DBGBVR_EL1(n) (DBGBVR0_EL1 + MIN(n, 15))
sys/arm64/vmm/arm64.h
56
#define DBGWCR_EL1(n) (DBGWCR0_EL1 + MIN(n, 15))
sys/arm64/vmm/arm64.h
57
#define DBGWVR_EL1(n) (DBGWVR0_EL1 + MIN(n, 15))
sys/arm64/vmm/arm64.h
59
#define HOST_ICH_LR_EL2(n) (HOST_ICH_LR0_EL2 + MIN(n, VGIC_ICH_LR_NUM_MAX-1))
sys/arm64/vmm/arm64.h
60
#define HOST_ICH_AP0R_EL2(n) (HOST_ICH_AP0R0_EL2 + MIN(n, VGIC_ICH_APR_NUM_MAX-1))
sys/arm64/vmm/arm64.h
61
#define HOST_ICH_AP1R_EL2(n) (HOST_ICH_AP1R0_EL2 + MIN(n, VGIC_ICH_APR_NUM_MAX-1))
sys/arm64/vmm/arm64.h
62
#define GPR_X(n) (GPR_X0 + MIN(n, 30))
sys/arm64/vmm/io/vgic_v3.c
1080
int n;
sys/arm64/vmm/io/vgic_v3.c
1082
n = (reg - GICD_ISENABLER(0)) / 4;
sys/arm64/vmm/io/vgic_v3.c
1084
MPASS(n > 0);
sys/arm64/vmm/io/vgic_v3.c
1085
*rval = read_enabler(hypctx, n);
sys/arm64/vmm/io/vgic_v3.c
1092
int n;
sys/arm64/vmm/io/vgic_v3.c
1096
n = (reg - GICD_ISENABLER(0)) / 4;
sys/arm64/vmm/io/vgic_v3.c
1098
MPASS(n > 0);
sys/arm64/vmm/io/vgic_v3.c
1099
write_enabler(hypctx, n, true, wval);
sys/arm64/vmm/io/vgic_v3.c
1106
int n;
sys/arm64/vmm/io/vgic_v3.c
1108
n = (reg - GICD_ICENABLER(0)) / 4;
sys/arm64/vmm/io/vgic_v3.c
1110
MPASS(n > 0);
sys/arm64/vmm/io/vgic_v3.c
1111
*rval = read_enabler(hypctx, n);
sys/arm64/vmm/io/vgic_v3.c
1118
int n;
sys/arm64/vmm/io/vgic_v3.c
1122
n = (reg - GICD_ICENABLER(0)) / 4;
sys/arm64/vmm/io/vgic_v3.c
1124
MPASS(n > 0);
sys/arm64/vmm/io/vgic_v3.c
1125
write_enabler(hypctx, n, false, wval);
sys/arm64/vmm/io/vgic_v3.c
1132
int n;
sys/arm64/vmm/io/vgic_v3.c
1134
n = (reg - GICD_ISPENDR(0)) / 4;
sys/arm64/vmm/io/vgic_v3.c
1136
MPASS(n > 0);
sys/arm64/vmm/io/vgic_v3.c
1137
*rval = read_pendr(hypctx, n);
sys/arm64/vmm/io/vgic_v3.c
1144
int n;
sys/arm64/vmm/io/vgic_v3.c
1148
n = (reg - GICD_ISPENDR(0)) / 4;
sys/arm64/vmm/io/vgic_v3.c
1150
MPASS(n > 0);
sys/arm64/vmm/io/vgic_v3.c
1151
write_pendr(hypctx, n, true, wval);
sys/arm64/vmm/io/vgic_v3.c
1158
int n;
sys/arm64/vmm/io/vgic_v3.c
1160
n = (reg - GICD_ICPENDR(0)) / 4;
sys/arm64/vmm/io/vgic_v3.c
1162
MPASS(n > 0);
sys/arm64/vmm/io/vgic_v3.c
1163
*rval = read_pendr(hypctx, n);
sys/arm64/vmm/io/vgic_v3.c
1170
int n;
sys/arm64/vmm/io/vgic_v3.c
1174
n = (reg - GICD_ICPENDR(0)) / 4;
sys/arm64/vmm/io/vgic_v3.c
1176
MPASS(n > 0);
sys/arm64/vmm/io/vgic_v3.c
1177
write_pendr(hypctx, n, false, wval);
sys/arm64/vmm/io/vgic_v3.c
1185
int n;
sys/arm64/vmm/io/vgic_v3.c
1187
n = (reg - GICD_ISACTIVER(0)) / 4;
sys/arm64/vmm/io/vgic_v3.c
1189
MPASS(n > 0);
sys/arm64/vmm/io/vgic_v3.c
1190
*rval = read_activer(hypctx, n);
sys/arm64/vmm/io/vgic_v3.c
1197
int n;
sys/arm64/vmm/io/vgic_v3.c
1201
n = (reg - GICD_ISACTIVER(0)) / 4;
sys/arm64/vmm/io/vgic_v3.c
1203
MPASS(n > 0);
sys/arm64/vmm/io/vgic_v3.c
1204
write_activer(hypctx, n, true, wval);
sys/arm64/vmm/io/vgic_v3.c
1212
int n;
sys/arm64/vmm/io/vgic_v3.c
1214
n = (reg - GICD_ICACTIVER(0)) / 4;
sys/arm64/vmm/io/vgic_v3.c
1216
MPASS(n > 0);
sys/arm64/vmm/io/vgic_v3.c
1217
*rval = read_activer(hypctx, n);
sys/arm64/vmm/io/vgic_v3.c
1224
int n;
sys/arm64/vmm/io/vgic_v3.c
1228
n = (reg - GICD_ICACTIVER(0)) / 4;
sys/arm64/vmm/io/vgic_v3.c
1230
MPASS(n > 0);
sys/arm64/vmm/io/vgic_v3.c
1231
write_activer(hypctx, n, false, wval);
sys/arm64/vmm/io/vgic_v3.c
1240
int n;
sys/arm64/vmm/io/vgic_v3.c
1242
n = (reg - GICD_IPRIORITYR(0)) / 4;
sys/arm64/vmm/io/vgic_v3.c
1244
MPASS(n > 7);
sys/arm64/vmm/io/vgic_v3.c
1245
*rval = read_priorityr(hypctx, n);
sys/arm64/vmm/io/vgic_v3.c
1264
int n;
sys/arm64/vmm/io/vgic_v3.c
1266
n = (reg - GICD_ICFGR(0)) / 4;
sys/arm64/vmm/io/vgic_v3.c
1268
MPASS(n > 1);
sys/arm64/vmm/io/vgic_v3.c
1269
*rval = read_config(hypctx, n);
sys/arm64/vmm/io/vgic_v3.c
1276
int n;
sys/arm64/vmm/io/vgic_v3.c
1280
n = (reg - GICD_ICFGR(0)) / 4;
sys/arm64/vmm/io/vgic_v3.c
1282
MPASS(n > 1);
sys/arm64/vmm/io/vgic_v3.c
1283
write_config(hypctx, n, wval);
sys/arm64/vmm/io/vgic_v3.c
1290
int n;
sys/arm64/vmm/io/vgic_v3.c
1292
n = (reg - GICD_IROUTER(0)) / 8;
sys/arm64/vmm/io/vgic_v3.c
1294
MPASS(n > 31);
sys/arm64/vmm/io/vgic_v3.c
1295
*rval = read_route(hypctx, n);
sys/arm64/vmm/io/vgic_v3.c
1302
int n;
sys/arm64/vmm/io/vgic_v3.c
1304
n = (reg - GICD_IROUTER(0)) / 8;
sys/arm64/vmm/io/vgic_v3.c
1306
MPASS(n > 31);
sys/arm64/vmm/io/vgic_v3.c
1307
write_route(hypctx, n, wval, offset, size);
sys/arm64/vmm/io/vgic_v3.c
1582
int n;
sys/arm64/vmm/io/vgic_v3.c
1584
n = (reg - GICR_IPRIORITYR(0)) / 4;
sys/arm64/vmm/io/vgic_v3.c
1585
*rval = read_priorityr(hypctx, n);
sys/arm64/vmm/io/vgic_v3.c
661
read_enabler(struct hypctx *hypctx, int n)
sys/arm64/vmm/io/vgic_v3.c
669
irq_base = n * 32;
sys/arm64/vmm/io/vgic_v3.c
685
write_enabler(struct hypctx *hypctx,int n, bool set, uint64_t val)
sys/arm64/vmm/io/vgic_v3.c
691
irq_base = n * 32;
sys/arm64/vmm/io/vgic_v3.c
709
read_pendr(struct hypctx *hypctx, int n)
sys/arm64/vmm/io/vgic_v3.c
717
irq_base = n * 32;
sys/arm64/vmm/io/vgic_v3.c
733
write_pendr(struct hypctx *hypctx, int n, bool set, uint64_t val)
sys/arm64/vmm/io/vgic_v3.c
746
irq_base = n * 32;
sys/arm64/vmm/io/vgic_v3.c
787
read_activer(struct hypctx *hypctx, int n)
sys/arm64/vmm/io/vgic_v3.c
795
irq_base = n * 32;
sys/arm64/vmm/io/vgic_v3.c
811
write_activer(struct hypctx *hypctx, u_int n, bool set, uint64_t val)
sys/arm64/vmm/io/vgic_v3.c
822
irq_base = n * 32;
sys/arm64/vmm/io/vgic_v3.c
862
read_priorityr(struct hypctx *hypctx, int n)
sys/arm64/vmm/io/vgic_v3.c
870
irq_base = n * 4;
sys/arm64/vmm/io/vgic_v3.c
903
read_config(struct hypctx *hypctx, int n)
sys/arm64/vmm/io/vgic_v3.c
911
irq_base = n * 16;
sys/arm64/vmm/io/vgic_v3.c
926
write_config(struct hypctx *hypctx, int n, uint64_t val)
sys/arm64/vmm/io/vgic_v3.c
932
irq_base = n * 16;
sys/arm64/vmm/io/vgic_v3.c
954
read_route(struct hypctx *hypctx, int n)
sys/arm64/vmm/io/vgic_v3.c
959
irq = vgic_v3_get_irq(hypctx->hyp, vcpu_vcpuid(hypctx->vcpu), n);
sys/arm64/vmm/io/vgic_v3.c
970
write_route(struct hypctx *hypctx, int n, uint64_t val, u_int offset,
sys/arm64/vmm/io/vgic_v3.c
975
irq = vgic_v3_get_irq(hypctx->hyp, vcpu_vcpuid(hypctx->vcpu), n);
sys/bsm/audit_record.h
223
token_t *au_to_arg(char n, const char *text, uint32_t v);
sys/bsm/audit_record.h
224
token_t *au_to_arg32(char n, const char *text, uint32_t v);
sys/bsm/audit_record.h
225
token_t *au_to_arg64(char n, const char *text, uint64_t v);
sys/bsm/audit_record.h
237
token_t *au_to_newgroups(uint16_t n, gid_t *groups);
sys/cam/cam_iosched.c
1015
struct sysctl_oid_list *n;
sys/cam/cam_iosched.c
1021
n = SYSCTL_CHILDREN(ios->sysctl_tree);
sys/cam/cam_iosched.c
1024
SYSCTL_ADD_UQUAD(ctx, n,
sys/cam/cam_iosched.c
1028
SYSCTL_ADD_UQUAD(ctx, n,
sys/cam/cam_iosched.c
1033
SYSCTL_ADD_INT(ctx, n,
sys/cam/cam_iosched.c
1037
SYSCTL_ADD_INT(ctx, n,
sys/cam/cam_iosched.c
1041
SYSCTL_ADD_INT(ctx, n,
sys/cam/cam_iosched.c
1045
SYSCTL_ADD_INT(ctx, n,
sys/cam/cam_iosched.c
1049
SYSCTL_ADD_INT(ctx, n,
sys/cam/cam_iosched.c
1053
SYSCTL_ADD_INT(ctx, n,
sys/cam/cam_iosched.c
1057
SYSCTL_ADD_U64(ctx, n,
sys/cam/cam_iosched.c
1061
SYSCTL_ADD_PROC(ctx, n,
sys/cam/cam_iosched.c
1067
SYSCTL_ADD_PROC(ctx, n,
sys/cam/cam_iosched.c
1072
SYSCTL_ADD_INT(ctx, n,
sys/cam/cam_iosched.c
1076
SYSCTL_ADD_INT(ctx, n,
sys/cam/cam_iosched.c
1080
SYSCTL_ADD_INT(ctx, n,
sys/cam/cam_iosched.c
1085
SYSCTL_ADD_PROC(ctx, n,
sys/cam/cam_iosched.c
1109
struct sysctl_oid_list *n;
sys/cam/cam_iosched.c
1117
n = SYSCTL_CHILDREN(clp->sysctl_tree);
sys/cam/cam_iosched.c
1120
SYSCTL_ADD_PROC(ctx, n,
sys/cam/cam_iosched.c
1125
SYSCTL_ADD_PROC(ctx, n,
sys/cam/cam_iosched.c
1130
SYSCTL_ADD_PROC(ctx, n,
sys/cam/cam_iosched.c
1135
SYSCTL_ADD_PROC(ctx, n,
sys/cam/cam_iosched.c
1140
SYSCTL_ADD_INT(ctx, n,
sys/cam/cam_iosched.c
1233
struct sysctl_oid_list *n;
sys/cam/cam_iosched.c
1235
n = SYSCTL_CHILDREN(node);
sys/cam/cam_iosched.c
1236
SYSCTL_ADD_INT(ctx, n,
sys/cam/cam_iosched.c
1240
SYSCTL_ADD_INT(ctx, n,
sys/cam/cam_iosched.c
1244
SYSCTL_ADD_INT(ctx, n,
sys/cam/cam_iosched.c
1256
n = SYSCTL_CHILDREN(isc->sysctl_tree);
sys/cam/cam_iosched.c
1264
SYSCTL_ADD_INT(ctx, n,
sys/cam/cam_iosched.c
1269
SYSCTL_ADD_PROC(ctx, n,
sys/cam/cam_iosched.c
1274
SYSCTL_ADD_INT(ctx, n,
sys/cam/cam_iosched.c
1279
SYSCTL_ADD_INT(ctx, n,
sys/cam/cam_iosched.c
1284
SYSCTL_ADD_U64(ctx, n,
sys/cam/cam_periph.c
153
int error, n;
sys/cam/cam_periph.c
169
for (n = 0; n < nperiph_drivers && periph_drivers[n] != drv; n++)
sys/cam/cam_periph.c
171
KASSERT(n < nperiph_drivers,
sys/cam/cam_periph.c
173
for (; n + 1 < nperiph_drivers; n++)
sys/cam/cam_periph.c
174
periph_drivers[n] = periph_drivers[n + 1];
sys/cam/cam_periph.c
175
periph_drivers[n + 1] = NULL;
sys/cam/cam_periph.c
2158
struct ccb_nvmeio *n = &ccb->nvmeio;
sys/cam/cam_periph.c
2161
NVME_STATUS_GET_SCT(n->cpl.status),
sys/cam/cam_periph.c
2162
NVME_STATUS_GET_SC(n->cpl.status), n->cpl.cdw0);
sys/cam/cam_periph.c
2186
struct ccb_nvmeio *n = &ccb->nvmeio;
sys/cam/cam_periph.c
2187
struct nvme_command *cmd = &n->cmd;
sys/cam/ctl/ctl.c
9852
int sfs_page_size, n;
sys/cam/ctl/ctl.c
9875
n = 0;
sys/cam/ctl/ctl.c
9877
scsi_ulto2b(0x0001, &sfs_ptr->codes[2 * n++]);
sys/cam/ctl/ctl.c
9880
scsi_ulto2b(0x0101, &sfs_ptr->codes[2 * n++]);
sys/cam/ctl/ctl.c
9882
scsi_ulto2b(0x0102, &sfs_ptr->codes[2 * n++]);
sys/cam/ctl/ctl.c
9885
scsi_ulto2b(0x0103, &sfs_ptr->codes[2 * n++]);
sys/cam/ctl/ctl.c
9890
scsi_ulto2b(4 + 2 * n, sfs_ptr->page_length);
sys/cam/scsi/scsi_all.c
5701
int n;
sys/cam/scsi/scsi_all.c
5709
n = naa->naa >> SVPD_ID_NAA_NAA_SHIFT;
sys/cam/scsi/scsi_all.c
5710
if (n != SVPD_ID_NAA_LOCAL_REG && n != SVPD_ID_NAA_IEEE_REG)
sys/cam/scsi/scsi_da.c
4919
int n;
sys/cam/scsi/scsi_da.c
5009
n = snprintf(announce_buf, DA_ANNOUNCETMP_SZ,
sys/cam/scsi/scsi_da.c
5015
n += snprintf(announce_buf + n,
sys/cam/scsi/scsi_da.c
5016
DA_ANNOUNCETMP_SZ - n,
sys/cam/scsi/scsi_da.c
5019
snprintf(announce_buf + n, DA_ANNOUNCETMP_SZ - n, ")");
sys/cddl/boot/zfs/gzip.c
86
int n __unused)
sys/cddl/boot/zfs/lzjb.c
48
lzjb_decompress(void *s_start, void *d_start, size_t s_len, size_t d_len, int n)
sys/cddl/boot/zfs/sha256.c
49
#define ROTR(x, n) (((x) >> (n)) | ((x) << ((sizeof (x) * NBBY)-(n))))
sys/cddl/boot/zfs/zfsimpl.h
1574
#define ZAP_HASH_IDX(hash, n) (((n) == 0) ? 0 : ((hash) >> (64 - (n))))
sys/cddl/boot/zfs/zfsimpl.h
524
#define VDEV_UBERBLOCK_OFFSET(vd, n) \
sys/cddl/boot/zfs/zfsimpl.h
525
offsetof(vdev_label_t, vl_uberblock[(n) << VDEV_UBERBLOCK_SHIFT(vd)])
sys/cddl/boot/zfs/zfssubr.c
1003
for (j = 0; j < n; j++) {
sys/cddl/boot/zfs/zfssubr.c
1009
for (i = 0; i < n; i++) {
sys/cddl/boot/zfs/zfssubr.c
1057
int n, i, c, t, tt;
sys/cddl/boot/zfs/zfssubr.c
1072
n = rm->rm_cols - rm->rm_firstdatacol;
sys/cddl/boot/zfs/zfssubr.c
111
size_t d_len, int n);
sys/cddl/boot/zfs/zfssubr.c
1111
nmissing_rows * n + sizeof (used[0]) * n;
sys/cddl/boot/zfs/zfssubr.c
1120
pp += n;
sys/cddl/boot/zfs/zfssubr.c
1122
pp += n;
sys/cddl/boot/zfs/zfssubr.c
1137
ASSERT3S(i, <, n);
sys/cddl/boot/zfs/zfssubr.c
1145
vdev_raidz_matrix_init(rm, n, nmissing_rows, parity_map, rows);
sys/cddl/boot/zfs/zfssubr.c
1150
vdev_raidz_matrix_invert(rm, n, nmissing_rows, missing_rows, rows,
sys/cddl/boot/zfs/zfssubr.c
1156
vdev_raidz_matrix_reconstruct(rm, n, nmissing_rows, missing_rows,
sys/cddl/boot/zfs/zfssubr.c
1427
int current, next, i, c, n;
sys/cddl/boot/zfs/zfssubr.c
1437
for (n = 1; n <= rm->rm_firstdatacol - total_errors; n++) {
sys/cddl/boot/zfs/zfssubr.c
1447
for (c = 0, i = 0; i < n; i++) {
sys/cddl/boot/zfs/zfssubr.c
1448
if (i == n - 1 && data_errors == 0 &&
sys/cddl/boot/zfs/zfssubr.c
1464
tgts[n] = rm->rm_cols;
sys/cddl/boot/zfs/zfssubr.c
1469
for (i = 0; i < n - 1; i++) {
sys/cddl/boot/zfs/zfssubr.c
1473
orig[n - 1] = malloc(rm->rm_col[0].rc_size);
sys/cddl/boot/zfs/zfssubr.c
1474
if (orig[n - 1] == NULL) {
sys/cddl/boot/zfs/zfssubr.c
1482
while (current != n) {
sys/cddl/boot/zfs/zfssubr.c
1490
for (i = 0; i < n; i++) {
sys/cddl/boot/zfs/zfssubr.c
1503
code = vdev_raidz_reconstruct(rm, tgts, n);
sys/cddl/boot/zfs/zfssubr.c
1505
for (i = 0; i < n; i++) {
sys/cddl/boot/zfs/zfssubr.c
1519
for (i = 0; i < n; i++) {
sys/cddl/boot/zfs/zfssubr.c
1554
} while (current != n);
sys/cddl/boot/zfs/zfssubr.c
1557
n--;
sys/cddl/boot/zfs/zfssubr.c
1559
for (i = n - 1; i >= 0; i--) {
sys/cddl/boot/zfs/zfssubr.c
1580
int n;
sys/cddl/boot/zfs/zfssubr.c
1691
n = raidz_parity_verify(rm);
sys/cddl/boot/zfs/zfssubr.c
1692
unexpected_errors += n;
sys/cddl/boot/zfs/zfssubr.c
1693
ASSERT(parity_errors + n <=
sys/cddl/boot/zfs/zfssubr.c
1712
n = 0;
sys/cddl/boot/zfs/zfssubr.c
1716
ASSERT(n < VDEV_RAIDZ_MAXPARITY);
sys/cddl/boot/zfs/zfssubr.c
1717
tgts[n++] = c;
sys/cddl/boot/zfs/zfssubr.c
1721
ASSERT(rm->rm_firstdatacol >= n);
sys/cddl/boot/zfs/zfssubr.c
1723
code = vdev_raidz_reconstruct(rm, tgts, n);
sys/cddl/boot/zfs/zfssubr.c
1740
if (parity_errors < rm->rm_firstdatacol - n) {
sys/cddl/boot/zfs/zfssubr.c
1741
n = raidz_parity_verify(rm);
sys/cddl/boot/zfs/zfssubr.c
1742
unexpected_errors += n;
sys/cddl/boot/zfs/zfssubr.c
1743
ASSERT(parity_errors + n <=
sys/cddl/boot/zfs/zfssubr.c
1764
n = 0;
sys/cddl/boot/zfs/zfssubr.c
1776
n++;
sys/cddl/boot/zfs/zfssubr.c
1784
if (n > 0)
sys/cddl/boot/zfs/zfssubr.c
851
vdev_raidz_matrix_init(raidz_map_t *rm, int n, int nmap, int *map,
sys/cddl/boot/zfs/zfssubr.c
857
ASSERT(n == rm->rm_cols - rm->rm_firstdatacol);
sys/cddl/boot/zfs/zfssubr.c
866
pow = map[i] * n;
sys/cddl/boot/zfs/zfssubr.c
871
for (j = 0; j < n; j++) {
sys/cddl/boot/zfs/zfssubr.c
881
vdev_raidz_matrix_invert(raidz_map_t *rm, int n, int nmissing, int *missing,
sys/cddl/boot/zfs/zfssubr.c
895
for (; i < n; i++) {
sys/cddl/boot/zfs/zfssubr.c
903
for (j = 0; j < n; j++) {
sys/cddl/boot/zfs/zfssubr.c
912
for (j = nmissing; j < n; j++) {
sys/cddl/boot/zfs/zfssubr.c
915
ASSERT3S(jj, <, n);
sys/cddl/boot/zfs/zfssubr.c
937
for (j = 0; j < n; j++) {
sys/cddl/boot/zfs/zfssubr.c
950
for (j = 0; j < n; j++) {
sys/cddl/boot/zfs/zfssubr.c
964
for (j = 0; j < n; j++) {
sys/cddl/boot/zfs/zfssubr.c
975
vdev_raidz_matrix_reconstruct(raidz_map_t *rm, int n, int nmissing,
sys/cddl/boot/zfs/zfssubr.c
990
psize = sizeof (invlog[0][0]) * n * nmissing;
sys/cddl/boot/zfs/zfssubr.c
999
pp += n;
sys/cddl/boot/zfs/zle.c
35
zle_decompress(void *s_start, void *d_start, size_t s_len, size_t d_len, int n)
sys/cddl/boot/zfs/zle.c
44
if (len <= n) {
sys/cddl/boot/zfs/zle.c
48
len -= n;
sys/cddl/compat/opensolaris/kern/opensolaris_proc.c
33
ssize_t n;
sys/cddl/compat/opensolaris/kern/opensolaris_proc.c
35
n = proc_readmem(curthread, p, uaddr, kaddr, len);
sys/cddl/compat/opensolaris/kern/opensolaris_proc.c
36
if (n != len)
sys/cddl/compat/opensolaris/kern/opensolaris_proc.c
44
ssize_t n;
sys/cddl/compat/opensolaris/kern/opensolaris_proc.c
46
n = proc_writemem(curthread, p, uaddr, kaddr, len);
sys/cddl/compat/opensolaris/kern/opensolaris_proc.c
47
if (n != len)
sys/cddl/compat/opensolaris/kern/opensolaris_string.c
57
strident_canon(char *s, size_t n)
sys/cddl/compat/opensolaris/kern/opensolaris_string.c
60
char *end = s + n - 1;
sys/cddl/compat/opensolaris/kern/opensolaris_uio.c
51
uiocopy(void *p, size_t n, enum uio_rw rw, struct uio *uio, size_t *cbytes)
sys/cddl/compat/opensolaris/kern/opensolaris_uio.c
68
error = vn_io_fault_uiomove(p, n, uio_clone);
sys/cddl/compat/opensolaris/kern/opensolaris_uio.c
79
uioskip(uio_t *uio, size_t n)
sys/cddl/compat/opensolaris/kern/opensolaris_uio.c
84
if (n > uio->uio_resid)
sys/cddl/compat/opensolaris/kern/opensolaris_uio.c
89
uiomove(NULL, n, uio->uio_rw, uio);
sys/cddl/compat/opensolaris/sys/kmem.h
78
void *calloc(size_t n, size_t s);
sys/cddl/dev/dtrace/aarch64/dtrace_isa.c
175
int n;
sys/cddl/dev/dtrace/aarch64/dtrace_isa.c
216
n = dtrace_getustack_common(pcstack, pcstack_limit, pc, fp);
sys/cddl/dev/dtrace/aarch64/dtrace_isa.c
217
ASSERT(n >= 0);
sys/cddl/dev/dtrace/aarch64/dtrace_isa.c
218
ASSERT(n <= pcstack_limit);
sys/cddl/dev/dtrace/aarch64/dtrace_isa.c
220
pcstack += n;
sys/cddl/dev/dtrace/aarch64/dtrace_isa.c
221
pcstack_limit -= n;
sys/cddl/dev/dtrace/aarch64/dtrace_isa.c
234
int n = 0;
sys/cddl/dev/dtrace/aarch64/dtrace_isa.c
244
n += dtrace_getustack_common(NULL, 0, pc, fp);
sys/cddl/dev/dtrace/aarch64/dtrace_isa.c
246
return (n);
sys/cddl/dev/dtrace/amd64/dtrace_isa.c
175
int n;
sys/cddl/dev/dtrace/amd64/dtrace_isa.c
217
n = dtrace_getustack_common(pcstack, pcstack_limit, pc, fp);
sys/cddl/dev/dtrace/amd64/dtrace_isa.c
218
ASSERT(n >= 0);
sys/cddl/dev/dtrace/amd64/dtrace_isa.c
219
ASSERT(n <= pcstack_limit);
sys/cddl/dev/dtrace/amd64/dtrace_isa.c
221
pcstack += n;
sys/cddl/dev/dtrace/amd64/dtrace_isa.c
222
pcstack_limit -= n;
sys/cddl/dev/dtrace/amd64/dtrace_isa.c
235
int n = 0;
sys/cddl/dev/dtrace/amd64/dtrace_isa.c
258
n++;
sys/cddl/dev/dtrace/amd64/dtrace_isa.c
261
n += dtrace_getustack_common(NULL, 0, pc, fp);
sys/cddl/dev/dtrace/amd64/dtrace_isa.c
263
return (n);
sys/cddl/dev/dtrace/dtrace_debug.c
233
int ch, n;
sys/cddl/dev/dtrace/dtrace_debug.c
295
for (n = 0;; ++fmt) {
sys/cddl/dev/dtrace/dtrace_debug.c
296
n = n * 10 + ch - '0';
sys/cddl/dev/dtrace/dtrace_debug.c
302
dwidth = n;
sys/cddl/dev/dtrace/dtrace_debug.c
304
width = n;
sys/cddl/dev/dtrace/dtrace_debug.c
316
n = *p++;
sys/cddl/dev/dtrace/dtrace_debug.c
317
if (num & (1 << (n - 1))) {
sys/cddl/dev/dtrace/dtrace_debug.c
319
for (; (n = *p) > ' '; ++p)
sys/cddl/dev/dtrace/dtrace_debug.c
320
dtrace_debug__putc(cpu, n);
sys/cddl/dev/dtrace/dtrace_debug.c
406
n = strlen (p);
sys/cddl/dev/dtrace/dtrace_debug.c
408
for (n = 0; n < dwidth && p[n]; n++)
sys/cddl/dev/dtrace/dtrace_debug.c
411
width -= n;
sys/cddl/dev/dtrace/dtrace_debug.c
416
while (n--)
sys/cddl/dev/dtrace/i386/dtrace_isa.c
220
int n;
sys/cddl/dev/dtrace/i386/dtrace_isa.c
262
n = dtrace_getustack_common(pcstack, pcstack_limit, pc, sp);
sys/cddl/dev/dtrace/i386/dtrace_isa.c
263
ASSERT(n >= 0);
sys/cddl/dev/dtrace/i386/dtrace_isa.c
264
ASSERT(n <= pcstack_limit);
sys/cddl/dev/dtrace/i386/dtrace_isa.c
266
pcstack += n;
sys/cddl/dev/dtrace/i386/dtrace_isa.c
267
pcstack_limit -= n;
sys/cddl/dev/dtrace/i386/dtrace_isa.c
280
int n = 0;
sys/cddl/dev/dtrace/i386/dtrace_isa.c
303
n++;
sys/cddl/dev/dtrace/i386/dtrace_isa.c
306
n += dtrace_getustack_common(NULL, 0, pc, fp);
sys/cddl/dev/dtrace/i386/dtrace_isa.c
308
return (n);
sys/cddl/dev/dtrace/powerpc/dtrace_isa.c
225
int n;
sys/cddl/dev/dtrace/powerpc/dtrace_isa.c
266
n = dtrace_getustack_common(pcstack, pcstack_limit, pc, sp);
sys/cddl/dev/dtrace/powerpc/dtrace_isa.c
267
ASSERT(n >= 0);
sys/cddl/dev/dtrace/powerpc/dtrace_isa.c
268
ASSERT(n <= pcstack_limit);
sys/cddl/dev/dtrace/powerpc/dtrace_isa.c
270
pcstack += n;
sys/cddl/dev/dtrace/powerpc/dtrace_isa.c
271
pcstack_limit -= n;
sys/cddl/dev/dtrace/powerpc/dtrace_isa.c
284
int n = 0;
sys/cddl/dev/dtrace/powerpc/dtrace_isa.c
310
n++;
sys/cddl/dev/dtrace/powerpc/dtrace_isa.c
313
n += dtrace_getustack_common(NULL, 0, pc, sp);
sys/cddl/dev/dtrace/powerpc/dtrace_isa.c
315
return (n);
sys/cddl/dev/dtrace/riscv/dtrace_isa.c
181
int n;
sys/cddl/dev/dtrace/riscv/dtrace_isa.c
224
n = dtrace_getustack_common(pcstack, pcstack_limit, pc, fp);
sys/cddl/dev/dtrace/riscv/dtrace_isa.c
225
ASSERT(n >= 0);
sys/cddl/dev/dtrace/riscv/dtrace_isa.c
226
ASSERT(n <= pcstack_limit);
sys/cddl/dev/dtrace/riscv/dtrace_isa.c
228
pcstack += n;
sys/cddl/dev/dtrace/riscv/dtrace_isa.c
229
pcstack_limit -= n;
sys/cddl/dev/dtrace/riscv/dtrace_isa.c
241
int n = 0;
sys/cddl/dev/dtrace/riscv/dtrace_isa.c
262
n++;
sys/cddl/dev/dtrace/riscv/dtrace_isa.c
265
n += dtrace_getustack_common(NULL, 0, pc, fp);
sys/cddl/dev/fbt/fbt.c
1007
cdp->cd_n = n;
sys/cddl/dev/fbt/fbt.c
1035
size_t n;
sys/cddl/dev/fbt/fbt.c
1038
n = vsnprintf(cd->cd_ptr, len, format, ap);
sys/cddl/dev/fbt/fbt.c
1041
cd->cd_ptr += MIN(n, len);
sys/cddl/dev/fbt/fbt.c
1042
cd->cd_len += n;
sys/cddl/dev/fbt/fbt.c
1155
uint_t info, n;
sys/cddl/dev/fbt/fbt.c
1206
n = CTF_V2_INFO_VLEN(info);
sys/cddl/dev/fbt/fbt.c
1209
n = CTF_V3_INFO_VLEN(info);
sys/cddl/dev/fbt/fbt.c
1212
if (kind == CTF_K_UNKNOWN && n == 0) {
sys/cddl/dev/fbt/fbt.c
1229
if (ndx >= n)
sys/cddl/dev/fbt/fbt.c
952
uint_t kind, n = 1, t;
sys/cddl/dev/fbt/fbt.c
970
n = ar.ctr_nelems;
sys/cddl/dev/kinst/aarch64/kinst_isa.c
283
int n, off;
sys/cddl/dev/kinst/aarch64/kinst_isa.c
344
for (n = 0; instr < limit; instr++) {
sys/cddl/dev/kinst/aarch64/kinst_isa.c
387
if (++n > KINST_PROBETAB_MAX) {
sys/cddl/dev/kinst/aarch64/kinst_isa.c
388
KINST_LOG("probe list full: %d entries", n);
sys/cddl/dev/kinst/amd64/kinst_isa.c
502
int error, instrsize, n, off;
sys/cddl/dev/kinst/amd64/kinst_isa.c
539
n = 0;
sys/cddl/dev/kinst/amd64/kinst_isa.c
575
if (++n > KINST_PROBETAB_MAX) {
sys/cddl/dev/kinst/amd64/kinst_isa.c
576
KINST_LOG("probe list full: %d entries", n);
sys/cddl/dev/kinst/riscv/kinst_isa.c
23
kinst_regoff(struct trapframe *frame, int n)
sys/cddl/dev/kinst/riscv/kinst_isa.c
25
switch (n) {
sys/cddl/dev/kinst/riscv/kinst_isa.c
38
return (_MATCH_REG(t[n - 5]));
sys/cddl/dev/kinst/riscv/kinst_isa.c
40
return (_MATCH_REG(s[n - 8]));
sys/cddl/dev/kinst/riscv/kinst_isa.c
42
return (_MATCH_REG(a[n - 10]));
sys/cddl/dev/kinst/riscv/kinst_isa.c
44
return (_MATCH_REG(s[n - 18 + 2]));
sys/cddl/dev/kinst/riscv/kinst_isa.c
450
int instrsize, n, off;
sys/cddl/dev/kinst/riscv/kinst_isa.c
46
return (_MATCH_REG(t[n - 28 + 3]));
sys/cddl/dev/kinst/riscv/kinst_isa.c
478
n = 0;
sys/cddl/dev/kinst/riscv/kinst_isa.c
48
panic("%s: unhandled register index %d", __func__, n);
sys/cddl/dev/kinst/riscv/kinst_isa.c
523
if (++n > KINST_PROBETAB_MAX) {
sys/cddl/dev/kinst/riscv/kinst_isa.c
524
KINST_LOG("probe list full: %d entries", n);
sys/cddl/dev/kinst/riscv/kinst_isa.c
53
kinst_c_regoff(struct trapframe *frame, int n)
sys/cddl/dev/kinst/riscv/kinst_isa.c
55
switch (n) {
sys/cddl/dev/kinst/riscv/kinst_isa.c
57
return (_MATCH_REG(s[n]));
sys/cddl/dev/kinst/riscv/kinst_isa.c
59
return (_MATCH_REG(a[n - 2]));
sys/cddl/dev/kinst/riscv/kinst_isa.c
61
panic("%s: unhandled register index %d", __func__, n);
sys/cddl/dev/profile/profile.c
357
char n[PROF_NAMELEN];
sys/cddl/dev/profile/profile.c
366
(void) snprintf(n, PROF_NAMELEN, "%s%d",
sys/cddl/dev/profile/profile.c
368
profile_create(NANOSEC / rate, n, PROF_PROFILE);
sys/cddl/dev/profile/profile.c
375
(void) snprintf(n, PROF_NAMELEN, "%s%d",
sys/cddl/dev/profile/profile.c
377
profile_create(NANOSEC / rate, n, PROF_TICK);
sys/compat/freebsd32/freebsd32_sysent.c
15
#define compat(n, name) .sy_narg = n, .sy_call = (sy_call_t *)__CONCAT(o, name)
sys/compat/freebsd32/freebsd32_sysent.c
17
#define compat(n, name) .sy_narg = 0, .sy_call = (sy_call_t *)nosys
sys/compat/freebsd32/freebsd32_sysent.c
21
#define compat4(n, name) .sy_narg = n, .sy_call = (sy_call_t *)__CONCAT(freebsd4_, name)
sys/compat/freebsd32/freebsd32_sysent.c
23
#define compat4(n, name) .sy_narg = 0, .sy_call = (sy_call_t *)nosys
sys/compat/freebsd32/freebsd32_sysent.c
27
#define compat6(n, name) .sy_narg = n, .sy_call = (sy_call_t *)__CONCAT(freebsd6_, name)
sys/compat/freebsd32/freebsd32_sysent.c
29
#define compat6(n, name) .sy_narg = 0, .sy_call = (sy_call_t *)nosys
sys/compat/freebsd32/freebsd32_sysent.c
33
#define compat7(n, name) .sy_narg = n, .sy_call = (sy_call_t *)__CONCAT(freebsd7_, name)
sys/compat/freebsd32/freebsd32_sysent.c
35
#define compat7(n, name) .sy_narg = 0, .sy_call = (sy_call_t *)nosys
sys/compat/freebsd32/freebsd32_sysent.c
39
#define compat10(n, name) .sy_narg = n, .sy_call = (sy_call_t *)__CONCAT(freebsd10_, name)
sys/compat/freebsd32/freebsd32_sysent.c
41
#define compat10(n, name) .sy_narg = 0, .sy_call = (sy_call_t *)nosys
sys/compat/freebsd32/freebsd32_sysent.c
45
#define compat11(n, name) .sy_narg = n, .sy_call = (sy_call_t *)__CONCAT(freebsd11_, name)
sys/compat/freebsd32/freebsd32_sysent.c
47
#define compat11(n, name) .sy_narg = 0, .sy_call = (sy_call_t *)nosys
sys/compat/freebsd32/freebsd32_sysent.c
51
#define compat12(n, name) .sy_narg = n, .sy_call = (sy_call_t *)__CONCAT(freebsd12_, name)
sys/compat/freebsd32/freebsd32_sysent.c
53
#define compat12(n, name) .sy_narg = 0, .sy_call = (sy_call_t *)nosys
sys/compat/freebsd32/freebsd32_sysent.c
57
#define compat13(n, name) .sy_narg = n, .sy_call = (sy_call_t *)__CONCAT(freebsd13_, name)
sys/compat/freebsd32/freebsd32_sysent.c
59
#define compat13(n, name) .sy_narg = 0, .sy_call = (sy_call_t *)nosys
sys/compat/freebsd32/freebsd32_sysent.c
63
#define compat14(n, name) .sy_narg = n, .sy_call = (sy_call_t *)__CONCAT(freebsd14_, name)
sys/compat/freebsd32/freebsd32_sysent.c
65
#define compat14(n, name) .sy_narg = 0, .sy_call = (sy_call_t *)nosys
sys/compat/linprocfs/linprocfs.c
781
int n;
sys/compat/linprocfs/linprocfs.c
785
for (n = 0; ; n++) {
sys/compat/linprocfs/linprocfs.c
786
if (swap_dev_info(n, &xsw, devname, sizeof(devname)) != 0)
sys/compat/linux/linux.h
304
#define lower_32_bits(n) ((uint32_t)((n) & 0xffffffff))
sys/compat/linux/linux_ioctl.h
879
#define LINUX_IOCTL_SET(n, low, high) \
sys/compat/linux/linux_ioctl.h
880
static linux_ioctl_function_t n##_linux_ioctl; \
sys/compat/linux/linux_ioctl.h
881
static struct linux_ioctl_handler n##_linux_handler = { \
sys/compat/linux/linux_ioctl.h
882
n##_linux_ioctl, \
sys/compat/linux/linux_ioctl.h
886
SYSINIT(n##_ioctl_register, SI_SUB_KLD, SI_ORDER_MIDDLE, \
sys/compat/linux/linux_ioctl.h
887
linux_ioctl_register_handler, &n##_linux_handler); \
sys/compat/linux/linux_ioctl.h
888
SYSUNINIT(n##_ioctl_unregister, SI_SUB_KLD, SI_ORDER_MIDDLE, \
sys/compat/linux/linux_ioctl.h
889
linux_ioctl_unregister_handler, &n##_linux_handler)
sys/compat/linux/linux_misc.c
2342
u_int i, n = 0;
sys/compat/linux/linux_misc.c
2348
n++;
sys/compat/linux/linux_misc.c
2357
td->td_retval[0] = n;
sys/compat/linux/linux_time.c
265
linux_to_native_clockid(clockid_t *n, clockid_t l)
sys/compat/linux/linux_time.c
279
*n = CLOCK_THREAD_CPUTIME_ID;
sys/compat/linux/linux_time.c
281
*n = CLOCK_PROCESS_CPUTIME_ID;
sys/compat/linux/linux_time.c
287
*n = CLOCK_REALTIME;
sys/compat/linux/linux_time.c
290
*n = CLOCK_UPTIME;
sys/compat/linux/linux_time.c
293
*n = CLOCK_PROCESS_CPUTIME_ID;
sys/compat/linux/linux_time.c
296
*n = CLOCK_THREAD_CPUTIME_ID;
sys/compat/linux/linux_time.c
299
*n = CLOCK_REALTIME_FAST;
sys/compat/linux/linux_time.c
303
*n = CLOCK_UPTIME_FAST;
sys/compat/linux/linux_time.c
306
*n = CLOCK_MONOTONIC;
sys/compat/linux/linux_vdso.c
68
size_t n, pages;
sys/compat/linux/linux_vdso.c
76
for (n = 0; n < pages; n++) {
sys/compat/linux/linux_vdso.c
77
m = vm_page_grab(obj, n,
sys/compat/linux/linux_vdso.c
81
pmap_qenter(addr + n * PAGE_SIZE, &m, 1);
sys/compat/linuxkpi/common/include/asm/atomic.h
268
#define try_cmpxchg(p, op, n) \
sys/compat/linuxkpi/common/include/asm/atomic.h
272
__typeof(*(p)) __p = __sync_val_compare_and_swap((p), (__o), (n)); \
sys/compat/linuxkpi/common/include/asm/uaccess.h
35
copy_to_user(void *to, const void *from, unsigned long n)
sys/compat/linuxkpi/common/include/asm/uaccess.h
37
if (linux_copyout(from, to, n) != 0)
sys/compat/linuxkpi/common/include/asm/uaccess.h
38
return n;
sys/compat/linuxkpi/common/include/asm/uaccess.h
44
copy_from_user(void *to, const void *from, unsigned long n)
sys/compat/linuxkpi/common/include/asm/uaccess.h
46
if (linux_copyin(from, to, n) != 0)
sys/compat/linuxkpi/common/include/asm/uaccess.h
47
return n;
sys/compat/linuxkpi/common/include/linux/bitops.h
46
#define BITMAP_LAST_WORD_MASK(n) (~0UL >> (BITS_PER_LONG - (n)))
sys/compat/linuxkpi/common/include/linux/bitops.h
47
#define BITS_TO_LONGS(n) howmany((n), BITS_PER_LONG)
sys/compat/linuxkpi/common/include/linux/bitops.h
52
#define BITS_TO_BYTES(n) howmany((n), BITS_PER_BYTE)
sys/compat/linuxkpi/common/include/linux/device.h
729
devm_kmemdup_array(struct device *dev, const void *src, size_t n, size_t len,
sys/compat/linuxkpi/common/include/linux/device.h
732
return (devm_kmemdup(dev, src, size_mul(n, len), gfp));
sys/compat/linuxkpi/common/include/linux/dma-buf-map.h
18
dma_buf_map_incr(struct dma_buf_map *dbm, size_t n)
sys/compat/linuxkpi/common/include/linux/dma-buf-map.h
21
dbm->vaddr_iomem += n;
sys/compat/linuxkpi/common/include/linux/dma-buf-map.h
23
dbm->vaddr += n;
sys/compat/linuxkpi/common/include/linux/dma-mapping.h
101
#define DMA_BIT_MASK(n) ((2ULL << ((n) - 1)) - 1ULL)
sys/compat/linuxkpi/common/include/linux/dma-mapping.h
388
#define dma_map_sg(d, s, n, r) dma_map_sg_attrs(d, s, n, r, 0)
sys/compat/linuxkpi/common/include/linux/dma-mapping.h
389
#define dma_unmap_sg(d, s, n, r) dma_unmap_sg_attrs(d, s, n, r, 0)
sys/compat/linuxkpi/common/include/linux/iosys-map.h
28
iosys_map_incr(struct iosys_map *ism, size_t n)
sys/compat/linuxkpi/common/include/linux/iosys-map.h
31
ism->vaddr_iomem += n;
sys/compat/linuxkpi/common/include/linux/iosys-map.h
33
ism->vaddr += n;
sys/compat/linuxkpi/common/include/linux/kernel.h
135
#define __KERNEL_DIV_ROUND_UP(x, n) howmany(x, n)
sys/compat/linuxkpi/common/include/linux/list.h
179
#define list_safe_reset_next(ptr, n, member) \
sys/compat/linuxkpi/common/include/linux/list.h
180
(n) = list_next_entry(ptr, member)
sys/compat/linuxkpi/common/include/linux/list.h
188
#define list_for_each_safe(p, n, head) \
sys/compat/linuxkpi/common/include/linux/list.h
189
for (p = (head)->next, n = (p)->next; p != (head); p = n, n = (p)->next)
sys/compat/linuxkpi/common/include/linux/list.h
195
#define list_for_each_entry_safe(p, n, h, field) \
sys/compat/linuxkpi/common/include/linux/list.h
197
n = list_entry((p)->field.next, typeof(*p), field); &(p)->field != (h);\
sys/compat/linuxkpi/common/include/linux/list.h
198
p = n, n = list_entry(n->field.next, typeof(*n), field))
sys/compat/linuxkpi/common/include/linux/list.h
208
#define list_for_each_entry_safe_from(pos, n, head, member) \
sys/compat/linuxkpi/common/include/linux/list.h
209
for (n = list_entry((pos)->member.next, typeof(*pos), member); \
sys/compat/linuxkpi/common/include/linux/list.h
211
pos = n, n = list_entry(n->member.next, typeof(*n), member))
sys/compat/linuxkpi/common/include/linux/list.h
217
#define list_for_each_entry_safe_reverse(p, n, h, field) \
sys/compat/linuxkpi/common/include/linux/list.h
219
n = list_entry((p)->field.prev, typeof(*p), field); &(p)->field != (h); \
sys/compat/linuxkpi/common/include/linux/list.h
220
p = n, n = list_entry(n->field.prev, typeof(*n), field))
sys/compat/linuxkpi/common/include/linux/list.h
228
#define list_for_each_prev_safe(p, n, h) \
sys/compat/linuxkpi/common/include/linux/list.h
229
for (p = (h)->prev, n = (p)->prev; \
sys/compat/linuxkpi/common/include/linux/list.h
231
p = n, n = (p)->prev)
sys/compat/linuxkpi/common/include/linux/list.h
372
hlist_del(struct hlist_node *n)
sys/compat/linuxkpi/common/include/linux/list.h
375
WRITE_ONCE(*(n->pprev), n->next);
sys/compat/linuxkpi/common/include/linux/list.h
376
if (n->next != NULL)
sys/compat/linuxkpi/common/include/linux/list.h
377
n->next->pprev = n->pprev;
sys/compat/linuxkpi/common/include/linux/list.h
381
hlist_del_init(struct hlist_node *n)
sys/compat/linuxkpi/common/include/linux/list.h
384
if (hlist_unhashed(n))
sys/compat/linuxkpi/common/include/linux/list.h
386
hlist_del(n);
sys/compat/linuxkpi/common/include/linux/list.h
387
INIT_HLIST_NODE(n);
sys/compat/linuxkpi/common/include/linux/list.h
391
hlist_add_head(struct hlist_node *n, struct hlist_head *h)
sys/compat/linuxkpi/common/include/linux/list.h
394
n->next = h->first;
sys/compat/linuxkpi/common/include/linux/list.h
396
h->first->pprev = &n->next;
sys/compat/linuxkpi/common/include/linux/list.h
397
WRITE_ONCE(h->first, n);
sys/compat/linuxkpi/common/include/linux/list.h
398
n->pprev = &h->first;
sys/compat/linuxkpi/common/include/linux/list.h
402
hlist_add_before(struct hlist_node *n, struct hlist_node *next)
sys/compat/linuxkpi/common/include/linux/list.h
405
n->pprev = next->pprev;
sys/compat/linuxkpi/common/include/linux/list.h
406
n->next = next;
sys/compat/linuxkpi/common/include/linux/list.h
407
next->pprev = &n->next;
sys/compat/linuxkpi/common/include/linux/list.h
408
WRITE_ONCE(*(n->pprev), n);
sys/compat/linuxkpi/common/include/linux/list.h
412
hlist_add_behind(struct hlist_node *n, struct hlist_node *prev)
sys/compat/linuxkpi/common/include/linux/list.h
415
n->next = prev->next;
sys/compat/linuxkpi/common/include/linux/list.h
416
WRITE_ONCE(prev->next, n);
sys/compat/linuxkpi/common/include/linux/list.h
417
n->pprev = &prev->next;
sys/compat/linuxkpi/common/include/linux/list.h
419
if (n->next != NULL)
sys/compat/linuxkpi/common/include/linux/list.h
420
n->next->pprev = &n->next;
sys/compat/linuxkpi/common/include/linux/list.h
496
#define hlist_for_each_safe(p, n, head) \
sys/compat/linuxkpi/common/include/linux/list.h
497
for (p = (head)->first; p && ({ n = (p)->next; 1; }); p = n)
sys/compat/linuxkpi/common/include/linux/list.h
516
#define hlist_for_each_entry_safe(pos, n, head, member) \
sys/compat/linuxkpi/common/include/linux/list.h
518
(pos) && ({ n = (pos)->member.next; 1; }); \
sys/compat/linuxkpi/common/include/linux/list.h
519
pos = hlist_entry_safe(n, typeof(*(pos)), member))
sys/compat/linuxkpi/common/include/linux/llist.h
84
#define llist_for_each_safe(pos, n, node) \
sys/compat/linuxkpi/common/include/linux/llist.h
87
((n) = (pos)->next, pos); \
sys/compat/linuxkpi/common/include/linux/llist.h
88
(pos) = (n))
sys/compat/linuxkpi/common/include/linux/llist.h
90
#define llist_for_each_entry_safe(pos, n, node, member) \
sys/compat/linuxkpi/common/include/linux/llist.h
93
(n = llist_entry(pos->member.next, __typeof(*pos), member), pos); \
sys/compat/linuxkpi/common/include/linux/llist.h
94
pos = n)
sys/compat/linuxkpi/common/include/linux/lockdep.h
103
#define might_lock_nested(m, n) do { } while (0)
sys/compat/linuxkpi/common/include/linux/log2.h
36
#define is_power_of_2(n) ({ \
sys/compat/linuxkpi/common/include/linux/log2.h
37
__typeof(n) _n = (n); \
sys/compat/linuxkpi/common/include/linux/math.h
47
#define DIV_ROUND_UP(x, n) howmany(x, n)
sys/compat/linuxkpi/common/include/linux/math.h
48
#define DIV_ROUND_UP_ULL(x, n) DIV_ROUND_UP((unsigned long long)(x), (n))
sys/compat/linuxkpi/common/include/linux/math.h
49
#define DIV_ROUND_DOWN_ULL(x, n) ((unsigned long long)(x) / (n))
sys/compat/linuxkpi/common/include/linux/math64.h
34
#define do_div(n, base) ({ \
sys/compat/linuxkpi/common/include/linux/math64.h
37
__rem = ((uint64_t)(n)) % __base; \
sys/compat/linuxkpi/common/include/linux/math64.h
38
(n) = ((uint64_t)(n)) / __base; \
sys/compat/linuxkpi/common/include/linux/overflow.h
230
#define overflows_type(n, T) \
sys/compat/linuxkpi/common/include/linux/overflow.h
231
__builtin_choose_expr(__is_constexpr(n), \
sys/compat/linuxkpi/common/include/linux/overflow.h
232
__overflows_type_constexpr(n, T), \
sys/compat/linuxkpi/common/include/linux/overflow.h
233
__overflows_type(n, T))
sys/compat/linuxkpi/common/include/linux/overflow.h
316
#define castable_to_type(n, T) \
sys/compat/linuxkpi/common/include/linux/overflow.h
317
__builtin_choose_expr(__is_constexpr(n), \
sys/compat/linuxkpi/common/include/linux/overflow.h
318
!__overflows_type_constexpr(n, T), \
sys/compat/linuxkpi/common/include/linux/overflow.h
319
__same_type(n, T))
sys/compat/linuxkpi/common/include/linux/page.h
81
#define nth_page(page,n) pfn_to_page(page_to_pfn(page) + (n))
sys/compat/linuxkpi/common/include/linux/pci.h
105
#define to_pci_dev(n) container_of(n, struct pci_dev, dev)
sys/compat/linuxkpi/common/include/linux/pid.h
41
#define pid_nr(n) (n)
sys/compat/linuxkpi/common/include/linux/pid.h
42
#define pid_vnr(n) (n)
sys/compat/linuxkpi/common/include/linux/rculist.h
101
n->next = prev->next;
sys/compat/linuxkpi/common/include/linux/rculist.h
102
n->pprev = &prev->next;
sys/compat/linuxkpi/common/include/linux/rculist.h
103
rcu_assign_pointer(hlist_next_rcu(prev), n);
sys/compat/linuxkpi/common/include/linux/rculist.h
104
if (n->next)
sys/compat/linuxkpi/common/include/linux/rculist.h
105
n->next->pprev = &n->next;
sys/compat/linuxkpi/common/include/linux/rculist.h
116
hlist_del_rcu(struct hlist_node *n)
sys/compat/linuxkpi/common/include/linux/rculist.h
118
struct hlist_node *next = n->next;
sys/compat/linuxkpi/common/include/linux/rculist.h
119
struct hlist_node **pprev = n->pprev;
sys/compat/linuxkpi/common/include/linux/rculist.h
127
hlist_add_head_rcu(struct hlist_node *n, struct hlist_head *h)
sys/compat/linuxkpi/common/include/linux/rculist.h
131
n->next = first;
sys/compat/linuxkpi/common/include/linux/rculist.h
132
n->pprev = &h->first;
sys/compat/linuxkpi/common/include/linux/rculist.h
133
rcu_assign_pointer(hlist_first_rcu(h), n);
sys/compat/linuxkpi/common/include/linux/rculist.h
135
first->pprev = &n->next;
sys/compat/linuxkpi/common/include/linux/rculist.h
139
hlist_del_init_rcu(struct hlist_node *n)
sys/compat/linuxkpi/common/include/linux/rculist.h
141
if (!hlist_unhashed(n)) {
sys/compat/linuxkpi/common/include/linux/rculist.h
142
hlist_del_rcu(n);
sys/compat/linuxkpi/common/include/linux/rculist.h
143
n->pprev = NULL;
sys/compat/linuxkpi/common/include/linux/rculist.h
99
hlist_add_behind_rcu(struct hlist_node *n, struct hlist_node *prev)
sys/compat/linuxkpi/common/include/linux/rcupdate.h
102
#define __rcu_var_name(n, f, l) \
sys/compat/linuxkpi/common/include/linux/rcupdate.h
103
__CONCAT(__CONCAT(__CONCAT(rcu_, n), _), __COUNTER__)
sys/compat/linuxkpi/common/include/linux/rcupdate.h
105
#define __rcu_dereference_protected(p, c, n) \
sys/compat/linuxkpi/common/include/linux/rcupdate.h
108
__func__, __LINE__, __XSTRING(n)); \
sys/compat/linuxkpi/common/include/linux/rcupdate.h
116
#define __rcu_dereference_check(p, c, n) \
sys/compat/linuxkpi/common/include/linux/rcupdate.h
118
__typeof(*p) *n = rcu_dereference(p); \
sys/compat/linuxkpi/common/include/linux/rcupdate.h
120
__func__, __LINE__, __XSTRING(n)); \
sys/compat/linuxkpi/common/include/linux/rcupdate.h
121
n; \
sys/compat/linuxkpi/common/include/linux/skbuff.h
1183
#define sk_pacing_shift_update(sock, n)
sys/compat/linuxkpi/common/include/linux/skbuff.h
659
struct sk_buff *p, *n;
sys/compat/linuxkpi/common/include/linux/skbuff.h
665
n = skb->next;
sys/compat/linuxkpi/common/include/linux/skbuff.h
666
KASSERT(p != NULL && n != NULL,
sys/compat/linuxkpi/common/include/linux/skbuff.h
667
("%s: skb %p q %p p %p n %p\n", __func__, skb, q, p, n));
sys/compat/linuxkpi/common/include/linux/skbuff.h
668
WRITE_ONCE(n->prev, p);
sys/compat/linuxkpi/common/include/linux/skbuff.h
669
WRITE_ONCE(p->next, n);
sys/compat/linuxkpi/common/include/linux/skbuff.h
771
struct sk_buff *p, struct sk_buff *n)
sys/compat/linuxkpi/common/include/linux/skbuff.h
780
WRITE_ONCE(e->next, n);
sys/compat/linuxkpi/common/include/linux/skbuff.h
781
WRITE_ONCE(((struct sk_buff_head_l *)n)->prev, e);
sys/compat/linuxkpi/common/include/linux/slab.h
194
kmalloc_array(size_t n, size_t size, gfp_t flags)
sys/compat/linuxkpi/common/include/linux/slab.h
196
if (WOULD_OVERFLOW(n, size))
sys/compat/linuxkpi/common/include/linux/slab.h
197
panic("%s: %zu * %zu overflowed", __func__, n, size);
sys/compat/linuxkpi/common/include/linux/slab.h
199
return (kmalloc(size * n, flags));
sys/compat/linuxkpi/common/include/linux/slab.h
203
kcalloc(size_t n, size_t size, gfp_t flags)
sys/compat/linuxkpi/common/include/linux/slab.h
206
return (kmalloc_array(n, size, flags));
sys/compat/linuxkpi/common/include/linux/slab.h
211
kmalloc_array_node(size_t n, size_t size, gfp_t flags, int node)
sys/compat/linuxkpi/common/include/linux/slab.h
213
if (WOULD_OVERFLOW(n, size))
sys/compat/linuxkpi/common/include/linux/slab.h
214
panic("%s: %zu * %zu overflowed", __func__, n, size);
sys/compat/linuxkpi/common/include/linux/slab.h
216
return (kmalloc_node(size * n, flags, node));
sys/compat/linuxkpi/common/include/linux/slab.h
220
kcalloc_node(size_t n, size_t size, gfp_t flags, int node)
sys/compat/linuxkpi/common/include/linux/slab.h
223
return (kmalloc_array_node(n, size, flags, node));
sys/compat/linuxkpi/common/include/linux/slab.h
228
krealloc_array(void *ptr, size_t n, size_t size, gfp_t flags)
sys/compat/linuxkpi/common/include/linux/slab.h
230
if (WOULD_OVERFLOW(n, size))
sys/compat/linuxkpi/common/include/linux/slab.h
233
return (krealloc(ptr, n * size, flags));
sys/compat/linuxkpi/common/include/linux/slab.h
266
kvmalloc_array(size_t n, size_t size, gfp_t flags)
sys/compat/linuxkpi/common/include/linux/slab.h
268
if (WOULD_OVERFLOW(n, size))
sys/compat/linuxkpi/common/include/linux/slab.h
269
panic("%s: %zu * %zu overflowed", __func__, n, size);
sys/compat/linuxkpi/common/include/linux/slab.h
271
return (kvmalloc(size * n, flags));
sys/compat/linuxkpi/common/include/linux/slab.h
51
#define kvcalloc(n, size, flags) kvmalloc_array(n, size, (flags) | __GFP_ZERO)
sys/compat/linuxkpi/common/include/linux/string.h
133
strndup_user(const char __user *ustr, long n)
sys/compat/linuxkpi/common/include/linux/string.h
135
if (n < 1)
sys/compat/linuxkpi/common/include/linux/string.h
138
return (memdup_user_nul(ustr, n - 1));
sys/compat/linuxkpi/common/include/linux/string.h
284
strnchr(const char *cp, size_t n, int ch)
sys/compat/linuxkpi/common/include/linux/string.h
288
for (p = __DECONST(char *, cp); n--; ++p) {
sys/compat/linuxkpi/common/include/linux/string.h
319
memset_p(void **p, void *v, size_t n)
sys/compat/linuxkpi/common/include/linux/string.h
323
return (memset32((uint32_t *)p, (uintptr_t)v, n));
sys/compat/linuxkpi/common/include/linux/string.h
325
return (memset64((uint64_t *)p, (uintptr_t)v, n));
sys/compat/linuxkpi/common/include/linux/string.h
50
match_string(const char *const *table, int n, const char *key)
sys/compat/linuxkpi/common/include/linux/string.h
54
for (i = 0; i != n && table[i] != NULL; i++) {
sys/compat/linuxkpi/common/include/linux/string.h
93
memdup_array_user(const void *src, size_t n, size_t size)
sys/compat/linuxkpi/common/include/linux/string.h
97
if (check_mul_overflow(n, size, &len))
sys/compat/linuxkpi/common/include/linux/types.h
75
#define DECLARE_BITMAP(n, bits) \
sys/compat/linuxkpi/common/include/linux/types.h
76
unsigned long n[howmany(bits, sizeof(long) * 8)]
sys/compat/linuxkpi/common/include/linux/uaccess.h
101
unsigned long n)
sys/compat/linuxkpi/common/include/linux/uaccess.h
110
return ((copyin_nofault(__DECONST(void *, from), to, n) != 0 ? n : 0));
sys/compat/linuxkpi/common/include/linux/uaccess.h
112
#define __copy_from_user_inatomic_nocache(to, from, n) \
sys/compat/linuxkpi/common/include/linux/uaccess.h
113
__copy_from_user_inatomic((to), (from), (n))
sys/compat/linuxkpi/common/include/linux/uaccess.h
119
#define copy_from_user_inatomic_nontemporal(to, from, n) \
sys/compat/linuxkpi/common/include/linux/uaccess.h
120
__copy_from_user_inatomic((to), (from), (n))
sys/compat/linuxkpi/common/include/linux/uaccess.h
91
__copy_to_user_inatomic(void __user *to, const void *from, unsigned n)
sys/compat/linuxkpi/common/include/linux/uaccess.h
94
return (copyout_nofault(from, to, n) != 0 ? n : 0);
sys/compat/linuxkpi/common/include/linux/uaccess.h
96
#define __copy_to_user_inatomic_nocache(to, from, n) \
sys/compat/linuxkpi/common/include/linux/uaccess.h
97
__copy_to_user_inatomic((to), (from), (n))
sys/compat/linuxkpi/common/include/linux/wordpart.h
10
#define lower_32_bits(n) ((u32)(n))
sys/compat/linuxkpi/common/include/linux/wordpart.h
11
#define upper_32_bits(n) ((u32)(((n) >> 16) >> 16))
sys/compat/linuxkpi/common/src/linux_80211.c
5017
int n;
sys/compat/linuxkpi/common/src/linux_80211.c
5050
int n;
sys/compat/linuxkpi/common/src/linux_80211.c
5055
n = hw->wiphy->bands[band]->n_channels;
sys/compat/linuxkpi/common/src/linux_80211.c
5056
for (i = 0; i < n; i++) {
sys/compat/linuxkpi/common/src/linux_80211.c
5153
n = 0;
sys/compat/linuxkpi/common/src/linux_80211.c
517
int band, i, n;
sys/compat/linuxkpi/common/src/linux_80211.c
5170
*(cpp + n++) = &channels[i];
sys/compat/linuxkpi/common/src/linux_80211.c
533
for (n = 0; n < ni->ni_rates.rs_nrates; n++) {
sys/compat/linuxkpi/common/src/linux_80211.c
539
supp_rate = ni->ni_rates.rs_rates[n] & (~IEEE80211_RATE_BASIC);
sys/compat/linuxkpi/common/src/linux_80211.c
540
basic = (ni->ni_rates.rs_rates[n] & IEEE80211_RATE_BASIC) != 0;
sys/compat/linuxkpi/common/src/linux_80211.c
6962
int *n, struct ieee80211_channel *c)
sys/compat/linuxkpi/common/src/linux_80211.c
7001
for (i = 0; i < nchans && *n < maxchan; i++) {
sys/compat/linuxkpi/common/src/linux_80211.c
7024
error = ieee80211_add_channel_cbw(c, maxchan, n,
sys/compat/linuxkpi/common/src/linux_80211.c
7074
for (i = 0; i < nchans && *n < maxchan; i++) {
sys/compat/linuxkpi/common/src/linux_80211.c
7097
error = ieee80211_add_channel_cbw(c, maxchan, n,
sys/compat/linuxkpi/common/src/linux_80211.c
7897
lkpi_get_linuxkpi_ieee80211_regdomain(size_t n)
sys/compat/linuxkpi/common/src/linux_80211.c
7901
regd = kzalloc(sizeof(*regd) + n * sizeof(struct ieee80211_reg_rule),
sys/compat/linuxkpi/common/src/linux_aperture.c
250
struct list_head *pos, *n;
sys/compat/linuxkpi/common/src/linux_aperture.c
254
list_for_each_safe(pos, n, &apertures) {
sys/compat/x86bios/x86bios.c
59
#define X86BIOS_TRACE(h, n, r) do { \
sys/compat/x86bios/x86bios.c
62
(n), (r)->R_AX, (r)->R_BX, (r)->R_CX, (r)->R_DX, \
sys/crypto/ccp/ccp.c
647
ccp_queue_reserve_space(struct ccp_queue *qp, unsigned n, int mflags)
sys/crypto/ccp/ccp.c
654
if (n < 1 || n >= (1 << sc->ring_size_order))
sys/crypto/ccp/ccp.c
658
if (ccp_queue_get_ring_space(qp) >= n)
sys/crypto/ccp/ccp.c
668
ccp_queue_acquire_reserve(struct ccp_queue *qp, unsigned n, int mflags)
sys/crypto/ccp/ccp.c
674
error = ccp_queue_reserve_space(qp, n, mflags);
sys/crypto/ccp/ccp.h
234
int ccp_queue_acquire_reserve(struct ccp_queue *qp, unsigned n, int mflags)
sys/crypto/ccp/ccp_hardware.c
671
int rid, error, n, ridcopy;
sys/crypto/ccp/ccp_hardware.c
673
n = pci_msix_count(sc->dev);
sys/crypto/ccp/ccp_hardware.c
674
if (n < 1) {
sys/crypto/ccp/ccp_hardware.c
675
device_printf(sc->dev, "%s: msix_count: %d\n", __func__, n);
sys/crypto/ccp/ccp_hardware.c
679
nvec = n;
sys/crypto/chacha20/chacha.c
25
#define ROTL32(v, n) \
sys/crypto/chacha20/chacha.c
26
(U32V((v) << (n)) | ((v) >> (32 - (n))))
sys/crypto/des/des_locl.h
109
#define l2cn(l1,l2,c,n) { \
sys/crypto/des/des_locl.h
110
c+=n; \
sys/crypto/des/des_locl.h
111
switch (n) { \
sys/crypto/des/des_locl.h
123
#define ROTATE(a,n) (((a)>>(n))+((a)<<(32-(n))))
sys/crypto/des/des_locl.h
340
#define PERM_OP(a,b,t,n,m) ((t)=((((a)>>(n))^(b))&(m)),\
sys/crypto/des/des_locl.h
342
(a)^=((t)<<(n)))
sys/crypto/des/des_locl.h
74
#define c2ln(c,l1,l2,n) { \
sys/crypto/des/des_locl.h
75
c+=n; \
sys/crypto/des/des_locl.h
77
switch (n) { \
sys/crypto/des/des_setkey.c
139
#define HPERM_OP(a,t,n,m) ((t)=((((a)<<(16-(n)))^(a))&(m)),\
sys/crypto/des/des_setkey.c
140
(a)=(a)^(t)^(t>>(16-(n))))
sys/crypto/libsodium/utils.c
26
sodium_memzero(void *b, size_t n)
sys/crypto/libsodium/utils.c
28
explicit_bzero(b, n);
sys/crypto/libsodium/utils.c
32
sodium_is_zero(const unsigned char *n, const size_t nlen)
sys/crypto/libsodium/utils.c
38
d |= n[i];
sys/crypto/md4c.c
77
#define ROTATE_LEFT(x, n) (((x) << (n)) | ((x) >> (32-(n))))
sys/crypto/md5c.c
63
unsigned int n = MD5_BLOCK_LENGTH - num;
sys/crypto/md5c.c
65
if (n > len)
sys/crypto/md5c.c
66
n = len;
sys/crypto/md5c.c
68
memcpy((char *)ctx->buffer + num, p, n);
sys/crypto/md5c.c
69
num += n;
sys/crypto/md5c.c
73
p += n;
sys/crypto/md5c.c
74
len -= n;
sys/crypto/md5c.c
78
unsigned n = len & ~(unsigned)(MD5_BLOCK_LENGTH - 1);
sys/crypto/md5c.c
80
md5block(ctx, p, n);
sys/crypto/md5c.c
81
p += n;
sys/crypto/md5c.c
82
len -= n;
sys/crypto/openssl/arm/ossl_aes_gcm_neon.c
116
unsigned int n;
sys/crypto/openssl/arm/ossl_aes_gcm_neon.c
127
n = ctx->gcm.ares;
sys/crypto/openssl/arm/ossl_aes_gcm_neon.c
128
if (n) {
sys/crypto/openssl/arm/ossl_aes_gcm_neon.c
129
while (n && len) {
sys/crypto/openssl/arm/ossl_aes_gcm_neon.c
130
ctx->gcm.Xi.c[n] ^= *(aad++);
sys/crypto/openssl/arm/ossl_aes_gcm_neon.c
132
n = (n + 1) % 16;
sys/crypto/openssl/arm/ossl_aes_gcm_neon.c
134
if (n == 0)
sys/crypto/openssl/arm/ossl_aes_gcm_neon.c
137
ctx->gcm.ares = n;
sys/crypto/openssl/arm/ossl_aes_gcm_neon.c
147
n = (unsigned int)len;
sys/crypto/openssl/arm/ossl_aes_gcm_neon.c
152
ctx->gcm.ares = n;
sys/crypto/openssl/arm/ossl_aes_gcm_neon.c
161
unsigned int n, ctr, mres;
sys/crypto/openssl/arm/ossl_aes_gcm_neon.c
185
n = mres % 16;
sys/crypto/openssl/arm/ossl_aes_gcm_neon.c
186
if (n) {
sys/crypto/openssl/arm/ossl_aes_gcm_neon.c
187
while (n && len) {
sys/crypto/openssl/arm/ossl_aes_gcm_neon.c
188
ctx->gcm.Xi.c[n] ^= *(out++) = *(in++) ^ ctx->gcm.EKi.c[n];
sys/crypto/openssl/arm/ossl_aes_gcm_neon.c
190
n = (n + 1) % 16;
sys/crypto/openssl/arm/ossl_aes_gcm_neon.c
192
if (n == 0) {
sys/crypto/openssl/arm/ossl_aes_gcm_neon.c
196
ctx->gcm.mres = n;
sys/crypto/openssl/arm/ossl_aes_gcm_neon.c
231
ctx->gcm.Xi.c[mres++] ^= out[n] = in[n] ^ ctx->gcm.EKi.c[n];
sys/crypto/openssl/arm/ossl_aes_gcm_neon.c
232
++n;
sys/crypto/openssl/arm/ossl_aes_gcm_neon.c
245
unsigned int n, ctr, mres;
sys/crypto/openssl/arm/ossl_aes_gcm_neon.c
268
n = mres % 16;
sys/crypto/openssl/arm/ossl_aes_gcm_neon.c
269
if (n) {
sys/crypto/openssl/arm/ossl_aes_gcm_neon.c
270
while (n && len) {
sys/crypto/openssl/arm/ossl_aes_gcm_neon.c
272
*(out++) = c ^ ctx->gcm.EKi.c[n];
sys/crypto/openssl/arm/ossl_aes_gcm_neon.c
273
ctx->gcm.Xi.c[n] ^= c;
sys/crypto/openssl/arm/ossl_aes_gcm_neon.c
275
n = (n + 1) % 16;
sys/crypto/openssl/arm/ossl_aes_gcm_neon.c
277
if (n == 0) {
sys/crypto/openssl/arm/ossl_aes_gcm_neon.c
281
ctx->gcm.mres = n;
sys/crypto/openssl/arm/ossl_aes_gcm_neon.c
320
uint8_t c = in[n];
sys/crypto/openssl/arm/ossl_aes_gcm_neon.c
322
out[n] = c ^ ctx->gcm.EKi.c[n];
sys/crypto/openssl/arm/ossl_aes_gcm_neon.c
323
++n;
sys/crypto/openssl/ossl_aes_gcm.c
214
unsigned int n;
sys/crypto/openssl/ossl_aes_gcm.c
225
n = ctx->gcm.ares;
sys/crypto/openssl/ossl_aes_gcm.c
226
if (n) {
sys/crypto/openssl/ossl_aes_gcm.c
227
while (n && len) {
sys/crypto/openssl/ossl_aes_gcm.c
228
ctx->gcm.Xi.c[n] ^= *(aad++);
sys/crypto/openssl/ossl_aes_gcm.c
230
n = (n + 1) % 16;
sys/crypto/openssl/ossl_aes_gcm.c
232
if (n == 0)
sys/crypto/openssl/ossl_aes_gcm.c
235
ctx->gcm.ares = n;
sys/crypto/openssl/ossl_aes_gcm.c
245
n = (unsigned int)len;
sys/crypto/openssl/ossl_aes_gcm.c
250
ctx->gcm.ares = n;
sys/crypto/openssl/ossl_aes_gcm.c
258
unsigned int n, ctr, mres;
sys/crypto/openssl/ossl_aes_gcm.c
281
n = mres % 16;
sys/crypto/openssl/ossl_aes_gcm.c
283
if (n == 0) {
sys/crypto/openssl/ossl_aes_gcm.c
293
ctx->gcm.Xi.c[n] ^= out[i] = in[i] ^ ctx->gcm.EKi.c[n];
sys/crypto/openssl/ossl_aes_gcm.c
294
mres = n = (n + 1) % 16;
sys/crypto/openssl/ossl_aes_gcm.c
295
if (n == 0)
sys/crypto/openssl/ossl_aes_gcm.c
307
unsigned int n, ctr, mres;
sys/crypto/openssl/ossl_aes_gcm.c
330
n = mres % 16;
sys/crypto/openssl/ossl_aes_gcm.c
331
if (n) {
sys/crypto/openssl/ossl_aes_gcm.c
332
while (n && len) {
sys/crypto/openssl/ossl_aes_gcm.c
333
ctx->gcm.Xi.c[n] ^= *(out++) = *(in++) ^ ctx->gcm.EKi.c[n];
sys/crypto/openssl/ossl_aes_gcm.c
335
n = (n + 1) % 16;
sys/crypto/openssl/ossl_aes_gcm.c
337
if (n == 0) {
sys/crypto/openssl/ossl_aes_gcm.c
341
ctx->gcm.mres = n;
sys/crypto/openssl/ossl_aes_gcm.c
373
ctx->gcm.Xi.c[mres++] ^= out[n] = in[n] ^ ctx->gcm.EKi.c[n];
sys/crypto/openssl/ossl_aes_gcm.c
374
++n;
sys/crypto/openssl/ossl_aes_gcm.c
409
unsigned int n, ctr, mres;
sys/crypto/openssl/ossl_aes_gcm.c
432
n = mres % 16;
sys/crypto/openssl/ossl_aes_gcm.c
435
if (n == 0) {
sys/crypto/openssl/ossl_aes_gcm.c
446
out[i] = c ^ ctx->gcm.EKi.c[n];
sys/crypto/openssl/ossl_aes_gcm.c
447
ctx->gcm.Xi.c[n] ^= c;
sys/crypto/openssl/ossl_aes_gcm.c
448
mres = n = (n + 1) % 16;
sys/crypto/openssl/ossl_aes_gcm.c
449
if (n == 0)
sys/crypto/openssl/ossl_aes_gcm.c
461
unsigned int n, ctr, mres;
sys/crypto/openssl/ossl_aes_gcm.c
484
n = mres % 16;
sys/crypto/openssl/ossl_aes_gcm.c
485
if (n) {
sys/crypto/openssl/ossl_aes_gcm.c
486
while (n && len) {
sys/crypto/openssl/ossl_aes_gcm.c
488
*(out++) = c ^ ctx->gcm.EKi.c[n];
sys/crypto/openssl/ossl_aes_gcm.c
489
ctx->gcm.Xi.c[n] ^= c;
sys/crypto/openssl/ossl_aes_gcm.c
491
n = (n + 1) % 16;
sys/crypto/openssl/ossl_aes_gcm.c
493
if (n == 0) {
sys/crypto/openssl/ossl_aes_gcm.c
497
ctx->gcm.mres = n;
sys/crypto/openssl/ossl_aes_gcm.c
533
uint8_t c = in[n];
sys/crypto/openssl/ossl_aes_gcm.c
535
out[n] = c ^ ctx->gcm.EKi.c[n];
sys/crypto/openssl/ossl_aes_gcm.c
536
++n;
sys/crypto/openssl/ossl_hash.h
112
size_t n = c->num;
sys/crypto/openssl/ossl_hash.h
114
p[n] = 0x80; /* there is always room for one */
sys/crypto/openssl/ossl_hash.h
115
n++;
sys/crypto/openssl/ossl_hash.h
117
if (n > (HASH_CBLOCK - 8)) {
sys/crypto/openssl/ossl_hash.h
118
memset(p + n, 0, HASH_CBLOCK - n);
sys/crypto/openssl/ossl_hash.h
119
n = 0;
sys/crypto/openssl/ossl_hash.h
122
memset(p + n, 0, HASH_CBLOCK - 8 - n);
sys/crypto/openssl/ossl_hash.h
54
size_t n;
sys/crypto/openssl/ossl_hash.h
66
n = c->num;
sys/crypto/openssl/ossl_hash.h
67
if (n != 0) {
sys/crypto/openssl/ossl_hash.h
70
if (len >= HASH_CBLOCK || len + n >= HASH_CBLOCK) {
sys/crypto/openssl/ossl_hash.h
71
memcpy(p + n, data, HASH_CBLOCK - n);
sys/crypto/openssl/ossl_hash.h
73
n = HASH_CBLOCK - n;
sys/crypto/openssl/ossl_hash.h
74
data += n;
sys/crypto/openssl/ossl_hash.h
75
len -= n;
sys/crypto/openssl/ossl_hash.h
85
memcpy(p + n, data, len);
sys/crypto/openssl/ossl_hash.h
91
n = len / HASH_CBLOCK;
sys/crypto/openssl/ossl_hash.h
92
if (n > 0) {
sys/crypto/openssl/ossl_hash.h
93
HASH_BLOCK_DATA_ORDER(c, data, n);
sys/crypto/openssl/ossl_hash.h
94
n *= HASH_CBLOCK;
sys/crypto/openssl/ossl_hash.h
95
data += n;
sys/crypto/openssl/ossl_hash.h
96
len -= n;
sys/crypto/openssl/ossl_sha512.c
110
for (n = 0; n < SHA224_DIGEST_LENGTH / 8; n++) {
sys/crypto/openssl/ossl_sha512.c
111
SHA_LONG64 t = c->h[n];
sys/crypto/openssl/ossl_sha512.c
136
for (n = 0; n < SHA256_DIGEST_LENGTH / 8; n++) {
sys/crypto/openssl/ossl_sha512.c
137
SHA_LONG64 t = c->h[n];
sys/crypto/openssl/ossl_sha512.c
150
for (n = 0; n < SHA384_DIGEST_LENGTH / 8; n++) {
sys/crypto/openssl/ossl_sha512.c
151
SHA_LONG64 t = c->h[n];
sys/crypto/openssl/ossl_sha512.c
164
for (n = 0; n < SHA512_DIGEST_LENGTH / 8; n++) {
sys/crypto/openssl/ossl_sha512.c
165
SHA_LONG64 t = c->h[n];
sys/crypto/openssl/ossl_sha512.c
202
size_t n = sizeof(c->u) - c->num;
sys/crypto/openssl/ossl_sha512.c
204
if (len < n) {
sys/crypto/openssl/ossl_sha512.c
208
memcpy(p + c->num, data, n), c->num = 0;
sys/crypto/openssl/ossl_sha512.c
209
len -= n, data += n;
sys/crypto/openssl/ossl_sha512.c
72
size_t n = c->num;
sys/crypto/openssl/ossl_sha512.c
74
p[n] = 0x80; /* There always is a room for one */
sys/crypto/openssl/ossl_sha512.c
75
n++;
sys/crypto/openssl/ossl_sha512.c
76
if (n > (sizeof(c->u) - 16)) {
sys/crypto/openssl/ossl_sha512.c
77
memset(p + n, 0, sizeof(c->u) - n);
sys/crypto/openssl/ossl_sha512.c
78
n = 0;
sys/crypto/openssl/ossl_sha512.c
82
memset(p + n, 0, sizeof(c->u) - 16 - n);
sys/crypto/sha1.c
64
#define S(n, x) (((x) << (n)) | ((x) >> (32 - n)))
sys/crypto/sha1.c
66
#define H(n) (ctxt->h.b32[(n)])
sys/crypto/sha1.c
69
#define W(n) (ctxt->m.b32[(n)])
sys/crypto/sha2/sha256c.c
109
#define SHR(x, n) (x >> n)
sys/crypto/sha2/sha256c.c
110
#define ROTR(x, n) ((x >> n) | (x << (32 - n)))
sys/crypto/sha2/sha512c.c
138
#define SHR(x, n) (x >> n)
sys/crypto/sha2/sha512c.c
139
#define ROTR(x, n) ((x >> n) | (x << (64 - n)))
sys/crypto/skein/skein.c
143
size_t n;
sys/crypto/skein/skein.c
152
n = SKEIN_256_BLOCK_BYTES - ctx->h.bCnt; /* # bytes free in buffer b[] */
sys/crypto/skein/skein.c
153
if (n)
sys/crypto/skein/skein.c
155
Skein_assert(n < msgByteCnt); /* check on our logic here */
sys/crypto/skein/skein.c
156
memcpy(&ctx->b[ctx->h.bCnt],msg,n);
sys/crypto/skein/skein.c
157
msgByteCnt -= n;
sys/crypto/skein/skein.c
158
msg += n;
sys/crypto/skein/skein.c
159
ctx->h.bCnt += n;
sys/crypto/skein/skein.c
168
n = (msgByteCnt-1) / SKEIN_256_BLOCK_BYTES; /* number of full blocks to process */
sys/crypto/skein/skein.c
169
Skein_256_Process_Block(ctx,msg,n,SKEIN_256_BLOCK_BYTES);
sys/crypto/skein/skein.c
170
msgByteCnt -= n * SKEIN_256_BLOCK_BYTES;
sys/crypto/skein/skein.c
171
msg += n * SKEIN_256_BLOCK_BYTES;
sys/crypto/skein/skein.c
191
size_t i,n,byteCnt;
sys/crypto/skein/skein.c
212
n = byteCnt - i*SKEIN_256_BLOCK_BYTES; /* number of output bytes left to go */
sys/crypto/skein/skein.c
213
if (n >= SKEIN_256_BLOCK_BYTES)
sys/crypto/skein/skein.c
214
n = SKEIN_256_BLOCK_BYTES;
sys/crypto/skein/skein.c
215
Skein_Put64_LSB_First(hashVal+i*SKEIN_256_BLOCK_BYTES,ctx->X,n); /* "output" the ctr mode bytes */
sys/crypto/skein/skein.c
216
Skein_Show_Final(256,&ctx->h,n,hashVal+i*SKEIN_256_BLOCK_BYTES);
sys/crypto/skein/skein.c
341
size_t n;
sys/crypto/skein/skein.c
350
n = SKEIN_512_BLOCK_BYTES - ctx->h.bCnt; /* # bytes free in buffer b[] */
sys/crypto/skein/skein.c
351
if (n)
sys/crypto/skein/skein.c
353
Skein_assert(n < msgByteCnt); /* check on our logic here */
sys/crypto/skein/skein.c
354
memcpy(&ctx->b[ctx->h.bCnt],msg,n);
sys/crypto/skein/skein.c
355
msgByteCnt -= n;
sys/crypto/skein/skein.c
356
msg += n;
sys/crypto/skein/skein.c
357
ctx->h.bCnt += n;
sys/crypto/skein/skein.c
366
n = (msgByteCnt-1) / SKEIN_512_BLOCK_BYTES; /* number of full blocks to process */
sys/crypto/skein/skein.c
367
Skein_512_Process_Block(ctx,msg,n,SKEIN_512_BLOCK_BYTES);
sys/crypto/skein/skein.c
368
msgByteCnt -= n * SKEIN_512_BLOCK_BYTES;
sys/crypto/skein/skein.c
369
msg += n * SKEIN_512_BLOCK_BYTES;
sys/crypto/skein/skein.c
389
size_t i,n,byteCnt;
sys/crypto/skein/skein.c
410
n = byteCnt - i*SKEIN_512_BLOCK_BYTES; /* number of output bytes left to go */
sys/crypto/skein/skein.c
411
if (n >= SKEIN_512_BLOCK_BYTES)
sys/crypto/skein/skein.c
412
n = SKEIN_512_BLOCK_BYTES;
sys/crypto/skein/skein.c
413
Skein_Put64_LSB_First(hashVal+i*SKEIN_512_BLOCK_BYTES,ctx->X,n); /* "output" the ctr mode bytes */
sys/crypto/skein/skein.c
414
Skein_Show_Final(512,&ctx->h,n,hashVal+i*SKEIN_512_BLOCK_BYTES);
sys/crypto/skein/skein.c
538
size_t n;
sys/crypto/skein/skein.c
547
n = SKEIN1024_BLOCK_BYTES - ctx->h.bCnt; /* # bytes free in buffer b[] */
sys/crypto/skein/skein.c
548
if (n)
sys/crypto/skein/skein.c
550
Skein_assert(n < msgByteCnt); /* check on our logic here */
sys/crypto/skein/skein.c
551
memcpy(&ctx->b[ctx->h.bCnt],msg,n);
sys/crypto/skein/skein.c
552
msgByteCnt -= n;
sys/crypto/skein/skein.c
553
msg += n;
sys/crypto/skein/skein.c
554
ctx->h.bCnt += n;
sys/crypto/skein/skein.c
563
n = (msgByteCnt-1) / SKEIN1024_BLOCK_BYTES; /* number of full blocks to process */
sys/crypto/skein/skein.c
564
Skein1024_Process_Block(ctx,msg,n,SKEIN1024_BLOCK_BYTES);
sys/crypto/skein/skein.c
565
msgByteCnt -= n * SKEIN1024_BLOCK_BYTES;
sys/crypto/skein/skein.c
566
msg += n * SKEIN1024_BLOCK_BYTES;
sys/crypto/skein/skein.c
586
size_t i,n,byteCnt;
sys/crypto/skein/skein.c
607
n = byteCnt - i*SKEIN1024_BLOCK_BYTES; /* number of output bytes left to go */
sys/crypto/skein/skein.c
608
if (n >= SKEIN1024_BLOCK_BYTES)
sys/crypto/skein/skein.c
609
n = SKEIN1024_BLOCK_BYTES;
sys/crypto/skein/skein.c
610
Skein_Put64_LSB_First(hashVal+i*SKEIN1024_BLOCK_BYTES,ctx->X,n); /* "output" the ctr mode bytes */
sys/crypto/skein/skein.c
611
Skein_Show_Final(1024,&ctx->h,n,hashVal+i*SKEIN1024_BLOCK_BYTES);
sys/crypto/skein/skein.c
681
size_t i,n,byteCnt;
sys/crypto/skein/skein.c
696
n = byteCnt - i*SKEIN_256_BLOCK_BYTES; /* number of output bytes left to go */
sys/crypto/skein/skein.c
697
if (n >= SKEIN_256_BLOCK_BYTES)
sys/crypto/skein/skein.c
698
n = SKEIN_256_BLOCK_BYTES;
sys/crypto/skein/skein.c
699
Skein_Put64_LSB_First(hashVal+i*SKEIN_256_BLOCK_BYTES,ctx->X,n); /* "output" the ctr mode bytes */
sys/crypto/skein/skein.c
700
Skein_Show_Final(256,&ctx->h,n,hashVal+i*SKEIN_256_BLOCK_BYTES);
sys/crypto/skein/skein.c
710
size_t i,n,byteCnt;
sys/crypto/skein/skein.c
725
n = byteCnt - i*SKEIN_512_BLOCK_BYTES; /* number of output bytes left to go */
sys/crypto/skein/skein.c
726
if (n >= SKEIN_512_BLOCK_BYTES)
sys/crypto/skein/skein.c
727
n = SKEIN_512_BLOCK_BYTES;
sys/crypto/skein/skein.c
728
Skein_Put64_LSB_First(hashVal+i*SKEIN_512_BLOCK_BYTES,ctx->X,n); /* "output" the ctr mode bytes */
sys/crypto/skein/skein.c
729
Skein_Show_Final(256,&ctx->h,n,hashVal+i*SKEIN_512_BLOCK_BYTES);
sys/crypto/skein/skein.c
739
size_t i,n,byteCnt;
sys/crypto/skein/skein.c
754
n = byteCnt - i*SKEIN1024_BLOCK_BYTES; /* number of output bytes left to go */
sys/crypto/skein/skein.c
755
if (n >= SKEIN1024_BLOCK_BYTES)
sys/crypto/skein/skein.c
756
n = SKEIN1024_BLOCK_BYTES;
sys/crypto/skein/skein.c
757
Skein_Put64_LSB_First(hashVal+i*SKEIN1024_BLOCK_BYTES,ctx->X,n); /* "output" the ctr mode bytes */
sys/crypto/skein/skein.c
758
Skein_Show_Final(256,&ctx->h,n,hashVal+i*SKEIN1024_BLOCK_BYTES);
sys/crypto/skein/skein.h
167
#define SKEIN_T1_TREE_LEVEL(n) (((u64b_t) (n)) << SKEIN_T1_POS_TREE_LVL)
sys/crypto/skein/skein_debug.c
177
uint_t n;
sys/crypto/skein/skein_debug.c
185
n = (uint_t) ((h->T[1] & SKEIN_T1_BLK_TYPE_MASK) >> SKEIN_T1_POS_BLK_TYPE);
sys/crypto/skein/skein_debug.c
186
switch (n)
sys/crypto/skein/skein_debug.c
195
default: printf("0x%02X.",n); break;
sys/crypto/skein/skein_debug.c
201
n = (uint_t) ((h->T[1] & SKEIN_T1_TREE_LVL_MASK) >> SKEIN_T1_POS_TREE_LVL);
sys/crypto/skein/skein_debug.c
202
if (n)
sys/crypto/skein/skein_debug.c
203
printf(" TreeLevel = %02X",n);
sys/crypto/skein/skein_port.h
106
size_t n;
sys/crypto/skein/skein_port.h
108
for (n = 0; n < wCnt; n++)
sys/crypto/skein/skein_port.h
109
dst[n] = le64dec(src + n * 8);
sys/crypto/skein/skein_port.h
91
size_t n;
sys/crypto/skein/skein_port.h
93
for (n = 0; n < bCnt / 8; n++)
sys/crypto/skein/skein_port.h
94
le64enc(dst + n * 8, src[n]);
sys/ddb/db_command.c
252
int n = strcmp(cmd->name, c->name);
sys/ddb/db_command.c
255
if (n == 0) {
sys/ddb/db_command.c
260
if (n < 0) {
sys/ddb/db_input.c
107
db_delete(int n, int bwd)
sys/ddb/db_input.c
112
db_lc -= n;
sys/ddb/db_input.c
113
db_putnchars(BACKUP, n);
sys/ddb/db_input.c
115
for (p = db_lc; p < db_le-n; p++) {
sys/ddb/db_input.c
116
*p = *(p+n);
sys/ddb/db_input.c
119
db_putnchars(BLANK, n);
sys/ddb/db_input.c
121
db_le -= n;
sys/ddb/db_input.c
79
static void db_delete(int n, int bwd);
sys/ddb/db_lex.c
167
int c, n, radix_mode;
sys/ddb/db_lex.c
189
for (n = 0; c <= ' ' || c > '~'; n++) {
sys/ddb/db_lex.c
194
if (lex_wspace && n != 0) {
sys/ddb/db_lex.h
70
#define BIT(n) (1ull << (n))
sys/ddb/db_sym.c
301
int n = strlen(db_symtabs[i].name);
sys/ddb/db_sym.c
304
n == (cp - symstr) &&
sys/ddb/db_sym.c
305
strncmp(symstr, db_symtabs[i].name, n) == 0
sys/dev/acpi_support/atk0110.c
339
int i, n;
sys/dev/acpi_support/atk0110.c
378
n = o[0].Integer.Value;
sys/dev/acpi_support/atk0110.c
379
if (bp->Package.Count - 1 < n) {
sys/dev/acpi_support/atk0110.c
383
} else if (bp->Package.Count - 1 > n) {
sys/dev/acpi_support/atk0110.c
384
int on = n;
sys/dev/acpi_support/atk0110.c
387
n = bp->Package.Count - 1;
sys/dev/acpi_support/atk0110.c
390
", assume %i\n", name, on, bp->Package.Count - 1, n);
sys/dev/acpi_support/atk0110.c
392
if (n < 1) {
sys/dev/acpi_support/atk0110.c
399
as = malloc(sizeof(*as) * n, M_DEVBUF, M_WAITOK | M_ZERO);
sys/dev/acpi_support/atk0110.c
417
for (i = 0, o++; i < n; i++, o++) {
sys/dev/acpica/acpi_cmbat.c
330
int i, n;
sys/dev/acpica/acpi_cmbat.c
347
for (n = 0; n < nitems(bobjs); n++) {
sys/dev/acpica/acpi_cmbat.c
348
as = AcpiEvaluateObject(h, bobjs[n].name, NULL, &bix_buffer);
sys/dev/acpica/acpi_cmbat.c
358
if (n == nitems(bobjs)) {
sys/dev/acpica/acpi_cmbat.c
379
switch (bobjs[n].type) {
sys/dev/acpica/acpi_video.c
1091
int num, i, n, *levels;
sys/dev/acpica/acpi_video.c
1114
for (i = 0, n = 0; i < num; i++)
sys/dev/acpica/acpi_video.c
1115
if (acpi_PkgInt32(res, i, &levels[n]) == 0)
sys/dev/acpica/acpi_video.c
1116
n++;
sys/dev/acpica/acpi_video.c
1117
if (n < 2) {
sys/dev/acpica/acpi_video.c
1122
return (n);
sys/dev/acpica/acpi_video.c
562
int n, x;
sys/dev/acpica/acpi_video.c
603
n = 0;
sys/dev/acpica/acpi_video.c
606
if (vn->vo_unit.num != n)
sys/dev/acpica/acpi_video.c
609
n++;
sys/dev/acpica/acpi_video.c
612
snprintf(name, sizeof(name), "%s%d", type, n);
sys/dev/acpica/acpi_video.c
618
vo->vo_unit.num = n;
sys/dev/age/if_age.c
2243
struct mbuf *n;
sys/dev/age/if_age.c
2261
MGETHDR(n, M_NOWAIT, MT_DATA);
sys/dev/age/if_age.c
2262
if (n == NULL) {
sys/dev/age/if_age.c
2267
bcopy(m->m_data, n->m_data, ETHER_HDR_LEN);
sys/dev/age/if_age.c
2270
n->m_len = ETHER_HDR_LEN;
sys/dev/age/if_age.c
2271
M_MOVE_PKTHDR(n, m);
sys/dev/age/if_age.c
2272
n->m_next = m;
sys/dev/age/if_age.c
2273
return (n);
sys/dev/agp/agp_amd64.c
165
int i, n, error;
sys/dev/agp/agp_amd64.c
167
for (i = 0, n = 0; i < PCI_SLOTMAX && n < AMD64_MAX_MCTRL; i++) {
sys/dev/agp/agp_amd64.c
170
sc->mctrl[n] = i;
sys/dev/agp/agp_amd64.c
171
n++;
sys/dev/agp/agp_amd64.c
174
if (n == 0)
sys/dev/agp/agp_amd64.c
177
sc->n_mctrl = n;
sys/dev/ahci/ahci.c
745
ahci_getch(device_t dev, int n)
sys/dev/ahci/ahci.c
750
KASSERT(n >= 0 && n < AHCI_MAX_PORTS, ("Bad channel number %d", n));
sys/dev/ahci/ahci.c
752
ch = ctlr->ch[n];
sys/dev/ahci/ahci.h
674
struct ahci_channel * ahci_getch(device_t dev, int n);
sys/dev/al_eth/al_eth.h
153
#define AL_ETH_RX_RING_IDX_ADD(rx_ring, idx, n) (((idx) + (n)) & (AL_ETH_DEFAULT_RX_DESCS - 1))
sys/dev/alc/if_alc.c
1733
#define ALC_SYSCTL_STAT_ADD32(c, h, n, p, d) \
sys/dev/alc/if_alc.c
1734
SYSCTL_ADD_UINT(c, h, OID_AUTO, n, CTLFLAG_RD, p, 0, d)
sys/dev/alc/if_alc.c
1735
#define ALC_SYSCTL_STAT_ADD64(c, h, n, p, d) \
sys/dev/alc/if_alc.c
1736
SYSCTL_ADD_UQUAD(c, h, OID_AUTO, n, CTLFLAG_RD, p, d)
sys/dev/alc/if_alc.c
3590
struct mbuf *n;
sys/dev/alc/if_alc.c
3608
MGETHDR(n, M_NOWAIT, MT_DATA);
sys/dev/alc/if_alc.c
3609
if (n == NULL) {
sys/dev/alc/if_alc.c
3614
bcopy(m->m_data, n->m_data, ETHER_HDR_LEN);
sys/dev/alc/if_alc.c
3617
n->m_len = ETHER_HDR_LEN;
sys/dev/alc/if_alc.c
3618
M_MOVE_PKTHDR(n, m);
sys/dev/alc/if_alc.c
3619
n->m_next = m;
sys/dev/alc/if_alc.c
3620
return (n);
sys/dev/ale/if_ale.c
744
#define ALE_SYSCTL_STAT_ADD32(c, h, n, p, d) \
sys/dev/ale/if_ale.c
745
SYSCTL_ADD_UINT(c, h, OID_AUTO, n, CTLFLAG_RD, p, 0, d)
sys/dev/ale/if_ale.c
747
#define ALE_SYSCTL_STAT_ADD64(c, h, n, p, d) \
sys/dev/ale/if_ale.c
748
SYSCTL_ADD_UQUAD(c, h, OID_AUTO, n, CTLFLAG_RD, p, d)
sys/dev/amdgpio/amdgpio.h
116
#define GPIO_PIN_INFO(p, n) { .pin_num = (p), .pin_name = (n) }
sys/dev/aq/aq_fw2x.c
525
#define AQ_MDIO_IFACE(n) (0x280 + (((n) - 1) * 4))
sys/dev/aq/aq_hw.c
509
uint32_t n = howmany(MAX(hw->tx_rings_count, 1U),
sys/dev/aq/aq_hw.c
512
return (MIN(n, HW_ATL_B0_TCS_MAX));
sys/dev/aq/aq_main.c
588
int i, n = sizeof(ring->stats) / sizeof(counter_u64_t);
sys/dev/aq/aq_main.c
590
for (i = 0; i < n; i++) {
sys/dev/aq/aq_main.c
607
int i, n = sizeof(ring->stats) / sizeof(counter_u64_t);
sys/dev/aq/aq_main.c
609
for (i = 0; i < n; i++) {
sys/dev/ath/ath_hal/ah.c
331
ath_hal_reverseBits(uint32_t val, uint32_t n)
sys/dev/ath/ath_hal/ah.c
336
for (i = 0, retval = 0; i < n; i++) {
sys/dev/ath/ath_hal/ah.c
351
#define HT_LTF(n) ((n) * 4)
sys/dev/ath/ath_hal/ah_eeprom_v1.h
49
#define AR_EEPROM_ATHEROS(n) (AR_EEPROM_ATHEROS_BASE+(n))
sys/dev/ath/ath_hal/ah_internal.h
621
extern uint32_t ath_hal_reverseBits(uint32_t val, uint32_t n);
sys/dev/ath/ath_hal/ar5210/ar5210reg.h
106
#define AR_KEYTABLE(n) (AR_KEYTABLE_0 + ((n)*32))
sys/dev/ath/ath_hal/ar5210/ar5210reg.h
281
#define AR_GPIOCR_IN(n) (0<<((n)*2)) /* input-only */
sys/dev/ath/ath_hal/ar5210/ar5210reg.h
282
#define AR_GPIOCR_OUT0(n) (1<<((n)*2)) /* output-only if GPIODO = 0 */
sys/dev/ath/ath_hal/ar5210/ar5210reg.h
283
#define AR_GPIOCR_OUT1(n) (2<<((n)*2)) /* output-only if GPIODO = 1 */
sys/dev/ath/ath_hal/ar5210/ar5210reg.h
284
#define AR_GPIOCR_OUT(n) (3<<((n)*2)) /* always output */
sys/dev/ath/ath_hal/ar5210/ar5210reg.h
285
#define AR_GPIOCR_ALL(n) (3<<((n)*2)) /* all bits for pin */
sys/dev/ath/ath_hal/ar5210/ar5210reg.h
286
#define AR_GPIOCR_INT_SEL(n) ((n)<<12) /* GPIO interrupt pin select */
sys/dev/ath/ath_hal/ar5210/ar5210reg.h
400
#define AR_KEYTABLE_KEY0(n) (AR_KEYTABLE(n) + 0) /* key bit 0-31 */
sys/dev/ath/ath_hal/ar5210/ar5210reg.h
401
#define AR_KEYTABLE_KEY1(n) (AR_KEYTABLE(n) + 4) /* key bit 32-47 */
sys/dev/ath/ath_hal/ar5210/ar5210reg.h
402
#define AR_KEYTABLE_KEY2(n) (AR_KEYTABLE(n) + 8) /* key bit 48-79 */
sys/dev/ath/ath_hal/ar5210/ar5210reg.h
403
#define AR_KEYTABLE_KEY3(n) (AR_KEYTABLE(n) + 12) /* key bit 80-95 */
sys/dev/ath/ath_hal/ar5210/ar5210reg.h
404
#define AR_KEYTABLE_KEY4(n) (AR_KEYTABLE(n) + 16) /* key bit 96-127 */
sys/dev/ath/ath_hal/ar5210/ar5210reg.h
405
#define AR_KEYTABLE_TYPE(n) (AR_KEYTABLE(n) + 20) /* key type */
sys/dev/ath/ath_hal/ar5210/ar5210reg.h
409
#define AR_KEYTABLE_MAC0(n) (AR_KEYTABLE(n) + 24) /* MAC address 1-32 */
sys/dev/ath/ath_hal/ar5210/ar5210reg.h
410
#define AR_KEYTABLE_MAC1(n) (AR_KEYTABLE(n) + 28) /* MAC address 33-47 */
sys/dev/ath/ath_hal/ar5210/ar5210reg.h
64
#define AR_EP_AIR(n) (AR_EP_AIR_BASE + (n)*4)
sys/dev/ath/ath_hal/ar5211/ar5211_xmit.c
455
uint32_t n;
sys/dev/ath/ath_hal/ar5211/ar5211_xmit.c
460
n = OS_REG_READ(ah, AR_QSTS(q)) & AR_Q_STS_PEND_FR_CNT_M;
sys/dev/ath/ath_hal/ar5211/ar5211_xmit.c
466
if (n == 0 && (OS_REG_READ(ah, AR_Q_TXE) & (1<<q)))
sys/dev/ath/ath_hal/ar5211/ar5211_xmit.c
467
n = 1; /* arbitrarily pick 1 */
sys/dev/ath/ath_hal/ar5211/ar5211_xmit.c
468
return n;
sys/dev/ath/ath_hal/ar5211/ar5211reg.h
271
#define AR_KEYTABLE(n) (AR_KEYTABLE_0 + ((n)*32))
sys/dev/ath/ath_hal/ar5211/ar5211reg.h
848
#define AR_KEYTABLE_KEY0(n) (AR_KEYTABLE(n) + 0) /* key bit 0-31 */
sys/dev/ath/ath_hal/ar5211/ar5211reg.h
849
#define AR_KEYTABLE_KEY1(n) (AR_KEYTABLE(n) + 4) /* key bit 32-47 */
sys/dev/ath/ath_hal/ar5211/ar5211reg.h
850
#define AR_KEYTABLE_KEY2(n) (AR_KEYTABLE(n) + 8) /* key bit 48-79 */
sys/dev/ath/ath_hal/ar5211/ar5211reg.h
851
#define AR_KEYTABLE_KEY3(n) (AR_KEYTABLE(n) + 12) /* key bit 80-95 */
sys/dev/ath/ath_hal/ar5211/ar5211reg.h
852
#define AR_KEYTABLE_KEY4(n) (AR_KEYTABLE(n) + 16) /* key bit 96-127 */
sys/dev/ath/ath_hal/ar5211/ar5211reg.h
853
#define AR_KEYTABLE_TYPE(n) (AR_KEYTABLE(n) + 20) /* key type */
sys/dev/ath/ath_hal/ar5211/ar5211reg.h
859
#define AR_KEYTABLE_MAC0(n) (AR_KEYTABLE(n) + 24) /* MAC address 1-32 */
sys/dev/ath/ath_hal/ar5211/ar5211reg.h
860
#define AR_KEYTABLE_MAC1(n) (AR_KEYTABLE(n) + 28) /* MAC address 33-47 */
sys/dev/ath/if_ath_debug.c
143
int i, n;
sys/dev/ath/if_ath_debug.c
155
n = ((bf->bf_nseg - 1) / 4) + 1;
sys/dev/ath/if_ath_debug.c
158
i < n;
sys/dev/ath/if_ath_keycache.c
96
int i, n;
sys/dev/ath/if_ath_keycache.c
99
for (i = 0, n = hk->kv_len; i < n; i++)
sys/dev/ath/if_ath_tx.c
140
int i, n;
sys/dev/ath/if_ath_tx.c
150
n = ((bf->bf_nseg - 1) / sc->sc_tx_nmaps) + 1;
sys/dev/ath/if_ath_tx.c
152
i < n;
sys/dev/axgbe/xgbe_osdep.h
193
#define BITS_TO_LONGS(n) howmany((n), BITS_PER_LONG)
sys/dev/axgbe/xgbe_osdep.h
195
#define BITMAP_LAST_WORD_MASK(n) (~0UL >> (BITS_PER_LONG - (n)))
sys/dev/bge/if_bge.c
5031
struct mbuf *n;
sys/dev/bge/if_bge.c
5033
MGET(n, M_NOWAIT, MT_DATA);
sys/dev/bge/if_bge.c
5034
if (n == NULL)
sys/dev/bge/if_bge.c
5036
n->m_len = 0;
sys/dev/bge/if_bge.c
5037
last->m_next = n;
sys/dev/bge/if_bge.c
5038
last = n;
sys/dev/bge/if_bge.c
5053
struct mbuf *n;
sys/dev/bge/if_bge.c
5064
for (n = m, found = 0; n != NULL; n = n->m_next) {
sys/dev/bge/if_bge.c
5065
if (n->m_len < 8) {
sys/dev/bge/if_bge.c
5075
n = m_defrag(m, M_NOWAIT);
sys/dev/bge/if_bge.c
5076
if (n == NULL)
sys/dev/bge/if_bge.c
5079
n = m;
sys/dev/bge/if_bge.c
5080
return (n);
sys/dev/bge/if_bge.c
5089
struct mbuf *n;
sys/dev/bge/if_bge.c
5095
n = m_dup(m, M_NOWAIT);
sys/dev/bge/if_bge.c
5097
if (n == NULL)
sys/dev/bge/if_bge.c
5099
m = n;
sys/dev/bge/if_bge.c
6432
#define BGE_SYSCTL_STAT_ADD64(c, h, n, p, d) \
sys/dev/bge/if_bge.c
6433
SYSCTL_ADD_UQUAD(c, h, OID_AUTO, n, CTLFLAG_RD, p, d)
sys/dev/bge/if_bge.c
6691
int i, n, unit;
sys/dev/bge/if_bge.c
6698
n = sscanf(mac_str, "%x:%x:%x:%x:%x:%x%c",
sys/dev/bge/if_bge.c
6700
if (n != 6)
sys/dev/bhnd/cores/chipc/pwrctl/bhnd_pwrctl_subr.c
106
uint32_t pll_type, uint32_t n, uint32_t m)
sys/dev/bhnd/cores/chipc/pwrctl/bhnd_pwrctl_subr.c
113
rate = bhnd_pwrctl_clock_rate(pll_type, n, m);
sys/dev/bhnd/cores/chipc/pwrctl/bhnd_pwrctl_subr.c
172
uint32_t pll_type, uint32_t n, uint32_t m)
sys/dev/bhnd/cores/chipc/pwrctl/bhnd_pwrctl_subr.c
177
return (bhnd_pwrctl_clock_rate(pll_type, n, m));
sys/dev/bhnd/cores/chipc/pwrctl/bhnd_pwrctl_subr.c
189
bhnd_pwrctl_clock_rate(uint32_t pll_type, uint32_t n, uint32_t m)
sys/dev/bhnd/cores/chipc/pwrctl/bhnd_pwrctl_subr.c
194
n1 = CHIPC_GET_BITS(n, CHIPC_CN_N1);
sys/dev/bhnd/cores/chipc/pwrctl/bhnd_pwrctl_subr.c
195
n2 = CHIPC_GET_BITS(n, CHIPC_CN_N2);
sys/dev/bhnd/cores/chipc/pwrctl/bhnd_pwrctl_subr.c
304
uint32_t n, m;
sys/dev/bhnd/cores/chipc/pwrctl/bhnd_pwrctl_subr.c
312
n = bhnd_bus_read_4(sc->res, CHIPC_CLKC_N);
sys/dev/bhnd/cores/chipc/pwrctl/bhnd_pwrctl_subr.c
321
return (bhnd_pwrctl_si_clock_rate(cid, ccaps->pll_type, n, m));
sys/dev/bhnd/cores/chipc/pwrctl/bhnd_pwrctlvar.h
40
uint32_t bhnd_pwrctl_clock_rate(uint32_t pll_type, uint32_t n,
sys/dev/bhnd/cores/chipc/pwrctl/bhnd_pwrctlvar.h
46
uint32_t pll_type, uint32_t n, uint32_t m);
sys/dev/bhnd/cores/chipc/pwrctl/bhnd_pwrctlvar.h
51
uint32_t pll_type, uint32_t n, uint32_t m);
sys/dev/bhnd/nvram/bhnd_nvram_private.h
152
#define bhnd_nv_calloc(n, size) calloc((n), (size))
sys/dev/bhnd/nvram/bhnd_nvram_private.h
75
#define bhnd_nv_calloc(n, size) mallocarray((n), (size), M_BHND_NVRAM, \
sys/dev/bhnd/nvram/bhnd_nvram_value_prf.c
519
for (u_long n = 0; n < repeat; n++) {
sys/dev/bhnd/nvram/bhnd_nvram_value_prf.c
542
if (n > 0) {
sys/dev/bhnd/nvram/bhnd_nvram_value_prf.c
683
uint64_t n;
sys/dev/bhnd/nvram/bhnd_nvram_value_prf.c
685
n = numval % base;
sys/dev/bhnd/nvram/bhnd_nvram_value_prf.c
686
c = bhnd_nv_hex2ascii(n);
sys/dev/bnxt/bnxt_en/bnxt.h
259
#define DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d))
sys/dev/bnxt/bnxt_en/bnxt_dcb.c
324
int rc, n, i;
sys/dev/bnxt/bnxt_en/bnxt_dcb.c
334
n = BNXT_IEEE_8021QAZ_MAX_TCS;
sys/dev/bnxt/bnxt_en/bnxt_dcb.c
335
data_len = sizeof(*data) + sizeof(*fw_app) * n;
sys/dev/bnxt/bnxt_en/bnxt_dcb.c
356
n = data->count;
sys/dev/bnxt/bnxt_en/bnxt_dcb.c
357
for (i = 0; i < n && *num_inputs < nitems; i++, fw_app++) {
sys/dev/bnxt/bnxt_en/bnxt_dcb.c
379
int rc, n, i;
sys/dev/bnxt/bnxt_en/bnxt_dcb.c
386
n = BNXT_IEEE_8021QAZ_MAX_TCS;
sys/dev/bnxt/bnxt_en/bnxt_dcb.c
387
data_len = sizeof(*data) + sizeof(*fw_app) * n;
sys/dev/bnxt/bnxt_en/bnxt_dcb.c
408
n = data->count;
sys/dev/bnxt/bnxt_en/bnxt_dcb.c
409
for (i = 0; i < n; i++, fw_app++) {
sys/dev/bnxt/bnxt_en/bnxt_dcb.c
421
n++;
sys/dev/bnxt/bnxt_en/bnxt_dcb.c
430
if (n == i)
sys/dev/bnxt/bnxt_en/bnxt_dcb.c
433
len = (n - 1 - i) * sizeof(*fw_app);
sys/dev/bnxt/bnxt_en/bnxt_dcb.c
436
n--;
sys/dev/bnxt/bnxt_en/bnxt_dcb.c
437
memset(fw_app + n, 0, sizeof(*fw_app));
sys/dev/bnxt/bnxt_en/bnxt_dcb.c
439
data->count = n;
sys/dev/bnxt/bnxt_en/bnxt_dcb.c
440
data->len = htole16(sizeof(*fw_app) * n);
sys/dev/bnxt/bnxt_en/bnxt_dcb.c
446
set.data_len = htole16(sizeof(*data) + sizeof(*fw_app) * n);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
2133
long n = bnxt_rx_bytes_pri_arr_base_off[i] +
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
2136
softc->rx_bytes_pri[i] = *(rx_port_stats_ext + n);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
2139
long n = bnxt_rx_pkts_pri_arr_base_off[i] +
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
2142
softc->rx_packets_pri[i] = *(rx_port_stats_ext + n);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
2145
long n = bnxt_tx_bytes_pri_arr_base_off[i] +
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
2148
softc->tx_bytes_pri[i] = *(tx_port_stats_ext + n);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
2151
long n = bnxt_tx_pkts_pri_arr_base_off[i] +
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
2154
softc->tx_packets_pri[i] = *(tx_port_stats_ext + n);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
369
int n = 1;
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
375
n = hweight32(ctxm->instance_bmap);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
376
ctxm->pg_info = kcalloc(n, sizeof(*ctxm->pg_info), GFP_ATOMIC);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
51
#define BNXT_RX_STATS_PRI_ENTRY(counter, n) \
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
54
#define BNXT_TX_STATS_PRI_ENTRY(counter, n) \
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
796
int i, j, rc = 0, n = 1;
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
803
n = hweight32(ctxm->instance_bmap);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
815
for (i = 0, j = 0; j < n && !rc; i++) {
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
828
if (last && j == n)
sys/dev/bnxt/bnxt_en/bnxt_mgmt.c
188
uint32_t i, j, k, n = 1, nr_tbls;
sys/dev/bnxt/bnxt_en/bnxt_mgmt.c
199
for (i = 0; i < n; i++) {
sys/dev/bnxt/bnxt_en/bnxt_mgmt.c
64
uint32_t type, i, j, n;
sys/dev/bnxt/bnxt_en/bnxt_mgmt.c
85
n = bitcount32(ctxm->instance_bmap);
sys/dev/bnxt/bnxt_en/bnxt_mgmt.c
87
n = 1;
sys/dev/bnxt/bnxt_en/bnxt_mgmt.c
89
for (i = 0; i < n; i++) {
sys/dev/bnxt/bnxt_en/bnxt_sriov.c
1019
uint16_t n = pf->active_vfs;
sys/dev/bnxt/bnxt_en/bnxt_sriov.c
1021
if (n)
sys/dev/bnxt/bnxt_en/bnxt_sriov.c
1022
bnxt_cfg_hw_sriov(bp, &n, true);
sys/dev/bnxt/bnxt_en/bnxt_sriov.h
23
#define BNXT_EXEC_FWD_RESP_SIZE_ERR(n) \
sys/dev/bnxt/bnxt_en/bnxt_sriov.h
24
((offsetof(struct hwrm_exec_fwd_resp_input, encap_request) + n) >\
sys/dev/bnxt/bnxt_en/if_bnxt.c
1201
int i, rc = 0, n = 1;
sys/dev/bnxt/bnxt_en/if_bnxt.c
1207
n = hweight32(ctxm->instance_bmap);
sys/dev/bnxt/bnxt_en/if_bnxt.c
1212
for (i = 0; i < n && !rc; i++) {
sys/dev/bnxt/bnxt_en/if_bnxt.c
1233
int i, n = 1;
sys/dev/bnxt/bnxt_en/if_bnxt.c
1238
n = hweight32(ctxm->instance_bmap);
sys/dev/bnxt/bnxt_en/if_bnxt.c
1239
for (i = 0; i < n; i++)
sys/dev/bnxt/bnxt_en/if_bnxt.c
1274
uint32_t last_pg, n = 1, size = sizeof(uint8_t);
sys/dev/bnxt/bnxt_en/if_bnxt.c
1288
n = bitcount32(ctxm->instance_bmap);
sys/dev/bnxt/bnxt_en/if_bnxt.c
1291
rmem = &ctx_pg[n - 1].ring_mem;
sys/dev/bnxt/bnxt_en/if_bnxt.c
1300
&ctx_pg[n - 1].ctx_pg_tbl[last_pg_directory]->ring_mem;
sys/dev/bwi/bwimac.c
1140
int n, i, iv_img_size;
sys/dev/bwi/bwimac.c
1144
n = be32toh(hdr->fw_iv_cnt);
sys/dev/bwi/bwimac.c
1146
"IV count %d\n", n);
sys/dev/bwi/bwimac.c
1155
for (i = 0; i < n; ++i) {
sys/dev/bwi/bwiphy.c
752
int i, n;
sys/dev/bwi/bwiphy.c
807
n = nitems(bwi_phy_noise_scale_11g_rev2);
sys/dev/bwi/bwiphy.c
810
n = nitems(bwi_phy_noise_scale_11g_rev7);
sys/dev/bwi/bwiphy.c
813
n = nitems(bwi_phy_noise_scale_11g);
sys/dev/bwi/bwiphy.c
815
for (i = 0; i < n; ++i)
sys/dev/bwi/bwiphy.c
823
n = nitems(bwi_phy_sigma_sq_11g_rev2);
sys/dev/bwi/bwiphy.c
826
n = nitems(bwi_phy_sigma_sq_11g_rev7);
sys/dev/bwi/bwiphy.c
829
n = 0;
sys/dev/bwi/bwiphy.c
831
for (i = 0; i < n; ++i)
sys/dev/bwi/bwirf.c
106
#define SAVE_RF_REG(mac, regs, n) (regs)->rf_##n = RF_READ((mac), 0x##n)
sys/dev/bwi/bwirf.c
107
#define RESTORE_RF_REG(mac, regs, n) RF_WRITE((mac), 0x##n, (regs)->rf_##n)
sys/dev/bwi/bwirf.c
109
#define SAVE_PHY_REG(mac, regs, n) (regs)->phy_##n = PHY_READ((mac), 0x##n)
sys/dev/bwi/bwirf.c
110
#define RESTORE_PHY_REG(mac, regs, n) PHY_WRITE((mac), 0x##n, (regs)->phy_##n)
sys/dev/bwi/bwirf.c
176
int n;
sys/dev/bwi/bwirf.c
178
n = rf_atten + (14 * (bbp_atten / 2));
sys/dev/bwi/bwirf.c
179
KASSERT(n < BWI_RFLO_MAX, ("n %d", n));
sys/dev/bwi/bwirf.c
181
return &mac->mac_rf.rf_lo[n];
sys/dev/bwi/if_bwi.c
3677
int n, i;
sys/dev/bwi/if_bwi.c
3688
n = sizeof(buf) / sizeof(val);
sys/dev/bwi/if_bwi.c
3690
for (i = 0; i < n; ++i) {
sys/dev/bwn/if_bwn.c
6065
if (rxhdr->phy.n.power0 == 16 || rxhdr->phy.n.power0 == 32)
sys/dev/bwn/if_bwn.c
6066
rssi = max(rxhdr->phy.n.power1, rxhdr->ps2.n.power2);
sys/dev/bwn/if_bwn.c
6068
rssi = max(rxhdr->phy.n.power0, rxhdr->phy.n.power1);
sys/dev/bwn/if_bwn.c
6073
rxhdr->phy.n.power0,
sys/dev/bwn/if_bwn.c
6074
rxhdr->phy.n.power1,
sys/dev/bwn/if_bwn.c
6075
rxhdr->ps2.n.power2);
sys/dev/bwn/if_bwn.c
6684
bwn_antenna_sanitize(struct bwn_mac *mac, uint8_t n)
sys/dev/bwn/if_bwn.c
6689
if (n == 0)
sys/dev/bwn/if_bwn.c
6695
if (!(mask & (1 << (n - 1))))
sys/dev/bwn/if_bwn.c
6697
return (n);
sys/dev/bwn/if_bwnvar.h
262
} __packed n;
sys/dev/bwn/if_bwnvar.h
268
} __packed n;
sys/dev/bxe/bxe.c
18787
uint32_t i, j, k, n;
sys/dev/bxe/bxe.c
18810
for (n = 0; n < size; n++) {
sys/dev/bxe/bxe.c
18811
addr = read_addr[k].addr + n*4;
sys/dev/bxe/bxe.c
6881
int n = (CHIP_IS_MODE_4_PORT(sc) ? 2 : 1);
sys/dev/bxe/bxe.c
6897
abs_func = (n * (2 * vn + SC_PORT(sc)) + SC_PATH(sc));
sys/dev/bxe/bxe.h
124
#define DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d))
sys/dev/bxe/ecore_sp.c
3990
int n)
sys/dev/bxe/ecore_sp.c
3992
o->registry.exact_match.num_macs_set = n;
sys/dev/bxe/ecore_sp.c
3996
int n)
sys/dev/bxe/ecore_sp.c
3998
o->registry.aprox_match.num_bins_set = n;
sys/dev/bxe/ecore_sp.c
651
int n, uint8_t *base, uint8_t stride, uint8_t size)
sys/dev/bxe/ecore_sp.c
666
if (counter < n) {
sys/dev/bxe/ecore_sp.h
1103
void (*set_registry_size)(struct ecore_mcast_obj *o, int n);
sys/dev/bxe/ecore_sp.h
122
#define ECORE_ATOMIC_CMPXCHG(a, o, n) bxe_cmpxchg((volatile int *)a, o, n)
sys/dev/bxe/ecore_sp.h
391
#define ECORE_LIST_FOR_EACH_ENTRY_SAFE(pos, n, _list, _link, cast) \
sys/dev/bxe/ecore_sp.h
393
n = (pos) ? ECORE_LIST_NEXT(pos, _link, cast) : NULL; \
sys/dev/bxe/ecore_sp.h
395
pos = (cast *)n, \
sys/dev/bxe/ecore_sp.h
396
n = (pos) ? ECORE_LIST_NEXT(pos, _link, cast) : NULL)
sys/dev/bxe/ecore_sp.h
786
struct ecore_vlan_mac_obj *o, int n, uint8_t *base,
sys/dev/cadence/if_cgem.c
381
int n;
sys/dev/cadence/if_cgem.c
398
for (n = 1; (queue_mask & 1) != 0; n++, queue_mask >>= 1) {
sys/dev/cadence/if_cgem.c
399
WR4(sc, CGEM_RX_QN_BAR(n), sc->null_qs_physaddr);
sys/dev/cadence/if_cgem.c
400
WR4(sc, CGEM_TX_QN_BAR(n), sc->null_qs_physaddr +
sys/dev/cadence/if_cgem.c
877
uint32_t n;
sys/dev/cadence/if_cgem.c
896
n = RD4(sc, CGEM_SINGLE_COLL_FRAMES);
sys/dev/cadence/if_cgem.c
897
sc->stats.tx_single_collisn += n;
sys/dev/cadence/if_cgem.c
898
if_inc_counter(sc->ifp, IFCOUNTER_COLLISIONS, n);
sys/dev/cadence/if_cgem.c
899
n = RD4(sc, CGEM_MULTI_COLL_FRAMES);
sys/dev/cadence/if_cgem.c
900
sc->stats.tx_multi_collisn += n;
sys/dev/cadence/if_cgem.c
901
if_inc_counter(sc->ifp, IFCOUNTER_COLLISIONS, n);
sys/dev/cadence/if_cgem.c
902
n = RD4(sc, CGEM_EXCESSIVE_COLL_FRAMES);
sys/dev/cadence/if_cgem.c
903
sc->stats.tx_excsv_collisn += n;
sys/dev/cadence/if_cgem.c
904
if_inc_counter(sc->ifp, IFCOUNTER_COLLISIONS, n);
sys/dev/cadence/if_cgem.c
905
n = RD4(sc, CGEM_LATE_COLL);
sys/dev/cadence/if_cgem.c
906
sc->stats.tx_late_collisn += n;
sys/dev/cadence/if_cgem.c
907
if_inc_counter(sc->ifp, IFCOUNTER_COLLISIONS, n);
sys/dev/cadence/if_cgem_hw.h
209
#define CGEM_SPEC_ADDR_LOW(n) (0x088 + (n) * 8)
sys/dev/cadence/if_cgem_hw.h
210
#define CGEM_SPEC_ADDR_HI(n) (0x08C + (n) * 8)
sys/dev/cadence/if_cgem_hw.h
362
#define CGEM_DESIGN_CFG6_DMA_PRIO_Q(n) (1 << (n))
sys/dev/cadence/if_cgem_hw.h
364
#define CGEM_TX_QN_BAR(n) (0x440 + ((n) - 1) * 4)
sys/dev/cadence/if_cgem_hw.h
365
#define CGEM_RX_QN_BAR(n) (0x480 + ((n) - 1) * 4)
sys/dev/cadence/if_cgem_hw.h
91
#define CGEM_NET_CFG_RX_BUF_OFFSET(n) ((n) << 14)
sys/dev/cas/if_cas.c
1626
#define PRINTWORD(n, delimiter) \
sys/dev/cas/if_cas.c
1627
printf("word ## n: 0x%016llx%c", (long long)word ## n, delimiter)
sys/dev/cas/if_cas.c
1629
#define SKIPASSERT(n) \
sys/dev/cas/if_cas.c
1630
KASSERT(sc->sc_rxcomps[sc->sc_rxcptr].crc_word ## n == 0, \
sys/dev/cas/if_cas.c
1633
#define WORDTOH(n) \
sys/dev/cas/if_cas.c
1634
word ## n = le64toh(sc->sc_rxcomps[sc->sc_rxcptr].crc_word ## n)
sys/dev/cas/if_cas.c
2138
int n;
sys/dev/cas/if_cas.c
2181
for (n = 0; n < 100; n++) {
sys/dev/cas/if_cas.c
2196
int n;
sys/dev/cas/if_cas.c
2260
for (n = 0; n < 100; n++) {
sys/dev/cas/if_cas.c
97
#define RINGASSERT(n , min, max) \
sys/dev/cas/if_cas.c
98
CTASSERT(powerof2(n) && (n) >= (min) && (n) <= (max))
sys/dev/cas/if_casvar.h
203
#define CAS_READ_N(n, sc, offs) \
sys/dev/cas/if_casvar.h
204
bus_read_ ## n((sc)->sc_res[CAS_RES_MEM], (offs))
sys/dev/cas/if_casvar.h
209
#define CAS_WRITE_N(n, sc, offs, v) \
sys/dev/cas/if_casvar.h
210
bus_write_ ## n((sc)->sc_res[CAS_RES_MEM], (offs), (v))
sys/dev/cfe/cfe_api.c
56
#define XPTR_FROM_NATIVE(n) ((cfe_xptr_t) (intptr_t) (n))
sys/dev/cfi/cfi_reg.h
127
#define CFI_INTEL_PR(n) (0x81+(n)) /* Protection Register */
sys/dev/clk/allwinner/aw_clk.h
212
.n.shift = _n_shift, \
sys/dev/clk/allwinner/aw_clk.h
213
.n.width = _n_width, \
sys/dev/clk/allwinner/aw_clk.h
214
.n.value = _n_value, \
sys/dev/clk/allwinner/aw_clk.h
215
.n.flags = _n_flags, \
sys/dev/clk/allwinner/aw_clk.h
252
.n.shift = _n_shift, \
sys/dev/clk/allwinner/aw_clk.h
253
.n.width = _n_width, \
sys/dev/clk/allwinner/aw_clk.h
254
.n.value = _n_value, \
sys/dev/clk/allwinner/aw_clk.h
255
.n.flags = _n_flags, \
sys/dev/clk/allwinner/aw_clk.h
295
.n.shift = _n_shift, \
sys/dev/clk/allwinner/aw_clk.h
296
.n.width = _n_width, \
sys/dev/clk/allwinner/aw_clk.h
297
.n.value = _n_value, \
sys/dev/clk/allwinner/aw_clk.h
298
.n.flags = _n_flags, \
sys/dev/clk/allwinner/aw_clk.h
334
.n.shift = _nshift, \
sys/dev/clk/allwinner/aw_clk.h
335
.n.width = _nwidth, \
sys/dev/clk/allwinner/aw_clk.h
336
.n.value = _nvalue, \
sys/dev/clk/allwinner/aw_clk.h
337
.n.flags = _nflags, \
sys/dev/clk/allwinner/aw_clk.h
393
.n.shift = _nshift, \
sys/dev/clk/allwinner/aw_clk.h
394
.n.width = _nwidth, \
sys/dev/clk/allwinner/aw_clk.h
395
.n.value = _nvalue, \
sys/dev/clk/allwinner/aw_clk.h
396
.n.flags = _nflags, \
sys/dev/clk/allwinner/aw_clk.h
423
.n.shift = _nshift, \
sys/dev/clk/allwinner/aw_clk.h
424
.n.width = _nwidth, \
sys/dev/clk/allwinner/aw_clk.h
425
.n.value = _nvalue, \
sys/dev/clk/allwinner/aw_clk.h
426
.n.flags = _nflags, \
sys/dev/clk/allwinner/aw_clk.h
456
.n.shift = _nshift, \
sys/dev/clk/allwinner/aw_clk.h
457
.n.width = _nwidth, \
sys/dev/clk/allwinner/aw_clk.h
458
.n.value = _nvalue, \
sys/dev/clk/allwinner/aw_clk.h
459
.n.flags = _nflags, \
sys/dev/clk/allwinner/aw_clk.h
549
.n.shift = _nshift, \
sys/dev/clk/allwinner/aw_clk.h
550
.n.width = _nwidth, \
sys/dev/clk/allwinner/aw_clk_frac.c
149
uint32_t m, n, max_m, max_n, min_m, min_n;
sys/dev/clk/allwinner/aw_clk_frac.c
155
max_n = aw_clk_factor_get_max(&sc->n);
sys/dev/clk/allwinner/aw_clk_frac.c
159
for (n = min_n; n <= max_n; n++) {
sys/dev/clk/allwinner/aw_clk_frac.c
161
cur = fparent * n / m;
sys/dev/clk/allwinner/aw_clk_frac.c
169
*factor_n = n;
sys/dev/clk/allwinner/aw_clk_frac.c
175
*factor_n = n;
sys/dev/clk/allwinner/aw_clk_frac.c
190
uint32_t val, m, n, best_m, best_n;
sys/dev/clk/allwinner/aw_clk_frac.c
219
&n, &m);
sys/dev/clk/allwinner/aw_clk_frac.c
220
dprintf("Got %ju with n=%d, m=%d\n", cur, n, m);
sys/dev/clk/allwinner/aw_clk_frac.c
224
best_n = n;
sys/dev/clk/allwinner/aw_clk_frac.c
232
best_n = n;
sys/dev/clk/allwinner/aw_clk_frac.c
279
n = aw_clk_factor_get_value(&sc->n, best_n);
sys/dev/clk/allwinner/aw_clk_frac.c
281
val &= ~sc->n.mask;
sys/dev/clk/allwinner/aw_clk_frac.c
283
val |= n << sc->n.shift;
sys/dev/clk/allwinner/aw_clk_frac.c
312
uint32_t val, m, n;
sys/dev/clk/allwinner/aw_clk_frac.c
327
n = aw_clk_get_factor(val, &sc->n);
sys/dev/clk/allwinner/aw_clk_frac.c
328
*freq = *freq * n / m;
sys/dev/clk/allwinner/aw_clk_frac.c
367
sc->n.shift = clkdef->n.shift;
sys/dev/clk/allwinner/aw_clk_frac.c
368
sc->n.width = clkdef->n.width;
sys/dev/clk/allwinner/aw_clk_frac.c
369
sc->n.mask = ((1 << sc->n.width) - 1) << sc->n.shift;
sys/dev/clk/allwinner/aw_clk_frac.c
370
sc->n.value = clkdef->n.value;
sys/dev/clk/allwinner/aw_clk_frac.c
371
sc->n.flags = clkdef->n.flags;
sys/dev/clk/allwinner/aw_clk_frac.c
52
struct aw_clk_factor n;
sys/dev/clk/allwinner/aw_clk_frac.h
36
struct aw_clk_factor n;
sys/dev/clk/allwinner/aw_clk_mipi.c
117
uint32_t n, k, m;
sys/dev/clk/allwinner/aw_clk_mipi.c
124
for (n = aw_clk_factor_get_min(&sc->n); n <= aw_clk_factor_get_max(&sc->n); n++) {
sys/dev/clk/allwinner/aw_clk_mipi.c
127
cur = (fparent * n * k) / m;
sys/dev/clk/allwinner/aw_clk_mipi.c
130
*factor_n = n;
sys/dev/clk/allwinner/aw_clk_mipi.c
150
uint32_t k, m, n;
sys/dev/clk/allwinner/aw_clk_mipi.c
178
n = aw_clk_factor_get_value(&sc->n, best_n);
sys/dev/clk/allwinner/aw_clk_mipi.c
182
val &= ~sc->n.mask;
sys/dev/clk/allwinner/aw_clk_mipi.c
185
val |= n << sc->n.shift;
sys/dev/clk/allwinner/aw_clk_mipi.c
212
uint32_t val, m, n, k;
sys/dev/clk/allwinner/aw_clk_mipi.c
222
n = aw_clk_get_factor(val, &sc->n);
sys/dev/clk/allwinner/aw_clk_mipi.c
224
*freq = (*freq * n * k) / m;
sys/dev/clk/allwinner/aw_clk_mipi.c
269
sc->n.shift = clkdef->n.shift;
sys/dev/clk/allwinner/aw_clk_mipi.c
270
sc->n.width = clkdef->n.width;
sys/dev/clk/allwinner/aw_clk_mipi.c
271
sc->n.mask = ((1 << sc->n.width) - 1) << sc->n.shift;
sys/dev/clk/allwinner/aw_clk_mipi.c
272
sc->n.value = clkdef->n.value;
sys/dev/clk/allwinner/aw_clk_mipi.c
273
sc->n.flags = clkdef->n.flags;
sys/dev/clk/allwinner/aw_clk_mipi.c
274
sc->n.min_value = clkdef->n.min_value;
sys/dev/clk/allwinner/aw_clk_mipi.c
53
struct aw_clk_factor n;
sys/dev/clk/allwinner/aw_clk_mipi.h
37
struct aw_clk_factor n;
sys/dev/clk/allwinner/aw_clk_nkmp.c
143
uint32_t n, k, m, p;
sys/dev/clk/allwinner/aw_clk_nkmp.c
151
for (n = aw_clk_factor_get_min(&sc->n); n <= aw_clk_factor_get_max(&sc->n); ) {
sys/dev/clk/allwinner/aw_clk_nkmp.c
155
cur = (fparent * n * k) / (m * p);
sys/dev/clk/allwinner/aw_clk_nkmp.c
158
*factor_n = n;
sys/dev/clk/allwinner/aw_clk_nkmp.c
180
if ((sc->n.flags & AW_CLK_FACTOR_POWER_OF_TWO) != 0)
sys/dev/clk/allwinner/aw_clk_nkmp.c
181
n <<= 1;
sys/dev/clk/allwinner/aw_clk_nkmp.c
183
n++;
sys/dev/clk/allwinner/aw_clk_nkmp.c
216
val &= ~sc->n.mask;
sys/dev/clk/allwinner/aw_clk_nkmp.c
218
val |= aw_clk_factor_get_value(&sc->n, factor_n) << sc->n.shift;
sys/dev/clk/allwinner/aw_clk_nkmp.c
285
val &= ~sc->n.mask;
sys/dev/clk/allwinner/aw_clk_nkmp.c
289
val |= aw_clk_factor_get_value(&sc->n, best_n) << sc->n.shift;
sys/dev/clk/allwinner/aw_clk_nkmp.c
326
uint32_t val, m, n, k, p;
sys/dev/clk/allwinner/aw_clk_nkmp.c
334
n = aw_clk_get_factor(val, &sc->n);
sys/dev/clk/allwinner/aw_clk_nkmp.c
339
*freq = (*freq * n * k) / (m * p);
sys/dev/clk/allwinner/aw_clk_nkmp.c
371
sc->n.shift = clkdef->n.shift;
sys/dev/clk/allwinner/aw_clk_nkmp.c
372
sc->n.width = clkdef->n.width;
sys/dev/clk/allwinner/aw_clk_nkmp.c
373
sc->n.mask = ((1 << clkdef->n.width) - 1) << sc->n.shift;
sys/dev/clk/allwinner/aw_clk_nkmp.c
374
sc->n.value = clkdef->n.value;
sys/dev/clk/allwinner/aw_clk_nkmp.c
375
sc->n.flags = clkdef->n.flags;
sys/dev/clk/allwinner/aw_clk_nkmp.c
47
struct aw_clk_factor n;
sys/dev/clk/allwinner/aw_clk_nkmp.h
39
struct aw_clk_factor n;
sys/dev/clk/allwinner/aw_clk_nm.c
139
uint32_t m, n, max_m, max_n, min_m, min_n;
sys/dev/clk/allwinner/aw_clk_nm.c
144
max_n = aw_clk_factor_get_max(&sc->n);
sys/dev/clk/allwinner/aw_clk_nm.c
146
min_n = aw_clk_factor_get_min(&sc->n);
sys/dev/clk/allwinner/aw_clk_nm.c
149
for (n = min_n; n <= max_n; ) {
sys/dev/clk/allwinner/aw_clk_nm.c
150
cur = fparent / n / m;
sys/dev/clk/allwinner/aw_clk_nm.c
154
*factor_n = n;
sys/dev/clk/allwinner/aw_clk_nm.c
158
if ((sc->n.flags & AW_CLK_FACTOR_POWER_OF_TWO) != 0)
sys/dev/clk/allwinner/aw_clk_nm.c
159
n <<= 1;
sys/dev/clk/allwinner/aw_clk_nm.c
161
n++;
sys/dev/clk/allwinner/aw_clk_nm.c
180
uint32_t val, m, n, best_m, best_n;
sys/dev/clk/allwinner/aw_clk_nm.c
194
cur = aw_clk_nm_find_best(sc, fparent, fout, &n, &m);
sys/dev/clk/allwinner/aw_clk_nm.c
199
best_n = n;
sys/dev/clk/allwinner/aw_clk_nm.c
239
n = aw_clk_factor_get_value(&sc->n, best_n);
sys/dev/clk/allwinner/aw_clk_nm.c
241
val &= ~sc->n.mask;
sys/dev/clk/allwinner/aw_clk_nm.c
243
val |= n << sc->n.shift;
sys/dev/clk/allwinner/aw_clk_nm.c
268
uint32_t val, m, n, prediv;
sys/dev/clk/allwinner/aw_clk_nm.c
277
n = aw_clk_get_factor(val, &sc->n);
sys/dev/clk/allwinner/aw_clk_nm.c
283
*freq = *freq / prediv / n / m;
sys/dev/clk/allwinner/aw_clk_nm.c
321
sc->n.shift = clkdef->n.shift;
sys/dev/clk/allwinner/aw_clk_nm.c
322
sc->n.width = clkdef->n.width;
sys/dev/clk/allwinner/aw_clk_nm.c
323
sc->n.mask = ((1 << sc->n.width) - 1) << sc->n.shift;
sys/dev/clk/allwinner/aw_clk_nm.c
324
sc->n.value = clkdef->n.value;
sys/dev/clk/allwinner/aw_clk_nm.c
325
sc->n.flags = clkdef->n.flags;
sys/dev/clk/allwinner/aw_clk_nm.c
48
struct aw_clk_factor n;
sys/dev/clk/allwinner/aw_clk_nm.h
36
struct aw_clk_factor n;
sys/dev/clk/allwinner/aw_clk_nmm.c
105
uint32_t n, m0, m1;
sys/dev/clk/allwinner/aw_clk_nmm.c
111
max_n = aw_clk_factor_get_max(&sc->n);
sys/dev/clk/allwinner/aw_clk_nmm.c
112
min_n = aw_clk_factor_get_min(&sc->n);
sys/dev/clk/allwinner/aw_clk_nmm.c
120
for (n = min_n; n <= max_n; ) {
sys/dev/clk/allwinner/aw_clk_nmm.c
121
cur = fparent * n / m0 / m1;
sys/dev/clk/allwinner/aw_clk_nmm.c
124
*factor_n = n;
sys/dev/clk/allwinner/aw_clk_nmm.c
128
n++;
sys/dev/clk/allwinner/aw_clk_nmm.c
144
uint32_t val, n, m0, m1, best_n, best_m0, best_m1;
sys/dev/clk/allwinner/aw_clk_nmm.c
174
n = aw_clk_factor_get_value(&sc->n, best_n);
sys/dev/clk/allwinner/aw_clk_nmm.c
177
val &= ~sc->n.mask;
sys/dev/clk/allwinner/aw_clk_nmm.c
180
val |= n << sc->n.shift;
sys/dev/clk/allwinner/aw_clk_nmm.c
206
uint32_t val, n, m0, m1;
sys/dev/clk/allwinner/aw_clk_nmm.c
214
n = aw_clk_get_factor(val, &sc->n);
sys/dev/clk/allwinner/aw_clk_nmm.c
218
*freq = *freq * n / m0 / m1;
sys/dev/clk/allwinner/aw_clk_nmm.c
249
sc->n.shift = clkdef->n.shift;
sys/dev/clk/allwinner/aw_clk_nmm.c
250
sc->n.width = clkdef->n.width;
sys/dev/clk/allwinner/aw_clk_nmm.c
251
sc->n.mask = ((1 << sc->n.width) - 1) << sc->n.shift;
sys/dev/clk/allwinner/aw_clk_nmm.c
252
sc->n.value = clkdef->n.value;
sys/dev/clk/allwinner/aw_clk_nmm.c
253
sc->n.flags = clkdef->n.flags;
sys/dev/clk/allwinner/aw_clk_nmm.c
49
struct aw_clk_factor n;
sys/dev/clk/allwinner/aw_clk_nmm.h
37
struct aw_clk_factor n;
sys/dev/clk/allwinner/aw_clk_np.c
104
uint32_t n, p, max_n, max_p, min_n, min_p;
sys/dev/clk/allwinner/aw_clk_np.c
108
max_n = aw_clk_factor_get_max(&sc->n);
sys/dev/clk/allwinner/aw_clk_np.c
110
min_n = aw_clk_factor_get_min(&sc->n);
sys/dev/clk/allwinner/aw_clk_np.c
114
for (n = min_n; n <= max_n; ) {
sys/dev/clk/allwinner/aw_clk_np.c
115
cur = fparent * n / p;
sys/dev/clk/allwinner/aw_clk_np.c
118
*factor_n = n;
sys/dev/clk/allwinner/aw_clk_np.c
122
n++;
sys/dev/clk/allwinner/aw_clk_np.c
136
uint32_t val, n, p, best_n, best_p;
sys/dev/clk/allwinner/aw_clk_np.c
166
n = aw_clk_factor_get_value(&sc->n, best_n);
sys/dev/clk/allwinner/aw_clk_np.c
168
val &= ~sc->n.mask;
sys/dev/clk/allwinner/aw_clk_np.c
170
val |= n << sc->n.shift;
sys/dev/clk/allwinner/aw_clk_np.c
195
uint32_t val, n, p;
sys/dev/clk/allwinner/aw_clk_np.c
203
n = aw_clk_get_factor(val, &sc->n);
sys/dev/clk/allwinner/aw_clk_np.c
206
*freq = *freq * n / p;
sys/dev/clk/allwinner/aw_clk_np.c
237
sc->n.shift = clkdef->n.shift;
sys/dev/clk/allwinner/aw_clk_np.c
238
sc->n.width = clkdef->n.width;
sys/dev/clk/allwinner/aw_clk_np.c
239
sc->n.mask = ((1 << sc->n.width) - 1) << sc->n.shift;
sys/dev/clk/allwinner/aw_clk_np.c
240
sc->n.value = clkdef->n.value;
sys/dev/clk/allwinner/aw_clk_np.c
241
sc->n.flags = clkdef->n.flags;
sys/dev/clk/allwinner/aw_clk_np.c
49
struct aw_clk_factor n;
sys/dev/clk/allwinner/aw_clk_np.h
37
struct aw_clk_factor n;
sys/dev/clk/allwinner/ccu_a13.c
159
.n = {.shift = 8, .width = 5},
sys/dev/clk/allwinner/ccu_a13.c
180
.n = {.shift = 8, .width = 7},
sys/dev/clk/allwinner/ccu_a13.c
199
.n = {.shift = 8, .width = 5},
sys/dev/clk/allwinner/ccu_a13.c
241
.n = {.shift = 8, .width = 5},
sys/dev/clk/allwinner/ccu_a13.c
337
.n = {.shift = 16, .width = 2, .flags = AW_CLK_FACTOR_POWER_OF_TWO, },
sys/dev/clk/allwinner/ccu_a13.c
354
.n = {.shift = 16, .width = 2, .flags = AW_CLK_FACTOR_POWER_OF_TWO, },
sys/dev/clk/allwinner/ccu_a13.c
370
.n = {.shift = 16, .width = 2, .flags = AW_CLK_FACTOR_POWER_OF_TWO, },
sys/dev/clk/allwinner/ccu_a13.c
386
.n = {.shift = 16, .width = 2, .flags = AW_CLK_FACTOR_POWER_OF_TWO, },
sys/dev/clk/allwinner/ccu_a13.c
402
.n = {.shift = 16, .width = 2, .flags = AW_CLK_FACTOR_POWER_OF_TWO, },
sys/dev/clk/allwinner/ccu_a13.c
418
.n = {.shift = 16, .width = 2, .flags = AW_CLK_FACTOR_POWER_OF_TWO, },
sys/dev/clk/allwinner/ccu_a13.c
434
.n = {.shift = 16, .width = 2, .flags = AW_CLK_FACTOR_POWER_OF_TWO, },
sys/dev/clk/allwinner/ccu_a13.c
450
.n = {.shift = 16, .width = 2, .flags = AW_CLK_FACTOR_POWER_OF_TWO, },
sys/dev/clk/allwinner/ccu_a13.c
466
.n = {.shift = 16, .width = 2, .flags = AW_CLK_FACTOR_POWER_OF_TWO, },
sys/dev/clk/allwinner/ccu_a13.c
482
.n = {.shift = 16, .width = 2, .flags = AW_CLK_FACTOR_POWER_OF_TWO, },
sys/dev/clk/allwinner/ccu_sun8i_r.c
131
.n = {.shift = 0, .width = 4, .flags = AW_CLK_FACTOR_POWER_OF_TWO, },
sys/dev/clk/starfive/jh7110_clk.c
43
#define DIV_ROUND_CLOSEST(n, d) (((n) + (d) / 2) / (d))
sys/dev/clk/xilinx/zynqmp_clk_div.c
41
#define DIV_ROUND_CLOSEST(n, d) (((n) + (d) / 2) / (d))
sys/dev/cpufreq/cpufreq_dt.c
107
ssize_t n, best_n;
sys/dev/cpufreq/cpufreq_dt.c
114
for (n = 0; n < sc->nopp; n++) {
sys/dev/cpufreq/cpufreq_dt.c
115
diff = abs64((int64_t)sc->opp[n].freq - (int64_t)freq);
sys/dev/cpufreq/cpufreq_dt.c
116
DPRINTF(dev, "Testing %ju, diff is %ju\n", sc->opp[n].freq, diff);
sys/dev/cpufreq/cpufreq_dt.c
119
best_n = n;
sys/dev/cpufreq/cpufreq_dt.c
120
DPRINTF(dev, "%ju is best for now\n", sc->opp[n].freq);
sys/dev/cpufreq/cpufreq_dt.c
281
ssize_t n;
sys/dev/cpufreq/cpufreq_dt.c
294
for (n = 0; n < sc->nopp; n++)
sys/dev/cpufreq/cpufreq_dt.c
295
cpufreq_dt_opp_to_setting(dev, &sc->opp[n], &sets[n]);
sys/dev/cpufreq/cpufreq_dt.c
352
ssize_t n;
sys/dev/cpufreq/cpufreq_dt.c
364
for (n = 0; n < sc->nopp; n++) {
sys/dev/cpufreq/cpufreq_dt.c
365
sc->opp[n].freq = opp[n * 2 + 0] * 1000;
sys/dev/cpufreq/cpufreq_dt.c
366
sc->opp[n].uvolt_min = opp[n * 2 + 1];
sys/dev/cpufreq/cpufreq_dt.c
367
sc->opp[n].uvolt_max = sc->opp[n].uvolt_min;
sys/dev/cpufreq/cpufreq_dt.c
368
sc->opp[n].uvolt_target = sc->opp[n].uvolt_min;
sys/dev/cpufreq/cpufreq_dt.c
369
sc->opp[n].clk_latency = lat;
sys/dev/cpufreq/cpufreq_dt.c
373
sc->opp[n].freq / 1000000,
sys/dev/cpufreq/cpufreq_dt.c
374
sc->opp[n].freq % 1000000,
sys/dev/cpufreq/cpufreq_dt.c
375
sc->opp[n].uvolt_target);
sys/dev/cxgb/common/cxgb_common.h
677
void t3_write_regs(adapter_t *adapter, const struct addr_val_pair *p, int n,
sys/dev/cxgb/common/cxgb_common.h
747
int t3_cim_ctl_blk_read(adapter_t *adap, unsigned int addr, unsigned int n,
sys/dev/cxgb/common/cxgb_common.h
749
int t3_mc7_bd_read(struct mc7 *mc7, unsigned int start, unsigned int n,
sys/dev/cxgb/common/cxgb_common.h
762
int t3_mac_set_num_ucast(struct cmac *mac, unsigned char n);
sys/dev/cxgb/common/cxgb_common.h
772
int t3_read_mc5_range(const struct mc5 *mc5, unsigned int start, unsigned int n,
sys/dev/cxgb/common/cxgb_common.h
794
unsigned int start, unsigned int n);
sys/dev/cxgb/common/cxgb_common.h
826
int t3_elmr_blk_write(adapter_t *adap, int start, const u32 *vals, int n);
sys/dev/cxgb/common/cxgb_common.h
827
int t3_elmr_blk_read(adapter_t *adap, int start, u32 *vals, int n);
sys/dev/cxgb/common/cxgb_mc5.c
391
unsigned int n, u32 *buf)
sys/dev/cxgb/common/cxgb_mc5.c
406
while (n--) {
sys/dev/cxgb/common/cxgb_t3_hw.c
1073
unsigned int n, const u8 *data,
sys/dev/cxgb/common/cxgb_t3_hw.c
1080
if (addr + n > SF_SIZE || offset + n > 256)
sys/dev/cxgb/common/cxgb_t3_hw.c
1089
for (left = n; left; left -= c) {
sys/dev/cxgb/common/cxgb_t3_hw.c
1109
if (memcmp(data - n, (u8 *)buf + offset, n))
sys/dev/cxgb/common/cxgb_t3_hw.c
141
int t3_mc7_bd_read(struct mc7 *mc7, unsigned int start, unsigned int n,
sys/dev/cxgb/common/cxgb_t3_hw.c
1417
int t3_cim_ctl_blk_read(adapter_t *adap, unsigned int addr, unsigned int n,
sys/dev/cxgb/common/cxgb_t3_hw.c
1425
for ( ; !ret && n--; addr += 4) {
sys/dev/cxgb/common/cxgb_t3_hw.c
150
if (start >= size64 || start + n > size64)
sys/dev/cxgb/common/cxgb_t3_hw.c
154
while (n--) {
sys/dev/cxgb/common/cxgb_t3_hw.c
3089
unsigned int n = mem_size / pg_size;
sys/dev/cxgb/common/cxgb_t3_hw.c
3091
return n - n % 24;
sys/dev/cxgb/common/cxgb_t3_hw.c
3533
unsigned int start, unsigned int n)
sys/dev/cxgb/common/cxgb_t3_hw.c
3537
for ( ; n; n--, start++, pace_vals++)
sys/dev/cxgb/common/cxgb_t3_hw.c
81
void t3_write_regs(adapter_t *adapter, const struct addr_val_pair *p, int n,
sys/dev/cxgb/common/cxgb_t3_hw.c
84
while (n--) {
sys/dev/cxgb/common/cxgb_vsc7323.c
51
int t3_elmr_blk_write(adapter_t *adap, int start, const u32 *vals, int n)
sys/dev/cxgb/common/cxgb_vsc7323.c
58
for ( ; !ret && n; n--, vals++) {
sys/dev/cxgb/common/cxgb_vsc7323.c
74
int t3_elmr_blk_read(adapter_t *adap, int start, u32 *vals, int n)
sys/dev/cxgb/common/cxgb_vsc7323.c
99
for ( ; !ret && n; n--, vals++) {
sys/dev/cxgb/common/cxgb_xgmac.c
357
int t3_mac_set_num_ucast(struct cmac *mac, unsigned char n)
sys/dev/cxgb/common/cxgb_xgmac.c
359
if (n > EXACT_ADDR_FILTERS)
sys/dev/cxgb/common/cxgb_xgmac.c
361
mac->nucast = n;
sys/dev/cxgb/cxgb_adapter.h
506
void t3_free_tx_desc(struct sge_qset *qs, int n, int qid);
sys/dev/cxgb/cxgb_main.c
1271
unsigned long n)
sys/dev/cxgb/cxgb_main.c
1275
while (adap->sge.qs[0].rspq.offload_pkts < init_cnt + n) {
sys/dev/cxgb/cxgb_sge.c
469
sgl_len(unsigned int n)
sys/dev/cxgb/cxgb_sge.c
471
return ((3 * n) / 2 + (n & 1));
sys/dev/cxgb/cxgb_sge.c
499
flits_to_desc(u_int n)
sys/dev/cxgb/cxgb_sge.c
501
return (flit_desc_map[n]);
sys/dev/cxgb/cxgb_sge.c
703
refill_fl(adapter_t *sc, struct sge_fl *q, int n)
sys/dev/cxgb/cxgb_sge.c
713
while (n--) {
sys/dev/cxgb/sys/mvec.h
42
struct mbuf *n;
sys/dev/cxgb/sys/mvec.h
45
n = m->m_nextpkt;
sys/dev/cxgb/sys/mvec.h
46
if (n != NULL)
sys/dev/cxgb/sys/mvec.h
47
prefetch(n);
sys/dev/cxgb/sys/mvec.h
49
m = n;
sys/dev/cxgb/sys/uipc_mvec.c
55
struct mbuf *n = *m;
sys/dev/cxgb/sys/uipc_mvec.c
58
KASSERT(n->m_pkthdr.len, ("packet has zero header len"));
sys/dev/cxgb/sys/uipc_mvec.c
59
if (n->m_pkthdr.len <= PIO_LEN)
sys/dev/cxgb/sys/uipc_mvec.c
74
n = m_defrag(*m, M_NOWAIT);
sys/dev/cxgb/sys/uipc_mvec.c
75
if (n == NULL) {
sys/dev/cxgb/sys/uipc_mvec.c
79
*m = n;
sys/dev/cxgb/sys/uipc_mvec.c
96
int n = 0;
sys/dev/cxgb/sys/uipc_mvec.c
98
for (*nsegs = 0; m != NULL; segs += n, *nsegs += n, m = m->m_nextpkt)
sys/dev/cxgb/sys/uipc_mvec.c
99
bus_dmamap_load_mbuf_sg(tag, map, m, segs, &n, 0);
sys/dev/cxgbe/adapter.h
1254
int n;
sys/dev/cxgbe/adapter.h
1257
n = m->m_pkthdr.PH_loc.eight[0];
sys/dev/cxgbe/adapter.h
1259
MPASS(n > 0 && n <= SGE_MAX_WR_LEN / 16);
sys/dev/cxgbe/adapter.h
1261
return (n);
sys/dev/cxgbe/common/common.h
707
unsigned int n, const u8 *data, int byte_oriented);
sys/dev/cxgbe/common/common.h
742
int start, int n, const u16 *rspq, unsigned int nrspq);
sys/dev/cxgbe/common/common.h
771
size_t n);
sys/dev/cxgbe/common/common.h
773
size_t n);
sys/dev/cxgbe/common/common.h
775
unsigned int addr, unsigned int n,
sys/dev/cxgbe/common/common.h
778
unsigned int addr, unsigned int n,
sys/dev/cxgbe/common/common.h
793
size_t n)
sys/dev/cxgbe/common/common.h
795
return t4_read_cim_ibq_core(adap, 0, qid, data, n);
sys/dev/cxgbe/common/common.h
799
size_t n)
sys/dev/cxgbe/common/common.h
801
return t4_read_cim_obq_core(adap, 0, qid, data, n);
sys/dev/cxgbe/common/common.h
805
unsigned int n, unsigned int *valp)
sys/dev/cxgbe/common/common.h
807
return t4_cim_read_core(adap, 0, 0, addr, n, valp);
sys/dev/cxgbe/common/common.h
811
unsigned int n, unsigned int *valp)
sys/dev/cxgbe/common/common.h
813
return t4_cim_write_core(adap, 0, 0, addr, n, valp);
sys/dev/cxgbe/common/common.h
883
unsigned int start, unsigned int n);
sys/dev/cxgbe/common/t4_hw.c
10043
u32 n;
sys/dev/cxgbe/common/t4_hw.c
10048
n = adap->params.nports;
sys/dev/cxgbe/common/t4_hw.c
10049
MPASS(n > 0 && n <= MAX_NPORTS);
sys/dev/cxgbe/common/t4_hw.c
10050
if (n == 1)
sys/dev/cxgbe/common/t4_hw.c
10052
if (n == 2 && chip_id(adap) <= CHELSIO_T5)
sys/dev/cxgbe/common/t4_hw.c
10062
const u32 n = adap->params.nports;
sys/dev/cxgbe/common/t4_hw.c
10067
if (n == 1)
sys/dev/cxgbe/common/t4_hw.c
10069
if (n == 2 && chip_id(adap) <= CHELSIO_T5)
sys/dev/cxgbe/common/t4_hw.c
10073
MPASS(n == 1);
sys/dev/cxgbe/common/t4_hw.c
10076
MPASS(n <= 2);
sys/dev/cxgbe/common/t4_hw.c
13470
size_t n)
sys/dev/cxgbe/common/t4_hw.c
13476
if (qid > (cim_num_ibq - 1) || (n & 3))
sys/dev/cxgbe/common/t4_hw.c
13482
if (n > nwords)
sys/dev/cxgbe/common/t4_hw.c
13483
n = nwords;
sys/dev/cxgbe/common/t4_hw.c
13485
for (i = 0; i < n; i++, addr++, data++) {
sys/dev/cxgbe/common/t4_hw.c
13530
size_t n)
sys/dev/cxgbe/common/t4_hw.c
13536
if ((qid > (cim_num_obq - 1)) || (n & 3))
sys/dev/cxgbe/common/t4_hw.c
13542
if (n > nwords)
sys/dev/cxgbe/common/t4_hw.c
13543
n = nwords;
sys/dev/cxgbe/common/t4_hw.c
13545
for (i = 0; i < n; i++, addr++, data++) {
sys/dev/cxgbe/common/t4_hw.c
13569
unsigned int addr, unsigned int n,
sys/dev/cxgbe/common/t4_hw.c
13585
for ( ; !ret && n--; addr += 4) {
sys/dev/cxgbe/common/t4_hw.c
13610
unsigned int addr, unsigned int n,
sys/dev/cxgbe/common/t4_hw.c
13628
for ( ; !ret && n--; addr += 4) {
sys/dev/cxgbe/common/t4_hw.c
14001
int ret, i, n, cfg_addr;
sys/dev/cxgbe/common/t4_hw.c
14028
n = min(size - i, SF_PAGE_SIZE);
sys/dev/cxgbe/common/t4_hw.c
14029
ret = t4_write_flash(adap, addr, n, cfg_data, 1);
sys/dev/cxgbe/common/t4_hw.c
14374
int ret, i, n, cfg_addr;
sys/dev/cxgbe/common/t4_hw.c
14402
n = min(size - i, SF_PAGE_SIZE);
sys/dev/cxgbe/common/t4_hw.c
14403
ret = t4_write_flash(adap, addr, n, cfg_data, 0);
sys/dev/cxgbe/common/t4_hw.c
3974
unsigned int n, const u8 *data, int byte_oriented)
sys/dev/cxgbe/common/t4_hw.c
3980
if (addr >= adapter->params.sf_size || offset + n > SF_PAGE_SIZE)
sys/dev/cxgbe/common/t4_hw.c
3989
for (left = n; left; left -= c) {
sys/dev/cxgbe/common/t4_hw.c
4013
if (memcmp(data - n, (u8 *)buf + offset, n)) {
sys/dev/cxgbe/common/t4_hw.c
8718
int start, int n, const u16 *rspq, unsigned int nrspq)
sys/dev/cxgbe/common/t4_hw.c
8737
while (n > 0) {
sys/dev/cxgbe/common/t4_hw.c
8738
int nq = min(n, 32);
sys/dev/cxgbe/common/t4_hw.c
8753
n -= nq;
sys/dev/cxgbe/common/t4_hw.c
9649
unsigned int start, unsigned int n)
sys/dev/cxgbe/common/t4_hw.c
9654
if (n > NTX_SCHED)
sys/dev/cxgbe/common/t4_hw.c
9658
for (i = 0; i < n; i++, pace_vals++) {
sys/dev/cxgbe/common/t4_hw.c
9665
for (i = 0; i < n; i++, start++)
sys/dev/cxgbe/crypto/t4_crypto.c
386
u_int n;
sys/dev/cxgbe/crypto/t4_crypto.c
389
n = sizeof(struct ulptx_sgl) + 8 * ((3 * nsegs) / 2 + (nsegs & 1));
sys/dev/cxgbe/crypto/t4_crypto.c
390
return (roundup2(n, 16));
sys/dev/cxgbe/cudbg/cudbg_flash_utils.c
244
unsigned int i, n;
sys/dev/cxgbe/cudbg/cudbg_flash_utils.c
264
n = size - i;
sys/dev/cxgbe/cudbg/cudbg_flash_utils.c
266
n = SF_PAGE_SIZE;
sys/dev/cxgbe/cudbg/cudbg_flash_utils.c
267
rc = t4_write_flash(adap, addr, n, ptr, 0);
sys/dev/cxgbe/cudbg/cudbg_flash_utils.c
271
addr += n;
sys/dev/cxgbe/cudbg/cudbg_flash_utils.c
272
ptr += n;
sys/dev/cxgbe/cudbg/cudbg_flash_utils.c
460
unsigned int addr, i, n;
sys/dev/cxgbe/cudbg/cudbg_flash_utils.c
467
n = size - i;
sys/dev/cxgbe/cudbg/cudbg_flash_utils.c
469
n = SF_PAGE_SIZE;
sys/dev/cxgbe/cudbg/cudbg_flash_utils.c
470
rc = t4_read_flash(adap, addr, n, ptr, 0);
sys/dev/cxgbe/cudbg/cudbg_flash_utils.c
474
addr = addr + (n*4);
sys/dev/cxgbe/cudbg/cudbg_flash_utils.c
475
ptr += n;
sys/dev/cxgbe/cudbg/cudbg_lib.c
1014
for (n = 0; n < i - 1; n++)
sys/dev/cxgbe/cudbg/cudbg_lib.c
1015
if (meminfo_buff->avail[n].limit <
sys/dev/cxgbe/cudbg/cudbg_lib.c
1016
meminfo_buff->avail[n + 1].base)
sys/dev/cxgbe/cudbg/cudbg_lib.c
1017
(md++)->base = meminfo_buff->avail[n].limit;
sys/dev/cxgbe/cudbg/cudbg_lib.c
1019
if (meminfo_buff->avail[n].limit)
sys/dev/cxgbe/cudbg/cudbg_lib.c
1020
(md++)->base = meminfo_buff->avail[n].limit;
sys/dev/cxgbe/cudbg/cudbg_lib.c
1022
n = (int) (md - meminfo_buff->mem);
sys/dev/cxgbe/cudbg/cudbg_lib.c
1023
meminfo_buff->mem_c = n;
sys/dev/cxgbe/cudbg/cudbg_lib.c
1025
qsort(meminfo_buff->mem, n, sizeof(struct struct_mem_desc),
sys/dev/cxgbe/cudbg/cudbg_lib.c
1131
u32 i, n, size;
sys/dev/cxgbe/cudbg/cudbg_lib.c
1138
n = rc;
sys/dev/cxgbe/cudbg/cudbg_lib.c
1140
n * sizeof(struct lb_port_stats);
sys/dev/cxgbe/cudbg/cudbg_lib.c
1148
lb_stats_buff->nchan = n;
sys/dev/cxgbe/cudbg/cudbg_lib.c
1151
for (i = 0; i < n; i += 2, tmp_stats += 2) {
sys/dev/cxgbe/cudbg/cudbg_lib.c
1274
u32 i, n, size;
sys/dev/cxgbe/cudbg/cudbg_lib.c
1281
n = rc;
sys/dev/cxgbe/cudbg/cudbg_lib.c
1295
mac_stats_buff->port_count = n;
sys/dev/cxgbe/cudbg/cudbg_lib.c
3016
int i, rc, n;
sys/dev/cxgbe/cudbg/cudbg_lib.c
3018
n = sizeof(t5_up_cim_reg_array) / (4 * sizeof(u32));
sys/dev/cxgbe/cudbg/cudbg_lib.c
3019
size = sizeof(struct ireg_buf) * n;
sys/dev/cxgbe/cudbg/cudbg_lib.c
3028
for (i = 0; i < n; i++) {
sys/dev/cxgbe/cudbg/cudbg_lib.c
3224
int i, rc, n;
sys/dev/cxgbe/cudbg/cudbg_lib.c
3226
n = sizeof(t5_pm_rx_array) / (4 * sizeof(u32));
sys/dev/cxgbe/cudbg/cudbg_lib.c
3227
size = sizeof(struct ireg_buf) * n * 2;
sys/dev/cxgbe/cudbg/cudbg_lib.c
3237
for (i = 0; i < n; i++) {
sys/dev/cxgbe/cudbg/cudbg_lib.c
3257
n = sizeof(t5_pm_tx_array) / (4 * sizeof(u32));
sys/dev/cxgbe/cudbg/cudbg_lib.c
3258
for (i = 0; i < n; i++) {
sys/dev/cxgbe/cudbg/cudbg_lib.c
3513
u32 size = 0, i, n, total_size = 0;
sys/dev/cxgbe/cudbg/cudbg_lib.c
3518
n = padap->chip_params->mps_tcam_size;
sys/dev/cxgbe/cudbg/cudbg_lib.c
3519
size = sizeof(struct cudbg_mps_tcam) * n;
sys/dev/cxgbe/cudbg/cudbg_lib.c
3528
for (i = 0; i < n; i++) {
sys/dev/cxgbe/cudbg/cudbg_lib.c
3680
int i, rc, n;
sys/dev/cxgbe/cudbg/cudbg_lib.c
3683
n = sizeof(t5_pcie_config_array) / (2 * sizeof(u32));
sys/dev/cxgbe/cudbg/cudbg_lib.c
3691
for (i = 0; i < n; i++) {
sys/dev/cxgbe/cudbg/cudbg_lib.c
3888
int i, rc, n;
sys/dev/cxgbe/cudbg/cudbg_lib.c
3897
n = sizeof(t6_ma_ireg_array) / (4 * sizeof(u32));
sys/dev/cxgbe/cudbg/cudbg_lib.c
3898
size = sizeof(struct ireg_buf) * n * 2;
sys/dev/cxgbe/cudbg/cudbg_lib.c
3907
for (i = 0; i < n; i++) {
sys/dev/cxgbe/cudbg/cudbg_lib.c
3924
n = sizeof(t6_ma_ireg_array2) / (4 * sizeof(u32));
sys/dev/cxgbe/cudbg/cudbg_lib.c
3926
for (i = 0; i < n; i++) {
sys/dev/cxgbe/cudbg/cudbg_lib.c
3964
int i, rc, n;
sys/dev/cxgbe/cudbg/cudbg_lib.c
3973
n = sizeof(t6_hma_ireg_array) / (4 * sizeof(u32));
sys/dev/cxgbe/cudbg/cudbg_lib.c
3974
size = sizeof(struct ireg_buf) * n;
sys/dev/cxgbe/cudbg/cudbg_lib.c
3983
for (i = 0; i < n; i++) {
sys/dev/cxgbe/cudbg/cudbg_lib.c
4020
int i, rc, n;
sys/dev/cxgbe/cudbg/cudbg_lib.c
4022
n = sizeof(t5_pcie_pdbg_array) / (4 * sizeof(u32));
sys/dev/cxgbe/cudbg/cudbg_lib.c
4023
size = sizeof(struct ireg_buf) * n * 2;
sys/dev/cxgbe/cudbg/cudbg_lib.c
4033
for (i = 0; i < n; i++) {
sys/dev/cxgbe/cudbg/cudbg_lib.c
4053
n = sizeof(t5_pcie_cdbg_array) / (4 * sizeof(u32));
sys/dev/cxgbe/cudbg/cudbg_lib.c
4054
for (i = 0; i < n; i++) {
sys/dev/cxgbe/cudbg/cudbg_lib.c
4094
int i, rc, n = 0;
sys/dev/cxgbe/cudbg/cudbg_lib.c
4097
n = sizeof(t5_tp_pio_array) / (4 * sizeof(u32));
sys/dev/cxgbe/cudbg/cudbg_lib.c
4099
n = sizeof(t6_tp_pio_array) / (4 * sizeof(u32));
sys/dev/cxgbe/cudbg/cudbg_lib.c
4101
size = sizeof(struct ireg_buf) * n * 3;
sys/dev/cxgbe/cudbg/cudbg_lib.c
4111
for (i = 0; i < n; i++) {
sys/dev/cxgbe/cudbg/cudbg_lib.c
4135
n = sizeof(t5_tp_tm_pio_array) / (4 * sizeof(u32));
sys/dev/cxgbe/cudbg/cudbg_lib.c
4137
n = sizeof(t6_tp_tm_pio_array) / (4 * sizeof(u32));
sys/dev/cxgbe/cudbg/cudbg_lib.c
4139
for (i = 0; i < n; i++) {
sys/dev/cxgbe/cudbg/cudbg_lib.c
4163
n = sizeof(t5_tp_mib_index_array) / (4 * sizeof(u32));
sys/dev/cxgbe/cudbg/cudbg_lib.c
4165
n = sizeof(t6_tp_mib_index_array) / (4 * sizeof(u32));
sys/dev/cxgbe/cudbg/cudbg_lib.c
4167
for (i = 0; i < n ; i++) {
sys/dev/cxgbe/cudbg/cudbg_lib.c
842
int n, i, rc = 0;
sys/dev/cxgbe/iw_cxgbe/mem.c
393
int shift, n, len;
sys/dev/cxgbe/iw_cxgbe/mem.c
430
n = mhp->umem->nmap;
sys/dev/cxgbe/iw_cxgbe/mem.c
431
err = alloc_pbl(mhp, n);
sys/dev/cxgbe/iw_cxgbe/mem.c
441
i = n = 0;
sys/dev/cxgbe/iw_cxgbe/mem.c
450
mhp->attr.pbl_addr + (n << 3), i);
sys/dev/cxgbe/iw_cxgbe/mem.c
453
n += i;
sys/dev/cxgbe/iw_cxgbe/mem.c
462
mhp->attr.pbl_addr + (n << 3), i);
sys/dev/cxgbe/nvmf/nvmf_che.c
114
#define FL_CID_BUSY(n, p) __BIT_CLR(CHE_NUM_FL_TAGS, n, p)
sys/dev/cxgbe/nvmf/nvmf_che.c
115
#define FL_CID_ISACTIVE(n, p) !__BIT_ISSET(CHE_NUM_FL_TAGS, n, p)
sys/dev/cxgbe/nvmf/nvmf_che.c
116
#define FL_CID_FREE(n, p) __BIT_SET(CHE_NUM_FL_TAGS, n, p)
sys/dev/cxgbe/nvmf/nvmf_che.c
1879
struct mbuf *m, *n;
sys/dev/cxgbe/nvmf/nvmf_che.c
1898
n = mbufq_dequeue(&qp->rx_data);
sys/dev/cxgbe/nvmf/nvmf_che.c
1899
KASSERT(n != NULL, ("%s: missing %zu data", __func__, len));
sys/dev/cxgbe/nvmf/nvmf_che.c
1900
if (n == NULL) {
sys/dev/cxgbe/nvmf/nvmf_che.c
1905
KASSERT(n->m_pkthdr.nvmf_tcp_seq == tcp_seq,
sys/dev/cxgbe/nvmf/nvmf_che.c
1907
KASSERT(n->m_pkthdr.len <= len,
sys/dev/cxgbe/nvmf/nvmf_che.c
1909
if (n->m_pkthdr.nvmf_tcp_seq != tcp_seq ||
sys/dev/cxgbe/nvmf/nvmf_che.c
1910
n->m_pkthdr.len > len) {
sys/dev/cxgbe/nvmf/nvmf_che.c
1911
m_freem(n);
sys/dev/cxgbe/nvmf/nvmf_che.c
1918
qp->toep->tid, n->m_pkthdr.len, n->m_pkthdr.nvmf_tcp_seq);
sys/dev/cxgbe/nvmf/nvmf_che.c
1920
pdu->m->m_pkthdr.len += n->m_pkthdr.len;
sys/dev/cxgbe/nvmf/nvmf_che.c
1921
len -= n->m_pkthdr.len;
sys/dev/cxgbe/nvmf/nvmf_che.c
1922
tcp_seq += n->m_pkthdr.len;
sys/dev/cxgbe/nvmf/nvmf_che.c
1923
m_demote_pkthdr(n);
sys/dev/cxgbe/nvmf/nvmf_che.c
1924
m->m_next = n;
sys/dev/cxgbe/nvmf/nvmf_che.c
1925
m = m_last(n);
sys/dev/cxgbe/nvmf/nvmf_che.c
3054
struct mbuf *n;
sys/dev/cxgbe/nvmf/nvmf_che.c
3058
n = m_split(m, qp->max_tx_data, M_WAITOK);
sys/dev/cxgbe/nvmf/nvmf_che.c
3065
n = p->m_next;
sys/dev/cxgbe/nvmf/nvmf_che.c
3066
while (n != NULL) {
sys/dev/cxgbe/nvmf/nvmf_che.c
3067
if (todo + n->m_len > qp->max_tx_data) {
sys/dev/cxgbe/nvmf/nvmf_che.c
3071
todo += n->m_len;
sys/dev/cxgbe/nvmf/nvmf_che.c
3072
p = n;
sys/dev/cxgbe/nvmf/nvmf_che.c
3073
n = p->m_next;
sys/dev/cxgbe/nvmf/nvmf_che.c
3078
last_pdu = (n == NULL && last_xfer);
sys/dev/cxgbe/nvmf/nvmf_che.c
3084
m = n;
sys/dev/cxgbe/t4_filter.c
1093
const int n = fs->type ? 16 : 4;
sys/dev/cxgbe/t4_filter.c
1098
for (i = 0; i < n; i++) {
sys/dev/cxgbe/t4_filter.c
113
int n;
sys/dev/cxgbe/t4_filter.c
119
n = max(t->ntids / 1024, 16);
sys/dev/cxgbe/t4_filter.c
120
t->hftid_hash_4t = hashinit_flags(n, M_CXGBE, &t->hftid_4t_mask, flags);
sys/dev/cxgbe/t4_filter.c
123
t->hftid_hash_tid = hashinit_flags(n, M_CXGBE, &t->hftid_tid_mask,
sys/dev/cxgbe/t4_filter.c
144
int n = 0;
sys/dev/cxgbe/t4_filter.c
161
n += f->fs.type ? 2 : 1;
sys/dev/cxgbe/t4_filter.c
167
MPASS(t->tids_in_use == n);
sys/dev/cxgbe/t4_filter.c
217
int n;
sys/dev/cxgbe/t4_filter.c
224
n = fs1->type ? 16 : 4;
sys/dev/cxgbe/t4_filter.c
225
if (bcmp(&fs1->val.sip[0], &fs2->val.sip[0], n) ||
sys/dev/cxgbe/t4_filter.c
226
bcmp(&fs1->val.dip[0], &fs2->val.dip[0], n) ||
sys/dev/cxgbe/t4_main.c
10499
int rc, i, n, nchan;
sys/dev/cxgbe/t4_main.c
10765
for (n = 0; n < i - 1; n++)
sys/dev/cxgbe/t4_main.c
10766
if (avail[n].limit < avail[n + 1].base)
sys/dev/cxgbe/t4_main.c
10767
(md++)->base = avail[n].limit;
sys/dev/cxgbe/t4_main.c
10768
if (avail[n].limit)
sys/dev/cxgbe/t4_main.c
10769
(md++)->base = avail[n].limit;
sys/dev/cxgbe/t4_main.c
10771
n = md - mem;
sys/dev/cxgbe/t4_main.c
10772
MPASS(n <= nitems(mem));
sys/dev/cxgbe/t4_main.c
10773
qsort(mem, n, sizeof(struct mem_desc), mem_desc_cmp);
sys/dev/cxgbe/t4_main.c
10780
for (i = 0; i < n; i++) {
sys/dev/cxgbe/t4_main.c
10784
mem[i].limit = i < n - 1 ? mem[i + 1].base - 1 : ~0;
sys/dev/cxgbe/t4_main.c
12904
uint32_t addr, remaining, n;
sys/dev/cxgbe/t4_main.c
12924
n = min(remaining, MAX_READ_BUF_SIZE);
sys/dev/cxgbe/t4_main.c
12929
read_via_memwin(sc, 2, addr, buf, n);
sys/dev/cxgbe/t4_main.c
12934
rc = copyout(buf, dst, n);
sys/dev/cxgbe/t4_main.c
12938
dst += n;
sys/dev/cxgbe/t4_main.c
12939
remaining -= n;
sys/dev/cxgbe/t4_main.c
12940
addr += n;
sys/dev/cxgbe/t4_main.c
13464
int i, j, n;
sys/dev/cxgbe/t4_main.c
13472
n = 0;
sys/dev/cxgbe/t4_main.c
13480
n++;
sys/dev/cxgbe/t4_main.c
13484
if (n > 0) {
sys/dev/cxgbe/t4_main.c
4389
int i, n, remaining;
sys/dev/cxgbe/t4_main.c
4399
n = 0;
sys/dev/cxgbe/t4_main.c
4410
n++;
sys/dev/cxgbe/t4_main.c
4422
n++;
sys/dev/cxgbe/t4_main.c
4434
n++;
sys/dev/cxgbe/t4_main.c
4446
n++;
sys/dev/cxgbe/t4_main.c
4449
MPASS(n <= nitems(mem_ranges));
sys/dev/cxgbe/t4_main.c
4451
if (n > 1) {
sys/dev/cxgbe/t4_main.c
4453
qsort(mem_ranges, n, sizeof(struct t4_range), t4_range_cmp);
sys/dev/cxgbe/t4_main.c
4457
for (remaining = n - 1; remaining > 0; remaining--, r++) {
sys/dev/cxgbe/t4_main.c
4467
n--; /* One fewer entry in total. */
sys/dev/cxgbe/t4_main.c
4487
MPASS(n < nitems(mem_ranges));
sys/dev/cxgbe/t4_main.c
4488
bzero(&mem_ranges[n], (nitems(mem_ranges) - n) *
sys/dev/cxgbe/t4_main.c
4495
MPASS(n > 0);
sys/dev/cxgbe/t4_main.c
4497
for (i = 0; i < n; i++, r++) {
sys/dev/cxgbe/t4_main.c
6396
int n = 0;
sys/dev/cxgbe/t4_main.c
6406
n++;
sys/dev/cxgbe/t4_main.c
6417
n++;
sys/dev/cxgbe/t4_main.c
6425
n++;
sys/dev/cxgbe/t4_main.c
6430
n++;
sys/dev/cxgbe/t4_main.c
6435
n++;
sys/dev/cxgbe/t4_main.c
6444
n++;
sys/dev/cxgbe/t4_main.c
6448
return (n);
sys/dev/cxgbe/t4_main.c
6996
int n = max(vi->nrxq, vi->nnmrxq);
sys/dev/cxgbe/t4_main.c
7002
for (q = 0; q < n; q++) {
sys/dev/cxgbe/t4_main.c
7991
#define SYSCTL_CAP(name, n, text) \
sys/dev/cxgbe/t4_main.c
7993
CTLTYPE_STRING | CTLFLAG_RD | CTLFLAG_MPSAFE, caps_decoder[n], \
sys/dev/cxgbe/t4_main.c
8992
int n;
sys/dev/cxgbe/t4_main.c
9006
n = s[0] - '0';
sys/dev/cxgbe/t4_main.c
9007
if (n & ~(PAUSE_TX | PAUSE_RX | PAUSE_AUTONEG))
sys/dev/cxgbe/t4_main.c
9016
lc->requested_fc = n;
sys/dev/cxgbe/t4_main.c
9071
int n;
sys/dev/cxgbe/t4_main.c
9080
n = strtol(&s[0], NULL, 0);
sys/dev/cxgbe/t4_main.c
9081
if (n < 0 || n & FEC_AUTO)
sys/dev/cxgbe/t4_main.c
9082
n = FEC_AUTO;
sys/dev/cxgbe/t4_main.c
9083
else if (n & ~(M_FW_PORT_CAP32_FEC | FEC_MODULE))
sys/dev/cxgbe/t4_main.c
9095
if (n == FEC_AUTO)
sys/dev/cxgbe/t4_main.c
9097
else if (n == 0 || n == FEC_NONE)
sys/dev/cxgbe/t4_main.c
9101
V_FW_PORT_CAP32_FEC(n & M_FW_PORT_CAP32_FEC)) !=
sys/dev/cxgbe/t4_main.c
9106
lc->requested_fec = n & (M_FW_PORT_CAP32_FEC |
sys/dev/cxgbe/t4_main.c
9486
int rc, i, n, qid, coreid;
sys/dev/cxgbe/t4_main.c
9497
n = 4 * CIM_IBQ_SIZE;
sys/dev/cxgbe/t4_main.c
9498
buf = malloc(n * sizeof(uint32_t), M_CXGBE, M_ZERO | M_WAITOK);
sys/dev/cxgbe/t4_main.c
9503
rc = t4_read_cim_ibq_core(sc, coreid, qid, buf, n);
sys/dev/cxgbe/t4_main.c
9509
n = rc * sizeof(uint32_t); /* rc has # of words actually read */
sys/dev/cxgbe/t4_main.c
9516
for (i = 0, p = buf; i < n; i += 16, p += 4)
sys/dev/cxgbe/t4_main.c
9531
int rc, i, n, qid, coreid;
sys/dev/cxgbe/t4_main.c
9542
n = 6 * CIM_OBQ_SIZE * 4;
sys/dev/cxgbe/t4_main.c
9543
buf = malloc(n * sizeof(uint32_t), M_CXGBE, M_ZERO | M_WAITOK);
sys/dev/cxgbe/t4_main.c
9548
rc = t4_read_cim_obq_core(sc, coreid, qid, buf, n);
sys/dev/cxgbe/t4_main.c
9554
n = rc * sizeof(uint32_t); /* rc has # of words actually read */
sys/dev/cxgbe/t4_main.c
9565
for (i = 0, p = buf; i < n; i += 16, p += 4)
sys/dev/cxgbe/t4_mp_ring.c
102
increment_idx(struct mp_ring *r, uint16_t idx, uint16_t n)
sys/dev/cxgbe/t4_mp_ring.c
107
return (x > n ? idx + n : n - x);
sys/dev/cxgbe/t4_mp_ring.c
118
int n, pending, total;
sys/dev/cxgbe/t4_mp_ring.c
138
n = r->drain(r, cidx, pidx, &coalescing);
sys/dev/cxgbe/t4_mp_ring.c
139
if (n == 0) {
sys/dev/cxgbe/t4_mp_ring.c
163
cidx = increment_idx(r, cidx, n);
sys/dev/cxgbe/t4_mp_ring.c
164
pending += n;
sys/dev/cxgbe/t4_mp_ring.c
165
total += n;
sys/dev/cxgbe/t4_mp_ring.c
166
counter_u64_add(r->consumed, n);
sys/dev/cxgbe/t4_mp_ring.c
343
mp_ring_enqueue(struct mp_ring *r, void **items, int n, int budget)
sys/dev/cxgbe/t4_mp_ring.c
351
MPASS(n > 0);
sys/dev/cxgbe/t4_mp_ring.c
361
if (__predict_true(space_available(r, os) >= n))
sys/dev/cxgbe/t4_mp_ring.c
369
counter_u64_add(r->dropped, n);
sys/dev/cxgbe/t4_mp_ring.c
383
ns.pidx_head = increment_idx(r, os.pidx_head, n);
sys/dev/cxgbe/t4_mp_ring.c
388
ns.pidx_tail = increment_idx(r, os.pidx_tail, n);
sys/dev/cxgbe/t4_mp_ring.c
481
mp_ring_enqueue_only(struct mp_ring *r, void **items, int n)
sys/dev/cxgbe/t4_mp_ring.c
488
MPASS(n > 0);
sys/dev/cxgbe/t4_mp_ring.c
501
if (__predict_false(space_available(r, os) < n)) {
sys/dev/cxgbe/t4_mp_ring.c
503
counter_u64_add(r->dropped, n);
sys/dev/cxgbe/t4_mp_ring.c
510
ns.pidx_head = increment_idx(r, os.pidx_head, n);
sys/dev/cxgbe/t4_netmap.c
1021
npkt -= n;
sys/dev/cxgbe/t4_netmap.c
1022
nm_txq->pidx += npkt_to_ndesc(n);
sys/dev/cxgbe/t4_netmap.c
1080
int n = 0;
sys/dev/cxgbe/t4_netmap.c
1092
n += wr->npkt;
sys/dev/cxgbe/t4_netmap.c
1105
return (n);
sys/dev/cxgbe/t4_netmap.c
1118
int n, d, npkt_remaining, ndesc_remaining;
sys/dev/cxgbe/t4_netmap.c
1141
n = npkt_remaining;
sys/dev/cxgbe/t4_netmap.c
1144
n = (ndesc_remaining / SGE_MAX_WR_NDESC) *
sys/dev/cxgbe/t4_netmap.c
1147
n += ndesc_to_npkt(ndesc_remaining % SGE_MAX_WR_NDESC);
sys/dev/cxgbe/t4_netmap.c
1151
npkt_remaining -= n;
sys/dev/cxgbe/t4_netmap.c
1152
cxgbe_nm_tx(sc, nm_txq, kring, n, npkt_remaining);
sys/dev/cxgbe/t4_netmap.c
1181
u_int n;
sys/dev/cxgbe/t4_netmap.c
1200
n = head >= kring->nr_hwcur ? head - kring->nr_hwcur :
sys/dev/cxgbe/t4_netmap.c
1202
n &= ~7U;
sys/dev/cxgbe/t4_netmap.c
1203
if (n > 0) {
sys/dev/cxgbe/t4_netmap.c
1215
MPASS((n & 7) == 0);
sys/dev/cxgbe/t4_netmap.c
1217
IDXINCR(kring->nr_hwcur, n, kring->nkr_num_slots);
sys/dev/cxgbe/t4_netmap.c
1218
IDXINCR(nm_rxq->fl_pidx, n, nm_rxq->fl_sidx2);
sys/dev/cxgbe/t4_netmap.c
1220
while (n > 0) {
sys/dev/cxgbe/t4_netmap.c
1228
n -= 8;
sys/dev/cxgbe/t4_netmap.c
877
ndesc_to_npkt(const int n)
sys/dev/cxgbe/t4_netmap.c
880
MPASS(n > 0 && n <= SGE_MAX_WR_NDESC);
sys/dev/cxgbe/t4_netmap.c
882
return (n * 2 - 1);
sys/dev/cxgbe/t4_netmap.c
891
npkt_to_ndesc(const int n)
sys/dev/cxgbe/t4_netmap.c
894
MPASS(n > 0 && n <= MAX_NPKT_IN_TYPE1_WR);
sys/dev/cxgbe/t4_netmap.c
896
return ((n + 2) / 2);
sys/dev/cxgbe/t4_netmap.c
904
npkt_to_len16(const int n)
sys/dev/cxgbe/t4_netmap.c
907
MPASS(n > 0 && n <= MAX_NPKT_IN_TYPE1_WR);
sys/dev/cxgbe/t4_netmap.c
909
return (n * 2 + 1);
sys/dev/cxgbe/t4_netmap.c
917
int n;
sys/dev/cxgbe/t4_netmap.c
922
n = NMIDXDIFF(nm_txq, dbidx);
sys/dev/cxgbe/t4_netmap.c
923
if (n > 1)
sys/dev/cxgbe/t4_netmap.c
929
*nm_txq->udb = htole32(V_QID(nm_txq->udb_qid) | V_PIDX(n));
sys/dev/cxgbe/t4_netmap.c
940
KASSERT(nm_txq->udb_qid == 0 && n == 1,
sys/dev/cxgbe/t4_netmap.c
942
__func__, nm_txq->doorbells, n, nm_txq->pidx, nm_txq));
sys/dev/cxgbe/t4_netmap.c
954
*nm_txq->udb = htole32(V_QID(nm_txq->udb_qid) | V_PIDX(n));
sys/dev/cxgbe/t4_netmap.c
960
V_QID(nm_txq->cntxt_id) | V_PIDX(n));
sys/dev/cxgbe/t4_netmap.c
982
int i, n;
sys/dev/cxgbe/t4_netmap.c
985
n = min(npkt, MAX_NPKT_IN_TYPE1_WR);
sys/dev/cxgbe/t4_netmap.c
990
wr->equiq_to_len16 = htobe32(V_FW_WR_LEN16(npkt_to_len16(n)));
sys/dev/cxgbe/t4_netmap.c
991
wr->npkt = n;
sys/dev/cxgbe/t4_netmap.c
996
for (i = 0; i < n; i++) {
sys/dev/cxgbe/t4_sched.c
256
const int n = sc->params.nsched_cls;
sys/dev/cxgbe/t4_sched.c
262
for (j = 0; j < n; j++, tc++) {
sys/dev/cxgbe/t4_sched.c
455
const int n = sc->params.nsched_cls;
sys/dev/cxgbe/t4_sched.c
463
n * sizeof(struct tx_cl_rl_params), M_CXGBE, M_ZERO | M_WAITOK);
sys/dev/cxgbe/t4_sge.c
2183
wrq_tx_drain(void *arg, int n)
sys/dev/cxgbe/t4_sge.c
2199
u_int n;
sys/dev/cxgbe/t4_sge.c
2218
n = howmany(wr->wr_len, EQ_ESIZE);
sys/dev/cxgbe/t4_sge.c
2219
if (available < n)
sys/dev/cxgbe/t4_sge.c
2223
if (__predict_true(eq->sidx - eq->pidx > n)) {
sys/dev/cxgbe/t4_sge.c
2226
eq->pidx += n;
sys/dev/cxgbe/t4_sge.c
2235
eq->pidx = n - (eq->sidx - eq->pidx);
sys/dev/cxgbe/t4_sge.c
2250
dbdiff += n;
sys/dev/cxgbe/t4_sge.c
2260
MPASS(wrq->ndesc_needed >= n);
sys/dev/cxgbe/t4_sge.c
2261
wrq->ndesc_needed -= n;
sys/dev/cxgbe/t4_sge.c
2352
int n;
sys/dev/cxgbe/t4_sge.c
2355
n = m->m_pkthdr.PH_loc.eight[2];
sys/dev/cxgbe/t4_sge.c
2356
MPASS(n > 0 && n <= SGE_MAX_WR_LEN / 16);
sys/dev/cxgbe/t4_sge.c
2358
return (n);
sys/dev/cxgbe/t4_sge.c
3035
int n = (eq->sidx - wrq->ss_pidx) * EQ_ESIZE;
sys/dev/cxgbe/t4_sge.c
3037
MPASS(wrq->ss_len > n); /* WR had better wrap around. */
sys/dev/cxgbe/t4_sge.c
3038
bcopy(&wrq->ss[0], &eq->desc[wrq->ss_pidx], n);
sys/dev/cxgbe/t4_sge.c
3039
bcopy(&wrq->ss[n], &eq->desc[0], wrq->ss_len - n);
sys/dev/cxgbe/t4_sge.c
3193
u_int n, avail, dbdiff; /* # of hardware descriptors */
sys/dev/cxgbe/t4_sge.c
3268
n = write_txpkts_vm_wr(sc, txq);
sys/dev/cxgbe/t4_sge.c
3270
n = write_txpkts_wr(sc, txq);
sys/dev/cxgbe/t4_sge.c
3275
n = write_txpkt_vm_wr(sc, txq,
sys/dev/cxgbe/t4_sge.c
3278
n = write_txpkt_wr(sc, txq, txp->mb[0],
sys/dev/cxgbe/t4_sge.c
3281
MPASS(n <= SGE_MAX_WR_NDESC);
sys/dev/cxgbe/t4_sge.c
3282
avail -= n;
sys/dev/cxgbe/t4_sge.c
3283
dbdiff += n;
sys/dev/cxgbe/t4_sge.c
3285
IDXINCR(eq->pidx, n, eq->sidx);
sys/dev/cxgbe/t4_sge.c
3306
n = tx_len16_to_desc(mbuf_len16(m0));
sys/dev/cxgbe/t4_sge.c
3307
if (__predict_false(avail < n)) {
sys/dev/cxgbe/t4_sge.c
3308
avail += reclaim_tx_descs(txq, min(n, 32));
sys/dev/cxgbe/t4_sge.c
3309
if (avail < n)
sys/dev/cxgbe/t4_sge.c
3315
n = write_raw_wr(txq, wr, m0, avail);
sys/dev/cxgbe/t4_sge.c
3320
n = t6_ktls_write_wr(txq, wr, m0, avail);
sys/dev/cxgbe/t4_sge.c
3322
n = t7_ktls_write_wr(txq, wr, m0, avail);
sys/dev/cxgbe/t4_sge.c
3327
n = write_txpkt_vm_wr(sc, txq, m0);
sys/dev/cxgbe/t4_sge.c
3329
n = write_txpkt_wr(sc, txq, m0, avail);
sys/dev/cxgbe/t4_sge.c
3331
MPASS(n >= 1 && n <= avail);
sys/dev/cxgbe/t4_sge.c
3333
MPASS(n <= SGE_MAX_WR_NDESC);
sys/dev/cxgbe/t4_sge.c
3335
avail -= n;
sys/dev/cxgbe/t4_sge.c
3336
dbdiff += n;
sys/dev/cxgbe/t4_sge.c
3337
IDXINCR(eq->pidx, n, eq->sidx);
sys/dev/cxgbe/t4_sge.c
3371
n = write_txpkts_vm_wr(sc, txq);
sys/dev/cxgbe/t4_sge.c
3373
n = write_txpkts_wr(sc, txq);
sys/dev/cxgbe/t4_sge.c
3378
n = write_txpkt_vm_wr(sc, txq, txp->mb[0]);
sys/dev/cxgbe/t4_sge.c
3380
n = write_txpkt_wr(sc, txq, txp->mb[0], avail);
sys/dev/cxgbe/t4_sge.c
3382
MPASS(n <= SGE_MAX_WR_NDESC);
sys/dev/cxgbe/t4_sge.c
3384
IDXINCR(eq->pidx, n, eq->sidx);
sys/dev/cxgbe/t4_sge.c
3388
set_txupdate_flags(txq, avail - n, wr);
sys/dev/cxgbe/t4_sge.c
3389
ring_eq_db(sc, eq, n);
sys/dev/cxgbe/t4_sge.c
5145
uint32_t n, v;
sys/dev/cxgbe/t4_sge.c
5147
n = IDXDIFF(fl->pidx >> 3, fl->dbidx, fl->sidx);
sys/dev/cxgbe/t4_sge.c
5148
MPASS(n > 0);
sys/dev/cxgbe/t4_sge.c
5151
v = fl->dbval | V_PIDX(n);
sys/dev/cxgbe/t4_sge.c
5156
IDXINCR(fl->dbidx, n, fl->sidx);
sys/dev/cxgbe/t4_sge.c
5167
refill_fl(struct adapter *sc, struct sge_fl *fl, int n)
sys/dev/cxgbe/t4_sge.c
5193
while (n > 0) {
sys/dev/cxgbe/t4_sge.c
5236
n--;
sys/dev/cxgbe/t4_sge.c
5262
if (n < 8 || pidx == max_pidx)
sys/dev/cxgbe/t4_sge.c
5366
u_int n;
sys/dev/cxgbe/t4_sge.c
5371
n = extra + sizeof(struct fw_eth_tx_pkt_wr) +
sys/dev/cxgbe/t4_sge.c
5375
return (howmany(n, 16));
sys/dev/cxgbe/t4_sge.c
5385
u_int n;
sys/dev/cxgbe/t4_sge.c
5390
n = extra + sizeof(struct fw_eth_tx_pkt_vm_wr) +
sys/dev/cxgbe/t4_sge.c
5394
return (howmany(n, 16));
sys/dev/cxgbe/t4_sge.c
5427
u_int n;
sys/dev/cxgbe/t4_sge.c
5432
n = sizeof(struct ulp_txpkt) + sizeof(struct ulptx_idata) +
sys/dev/cxgbe/t4_sge.c
5436
return (howmany(n, 16));
sys/dev/cxgbe/t4_sge.c
5446
u_int n;
sys/dev/cxgbe/t4_sge.c
5448
n = sizeof(struct cpl_tx_pkt_core) + sizeof(struct ulptx_sgl);
sys/dev/cxgbe/t4_sge.c
5450
return (howmany(n, 16));
sys/dev/cxgbe/t4_sge.c
5456
u_int n;
sys/dev/cxgbe/t4_sge.c
5458
n = ndesc * EQ_ESIZE - sizeof(struct fw_eth_tx_pkt_wr) -
sys/dev/cxgbe/t4_sge.c
5461
return (n);
sys/dev/cxgbe/t4_sge.c
6323
ring_eq_db(struct adapter *sc, struct sge_eq *eq, u_int n)
sys/dev/cxgbe/t4_sge.c
6327
MPASS(n > 0);
sys/dev/cxgbe/t4_sge.c
6330
if (n > 1)
sys/dev/cxgbe/t4_sge.c
6336
*eq->udb = htole32(V_QID(eq->udb_qid) | V_PIDX(n));
sys/dev/cxgbe/t4_sge.c
6348
KASSERT(eq->udb_qid == 0 && n == 1,
sys/dev/cxgbe/t4_sge.c
6350
__func__, eq->doorbells, n, eq->dbidx, eq));
sys/dev/cxgbe/t4_sge.c
6363
*eq->udb = htole32(V_QID(eq->udb_qid) | V_PIDX(n));
sys/dev/cxgbe/t4_sge.c
6369
V_QID(eq->cntxt_id) | V_PIDX(n));
sys/dev/cxgbe/t4_sge.c
6373
IDXINCR(eq->dbidx, n, eq->sidx);
sys/dev/cxgbe/t4_sge.c
6412
reclaim_tx_descs(struct sge_txq *txq, u_int n)
sys/dev/cxgbe/t4_sge.c
6419
MPASS(n > 0);
sys/dev/cxgbe/t4_sge.c
6423
while (can_reclaim && reclaimed < n) {
sys/dev/cxgbe/t4_sge.c
6452
tx_reclaim(void *arg, int n)
sys/dev/cxgbe/t4_sge.c
6460
n = reclaim_tx_descs(txq, 32);
sys/dev/cxgbe/t4_sge.c
6464
} while (n > 0);
sys/dev/cxgbe/t4_sge.c
6722
u_int n;
sys/dev/cxgbe/t4_sge.c
6726
n = roundup2(sizeof(struct fw_eth_tx_eo_wr) +
sys/dev/cxgbe/t4_sge.c
6732
n += sizeof(struct ulptx_sgl) + 8 * ((3 * nsegs) / 2 + (nsegs & 1));
sys/dev/cxgbe/t4_sge.c
6734
n += sizeof(struct cpl_tx_pkt_lso_core);
sys/dev/cxgbe/t4_sge.c
6737
return (howmany(n, 16));
sys/dev/cxgbe/t4_sge.c
897
int i, j, n;
sys/dev/cxgbe/t4_sge.c
930
n = rxb->size1 - hwsize - CL_METADATA_SIZE;
sys/dev/cxgbe/t4_sge.c
931
if (n == 0) {
sys/dev/cxgbe/t4_sge.c
937
if (n < sp->sge_fl_buffer_size[rxb->hwidx2] -
sys/dev/cxgbe/t4_sge.c
942
} else if (n <= 2 * CL_METADATA_SIZE) {
sys/dev/cxgbe/t4_vf.c
521
int rc = 0, i, j, rqidx, tqidx, n, p, pmask;
sys/dev/cxgbe/t4_vf.c
693
n = 1;
sys/dev/cxgbe/t4_vf.c
696
rc = t4vf_get_vf_mac(sc, p, &n, mac);
sys/dev/cxgbe/t4_vf.c
697
if (rc == 0 && n == 1)
sys/dev/cxgbe/tom/t4_cpl_io.c
1073
int n;
sys/dev/cxgbe/tom/t4_cpl_io.c
1076
n = sglist_count_mbuf_epg(m, mtod(m, vm_offset_t),
sys/dev/cxgbe/tom/t4_cpl_io.c
1079
n = sglist_count(mtod(m, void *), m->m_len);
sys/dev/cxgbe/tom/t4_cpl_io.c
1081
nsegs += n;
sys/dev/cxgbe/tom/t4_cpl_io.c
1093
if (max_nsegs_1mbuf < n)
sys/dev/cxgbe/tom/t4_cpl_io.c
1094
max_nsegs_1mbuf = n;
sys/dev/cxgbe/tom/t4_cpl_io.c
1271
int n;
sys/dev/cxgbe/tom/t4_cpl_io.c
1274
n = sglist_count_mbuf_epg(m, mtod(m, vm_offset_t),
sys/dev/cxgbe/tom/t4_cpl_io.c
1277
n = sglist_count(mtod(m, void *), m->m_len);
sys/dev/cxgbe/tom/t4_cpl_io.c
1279
nsegs += n;
sys/dev/cxgbe/tom/t4_cpl_io.c
1291
if (max_nsegs_1mbuf < n)
sys/dev/cxgbe/tom/t4_cpl_io.c
1292
max_nsegs_1mbuf = n;
sys/dev/cxgbe/tom/t4_cpl_io.c
508
const int n = 1; /* Use no more than one desc for imm. data WR */
sys/dev/cxgbe/tom/t4_cpl_io.c
517
if (tx_credits >= (n * EQ_ESIZE) / 16)
sys/dev/cxgbe/tom/t4_cpl_io.c
518
return ((n * EQ_ESIZE) - sizeof(struct fw_ofld_tx_data_wr) -
sys/dev/cxgbe/tom/t4_cpl_io.c
578
write_tx_sgl(void *dst, struct mbuf *start, struct mbuf *stop, int nsegs, int n)
sys/dev/cxgbe/tom/t4_cpl_io.c
584
struct sglist_seg segs[n];
sys/dev/cxgbe/tom/t4_cpl_io.c
588
sglist_init(&sg, n, segs);
sys/dev/cxgbe/tom/t4_cpl_io.c
769
int n;
sys/dev/cxgbe/tom/t4_cpl_io.c
787
n = sglist_count_mbuf_epg(m,
sys/dev/cxgbe/tom/t4_cpl_io.c
790
n = sglist_count(mtod(m, void *), m->m_len);
sys/dev/cxgbe/tom/t4_cpl_io.c
792
nsegs += n;
sys/dev/cxgbe/tom/t4_cpl_io.c
797
nsegs -= n;
sys/dev/cxgbe/tom/t4_cpl_io.c
818
if (max_nsegs_1mbuf < n)
sys/dev/cxgbe/tom/t4_cpl_io.c
819
max_nsegs_1mbuf = n;
sys/dev/cxgbe/tom/t4_ddp.c
1625
int i, j, k, n, chunk, len, ddp_pgsz, idx;
sys/dev/cxgbe/tom/t4_ddp.c
1645
n = min(prsv->prsv_nppods - i, NUM_ULP_TX_SC_IMM_PPODS);
sys/dev/cxgbe/tom/t4_ddp.c
1646
chunk = PPOD_SZ(n);
sys/dev/cxgbe/tom/t4_ddp.c
1668
for (j = 0; j < n; i++, j++, ppod++) {
sys/dev/cxgbe/tom/t4_ddp.c
1707
int i, j, k, n, chunk, len, ddp_pgsz;
sys/dev/cxgbe/tom/t4_ddp.c
1729
n = min(prsv->prsv_nppods - i, NUM_ULP_TX_SC_IMM_PPODS);
sys/dev/cxgbe/tom/t4_ddp.c
1730
MPASS(n > 0);
sys/dev/cxgbe/tom/t4_ddp.c
1731
chunk = PPOD_SZ(n);
sys/dev/cxgbe/tom/t4_ddp.c
1750
for (j = 0; j < n; i++, j++, ppod++) {
sys/dev/cxgbe/tom/t4_ddp.c
1815
int i, j, k, n, chunk, len, ddp_pgsz, idx;
sys/dev/cxgbe/tom/t4_ddp.c
1834
n = min(prsv->prsv_nppods - i, NUM_ULP_TX_SC_IMM_PPODS);
sys/dev/cxgbe/tom/t4_ddp.c
1835
MPASS(n > 0);
sys/dev/cxgbe/tom/t4_ddp.c
1836
chunk = PPOD_SZ(n);
sys/dev/cxgbe/tom/t4_ddp.c
1858
for (j = 0; j < n; i++, j++, ppod++) {
sys/dev/cxgbe/tom/t4_ddp.c
1896
int i, j, k, n, chunk, len, ddp_pgsz;
sys/dev/cxgbe/tom/t4_ddp.c
1917
n = min(prsv->prsv_nppods - i, NUM_ULP_TX_SC_IMM_PPODS);
sys/dev/cxgbe/tom/t4_ddp.c
1918
MPASS(n > 0);
sys/dev/cxgbe/tom/t4_ddp.c
1919
chunk = PPOD_SZ(n);
sys/dev/cxgbe/tom/t4_ddp.c
1941
for (j = 0; j < n; i++, j++, ppod++) {
sys/dev/cxgbe/tom/t4_ddp.c
1989
int i, j, k, n, chunk, len, ddp_pgsz;
sys/dev/cxgbe/tom/t4_ddp.c
2011
n = min(prsv->prsv_nppods - i, NUM_ULP_TX_SC_IMM_PPODS);
sys/dev/cxgbe/tom/t4_ddp.c
2012
MPASS(n > 0);
sys/dev/cxgbe/tom/t4_ddp.c
2013
chunk = PPOD_SZ(n);
sys/dev/cxgbe/tom/t4_ddp.c
2035
for (j = 0; j < n; i++, j++, ppod++) {
sys/dev/cxgbe/tom/t4_ddp.c
2181
int n;
sys/dev/cxgbe/tom/t4_ddp.c
2216
n = atop(end - start);
sys/dev/cxgbe/tom/t4_ddp.c
2222
if (pscmp(ps, vm, start, n, pgoff,
sys/dev/cxgbe/tom/t4_ddp.c
2249
ps = malloc(sizeof(*ps) + n * sizeof(vm_page_t), M_CXGBE, M_WAITOK |
sys/dev/cxgbe/tom/t4_ddp.c
2254
VM_PROT_WRITE, ps->pages, n);
sys/dev/cxgbe/tom/t4_ddp.c
2262
KASSERT(ps->npages == n, ("hold_aio: page count mismatch: %d vs %d",
sys/dev/cxgbe/tom/t4_ddp.c
2263
ps->npages, n));
sys/dev/cxgbe/tom/t4_ddp.c
462
insert_ddp_data(struct toepcb *toep, uint32_t n)
sys/dev/cxgbe/tom/t4_ddp.c
480
tp->rcv_nxt += n;
sys/dev/cxgbe/tom/t4_ddp.c
482
KASSERT(tp->rcv_wnd >= n, ("%s: negative window size", __func__));
sys/dev/cxgbe/tom/t4_ddp.c
483
tp->rcv_wnd -= n;
sys/dev/cxgbe/tom/t4_ddp.c
486
__func__, n);
sys/dev/cxgbe/tom/t4_ddp.c
496
placed = n;
sys/dev/cxgbe/tom/t4_ddp.c
502
n -= placed;
sys/dev/cxgbe/tom/t4_ddp.c
507
placed = n;
sys/dev/cxgbe/tom/t4_ddp.c
533
n -= placed;
sys/dev/cxgbe/tom/t4_ddp.c
537
MPASS(n == 0);
sys/dev/cxgbe/tom/t4_listen.c
206
const u_int n = isipv6 ? 2 : 1;
sys/dev/cxgbe/tom/t4_listen.c
213
if (n > t->nstids - t->stids_in_use || t->stid_tab_stopped) {
sys/dev/cxgbe/tom/t4_listen.c
276
MPASS(stid + n - 1 < t->nstids);
sys/dev/cxgbe/tom/t4_listen.c
277
MPASS(bit_ntest(t->stid_bitmap, stid, stid + n - 1, 0));
sys/dev/cxgbe/tom/t4_listen.c
278
bit_nset(t->stid_bitmap, stid, stid + n - 1);
sys/dev/cxgbe/tom/t4_listen.c
279
t->stids_in_use += n;
sys/dev/cxgbe/tom/t4_listen.c
282
if (n == 2) {
sys/dev/cxgbe/tom/t4_listen.c
305
const u_int n = isipv6 ? 2 : 1;
sys/dev/cxgbe/tom/t4_listen.c
310
MPASS(stid + n - 1 < t->nstids);
sys/dev/cxgbe/tom/t4_listen.c
312
MPASS(t->stids_in_use >= n);
sys/dev/cxgbe/tom/t4_listen.c
315
if (n == 2) {
sys/dev/cxgbe/tom/t4_listen.c
320
MPASS(bit_ntest(t->stid_bitmap, stid, stid + n - 1, 1));
sys/dev/cxgbe/tom/t4_listen.c
321
bit_nclear(t->stid_bitmap, stid, stid + n - 1);
sys/dev/cxgbe/tom/t4_listen.c
323
t->stids_in_use -= n;
sys/dev/cxgbe/tom/t4_tls.c
831
struct mbuf *control, *n;
sys/dev/cxgbe/tom/t4_tls.c
931
for (n = tls_data;; n = n->m_next) {
sys/dev/cxgbe/tom/t4_tls.c
932
if (n->m_len < resid) {
sys/dev/cxgbe/tom/t4_tls.c
933
resid -= n->m_len;
sys/dev/cxgbe/tom/t4_tls.c
937
n->m_len = resid;
sys/dev/cxgbe/tom/t4_tls.c
938
m_freem(n->m_next);
sys/dev/cxgbe/tom/t4_tls.c
939
n->m_next = NULL;
sys/dev/cxgbe/tom/t4_tom.h
57
#define PPOD_SZ(n) ((n) * sizeof(struct pagepod))
sys/dev/cyapa/cyapa.c
1709
size_t n;
sys/dev/cyapa/cyapa.c
1713
n = CYAPA_BUFSIZE - (fifo->rindex & CYAPA_BUFMASK);
sys/dev/cyapa/cyapa.c
1714
if (n > (size_t)(fifo->windex - fifo->rindex))
sys/dev/cyapa/cyapa.c
1715
n = (size_t)(fifo->windex - fifo->rindex);
sys/dev/cyapa/cyapa.c
1716
return (n);
sys/dev/cyapa/cyapa.c
1727
fifo_read(struct cyapa_softc *sc, struct cyapa_fifo *fifo, size_t n)
sys/dev/cyapa/cyapa.c
1732
if (n > (CYAPA_BUFSIZE - (fifo->rindex & CYAPA_BUFMASK))) {
sys/dev/cyapa/cyapa.c
1737
fifo->rindex += n;
sys/dev/cyapa/cyapa.c
1783
size_t n;
sys/dev/cyapa/cyapa.c
1787
n = CYAPA_BUFSIZE - (fifo->windex & CYAPA_BUFMASK);
sys/dev/cyapa/cyapa.c
1788
if (n > (size_t)(CYAPA_BUFSIZE - (fifo->windex - fifo->rindex)))
sys/dev/cyapa/cyapa.c
1789
n = (size_t)(CYAPA_BUFSIZE - (fifo->windex - fifo->rindex));
sys/dev/cyapa/cyapa.c
1790
return (n);
sys/dev/cyapa/cyapa.c
1794
fifo_write(struct cyapa_softc *sc, struct cyapa_fifo *fifo, size_t n)
sys/dev/cyapa/cyapa.c
1801
fifo->windex += n;
sys/dev/cyapa/cyapa.c
227
size_t n);
sys/dev/cyapa/cyapa.c
229
size_t n);
sys/dev/cyapa/cyapa.c
698
size_t n;
sys/dev/cyapa/cyapa.c
837
(n = fifo_ready(sc, &sc->rfifo)) > 0) {
sys/dev/cyapa/cyapa.c
838
if (n > uio->uio_resid)
sys/dev/cyapa/cyapa.c
839
n = uio->uio_resid;
sys/dev/cyapa/cyapa.c
842
error = uiomove(ptr, n, uio);
sys/dev/cyapa/cyapa.c
846
fifo_read(sc, &sc->rfifo, n);
sys/dev/cyapa/cyapa.c
863
size_t n;
sys/dev/cyapa/cyapa.c
874
while ((n = fifo_space(sc, &sc->wfifo)) > 0 && uio->uio_resid) {
sys/dev/cyapa/cyapa.c
875
if (n > uio->uio_resid)
sys/dev/cyapa/cyapa.c
876
n = uio->uio_resid;
sys/dev/cyapa/cyapa.c
879
error = uiomove(ptr, n, uio);
sys/dev/cyapa/cyapa.c
883
fifo_write(sc, &sc->wfifo, n);
sys/dev/dc/if_dc.c
2033
int error, mac_offset, n, phy, rid, tmp;
sys/dev/dc/if_dc.c
2335
for (n = 0; n < ETHER_ADDR_LEN; n++)
sys/dev/dc/if_dc.c
2336
mac[n] = (uint8_t)CSR_READ_4(sc, DC_10BTCTRL);
sys/dev/dc/if_dc.c
3282
int n;
sys/dev/dc/if_dc.c
3305
for (n = 16; n > 0; n--) {
sys/dev/dpaa/bman.c
27
#define BMAN_POOL_SWDET(n) (0x000 + 4 * (n))
sys/dev/dpaa/bman.c
28
#define BMAN_POOL_HWDET(n) (0x100 + 4 * (n))
sys/dev/dpaa/bman.c
29
#define BMAN_POOL_SWDXT(n) (0x200 + 4 * (n))
sys/dev/dpaa/bman.c
30
#define BMAN_POOL_HWDXT(n) (0x300 + 4 * (n))
sys/dev/dpaa/bman.c
42
#define BMAN_POOL_CONTENT(n) (0x0600 + 4 * (n))
sys/dev/dpaa/bman_portals.c
51
#define BMAN_CE_RR(n) (BMAN_CE_RR0 + 0x40 * (n))
sys/dev/dpaa/fman.c
106
#define FMDM_PLRn(n) (FMAN_DMA_OFFSET + 0x060 + (4 * (n / 2)))
sys/dev/dpaa/fman.c
107
#define PLRN_LIODN_M(n) (0xfff << PLRN_LIODN_S(n))
sys/dev/dpaa/fman.c
108
#define PLRN_LIODN_S(n) ((n & 1) ? 0 : 16)
sys/dev/dpaa/fman.c
63
#define FMBM_PP(n) (FMAN_BMI_OFFSET + 0x104 + ((n - 1) * 4))
sys/dev/dpaa/fman.c
71
#define FMBM_PFS(n) (FMAN_BMI_OFFSET + 0x204 + ((n - 1) * 4))
sys/dev/dpaa/qman.c
106
#define QCSP_IO_CFG_3(n) (0x1004 + (n) * 16)
sys/dev/dpaa/qman.c
57
#define QCSP_IO_CFG(n) (0x004 + (n) * 16)
sys/dev/dpaa/qman.c
60
#define QMAN_DCP_CFG(n) (0x300 + (n) * 0x10)
sys/dev/dpaa/qman.h
66
#define QMAN_PORTAL_CE_PA(base, n) \
sys/dev/dpaa/qman.h
67
(QMAN_CE_PA(base) + ((n) * QMAN_PORTAL_CE_SIZE))
sys/dev/dpaa/qman.h
68
#define QMAN_PORTAL_CI_PA(base, n) \
sys/dev/dpaa/qman.h
69
(QMAN_CI_PA(base) + ((n) * QMAN_PORTAL_CI_SIZE))
sys/dev/dpaa/qman_portals.c
35
#define QCSP_EQCR_N(n) (0x0000 + (n * 64))
sys/dev/dpaa/qman_portals.c
37
#define QCSP_DQRR_N(n) (0x1000 + (n * 64))
sys/dev/dpaa/qman_portals.c
39
#define QCSP_MR_N(n) (0x2000 + (n * 64))
sys/dev/dpaa/qman_portals.c
42
#define QCSP_RR(n) (0x3900 + 0x40 * (n))
sys/dev/dpaa/qman_portals.c
80
#define SDQCR_DQ_SRC_CHAN(n) (0x8000 >> (n + 1))
sys/dev/dpaa2/dpaa2_swp.h
100
#define DPAA2_SWP_CENA_RCR(n) (0x400 + ((uint32_t)(n) << 6))
sys/dev/dpaa2/dpaa2_swp.h
107
#define DPAA2_SWP_CENA_DQRR_MEM(n) (0x0800 + ((uint32_t)(n) << 6))
sys/dev/dpaa2/dpaa2_swp.h
108
#define DPAA2_SWP_CENA_RCR_MEM(n) (0x1400 + ((uint32_t)(n) << 6))
sys/dev/dpaa2/dpaa2_swp.h
98
#define DPAA2_SWP_CENA_EQCR(n) (0x000 + ((uint32_t)(n) << 6))
sys/dev/dpaa2/dpaa2_swp.h
99
#define DPAA2_SWP_CENA_DQRR(n) (0x200 + ((uint32_t)(n) << 6))
sys/dev/drm2/drmP.h
1696
#define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : (1ULL<<(n)) - 1)
sys/dev/drm2/drmP.h
1699
#define upper_32_bits(n) ((u32)(((n) >> 16) >> 16))
sys/dev/drm2/drmP.h
289
#define DRM_IOCTL_NR(n) ((n) & 0xff)
sys/dev/drm2/drm_atomic.h
85
u_long i, n;
sys/dev/drm2/drm_atomic.h
89
n = ~p[i];
sys/dev/drm2/drm_atomic.h
90
if (n != 0)
sys/dev/drm2/drm_atomic.h
91
return (i * NB_BITS_PER_LONG + ffsl(n) - 1);
sys/dev/drm2/drm_context.c
477
struct drm_ctx_list *pos, *n;
sys/dev/drm2/drm_context.c
479
list_for_each_entry_safe(pos, n, &dev->ctxlist, head) {
sys/dev/drm2/drm_edid.c
583
int i, n = 0;
sys/dev/drm2/drm_edid.c
587
n = (127 - d) / 18;
sys/dev/drm2/drm_edid.c
588
for (i = 0; i < n; i++)
sys/dev/drm2/drm_edid.c
595
unsigned int i, n = min((int)ext[0x02], 6);
sys/dev/drm2/drm_edid.c
601
for (i = 0; i < n; i++)
sys/dev/drm2/drm_fb_helper.c
1246
int n, int width, int height)
sys/dev/drm2/drm_fb_helper.c
1257
if (n == fb_helper->connector_count)
sys/dev/drm2/drm_fb_helper.c
1260
fb_helper_conn = fb_helper->connector_info[n];
sys/dev/drm2/drm_fb_helper.c
1263
best_crtcs[n] = NULL;
sys/dev/drm2/drm_fb_helper.c
1264
best_score = drm_pick_crtcs(fb_helper, best_crtcs, modes, n+1, width, height);
sys/dev/drm2/drm_fb_helper.c
1265
if (modes[n] == NULL)
sys/dev/drm2/drm_fb_helper.c
1294
for (o = 0; o < n; o++)
sys/dev/drm2/drm_fb_helper.c
1298
if (o < n) {
sys/dev/drm2/drm_fb_helper.c
1303
if (!drm_mode_equal(modes[o], modes[n]))
sys/dev/drm2/drm_fb_helper.c
1307
crtcs[n] = crtc;
sys/dev/drm2/drm_fb_helper.c
1308
memcpy(crtcs, best_crtcs, n * sizeof(struct drm_fb_helper_crtc *));
sys/dev/drm2/drm_fb_helper.c
1309
score = my_score + drm_pick_crtcs(fb_helper, crtcs, modes, n + 1,
sys/dev/drm2/drm_fb_helper.c
371
int drm_fb_helper_panic(struct notifier_block *n, unsigned long ununsed,
sys/dev/drm2/drm_fops.c
377
struct drm_ctx_list *pos, *n;
sys/dev/drm2/drm_fops.c
379
list_for_each_entry_safe(pos, n, &dev->ctxlist, head) {
sys/dev/drm2/drm_gem_names.c
131
struct drm_gem_name *n;
sys/dev/drm2/drm_gem_names.c
135
LIST_FOREACH(n, gem_name_hash_index(names, name), link) {
sys/dev/drm2/drm_gem_names.c
136
if (n->name == name) {
sys/dev/drm2/drm_gem_names.c
137
res = n->ptr;
sys/dev/drm2/drm_gem_names.c
184
struct drm_gem_name *n;
sys/dev/drm2/drm_gem_names.c
188
LIST_FOREACH(n, gem_name_hash_index(names, name), link) {
sys/dev/drm2/drm_gem_names.c
189
if (n->name == name) {
sys/dev/drm2/drm_gem_names.c
190
res = n->ptr;
sys/dev/drm2/drm_gem_names.c
191
drm_gem_names_delete_name(names, n);
sys/dev/drm2/drm_gem_names.c
84
struct drm_gem_name *n;
sys/dev/drm2/drm_gem_names.c
87
LIST_FOREACH(n, gem_name_hash_index(names, name), link) {
sys/dev/drm2/drm_gem_names.c
88
if (n->name == name) {
sys/dev/drm2/drm_gem_names.c
90
ref(n->ptr);
sys/dev/drm2/drm_gem_names.c
92
return (n->ptr);
sys/dev/drm2/drm_linux_list.h
138
#define list_for_each_entry_safe(pos, n, head, member) \
sys/dev/drm2/drm_linux_list.h
140
n = list_entry(pos->member.next, __typeof(*pos), member); \
sys/dev/drm2/drm_linux_list.h
142
pos = n, n = list_entry(n->member.next, __typeof(*n), member))
sys/dev/drm2/drm_linux_list.h
144
#define list_for_each_entry_safe_from(pos, n, head, member) \
sys/dev/drm2/drm_linux_list.h
145
for (n = list_entry(pos->member.next, __typeof(*pos), member); \
sys/dev/drm2/drm_linux_list.h
147
pos = n, n = list_entry(n->member.next, __typeof(*n), member))
sys/dev/drm2/drm_linux_list.h
213
hlist_del(struct hlist_node *n)
sys/dev/drm2/drm_linux_list.h
216
if (n->next)
sys/dev/drm2/drm_linux_list.h
217
n->next->pprev = n->pprev;
sys/dev/drm2/drm_linux_list.h
218
*n->pprev = n->next;
sys/dev/drm2/drm_linux_list.h
222
hlist_del_init(struct hlist_node *n)
sys/dev/drm2/drm_linux_list.h
225
if (hlist_unhashed(n))
sys/dev/drm2/drm_linux_list.h
227
hlist_del(n);
sys/dev/drm2/drm_linux_list.h
228
INIT_HLIST_NODE(n);
sys/dev/drm2/drm_linux_list.h
232
hlist_add_head(struct hlist_node *n, struct hlist_head *h)
sys/dev/drm2/drm_linux_list.h
235
n->next = h->first;
sys/dev/drm2/drm_linux_list.h
237
h->first->pprev = &n->next;
sys/dev/drm2/drm_linux_list.h
238
h->first = n;
sys/dev/drm2/drm_linux_list.h
239
n->pprev = &h->first;
sys/dev/drm2/drm_linux_list.h
243
hlist_add_before(struct hlist_node *n, struct hlist_node *next)
sys/dev/drm2/drm_linux_list.h
246
n->pprev = next->pprev;
sys/dev/drm2/drm_linux_list.h
247
n->next = next;
sys/dev/drm2/drm_linux_list.h
248
next->pprev = &n->next;
sys/dev/drm2/drm_linux_list.h
249
*(n->pprev) = n;
sys/dev/drm2/drm_linux_list.h
253
hlist_add_after(struct hlist_node *n, struct hlist_node *next)
sys/dev/drm2/drm_linux_list.h
256
next->next = n->next;
sys/dev/drm2/drm_linux_list.h
257
n->next = next;
sys/dev/drm2/drm_linux_list.h
258
next->pprev = &n->next;
sys/dev/drm2/drm_linux_list.h
278
#define hlist_for_each_safe(p, n, head) \
sys/dev/drm2/drm_linux_list.h
279
for (p = (head)->first; p && ({ n = p->next; 1; }); p = n)
sys/dev/drm2/drm_linux_list.h
292
#define hlist_for_each_entry_safe(tpos, pos, n, head, member) \
sys/dev/drm2/drm_linux_list.h
294
(pos) != 0 && ({ n = (pos)->next; \
sys/dev/drm2/drm_linux_list.h
296
pos = (n))
sys/dev/drm2/drm_mm.h
93
#define drm_mm_for_each_scanned_node_reverse(entry, n, mm) \
sys/dev/drm2/drm_os_freebsd.h
179
#define lower_32_bits(n) ((u32)(n))
sys/dev/drm2/drm_os_freebsd.h
180
#define upper_32_bits(n) ((u32)(((n) >> 16) >> 16))
sys/dev/drm2/drm_os_freebsd.h
182
#define __set_bit(n, s) set_bit((n), (s))
sys/dev/drm2/drm_os_freebsd.h
183
#define __clear_bit(n, s) clear_bit((n), (s))
sys/dev/drm2/drm_os_freebsd.h
225
#define DIV_ROUND_UP(n,d) (((n) + (d) - 1) / (d))
sys/dev/drm2/drm_os_freebsd.h
226
#define DIV_ROUND_CLOSEST(n,d) (((n) + (d) / 2) / (d))
sys/dev/drm2/drm_os_freebsd.h
227
#define div_u64(n, d) ((n) / (d))
sys/dev/drm2/drm_os_freebsd.h
302
__copy_to_user(void __user *to, const void *from, unsigned long n)
sys/dev/drm2/drm_os_freebsd.h
304
return (copyout(from, to, n) != 0 ? n : 0);
sys/dev/drm2/drm_os_freebsd.h
306
#define copy_to_user(to, from, n) __copy_to_user((to), (from), (n))
sys/dev/drm2/drm_os_freebsd.h
319
__copy_from_user(void *to, const void __user *from, unsigned long n)
sys/dev/drm2/drm_os_freebsd.h
321
return ((copyin(__DECONST(void *, from), to, n) != 0 ? n : 0));
sys/dev/drm2/drm_os_freebsd.h
323
#define copy_from_user(to, from, n) __copy_from_user((to), (from), (n))
sys/dev/drm2/drm_os_freebsd.h
336
__copy_to_user_inatomic(void __user *to, const void *from, unsigned n)
sys/dev/drm2/drm_os_freebsd.h
339
return (copyout_nofault(from, to, n) != 0 ? n : 0);
sys/dev/drm2/drm_os_freebsd.h
341
#define __copy_to_user_inatomic_nocache(to, from, n) \
sys/dev/drm2/drm_os_freebsd.h
342
__copy_to_user_inatomic((to), (from), (n))
sys/dev/drm2/drm_os_freebsd.h
346
unsigned long n)
sys/dev/drm2/drm_os_freebsd.h
356
return ((copyin_nofault(__DECONST(void *, from), to, n) != 0 ? n : 0));
sys/dev/drm2/drm_os_freebsd.h
358
#define __copy_from_user_inatomic_nocache(to, from, n) \
sys/dev/drm2/drm_os_freebsd.h
359
__copy_from_user_inatomic((to), (from), (n))
sys/dev/drm2/ttm/ttm_page_alloc_dma.c
566
char *n[] = {"wc", "uc", "cached", " dma32", "unknown",};
sys/dev/drm2/ttm/ttm_page_alloc_dma.c
612
"%s", n[i]);
sys/dev/dwc/dwc1000_reg.h
194
#define HASH_TABLE_REG(n) 0x500 + (0x4 * n)
sys/dev/dwc/dwc1000_reg.h
78
#define MAC_ADDRESS_HIGH(n) ((n > 15 ? 0x800 : 0x40) + 0x8 * n)
sys/dev/dwc/dwc1000_reg.h
79
#define MAC_ADDRESS_LOW(n) ((n > 15 ? 0x804 : 0x44) + 0x8 * n)
sys/dev/ena/ena_netmap.c
769
int n;
sys/dev/ena/ena_netmap.c
778
n = tx_info->num_of_bufs;
sys/dev/ena/ena_netmap.c
779
while (n--) {
sys/dev/ena/ena_netmap.c
781
nm_info->map_seg[n]);
sys/dev/ena/ena_netmap.c
786
n = nm_info->sockets_used;
sys/dev/ena/ena_netmap.c
787
while (n--) {
sys/dev/ena/ena_netmap.c
789
ctx->slots[ctx->nm_i].buf_idx = nm_info->socket_buf_idx[n];
sys/dev/ena/ena_netmap.c
791
nm_info->socket_buf_idx[n] = 0;
sys/dev/ena/ena_netmap.c
834
int n;
sys/dev/ena/ena_netmap.c
844
n = tx_info->num_of_bufs;
sys/dev/ena/ena_netmap.c
845
for (n = 0; n < tx_info->num_of_bufs; n++) {
sys/dev/ena/ena_netmap.c
847
nm_info->map_seg[n]);
sys/dev/ena/ena_netmap.c
852
for (n = 0; n < nm_info->sockets_used; n++) {
sys/dev/ena/ena_netmap.c
856
ctx->slots[ctx->nm_i].buf_idx = nm_info->socket_buf_idx[n];
sys/dev/ena/ena_netmap.c
858
nm_info->socket_buf_idx[n] = 0;
sys/dev/enetc/enetc_hw.h
101
#define ENETC_SIMSITRV(n) (0xB00 + (n) * 0x4)
sys/dev/enetc/enetc_hw.h
102
#define ENETC_SIMSIRRV(n) (0xB80 + (n) * 0x4)
sys/dev/enetc/enetc_hw.h
134
#define ENETC_RBICR0_SET_ICPT(n) ((n) & ENETC_RBICR0_ICPT_MASK)
sys/dev/enetc/enetc_hw.h
158
#define ENETC_TBICR0_SET_ICPT(n) ((ilog2(n) + 1) & ENETC_TBICR0_ICPT_MASK)
sys/dev/enetc/enetc_hw.h
161
#define ENETC_RTBLENR_LEN(n) ((n) & ~0x7)
sys/dev/enetc/enetc_hw.h
175
#define ENETC_PSIPMR_SET_UP(n) BIT(n) /* n = SI index */
sys/dev/enetc/enetc_hw.h
176
#define ENETC_PSIPMR_SET_MP(n) BIT((n) + 16)
sys/dev/enetc/enetc_hw.h
181
#define ENETC_PSIPMAR0(n) (0x0100 + (n) * 0x8) /* n = SI index */
sys/dev/enetc/enetc_hw.h
182
#define ENETC_PSIPMAR1(n) (0x0104 + (n) * 0x8)
sys/dev/enetc/enetc_hw.h
189
#define ENETC_PSIVLANR(n) (0x0240 + (n) * 4) /* n = SI index */
sys/dev/enetc/enetc_hw.h
197
#define ENETC_PSICFGR0(n) (0x0940 + (n) * 0xc) /* n = SI index */
sys/dev/enetc/enetc_hw.h
205
#define ENETC_PTCCBSR0(n) (0x1110 + (n) * 8) /* n = 0 to 7*/
sys/dev/enetc/enetc_hw.h
208
#define ENETC_PTCCBSR1(n) (0x1114 + (n) * 8) /* n = 0 to 7*/
sys/dev/enetc/enetc_hw.h
212
#define ENETC_PRSSK(n) (0x1410 + (n) * 4) /* n = [0..9] */
sys/dev/enetc/enetc_hw.h
219
#define ENETC_PSIRFSCFGR(n) (0x1814 + (n) * 4) /* n = SI index */
sys/dev/enetc/enetc_hw.h
224
#define ENETC_PSIUMHFR0(n, err) (((err) ? 0x1d08 : 0x1d00) + (n) * 0x10)
sys/dev/enetc/enetc_hw.h
225
#define ENETC_PSIUMHFR1(n) (0x1d04 + (n) * 0x10)
sys/dev/enetc/enetc_hw.h
226
#define ENETC_PSIMMHFR0(n, err) (((err) ? 0x1d00 : 0x1d08) + (n) * 0x10)
sys/dev/enetc/enetc_hw.h
227
#define ENETC_PSIMMHFR1(n) (0x1d0c + (n) * 0x10)
sys/dev/enetc/enetc_hw.h
228
#define ENETC_PSIVHFR0(n) (0x1e00 + (n) * 8) /* n = SI index */
sys/dev/enetc/enetc_hw.h
229
#define ENETC_PSIVHFR1(n) (0x1e04 + (n) * 8) /* n = SI index */
sys/dev/enetc/enetc_hw.h
232
#define ENETC_PTCMSDUR(n) (0x2020 + (n) * 4) /* n = TC index [0..7] */
sys/dev/enetc/enetc_hw.h
331
#define ENETC_PICDR(n) (0x0700 + (n) * 8) /* n = [0..3] */
sys/dev/enetc/enetc_hw.h
344
#define ENETC_G_EPFBLPR(n) (0xd00 + 4 * (n))
sys/dev/enetc/enetc_hw.h
57
#define ENETC_PSIMSGRR_MR(n) BIT((n) + 1) /* n = VSI index */
sys/dev/enetc/enetc_hw.h
58
#define ENETC_PSIVMSGRCVAR0(n) (0x210 + (n) * 0x8) /* n = VSI index */
sys/dev/enetc/enetc_hw.h
59
#define ENETC_PSIVMSGRCVAR1(n) (0x214 + (n) * 0x8)
sys/dev/enetc/enetc_hw.h
744
#define ENETC_PTCTSDR(n) (0x1210 + 4 * (n))
sys/dev/enetc/enetc_hw.h
79
#define ENETC_RBDCR(n) (0x8180 + (n) * 0x200)
sys/dev/eqos/if_eqos.c
1157
int n;
sys/dev/eqos/if_eqos.c
1189
for (n = 0; n < 4; n++)
sys/dev/eqos/if_eqos.c
1190
sc->hw_feature[n] = RD4(sc, GMAC_MAC_HW_FEATURE(n));
sys/dev/eqos/if_eqos.c
78
#define DESC_OFFSET(n) ((n) * sizeof(struct eqos_dma_desc))
sys/dev/eqos/if_eqos.c
83
#define TX_NEXT(n) (((n) + 1 ) % TX_DESC_COUNT)
sys/dev/eqos/if_eqos.c
88
#define RX_NEXT(n) (((n) + 1) % RX_DESC_COUNT)
sys/dev/eqos/if_eqos_reg.h
220
#define GMAC_RWK_FILTERn_BYTE_MASK(n) (0x10C0 + 0x4 * (n))
sys/dev/eqos/if_eqos_reg.h
95
#define GMAC_MAC_HW_FEATURE(n) (0x011C + 0x4 * (n))
sys/dev/et/if_et.c
1695
int i, error, n;
sys/dev/et/if_et.c
1697
for (n = 0; n < ET_RX_NRING; ++n) {
sys/dev/et/if_et.c
1698
rbd = &sc->sc_rx_data[n];
sys/dev/et/if_et.c
1703
"newbuf failed: %d\n", n, i, error);
sys/dev/et/if_et.c
2414
#define ET_SYSCTL_STAT_ADD32(c, h, n, p, d) \
sys/dev/et/if_et.c
2415
SYSCTL_ADD_UINT(c, h, OID_AUTO, n, CTLFLAG_RD, p, 0, d)
sys/dev/et/if_et.c
2416
#define ET_SYSCTL_STAT_ADD64(c, h, n, p, d) \
sys/dev/et/if_et.c
2417
SYSCTL_ADD_UQUAD(c, h, OID_AUTO, n, CTLFLAG_RD, p, d)
sys/dev/evdev/evdev_mt.c
244
evdev_mt_matching(int *matrix, int m, int n, int *buffer)
sys/dev/evdev/evdev_mt.c
252
int *c2r = cs + n; /* column-to-row assignments in cs */
sys/dev/evdev/evdev_mt.c
253
int *cd = c2r + n; /* column deltas (reduction) */
sys/dev/evdev/evdev_mt.c
257
for (col = 0; col < n; col++) {
sys/dev/evdev/evdev_mt.c
259
for (i = 0, p = matrix + col; i < m; i++, p += n) {
sys/dev/evdev/evdev_mt.c
275
mc[row] -= n;
sys/dev/evdev/evdev_mt.c
277
for (i = 0, p = matrix; i < m; i++, p += n)
sys/dev/evdev/evdev_mt.c
300
j = mc[row] + n;
sys/dev/evdev/evdev_mt.c
318
int i, j, m, n, dx, dy, slot, num_touches;
sys/dev/evdev/evdev_mt.c
338
n = size;
sys/dev/evdev/evdev_mt.c
347
n = num_touches;
sys/dev/evdev/evdev_mt.c
349
evdev_mt_matching(mt->matrix, m, n, p);
sys/dev/evdev/evdev_mt.c
357
p = (n == size ? c2r : r2c);
sys/dev/evdev/evdev_mt.c
362
p = (n == size ? r2c : c2r);
sys/dev/fb/fbreg.h
135
int n);
sys/dev/fb/fbreg.h
239
#define vidd_copy(adp, src, dst, n) \
sys/dev/fb/fbreg.h
240
(*vidsw[(adp)->va_index]->copy)((adp), (src), (dst), (n))
sys/dev/fdc/fdc.c
471
int n, i;
sys/dev/fdc/fdc.c
475
for (n = 0; n < n_out; n++) {
sys/dev/fdc/fdc.c
477
if (n == 0)
sys/dev/fdc/fdc.c
483
cmd, n + 1, n_out);
sys/dev/fdc/fdc.c
490
for (n = 0; n < n_in; n++) {
sys/dev/fdc/fdc.c
496
cmd, n + 1, n_in);
sys/dev/fdt/fdt_clock.c
106
n *= 2;
sys/dev/fdt/fdt_clock.c
107
if (ncells <= n)
sys/dev/fdt/fdt_clock.c
110
clockdev = OF_device_from_xref(clks[n]);
sys/dev/fdt/fdt_clock.c
119
clocknum = clks[n + 1];
sys/dev/fdt/fdt_clock.c
94
fdt_clock_get_info(device_t consumer, int n, struct fdt_clock_info *info)
sys/dev/fdt/fdt_clock.h
36
int fdt_clock_get_info(device_t consumer, int n, struct fdt_clock_info *info);
sys/dev/firewire/firewire.c
1005
for (i = 0; i < n; i++) {
sys/dev/firewire/firewire.c
1014
return (n);
sys/dev/firewire/firewire.c
999
int slen, int rlen, int n,
sys/dev/firewire/firewire.h
282
uint16_t n;
sys/dev/firewire/fwdev.c
755
fwdevlst->n = i;
sys/dev/firewire/fwdma.c
146
int esize, int n, int flag)
sys/dev/firewire/fwdma.c
156
nseg = n;
sys/dev/firewire/fwdma.c
160
nseg = howmany(n, ssize / esize);
sys/dev/firewire/fwdv.h
82
#define PCR_oPCR(n) (0x904 + (n) * 4)
sys/dev/firewire/fwdv.h
84
#define PCR_iPCR(n) (0x984 + (n) * 4)
sys/dev/firewire/sbp_targ.c
150
uint32_t n:1,
sys/dev/firewire/sbp_targ.c
168
n:1;
sys/dev/firewire/sbp_targ.c
174
uint32_t n:1,
sys/dev/firewire/sbp_targ.c
184
n:1;
sys/dev/fxp/if_fxp.c
3111
#define FXP_SYSCTL_STAT_ADD(c, h, n, p, d) \
sys/dev/fxp/if_fxp.c
3112
SYSCTL_ADD_UINT(c, h, OID_AUTO, n, CTLFLAG_RD, p, 0, d)
sys/dev/gem/if_gem.c
1835
int n;
sys/dev/gem/if_gem.c
1878
for (n = 0; n < 100; n++) {
sys/dev/gem/if_gem.c
1893
int n;
sys/dev/gem/if_gem.c
1957
for (n = 0; n < 100; n++) {
sys/dev/gem/if_gemvar.h
182
#define GEM_READ_N(n, sc, offs) \
sys/dev/gem/if_gemvar.h
183
bus_read_ ## n((sc)->sc_res[GEM_RES_MEM], (offs))
sys/dev/gem/if_gemvar.h
197
#define GEM_WRITE_N(n, sc, offs, v) \
sys/dev/gem/if_gemvar.h
198
bus_write_ ## n((sc)->sc_res[GEM_RES_MEM], (offs), (v))
sys/dev/glxiic/glxiic.c
163
#define GLXIIC_SCLFRQ(n) ((n << 1))
sys/dev/glxiic/glxiic.c
164
#define GLXIIC_SMBADDR(n) ((n >> 1))
sys/dev/glxiic/glxiic.c
165
#define GLXIIC_SMB_IRQ_TO_MAP(n) ((n << 16))
sys/dev/glxiic/glxiic.c
166
#define GLXIIC_MAP_TO_SMB_IRQ(n) ((n >> 16) & 0xf)
sys/dev/gpio/dwgpio/dwgpio.c
67
#define GPIO_SWPORT_DR(n) (0x00 + 0xc * (n)) /* Port n Data Register */
sys/dev/gpio/dwgpio/dwgpio.c
68
#define GPIO_SWPORT_DDR(n) (0x04 + 0xc * (n)) /* Port n Data Direction */
sys/dev/gpio/dwgpio/dwgpio.c
77
#define GPIO_EXT_PORT(n) (0x50 + 0x4 * (n)) /* External Port n */
sys/dev/gpio/dwgpio/dwgpio.c
83
#define ENCODED_ID_PWIDTH_S(n) (5 * n) /* Width of GPIO Port N Shift */
sys/dev/gpio/gpioregulator.c
128
int error, n;
sys/dev/gpio/gpioregulator.c
133
for (n = 0; n < sc->def->nstates; n++) {
sys/dev/gpio/gpioregulator.c
134
if (sc->def->states[n].val >= min_uvolt &&
sys/dev/gpio/gpioregulator.c
135
sc->def->states[n].val <= max_uvolt) {
sys/dev/gpio/gpioregulator.c
136
state = &sc->def->states[n];
sys/dev/gpio/gpioregulator.c
143
for (n = 0; n < sc->def->npins; n++) {
sys/dev/gpio/gpioregulator.c
144
error = gpio_pin_set_active(sc->def->pins[n],
sys/dev/gpio/gpioregulator.c
145
(state->mask >> n) & 1);
sys/dev/gpio/gpioregulator.c
160
int error, n;
sys/dev/gpio/gpioregulator.c
166
for (n = 0; n < sc->def->npins; n++) {
sys/dev/gpio/gpioregulator.c
167
error = gpio_pin_is_active(sc->def->pins[n], &active);
sys/dev/gpio/gpioregulator.c
170
mask |= (active << n);
sys/dev/gpio/gpioregulator.c
173
for (n = 0; n < sc->def->nstates; n++) {
sys/dev/gpio/gpioregulator.c
174
if (sc->def->states[n].mask == mask) {
sys/dev/gpio/gpioregulator.c
175
*uvolt = sc->def->states[n].val;
sys/dev/gpio/gpioregulator.c
201
int error, n;
sys/dev/gpio/gpioregulator.c
223
for (n = 0; n < sc->init_def.nstates; n++) {
sys/dev/gpio/gpioregulator.c
224
sc->init_def.states[n].val = pstates[n * 2 + 0];
sys/dev/gpio/gpioregulator.c
225
sc->init_def.states[n].mask = pstates[n * 2 + 1];
sys/dev/gpio/gpioregulator.c
226
mask |= sc->init_def.states[n].mask;
sys/dev/gpio/gpioregulator.c
246
for (n = 0; n < sc->init_def.npins; n++) {
sys/dev/gpio/gpioregulator.c
247
error = gpio_pin_get_by_ofw_idx(sc->dev, node, n,
sys/dev/gpio/gpioregulator.c
248
&sc->init_def.pins[n]);
sys/dev/gpio/gpioregulator.c
250
device_printf(sc->dev, "cannot get pin %d\n", n);
sys/dev/gpio/gpioregulator.c
257
for (n = 0; n < sc->init_def.npins; n++) {
sys/dev/gpio/gpioregulator.c
258
if (sc->init_def.pins[n] != NULL)
sys/dev/gpio/gpioregulator.c
259
gpio_pin_release(sc->init_def.pins[n]);
sys/dev/gpio/gpioregulator.c
80
int error, n;
sys/dev/gpio/gpioregulator.c
90
for (n = 0; n < sc->def->npins; n++) {
sys/dev/gpio/gpioregulator.c
91
error = gpio_pin_setflags(sc->def->pins[n], GPIO_PIN_OUTPUT);
sys/dev/hdmi/dwc_hdmi.c
438
unsigned int n;
sys/dev/hdmi/dwc_hdmi.c
447
n = 6864;
sys/dev/hdmi/dwc_hdmi.c
450
n = 6144;
sys/dev/hdmi/dwc_hdmi.c
453
n = 11648;
sys/dev/hdmi/dwc_hdmi.c
456
n = 5824;
sys/dev/hdmi/dwc_hdmi.c
459
n = 6144;
sys/dev/hdmi/dwc_hdmi.c
463
WR1(sc, HDMI_AUD_N1, (n >> 0) & 0xff);
sys/dev/hdmi/dwc_hdmi.c
464
WR1(sc, HDMI_AUD_N2, (n >> 8) & 0xff);
sys/dev/hdmi/dwc_hdmi.c
465
WR1(sc, HDMI_AUD_N3, (n >> 16) & 0xff);
sys/dev/hid/hid.c
711
uint8_t n;
sys/dev/hid/hid.c
724
n = (hsize + 7) / 8;
sys/dev/hid/hid.c
725
rpos += n;
sys/dev/hid/hid.c
726
while (n--) {
sys/dev/hid/hid.c
729
data |= buf[rpos] << (8 * n);
sys/dev/hid/hid.c
734
n = 32 - hsize;
sys/dev/hid/hid.c
738
data = (int32_t)((int32_t)data << n) >> n;
sys/dev/hid/hid.c
740
data = (uint32_t)((uint32_t)data << n) >> n;
sys/dev/hid/hid.c
771
uint8_t n;
sys/dev/hid/hid.c
783
n = (hsize + 7) / 8;
sys/dev/hid/hid.c
786
rpos += n;
sys/dev/hid/hid.c
787
while (n--) {
sys/dev/hid/hid.c
790
buf[rpos] &= ~(mask >> (8 * n));
sys/dev/hid/hid.c
791
buf[rpos] |= (data >> (8 * n));
sys/dev/hid/hid.h
214
#define DPRINTFN(n,fmt,...) do { \
sys/dev/hid/hid.h
215
if ((HID_DEBUG_VAR) >= (n)) { \
sys/dev/hid/hidbus.h
132
#define HID_DRIVER_INFO(n) \
sys/dev/hid/hidbus.h
133
.driver_info = (n)
sys/dev/hid/hidmap.c
52
#define DPRINTFN(hm, n, fmt, ...) do { \
sys/dev/hid/hidmap.c
53
if ((hm)->debug_var != NULL && *(hm)->debug_var >= (n)) { \
sys/dev/hid/hkbd.c
1021
for (n = 0; n < HKBD_NFKEY; n++) {
sys/dev/hid/hkbd.c
1022
sc->sc_fkeymap[n] = fkey_tab[n];
sys/dev/hid/hkbd.c
990
uint16_t n;
sys/dev/hpt27xx/list.h
121
#define list_for_each_safe(pos, n, head) \
sys/dev/hpt27xx/list.h
122
for (pos = (head)->next, n = pos->next; pos != (head); \
sys/dev/hpt27xx/list.h
123
pos = n, n = pos->next)
sys/dev/hptnr/list.h
120
#define list_for_each_safe(pos, n, head) \
sys/dev/hptnr/list.h
121
for (pos = (head)->next, n = pos->next; pos != (head); \
sys/dev/hptnr/list.h
122
pos = n, n = pos->next)
sys/dev/hptrr/list.h
123
#define list_for_each_safe(pos, n, head) \
sys/dev/hptrr/list.h
124
for (pos = (head)->next, n = pos->next; pos != (head); \
sys/dev/hptrr/list.h
125
pos = n, n = pos->next)
sys/dev/hwpmc/hwpmc_amd.c
798
int first_ri, n;
sys/dev/hwpmc/hwpmc_amd.c
817
for (n = 0, phw = pac->pc_amdpmcs; n < amd_npmcs; n++, phw++) {
sys/dev/hwpmc/hwpmc_amd.c
819
PMC_PHW_CPU_TO_STATE(cpu) | PMC_PHW_INDEX_TO_STATE(n);
sys/dev/hwpmc/hwpmc_amd.c
821
pc->pc_hwpmcs[n + first_ri] = phw;
sys/dev/hwpmc/hwpmc_cmn600.c
233
#define CASE_DN_VER_EVT(n, id) case PMC_EV_CMN600_PMU_ ## n: { *event = id; \
sys/dev/hwpmc/hwpmc_cmn600.c
595
int first_ri, n, npmc;
sys/dev/hwpmc/hwpmc_cmn600.c
615
for (n = 0; n < npmc; n++, phw++) {
sys/dev/hwpmc/hwpmc_cmn600.c
616
phw = cmn600desc(n)->pd_phw;
sys/dev/hwpmc/hwpmc_cmn600.c
618
PMC_PHW_INDEX_TO_STATE(n);
sys/dev/hwpmc/hwpmc_cmn600.c
620
if (cmn600_pmcs[class_ri2unit(n)].arg != NULL)
sys/dev/hwpmc/hwpmc_cmn600.c
623
pc->pc_hwpmcs[n + first_ri] = phw;
sys/dev/hwpmc/hwpmc_core.c
1062
int error, found_interrupt = 0, n, cpu;
sys/dev/hwpmc/hwpmc_core.c
1094
for (n = 0, flag = (1ULL << IAF_OFFSET); n < core_iaf_npmc;
sys/dev/hwpmc/hwpmc_core.c
1095
n++, flag <<= 1) {
sys/dev/hwpmc/hwpmc_core.c
1102
pm = cc->pc_corepmcs[n + core_iaf_ri].phw_pmc;
sys/dev/hwpmc/hwpmc_core.c
1114
wrmsr(IAF_CTR0 + n, v);
sys/dev/hwpmc/hwpmc_core.c
1117
error, (uintmax_t) v, (uintmax_t) rdpmc(IAF_RI_TO_MSR(n)));
sys/dev/hwpmc/hwpmc_core.c
1123
for (n = 0, flag = 1; n < core_iap_npmc; n++, flag <<= 1) {
sys/dev/hwpmc/hwpmc_core.c
1129
pm = cc->pc_corepmcs[n].phw_pmc;
sys/dev/hwpmc/hwpmc_core.c
1144
wrmsr(core_iap_wroffset + IAP_PMC0 + n, v);
sys/dev/hwpmc/hwpmc_core.c
121
int core_ri, n, npmc;
sys/dev/hwpmc/hwpmc_core.c
143
for (n = 0, phw = cc->pc_corepmcs; n < npmc; n++, phw++) {
sys/dev/hwpmc/hwpmc_core.c
146
PMC_PHW_INDEX_TO_STATE(n + core_ri);
sys/dev/hwpmc/hwpmc_core.c
148
pc->pc_hwpmcs[n + core_ri] = phw;
sys/dev/hwpmc/hwpmc_core.c
162
int core_ri, n, npmc;
sys/dev/hwpmc/hwpmc_core.c
184
for (n = 0; n < npmc; n++)
sys/dev/hwpmc/hwpmc_core.c
185
wrmsr(IAP_EVSEL0 + n, 0);
sys/dev/hwpmc/hwpmc_core.c
192
for (n = 0; n < npmc; n++)
sys/dev/hwpmc/hwpmc_core.c
193
pc->pc_hwpmcs[n + core_ri] = NULL;
sys/dev/hwpmc/hwpmc_dmc620.c
459
int first_ri, n, npmc;
sys/dev/hwpmc/hwpmc_dmc620.c
481
for (n = 0; n < npmc; n++, phw++) {
sys/dev/hwpmc/hwpmc_dmc620.c
482
phw = dmc620desc(class, cpu, n)->pd_phw;
sys/dev/hwpmc/hwpmc_dmc620.c
484
PMC_PHW_INDEX_TO_STATE(n);
sys/dev/hwpmc/hwpmc_dmc620.c
486
if (dmc620_pmcs[class_ri2unit(class, n)].arg != NULL)
sys/dev/hwpmc/hwpmc_dmc620.c
489
pc->pc_hwpmcs[n + first_ri] = phw;
sys/dev/hwpmc/hwpmc_ibs.c
780
int first_ri, n;
sys/dev/hwpmc/hwpmc_ibs.c
799
for (n = 0, phw = pac->pc_ibspmcs; n < IBS_NPMCS; n++, phw++) {
sys/dev/hwpmc/hwpmc_ibs.c
801
PMC_PHW_CPU_TO_STATE(cpu) | PMC_PHW_INDEX_TO_STATE(n);
sys/dev/hwpmc/hwpmc_ibs.c
803
pc->pc_hwpmcs[n + first_ri] = phw;
sys/dev/hwpmc/hwpmc_logging.c
909
int n, recordlen;
sys/dev/hwpmc/hwpmc_logging.c
925
for (n = 0; n < ps->ps_nsamples; n++)
sys/dev/hwpmc/hwpmc_logging.c
926
PMCLOG_EMITADDR(ps->ps_pc[n]);
sys/dev/hwpmc/hwpmc_mod.c
256
struct proc *p2, int n);
sys/dev/hwpmc/hwpmc_mod.c
3357
int n;
sys/dev/hwpmc/hwpmc_mod.c
3359
for (n = 0; n < md->pmd_nclass; n++) {
sys/dev/hwpmc/hwpmc_mod.c
3360
if (md->pmd_classdep[n].pcd_class == class)
sys/dev/hwpmc/hwpmc_mod.c
3361
return (&md->pmd_classdep[n]);
sys/dev/hwpmc/hwpmc_mod.c
3407
int adjri, n;
sys/dev/hwpmc/hwpmc_mod.c
3540
#define PMC_IS_SHAREABLE_PMC(cpu, n) \
sys/dev/hwpmc/hwpmc_mod.c
3541
(pmc_pcpu[(cpu)]->pc_hwpmcs[(n)]->phw_state & \
sys/dev/hwpmc/hwpmc_mod.c
3543
#define PMC_IS_UNALLOCATED(cpu, n) \
sys/dev/hwpmc/hwpmc_mod.c
3544
(pmc_pcpu[(cpu)]->pc_hwpmcs[(n)]->phw_pmc == NULL)
sys/dev/hwpmc/hwpmc_mod.c
3548
for (n = pcd->pcd_ri; n < md->pmd_npmc; n++) {
sys/dev/hwpmc/hwpmc_mod.c
3549
pcd = pmc_ri_to_classdep(md, n, &adjri);
sys/dev/hwpmc/hwpmc_mod.c
3551
if (!pmc_can_allocate_row(n, mode) ||
sys/dev/hwpmc/hwpmc_mod.c
3552
!pmc_can_allocate_rowindex(p, n, cpu))
sys/dev/hwpmc/hwpmc_mod.c
3554
if (!PMC_IS_UNALLOCATED(cpu, n) &&
sys/dev/hwpmc/hwpmc_mod.c
3555
!PMC_IS_SHAREABLE_PMC(cpu, n))
sys/dev/hwpmc/hwpmc_mod.c
3565
for (n = pcd->pcd_ri; n < md->pmd_npmc; n++) {
sys/dev/hwpmc/hwpmc_mod.c
3566
pcd = pmc_ri_to_classdep(md, n, &adjri);
sys/dev/hwpmc/hwpmc_mod.c
3568
if (!pmc_can_allocate_row(n, mode) ||
sys/dev/hwpmc/hwpmc_mod.c
3569
!pmc_can_allocate_rowindex(p, n, PMC_CPU_ANY))
sys/dev/hwpmc/hwpmc_mod.c
3585
if (n == md->pmd_npmc) {
sys/dev/hwpmc/hwpmc_mod.c
3595
pmc->pm_id = PMC_ID_MAKE_ID(cpu, mode, class, n);
sys/dev/hwpmc/hwpmc_mod.c
3598
pmc->pm_event, class, mode, n, pmc->pm_id);
sys/dev/hwpmc/hwpmc_mod.c
3615
phw = pmc_pcpu[cpu]->pc_hwpmcs[n];
sys/dev/hwpmc/hwpmc_mod.c
3616
pcd = pmc_ri_to_classdep(md, n, &adjri);
sys/dev/hwpmc/hwpmc_mod.c
3624
(uintmax_t)n, (uintmax_t)cpu));
sys/dev/hwpmc/hwpmc_mod.c
3632
(uintmax_t)n, (uintmax_t)cpu));
sys/dev/hwpmc/hwpmc_mod.c
3645
PMC_MARK_ROW_STANDALONE(n);
sys/dev/hwpmc/hwpmc_mod.c
3647
PMC_MARK_ROW_THREAD(n);
sys/dev/hwpmc/hwpmc_mod.c
4184
uint32_t cpu, n, npmc;
sys/dev/hwpmc/hwpmc_mod.c
4219
for (n = 0; n < md->pmd_npmc; n++, p++) {
sys/dev/hwpmc/hwpmc_mod.c
4221
pcd = pmc_ri_to_classdep(md, n, &ari);
sys/dev/hwpmc/hwpmc_mod.c
4224
("[pmc,%d] null pcd ri=%d", __LINE__, n));
sys/dev/hwpmc/hwpmc_mod.c
4229
if (PMC_ROW_DISP_IS_STANDALONE(n))
sys/dev/hwpmc/hwpmc_mod.c
4231
else if (PMC_ROW_DISP_IS_THREAD(n))
sys/dev/hwpmc/hwpmc_mod.c
5089
int adjri, n;
sys/dev/hwpmc/hwpmc_mod.c
5099
for (n = 0; psb->ps_considx < psb->ps_prodidx; psb->ps_considx++, n++) {
sys/dev/hwpmc/hwpmc_mod.c
5176
if (n == 0)
sys/dev/hwpmc/hwpmc_mod.c
5186
for (n = 0; n < md->pmd_npmc; n++) {
sys/dev/hwpmc/hwpmc_mod.c
5187
pcd = pmc_ri_to_classdep(md, n, &adjri);
sys/dev/hwpmc/hwpmc_mod.c
5189
("[pmc,%d] null pcd ri=%d", __LINE__, n));
sys/dev/hwpmc/hwpmc_mod.c
5611
int n;
sys/dev/hwpmc/hwpmc_mod.c
5614
n = 1 + nclasses;
sys/dev/hwpmc/hwpmc_mod.c
5615
md = malloc(sizeof(struct pmc_mdep) + n * sizeof(struct pmc_classdep),
sys/dev/hwpmc/hwpmc_mod.c
5617
md->pmd_nclass = n;
sys/dev/hwpmc/hwpmc_mod.c
5675
int c, cpu, error, n, ri;
sys/dev/hwpmc/hwpmc_mod.c
5764
for (n = 0; n < md->pmd_npmc; n++)
sys/dev/hwpmc/hwpmc_mod.c
5765
pmc_rowindex_to_classdep[n] = NULL;
sys/dev/hwpmc/hwpmc_mod.c
5769
for (n = 0; n < pcd->pcd_num; n++, ri++)
sys/dev/hwpmc/hwpmc_mod.c
5797
for (n = 0; error == 0 && n < md->pmd_nclass; n++)
sys/dev/hwpmc/hwpmc_mod.c
5798
if (md->pmd_classdep[n].pcd_num > 0)
sys/dev/hwpmc/hwpmc_mod.c
5799
error = md->pmd_classdep[n].pcd_pcpu_init(md,
sys/dev/hwpmc/hwpmc_mod.c
5824
for (n = 0, ps = sb->ps_samples; n < pmc_nsamples; n++, ps++)
sys/dev/hwpmc/hwpmc_mod.c
5826
(n * pmc_callchaindepth);
sys/dev/hwpmc/hwpmc_mod.c
5837
for (n = 0, ps = sb->ps_samples; n < pmc_nsamples; n++, ps++)
sys/dev/hwpmc/hwpmc_mod.c
5839
(n * pmc_callchaindepth);
sys/dev/hwpmc/hwpmc_mod.c
5849
for (n = 0, ps = sb->ps_samples; n < pmc_nsamples; n++, ps++)
sys/dev/hwpmc/hwpmc_mod.c
5850
ps->ps_pc = sb->ps_callchains + n * pmc_callchaindepth;
sys/dev/hwpmc/hwpmc_mod.c
5860
for (n = 0; n < md->pmd_npmc; n++)
sys/dev/hwpmc/hwpmc_mod.c
5861
PMC_MARK_ROW_FREE(n);
sys/dev/hwpmc/hwpmc_mod.c
5912
for (n = 0; n < md->pmd_nclass; n++) {
sys/dev/hwpmc/hwpmc_mod.c
5913
if (md->pmd_classdep[n].pcd_num == 0)
sys/dev/hwpmc/hwpmc_mod.c
5915
pcd = &md->pmd_classdep[n];
sys/dev/hwpmc/hwpmc_mod.c
593
u_int n;
sys/dev/hwpmc/hwpmc_mod.c
595
n = sizeof(pmc_debugstr);
sys/dev/hwpmc/hwpmc_mod.c
596
newstr = malloc(n, M_PMC, M_WAITOK | M_ZERO);
sys/dev/hwpmc/hwpmc_mod.c
597
strlcpy(newstr, pmc_debugstr, n);
sys/dev/hwpmc/hwpmc_mod.c
599
error = sysctl_handle_string(oidp, newstr, n, req);
sys/dev/hwpmc/hwpmc_mod.c
603
fence = newstr + (n < req->newlen ? n : req->newlen + 1);
sys/dev/hwpmc/hwpmc_powerpc.h
49
#define POWERPC_PMC_HAS_OVERFLOWED(n) (powerpc_pmcn_read(n) & (0x1 << 31))
sys/dev/hwpmc/hwpmc_rapl.c
283
int ri, n;
sys/dev/hwpmc/hwpmc_rapl.c
294
for (n = 0; n < rapl_npmcs; n++)
sys/dev/hwpmc/hwpmc_rapl.c
295
rapl_pc->rc_hw[n].phw_state = PMC_PHW_FLAG_IS_ENABLED |
sys/dev/hwpmc/hwpmc_rapl.c
296
PMC_PHW_CPU_TO_STATE(cpu) | PMC_PHW_INDEX_TO_STATE(n) |
sys/dev/hwpmc/hwpmc_rapl.c
307
for (n = 0; n < rapl_npmcs; n++) {
sys/dev/hwpmc/hwpmc_rapl.c
308
ri = rapl_ri + n;
sys/dev/hwpmc/hwpmc_rapl.c
309
pc->pc_hwpmcs[ri] = &rapl_pc->rc_hw[n];
sys/dev/hwpmc/hwpmc_rapl.c
319
int ri, n;
sys/dev/hwpmc/hwpmc_rapl.c
334
for (n = 0; n < rapl_npmcs; n++) {
sys/dev/hwpmc/hwpmc_rapl.c
335
ri = rapl_ri + n;
sys/dev/hwpmc/hwpmc_soft.c
225
int first_ri, n;
sys/dev/hwpmc/hwpmc_soft.c
246
for (n = 0; n < SOFT_NPMCS; n++, phw++) {
sys/dev/hwpmc/hwpmc_soft.c
248
PMC_PHW_CPU_TO_STATE(cpu) | PMC_PHW_INDEX_TO_STATE(n);
sys/dev/hwpmc/hwpmc_soft.c
250
pc->pc_hwpmcs[n + first_ri] = phw;
sys/dev/hwpmc/hwpmc_uncore.c
113
for (n = 0, phw = cc->pc_uncorepmcs; n < npmc; n++, phw++) {
sys/dev/hwpmc/hwpmc_uncore.c
116
PMC_PHW_INDEX_TO_STATE(n + uncore_ri);
sys/dev/hwpmc/hwpmc_uncore.c
118
pc->pc_hwpmcs[n + uncore_ri] = phw;
sys/dev/hwpmc/hwpmc_uncore.c
127
int uncore_ri, n, npmc;
sys/dev/hwpmc/hwpmc_uncore.c
149
for (n = 0; n < npmc; n++)
sys/dev/hwpmc/hwpmc_uncore.c
150
wrmsr(SELECTSEL(uncore_cputype) + n, 0);
sys/dev/hwpmc/hwpmc_uncore.c
155
for (n = 0; n < npmc; n++)
sys/dev/hwpmc/hwpmc_uncore.c
156
pc->pc_hwpmcs[n + uncore_ri] = NULL;
sys/dev/hwpmc/hwpmc_uncore.c
93
int uncore_ri, n, npmc;
sys/dev/hwpmc/hwpmc_x86.c
100
return (n);
sys/dev/hwpmc/hwpmc_x86.c
104
return (n);
sys/dev/hwpmc/hwpmc_x86.c
107
return (n);
sys/dev/hwpmc/hwpmc_x86.c
109
for (; n < nframes;) {
sys/dev/hwpmc/hwpmc_x86.c
113
*cc++ = pc; n++;
sys/dev/hwpmc/hwpmc_x86.c
126
return (n);
sys/dev/hwpmc/hwpmc_x86.c
158
int n;
sys/dev/hwpmc/hwpmc_x86.c
210
for (n = 1; n < nframes; n++) {
sys/dev/hwpmc/hwpmc_x86.c
223
return (n);
sys/dev/hwpmc/hwpmc_x86.c
76
int n;
sys/dev/hwpmc/hwpmc_x86.c
87
*cc++ = pc; n = 1;
sys/dev/hwpmc/hwpmc_x86.c
92
return (n);
sys/dev/hwpmc/hwpmc_x86.c
95
return (n);
sys/dev/hyperv/netvsc/if_hn.c
3353
struct mbuf *m, *n;
sys/dev/hyperv/netvsc/if_hn.c
3376
n = m_getjcl(M_NOWAIT, m->m_type, 0, MJUMPAGESIZE);
sys/dev/hyperv/netvsc/if_hn.c
3377
if (n == NULL)
sys/dev/hyperv/netvsc/if_hn.c
3379
n->m_len = min(MJUMPAGESIZE, remainder);
sys/dev/hyperv/netvsc/if_hn.c
3380
bcopy(cp, mtod(n, caddr_t), n->m_len);
sys/dev/hyperv/netvsc/if_hn.c
3381
cp += n->m_len;
sys/dev/hyperv/netvsc/if_hn.c
3382
remainder -= n->m_len;
sys/dev/hyperv/netvsc/if_hn.c
3383
m->m_next = n;
sys/dev/hyperv/netvsc/if_hn.c
3384
m = n;
sys/dev/hyperv/netvsc/if_hn.c
3406
struct mbuf *m_new, *n;
sys/dev/hyperv/netvsc/if_hn.c
3470
n = m_new;
sys/dev/hyperv/netvsc/if_hn.c
3472
n = hv_m_append(n, rxr->rsc.frag_len[i],
sys/dev/hyperv/netvsc/if_hn.c
3474
if (n == NULL) {
sys/dev/hyperv/utilities/hv_kvp.c
299
int n;
sys/dev/hyperv/utilities/hv_kvp.c
302
n = hyperv_guid2str(vmbus_chan_guid_inst(chan), buf,
sys/dev/hyperv/utilities/hv_kvp.c
312
n) == 0) {
sys/dev/hyperv/vmbus/vmbus_var.h
154
#define BIT(n) (1ULL << (n))
sys/dev/iavf/iavf_adminq_cmd.h
342
#define IAVF_CHECK_STRUCT_LEN(n, X) enum iavf_static_assert_enum_##X \
sys/dev/iavf/iavf_adminq_cmd.h
343
{ iavf_static_assert_##X = (n)/((sizeof(struct X) == (n)) ? 1 : 0) }
sys/dev/iavf/virtchnl.h
171
#define VIRTCHNL_CHECK_STRUCT_LEN(n, X) enum virtchnl_static_assert_enum_##X \
sys/dev/iavf/virtchnl.h
172
{ virtchnl_static_assert_##X = (n)/((sizeof(struct X) == (n)) ? 1 : 0) }
sys/dev/iavf/virtchnl.h
173
#define VIRTCHNL_CHECK_UNION_LEN(n, X) enum virtchnl_static_asset_enum_##X \
sys/dev/iavf/virtchnl.h
174
{ virtchnl_static_assert_##X = (n)/((sizeof(union X) == (n)) ? 1 : 0) }
sys/dev/ic/quicc.h
68
#define QUICC_PRAM_SCC_UART_CC(u,n) (QUICC_PRAM_BASE_SCC(u) + 0x50 + (n)*2)
sys/dev/ice/ice_osdep.h
302
#define LIST_FOR_EACH_ENTRY_SAFE(pos, n, head, unused, member) \
sys/dev/ice/ice_osdep.h
304
pos && ({ n = LIST_NEXT_ENTRY_SAFE(pos, member); 1; }); \
sys/dev/ice/ice_osdep.h
305
pos = n)
sys/dev/ice/ice_osdep.h
501
ice_ilog2(u64 n) {
sys/dev/ice/ice_osdep.h
502
if (n == 0)
sys/dev/ice/ice_osdep.h
504
return flsll(n) - 1;
sys/dev/ice/ice_osdep.h
519
ice_is_pow2(u64 n) {
sys/dev/ice/ice_osdep.h
520
if (n == 0)
sys/dev/ice/ice_osdep.h
522
return powerof2(n);
sys/dev/ice/ice_type.h
1383
#define ICE_NETLIST_LINK_TOPO_OFFSET(n) ((n) + 2)
sys/dev/ice/ice_type.h
1392
#define ICE_NETLIST_ID_BLK_OFFSET(n) ICE_NETLIST_LINK_TOPO_OFFSET(0x0004 + 2 * (n))
sys/dev/ice/ice_type.h
1403
#define ICE_NETLIST_ID_BLK_SHA_HASH_WORD(n) (0x0A + (n))
sys/dev/ice/virtchnl.h
75
#define VIRTCHNL_CHECK_STRUCT_LEN(n, X) enum virtchnl_static_assert_enum_##X \
sys/dev/ice/virtchnl.h
76
{ virtchnl_static_assert_##X = (n)/((sizeof(struct X) == (n)) ? 1 : 0) }
sys/dev/ice/virtchnl.h
77
#define VIRTCHNL_CHECK_UNION_LEN(n, X) enum virtchnl_static_asset_enum_##X \
sys/dev/ice/virtchnl.h
78
{ virtchnl_static_assert_##X = (n)/((sizeof(union X) == (n)) ? 1 : 0) }
sys/dev/iicbus/controller/twsi/mv_twsi.c
152
int m, n, m0, n0;
sys/dev/iicbus/controller/twsi/mv_twsi.c
159
for (n = 0; n < 8; n++) {
sys/dev/iicbus/controller/twsi/mv_twsi.c
161
cur = TWSI_BAUD_RATE_RAW(clk,m,n);
sys/dev/iicbus/controller/twsi/mv_twsi.c
165
n0 = n;
sys/dev/iicbus/controller/twsi/mv_twsi.c
173
rate->n = n0;
sys/dev/iicbus/controller/twsi/mv_twsi.c
213
sc->baud_rate[IIC_SLOW].n,
sys/dev/iicbus/controller/twsi/mv_twsi.c
216
sc->baud_rate[IIC_FAST].n);
sys/dev/iicbus/controller/twsi/twsi.c
255
int m, n, m0, n0;
sys/dev/iicbus/controller/twsi/twsi.c
265
for (n = 0; n < 8; n++) {
sys/dev/iicbus/controller/twsi/twsi.c
267
cur = TWSI_BAUD_RATE_RAW(clk,m,n);
sys/dev/iicbus/controller/twsi/twsi.c
271
n0 = n;
sys/dev/iicbus/controller/twsi/twsi.h
41
int n;
sys/dev/iicbus/iichid.c
72
#define DPRINTFN(sc, n, ...) do { \
sys/dev/iicbus/iichid.c
73
if (iichid_debug >= (n)) \
sys/dev/iicbus/sensor/w83793g.c
83
#define TD_MD_M(n) (0x3 << ((n) * 2))
sys/dev/iicbus/sensor/w83793g.c
84
#define TD_MD_S(n) ((n) * 2)
sys/dev/intel/spi.c
88
#define SSCR0_SCR(n) ((((n) - 1) & 0xfff) << 8)
sys/dev/intel/spi.c
91
#define SSCR0_DSS(n) (((n) - 1) << 0)
sys/dev/intel/spi.c
94
#define SSCR1_RFT(n) (((n) - 1) << 10)
sys/dev/intel/spi.c
96
#define SSCR1_TFT(n) (((n) - 1) << 6)
sys/dev/ioat/ioat.c
1097
ioat_acquire_reserve(bus_dmaengine_t dmaengine, unsigned n, int mflags)
sys/dev/ioat/ioat.c
1105
error = ioat_reserve_space(ioat, n, mflags);
sys/dev/ioat/ioat.h
174
int ioat_acquire_reserve(bus_dmaengine_t dmaengine, unsigned n, int mflags)
sys/dev/iommu/iommu_gas.c
113
int n __unused;
sys/dev/iommu/iommu_gas.c
115
n = vm_page_free_pages_toq(&entry->pgtbl_free, false);
sys/dev/iommu/iommu_gas.c
117
atomic_subtract_int(&iommu_tbl_pagecnt, n);
sys/dev/ipw/if_ipw.c
85
#define DPRINTFN(n, x) do { if (ipw_debug >= (n)) printf x; } while (0)
sys/dev/ipw/if_ipw.c
90
#define DPRINTFN(n, x)
sys/dev/ipw/if_ipw.c
919
int n;
sys/dev/ipw/if_ipw.c
938
for (n = 7; n >= 0; n--) {
sys/dev/ipw/if_ipw.c
940
(((addr >> n) & 1) << IPW_EEPROM_SHIFT_D));
sys/dev/ipw/if_ipw.c
942
(((addr >> n) & 1) << IPW_EEPROM_SHIFT_D) | IPW_EEPROM_C);
sys/dev/ipw/if_ipw.c
949
for (n = 15; n >= 0; n--) {
sys/dev/ipw/if_ipw.c
953
val |= ((tmp & IPW_EEPROM_Q) >> IPW_EEPROM_SHIFT_Q) << n;
sys/dev/irdma/osdep.h
62
#define DECLARE_HASHTABLE(n, b) struct hlist_head (n)[1 << (b)]
sys/dev/irdma/osdep.h
64
#define HASH_FOR_EACH_RCU(n, b, o, m) for ((b) = 0, o = NULL; o == NULL && (b) < ARRAY_SIZE(n);\
sys/dev/irdma/osdep.h
66
hlist_for_each_entry_rcu(o, &n[(b)], m)
sys/dev/irdma/osdep.h
67
#define HASH_FOR_EACH_POSSIBLE_RCU(n, o, m, k) \
sys/dev/irdma/osdep.h
68
hlist_for_each_entry_rcu(o, &n[jhash(&k, sizeof(k), 0) >> (32 - ilog2(ARRAY_SIZE(n)))],\
sys/dev/irdma/osdep.h
70
#define HASH_FOR_EACH_POSSIBLE(n, o, m, k) \
sys/dev/irdma/osdep.h
71
hlist_for_each_entry(o, &n[jhash(&k, sizeof(k), 0) >> (32 - ilog2(ARRAY_SIZE(n)))],\
sys/dev/irdma/osdep.h
73
#define HASH_ADD_RCU(h, n, k) \
sys/dev/irdma/osdep.h
74
hlist_add_head_rcu(n, &h[jhash(&k, sizeof(k), 0) >> (32 - ilog2(ARRAY_SIZE(h)))])
sys/dev/irdma/osdep.h
76
#define HASH_ADD(h, n, k) \
sys/dev/irdma/osdep.h
77
hlist_add_head(n, &h[jhash(&k, sizeof(k), 0) >> (32 - ilog2(ARRAY_SIZE(h)))])
sys/dev/iser/iser_memory.c
163
int ret, n;
sys/dev/iser/iser_memory.c
174
n = ib_map_mr_sg(mr, mem->sg, mem->size, NULL, SIZE_4K);
sys/dev/iser/iser_memory.c
175
if (unlikely(n != mem->size)) {
sys/dev/iser/iser_memory.c
176
ISER_ERR("failed to map sg (%d/%d)\n", n, mem->size);
sys/dev/iser/iser_memory.c
177
return n < 0 ? n : -EINVAL;
sys/dev/iser/iser_verbs.c
166
int n;
sys/dev/iser/iser_verbs.c
168
while ((n = ib_poll_cq(cq, ARRAY_SIZE(comp->wcs), wcs)) > 0) {
sys/dev/iser/iser_verbs.c
169
for (i = 0; i < n; i++)
sys/dev/iser/iser_verbs.c
172
completed += n;
sys/dev/isp/isp.c
4908
unsigned int n = sizeof(*image_status) / sizeof(*p);
sys/dev/isp/isp.c
4911
for ( ; n--; p++)
sys/dev/isp/isp_pci.c
1081
struct isp_nexus *n = malloc(sizeof (struct isp_nexus), M_DEVBUF, M_NOWAIT | M_ZERO);
sys/dev/isp/isp_pci.c
1082
if (n == NULL) {
sys/dev/isp/isp_pci.c
1084
n = fc->nexus_free_list;
sys/dev/isp/isp_pci.c
1085
fc->nexus_free_list = n->next;
sys/dev/isp/isp_pci.c
1086
free(n, M_DEVBUF);
sys/dev/isp/isp_pci.c
1090
n->next = fc->nexus_free_list;
sys/dev/isp/isp_pci.c
1091
fc->nexus_free_list = n;
sys/dev/isp/isp_pci.c
1178
struct isp_nexus *n = fc->nexus_free_list;
sys/dev/isp/isp_pci.c
1179
fc->nexus_free_list = n->next;
sys/dev/isp/isp_pci.c
1180
free(n, M_DEVBUF);
sys/dev/isp/ispreg.h
169
#define MBOX_OFF(n) (MBOX_BLOCK + ((n) << 1))
sys/dev/isp/ispvar.h
141
#define ISP_QUEUE_SIZE(n) ((size_t)(n) * QENTRY_LEN)
sys/dev/iwi/if_iwi.c
105
#define DPRINTFN(n, x)
sys/dev/iwi/if_iwi.c
1122
int n;
sys/dev/iwi/if_iwi.c
1141
for (n = 7; n >= 0; n--) {
sys/dev/iwi/if_iwi.c
1143
(((addr >> n) & 1) << IWI_EEPROM_SHIFT_D));
sys/dev/iwi/if_iwi.c
1145
(((addr >> n) & 1) << IWI_EEPROM_SHIFT_D) | IWI_EEPROM_C);
sys/dev/iwi/if_iwi.c
1152
for (n = 15; n >= 0; n--) {
sys/dev/iwi/if_iwi.c
1156
val |= ((tmp & IWI_EEPROM_Q) >> IWI_EEPROM_SHIFT_Q) << n;
sys/dev/iwi/if_iwi.c
92
#define DPRINTFN(n, x) do { if (iwi_debug >= (n)) printf x; } while (0)
sys/dev/iwm/if_iwmreg.h
5742
#define IWM_SCAN_CONFIG_N_CHANNELS(n) ((n) << 26)
sys/dev/iwn/if_iwn.c
2430
iwn_read_eeprom_band(struct iwn_softc *sc, int n, int maxchans, int *nchans,
sys/dev/iwn/if_iwn.c
2433
struct iwn_eeprom_chan *channels = sc->eeprom_channels[n];
sys/dev/iwn/if_iwn.c
2434
const struct iwn_chan_band *band = &iwn_bands[n];
sys/dev/iwn/if_iwn.c
2442
if (n == 0) {
sys/dev/iwn/if_iwn.c
2483
iwn_read_eeprom_ht40(struct iwn_softc *sc, int n, int maxchans, int *nchans,
sys/dev/iwn/if_iwn.c
2486
struct iwn_eeprom_chan *channels = sc->eeprom_channels[n];
sys/dev/iwn/if_iwn.c
2487
const struct iwn_chan_band *band = &iwn_bands[n];
sys/dev/iwn/if_iwn.c
2509
nflags |= (n == 5 ? IEEE80211_CHAN_G : IEEE80211_CHAN_A);
sys/dev/iwn/if_iwn.c
2541
iwn_read_eeprom_channels(struct iwn_softc *sc, int n, uint32_t addr)
sys/dev/iwn/if_iwn.c
2545
iwn_read_prom_data(sc, addr, &sc->eeprom_channels[n],
sys/dev/iwn/if_iwn.c
2546
iwn_bands[n].nchan * sizeof (struct iwn_eeprom_chan));
sys/dev/iwn/if_iwn.c
2548
if (n < 5) {
sys/dev/iwn/if_iwn.c
2549
iwn_read_eeprom_band(sc, n, IEEE80211_CHAN_MAX, &ic->ic_nchans,
sys/dev/iwn/if_iwn.c
2552
iwn_read_eeprom_ht40(sc, n, IEEE80211_CHAN_MAX, &ic->ic_nchans,
sys/dev/iwn/if_iwn.c
5683
#define fdivround(a, b, n) \
sys/dev/iwn/if_iwn.c
5684
((((1 << n) * (a)) / (b) + (1 << n) / 2) / (1 << n))
sys/dev/iwn/if_iwn.c
5686
#define interpolate(x, x1, y1, x2, y2, n) \
sys/dev/iwn/if_iwn.c
5687
((y1) + fdivround(((int)(x) - (x1)) * ((y2) - (y1)), (x2) - (x1), n))
sys/dev/iwx/if_iwx.c
7203
#define IEEE80211_VHT_MCS_FOR_SS_MASK(n) (0x3 << (2*((n)-1)))
sys/dev/iwx/if_iwx.c
7204
#define IEEE80211_VHT_MCS_FOR_SS_SHIFT(n) (2*((n)-1))
sys/dev/iwx/if_iwxreg.h
6605
#define IWX_SCAN_CONFIG_N_CHANNELS(n) ((n) << 26)
sys/dev/ixgbe/ixgbe_82599.c
1472
u32 n = (_n); \
sys/dev/ixgbe/ixgbe_82599.c
1473
if (IXGBE_ATR_COMMON_HASH_KEY & (0x01 << n)) \
sys/dev/ixgbe/ixgbe_82599.c
1474
common_hash ^= lo_hash_dword >> n; \
sys/dev/ixgbe/ixgbe_82599.c
1475
else if (IXGBE_ATR_BUCKET_HASH_KEY & (0x01 << n)) \
sys/dev/ixgbe/ixgbe_82599.c
1476
bucket_hash ^= lo_hash_dword >> n; \
sys/dev/ixgbe/ixgbe_82599.c
1477
else if (IXGBE_ATR_SIGNATURE_HASH_KEY & (0x01 << n)) \
sys/dev/ixgbe/ixgbe_82599.c
1478
sig_hash ^= lo_hash_dword << (16 - n); \
sys/dev/ixgbe/ixgbe_82599.c
1479
if (IXGBE_ATR_COMMON_HASH_KEY & (0x01 << (n + 16))) \
sys/dev/ixgbe/ixgbe_82599.c
1480
common_hash ^= hi_hash_dword >> n; \
sys/dev/ixgbe/ixgbe_82599.c
1481
else if (IXGBE_ATR_BUCKET_HASH_KEY & (0x01 << (n + 16))) \
sys/dev/ixgbe/ixgbe_82599.c
1482
bucket_hash ^= hi_hash_dword >> n; \
sys/dev/ixgbe/ixgbe_82599.c
1483
else if (IXGBE_ATR_SIGNATURE_HASH_KEY & (0x01 << (n + 16))) \
sys/dev/ixgbe/ixgbe_82599.c
1484
sig_hash ^= hi_hash_dword << (16 - n); \
sys/dev/ixgbe/ixgbe_82599.c
1620
u32 n = (_n); \
sys/dev/ixgbe/ixgbe_82599.c
1621
if (IXGBE_ATR_BUCKET_HASH_KEY & (0x01 << n)) \
sys/dev/ixgbe/ixgbe_82599.c
1622
bucket_hash ^= lo_hash_dword >> n; \
sys/dev/ixgbe/ixgbe_82599.c
1623
if (IXGBE_ATR_BUCKET_HASH_KEY & (0x01 << (n + 16))) \
sys/dev/ixgbe/ixgbe_82599.c
1624
bucket_hash ^= hi_hash_dword >> n; \
sys/dev/ixgbe/ixgbe_type_e610.h
162
#define IXGBE_NETLIST_ID_BLK_OFFSET(n) IXGBE_NETLIST_LINK_TOPO_OFFSET(0x0004 + 2 * (n))
sys/dev/ixgbe/ixgbe_type_e610.h
173
#define IXGBE_NETLIST_ID_BLK_SHA_HASH_WORD(n) (0x0A + (n))
sys/dev/ixgbe/ixgbe_type_e610.h
188
#define IXGBE_NETLIST_LINK_TOPO_OFFSET(n) ((n) + 2)
sys/dev/ixgbe/ixgbe_type_e610.h
551
#define IXGBE_CHECK_STRUCT_LEN(n, X) enum ixgbe_static_assert_enum_##X \
sys/dev/ixgbe/ixgbe_type_e610.h
552
{ ixgbe_static_assert_##X = (n) / ((sizeof(struct X) == (n)) ? 1 : 0) }
sys/dev/ixgbe/ixgbe_type_e610.h
560
#define IXGBE_CHECK_VAR_LEN_STRUCT_LEN(n, X, T) enum ixgbe_static_assert_enum_##X \
sys/dev/ixgbe/ixgbe_type_e610.h
561
{ ixgbe_static_assert_##X = (n) / \
sys/dev/ixgbe/ixgbe_type_e610.h
562
(((sizeof(struct X) + sizeof(T)) == (n)) ? 1 : 0) }
sys/dev/ixl/i40e_adminq_cmd.h
343
#define I40E_CHECK_STRUCT_LEN(n, X) enum i40e_static_assert_enum_##X \
sys/dev/ixl/i40e_adminq_cmd.h
344
{ i40e_static_assert_##X = (n)/((sizeof(struct X) == (n)) ? 1 : 0) }
sys/dev/ixl/ixl.h
489
next_power_of_two(u32 n)
sys/dev/ixl/ixl.h
491
n--;
sys/dev/ixl/ixl.h
492
n |= n >> 1;
sys/dev/ixl/ixl.h
493
n |= n >> 2;
sys/dev/ixl/ixl.h
494
n |= n >> 4;
sys/dev/ixl/ixl.h
495
n |= n >> 8;
sys/dev/ixl/ixl.h
496
n |= n >> 16;
sys/dev/ixl/ixl.h
497
n++;
sys/dev/ixl/ixl.h
500
n += (n == 0);
sys/dev/ixl/ixl.h
502
return (n);
sys/dev/ixl/virtchnl.h
159
#define VIRTCHNL_CHECK_STRUCT_LEN(n, X) enum virtchnl_static_assert_enum_##X \
sys/dev/ixl/virtchnl.h
160
{virtchnl_static_assert_##X = (n) / ((sizeof(struct X) == (n)) ? 1 : 0)}
sys/dev/jme/if_jme.c
957
#define JME_SYSCTL_STAT_ADD32(c, h, n, p, d) \
sys/dev/jme/if_jme.c
958
SYSCTL_ADD_UINT(c, h, OID_AUTO, n, CTLFLAG_RD, p, 0, d)
sys/dev/mana/gdma_main.c
1467
int n = howmany(res_avail, BITS_PER_LONG);
sys/dev/mana/gdma_main.c
1470
malloc(n * sizeof(unsigned long), M_DEVBUF, M_WAITOK | M_ZERO);
sys/dev/mana/gdma_main.c
1476
r->size, n);
sys/dev/mana/gdma_util.h
163
unsigned long i, n;
sys/dev/mana/gdma_util.h
166
n = ~p[i];
sys/dev/mana/gdma_util.h
167
if (n != 0)
sys/dev/mana/gdma_util.h
168
return (i * BITS_PER_LONG + ffsl(n) - 1);
sys/dev/mana/gdma_util.h
75
#define BITMAP_LAST_WORD_MASK(n) (~0UL >> (BITS_PER_LONG - (n)))
sys/dev/mana/gdma_util.h
76
#define BITS_TO_LONGS(n) howmany((n), BITS_PER_LONG)
sys/dev/mana/gdma_util.h
84
#define BIT(n) (1ULL << (n))
sys/dev/md/md.c
519
unsigned n;
sys/dev/md/md.c
533
for (n = sectorsize; n != 0; n -= sz) {
sys/dev/md/md.c
534
sz = imin(PAGE_SIZE - *ma_offs, n);
sys/dev/mlx4/mlx4_core/mlx4_cmd.c
2789
unsigned n;
sys/dev/mlx4/mlx4_core/mlx4_cmd.c
2796
n = find_first_bit(actv_ports.ports, dev->caps.num_ports);
sys/dev/mlx4/mlx4_core/mlx4_cmd.c
2797
if (port <= n)
sys/dev/mlx4/mlx4_core/mlx4_cmd.c
2798
port = n + 1;
sys/dev/mlx4/mlx4_ib/mlx4_ib_cq.c
70
static void *get_cqe_from_buf(struct mlx4_ib_cq_buf *buf, int n)
sys/dev/mlx4/mlx4_ib/mlx4_ib_cq.c
72
return mlx4_buf_offset(&buf->buf, n * buf->entry_size);
sys/dev/mlx4/mlx4_ib/mlx4_ib_cq.c
75
static void *get_cqe(struct mlx4_ib_cq *cq, int n)
sys/dev/mlx4/mlx4_ib/mlx4_ib_cq.c
77
return get_cqe_from_buf(&cq->buf, n);
sys/dev/mlx4/mlx4_ib/mlx4_ib_cq.c
80
static void *get_sw_cqe(struct mlx4_ib_cq *cq, int n)
sys/dev/mlx4/mlx4_ib/mlx4_ib_cq.c
82
struct mlx4_cqe *cqe = get_cqe(cq, n & cq->ibcq.cqe);
sys/dev/mlx4/mlx4_ib/mlx4_ib_cq.c
86
!!(n & (cq->ibcq.cqe + 1))) ? NULL : cqe;
sys/dev/mlx4/mlx4_ib/mlx4_ib_mcg.c
751
struct mcast_group *group = NULL, *cur_group, *n;
sys/dev/mlx4/mlx4_ib/mlx4_ib_mcg.c
755
list_for_each_entry_safe(group, n, &ctx->mcg_mgid0_list, mgid0_list) {
sys/dev/mlx4/mlx4_ib/mlx4_ib_mr.c
107
i = n = 0;
sys/dev/mlx4/mlx4_ib/mlx4_ib_mr.c
119
err = mlx4_write_mtt(dev->dev, mtt, n,
sys/dev/mlx4/mlx4_ib/mlx4_ib_mr.c
123
n += i;
sys/dev/mlx4/mlx4_ib/mlx4_ib_mr.c
130
err = mlx4_write_mtt(dev->dev, mtt, n, i, pages);
sys/dev/mlx4/mlx4_ib/mlx4_ib_mr.c
145
int n;
sys/dev/mlx4/mlx4_ib/mlx4_ib_mr.c
160
n = ib_umem_page_count(mr->umem);
sys/dev/mlx4/mlx4_ib/mlx4_ib_mr.c
164
convert_access(access_flags), n, shift, &mr->mmr);
sys/dev/mlx4/mlx4_ib/mlx4_ib_mr.c
230
int n;
sys/dev/mlx4/mlx4_ib/mlx4_ib_mr.c
244
n = ib_umem_page_count(mmr->umem);
sys/dev/mlx4/mlx4_ib/mlx4_ib_mr.c
248
virt_addr, length, n, shift,
sys/dev/mlx4/mlx4_ib/mlx4_ib_mr.c
98
int n;
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
197
static void *get_recv_wqe(struct mlx4_ib_qp *qp, int n)
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
199
return get_wqe(qp, qp->rq.offset + (n << qp->rq.wqe_shift));
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
202
static void *get_send_wqe(struct mlx4_ib_qp *qp, int n)
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
204
return get_wqe(qp, qp->sq.offset + (n << qp->sq.wqe_shift));
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
216
static void stamp_send_wqe(struct mlx4_ib_qp *qp, int n, int size)
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
229
ind = (i >> qp->sq.wqe_shift) + n;
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
237
ctrl = buf = get_send_wqe(qp, n & (qp->sq.wqe_cnt - 1));
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
246
static void post_nop_wqe(struct mlx4_ib_qp *qp, int n, int size)
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
253
ctrl = wqe = get_send_wqe(qp, n & (qp->sq.wqe_cnt - 1));
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
278
(n & qp->sq.wqe_cnt ? cpu_to_be32(1U << 31) : 0);
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
280
stamp_send_wqe(qp, n + qp->sq_spare_wqes, size);
sys/dev/mlx4/mlx4_ib/mlx4_ib_srq.c
42
static void *get_wqe(struct mlx4_ib_srq *srq, int n)
sys/dev/mlx4/mlx4_ib/mlx4_ib_srq.c
44
return mlx4_buf_offset(&srq->buf, n << srq->msrq.wqe_shift);
sys/dev/mlx5/diagnostics.h
29
#define MLX5_CORE_DIAGNOSTICS_NUM(n, s, t) n
sys/dev/mlx5/diagnostics.h
30
#define MLX5_CORE_DIAGNOSTICS_STRUCT(n, s, t) s,
sys/dev/mlx5/diagnostics.h
31
#define MLX5_CORE_DIAGNOSTICS_ENTRY(n, s, t) { #s, (t) },
sys/dev/mlx5/driver.h
310
u64 n;
sys/dev/mlx5/fs.h
272
mlx5_get_fdb_sub_ns(struct mlx5_core_dev *dev, int n);
sys/dev/mlx5/mlx5_core/mlx5_cmd.c
1041
++stats->n;
sys/dev/mlx5/mlx5_core/mlx5_cmd.c
1115
size_t n;
sys/dev/mlx5/mlx5_core/mlx5_cmd.c
1119
n = howmany(blen, MLX5_CMD_DATA_BLOCK_SIZE);
sys/dev/mlx5/mlx5_core/mlx5_cmd.c
1121
msg = mlx5_fwp_alloc(dev, flags, howmany(n, MLX5_NUM_CMDS_IN_ADAPTER_PAGE));
sys/dev/mlx5/mlx5_core/mlx5_cmd.c
1125
for (i = 0; i != n; i++) {
sys/dev/mlx5/mlx5_core/mlx5_cmd.c
1130
if (i != (n - 1)) {
sys/dev/mlx5/mlx5_core/mlx5_cmd.c
1442
struct mlx5_cmd_msg *n;
sys/dev/mlx5/mlx5_core/mlx5_cmd.c
1444
list_for_each_entry_safe(msg, n, &cmd->cache.large.head, list) {
sys/dev/mlx5/mlx5_core/mlx5_cmd.c
1449
list_for_each_entry_safe(msg, n, &cmd->cache.med.head, list) {
sys/dev/mlx5/mlx5_core/mlx5_cmd.c
848
++stats->n;
sys/dev/mlx5/mlx5_core/mlx5_fs_chains.c
292
int n = 0, err;
sys/dev/mlx5/mlx5_core/mlx5_fs_chains.c
305
miss_rules[n] = mlx5_chains_add_miss_rule(chain,
sys/dev/mlx5/mlx5_core/mlx5_fs_chains.c
308
if (IS_ERR(miss_rules[n])) {
sys/dev/mlx5/mlx5_core/mlx5_fs_chains.c
309
err = PTR_ERR(miss_rules[n]);
sys/dev/mlx5/mlx5_core/mlx5_fs_chains.c
313
n++;
sys/dev/mlx5/mlx5_core/mlx5_fs_chains.c
319
n = 0;
sys/dev/mlx5/mlx5_core/mlx5_fs_chains.c
326
pos->miss_rule = miss_rules[n];
sys/dev/mlx5/mlx5_core/mlx5_fs_chains.c
329
n++;
sys/dev/mlx5/mlx5_core/mlx5_fs_chains.c
337
while (--n >= 0)
sys/dev/mlx5/mlx5_core/mlx5_fs_chains.c
338
mlx5_del_flow_rules(&miss_rules[n]);
sys/dev/mlx5/mlx5_core/mlx5_fs_core.c
2284
int n)
sys/dev/mlx5/mlx5_core/mlx5_fs_core.c
2291
return steering->fdb_sub_ns[n];
sys/dev/mlx5/mlx5_core/mlx5_main.c
706
struct mlx5_eq *eq, *n;
sys/dev/mlx5/mlx5_core/mlx5_main.c
709
list_for_each_entry_safe(eq, n, &table->comp_eqs_list, list) {
sys/dev/mlx5/mlx5_en/en.h
361
#define MLX5E_PPORT_PER_PRIO_STATS_SUB(m,n,p) \
sys/dev/mlx5/mlx5_en/en.h
362
m(n, p, +1, u64, rx_octets, "rx_octets", "Received octets") \
sys/dev/mlx5/mlx5_en/en.h
363
m(n, p, +1, u64, rx_uc_frames, "rx_uc_frames", "Received unicast frames") \
sys/dev/mlx5/mlx5_en/en.h
364
m(n, p, +1, u64, rx_mc_frames, "rx_mc_frames", "Received multicast frames") \
sys/dev/mlx5/mlx5_en/en.h
365
m(n, p, +1, u64, rx_bc_frames, "rx_bc_frames", "Received broadcast frames") \
sys/dev/mlx5/mlx5_en/en.h
366
m(n, p, +1, u64, rx_frames, "rx_frames", "Received frames") \
sys/dev/mlx5/mlx5_en/en.h
367
m(n, p, +1, u64, tx_octets, "tx_octets", "Transmitted octets") \
sys/dev/mlx5/mlx5_en/en.h
368
m(n, p, +1, u64, tx_uc_frames, "tx_uc_frames", "Transmitted unicast frames") \
sys/dev/mlx5/mlx5_en/en.h
369
m(n, p, +1, u64, tx_mc_frames, "tx_mc_frames", "Transmitted multicast frames") \
sys/dev/mlx5/mlx5_en/en.h
370
m(n, p, +1, u64, tx_bc_frames, "tx_bc_frames", "Transmitted broadcast frames") \
sys/dev/mlx5/mlx5_en/en.h
371
m(n, p, +1, u64, tx_frames, "tx_frames", "Transmitted frames") \
sys/dev/mlx5/mlx5_en/en.h
372
m(n, p, +1, u64, rx_pause, "rx_pause", "Received pause frames") \
sys/dev/mlx5/mlx5_en/en.h
373
m(n, p, +1, u64, rx_pause_duration, "rx_pause_duration", \
sys/dev/mlx5/mlx5_en/en.h
375
m(n, p, +1, u64, tx_pause, "tx_pause", "Transmitted pause frames") \
sys/dev/mlx5/mlx5_en/en.h
376
m(n, p, +1, u64, tx_pause_duration, "tx_pause_duration", \
sys/dev/mlx5/mlx5_en/en.h
378
m(n, p, +1, u64, rx_pause_transition, "rx_pause_transition", \
sys/dev/mlx5/mlx5_en/en.h
380
m(n, p, +1, u64, rx_discards, "rx_discards", "Discarded received frames") \
sys/dev/mlx5/mlx5_en/en.h
381
m(n, p, +1, u64, device_stall_minor_watermark, \
sys/dev/mlx5/mlx5_en/en.h
383
m(n, p, +1, u64, device_stall_critical_watermark, \
sys/dev/mlx5/mlx5_en/en.h
898
mlx5e_sq_has_room_for(struct mlx5e_sq *sq, u16 n)
sys/dev/mlx5/mlx5_en/en.h
903
return ((sq->wq.sz_m1 & (cc - pc)) >= n || cc == pc);
sys/dev/mlx5/mlx5_en/en_rl.h
100
(__offsetof(struct mlx5e_rl_params, n) / sizeof(uint64_t))
sys/dev/mlx5/mlx5_en/en_rl.h
99
#define MLX5E_RL_PARAMS_INDEX(n) \
sys/dev/mlx5/mlx5_en/mlx5_en_ethtool.c
884
#define MLX5_PARAM_OFFSET(n) \
sys/dev/mlx5/mlx5_en/mlx5_en_ethtool.c
885
__offsetof(struct mlx5e_priv, params_ethtool.n)
sys/dev/mlx5/mlx5_en/mlx5_en_hw_tls_rx.c
883
uint16_t i, j, n;
sys/dev/mlx5/mlx5_en/mlx5_en_hw_tls_rx.c
898
n = ptag->tcp_resync_pc - ptag->tcp_resync_cc;
sys/dev/mlx5/mlx5_en/mlx5_en_hw_tls_rx.c
905
} else if (n == MLX5E_TLS_RX_RESYNC_MAX) {
sys/dev/mlx5/mlx5_en/mlx5_en_iq.c
465
mlx5e_iq_has_room_for(struct mlx5e_iq *iq, u16 n)
sys/dev/mlx5/mlx5_en/mlx5_en_iq.c
470
return ((iq->wq.sz_m1 & (cc - pc)) >= n || cc == pc);
sys/dev/mlx5/mlx5_en/mlx5_en_main.c
2372
u32 r, n, maxs;
sys/dev/mlx5/mlx5_en/mlx5_en_main.c
2383
n = roundup_pow_of_two(1 + howmany(maxs, r)) - 1;
sys/dev/mlx5/mlx5_en/mlx5_en_main.c
2384
if (n > MLX5E_MAX_BUSDMA_RX_SEGS)
sys/dev/mlx5/mlx5_en/mlx5_en_main.c
2388
*nsegs = n;
sys/dev/mlx5/mlx5_ib/mlx5_ib.h
939
void *mlx5_get_send_wqe(struct mlx5_ib_qp *qp, int n);
sys/dev/mlx5/mlx5_ib/mlx5_ib_cq.c
64
static void *get_cqe_from_buf(struct mlx5_ib_cq_buf *buf, int n, int size)
sys/dev/mlx5/mlx5_ib/mlx5_ib_cq.c
66
return mlx5_buf_offset(&buf->buf, n * size);
sys/dev/mlx5/mlx5_ib/mlx5_ib_cq.c
69
static void *get_cqe(struct mlx5_ib_cq *cq, int n)
sys/dev/mlx5/mlx5_ib/mlx5_ib_cq.c
71
return get_cqe_from_buf(&cq->buf, n, cq->mcq.cqe_sz);
sys/dev/mlx5/mlx5_ib/mlx5_ib_cq.c
74
static u8 sw_ownership_bit(int n, int nent)
sys/dev/mlx5/mlx5_ib/mlx5_ib_cq.c
76
return (n & nent) ? 1 : 0;
sys/dev/mlx5/mlx5_ib/mlx5_ib_cq.c
79
static void *get_sw_cqe(struct mlx5_ib_cq *cq, int n)
sys/dev/mlx5/mlx5_ib/mlx5_ib_cq.c
81
void *cqe = get_cqe(cq, n & cq->ibcq.cqe);
sys/dev/mlx5/mlx5_ib/mlx5_ib_cq.c
87
!((cqe64->op_own & MLX5_CQE_OWNER_MASK) ^ !!(n & (cq->ibcq.cqe + 1)))) {
sys/dev/mlx5/mlx5_ib/mlx5_ib_mr.c
1636
int n;
sys/dev/mlx5/mlx5_ib/mlx5_ib_mr.c
1645
n = mlx5_ib_sg_to_klms(mr, sg, sg_nents, sg_offset);
sys/dev/mlx5/mlx5_ib/mlx5_ib_mr.c
1647
n = ib_sg_to_pages(ibmr, sg, sg_nents, sg_offset,
sys/dev/mlx5/mlx5_ib/mlx5_ib_mr.c
1654
return n;
sys/dev/mlx5/mlx5_ib/mlx5_ib_mr.c
578
struct ib_sge *sg, u64 dma, int n, u32 key,
sys/dev/mlx5/mlx5_ib/mlx5_ib_mr.c
584
sg->length = ALIGN(sizeof(u64) * n, 64);
sys/dev/mlx5/mlx5_ib/mlx5_ib_mr.c
589
if (n)
sys/dev/mlx5/mlx5_ib/mlx5_ib_mr.c
596
umrwr->npages = n;
sys/dev/mlx5/mlx5_ib/mlx5_ib_mr.c
602
struct ib_sge *sg, u64 dma, int n, u32 key,
sys/dev/mlx5/mlx5_ib/mlx5_ib_mr.c
606
prep_umr_wqe_common(pd, umrwr, sg, dma, n, key, page_shift);
sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
105
static void *get_recv_wqe(struct mlx5_ib_qp *qp, int n)
sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
107
return get_wqe(qp, qp->rq.offset + (n << qp->rq.wqe_shift));
sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
110
void *mlx5_get_send_wqe(struct mlx5_ib_qp *qp, int n)
sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
112
return get_wqe(qp, qp->sq.offset + (n << MLX5_IB_SQ_STRIDE));
sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
489
int n;
sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
491
n = max_bfregs(dev, bfregi) - bfregi->num_low_latency_bfregs -
sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
494
return n >= 0 ? n : 0;
sys/dev/mlx5/mlx5_ib/mlx5_ib_srq.c
39
static void *get_wqe(struct mlx5_ib_srq *srq, int n)
sys/dev/mlx5/mlx5_ib/mlx5_ib_srq.c
41
return mlx5_buf_offset(&srq->buf, n << srq->msrq.wqe_shift);
sys/dev/mmc/host/dwmmc.c
93
#define DIV_ROUND_UP(n, d) howmany(n, d)
sys/dev/mmc/mmcreg.h
589
#define SD_IO_FBR_START_F(n) (SD_IO_FBR_START + (n-1) * SD_IO_FBR_F_SIZE)
sys/dev/mpi3mr/mpi3mr.h
903
#define MPI3MR_DIV_ROUND_UP(n,d) (((n) + (d) - 1) / (d))
sys/dev/msk/if_msk.c
4443
#define MSK_SYSCTL_STAT32(sc, c, o, p, n, d) \
sys/dev/msk/if_msk.c
4446
sc, offsetof(struct msk_hw_stats, n), msk_sysctl_stat32, \
sys/dev/msk/if_msk.c
4448
#define MSK_SYSCTL_STAT64(sc, c, o, p, n, d) \
sys/dev/msk/if_msk.c
4451
sc, offsetof(struct msk_hw_stats, n), msk_sysctl_stat64, \
sys/dev/mthca/mthca_provider.c
857
int shift, n, len;
sys/dev/mthca/mthca_provider.c
886
n = mr->umem->nmap;
sys/dev/mthca/mthca_provider.c
888
mr->mtt = mthca_alloc_mtt(dev, n);
sys/dev/mthca/mthca_provider.c
900
i = n = 0;
sys/dev/mthca/mthca_provider.c
913
err = mthca_write_mtt(dev, mr->mtt, n, pages, i);
sys/dev/mthca/mthca_provider.c
916
n += i;
sys/dev/mthca/mthca_provider.c
923
err = mthca_write_mtt(dev, mr->mtt, n, pages, i);
sys/dev/mthca/mthca_qp.c
208
static void *get_recv_wqe(struct mthca_qp *qp, int n)
sys/dev/mthca/mthca_qp.c
211
return qp->queue.direct.buf + (n << qp->rq.wqe_shift);
sys/dev/mthca/mthca_qp.c
213
return qp->queue.page_list[(n << qp->rq.wqe_shift) >> PAGE_SHIFT].buf +
sys/dev/mthca/mthca_qp.c
214
((n << qp->rq.wqe_shift) & (PAGE_SIZE - 1));
sys/dev/mthca/mthca_qp.c
217
static void *get_send_wqe(struct mthca_qp *qp, int n)
sys/dev/mthca/mthca_qp.c
221
(n << qp->sq.wqe_shift);
sys/dev/mthca/mthca_qp.c
224
(n << qp->sq.wqe_shift)) >>
sys/dev/mthca/mthca_qp.c
226
((qp->send_wqe_offset + (n << qp->sq.wqe_shift)) &
sys/dev/mthca/mthca_srq.c
74
static void *get_wqe(struct mthca_srq *srq, int n)
sys/dev/mthca/mthca_srq.c
77
return srq->queue.direct.buf + (n << srq->wqe_shift);
sys/dev/mthca/mthca_srq.c
79
return srq->queue.page_list[(n << srq->wqe_shift) >> PAGE_SHIFT].buf +
sys/dev/mthca/mthca_srq.c
80
((n << srq->wqe_shift) & (PAGE_SIZE - 1));
sys/dev/mvs/mvs.h
242
#define DMA_C_DRBC(n) (((n) & 0xffff) << 16)
sys/dev/mwl/if_mwl.c
1490
int i, n;
sys/dev/mwl/if_mwl.c
1493
for (i = 0, n = hk->keyLen; i < n; i++)
sys/dev/mwl/if_mwl.c
2307
int i, n, off;
sys/dev/mwl/if_mwl.c
2311
n = rap->rxa_qframes;
sys/dev/mwl/if_mwl.c
2312
for (i = 0; i < rap->rxa_wnd && n > 0; i++) {
sys/dev/mwl/if_mwl.c
2316
n--;
sys/dev/mwl/if_mwl.c
895
uint8_t bitmap, n;
sys/dev/mwl/if_mwl.c
907
n = 0;
sys/dev/mwl/if_mwl.c
913
n++;
sys/dev/mwl/if_mwl.c
916
if (n == 0) {
sys/dev/mwl/mwlhal.c
2087
dumpcaldata(const char *name, const uint8_t *table, int n)
sys/dev/mwl/mwlhal.c
2091
for (i = 0; i < n; i += 4)
sys/dev/mwl/mwlhal.c
944
int retval, i, n;
sys/dev/mwl/mwlhal.c
967
n = 0;
sys/dev/mwl/mwlhal.c
980
n++;
sys/dev/mwl/mwlhal.c
982
pCmd->EntryCount = htole32(n);
sys/dev/mxge/mxge_mcp.h
173
#define MXGEFW_ETH_SEND(n) (0x200000 + (((n) & 0x03) * 0x40000))
sys/dev/mxge/mxge_mcp.h
174
#define MXGEFW_ETH_SEND_OFFSET(n) (MXGEFW_ETH_SEND(n) - MXGEFW_ETH_SEND_4)
sys/dev/neta/if_mvnetareg.h
104
#define MVNETA_DSCP(n) (0x2420 + ((n) << 2))
sys/dev/neta/if_mvnetareg.h
108
#define MVNETA_DFSMT(n) (0x3400 + ((n) << 2))
sys/dev/neta/if_mvnetareg.h
111
#define MVNETA_DFOMT(n) (0x3500 + ((n) << 2))
sys/dev/neta/if_mvnetareg.h
114
#define MVNETA_DFUT(n) (0x3600 + ((n) << 2))
sys/dev/neta/if_mvnetareg.h
154
#define MVNETA_TXMH(n) (0x3d44 + ((n) << 2))
sys/dev/neta/if_mvnetareg.h
430
#define MVNETA_DF(n, x) ((x) << (8 * (n)))
sys/dev/neta/if_mvnetareg.h
445
#define MVNETA_RQC_EN(n) ((n) << 0)
sys/dev/neta/if_mvnetareg.h
448
#define MVNETA_RQC_DIS(n) ((n) << 8)
sys/dev/neta/if_mvnetareg.h
491
#define MVNETA_TQC_EN(n) ((n) << 0)
sys/dev/neta/if_mvnetareg.h
494
#define MVNETA_TQC_DIS(n) ((n) << 8)
sys/dev/neta/if_mvnetareg.h
60
#define MVNETA_QUEUE(n) (1 << (n))
sys/dev/neta/if_mvnetareg.h
73
#define MVNETA_BASEADDR(n) (0x2200 + ((n) << 3)) /* Base Address */
sys/dev/neta/if_mvnetareg.h
74
#define MVNETA_S(n) (0x2204 + ((n) << 3)) /* Size */
sys/dev/neta/if_mvnetareg.h
75
#define MVNETA_HA(n) (0x2280 + ((n) << 2)) /* High Address Remap */
sys/dev/neta/if_mvnetavar.h
176
tx_counter_adv(int ctr, int n)
sys/dev/neta/if_mvnetavar.h
179
ctr += n;
sys/dev/neta/if_mvnetavar.h
187
rx_counter_adv(int ctr, int n)
sys/dev/neta/if_mvnetavar.h
190
ctr += n;
sys/dev/netmap/if_re_netmap.h
149
for (n = 0; nic_i != sc->rl_ldata.rl_tx_prodidx;
sys/dev/netmap/if_re_netmap.h
150
n++, nic_i = RL_TX_DESC_NXT(sc, nic_i)) {
sys/dev/netmap/if_re_netmap.h
156
if (n > 0) {
sys/dev/netmap/if_re_netmap.h
158
sc->rl_ldata.rl_tx_free += n;
sys/dev/netmap/if_re_netmap.h
289
int i, n;
sys/dev/netmap/if_re_netmap.h
300
n = sc->rl_ldata.rl_tx_desc_cnt;
sys/dev/netmap/if_re_netmap.h
303
for (i = 0; i < n; i++) {
sys/dev/netmap/if_re_netmap.h
323
uint32_t const n = sc->rl_ldata.rl_rx_desc_cnt;
sys/dev/netmap/if_re_netmap.h
331
max_avail = n - 1 - nm_kr_rxspace(na->rx_rings[0]);
sys/dev/netmap/if_re_netmap.h
332
for (nic_i = 0; nic_i < n; nic_i++) {
sys/dev/netmap/if_re_netmap.h
346
if (nic_i == n - 1) /* mark the end of ring */
sys/dev/netmap/if_re_netmap.h
76
u_int n;
sys/dev/netmap/if_re_netmap.h
96
for (n = 0; nm_i != head; n++) {
sys/dev/netmap/if_vtnet_netmap.h
123
n = 0;
sys/dev/netmap/if_vtnet_netmap.h
131
n++;
sys/dev/netmap/if_vtnet_netmap.h
133
if (n > 0) {
sys/dev/netmap/if_vtnet_netmap.h
134
kring->nr_hwtail += n;
sys/dev/netmap/if_vtnet_netmap.h
73
u_int n;
sys/dev/netmap/netmap.c
1234
u_int n;
sys/dev/netmap/netmap.c
1237
for (n = kring->nr_hwcur; n != head; n = nm_next(n, lim)) {
sys/dev/netmap/netmap.c
1239
struct netmap_slot *slot = &kring->ring->slot[n];
sys/dev/netmap/netmap.c
1244
nm_prlim(5, "bad pkt at %d len %d", n, slot->len);
sys/dev/netmap/netmap.c
1383
u_int nm_i, n;
sys/dev/netmap/netmap.c
1394
n = mbq_len(q);
sys/dev/netmap/netmap.c
1395
if (n) { /* grab packets from the queue */
sys/dev/netmap/netmap.c
1714
u_int n = kring->nkr_num_slots;
sys/dev/netmap/netmap.c
1721
NM_FAIL_ON(kring->nr_hwcur >= n || kring->rhead >= n ||
sys/dev/netmap/netmap.c
1722
kring->rtail >= n || kring->nr_hwtail >= n);
sys/dev/netmap/netmap.c
1776
uint32_t const n = kring->nkr_num_slots;
sys/dev/netmap/netmap.c
1793
NM_FAIL_ON(kring->nr_hwcur >= n || kring->nr_hwtail >= n);
sys/dev/netmap/netmap.c
4375
netmap_reset(struct netmap_adapter *na, enum txrx tx, u_int n,
sys/dev/netmap/netmap.c
4387
if (n >= na->num_tx_rings)
sys/dev/netmap/netmap.c
4389
kring = na->tx_rings[n];
sys/dev/netmap/netmap.c
4401
if (n >= na->num_rx_rings)
sys/dev/netmap/netmap.c
4403
kring = na->rx_rings[n];
sys/dev/netmap/netmap.c
849
u_int n[NR_TXRX];
sys/dev/netmap/netmap.c
860
n[NR_TX] = netmap_all_rings(na, NR_TX);
sys/dev/netmap/netmap.c
861
n[NR_RX] = netmap_all_rings(na, NR_RX);
sys/dev/netmap/netmap.c
863
len = (n[NR_TX] + n[NR_RX]) *
sys/dev/netmap/netmap.c
872
na->rx_rings = na->tx_rings + n[NR_TX];
sys/dev/netmap/netmap.c
873
na->tailroom = na->rx_rings + n[NR_RX];
sys/dev/netmap/netmap.c
877
for (i = 0; i < n[NR_TX] + n[NR_RX]; i++) {
sys/dev/netmap/netmap.c
888
for (i = 0; i < n[t]; i++) {
sys/dev/netmap/netmap_bdg.c
1106
int n;
sys/dev/netmap/netmap_bdg.c
1110
n = netmap_ring_reinit(kring);
sys/dev/netmap/netmap_bdg.c
1121
for (n = 0; likely(nm_i != head); n++) {
sys/dev/netmap/netmap_bdg.c
1135
n = 0;
sys/dev/netmap/netmap_bdg.c
1137
return n;
sys/dev/netmap/netmap_bdg.c
1150
int n;
sys/dev/netmap/netmap_bdg.c
1153
n = netmap_vp_rxsync_locked(kring, flags);
sys/dev/netmap/netmap_bdg.c
1155
return n;
sys/dev/netmap/netmap_bdg.c
1801
netmap_init_bridges2(u_int n)
sys/dev/netmap/netmap_bdg.c
1806
b = nm_os_malloc(sizeof(struct nm_bridge) * n);
sys/dev/netmap/netmap_bdg.c
1809
for (i = 0; i < n; i++)
sys/dev/netmap/netmap_bdg.c
1815
netmap_uninit_bridges2(struct nm_bridge *b, u_int n)
sys/dev/netmap/netmap_bdg.c
1822
for (i = 0; i < n; i++)
sys/dev/netmap/netmap_freebsd.c
329
struct mbuf *n;
sys/dev/netmap/netmap_freebsd.c
331
n = m->m_nextpkt;
sys/dev/netmap/netmap_freebsd.c
337
m = n;
sys/dev/netmap/netmap_generic.c
1058
if (n) {
sys/dev/netmap/netmap_generic.c
1060
IFRATE(rate_ctx.new.rxpkt += n);
sys/dev/netmap/netmap_generic.c
521
u_int n = 0;
sys/dev/netmap/netmap_generic.c
567
n++;
sys/dev/netmap/netmap_generic.c
571
nm_prdis("tx completed [%d] -> hwtail %d", n, kring->nr_hwtail);
sys/dev/netmap/netmap_generic.c
573
return n;
sys/dev/netmap/netmap_generic.c
580
u_int n = lim + 1;
sys/dev/netmap/netmap_generic.c
586
e = (sup + n + inf) / 2;
sys/dev/netmap/netmap_generic.c
587
if (e >= n) {
sys/dev/netmap/netmap_generic.c
588
e -= n;
sys/dev/netmap/netmap_generic.c
592
if (unlikely(e >= n)) {
sys/dev/netmap/netmap_generic.c
930
u_int n;
sys/dev/netmap/netmap_generic.c
955
for (n = 0; nm_i != head; n++) {
sys/dev/netmap/netmap_generic.c
990
for (n = 0;; n++) {
sys/dev/netmap/netmap_kern.h
1351
enum txrx tx, u_int n, u_int new_cur);
sys/dev/netmap/netmap_kern.h
1600
#define netmap_bns_getbridges(b, n) \
sys/dev/netmap/netmap_kern.h
1601
do { *b = nm_bridges; *n = vale_max_bridges; } while (0)
sys/dev/netmap/netmap_kern.h
1905
int n = kr->nkr_num_slots;
sys/dev/netmap/netmap_kern.h
1913
return idx + n;
sys/dev/netmap/netmap_kern.h
1914
else if (idx < n)
sys/dev/netmap/netmap_kern.h
1917
return idx - n;
sys/dev/netmap/netmap_kern.h
1924
int n = kr->nkr_num_slots;
sys/dev/netmap/netmap_kern.h
1932
return idx + n;
sys/dev/netmap/netmap_kern.h
1933
else if (idx < n)
sys/dev/netmap/netmap_kern.h
1936
return idx - n;
sys/dev/netmap/netmap_mem2.c
1011
#define netmap_if_offset(n, v) \
sys/dev/netmap/netmap_mem2.c
1012
netmap_obj_offset(&(n)->pools[NETMAP_IF_POOL], (v))
sys/dev/netmap/netmap_mem2.c
1014
#define netmap_ring_offset(n, v) \
sys/dev/netmap/netmap_mem2.c
1015
((n)->pools[NETMAP_IF_POOL].memtotal + \
sys/dev/netmap/netmap_mem2.c
1016
netmap_obj_offset(&(n)->pools[NETMAP_RING_POOL], (v)))
sys/dev/netmap/netmap_mem2.c
1105
u_int i, j, n = p->numclusters;
sys/dev/netmap/netmap_mem2.c
1107
for (i = 0, j = 0; i < n; i++, j += p->_clustentries) {
sys/dev/netmap/netmap_mem2.c
1130
#define netmap_if_malloc(n, len) netmap_obj_malloc(&(n)->pools[NETMAP_IF_POOL], len, NULL, NULL)
sys/dev/netmap/netmap_mem2.c
1131
#define netmap_if_free(n, v) netmap_obj_free_va(&(n)->pools[NETMAP_IF_POOL], (v))
sys/dev/netmap/netmap_mem2.c
1132
#define netmap_ring_malloc(n, len) netmap_obj_malloc(&(n)->pools[NETMAP_RING_POOL], len, NULL, NULL)
sys/dev/netmap/netmap_mem2.c
1133
#define netmap_ring_free(n, v) netmap_obj_free_va(&(n)->pools[NETMAP_RING_POOL], (v))
sys/dev/netmap/netmap_mem2.c
1134
#define netmap_buf_malloc(n, _pos, _index) \
sys/dev/netmap/netmap_mem2.c
1135
netmap_obj_malloc(&(n)->pools[NETMAP_BUF_POOL], netmap_mem_bufsize(n), _pos, _index)
sys/dev/netmap/netmap_mem2.c
1140
#define netmap_buf_index(n, v) \
sys/dev/netmap/netmap_mem2.c
1141
(netmap_obj_offset(&(n)->pools[NETMAP_BUF_POOL], (v)) / NETMAP_BDG_BUF_SIZE(n))
sys/dev/netmap/netmap_mem2.c
1149
netmap_extra_alloc(struct netmap_adapter *na, uint32_t *head, uint32_t n)
sys/dev/netmap/netmap_mem2.c
1157
for (i = 0 ; i < n; i++) {
sys/dev/netmap/netmap_mem2.c
1161
nm_prerr("no more buffers after %d of %d", i, n);
sys/dev/netmap/netmap_mem2.c
1200
netmap_new_bufs(struct netmap_mem_d *nmd, struct netmap_slot *slot, u_int n)
sys/dev/netmap/netmap_mem2.c
1207
for (i = 0; i < n; i++) {
sys/dev/netmap/netmap_mem2.c
1210
nm_prerr("no more buffers after %d of %d", i, n);
sys/dev/netmap/netmap_mem2.c
1219
nm_prdis("%s: allocated %d buffers, %d available, first at %d", p->name, n, p->objfree, pos);
sys/dev/netmap/netmap_mem2.c
1227
bzero(slot, n * sizeof(slot[0]));
sys/dev/netmap/netmap_mem2.c
1232
netmap_mem_set_ring(struct netmap_mem_d *nmd, struct netmap_slot *slot, u_int n, uint32_t index)
sys/dev/netmap/netmap_mem2.c
1237
for (i = 0; i < n; i++) {
sys/dev/netmap/netmap_mem2.c
1259
netmap_free_bufs(struct netmap_mem_d *nmd, struct netmap_slot *slot, u_int n)
sys/dev/netmap/netmap_mem2.c
1263
for (i = 0; i < n; i++) {
sys/dev/netmap/netmap_mem2.c
134
#define NMA_LOCK_INIT(n) NM_MTX_INIT((n)->nm_mtx)
sys/dev/netmap/netmap_mem2.c
135
#define NMA_LOCK_DESTROY(n) NM_MTX_DESTROY((n)->nm_mtx)
sys/dev/netmap/netmap_mem2.c
136
#define NMA_LOCK(n) NM_MTX_LOCK((n)->nm_mtx)
sys/dev/netmap/netmap_mem2.c
137
#define NMA_SPINLOCK(n) NM_MTX_SPINLOCK((n)->nm_mtx)
sys/dev/netmap/netmap_mem2.c
138
#define NMA_UNLOCK(n) NM_MTX_UNLOCK((n)->nm_mtx)
sys/dev/netmap/netmap_mem2.c
1733
uint64_t n = (memtotal + sz - 1) / sz;
sys/dev/netmap/netmap_mem2.c
1735
if (n) {
sys/dev/netmap/netmap_mem2.c
1739
(unsigned long long)n);
sys/dev/netmap/netmap_mem2.c
1741
d->params[NETMAP_BUF_POOL].num += n;
sys/dev/netmap/netmap_mem2.c
2115
u_int i, len, n[NR_TXRX], ntot;
sys/dev/netmap/netmap_mem2.c
2121
n[t] = netmap_all_rings(na, t);
sys/dev/netmap/netmap_mem2.c
2122
ntot += n[t];
sys/dev/netmap/netmap_mem2.c
2150
for (i = 0; i < n[NR_TX]; i++) {
sys/dev/netmap/netmap_mem2.c
2162
for (i = 0; i < n[NR_RX]; i++) {
sys/dev/netmap/netmap_mem2.c
2172
*(ssize_t *)(uintptr_t)&nifp->ring_ofs[i+n[NR_TX]] = ofs;
sys/dev/netmap/netmap_mem2.c
399
u_int n, j;
sys/dev/netmap/netmap_mem2.c
403
n = (p->objtotal + 31) / 32;
sys/dev/netmap/netmap_mem2.c
404
p->bitmap = nm_os_malloc(sizeof(p->bitmap[0]) * n);
sys/dev/netmap/netmap_mem2.c
406
nm_prerr("Unable to create bitmap (%d entries) for allocator '%s'", (int)n,
sys/dev/netmap/netmap_mem2.c
410
p->bitmap_slots = n;
sys/dev/netmap/netmap_mem2.c
772
size_t n = sizeof(struct lut_entry) * nobj;
sys/dev/netmap/netmap_mem2.c
775
lut = vmalloc(n);
sys/dev/netmap/netmap_mem2.c
777
lut = nm_os_malloc(n);
sys/dev/netmap/netmap_mem2.c
797
size_t n = sizeof(struct plut_entry) * nobj;
sys/dev/netmap/netmap_mem2.c
799
lut = vmalloc(n);
sys/dev/netmap/netmap_mem2.c
990
int i, k = p->_clustentries, n = p->objtotal;
sys/dev/netmap/netmap_mem2.c
993
for (i = 0; i < n; i += k, ofs += p->_clustsize) {
sys/dev/netmap/netmap_mem2.h
176
uint32_t netmap_extra_alloc(struct netmap_adapter *, uint32_t *, uint32_t n);
sys/dev/netmap/netmap_monitor.c
207
nm_monitor_alloc(struct netmap_kring *kring, u_int n)
sys/dev/netmap/netmap_monitor.c
212
if (n <= kring->max_monitors)
sys/dev/netmap/netmap_monitor.c
217
len = sizeof(struct netmap_kring *) * n;
sys/dev/netmap/netmap_monitor.c
223
kring->max_monitors = n;
sys/dev/netmap/netmap_pipe.c
172
u_int n;
sys/dev/netmap/netmap_pipe.c
173
n = --parent->na_next_pipe;
sys/dev/netmap/netmap_pipe.c
174
if (n != na->parent_slot) {
sys/dev/netmap/netmap_pipe.c
177
*p = parent->na_pipes[n];
sys/dev/netmap/netmap_pipe.c
180
parent->na_pipes[n] = NULL;
sys/dev/netmap/netmap_vale.c
470
nm_vale_flush(struct nm_bdg_fwd *ft, u_int n,
sys/dev/netmap/netmap_vale.c
702
nm_kr_lease(struct netmap_kring *k, u_int n, int is_rx)
sys/dev/netmap/netmap_vale.c
711
if (n > nm_kr_space(k, is_rx)) {
sys/dev/netmap/netmap_vale.c
712
nm_prerr("invalid request for %d slots", n);
sys/dev/netmap/netmap_vale.c
717
k->nkr_hwlease += n;
sys/dev/netmap/netmap_vale.c
741
nm_vale_flush(struct nm_bdg_fwd *ft, u_int n, struct netmap_vp_adapter *na,
sys/dev/netmap/netmap_vale.c
759
for (i = 0; likely(i < n); i += ft[i].ft_frags) {
sys/dev/netmap/netmap_vale.c
825
nm_prdis(5, "pass 1 done %d pkts %d dsts", n, num_dsts);
sys/dev/nfe/if_nfe.c
138
#define DPRINTFN(sc, n, ...) do { \
sys/dev/nfe/if_nfe.c
139
if (nfedebug >= (n)) \
sys/dev/nfe/if_nfe.c
144
#define DPRINTFN(sc, n, ...)
sys/dev/nfe/if_nfe.c
3043
#define NFE_SYSCTL_STAT_ADD32(c, h, n, p, d) \
sys/dev/nfe/if_nfe.c
3044
SYSCTL_ADD_UINT(c, h, OID_AUTO, n, CTLFLAG_RD, p, 0, d)
sys/dev/nfe/if_nfe.c
3045
#define NFE_SYSCTL_STAT_ADD64(c, h, n, p, d) \
sys/dev/nfe/if_nfe.c
3046
SYSCTL_ADD_UQUAD(c, h, OID_AUTO, n, CTLFLAG_RD, p, d)
sys/dev/nfe/if_nfe.c
820
int count, n, use_msix;
sys/dev/nfe/if_nfe.c
832
for (n = 0; n < count; n++) {
sys/dev/nge/if_nge.c
2609
#define NGE_SYSCTL_STAT_ADD32(c, h, n, p, d) \
sys/dev/nge/if_nge.c
2610
SYSCTL_ADD_UINT(c, h, OID_AUTO, n, CTLFLAG_RD, p, 0, d)
sys/dev/ntb/ntb.c
67
char *n, *np, *c, *p, *name;
sys/dev/ntb/ntb.c
82
n = cfg;
sys/dev/ntb/ntb.c
84
while ((c = strsep(&n, ",")) != NULL) {
sys/dev/ntb/ntb_hw/ntb_hw_amd.h
58
#define BIT(n) (1 << n)
sys/dev/ntb/ntb_transport.c
351
char *n, *np, *c, *name;
sys/dev/ntb/ntb_transport.c
445
n = cfg;
sys/dev/ntb/ntb_transport.c
447
while ((c = strsep(&n, ",")) != NULL) {
sys/dev/nvdimm/nvdimm.c
247
int error, n;
sys/dev/nvdimm/nvdimm.c
292
nv->label_index->slot_cnt, &n);
sys/dev/nvdimm/nvdimm.c
293
while (n >= 0) {
sys/dev/nvdimm/nvdimm.c
294
read_label(nv, n);
sys/dev/nvdimm/nvdimm.c
295
bit_ffc_at((bitstr_t *)nv->label_index->free, n + 1,
sys/dev/nvdimm/nvdimm.c
296
nv->label_index->slot_cnt, &n);
sys/dev/nvdimm/nvdimm_spa.c
195
int error, n;
sys/dev/nvdimm/nvdimm_spa.c
208
n = PAGE_SIZE;
sys/dev/nvdimm/nvdimm_spa.c
209
if (n > uio->uio_resid)
sys/dev/nvdimm/nvdimm_spa.c
210
n = uio->uio_resid;
sys/dev/nvdimm/nvdimm_spa.c
211
error = uiomove_fromphys(&ma, off & PAGE_MASK, n, uio);
sys/dev/nvdimm/nvdimm_spa.c
219
n = INT_MAX;
sys/dev/nvdimm/nvdimm_spa.c
220
if (n > uio->uio_resid)
sys/dev/nvdimm/nvdimm_spa.c
221
n = uio->uio_resid;
sys/dev/nvdimm/nvdimm_spa.c
222
if (uio->uio_offset + n > dev->spa_len)
sys/dev/nvdimm/nvdimm_spa.c
223
n = dev->spa_len - uio->uio_offset;
sys/dev/nvdimm/nvdimm_spa.c
225
n, uio);
sys/dev/nvme/nvme.h
2303
size_t i, n;
sys/dev/nvme/nvme.h
2306
n = (s->regctl[1] << 8) | s->regctl[0];
sys/dev/nvme/nvme.h
2307
n = MIN(n, (size - sizeof(s)) / sizeof(s->ctrlr[0]));
sys/dev/nvme/nvme.h
2308
for (i = 0; i < n; i++) {
sys/dev/nvme/nvme.h
2321
size_t i, n;
sys/dev/nvme/nvme.h
2324
n = (s->regctl[1] << 8) | s->regctl[0];
sys/dev/nvme/nvme.h
2325
n = MIN(n, (size - sizeof(s)) / sizeof(s->ctrlr[0]));
sys/dev/nvme/nvme.h
2326
for (i = 0; i < n; i++) {
sys/dev/nvme/nvme_ctrlr.c
155
int c, error, i, n;
sys/dev/nvme/nvme_ctrlr.c
207
for (i = c = n = 0; i < ctrlr->num_io_queues; i++, c += n) {
sys/dev/nvme/nvme_ctrlr.c
217
for (n = 1; QP(ctrlr, c + n) == i; n++)
sys/dev/nvme/nvme_ctrlr.c
220
qpair->cpu = c + (device_get_unit(ctrlr->dev)+n/2) % n;
sys/dev/nvme/nvme_pci.c
340
int n = 1;
sys/dev/nvme/nvme_pci.c
341
if (pci_alloc_msi(dev, &n) == 0) {
sys/dev/nvme/nvme_pci.c
342
ctrlr->msi_count = n;
sys/dev/nvmf/controller/nvmft_controller.c
503
struct mbuf *m, *n;
sys/dev/nvmf/controller/nvmft_controller.c
508
for (n = m; len > 0; n = n->m_next) {
sys/dev/nvmf/controller/nvmft_controller.c
509
n->m_len = M_SIZE(n);
sys/dev/nvmf/controller/nvmft_controller.c
510
if (n->m_len >= len) {
sys/dev/nvmf/controller/nvmft_controller.c
511
n->m_len = len;
sys/dev/nvmf/controller/nvmft_controller.c
512
MPASS(n->m_next == NULL);
sys/dev/nvmf/controller/nvmft_controller.c
514
len -= n->m_len;
sys/dev/nvmf/nvmf_tcp.c
1024
struct mbuf *n, *p;
sys/dev/nvmf/nvmf_tcp.c
1030
n = m_get2(len, M_WAITOK, MT_DATA, 0);
sys/dev/nvmf/nvmf_tcp.c
1031
n->m_len = len;
sys/dev/nvmf/nvmf_tcp.c
1032
m_copydata(m, 0, len, mtod(n, void *));
sys/dev/nvmf/nvmf_tcp.c
1044
n->m_next = m;
sys/dev/nvmf/nvmf_tcp.c
1045
return (n);
sys/dev/nvmf/nvmf_tcp.c
1085
struct mbuf *m, *n, *tail;
sys/dev/nvmf/nvmf_tcp.c
1159
error = soreceive(so, NULL, &uio, &n, NULL, &flags);
sys/dev/nvmf/nvmf_tcp.c
1164
m = n;
sys/dev/nvmf/nvmf_tcp.c
1166
tail->m_next = n;
sys/dev/nvmf/nvmf_tcp.c
1169
tail = n;
sys/dev/nvmf/nvmf_tcp.c
1303
struct mbuf *m, *n, *p;
sys/dev/nvmf/nvmf_tcp.c
1337
n = capsule_to_pdu(qp, tc);
sys/dev/nvmf/nvmf_tcp.c
1341
mbufq_enqueue(&qp->tx_pdus, n);
sys/dev/nvmf/nvmf_tcp.c
1366
n = m_split(m, space, M_WAITOK);
sys/dev/nvmf/nvmf_tcp.c
1369
n = m->m_next;
sys/dev/nvmf/nvmf_tcp.c
1371
while (n != NULL && tosend + n->m_len <= space) {
sys/dev/nvmf/nvmf_tcp.c
1372
tosend += n->m_len;
sys/dev/nvmf/nvmf_tcp.c
1373
p = n;
sys/dev/nvmf/nvmf_tcp.c
1374
n = n->m_next;
sys/dev/nvmf/nvmf_tcp.c
1376
KASSERT(p->m_next == n, ("%s: p not before n",
sys/dev/nvmf/nvmf_tcp.c
1386
m_freem(n);
sys/dev/nvmf/nvmf_tcp.c
1389
m = n;
sys/dev/nvmf/nvmf_tcp.c
1839
struct mbuf *n;
sys/dev/nvmf/nvmf_tcp.c
1843
n = m_split(m, qp->max_tx_data, M_WAITOK);
sys/dev/nvmf/nvmf_tcp.c
1850
n = p->m_next;
sys/dev/nvmf/nvmf_tcp.c
1851
while (n != NULL) {
sys/dev/nvmf/nvmf_tcp.c
1852
if (todo + n->m_len > qp->max_tx_data) {
sys/dev/nvmf/nvmf_tcp.c
1856
todo += n->m_len;
sys/dev/nvmf/nvmf_tcp.c
1857
p = n;
sys/dev/nvmf/nvmf_tcp.c
1858
n = p->m_next;
sys/dev/nvmf/nvmf_tcp.c
1863
last_pdu = (n == NULL && last_xfer);
sys/dev/nvmf/nvmf_tcp.c
1869
m = n;
sys/dev/oce/oce_if.h
203
#define upper_32_bits(n) ((uint32_t)(((n) >> 16) >> 16))
sys/dev/oce/oce_if.h
293
#define RING_GET(ring, n) \
sys/dev/oce/oce_if.h
294
ring->cidx = GET_Q_NEXT(ring->cidx, n, ring->num_items)
sys/dev/oce/oce_if.h
295
#define RING_PUT(ring, n) \
sys/dev/oce/oce_if.h
296
ring->pidx = GET_Q_NEXT(ring->pidx, n, ring->num_items)
sys/dev/ocs_fc/ocs_fabric.c
1856
ocs_node_t *n;
sys/dev/ocs_fc/ocs_fabric.c
1878
ocs_list_foreach(&sport->node_list, n) {
sys/dev/ocs_fc/ocs_fabric.c
1892
ocs_list_foreach(&sport->node_list, n) {
sys/dev/ocs_fc/ocs_fabric.c
1893
port_id = n->rnode.fc_id;
sys/dev/ocs_fc/ocs_fabric.c
1901
active_nodes[i++] = n;
sys/dev/ocs_fc/ocs_hw.c
9618
uint32_t n = 0;
sys/dev/ocs_fc/ocs_hw.c
9641
for (nremaining = hw->config.n_io; nremaining; nremaining -= n) {
sys/dev/ocs_fc/ocs_hw.c
9646
for (n = 0; n < MIN(sgls_per_request, nremaining); n++) {
sys/dev/ocs_fc/ocs_hw.c
9648
if (n > 0) {
sys/dev/ocs_fc/ocs_hw.c
9649
if (hw->io[io_index + n]->indicator != (hw->io[io_index + n-1]->indicator+1)) {
sys/dev/ocs_fc/ocs_hw.c
9653
sgls[n] = hw->io[io_index + n]->sgl;
sys/dev/ocs_fc/ocs_hw.c
9657
io->indicator, n, sgls, NULL, &reqbuf)) {
sys/dev/ocs_fc/ocs_hw.c
9665
n = nremaining;
sys/dev/ocs_fc/ocs_hw.c
9669
for (i = 0; i < n; i ++) {
sys/dev/ocs_fc/ocs_ioctl.c
416
int32_t n;
sys/dev/ocs_fc/ocs_ioctl.c
469
n = ocs_textbuf_ext_get_written(ptbuf, idx);
sys/dev/ocs_fc/ocs_ioctl.c
470
if (n < 0) {
sys/dev/ocs_fc/ocs_ioctl.c
473
if ((uint32_t)n >= remaining) {
sys/dev/ocs_fc/ocs_ioctl.c
474
n = (int32_t)remaining;
sys/dev/ocs_fc/ocs_ioctl.c
477
ocs_textbuf_ext_get_buffer(ptbuf, idx), n)) {
sys/dev/ocs_fc/ocs_ioctl.c
480
written += n;
sys/dev/ocs_fc/ocs_ioctl.c
481
remaining -= (uint32_t)n;
sys/dev/ocs_fc/ocs_ioctl.c
549
int32_t n;
sys/dev/ocs_fc/ocs_ioctl.c
561
for (idx = 0; (n = ocs_textbuf_ext_get_written(&textbuf, idx)) > 0; idx++) {
sys/dev/ocs_fc/ocs_ioctl.c
567
copied += n;
sys/dev/ocs_fc/ocs_node.c
144
ocs_node_t *n = NULL;
sys/dev/ocs_fc/ocs_node.c
149
ocs_list_foreach(&node->sport->node_list, n) {
sys/dev/ocs_fc/ocs_node.c
150
if (node == n) {
sys/dev/ocs_fc/ocs_node.c
153
ocs_node_lock(n);
sys/dev/ocs_fc/ocs_node.c
154
if ((!n->rnode.attached) && (node->node_group == n->node_group)) {
sys/dev/ocs_fc/ocs_node.c
155
n->rnode.attached = attach_ok;
sys/dev/ocs_fc/ocs_node.c
156
node_printf(n, "rpi[%d] deferred HLM node attach %s posted\n",
sys/dev/ocs_fc/ocs_node.c
157
n->rnode.index, attach_ok ? "ok" : "fail");
sys/dev/ocs_fc/ocs_node.c
158
ocs_node_post_event(n, sm_event, NULL);
sys/dev/ocs_fc/ocs_node.c
160
ocs_node_unlock(n);
sys/dev/ocs_fc/ocs_os.h
148
#define BIT(n) (1U << (n))
sys/dev/ocs_fc/ocs_os.h
321
#define ocs_strncpy(d,s, n) strncpy(d, s, n)
sys/dev/ocs_fc/ocs_os.h
328
#define ocs_strncmp(d,s,n) strncmp(d,s,n)
sys/dev/ocs_fc/ocs_os.h
329
#define ocs_strstr(h,n) strstr(h,n)
sys/dev/ocs_fc/ocs_os.h
330
#define ocs_strsep(h, n) strsep(h, n)
sys/dev/ocs_fc/ocs_os.h
332
#define ocs_copy_from_user(dst, src, n) copyin(src, dst, n)
sys/dev/ocs_fc/ocs_os.h
333
#define ocs_copy_to_user(dst, src, n) copyout(src, dst, n)
sys/dev/ocs_fc/ocs_os.h
334
#define ocs_snprintf(buf, n, fmt, ...) snprintf(buf, n, fmt, ##__VA_ARGS__)
sys/dev/ocs_fc/ocs_os.h
335
#define ocs_vsnprintf(buf, n, fmt, ap) vsnprintf((char*)buf, n, fmt, ap)
sys/dev/ocs_fc/ocs_sport.c
1567
and8(uint8_t *a, uint8_t *b, uint8_t *c, uint32_t n)
sys/dev/ocs_fc/ocs_sport.c
1571
for (i = 0; i < n; i ++) {
sys/dev/ocs_fc/ocs_utils.c
1641
int32_t n;
sys/dev/ocs_fc/ocs_utils.c
1644
for (idx = 0; (n = ocs_textbuf_ext_get_written(textbuf, idx)) >= 0; idx++) {
sys/dev/ocs_fc/ocs_utils.c
1645
total += n;
sys/dev/ocs_fc/ocs_utils.c
1792
ocs_textbuf_segment_t *n;
sys/dev/ocs_fc/ocs_utils.c
1795
ocs_list_foreach_safe(&textbuf->segment_list, segment, n) {
sys/dev/ocs_fc/ocs_utils.c
1966
ocs_textbuf_segment_t *n;
sys/dev/ocs_fc/ocs_utils.c
1970
ocs_list_foreach_safe(&textbuf->segment_list, segment, n) {
sys/dev/ocs_fc/ocs_utils.c
2030
_spv_del(ocs_os_handle_t os, void **a, uint32_t n, uint32_t depth)
sys/dev/ocs_fc/ocs_utils.c
2036
for (i = 0; i < n; i ++) {
sys/dev/ocs_fc/ocs_utils.c
2037
_spv_del(os, a[i], n, depth-1);
sys/dev/ocs_fc/ocs_utils.c
854
uint32_t n;
sys/dev/ocs_fc/ocs_utils.c
872
n = word_count;
sys/dev/ocs_fc/ocs_utils.c
873
if (n > columns)
sys/dev/ocs_fc/ocs_utils.c
874
n = columns;
sys/dev/ocs_fc/ocs_utils.c
876
for (i = 0; i < n; i ++)
sys/dev/ocs_fc/ocs_utils.c
884
for (i = 0; i < n*sizeof(uint32_t); i ++)
sys/dev/ocs_fc/ocs_utils.c
890
wbuf += n;
sys/dev/ocs_fc/ocs_utils.c
891
word_count -= n;
sys/dev/ocs_fc/ocs_utils.c
892
addr += n*sizeof(uint32_t);
sys/dev/ocs_fc/sli4.h
314
#define SLI4_MQ_DOORBELL(n, i) ((((n) & SLI4_MQ_DOORBELL_NUM_MASK) << SLI4_MQ_DOORBELL_NUM_SHIFT) | \
sys/dev/ocs_fc/sli4.h
325
#define SLI4_RQ_DOORBELL(n, i) ((((n) & SLI4_RQ_DOORBELL_NUM_MASK) << SLI4_RQ_DOORBELL_NUM_SHIFT) | \
sys/dev/ocs_fc/sli4.h
338
#define SLI4_WQ_DOORBELL(n, x, i) ((((n) & SLI4_WQ_DOORBELL_NUM_MASK) << SLI4_WQ_DOORBELL_NUM_SHIFT) | \
sys/dev/ofw/ofw_pcib.c
170
int n, i;
sys/dev/ofw/ofw_pcib.c
174
n = ofw_pcib_nranges(c, cell_info);
sys/dev/ofw/ofw_pcib.c
175
if (n > 0)
sys/dev/ofw/ofw_pcib.c
176
sc->sc_nrange += n;
sys/dev/ofw/ofw_pcib.c
186
n = ofw_pcib_fill_ranges(c, &sc->sc_range[i]);
sys/dev/ofw/ofw_pcib.c
187
if (n > 0)
sys/dev/ofw/ofw_pcib.c
188
i += n;
sys/dev/ofw/ofw_standard.c
528
int n;
sys/dev/ofw/ofw_standard.c
538
for (cp = args.args_n_results + (n = nargs); --n >= 0;)
sys/dev/ofw/ofw_standard.c
544
for (cp = args.args_n_results + nargs + (n = args.nreturns); --n > 0;)
sys/dev/ofw/openfirm.c
732
int n, status;
sys/dev/ofw/openfirm.c
737
for (n = 0; n < nargs; n++)
sys/dev/ofw/openfirm.c
738
args_n_results[n] = va_arg(ap, cell_t);
sys/dev/ofw/openfirm.c
745
for (; n < nargs + nreturns; n++)
sys/dev/ofw/openfirm.c
746
*va_arg(ap, cell_t *) = args_n_results[n];
sys/dev/p2sb/lewisburg_gpiocm.c
76
#define LBG_COMMUNITY(n, np, g) \
sys/dev/p2sb/lewisburg_gpiocm.c
78
.name = n, \
sys/dev/pbio/pbio.c
79
#define PBIO_PNAME(n) (port_names[(n)])
sys/dev/pccard/pccardvar.h
144
#define pccard_tuple_read_n(tuple, n, idxn) \
sys/dev/pccard/pccardvar.h
145
(((n)==1)?pccard_tuple_read_1((tuple), (idxn)) : \
sys/dev/pccard/pccardvar.h
146
(((n)==2)?pccard_tuple_read_2((tuple), (idxn)) : \
sys/dev/pccard/pccardvar.h
147
(((n)==3)?pccard_tuple_read_3((tuple), (idxn)) : \
sys/dev/pci/pci.c
4243
#define REG(n, w) PCIB_READ_CONFIG(pcib, busno, s, f, n, w)
sys/dev/pci/pci.c
4290
#define REG(n, w) PCIB_READ_CONFIG(pcib, busno, s, f, n, w)
sys/dev/pci/pci.c
6238
#define WREG(n, v) pci_write_config(dev, pos + (n), (v), 2)
sys/dev/pci/pci.c
6356
#define RREG(n) pci_read_config(dev, pos + (n), 2)
sys/dev/pci/pci.c
687
#define REG(n, w) PCIB_READ_CONFIG(pcib, b, s, f, n, w)
sys/dev/pci/pci.c
722
#define REG(n, w) PCIB_READ_CONFIG(pcib, b, s, f, n, w)
sys/dev/pci/pci.c
814
#define REG(n, w) PCIB_READ_CONFIG(pcib, cfg->bus, cfg->slot, cfg->func, \
sys/dev/pci/pci.c
815
cfg->ea.ea_location + (n), w)
sys/dev/pci/pci.c
888
#define REG(n, w) PCIB_READ_CONFIG(pcib, cfg->bus, cfg->slot, cfg->func, n, w)
sys/dev/pci/pci.c
889
#define WREG(n, v, w) PCIB_WRITE_CONFIG(pcib, cfg->bus, cfg->slot, cfg->func, n, v, w)
sys/dev/pci/pci_dw.h
37
#define PORT_LINK_CAPABLE(n) (((n) & 0x3F) << 16)
sys/dev/pci/pci_dw.h
47
#define GEN2_CTRL_NUM_OF_LANES(n) (((n) & 0x3F) << 8)
sys/dev/pci/pci_dw.h
87
#define DW_IATU_UR_REG(r, n) (r) * DW_IATU_UR_STEP + IATU_UR_##n
sys/dev/pci/pcireg.h
1057
#define PCIR_VC_RESOURCE_CAP(n) (0x10 + (n) * 0x0C)
sys/dev/pci/pcireg.h
1058
#define PCIR_VC_RESOURCE_CTL(n) (0x14 + (n) * 0x0C)
sys/dev/pci/pcireg.h
1059
#define PCIR_VC_RESOURCE_STA(n) (0x18 + (n) * 0x0C)
sys/dev/pms/RefTisa/discovery/dm/dmmisc.c
44
*dm_memset(void *s, int c, bit32 n)
sys/dev/pms/RefTisa/discovery/dm/dmmisc.c
49
for (i=0; i < n; i++)
sys/dev/pms/RefTisa/discovery/dm/dmmisc.c
53
return (void *)(&dst[i-n]);
sys/dev/pms/RefTisa/discovery/dm/dmproto.h
31
*dm_memset(void *s, int c, bit32 n);
sys/dev/pms/RefTisa/sallsdk/spc/saproto.h
244
GLOBAL FORCEINLINE void* si_memset(void *s, int c, bit32 n);
sys/dev/pms/RefTisa/sallsdk/spc/sautil.c
103
si_memset(void *s, int c, bit32 n)
sys/dev/pms/RefTisa/sallsdk/spc/sautil.c
114
return memset(s, c, n);
sys/dev/pms/RefTisa/sat/src/smmisc.c
44
sm_memset(void *s, int c, bit32 n)
sys/dev/pms/RefTisa/sat/src/smmisc.c
55
return memset(s, c, n);
sys/dev/pms/RefTisa/sat/src/smproto.h
30
sm_memset(void *s, int c, bit32 n);
sys/dev/pms/freebsd/driver/common/lxencrypt.c
479
ag_encrypt_map_t *p, *n;
sys/dev/pms/freebsd/driver/common/lxencrypt.c
532
list_for_each_entry_safe(p, n, lh, list) {
sys/dev/pms/freebsd/driver/common/lxencrypt.c
567
list_for_each_entry(n, lh, list) {
sys/dev/pms/freebsd/driver/common/lxencrypt.c
573
if (((p->lbaMin >= n->lbaMin) && (p->lbaMin <= n->lbaMax)) ||
sys/dev/pms/freebsd/driver/common/lxencrypt.c
574
((p->lbaMax >= n->lbaMin) && (p->lbaMax <= n->lbaMax)) ||
sys/dev/pms/freebsd/driver/common/lxencrypt.c
575
((n->lbaMin >= p->lbaMin) && (n->lbaMin <= p->lbaMax))) {
sys/dev/pms/freebsd/driver/common/lxencrypt.c
576
printf("%s: WARNING: New entry lba range overlap: %llx - %llx vs %llx - %llx.\n", __FUNCTION__, p->lbaMin, p->lbaMax, n->lbaMin, n->lbaMax);
sys/dev/pms/freebsd/driver/common/lxencrypt.c
697
ag_encrypt_map_t *p, *n;
sys/dev/pms/freebsd/driver/common/lxencrypt.c
703
list_for_each_entry_safe(p, n, lh, list) {
sys/dev/pms/freebsd/driver/common/osstring.h
62
#define osti_memcmp(s1, s2, n) memcmp((void *)s1, (void *)s2, (size_t)n)
sys/dev/pms/freebsd/driver/common/osstring.h
63
#define osti_memcpy(des, src, n) memcpy((void *)des, (void *)src, (size_t)n)
sys/dev/pms/freebsd/driver/common/osstring.h
64
#define osti_memset(s, c, n) memset((void *)s, (int)c, (size_t)n)
sys/dev/pms/freebsd/driver/common/osstring.h
66
#define osti_strchr(s, n) strchr((char *)s, (int)n)
sys/dev/pms/freebsd/driver/common/osstring.h
70
#define osti_strncmp(s1, s2, n) strncmp((char *)s1, (char *)s2, (size_t)n)
sys/dev/pms/freebsd/driver/common/osstring.h
71
#define osti_strncpy(des, src, n) strncpy((char *)des, (char *)src, (size_t)n)
sys/dev/pms/freebsd/driver/common/osstring.h
81
#define osMemCpy(des, src, n) memcpy((void *)des, (void *)src, (size_t)n)
sys/dev/pms/freebsd/driver/common/osstring.h
82
#define osMemSet(s, c, n) memset((void *)s, (int)c, (size_t)n)
sys/dev/pms/freebsd/driver/ini/src/agtiapi.h
46
#define atomic_add(n,p) atomic_add_int(p,n)
sys/dev/pms/freebsd/driver/ini/src/agtiapi.h
47
#define atomic_sub(n,p) atomic_subtract_int(p,n)
sys/dev/ppbus/lpt.c
762
register unsigned n;
sys/dev/ppbus/lpt.c
781
while ((n = min(BUFSIZE, uio->uio_resid)) != 0) {
sys/dev/ppbus/lpt.c
784
err = uiomove(sc->sc_cp, n, uio);
sys/dev/ppbus/lpt.c
788
sc->sc_xfercnt = n;
sys/dev/ppbus/ppb_msq.h
118
#define MS_RASSERT_P(n,reg) { MS_OP_RASSERT_P, {{ (n) }, { (reg) }}}
sys/dev/ppbus/ppb_msq.h
119
#define MS_RFETCH_P(n,reg,mask) { MS_OP_RFETCH_P, {{ (n) }, { (reg) }, { (mask) }}}
sys/dev/ppbus/ppbconf.h
44
#define nSTROBE n(STROBE)
sys/dev/ppbus/ppbconf.h
45
#define nAUTOFEED n(AUTOFEED)
sys/dev/ppbus/ppbconf.h
46
#define INIT n(nINIT)
sys/dev/ppbus/ppbconf.h
47
#define nSELECTIN n(SELECTIN)
sys/dev/ppbus/ppbconf.h
48
#define nPCD n(PCD)
sys/dev/qat/include/adf_dev_err.h
68
#define ADF_CERRSSMMMP(i, n) ((i)*0x4000 + ADF_MMP_BASE(n) + 0x380)
sys/dev/qat/include/adf_dev_err.h
69
#define ADF_UERRSSMMMP(i, n) ((i)*0x4000 + ADF_MMP_BASE(n) + 0x388)
sys/dev/qat/include/adf_dev_err.h
70
#define ADF_UERRSSMMMPAD(i, n) ((i)*0x4000 + ADF_MMP_BASE(n) + 0x38C)
sys/dev/qat/include/common/qat_freebsd.h
88
#define list_for_each_prev_safe(p, n, h) \
sys/dev/qat/include/common/qat_freebsd.h
89
for (p = (h)->prev, n = (p)->prev; p != (h); p = n, n = (p)->prev)
sys/dev/qat/include/icp_qat_hw.h
157
#define QAT_HW_ROUND_UP(val, n) (((val) + ((n)-1)) & (~(n - 1)))
sys/dev/qat/qat_api/common/crypto/sym/key/lac_sym_key.c
2002
int n = 0;
sys/dev/qat/qat_api/common/crypto/sym/key/lac_sym_key.c
2033
for (n = 0; n < LAC_LONG_WORD_IN_BYTES; n++) {
sys/dev/qat/qat_api/common/crypto/sym/key/lac_sym_key.c
2034
a = (unsigned char)*(tmp + n);
sys/dev/qat/qat_api/common/crypto/sym/key/lac_sym_key.c
2035
lw26[n] = lw26[n] | a;
sys/dev/qat/qat_api/common/crypto/sym/lac_sym_auth_enc.c
104
Cpa8U n =
sys/dev/qat/qat_api/common/crypto/sym/lac_sym_auth_enc.c
106
Cpa8U q = LAC_ALG_CHAIN_CCM_NQ_CONST - n;
sys/dev/qat/qat_api/common/crypto/sym/lac_sym_auth_enc.c
115
memset(pIv + n + 1, 0, q);
sys/dev/qat/qat_api/common/crypto/sym/lac_sym_auth_enc.c
139
memset(pAdditionalAuthData + n + 1, 0, q);
sys/dev/qat/qat_api/common/crypto/sym/lac_sym_auth_enc.c
140
memcpy(pAdditionalAuthData + n + 1 + (q - sizeof(bitStrQ)),
sys/dev/qat/qat_api/common/crypto/sym/lac_sym_auth_enc.c
144
memcpy(pAdditionalAuthData + n + 1,
sys/dev/qat/qat_api/firmware/include/icp_qat_fw_mmp.h
2248
uint64_t n; /**< order of the base point of B/K-163 or B/K-233 (4 qwords)*/
sys/dev/qat/qat_api/firmware/include/icp_qat_fw_mmp.h
2269
uint64_t n; /**< order of the base point G (2 &lt; n &lt; 2^256) (4 qwords)*/
sys/dev/qat/qat_api/firmware/include/icp_qat_fw_mmp.h
2310
uint64_t n; /**< order of the base point G, which must be prime and a divisor of #E and &lt; 2^512) (8 qwords)*/
sys/dev/qat/qat_api/firmware/include/icp_qat_fw_mmp.h
2331
uint64_t n; /**< order of the base point G, which must be prime and a divisor of #E and &lt; 2^512) (8 qwords)*/
sys/dev/qat/qat_api/firmware/include/icp_qat_fw_mmp.h
2374
uint64_t n; /**< order of the base point of the curve (n &lt; 2^576) (9 qwords)*/
sys/dev/qat/qat_api/firmware/include/icp_qat_fw_mmp.h
2389
uint64_t n; /**< order of the base point G (9 qwords)*/
sys/dev/qat/qat_api/firmware/include/icp_qat_fw_mmp.h
2529
uint64_t n; /**< order of the base point G, which shall be prime (4 qwords)*/
sys/dev/qat/qat_api/firmware/include/icp_qat_fw_mmp.h
2550
uint64_t n; /**< order of the base point G, which shall be prime (4 qwords)*/
sys/dev/qat/qat_api/firmware/include/icp_qat_fw_mmp.h
2591
uint64_t n; /**< order of the base point G, which shall be prime (8 qwords)*/
sys/dev/qat/qat_api/firmware/include/icp_qat_fw_mmp.h
2612
uint64_t n; /**< order of the base point G, which shall be prime (8 qwords)*/
sys/dev/qat/qat_api/firmware/include/icp_qat_fw_mmp.h
2653
uint64_t n; /**< order of the base point G, which shall be prime (9 qwords)*/
sys/dev/qat/qat_api/firmware/include/icp_qat_fw_mmp.h
2674
uint64_t n; /**< order of the base point G, which shall be prime (9 qwords)*/
sys/dev/qat/qat_api/firmware/include/icp_qat_fw_mmp.h
387
uint64_t n; /**< RSA key, &gt; 0 and &lt; 2^256 (8 qwords)*/
sys/dev/qat/qat_api/firmware/include/icp_qat_fw_mmp.h
402
uint64_t n; /**< RSA key &gt; 0 and &lt; 2^256 (8 qwords)*/
sys/dev/qat/qat_api/firmware/include/icp_qat_fw_mmp.h
4099
uint64_t n; /**< RSA key (8 qwords)*/
sys/dev/qat/qat_api/firmware/include/icp_qat_fw_mmp.h
4113
uint64_t n; /**< RSA key (8 qwords)*/
sys/dev/qat/qat_api/firmware/include/icp_qat_fw_mmp.h
4169
uint64_t n; /**< RSA key (16 qwords)*/
sys/dev/qat/qat_api/firmware/include/icp_qat_fw_mmp.h
4183
uint64_t n; /**< RSA key (16 qwords)*/
sys/dev/qat/qat_api/firmware/include/icp_qat_fw_mmp.h
4239
uint64_t n; /**< RSA key (24 qwords)*/
sys/dev/qat/qat_api/firmware/include/icp_qat_fw_mmp.h
4253
uint64_t n; /**< RSA key (24 qwords)*/
sys/dev/qat/qat_api/firmware/include/icp_qat_fw_mmp.h
4309
uint64_t n; /**< RSA key (32 qwords)*/
sys/dev/qat/qat_api/firmware/include/icp_qat_fw_mmp.h
4323
uint64_t n; /**< RSA key (32 qwords)*/
sys/dev/qat/qat_api/firmware/include/icp_qat_fw_mmp.h
4379
uint64_t n; /**< RSA key (48 qwords)*/
sys/dev/qat/qat_api/firmware/include/icp_qat_fw_mmp.h
4393
uint64_t n; /**< RSA key (48 qwords)*/
sys/dev/qat/qat_api/firmware/include/icp_qat_fw_mmp.h
4449
uint64_t n; /**< RSA key (64 qwords)*/
sys/dev/qat/qat_api/firmware/include/icp_qat_fw_mmp.h
4463
uint64_t n; /**< RSA key (64 qwords)*/
sys/dev/qat/qat_api/firmware/include/icp_qat_fw_mmp.h
465
uint64_t n; /**< RSA key, &gt; 0 and &lt; 2^1024 (16 qwords)*/
sys/dev/qat/qat_api/firmware/include/icp_qat_fw_mmp.h
480
uint64_t n; /**< RSA key &gt; 0 and &lt; 2^1024 (16 qwords)*/
sys/dev/qat/qat_api/firmware/include/icp_qat_fw_mmp.h
543
uint64_t n; /**< RSA key &gt; 0 and &lt; 2^1536 (24 qwords)*/
sys/dev/qat/qat_api/firmware/include/icp_qat_fw_mmp.h
558
uint64_t n; /**< RSA key, &gt; 0 and &lt; 2^1536 (24 qwords)*/
sys/dev/qat/qat_api/firmware/include/icp_qat_fw_mmp.h
621
uint64_t n; /**< RSA key &gt; 0 and &lt; 2^2048 (32 qwords)*/
sys/dev/qat/qat_api/firmware/include/icp_qat_fw_mmp.h
636
uint64_t n; /**< RSA key &gt; 0 and &lt; 2^2048 (32 qwords)*/
sys/dev/qat/qat_api/firmware/include/icp_qat_fw_mmp.h
699
uint64_t n; /**< RSA key &gt; 0 and &lt; 2^3072 (48 qwords)*/
sys/dev/qat/qat_api/firmware/include/icp_qat_fw_mmp.h
714
uint64_t n; /**< RSA key &gt; 0 and &lt; 2^3072 (48 qwords)*/
sys/dev/qat/qat_api/firmware/include/icp_qat_fw_mmp.h
777
uint64_t n; /**< RSA key, &gt; 0 and &lt; 2^4096 (64 qwords)*/
sys/dev/qat/qat_api/firmware/include/icp_qat_fw_mmp.h
792
uint64_t n; /**< RSA key, &gt; 0 and &lt; 2^4096 (64 qwords)*/
sys/dev/qat/qat_api/firmware/include/icp_qat_fw_mmp.h
824
uint64_t n; /**< RSA key, &gt; 0 and &lt; 2^8192 (128 qwords)*/
sys/dev/qat/qat_api/firmware/include/icp_qat_fw_mmp.h
838
uint64_t n; /**< RSA key, &gt; 0 and &lt; 2^8192 (128 qwords)*/
sys/dev/qat/qat_api/firmware/include/icp_qat_hw.h
460
#define QAT_HW_ROUND_UP(val, n) (((val) + ((n)-1)) & (~(n - 1)))
sys/dev/qat/qat_api/include/lac/cpa_cy_ecdsa.h
124
CpaFlatBuffer n;
sys/dev/qat/qat_api/include/lac/cpa_cy_ecdsa.h
163
CpaFlatBuffer n;
sys/dev/qat/qat_api/include/lac/cpa_cy_ecdsa.h
215
CpaFlatBuffer n;
sys/dev/qat/qat_api/include/lac/cpa_cy_ecdsa.h
72
CpaFlatBuffer n;
sys/dev/qat/qat_hw/qat_c4xxx/adf_c4xxx_hw_data.h
426
#define ADF_C4XXX_CERRSSMMMP(i, n) ((i)*0x4000 + ADF_C4XXX_MMP_BASE(n) + 0x380)
sys/dev/qat/qat_hw/qat_c4xxx/adf_c4xxx_hw_data.h
427
#define ADF_C4XXX_UERRSSMMMP(i, n) ((i)*0x4000 + ADF_C4XXX_MMP_BASE(n) + 0x388)
sys/dev/qat/qat_hw/qat_c4xxx/adf_c4xxx_hw_data.h
428
#define ADF_C4XXX_UERRSSMMMPAD(i, n) \
sys/dev/qat/qat_hw/qat_c4xxx/adf_c4xxx_hw_data.h
429
((i)*0x4000 + ADF_C4XXX_MMP_BASE(n) + 0x38C)
sys/dev/qat_c2xxx/qatreg.h
506
#define CERRSSMMMP(i, n) ((i) * 0x4000 + MMP_BASE(n) + 0x380)
sys/dev/qat_c2xxx/qatreg.h
507
#define UERRSSMMMP(i, n) ((i) * 0x4000 + MMP_BASE(n) + 0x388)
sys/dev/qat_c2xxx/qatreg.h
508
#define UERRSSMMMPAD(i, n) ((i) * 0x4000 + MMP_BASE(n) + 0x38C)
sys/dev/qcom_clk/qcom_clk_freqtbl.h
36
uint32_t n;
sys/dev/qcom_clk/qcom_clk_rcg2.c
120
qcom_clk_rcg2_calc_rate(uint64_t rate, uint32_t mode, uint32_t m, uint32_t n,
sys/dev/qcom_clk/qcom_clk_rcg2.c
131
rate = (rate * m) / n;
sys/dev/qcom_clk/qcom_clk_rcg2.c
142
qcom_clk_rcg2_calc_input_freq(uint64_t freq, uint32_t m, uint32_t n,
sys/dev/qcom_clk/qcom_clk_rcg2.c
150
if (n != 0) {
sys/dev/qcom_clk/qcom_clk_rcg2.c
151
freq = (freq * n) / m;
sys/dev/qcom_clk/qcom_clk_rcg2.c
161
uint32_t cfg, m = 0, n = 0, hid_div = 0;
sys/dev/qcom_clk/qcom_clk_rcg2.c
176
QCOM_CLK_RCG2_N_OFFSET(sc), &n);
sys/dev/qcom_clk/qcom_clk_rcg2.c
178
n = ~ n;
sys/dev/qcom_clk/qcom_clk_rcg2.c
179
n = n & mask;
sys/dev/qcom_clk/qcom_clk_rcg2.c
180
n = n + m;
sys/dev/qcom_clk/qcom_clk_rcg2.c
191
*freq = qcom_clk_rcg2_calc_rate(*freq, mode, m, n, hid_div);
sys/dev/qcom_clk/qcom_clk_rcg2.c
206
if (sc->mnd_width != 0 && f->n != 0) {
sys/dev/qcom_clk/qcom_clk_rcg2.c
219
reg |= ((~(f->n - f->m)) & mask);
sys/dev/qcom_clk/qcom_clk_rcg2.c
226
reg |= ((~f->n) & mask);
sys/dev/qcom_clk/qcom_clk_rcg2.c
252
if (sc->mnd_width != 0 && f->n != 0 && (f->m != f->n))
sys/dev/qcom_clk/qcom_clk_rcg2.c
470
p_freq = qcom_clk_rcg2_calc_input_freq(f->freq, f->m, f->n,
sys/dev/qcom_clk/qcom_clk_rcg2.c
607
*fout = qcom_clk_rcg2_calc_rate(p_freq, (f->n == 0 ? 0 : 1),
sys/dev/qcom_clk/qcom_clk_rcg2.c
608
f->m, f->n, f->pre_div);
sys/dev/qcom_ess_edma/qcom_ess_edma.c
106
int n = 0;
sys/dev/qcom_ess_edma/qcom_ess_edma.c
154
n++;
sys/dev/qcom_ess_edma/qcom_ess_edma.c
161
if (n != 0)
sys/dev/qcom_ess_edma/qcom_ess_edma_rx.c
262
int n = 0;
sys/dev/qcom_ess_edma/qcom_ess_edma_rx.c
288
n++;
sys/dev/qcom_ess_edma/qcom_ess_edma_rx.c
305
__func__, queue, n, prod_index);
sys/dev/qcom_ess_edma/qcom_ess_edma_rx.c
333
int n, cleaned_count, len;
sys/dev/qcom_ess_edma/qcom_ess_edma_rx.c
351
for (n = 0; n < EDMA_RX_RING_SIZE - 1; n++) {
sys/dev/qcom_ess_edma/qcom_ess_edma_tx.c
164
uint32_t n;
sys/dev/qcom_ess_edma/qcom_ess_edma_tx.c
175
n = 0;
sys/dev/qcom_ess_edma/qcom_ess_edma_tx.c
193
n++;
sys/dev/qcom_ess_edma/qcom_ess_edma_tx.c
196
ring->stats.num_cleaned += n;
sys/dev/qcom_ess_edma/qcom_ess_edma_tx.c
205
"%s: cleaned %d descriptors\n", __func__, n);
sys/dev/qcom_tlmm/qcom_tlmm_var.h
133
#define SDEF(n, r, ps, hs...) \
sys/dev/qcom_tlmm/qcom_tlmm_var.h
135
.name = n, \
sys/dev/qlnx/qlnxe/bcm_osal.h
374
#define QLNX_DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d))
sys/dev/qlnx/qlnxe/ecore_cxt.c
149
#define CDUT_SEG_BLK(n) (1 + (u8)(n))
sys/dev/qlnx/qlnxe/ecore_cxt.c
150
#define CDUT_FL_SEG_BLK(n, X) (1 + (n) + NUM_TASK_##X##_SEGMENTS)
sys/dev/qlnx/qlnxe/ecore_dev.c
5695
u8 n;
sys/dev/qlnx/qlnxe/ecore_dev.c
5697
n = OSAL_MIN_T(u8, max_chars, ECORE_MAX_DEVICE_NAME_LEN);
sys/dev/qlnx/qlnxe/ecore_dev.c
5698
OSAL_SNPRINTF(name, n, "%s %c%d", ECORE_IS_BB(p_dev) ? "BB" : "AH",
sys/dev/qlnx/qlnxe/ecore_hw.c
329
osal_size_t n,
sys/dev/qlnx/qlnxe/ecore_hw.c
336
while (done < n) {
sys/dev/qlnx/qlnxe/ecore_hw.c
337
quota = OSAL_MIN_T(osal_size_t, n - done,
sys/dev/qlnx/qlnxe/ecore_hw.c
365
void *dest, u32 hw_addr, osal_size_t n)
sys/dev/qlnx/qlnxe/ecore_hw.c
369
hw_addr, dest, hw_addr, (unsigned long) n);
sys/dev/qlnx/qlnxe/ecore_hw.c
371
ecore_memcpy_hw(p_hwfn, p_ptt, dest, hw_addr, n, false);
sys/dev/qlnx/qlnxe/ecore_hw.c
376
u32 hw_addr, void *src, osal_size_t n)
sys/dev/qlnx/qlnxe/ecore_hw.c
380
hw_addr, hw_addr, src, (unsigned long)n);
sys/dev/qlnx/qlnxe/ecore_hw.c
382
ecore_memcpy_hw(p_hwfn, p_ptt, src, hw_addr, n, true);
sys/dev/qlnx/qlnxe/ecore_hw.h
183
osal_size_t n);
sys/dev/qlnx/qlnxe/ecore_hw.h
199
osal_size_t n);
sys/dev/qlnx/qlnxe/spad_layout.h
207
#define NVM_GLOB_VAL(n, m, o) ((NVM_GLOB(n) & m) >> o)
sys/dev/qlxgb/qla_dbg.h
60
#define QL_DUMP_BUFFER8(h, s, b, n) if (dbg_level & 0x08000000)\
sys/dev/qlxgb/qla_dbg.h
61
qla_dump_buf8(h, s, b, n)
sys/dev/qlxgb/qla_dbg.h
62
#define QL_DUMP_BUFFER16(h, s, b, n) if (dbg_level & 0x08000000)\
sys/dev/qlxgb/qla_dbg.h
63
qla_dump_buf16(h, s, b, n)
sys/dev/qlxgb/qla_dbg.h
64
#define QL_DUMP_BUFFER32(h, s, b, n) if (dbg_level & 0x08000000)\
sys/dev/qlxgb/qla_dbg.h
65
qla_dump_buf32(h, s, b, n)
sys/dev/qlxgb/qla_dbg.h
78
#define QL_DUMP_BUFFER8(h, s, b, n)
sys/dev/qlxgb/qla_dbg.h
79
#define QL_DUMP_BUFFER16(h, s, b, n)
sys/dev/qlxgb/qla_dbg.h
80
#define QL_DUMP_BUFFER32(h, s, b, n)
sys/dev/qlxgbe/ql_dbg.h
73
#define QL_DUMP_BUFFER8(h, s, b, n) if (h->dbg_level & 0x08000000)\
sys/dev/qlxgbe/ql_dbg.h
74
qla_dump_buf8(h, s, b, n)
sys/dev/qlxgbe/ql_dbg.h
75
#define QL_DUMP_BUFFER16(h, s, b, n) if (h->dbg_level & 0x08000000)\
sys/dev/qlxgbe/ql_dbg.h
76
qla_dump_buf16(h, s, b, n)
sys/dev/qlxgbe/ql_dbg.h
77
#define QL_DUMP_BUFFER32(h, s, b, n) if (h->dbg_level & 0x08000000)\
sys/dev/qlxgbe/ql_dbg.h
78
qla_dump_buf32(h, s, b, n)
sys/dev/qlxgbe/ql_dbg.h
94
#define QL_DUMP_BUFFER8(h, s, b, n)
sys/dev/qlxgbe/ql_dbg.h
95
#define QL_DUMP_BUFFER16(h, s, b, n)
sys/dev/qlxgbe/ql_dbg.h
96
#define QL_DUMP_BUFFER32(h, s, b, n)
sys/dev/qlxge/qls_dbg.h
60
#define QL_DUMP_BUFFER8(h, s, b, n) if (qls_dbg_level & 0x08000000)\
sys/dev/qlxge/qls_dbg.h
61
qls_dump_buf8(h, s, b, n)
sys/dev/qlxge/qls_dbg.h
62
#define QL_DUMP_BUFFER16(h, s, b, n) if (qls_dbg_level & 0x08000000)\
sys/dev/qlxge/qls_dbg.h
63
qls_dump_buf16(h, s, b, n)
sys/dev/qlxge/qls_dbg.h
64
#define QL_DUMP_BUFFER32(h, s, b, n) if (qls_dbg_level & 0x08000000)\
sys/dev/qlxge/qls_dbg.h
65
qls_dump_buf32(h, s, b, n)
sys/dev/qlxge/qls_dbg.h
82
#define QL_DUMP_BUFFER8(h, s, b, n)
sys/dev/qlxge/qls_dbg.h
83
#define QL_DUMP_BUFFER16(h, s, b, n)
sys/dev/qlxge/qls_dbg.h
84
#define QL_DUMP_BUFFER32(h, s, b, n)
sys/dev/ral/rt2560.c
76
#define DPRINTFN(sc, n, fmt, ...) do { \
sys/dev/ral/rt2560.c
77
if (sc->sc_debug >= (n)) \
sys/dev/ral/rt2560.c
805
int n;
sys/dev/ral/rt2560.c
82
#define DPRINTFN(sc, n, fmt, ...)
sys/dev/ral/rt2560.c
825
n = (RAL_READ(sc, RT2560_CSR21) & RT2560_93C46) ? 5 : 7;
sys/dev/ral/rt2560.c
826
for (; n >= 0; n--) {
sys/dev/ral/rt2560.c
828
(((addr >> n) & 1) << RT2560_SHIFT_D));
sys/dev/ral/rt2560.c
830
(((addr >> n) & 1) << RT2560_SHIFT_D) | RT2560_C);
sys/dev/ral/rt2560.c
837
for (n = 15; n >= 0; n--) {
sys/dev/ral/rt2560.c
840
val |= ((tmp & RT2560_Q) >> RT2560_SHIFT_Q) << n;
sys/dev/ral/rt2661.c
73
#define DPRINTFN(sc, n, fmt, ...) do { \
sys/dev/ral/rt2661.c
74
if (sc->sc_debug >= (n)) \
sys/dev/ral/rt2661.c
79
#define DPRINTFN(sc, n, fmt, ...)
sys/dev/ral/rt2661.c
799
int n;
sys/dev/ral/rt2661.c
819
n = (RAL_READ(sc, RT2661_E2PROM_CSR) & RT2661_93C46) ? 5 : 7;
sys/dev/ral/rt2661.c
820
for (; n >= 0; n--) {
sys/dev/ral/rt2661.c
822
(((addr >> n) & 1) << RT2661_SHIFT_D));
sys/dev/ral/rt2661.c
824
(((addr >> n) & 1) << RT2661_SHIFT_D) | RT2661_C);
sys/dev/ral/rt2661.c
831
for (n = 15; n >= 0; n--) {
sys/dev/ral/rt2661.c
834
val |= ((tmp & RT2661_Q) >> RT2661_SHIFT_Q) << n;
sys/dev/ral/rt2860.c
1007
int n;
sys/dev/ral/rt2860.c
1027
n = ((RAL_READ(sc, RT2860_PCI_EECTRL) & 0x30) == 0) ? 5 : 7;
sys/dev/ral/rt2860.c
1028
for (; n >= 0; n--) {
sys/dev/ral/rt2860.c
1030
(((addr >> n) & 1) << RT2860_SHIFT_D));
sys/dev/ral/rt2860.c
1032
(((addr >> n) & 1) << RT2860_SHIFT_D) | RT2860_C);
sys/dev/ral/rt2860.c
1039
for (n = 15; n >= 0; n--) {
sys/dev/ral/rt2860.c
1042
val |= ((tmp & RT2860_Q) >> RT2860_SHIFT_Q) << n;
sys/dev/ral/rt2860.c
213
uint8_t n, r, k;
sys/dev/ral/rt2860.c
2482
rt3090_rf_write(sc, 2, rt3090_freqs[i].n);
sys/dev/ral/rt2860.c
2547
rt3090_rf_write(sc, 8, rt3090_freqs[i].n);
sys/dev/ral/rt2860.c
71
#define DPRINTFN(n, x) do { if (sc->sc_debug >= (n)) printf x; } while (0)
sys/dev/ral/rt2860.c
74
#define DPRINTFN(n, x)
sys/dev/random/fenestrasX/fx_pool.c
223
#define BIT_TEST_SET_ATOMIC_ACQ(_s, n, p) \
sys/dev/random/fenestrasX/fx_pool.c
225
&(p)->__bits[__bitset_word((_s), (n))], (n)) != 0)
sys/dev/random/fenestrasX/fx_pool.c
227
#define FXENT_TEST_SET_ATOMIC_ACQ(n, p) \
sys/dev/random/fenestrasX/fx_pool.c
228
BIT_TEST_SET_ATOMIC_ACQ(ENTROPYSOURCE, n, p)
sys/dev/random/fenestrasX/fx_pool.c
503
fxent_timer_reseed_npools(unsigned n)
sys/dev/random/fenestrasX/fx_pool.c
514
ASSERT_DEBUG(n > 0 && n <= FXRNG_NPOOLS, "n:%u", n);
sys/dev/random/fenestrasX/fx_pool.c
524
for (i = 0; i < n; i++) {
sys/dev/random/fenestrasX/fx_pool.c
530
fxrng_brng_reseed(hash, n * FXRNG_HASH_SZ);
sys/dev/random/fenestrasX/fx_pool.c
531
explicit_bzero(hash, n * FXRNG_HASH_SZ);
sys/dev/random/random_harvestq.c
237
u_int i, n, npools;
sys/dev/random/random_harvestq.c
288
n = rrs->rrs_source->rs_read(entropy, sizeof(entropy));
sys/dev/random/random_harvestq.c
289
KASSERT((n <= sizeof(entropy)),
sys/dev/random/random_harvestq.c
291
__func__, n, sizeof(entropy)));
sys/dev/random/random_harvestq.c
304
if (n == 0)
sys/dev/random/random_harvestq.c
306
random_harvest_direct(entropy, n, rrs->rrs_source->rs_source);
sys/dev/random/unit_test.c
73
myalloc(void *q, unsigned n, unsigned m)
sys/dev/random/unit_test.c
76
return (calloc(n, m));
sys/dev/regulator/regulator.c
59
#define DIV_ROUND_UP(n,d) howmany(n, d)
sys/dev/rtsx/rtsx.c
1841
uint8_t clk_divider, n, div, mcu;
sys/dev/rtsx/rtsx.c
1874
n = clk * 4 / 5 - 2;
sys/dev/rtsx/rtsx.c
1877
n = clk - 2;
sys/dev/rtsx/rtsx.c
1880
if ((clk <= 2) || (n > RTSX_MAX_DIV_N))
sys/dev/rtsx/rtsx.c
1889
while ((n < RTSX_MIN_DIV_N) && (div < RTSX_CLK_DIV_8)) {
sys/dev/rtsx/rtsx.c
1894
n = (((n + 2) * 5 / 4) * 2) * 4 / 5 - 2;
sys/dev/rtsx/rtsx.c
1897
n = (n + 2) * 2 - 2;
sys/dev/rtsx/rtsx.c
1914
error = rtsx_switch_sd_clock(sc, clk, n, div, mcu);
sys/dev/rtsx/rtsx.c
1929
rtsx_switch_sd_clock(struct rtsx_softc *sc, uint8_t clk, uint8_t n, uint8_t div, uint8_t mcu)
sys/dev/rtsx/rtsx.c
1935
clk, n, div, mcu);
sys/dev/rtsx/rtsx.c
1942
RTSX_WRITE(sc, RTSX_SSC_DIV_N_0, n);
sys/dev/rtsx/rtsx.c
224
static int rtsx_switch_sd_clock(struct rtsx_softc *sc, uint8_t clk, uint8_t n, uint8_t div, uint8_t mcu);
sys/dev/rtwn/rtl8188e/r88e_calib.c
156
r88e_iq_calib_run(struct rtwn_softc *sc, int n, uint16_t tx[2],
sys/dev/rtwn/rtl8188e/r88e_calib.c
169
if (n == 0) {
sys/dev/rtwn/rtl8188e/r88e_calib.c
191
if (n == 0) {
sys/dev/rtwn/rtl8188e/r88e_calib.c
256
"rx[1] 0x%x\n", __func__, n, tx[0], tx[1], rx[0], rx[1]);
sys/dev/rtwn/rtl8188e/r88e_calib.c
271
if (n != 0) {
sys/dev/rtwn/rtl8188e/r88e_calib.c
356
int n, valid;
sys/dev/rtwn/rtl8188e/r88e_calib.c
362
for (n = 0; n < RTWN_IQ_CAL_NRUN; n++) {
sys/dev/rtwn/rtl8188e/r88e_calib.c
363
r88e_iq_calib_run(sc, n, tx[n], rx[n], &vals);
sys/dev/rtwn/rtl8188e/r88e_calib.c
365
if (n == 0)
sys/dev/rtwn/rtl8188e/r88e_calib.c
369
valid = r88e_iq_calib_compare_results(sc, tx[n - 1],
sys/dev/rtwn/rtl8188e/r88e_calib.c
370
rx[n - 1], tx[n], rx[n]);
sys/dev/rtwn/rtl8188e/r88e_calib.c
376
r88e_iq_calib_write_results(sc, tx[n], rx[n]);
sys/dev/rtwn/rtl8192c/pci/r92ce_calib.c
134
r92ce_iq_calib_run(struct rtwn_softc *sc, int n, uint16_t tx[2][2],
sys/dev/rtwn/rtl8192c/pci/r92ce_calib.c
147
if (n == 0) {
sys/dev/rtwn/rtl8192c/pci/r92ce_calib.c
174
if (n == 0) {
sys/dev/rtwn/rtl8192c/pci/r92ce_calib.c
250
"tx[1] 0x%x, rx[0] 0x%x, rx[1] 0x%x\n", __func__, n, chain,
sys/dev/rtwn/rtl8192c/pci/r92ce_calib.c
265
if (n != 0) {
sys/dev/rtwn/rtl8192c/pci/r92ce_calib.c
364
int n, valid;
sys/dev/rtwn/rtl8192c/pci/r92ce_calib.c
367
for (n = 0; n < RTWN_IQ_CAL_NRUN; n++) {
sys/dev/rtwn/rtl8192c/pci/r92ce_calib.c
368
r92ce_iq_calib_run(sc, n, tx[n], rx[n], &vals);
sys/dev/rtwn/rtl8192c/pci/r92ce_calib.c
370
if (n == 0)
sys/dev/rtwn/rtl8192c/pci/r92ce_calib.c
374
valid = r92ce_iq_calib_compare_results(sc, tx[n - 1],
sys/dev/rtwn/rtl8192c/pci/r92ce_calib.c
375
rx[n - 1], tx[n], rx[n]);
sys/dev/rtwn/rtl8192c/pci/r92ce_calib.c
381
r92ce_iq_calib_write_results(sc, tx[n][0], rx[n][0], 0);
sys/dev/rtwn/rtl8192c/pci/r92ce_calib.c
383
r92ce_iq_calib_write_results(sc, tx[n][1], rx[n][1], 1);
sys/dev/rtwn/rtl8192c/r92c_calib.c
134
r92c_iq_calib_run(struct rtwn_softc *sc, int n, uint16_t tx[2][2],
sys/dev/rtwn/rtl8192c/r92c_calib.c
147
if (n == 0) {
sys/dev/rtwn/rtl8192c/r92c_calib.c
174
if (n == 0) {
sys/dev/rtwn/rtl8192c/r92c_calib.c
262
"tx[1] 0x%x, rx[0] 0x%x, rx[1] 0x%x\n", __func__, n, chain,
sys/dev/rtwn/rtl8192c/r92c_calib.c
281
if (n != 0) {
sys/dev/rtwn/rtl8192c/r92c_calib.c
383
int n, valid;
sys/dev/rtwn/rtl8192c/r92c_calib.c
386
for (n = 0; n < RTWN_IQ_CAL_NRUN; n++) {
sys/dev/rtwn/rtl8192c/r92c_calib.c
387
r92c_iq_calib_run(sc, n, tx[n], rx[n], &vals);
sys/dev/rtwn/rtl8192c/r92c_calib.c
389
if (n == 0)
sys/dev/rtwn/rtl8192c/r92c_calib.c
393
valid = r92c_iq_calib_compare_results(sc, tx[n - 1],
sys/dev/rtwn/rtl8192c/r92c_calib.c
394
rx[n - 1], tx[n], rx[n]);
sys/dev/rtwn/rtl8192c/r92c_calib.c
400
r92c_iq_calib_write_results(sc, tx[n][0], rx[n][0], 0);
sys/dev/rtwn/rtl8192c/r92c_calib.c
402
r92c_iq_calib_write_results(sc, tx[n][1], rx[n][1], 1);
sys/dev/safexcel/safexcel_reg.h
255
#define SAFEXCEL_HIA_DFE_CFG(n) (0x000 + (128 * (n)))
sys/dev/safexcel/safexcel_reg.h
256
#define SAFEXCEL_HIA_DFE_THR_CTRL(n) (0x000 + (128 * (n)))
sys/dev/safexcel/safexcel_reg.h
257
#define SAFEXCEL_HIA_DFE_THR_STAT(n) (0x004 + (128 * (n)))
sys/dev/safexcel/safexcel_reg.h
258
#define SAFEXCEL_HIA_DSE_CFG(n) (0x000 + (128 * (n)))
sys/dev/safexcel/safexcel_reg.h
259
#define SAFEXCEL_HIA_DSE_THR_CTRL(n) (0x000 + (128 * (n)))
sys/dev/safexcel/safexcel_reg.h
260
#define SAFEXCEL_HIA_DSE_THR_STAT(n) (0x004 + (128 * (n)))
sys/dev/safexcel/safexcel_reg.h
261
#define SAFEXCEL_HIA_RA_PE_CTRL(n) (0x010 + (8 * (n)))
sys/dev/safexcel/safexcel_reg.h
275
#define SAFEXCEL_PE_IN_DBUF_THRES(n) (0x0000 + (0x2000 * (n)))
sys/dev/safexcel/safexcel_reg.h
276
#define SAFEXCEL_PE_IN_TBUF_THRES(n) (0x0100 + (0x2000 * (n)))
sys/dev/safexcel/safexcel_reg.h
277
#define SAFEXCEL_PE_ICE_SCRATCH_RAM(x, n) ((0x800 + (x) * 4) + 0x2000 * (n))
sys/dev/safexcel/safexcel_reg.h
278
#define SAFEXCEL_PE_ICE_PUE_CTRL(n) (0xc80 + (0x2000 * (n)))
sys/dev/safexcel/safexcel_reg.h
280
#define SAFEXCEL_PE_ICE_FPP_CTRL(n) (0xd80 + (0x2000 * (n)))
sys/dev/safexcel/safexcel_reg.h
281
#define SAFEXCEL_PE_ICE_RAM_CTRL(n) (0xff0 + (0x2000 * (n)))
sys/dev/safexcel/safexcel_reg.h
282
#define SAFEXCEL_PE_EIP96_FUNCTION_EN(n) (0x1004 + (0x2000 * (n)))
sys/dev/safexcel/safexcel_reg.h
283
#define SAFEXCEL_PE_EIP96_CONTEXT_CTRL(n) (0x1008 + (0x2000 * (n)))
sys/dev/safexcel/safexcel_reg.h
284
#define SAFEXCEL_PE_EIP96_CONTEXT_STAT(n) (0x100c + (0x2000 * (n)))
sys/dev/safexcel/safexcel_reg.h
285
#define SAFEXCEL_PE_EIP96_FUNCTION2_EN(n) (0x1030 + (0x2000 * (n)))
sys/dev/safexcel/safexcel_reg.h
286
#define SAFEXCEL_PE_OUT_DBUF_THRES(n) (0x1c00 + (0x2000 * (n)))
sys/dev/safexcel/safexcel_reg.h
287
#define SAFEXCEL_PE_OUT_TBUF_THRES(n) (0x1d00 + (0x2000 * (n)))
sys/dev/safexcel/safexcel_reg.h
306
#define SAFEXCEL_HIA_xDR_CFG_xD_PROT(n) (((n) & 0xf) << 4)
sys/dev/safexcel/safexcel_reg.h
307
#define SAFEXCEL_HIA_xDR_CFG_DATA_PROT(n) (((n) & 0xf) << 12)
sys/dev/safexcel/safexcel_reg.h
308
#define SAFEXCEL_HIA_xDR_CFG_ACD_PROT(n) (((n) & 0xf) << 20)
sys/dev/safexcel/safexcel_reg.h
309
#define SAFEXCEL_HIA_xDR_CFG_WR_CACHE(n) (((n) & 0x7) << 25)
sys/dev/safexcel/safexcel_reg.h
310
#define SAFEXCEL_HIA_xDR_CFG_RD_CACHE(n) (((n) & 0x7) << 29)
sys/dev/safexcel/safexcel_reg.h
313
#define SAFEXCEL_HIA_CDR_THRESH_PROC_PKT(n) ((n) & 0xffff)
sys/dev/safexcel/safexcel_reg.h
317
#define SAFEXCEL_HIA_CDR_THRESH_TIMEOUT(n) (((n) & 0xff) << 24)
sys/dev/safexcel/safexcel_reg.h
320
#define SAFEXCEL_HIA_RDR_THRESH_PROC_PKT(n) ((n) & 0xffff)
sys/dev/safexcel/safexcel_reg.h
323
#define SAFEXCEL_HIA_RDR_THRESH_TIMEOUT(n) (((n) & 0xff) << 24)
sys/dev/safexcel/safexcel_reg.h
333
#define SAFEXCEL_xDR_PROC_xD_COUNT(n) ((n) << 2)
sys/dev/safexcel/safexcel_reg.h
334
#define SAFEXCEL_xDR_PROC_xD_PKT(n) \
sys/dev/safexcel/safexcel_reg.h
335
(((n) & SAFEXCEL_xDR_PROC_xD_PKT_MASK) << SAFEXCEL_xDR_PROC_xD_PKT_OFFSET)
sys/dev/safexcel/safexcel_reg.h
367
#define SAFEXCEL_CDR_IRQ(n) (1 << ((n) * 2))
sys/dev/safexcel/safexcel_reg.h
368
#define SAFEXCEL_RDR_IRQ(n) (1 << ((n) * 2 + 1))
sys/dev/safexcel/safexcel_reg.h
371
#define SAFEXCEL_HIA_DxE_CFG_MIN_DATA_SIZE(n) ((n) << 0)
sys/dev/safexcel/safexcel_reg.h
372
#define SAFEXCEL_HIA_DxE_CFG_DATA_CACHE_CTRL(n) (((n) & 0x7) << 4)
sys/dev/safexcel/safexcel_reg.h
373
#define SAFEXCEL_HIA_DxE_CFG_MAX_DATA_SIZE(n) ((n) << 8)
sys/dev/safexcel/safexcel_reg.h
375
#define SAFEXCEL_HIA_DxE_CFG_MIN_CTRL_SIZE(n) ((n) << 16)
sys/dev/safexcel/safexcel_reg.h
376
#define SAFEXCEL_HIA_DxE_CFG_CTRL_CACHE_CTRL(n) (((n) & 0x7) << 20)
sys/dev/safexcel/safexcel_reg.h
377
#define SAFEXCEL_HIA_DxE_CFG_MAX_CTRL_SIZE(n) ((n) << 24)
sys/dev/safexcel/safexcel_reg.h
387
#define SAFEXCEL_G_IRQ_DFE(n) (1 << ((n) << 1))
sys/dev/safexcel/safexcel_reg.h
388
#define SAFEXCEL_G_IRQ_DSE(n) (1 << (((n) << 1) + 1))
sys/dev/safexcel/safexcel_reg.h
390
#define SAFEXCEL_G_IRQ_PE(n) (1 << ((n) + 20))
sys/dev/safexcel/safexcel_reg.h
397
#define SAFEXCEL_MST_CTRL_RD_CACHE(n) (((n) & 0xf) << 0)
sys/dev/safexcel/safexcel_reg.h
398
#define SAFEXCEL_MST_CTRL_WD_CACHE(n) (((n) & 0xf) << 4)
sys/dev/safexcel/safexcel_reg.h
399
#define MST_CTRL_SUPPORT_PROT(n) (((n) & 0xf) << 12)
sys/dev/safexcel/safexcel_reg.h
404
#define SAFEXCEL_PE_IN_xBUF_THRES_MIN(n) ((n) << 8)
sys/dev/safexcel/safexcel_reg.h
405
#define SAFEXCEL_PE_IN_xBUF_THRES_MAX(n) ((n) << 12)
sys/dev/safexcel/safexcel_reg.h
408
#define SAFEXCEL_PE_OUT_DBUF_THRES_MIN(n) ((n) << 0)
sys/dev/safexcel/safexcel_reg.h
409
#define SAFEXCEL_PE_OUT_DBUF_THRES_MAX(n) ((n) << 4)
sys/dev/safexcel/safexcel_reg.h
419
#define SAFEXCEL_CONTEXT_SIZE(n) (n)
sys/dev/safexcel/safexcel_var.h
121
#define SAFEXCEL_CONTROL0_SIZE(n) (((n) & 0xff) << 8)
sys/dev/sec/sec.c
1087
sec_make_pointer_direct(struct sec_softc *sc, struct sec_desc *desc, u_int n,
sys/dev/sec/sec.c
1094
ptr = &(desc->sd_desc->shd_pointer[n]);
sys/dev/sec/sec.c
1105
u_int n, struct cryptop *crp, bus_size_t doffset, bus_size_t dsize)
sys/dev/sec/sec.c
1113
error = sec_desc_map_dma(sc, &(desc->sd_ptr_dmem[n]), crp, dsize,
sys/dev/sec/sec.c
1122
ptr = &(desc->sd_desc->shd_pointer[n]);
sys/dev/sec/sec.c
163
sec_get_pointer_data(struct sec_desc *desc, u_int n)
sys/dev/sec/sec.c
166
return (desc->sd_ptr_dmem[n].dma_vaddr);
sys/dev/sec/sec.c
83
u_int n, struct cryptop *crp, bus_size_t doffset, bus_size_t dsize);
sys/dev/sec/sec.c
85
struct sec_desc *desc, u_int n, bus_addr_t data, bus_size_t dsize);
sys/dev/sec/sec.h
322
#define SEC_INT_CH_DN(n) (1ULL << (((n) * 2) + 32))
sys/dev/sec/sec.h
323
#define SEC_INT_CH_ERR(n) (1ULL << (((n) * 2) + 33))
sys/dev/sec/sec.h
344
#define SEC_CHAN_CCR(n) (((n) * 0x100) + 0x1108)
sys/dev/sec/sec.h
354
#define SEC_CHAN_CSR(n) (((n) * 0x100) + 0x1110)
sys/dev/sec/sec.h
372
#define SEC_CHAN_CDPR(n) (((n) * 0x100) + 0x1140)
sys/dev/sec/sec.h
373
#define SEC_CHAN_FF(n) (((n) * 0x100) + 0x1148)
sys/dev/sfxge/common/ef10_image.c
56
#define ASN1_TAG_PRIM_CONTEXT(n) (0x80 + (n))
sys/dev/sfxge/common/ef10_image.c
57
#define ASN1_TAG_CONS_CONTEXT(n) (0xA0 + (n))
sys/dev/sfxge/common/ef10_impl.h
788
__in_ecount(n) efx_desc_t *ed,
sys/dev/sfxge/common/ef10_impl.h
789
__in unsigned int n,
sys/dev/sfxge/common/ef10_impl.h
974
__in_ecount(n) uint8_t *key,
sys/dev/sfxge/common/ef10_impl.h
975
__in size_t n);
sys/dev/sfxge/common/ef10_impl.h
981
__in_ecount(n) unsigned int *table,
sys/dev/sfxge/common/ef10_impl.h
982
__in size_t n);
sys/dev/sfxge/common/ef10_rx.c
432
__in_ecount(n) uint8_t *key,
sys/dev/sfxge/common/ef10_rx.c
433
__in size_t n)
sys/dev/sfxge/common/ef10_rx.c
454
EFSYS_ASSERT3U(n, ==, MC_CMD_RSS_CONTEXT_SET_KEY_IN_TOEPLITZ_KEY_LEN);
sys/dev/sfxge/common/ef10_rx.c
455
if (n != MC_CMD_RSS_CONTEXT_SET_KEY_IN_TOEPLITZ_KEY_LEN) {
sys/dev/sfxge/common/ef10_rx.c
461
key, n);
sys/dev/sfxge/common/ef10_rx.c
488
__in_ecount(n) unsigned int *table,
sys/dev/sfxge/common/ef10_rx.c
489
__in size_t n)
sys/dev/sfxge/common/ef10_rx.c
517
req_table[i] = (n > 0) ? (uint8_t)table[i % n] : 0;
sys/dev/sfxge/common/ef10_rx.c
670
__in_ecount(n) uint8_t *key,
sys/dev/sfxge/common/ef10_rx.c
671
__in size_t n)
sys/dev/sfxge/common/ef10_rx.c
686
if ((rc = efx_mcdi_rss_context_set_key(enp, rss_context, key, n)) != 0)
sys/dev/sfxge/common/ef10_rx.c
705
__in_ecount(n) unsigned int *table,
sys/dev/sfxge/common/ef10_rx.c
706
__in size_t n)
sys/dev/sfxge/common/ef10_rx.c
719
rss_context, table, n)) != 0)
sys/dev/sfxge/common/efx.h
1927
__in size_t n);
sys/dev/sfxge/common/efx.h
1933
__in size_t n);
sys/dev/sfxge/common/efx.h
2461
__in_ecount(n) unsigned int *table,
sys/dev/sfxge/common/efx.h
2462
__in size_t n);
sys/dev/sfxge/common/efx.h
2468
__in_ecount(n) uint8_t *key,
sys/dev/sfxge/common/efx.h
2469
__in size_t n);
sys/dev/sfxge/common/efx.h
2671
__in size_t n,
sys/dev/sfxge/common/efx.h
2730
__in_ecount(n) efx_desc_t *ed,
sys/dev/sfxge/common/efx.h
2731
__in unsigned int n,
sys/dev/sfxge/common/efx_annote.h
79
#define __deref_out_bcount_opt(n)
sys/dev/sfxge/common/efx_regs_mcdi.h
366
#define MC_CMD_DBI_WRITE_IN_ADDRESS_OFST(n) \
sys/dev/sfxge/common/efx_regs_mcdi.h
369
(n) * MC_CMD_DBIWROP_TYPEDEF_LEN)
sys/dev/sfxge/common/efx_regs_mcdi.h
371
#define MC_CMD_DBI_WRITE_IN_BYTE_MASK_OFST(n) \
sys/dev/sfxge/common/efx_regs_mcdi.h
374
(n) * MC_CMD_DBIWROP_TYPEDEF_LEN)
sys/dev/sfxge/common/efx_regs_mcdi.h
376
#define MC_CMD_DBI_WRITE_IN_VALUE_OFST(n) \
sys/dev/sfxge/common/efx_regs_mcdi.h
379
(n) * MC_CMD_DBIWROP_TYPEDEF_LEN)
sys/dev/sfxge/common/efx_regs_mcdi.h
384
#define EVB_STACK_ID(n) (((n) & 0xff) << 16)
sys/dev/sfxge/common/efx_rx.c
1198
__in_ecount(n) uint8_t *key,
sys/dev/sfxge/common/efx_rx.c
1199
__in size_t n)
sys/dev/sfxge/common/efx_rx.c
1216
offset > 0 && byte < n;
sys/dev/sfxge/common/efx_rx.c
1227
offset > 0 && byte < n;
sys/dev/sfxge/common/efx_rx.c
1244
offset > 0 && byte < n;
sys/dev/sfxge/common/efx_rx.c
1254
offset > 0 && byte < n;
sys/dev/sfxge/common/efx_rx.c
1264
offset > 0 && byte < n;
sys/dev/sfxge/common/efx_rx.c
1276
offset > 0 && byte < n;
sys/dev/sfxge/common/efx_rx.c
1288
offset > 0 && byte < n;
sys/dev/sfxge/common/efx_rx.c
1300
offset > 0 && byte < n;
sys/dev/sfxge/common/efx_rx.c
1331
__in_ecount(n) unsigned int *table,
sys/dev/sfxge/common/efx_rx.c
1332
__in size_t n)
sys/dev/sfxge/common/efx_rx.c
1346
if (n > FR_BZ_RX_INDIRECTION_TBL_ROWS) {
sys/dev/sfxge/common/efx_rx.c
1355
byte = (n > 0) ? (uint32_t)table[index % n] : 0;
sys/dev/sfxge/common/efx_rx.c
1370
byte = (n > 0) ? (uint32_t)table[index % n] : 0;
sys/dev/sfxge/common/efx_rx.c
660
__in_ecount(n) uint8_t *key,
sys/dev/sfxge/common/efx_rx.c
661
__in size_t n)
sys/dev/sfxge/common/efx_rx.c
669
if ((rc = erxop->erxo_scale_key_set(enp, rss_context, key, n)) != 0)
sys/dev/sfxge/common/efx_rx.c
67
__in_ecount(n) uint8_t *key,
sys/dev/sfxge/common/efx_rx.c
68
__in size_t n);
sys/dev/sfxge/common/efx_rx.c
686
__in_ecount(n) unsigned int *table,
sys/dev/sfxge/common/efx_rx.c
687
__in size_t n)
sys/dev/sfxge/common/efx_rx.c
695
if ((rc = erxop->erxo_scale_tbl_set(enp, rss_context, table, n)) != 0)
sys/dev/sfxge/common/efx_rx.c
74
__in_ecount(n) unsigned int *table,
sys/dev/sfxge/common/efx_rx.c
75
__in size_t n);
sys/dev/sfxge/common/efx_sram.c
169
__in size_t n)
sys/dev/sfxge/common/efx_sram.c
173
uint32_t stop = start + n;
sys/dev/sfxge/common/efx_sram.c
42
__in size_t n)
sys/dev/sfxge/common/efx_sram.c
46
uint32_t stop = start + n;
sys/dev/sfxge/sfxge.c
627
sfxge_sram_buf_tbl_alloc(struct sfxge_softc *sc, size_t n, uint32_t *idp)
sys/dev/sfxge/sfxge.c
629
KASSERT(sc->buffer_table_next + n <=
sys/dev/sfxge/sfxge.c
634
sc->buffer_table_next += n;
sys/dev/sfxge/sfxge.h
349
extern void sfxge_sram_buf_tbl_alloc(struct sfxge_softc *sc, size_t n,
sys/dev/sfxge/sfxge_tx.c
1154
int n;
sys/dev/sfxge/sfxge_tx.c
1165
n = tso->in_len;
sys/dev/sfxge/sfxge_tx.c
1166
tso->out_len -= n;
sys/dev/sfxge/sfxge_tx.c
1167
tso->seqnum += n;
sys/dev/sfxge/sfxge_tx.c
1169
if (n < tso->packet_space) {
sys/dev/sfxge/sfxge_tx.c
1170
tso->packet_space -= n;
sys/dev/sfxge/sfxge_tx.c
1174
(n - tso->packet_space) % tso->seg_size;
sys/dev/sfxge/sfxge_tx.c
1180
n = min(tso->in_len, tso->packet_space);
sys/dev/sfxge/sfxge_tx.c
1181
tso->packet_space -= n;
sys/dev/sfxge/sfxge_tx.c
1182
tso->out_len -= n;
sys/dev/sfxge/sfxge_tx.c
1183
tso->dma_addr += n;
sys/dev/sfxge/sfxge_tx.c
1184
tso->in_len -= n;
sys/dev/sfxge/sfxge_tx.c
1195
efx_tx_qdesc_dma_create(txq->common, dma_addr, n, eop, desc);
sys/dev/siis/siis.h
148
#define SIIS_GCTL_PIE(n) (1 << (n)) /* Port int enable */
sys/dev/siis/siis.h
151
#define SIIS_IS_PORT(n) (1 << (n)) /* Port interrupt stat */
sys/dev/sis/if_sis.c
213
sis_reverse(uint16_t n)
sys/dev/sis/if_sis.c
215
n = ((n >> 1) & 0x5555) | ((n << 1) & 0xaaaa);
sys/dev/sis/if_sis.c
216
n = ((n >> 2) & 0x3333) | ((n << 2) & 0xcccc);
sys/dev/sis/if_sis.c
217
n = ((n >> 4) & 0x0f0f) | ((n << 4) & 0xf0f0);
sys/dev/sis/if_sis.c
218
n = ((n >> 8) & 0x00ff) | ((n << 8) & 0xff00);
sys/dev/sis/if_sis.c
220
return (n);
sys/dev/sis/if_sis.c
790
uint32_t filter, i, n;
sys/dev/sis/if_sis.c
796
n = 16;
sys/dev/sis/if_sis.c
798
n = 8;
sys/dev/sis/if_sis.c
814
for (i = 0; i < n; i++)
sys/dev/sis/if_sis.c
817
for (i = 0; i < n; i++)
sys/dev/sis/if_sis.c
820
if (if_foreach_llmaddr(ifp, sis_hash_maddr, &ctx) > n) {
sys/dev/sis/if_sis.c
822
for (i = 0; i < n; i++)
sys/dev/sis/if_sis.c
827
for (i = 0; i < n; i++) {
sys/dev/smartpqi/smartpqi_defines.h
90
#define ALIGN_BOUNDARY(a, n) { \
sys/dev/smartpqi/smartpqi_defines.h
905
#define OS_ATTRIBUTE_ALIGNED(n) __attribute__((aligned(n)))
sys/dev/smartpqi/smartpqi_defines.h
91
if (a % n) \
sys/dev/smartpqi/smartpqi_defines.h
92
a = a + (n - a % n); \
sys/dev/sound/fdt/audio_dai.h
43
#define AUDIO_DAI_POLARITY_INVERTED_FRAME(n) ((n) & 0x01)
sys/dev/sound/fdt/audio_dai.h
44
#define AUDIO_DAI_POLARITY_INVERTED_BCLK(n) ((n) & 0x2)
sys/dev/sound/macio/i2s.c
582
phandle_t n;
sys/dev/sound/macio/i2s.c
584
for (n = OF_child(node); n != -1; n = OF_peer(n)) {
sys/dev/sound/macio/i2s.c
586
OF_getprop(n, "name", name, sizeof(name));
sys/dev/sound/macio/i2s.c
589
return (n);
sys/dev/sound/pci/als4000.c
331
uint32_t i, n;
sys/dev/sound/pci/als4000.c
333
n = sizeof(playback_cmds) / sizeof(playback_cmds[0]);
sys/dev/sound/pci/als4000.c
334
for (i = 0; i < n; i++) {
sys/dev/sound/pci/es137x.c
1227
unsigned int n, truncm, freq, result;
sys/dev/sound/pci/es137x.c
1235
n = rate / 3000;
sys/dev/sound/pci/es137x.c
1236
if ((1 << n) & ((1 << 15) | (1 << 13) | (1 << 11) | (1 << 9)))
sys/dev/sound/pci/es137x.c
1237
n--;
sys/dev/sound/pci/es137x.c
1238
truncm = (21 * n - 1) | 1;
sys/dev/sound/pci/es137x.c
1239
freq = ((48000UL << 15) / rate) * n;
sys/dev/sound/pci/es137x.c
1240
result = (48000UL << 15) / (freq / n);
sys/dev/sound/pci/es137x.c
1246
(((239 - truncm) >> 1) << 9) | (n << 4));
sys/dev/sound/pci/es137x.c
1251
0x8000 | (((119 - truncm) >> 1) << 9) | (n << 4));
sys/dev/sound/pci/es137x.c
1258
es1371_src_write(es, ES_SMPREG_VOL_ADC, n << 8);
sys/dev/sound/pci/es137x.c
1259
es1371_src_write(es, ES_SMPREG_VOL_ADC + 1, n << 8);
sys/dev/sound/pci/hda/hdaa.c
1324
int error, n = 0;
sys/dev/sound/pci/hda/hdaa.c
1332
n += snprintf(buf + n, sizeof(buf) - n, "%s%s",
sys/dev/sound/pci/hda/hdaa.c
1333
n != 0 ? "," : "", hdaa_quirks_tab[i].key);
sys/dev/sound/pci/hda/hdaa.c
1431
#define CONN_RESVAL(r, e, n) ((r) >> ((32 / (e)) * (n)))
sys/dev/sound/pci/hda/hdaa.c
1432
#define CONN_RANGE(r, e, n) (CONN_RESVAL(r, e, n) & CONN_RMASK(e))
sys/dev/sound/pci/hda/hdaa.c
1433
#define CONN_CNID(r, e, n) (CONN_RESVAL(r, e, n) & CONN_NMASK(e))
sys/dev/sound/pci/hda/hdaa.c
6375
int n = 0, i, numgpi;
sys/dev/sound/pci/hda/hdaa.c
6387
n += snprintf(buf + n, sizeof(buf) - n, "%s%d=%d",
sys/dev/sound/pci/hda/hdaa.c
6388
n != 0 ? " " : "", i, ((data >> i) & 1));
sys/dev/sound/pci/hda/hdaa.c
6399
int n = 0, i, numgpio;
sys/dev/sound/pci/hda/hdaa.c
6415
n += snprintf(buf + n, sizeof(buf) - n, "%s%d=",
sys/dev/sound/pci/hda/hdaa.c
6416
n != 0 ? " " : "", i);
sys/dev/sound/pci/hda/hdaa.c
6418
n += snprintf(buf + n, sizeof(buf) - n, "disabled");
sys/dev/sound/pci/hda/hdaa.c
6421
n += snprintf(buf + n, sizeof(buf) - n, "%sput(%d)",
sys/dev/sound/pci/hda/hdaa.c
6432
int error, n = 0, i, numgpio;
sys/dev/sound/pci/hda/hdaa.c
6440
n += snprintf(buf + n, sizeof(buf) - n, "%s%d=%s",
sys/dev/sound/pci/hda/hdaa.c
6441
n != 0 ? " " : "", i, HDA_GPIO_ACTIONS[x]);
sys/dev/sound/pci/hda/hdaa.c
6463
int n = 0, i, numgpo;
sys/dev/sound/pci/hda/hdaa.c
6475
n += snprintf(buf + n, sizeof(buf) - n, "%s%d=%d",
sys/dev/sound/pci/hda/hdaa.c
6476
n != 0 ? " " : "", i, ((data >> i) & 1));
sys/dev/sound/pci/hda/hdaa.c
6486
int error, n = 0, i, numgpo;
sys/dev/sound/pci/hda/hdaa.c
6494
n += snprintf(buf + n, sizeof(buf) - n, "%s%d=%s",
sys/dev/sound/pci/hda/hdaa.c
6495
n != 0 ? " " : "", i, HDA_GPIO_ACTIONS[x]);
sys/dev/sound/pci/hda/hdaa.h
38
#define HDAA_GPIO_SHIFT(n) (n * 3)
sys/dev/sound/pci/hda/hdaa.h
39
#define HDAA_GPIO_MASK(n) (0x7 << (n * 3))
sys/dev/sound/pci/hda/hdaa.h
40
#define HDAA_GPIO_KEEP(n) (0x0 << (n * 3))
sys/dev/sound/pci/hda/hdaa.h
41
#define HDAA_GPIO_SET(n) (0x1 << (n * 3))
sys/dev/sound/pci/hda/hdaa.h
42
#define HDAA_GPIO_CLEAR(n) (0x2 << (n * 3))
sys/dev/sound/pci/hda/hdaa.h
43
#define HDAA_GPIO_DISABLE(n) (0x3 << (n * 3))
sys/dev/sound/pci/hda/hdaa.h
44
#define HDAA_GPIO_INPUT(n) (0x4 << (n * 3))
sys/dev/sound/pci/hda/hdac_private.h
54
#define HDAC_ISDCTL(sc, n) (_HDAC_ISDCTL((n), (sc)->num_iss, (sc)->num_oss))
sys/dev/sound/pci/hda/hdac_private.h
55
#define HDAC_ISDSTS(sc, n) (_HDAC_ISDSTS((n), (sc)->num_iss, (sc)->num_oss))
sys/dev/sound/pci/hda/hdac_private.h
56
#define HDAC_ISDPICB(sc, n) (_HDAC_ISDPICB((n), (sc)->num_iss, (sc)->num_oss))
sys/dev/sound/pci/hda/hdac_private.h
57
#define HDAC_ISDCBL(sc, n) (_HDAC_ISDCBL((n), (sc)->num_iss, (sc)->num_oss))
sys/dev/sound/pci/hda/hdac_private.h
58
#define HDAC_ISDLVI(sc, n) (_HDAC_ISDLVI((n), (sc)->num_iss, (sc)->num_oss))
sys/dev/sound/pci/hda/hdac_private.h
59
#define HDAC_ISDFIFOD(sc, n) (_HDAC_ISDFIFOD((n), (sc)->num_iss, (sc)->num_oss))
sys/dev/sound/pci/hda/hdac_private.h
60
#define HDAC_ISDFMT(sc, n) (_HDAC_ISDFMT((n), (sc)->num_iss, (sc)->num_oss))
sys/dev/sound/pci/hda/hdac_private.h
61
#define HDAC_ISDBDPL(sc, n) (_HDAC_ISDBDPL((n), (sc)->num_iss, (sc)->num_oss))
sys/dev/sound/pci/hda/hdac_private.h
62
#define HDAC_ISDBDPU(sc, n) (_HDAC_ISDBDPU((n), (sc)->num_iss, (sc)->num_oss))
sys/dev/sound/pci/hda/hdac_private.h
64
#define HDAC_OSDCTL(sc, n) (_HDAC_OSDCTL((n), (sc)->num_iss, (sc)->num_oss))
sys/dev/sound/pci/hda/hdac_private.h
65
#define HDAC_OSDSTS(sc, n) (_HDAC_OSDSTS((n), (sc)->num_iss, (sc)->num_oss))
sys/dev/sound/pci/hda/hdac_private.h
66
#define HDAC_OSDPICB(sc, n) (_HDAC_OSDPICB((n), (sc)->num_iss, (sc)->num_oss))
sys/dev/sound/pci/hda/hdac_private.h
67
#define HDAC_OSDCBL(sc, n) (_HDAC_OSDCBL((n), (sc)->num_iss, (sc)->num_oss))
sys/dev/sound/pci/hda/hdac_private.h
68
#define HDAC_OSDLVI(sc, n) (_HDAC_OSDLVI((n), (sc)->num_iss, (sc)->num_oss))
sys/dev/sound/pci/hda/hdac_private.h
69
#define HDAC_OSDFIFOD(sc, n) (_HDAC_OSDFIFOD((n), (sc)->num_iss, (sc)->num_oss))
sys/dev/sound/pci/hda/hdac_private.h
70
#define HDAC_OSDBDPL(sc, n) (_HDAC_OSDBDPL((n), (sc)->num_iss, (sc)->num_oss))
sys/dev/sound/pci/hda/hdac_private.h
71
#define HDAC_OSDBDPU(sc, n) (_HDAC_OSDBDPU((n), (sc)->num_iss, (sc)->num_oss))
sys/dev/sound/pci/hda/hdac_private.h
73
#define HDAC_BSDCTL(sc, n) (_HDAC_BSDCTL((n), (sc)->num_iss, (sc)->num_oss))
sys/dev/sound/pci/hda/hdac_private.h
74
#define HDAC_BSDSTS(sc, n) (_HDAC_BSDSTS((n), (sc)->num_iss, (sc)->num_oss))
sys/dev/sound/pci/hda/hdac_private.h
75
#define HDAC_BSDPICB(sc, n) (_HDAC_BSDPICB((n), (sc)->num_iss, (sc)->num_oss))
sys/dev/sound/pci/hda/hdac_private.h
76
#define HDAC_BSDCBL(sc, n) (_HDAC_BSDCBL((n), (sc)->num_iss, (sc)->num_oss))
sys/dev/sound/pci/hda/hdac_private.h
77
#define HDAC_BSDLVI(sc, n) (_HDAC_BSDLVI((n), (sc)->num_iss, (sc)->num_oss))
sys/dev/sound/pci/hda/hdac_private.h
78
#define HDAC_BSDFIFOD(sc, n) (_HDAC_BSDFIFOD((n), (sc)->num_iss, (sc)->num_oss))
sys/dev/sound/pci/hda/hdac_private.h
79
#define HDAC_BSDBDPL(sc, n) (_HDAC_BSDBDPL((n), (sc)->num_iss, (sc)->num_oss))
sys/dev/sound/pci/hda/hdac_private.h
80
#define HDAC_BSDBDPU(sc, n) (_HDAC_BSDBDPU((n), (sc)->num_iss, (sc)->num_oss))
sys/dev/sound/pci/hda/hdac_reg.h
100
#define _HDAC_OSDBDPL(n, iss, oss) (0x18 + _HDAC_OSDOFFSET(n, iss, oss))
sys/dev/sound/pci/hda/hdac_reg.h
101
#define _HDAC_OSDBDPU(n, iss, oss) (0x1c + _HDAC_OSDOFFSET(n, iss, oss))
sys/dev/sound/pci/hda/hdac_reg.h
103
#define _HDAC_BSDOFFSET(n, iss, oss) (0x80 + ((iss) * 0x20) + ((oss) * 0x20) + ((n) * 0x20))
sys/dev/sound/pci/hda/hdac_reg.h
104
#define _HDAC_BSDCTL(n, iss, oss) (0x00 + _HDAC_BSDOFFSET(n, iss, oss))
sys/dev/sound/pci/hda/hdac_reg.h
105
#define _HDAC_BSDSTS(n, iss, oss) (0x03 + _HDAC_BSDOFFSET(n, iss, oss))
sys/dev/sound/pci/hda/hdac_reg.h
106
#define _HDAC_BSDPICB(n, iss, oss) (0x04 + _HDAC_BSDOFFSET(n, iss, oss))
sys/dev/sound/pci/hda/hdac_reg.h
107
#define _HDAC_BSDCBL(n, iss, oss) (0x08 + _HDAC_BSDOFFSET(n, iss, oss))
sys/dev/sound/pci/hda/hdac_reg.h
108
#define _HDAC_BSDLVI(n, iss, oss) (0x0c + _HDAC_BSDOFFSET(n, iss, oss))
sys/dev/sound/pci/hda/hdac_reg.h
109
#define _HDAC_BSDFIFOD(n, iss, oss) (0x10 + _HDAC_BSDOFFSET(n, iss, oss))
sys/dev/sound/pci/hda/hdac_reg.h
110
#define _HDAC_BSDFMT(n, iss, oss) (0x12 + _HDAC_BSDOFFSET(n, iss, oss))
sys/dev/sound/pci/hda/hdac_reg.h
111
#define _HDAC_BSDBDPL(n, iss, oss) (0x18 + _HDAC_BSDOFFSET(n, iss, oss))
sys/dev/sound/pci/hda/hdac_reg.h
112
#define _HDAC_BSDBDBU(n, iss, oss) (0x1c + _HDAC_BSDOFFSET(n, iss, oss))
sys/dev/sound/pci/hda/hdac_reg.h
155
#define HDAC_STATESTS_SDIWAKE(statests, n) \
sys/dev/sound/pci/hda/hdac_reg.h
157
HDAC_STATESTS_SDIWAKE_SHIFT) >> (n)) & 0x0001)
sys/dev/sound/pci/hda/hdac_reg.h
81
#define _HDAC_ISDOFFSET(n, iss, oss) (0x80 + ((n) * 0x20))
sys/dev/sound/pci/hda/hdac_reg.h
82
#define _HDAC_ISDCTL(n, iss, oss) (0x00 + _HDAC_ISDOFFSET(n, iss, oss))
sys/dev/sound/pci/hda/hdac_reg.h
83
#define _HDAC_ISDSTS(n, iss, oss) (0x03 + _HDAC_ISDOFFSET(n, iss, oss))
sys/dev/sound/pci/hda/hdac_reg.h
84
#define _HDAC_ISDPICB(n, iss, oss) (0x04 + _HDAC_ISDOFFSET(n, iss, oss))
sys/dev/sound/pci/hda/hdac_reg.h
85
#define _HDAC_ISDCBL(n, iss, oss) (0x08 + _HDAC_ISDOFFSET(n, iss, oss))
sys/dev/sound/pci/hda/hdac_reg.h
86
#define _HDAC_ISDLVI(n, iss, oss) (0x0c + _HDAC_ISDOFFSET(n, iss, oss))
sys/dev/sound/pci/hda/hdac_reg.h
87
#define _HDAC_ISDFIFOD(n, iss, oss) (0x10 + _HDAC_ISDOFFSET(n, iss, oss))
sys/dev/sound/pci/hda/hdac_reg.h
88
#define _HDAC_ISDFMT(n, iss, oss) (0x12 + _HDAC_ISDOFFSET(n, iss, oss))
sys/dev/sound/pci/hda/hdac_reg.h
89
#define _HDAC_ISDBDPL(n, iss, oss) (0x18 + _HDAC_ISDOFFSET(n, iss, oss))
sys/dev/sound/pci/hda/hdac_reg.h
90
#define _HDAC_ISDBDPU(n, iss, oss) (0x1c + _HDAC_ISDOFFSET(n, iss, oss))
sys/dev/sound/pci/hda/hdac_reg.h
92
#define _HDAC_OSDOFFSET(n, iss, oss) (0x80 + ((iss) * 0x20) + ((n) * 0x20))
sys/dev/sound/pci/hda/hdac_reg.h
93
#define _HDAC_OSDCTL(n, iss, oss) (0x00 + _HDAC_OSDOFFSET(n, iss, oss))
sys/dev/sound/pci/hda/hdac_reg.h
94
#define _HDAC_OSDSTS(n, iss, oss) (0x03 + _HDAC_OSDOFFSET(n, iss, oss))
sys/dev/sound/pci/hda/hdac_reg.h
95
#define _HDAC_OSDPICB(n, iss, oss) (0x04 + _HDAC_OSDOFFSET(n, iss, oss))
sys/dev/sound/pci/hda/hdac_reg.h
96
#define _HDAC_OSDCBL(n, iss, oss) (0x08 + _HDAC_OSDOFFSET(n, iss, oss))
sys/dev/sound/pci/hda/hdac_reg.h
97
#define _HDAC_OSDLVI(n, iss, oss) (0x0c + _HDAC_OSDOFFSET(n, iss, oss))
sys/dev/sound/pci/hda/hdac_reg.h
98
#define _HDAC_OSDFIFOD(n, iss, oss) (0x10 + _HDAC_OSDOFFSET(n, iss, oss))
sys/dev/sound/pci/hda/hdac_reg.h
99
#define _HDAC_OSDFMT(n, iss, oss) (0x12 + _HDAC_OSDOFFSET(n, iss, oss))
sys/dev/sound/pci/hda/hdacc.c
493
int i, n;
sys/dev/sound/pci/hda/hdacc.c
518
for (i = startnode, n = 0; i < endnode; i++, n++) {
sys/dev/sound/pci/hda/hdacc.c
519
codec->fgs[n].nid = i;
sys/dev/sound/pci/hda/hdacc.c
521
codec->fgs[n].type =
sys/dev/sound/pci/hda/hdacc.c
524
codec->fgs[n].subsystem_id = hda_command(dev,
sys/dev/sound/pci/hda/hdacc.c
527
codec->fgs[n].dev = child = device_add_child(dev, NULL, DEVICE_UNIT_ANY);
sys/dev/sound/pci/hda/hdacc.c
532
device_set_ivars(child, &codec->fgs[n]);
sys/dev/sound/pci/hda/pin_patch.h
36
#define PIN_PATCH_STRING(n, patchstr) { \
sys/dev/sound/pci/hda/pin_patch.h
37
.nid = n, \
sys/dev/sound/pci/hda/pin_patch.h
41
#define PIN_OVERRIDE(n, newvalue) { \
sys/dev/sound/pci/hda/pin_patch.h
42
.nid = n, \
sys/dev/sound/pci/hda/pin_patch.h
46
#define PIN_PATCH_NOT_APPLICABLE(n) \
sys/dev/sound/pci/hda/pin_patch.h
47
PIN_PATCH_STRING(n, "as=15 misc=1 color=Black ctype=1/8 device=Speaker loc=Rear conn=None")
sys/dev/sound/pci/hda/pin_patch.h
48
#define PIN_PATCH_HP_OUT(n) \
sys/dev/sound/pci/hda/pin_patch.h
49
PIN_PATCH_STRING(n, "seq=15 as=1 color=Green ctype=1/8 device=Headphones loc=Rear")
sys/dev/sound/pci/hda/pin_patch.h
50
#define PIN_PATCH_HP(n) \
sys/dev/sound/pci/hda/pin_patch.h
51
PIN_PATCH_STRING(n, "seq=15 as=1 misc=1 color=Green ctype=1/8 device=Headphones loc=Rear")
sys/dev/sound/pci/hda/pin_patch.h
52
#define PIN_PATCH_SPEAKER(n) \
sys/dev/sound/pci/hda/pin_patch.h
53
PIN_PATCH_STRING(n, "as=2 misc=1 ctype=ATAPI loc=Onboard conn=Fixed")
sys/dev/sound/pci/hda/pin_patch.h
54
#define PIN_PATCH_BASS_SPEAKER(n) \
sys/dev/sound/pci/hda/pin_patch.h
55
PIN_PATCH_STRING(n, "as=3 misc=1 ctype=ATAPI loc=Onboard conn=Fixed")
sys/dev/sound/pci/hda/pin_patch.h
56
#define PIN_PATCH_MIC_IN(n) \
sys/dev/sound/pci/hda/pin_patch.h
57
PIN_PATCH_STRING(n, "as=5 misc=9 color=Pink ctype=1/8 device=Mic loc=Rear")
sys/dev/sound/pci/hda/pin_patch.h
58
#define PIN_PATCH_MIC_INTERNAL(n) \
sys/dev/sound/pci/hda/pin_patch.h
59
PIN_PATCH_STRING(n, "as=6 misc=1 ctype=Digital device=Mic loc=Internal conn=Fixed")
sys/dev/sound/pci/hda/pin_patch.h
60
#define PIN_PATCH_MIC_FRONT(n) \
sys/dev/sound/pci/hda/pin_patch.h
61
PIN_PATCH_STRING(n, "as=4 misc=12 color=Pink ctype=1/8 device=Mic loc=Front")
sys/dev/sound/pci/hda/pin_patch.h
62
#define PIN_PATCH_LINE_IN(n) \
sys/dev/sound/pci/hda/pin_patch.h
63
PIN_PATCH_STRING(n, "seq=1 as=3 color=Blue ctype=1/8 device=Line-in loc=Rear")
sys/dev/sound/pci/hda/pin_patch.h
64
#define PIN_PATCH_LINE_OUT(n) \
sys/dev/sound/pci/hda/pin_patch.h
65
PIN_PATCH_STRING(n, "as=1 color=Green ctype=1/8 loc=Rear")
sys/dev/sound/pci/hda/pin_patch.h
66
#define PIN_PATCH_SPDIF_OUT(n) \
sys/dev/sound/pci/hda/pin_patch.h
67
PIN_PATCH_STRING(n, "as=4 misc=1 color=Green ctype=Optical device=SPDIF-out loc=Rear")
sys/dev/sound/pci/hda/pin_patch.h
68
#define PIN_PATCH_JACK_WO_DETECT(n) \
sys/dev/sound/pci/hda/pin_patch.h
69
PIN_PATCH_STRING(n, "seq=12 as=3 misc=1 color=Pink ctype=1/8 device=Mic loc=Rear")
sys/dev/sound/pci/hda/pin_patch.h
70
#define PIN_PATCH_HPMIC_WO_DETECT(n) \
sys/dev/sound/pci/hda/pin_patch.h
71
PIN_PATCH_STRING(n, "seq=13 as=3 misc=1 color=Pink ctype=1/8 device=Mic loc=Rear")
sys/dev/sound/pci/hda/pin_patch.h
72
#define PIN_PATCH_HPMIC_WITH_DETECT(n) \
sys/dev/sound/pci/hda/pin_patch.h
73
PIN_PATCH_STRING(n, "seq=12 as=3 color=Pink ctype=1/8 device=Mic loc=Rear")
sys/dev/sound/pci/hda/pin_patch.h
74
#define PIN_PATCH_CLFE(n) \
sys/dev/sound/pci/hda/pin_patch.h
75
PIN_PATCH_STRING(n, "seq=1 as=1 misc=4 color=Black ctype=1/8 loc=Rear")
sys/dev/sound/pci/hda/pin_patch.h
76
#define PIN_PATCH_SURROUND(n) \
sys/dev/sound/pci/hda/pin_patch.h
77
PIN_PATCH_STRING(n, "seq=2 as=1 misc=4 color=Orange ctype=1/8 loc=Rear")
sys/dev/sound/pci/hda/pin_patch.h
78
#define PIN_PATCH_SUBWOOFER(n) \
sys/dev/sound/pci/hda/pin_patch.h
79
PIN_PATCH_STRING(n, "seq=1 as=1 misc=1 ctype=ATAPI device=Speaker loc=Onboard conn=Fixed")
sys/dev/sound/pci/hda/pin_patch.h
80
#define PIN_PATCH_DOCK_LINE_OUT(n) \
sys/dev/sound/pci/hda/pin_patch.h
81
PIN_PATCH_STRING(n, "seq=15 as=3 color=Black ctype=1/8 loc=Ext-Rear")
sys/dev/sound/pci/hda/pin_patch.h
82
#define PIN_PATCH_DOCK_HP(n) \
sys/dev/sound/pci/hda/pin_patch.h
83
PIN_PATCH_STRING(n, "seq=15 as=3 color=Black ctype=1/8 device=Headphones loc=Ext-Rear")
sys/dev/sound/pci/hda/pin_patch.h
84
#define PIN_PATCH_DOCK_MIC_IN(n) \
sys/dev/sound/pci/hda/pin_patch.h
85
PIN_PATCH_STRING(n, "as=4 color=Black ctype=1/8 device=Mic loc=Ext-Left")
sys/dev/sound/pci/hdsp-pcm.c
145
hdsp_slot_first_n(uint32_t slots, unsigned int n)
sys/dev/sound/pci/hdsp-pcm.c
149
if ((slots & slot) && n > 0)
sys/dev/sound/pci/hdsp-pcm.c
150
--n;
sys/dev/sound/pci/hdsp-pcm.c
48
uint32_t n;
sys/dev/sound/pci/hdsp-pcm.c
952
sc->ctrl_register |= hdsp_encode_latency(hl->n);
sys/dev/sound/pci/hdsp.c
630
int n;
sys/dev/sound/pci/hdsp.c
633
n = 0;
sys/dev/sound/pci/hdsp.c
646
if (n > 0)
sys/dev/sound/pci/hdsp.c
647
n += strlcpy(buf + n, ",", sizeof(buf) - n);
sys/dev/sound/pci/hdsp.c
648
n += strlcpy(buf + n, clock->name, sizeof(buf) - n);
sys/dev/sound/pci/hdsp.c
708
int n;
sys/dev/sound/pci/hdsp.c
712
n = 0;
sys/dev/sound/pci/hdsp.c
732
if (n > 0)
sys/dev/sound/pci/hdsp.c
733
n += strlcpy(buf + n, ",", sizeof(buf) - n);
sys/dev/sound/pci/hdsp.c
742
n += snprintf(buf + n, sizeof(buf) - n, "%s(%s)",
sys/dev/sound/pci/hdsp.h
176
#define HDSP_CONTROL_CLOCK(n) (((n & 0x04) << 11) | ((n & 0x03) << 16))
sys/dev/sound/pci/hdsp.h
179
#define HDSP_STATUS2_CLOCK(n) ((n & 0x07) << 8)
sys/dev/sound/pci/hdspe-pcm.c
46
uint32_t n;
sys/dev/sound/pci/hdspe-pcm.c
546
unsigned int n;
sys/dev/sound/pci/hdspe-pcm.c
552
n = AFMT_CHANNEL(ch->format); /* n channels */
sys/dev/sound/pci/hdspe-pcm.c
556
if (n == hdspe_channel_count(ch->ports, 2))
sys/dev/sound/pci/hdspe-pcm.c
558
else if (n == hdspe_channel_count(ch->ports, 4))
sys/dev/sound/pci/hdspe-pcm.c
566
pos = sndbuf_getreadyptr(ch->buffer) / n;
sys/dev/sound/pci/hdspe-pcm.c
567
length = sndbuf_getready(ch->buffer) / n;
sys/dev/sound/pci/hdspe-pcm.c
580
pos = sndbuf_getfreeptr(ch->buffer) / n;
sys/dev/sound/pci/hdspe-pcm.c
947
sc->ctrl_register |= hdspe_encode_latency(hl->n);
sys/dev/sound/pci/hdspe.c
598
int n;
sys/dev/sound/pci/hdspe.c
601
n = 0;
sys/dev/sound/pci/hdspe.c
614
if (n > 0)
sys/dev/sound/pci/hdspe.c
615
n += strlcpy(buf + n, ",", sizeof(buf) - n);
sys/dev/sound/pci/hdspe.c
616
n += strlcpy(buf + n, clock->name, sizeof(buf) - n);
sys/dev/sound/pci/hdspe.c
628
int n;
sys/dev/sound/pci/hdspe.c
632
n = 0;
sys/dev/sound/pci/hdspe.c
650
if (n > 0)
sys/dev/sound/pci/hdspe.c
651
n += strlcpy(buf + n, ",", sizeof(buf) - n);
sys/dev/sound/pci/hdspe.c
657
n += snprintf(buf + n, sizeof(buf) - n, "%s(%s)",
sys/dev/sound/pci/hdspe.h
167
#define HDSPE_STATUS1_CLOCK(n) (((n) << HDSPE_STATUS1_CLOCK_SHIFT) & \
sys/dev/sound/pci/via8233.h
49
#define VIA_DXS_BASE(n) (0x10 * (n))
sys/dev/sound/pci/via8233.h
91
#define VIA_WR_BASE(n) (0x60 + (n) * 0x10)
sys/dev/sound/pci/vibes.c
129
uint8_t n;
sys/dev/sound/pci/vibes.c
132
n = sv_direct_get(sc, reg);
sys/dev/sound/pci/vibes.c
133
if (n != val) {
sys/dev/sound/pci/vibes.c
134
device_printf(sc->dev, "sv_direct_set register 0x%02x %d != %d from line %d\n", reg, n, val, line);
sys/dev/sound/pci/vibes.c
161
uint8_t n;
sys/dev/sound/pci/vibes.c
162
n = sv_indirect_get(sc, reg);
sys/dev/sound/pci/vibes.c
163
if (n != val) {
sys/dev/sound/pci/vibes.c
164
device_printf(sc->dev, "sv_indirect_set register 0x%02x %d != %d line %d\n", reg, n, val, line);
sys/dev/sound/pci/vibes.c
259
uint32_t rs, re, r, best_r = 0, r2, t, n, best_n = 0;
sys/dev/sound/pci/vibes.c
280
for (n = 3; n < 34; n++) {
sys/dev/sound/pci/vibes.c
281
m = f_out * n / (SV_F_REF / r2);
sys/dev/sound/pci/vibes.c
285
f_actual = m * SV_F_REF / (n * r2);
sys/dev/sound/pci/vibes.c
294
best_n = n - 2;
sys/dev/sound/sndstat.c
1105
sndstat_line2userdev(struct sndstat_file *pf, const char *line, int n)
sys/dev/sound/usb/uaudio.c
197
#define MIX_SIZE(n) ((((n) == MIX_SIGNED_16) || \
sys/dev/sound/usb/uaudio.c
198
((n) == MIX_UNSIGNED_16)) ? 2 : 1)
sys/dev/sound/usb/uaudio.c
199
#define MIX_UNSIGNED(n) ((n) == MIX_UNSIGNED_16)
sys/dev/sound/usb/uaudio.c
2436
uint32_t n;
sys/dev/sound/usb/uaudio.c
2549
for (n = 0; n != blockcount; n++) {
sys/dev/sound/usb/uaudio.c
2572
usbd_xfer_set_frame_len(xfer, n, frame_len);
sys/dev/sound/usb/uaudio.c
2582
n = (ch->end - ch->cur);
sys/dev/sound/usb/uaudio.c
2583
if (n > total)
sys/dev/sound/usb/uaudio.c
2584
n = total;
sys/dev/sound/usb/uaudio.c
2586
usbd_copy_in(pc, offset, ch->cur, n);
sys/dev/sound/usb/uaudio.c
2588
total -= n;
sys/dev/sound/usb/uaudio.c
2589
ch->cur += n;
sys/dev/sound/usb/uaudio.c
2590
offset += n;
sys/dev/sound/usb/uaudio.c
2619
int n;
sys/dev/sound/usb/uaudio.c
2654
for (n = 0; n != nframes; n++) {
sys/dev/sound/usb/uaudio.c
2657
len = usbd_xfer_frame_len(xfer, n);
sys/dev/sound/usb/uaudio.c
2712
for (n = 0; n != nframes; n++)
sys/dev/sound/usb/uaudio.c
2713
usbd_xfer_set_frame_len(xfer, n, mfl);
sys/dev/sound/usb/uaudio.c
3101
int n;
sys/dev/sound/usb/uaudio.c
3113
for (n = 0, pmc = sc->sc_mixer_root; pmc != NULL;
sys/dev/sound/usb/uaudio.c
3114
pmc = pmc->next, n++) {
sys/dev/sound/usb/uaudio.c
3118
pmc->name, n, chan);
sys/dev/sound/usb/uaudio.c
3121
pmc->name, n);
sys/dev/sound/usb/uaudio.c
4544
uint8_t n;
sys/dev/sound/usb/uaudio.c
4546
n = *pindex;
sys/dev/sound/usb/uaudio.c
4549
if (!n--)
sys/dev/sound/usb/uaudio.c
4550
n = iot->usr.id_max;
sys/dev/sound/usb/uaudio.c
4551
if (n == 0)
sys/dev/sound/usb/uaudio.c
4553
if (iot->usr.bit_input[n / 8] & (1 << (n % 8)))
sys/dev/sound/usb/uaudio.c
4556
*pindex = n;
sys/dev/sound/usb/uaudio.c
4563
uint8_t n;
sys/dev/sound/usb/uaudio.c
4565
n = *pindex;
sys/dev/sound/usb/uaudio.c
4568
if (!n--)
sys/dev/sound/usb/uaudio.c
4569
n = iot->usr.id_max;
sys/dev/sound/usb/uaudio.c
4570
if (n == 0)
sys/dev/sound/usb/uaudio.c
4572
if (iot->usr.bit_output[n / 8] & (1 << (n % 8)))
sys/dev/sound/usb/uaudio.c
4575
*pindex = n;
sys/dev/sound/usb/uaudio.c
4786
uint8_t n;
sys/dev/sound/usb/uaudio.c
4789
for (n = 0; n < n_id; n++) {
sys/dev/sound/usb/uaudio.c
4790
i = p_id[n];
sys/dev/sound/usb/uaudio.c
4863
uint8_t n;
sys/dev/sound/usb/uaudio.c
4866
for (n = 0; n < n_id; n++) {
sys/dev/sound/usb/uaudio.c
4867
i = p_id[n];
sys/dev/sound/usb/uaudio.c
4953
uint8_t n;
sys/dev/sound/usb/uaudio.c
4959
for (n = 0; n < n_id; n++) {
sys/dev/sound/usb/uaudio.c
4960
i = p_id[n];
sys/dev/sound/usb/uaudio.c
4974
is_last = ((n + 1) == n_id);
sys/dev/sound/usb/uaudio.c
5934
uint32_t n;
sys/dev/sound/usb/uaudio.c
5936
for (n = 0; n < UMIDI_EMB_JACK_MAX; n++) {
sys/dev/sound/usb/uaudio.c
5937
sub = &chan->sub[n];
sys/dev/sound/usb/uaudio.c
6088
uint32_t n;
sys/dev/sound/usb/uaudio.c
6140
for (n = 0; n < chan->max_emb_jack; n++) {
sys/dev/sound/usb/uaudio.c
6141
sub = &chan->sub[n];
sys/dev/sound/usb/uaudio.c
6144
&umidi_fifo_methods, &sub->fifo, unit, n,
sys/dev/sound/usb/uaudio.c
6175
uint32_t n;
sys/dev/sound/usb/uaudio.c
6177
for (n = 0; n < UMIDI_EMB_JACK_MAX; n++)
sys/dev/sound/usb/uaudio.c
6178
usb_fifo_detach(&chan->sub[n].fifo);
sys/dev/sound/usb/uaudioreg.h
141
#define UA_GETSAMP(p, n) ((uint32_t)((((p)->tSamFreq[((n)*3)+0]) | \
sys/dev/sound/usb/uaudioreg.h
142
((p)->tSamFreq[((n)*3)+1] << 8) | \
sys/dev/sound/usb/uaudioreg.h
143
((p)->tSamFreq[((n)*3)+2] << 16))))
sys/dev/sound/usb/uaudioreg.h
412
#define UA_PROC_MASK(n) (1<< ((n)-1))
sys/dev/speaker/spkr.c
451
unsigned n;
sys/dev/speaker/spkr.c
468
n = uio->uio_resid;
sys/dev/speaker/spkr.c
469
error = uiomove(state->inbuf, n, uio);
sys/dev/speaker/spkr.c
472
state->inbuf[n] = '\0';
sys/dev/speaker/spkr.c
476
playstring(state, state->inbuf, n);
sys/dev/spibus/spigen.c
301
size_t n, pages;
sys/dev/spibus/spigen.c
326
for (n = 0; n < pages; n++) {
sys/dev/spibus/spigen.c
327
m[n] = vm_page_grab(mmap->bufobj, n,
sys/dev/spibus/spigen.c
329
vm_page_valid(m[n]);
sys/dev/spibus/spigen.c
330
vm_page_xunbusy(m[n]);
sys/dev/ste/if_ste.c
2008
#define STE_SYSCTL_STAT_ADD32(c, h, n, p, d) \
sys/dev/ste/if_ste.c
2009
SYSCTL_ADD_UINT(c, h, OID_AUTO, n, CTLFLAG_RD, p, 0, d)
sys/dev/ste/if_ste.c
2010
#define STE_SYSCTL_STAT_ADD64(c, h, n, p, d) \
sys/dev/ste/if_ste.c
2011
SYSCTL_ADD_UQUAD(c, h, OID_AUTO, n, CTLFLAG_RD, p, d)
sys/dev/stge/if_stge.c
1592
struct mbuf *n;
sys/dev/stge/if_stge.c
1594
n = NULL;
sys/dev/stge/if_stge.c
1598
n = m;
sys/dev/stge/if_stge.c
1600
MGETHDR(n, M_NOWAIT, MT_DATA);
sys/dev/stge/if_stge.c
1601
if (n != NULL) {
sys/dev/stge/if_stge.c
1602
bcopy(m->m_data, n->m_data, ETHER_HDR_LEN);
sys/dev/stge/if_stge.c
1605
n->m_len = ETHER_HDR_LEN;
sys/dev/stge/if_stge.c
1606
M_MOVE_PKTHDR(n, m);
sys/dev/stge/if_stge.c
1607
n->m_next = m;
sys/dev/stge/if_stge.c
1612
return (n);
sys/dev/sym/sym_defs.h
697
#define SCR_COPY(n) (0xc0000000 | SCR_NO_FLUSH | (n))
sys/dev/sym/sym_defs.h
698
#define SCR_COPY_F(n) (0xc0000000 | (n))
sys/dev/sym/sym_defs.h
799
#define SCR_LOAD_R(reg, how, n) \
sys/dev/sym/sym_defs.h
800
(0xe1000000 | (how) | (SCR_REG_OFS2(REG(reg))) | (n))
sys/dev/sym/sym_defs.h
802
#define SCR_STORE_R(reg, how, n) \
sys/dev/sym/sym_defs.h
803
(0xe0000000 | (how) | (SCR_REG_OFS2(REG(reg))) | (n))
sys/dev/sym/sym_defs.h
805
#define SCR_LOAD_ABS(reg, n) SCR_LOAD_R(reg, SCR_NO_FLUSH2, n)
sys/dev/sym/sym_defs.h
806
#define SCR_LOAD_REL(reg, n) SCR_LOAD_R(reg, SCR_NO_FLUSH2|SCR_DSA_REL2, n)
sys/dev/sym/sym_defs.h
807
#define SCR_LOAD_ABS_F(reg, n) SCR_LOAD_R(reg, 0, n)
sys/dev/sym/sym_defs.h
808
#define SCR_LOAD_REL_F(reg, n) SCR_LOAD_R(reg, SCR_DSA_REL2, n)
sys/dev/sym/sym_defs.h
810
#define SCR_STORE_ABS(reg, n) SCR_STORE_R(reg, SCR_NO_FLUSH2, n)
sys/dev/sym/sym_defs.h
811
#define SCR_STORE_REL(reg, n) SCR_STORE_R(reg, SCR_NO_FLUSH2|SCR_DSA_REL2,n)
sys/dev/sym/sym_defs.h
812
#define SCR_STORE_ABS_F(reg, n) SCR_STORE_R(reg, 0, n)
sys/dev/sym/sym_defs.h
813
#define SCR_STORE_REL_F(reg, n) SCR_STORE_R(reg, SCR_DSA_REL2, n)
sys/dev/sym/sym_hipd.c
224
#define sym_set_bit(p, n) (((u32 *)(p))[(n)>>5] |= (1<<((n)&0x1f)))
sys/dev/sym/sym_hipd.c
225
#define sym_clr_bit(p, n) (((u32 *)(p))[(n)>>5] &= ~(1<<((n)&0x1f)))
sys/dev/sym/sym_hipd.c
226
#define sym_is_bit(p, n) (((u32 *)(p))[(n)>>5] & (1<<((n)&0x1f)))
sys/dev/sym/sym_hipd.c
3041
int i, n;
sys/dev/sym/sym_hipd.c
3046
n = 0;
sys/dev/sym/sym_hipd.c
3060
++n;
sys/dev/sym/sym_hipd.c
3067
return n;
sys/dev/sym/sym_hipd.c
499
#define __sym_calloc(mp, s, n) __sym_calloc2(mp, s, n, MEMO_WARN)
sys/dev/sym/sym_hipd.c
5301
int n;
sys/dev/sym/sym_hipd.c
5305
n = dp_ofs + (tmp & 0xffffff);
sys/dev/sym/sym_hipd.c
5306
if (n > 0) {
sys/dev/sym/sym_hipd.c
5310
dp_ofs = n;
sys/dev/sym/sym_hipd.c
746
#define _sym_calloc_dma(np, s, n) __sym_calloc_dma(np->bus_dmat, s, n)
sys/dev/sym/sym_hipd.c
747
#define _sym_mfree_dma(np, p, s, n) \
sys/dev/sym/sym_hipd.c
748
__sym_mfree_dma(np->bus_dmat, _uvptv_(p), s, n)
sys/dev/sym/sym_hipd.c
749
#define sym_calloc_dma(s, n) _sym_calloc_dma(np, s, n)
sys/dev/sym/sym_hipd.c
750
#define sym_mfree_dma(p, s, n) _sym_mfree_dma(np, p, s, n)
sys/dev/sym/sym_hipd.c
757
static void sym_printb_hex (u_char *p, int n)
sys/dev/sym/sym_hipd.c
759
while (n-- > 0)
sys/dev/sym/sym_hipd.c
766
static void sym_printl_hex (char *label, u_char *p, int n)
sys/dev/sym/sym_hipd.c
769
sym_printb_hex (p, n);
sys/dev/syscons/fire/fire_saver.c
51
#define RED(n) ((n) * 3 + 0)
sys/dev/syscons/fire/fire_saver.c
52
#define GREEN(n) ((n) * 3 + 1)
sys/dev/syscons/fire/fire_saver.c
53
#define BLUE(n) ((n) * 3 + 2)
sys/dev/syscons/plasma/fp16.h
32
#define ItoFP16(n) ((signed long long)(n) << 16)
sys/dev/syscons/plasma/fp16.h
33
#define FP16toI(n) ((signed long long)(n) >> 16)
sys/dev/syscons/plasma/fp16.h
36
#define FP16toF(n) ((n) / 65536.0)
sys/dev/syscons/rain/rain_saver.c
50
#define RED(n) ((n) * 3 + 0)
sys/dev/syscons/rain/rain_saver.c
51
#define GREEN(n) ((n) * 3 + 1)
sys/dev/syscons/rain/rain_saver.c
52
#define BLUE(n) ((n) * 3 + 2)
sys/dev/syscons/scgfbrndr.c
137
int i, n;
sys/dev/syscons/scgfbrndr.c
158
n = (count / adp->va_info.vi_width) + 1;
sys/dev/syscons/scgfbrndr.c
161
vidd_copy(adp, n, 0, n);
sys/dev/syscons/scgfbrndr.c
163
vidd_clear(adp, n);
sys/dev/syscons/scterm-sc.c
201
int i, n;
sys/dev/syscons/scterm-sc.c
203
i = n = 0;
sys/dev/syscons/scterm-sc.c
295
n = tcp->param[0];
sys/dev/syscons/scterm-sc.c
296
if (n < 1)
sys/dev/syscons/scterm-sc.c
297
n = 1;
sys/dev/syscons/scterm-sc.c
298
sc_move_cursor(scp, 0, scp->ypos + n);
sys/dev/syscons/scterm-sc.c
302
n = tcp->param[0];
sys/dev/syscons/scterm-sc.c
303
if (n < 1)
sys/dev/syscons/scterm-sc.c
304
n = 1;
sys/dev/syscons/scterm-sc.c
305
sc_move_cursor(scp, 0, scp->ypos - n);
sys/dev/syscons/scterm-sc.c
319
n = 0;
sys/dev/syscons/scterm-sc.c
321
n = tcp->param[0];
sys/dev/syscons/scterm-sc.c
322
sc_term_clr_eos(scp, n, sc->scr_map[0x20],
sys/dev/syscons/scterm-sc.c
328
n = 0;
sys/dev/syscons/scterm-sc.c
330
n = tcp->param[0];
sys/dev/syscons/scterm-sc.c
331
sc_term_clr_eol(scp, n, sc->scr_map[0x20],
sys/dev/syscons/scterm-sc.c
366
n = tcp->param[0];
sys/dev/syscons/scterm-sc.c
367
if (n < 1)
sys/dev/syscons/scterm-sc.c
368
n = 1;
sys/dev/syscons/scterm-sc.c
369
if (n > scp->xsize - scp->xpos)
sys/dev/syscons/scterm-sc.c
370
n = scp->xsize - scp->xpos;
sys/dev/syscons/scterm-sc.c
371
sc_vtb_erase(&scp->vtb, scp->cursor_pos, n,
sys/dev/syscons/scterm-sc.c
374
mark_for_update(scp, scp->cursor_pos + n - 1);
sys/dev/syscons/scterm-sc.c
405
switch (n = tcp->param[i]) {
sys/dev/syscons/scterm-sc.c
447
tcp->cur_color.fg = ansi_col[n - 30];
sys/dev/syscons/scterm-sc.c
459
tcp->cur_color.bg = ansi_col[n - 40];
sys/dev/syscons/scterm-sc.c
484
n = 0;
sys/dev/syscons/scterm-sc.c
486
n = tcp->param[0];
sys/dev/syscons/scterm-sc.c
487
switch (n) {
sys/dev/syscons/scterm-sc.c
574
n = tcp->num_param;
sys/dev/syscons/scterm-sc.c
578
switch (n) {
sys/dev/syscons/scterm-sc.c
638
n = tcp->num_param;
sys/dev/syscons/scterm-sc.c
640
switch (n) {
sys/dev/syscons/scterm-teken.c
689
int flags, n, v0, v1, v2;
sys/dev/syscons/scterm-teken.c
698
n = value & 0xff;
sys/dev/syscons/scterm-teken.c
702
switch (n) {
sys/dev/syscons/sctermvar.h
100
sc_vtb_erase(&scp->vtb, scp->cursor_pos, n, ch, attr);
sys/dev/syscons/sctermvar.h
102
mark_for_update(scp, scp->cursor_pos + n + count - 1);
sys/dev/syscons/sctermvar.h
106
sc_term_del_char(scr_stat *scp, int n, int ch, int attr)
sys/dev/syscons/sctermvar.h
110
if (n < 1)
sys/dev/syscons/sctermvar.h
111
n = 1;
sys/dev/syscons/sctermvar.h
112
if (n > scp->xsize - scp->xpos)
sys/dev/syscons/sctermvar.h
113
n = scp->xsize - scp->xpos;
sys/dev/syscons/sctermvar.h
114
count = scp->xsize - (scp->xpos + n);
sys/dev/syscons/sctermvar.h
115
sc_vtb_move(&scp->vtb, scp->cursor_pos + n, scp->cursor_pos, count);
sys/dev/syscons/sctermvar.h
116
sc_vtb_erase(&scp->vtb, scp->cursor_pos + count, n, ch, attr);
sys/dev/syscons/sctermvar.h
118
mark_for_update(scp, scp->cursor_pos + n + count - 1);
sys/dev/syscons/sctermvar.h
122
sc_term_col(scr_stat *scp, int n)
sys/dev/syscons/sctermvar.h
124
if (n < 1)
sys/dev/syscons/sctermvar.h
125
n = 1;
sys/dev/syscons/sctermvar.h
126
sc_move_cursor(scp, n - 1, scp->ypos);
sys/dev/syscons/sctermvar.h
130
sc_term_row(scr_stat *scp, int n)
sys/dev/syscons/sctermvar.h
132
if (n < 1)
sys/dev/syscons/sctermvar.h
133
n = 1;
sys/dev/syscons/sctermvar.h
134
sc_move_cursor(scp, scp->xpos, n - 1);
sys/dev/syscons/sctermvar.h
138
sc_term_up(scr_stat *scp, int n, int head)
sys/dev/syscons/sctermvar.h
140
if (n < 1)
sys/dev/syscons/sctermvar.h
141
n = 1;
sys/dev/syscons/sctermvar.h
142
n = imin(n, scp->ypos - head);
sys/dev/syscons/sctermvar.h
143
if (n <= 0)
sys/dev/syscons/sctermvar.h
145
sc_move_cursor(scp, scp->xpos, scp->ypos - n);
sys/dev/syscons/sctermvar.h
149
sc_term_down(scr_stat *scp, int n, int tail)
sys/dev/syscons/sctermvar.h
153
if (n < 1)
sys/dev/syscons/sctermvar.h
154
n = 1;
sys/dev/syscons/sctermvar.h
155
n = imin(n, tail - scp->ypos - 1);
sys/dev/syscons/sctermvar.h
156
if (n <= 0)
sys/dev/syscons/sctermvar.h
158
sc_move_cursor(scp, scp->xpos, scp->ypos + n);
sys/dev/syscons/sctermvar.h
162
sc_term_left(scr_stat *scp, int n)
sys/dev/syscons/sctermvar.h
164
if (n < 1)
sys/dev/syscons/sctermvar.h
165
n = 1;
sys/dev/syscons/sctermvar.h
166
sc_move_cursor(scp, scp->xpos - n, scp->ypos);
sys/dev/syscons/sctermvar.h
170
sc_term_right(scr_stat *scp, int n)
sys/dev/syscons/sctermvar.h
172
if (n < 1)
sys/dev/syscons/sctermvar.h
173
n = 1;
sys/dev/syscons/sctermvar.h
174
sc_move_cursor(scp, scp->xpos + n, scp->ypos);
sys/dev/syscons/sctermvar.h
178
sc_term_up_scroll(scr_stat *scp, int n, int ch, int attr, int head, int tail)
sys/dev/syscons/sctermvar.h
182
if (n < 1)
sys/dev/syscons/sctermvar.h
183
n = 1;
sys/dev/syscons/sctermvar.h
184
if (n <= scp->ypos - head) {
sys/dev/syscons/sctermvar.h
185
sc_move_cursor(scp, scp->xpos, scp->ypos - n);
sys/dev/syscons/sctermvar.h
187
sc_term_ins_line(scp, head, n - (scp->ypos - head),
sys/dev/syscons/sctermvar.h
194
sc_term_down_scroll(scr_stat *scp, int n, int ch, int attr, int head, int tail)
sys/dev/syscons/sctermvar.h
198
if (n < 1)
sys/dev/syscons/sctermvar.h
199
n = 1;
sys/dev/syscons/sctermvar.h
200
if (n < tail - scp->ypos) {
sys/dev/syscons/sctermvar.h
201
sc_move_cursor(scp, scp->xpos, scp->ypos + n);
sys/dev/syscons/sctermvar.h
203
sc_term_del_line(scp, head, n - (tail - scp->ypos) + 1,
sys/dev/syscons/sctermvar.h
210
sc_term_clr_eos(scr_stat *scp, int n, int ch, int attr)
sys/dev/syscons/sctermvar.h
212
switch (n) {
sys/dev/syscons/sctermvar.h
237
sc_term_clr_eol(scr_stat *scp, int n, int ch, int attr)
sys/dev/syscons/sctermvar.h
239
switch (n) {
sys/dev/syscons/sctermvar.h
263
sc_term_tab(scr_stat *scp, int n)
sys/dev/syscons/sctermvar.h
267
if (n < 1)
sys/dev/syscons/sctermvar.h
268
n = 1;
sys/dev/syscons/sctermvar.h
269
i = (scp->xpos & ~7) + 8*n;
sys/dev/syscons/sctermvar.h
282
sc_term_backtab(scr_stat *scp, int n)
sys/dev/syscons/sctermvar.h
286
if (n < 1)
sys/dev/syscons/sctermvar.h
287
n = 1;
sys/dev/syscons/sctermvar.h
289
i -= 8*n;
sys/dev/syscons/sctermvar.h
291
i -= 8*(n - 1);
sys/dev/syscons/sctermvar.h
34
static __inline void sc_term_ins_line(scr_stat *scp, int y, int n, int ch,
sys/dev/syscons/sctermvar.h
36
static __inline void sc_term_del_line(scr_stat *scp, int y, int n, int ch,
sys/dev/syscons/sctermvar.h
38
static __inline void sc_term_ins_char(scr_stat *scp, int n, int ch,
sys/dev/syscons/sctermvar.h
40
static __inline void sc_term_del_char(scr_stat *scp, int n, int ch,
sys/dev/syscons/sctermvar.h
42
static __inline void sc_term_col(scr_stat *scp, int n);
sys/dev/syscons/sctermvar.h
43
static __inline void sc_term_row(scr_stat *scp, int n);
sys/dev/syscons/sctermvar.h
44
static __inline void sc_term_up(scr_stat *scp, int n, int head);
sys/dev/syscons/sctermvar.h
45
static __inline void sc_term_down(scr_stat *scp, int n, int tail);
sys/dev/syscons/sctermvar.h
46
static __inline void sc_term_left(scr_stat *scp, int n);
sys/dev/syscons/sctermvar.h
47
static __inline void sc_term_right(scr_stat *scp, int n);
sys/dev/syscons/sctermvar.h
48
static __inline void sc_term_up_scroll(scr_stat *scp, int n, int ch,
sys/dev/syscons/sctermvar.h
50
static __inline void sc_term_down_scroll(scr_stat *scp, int n, int ch,
sys/dev/syscons/sctermvar.h
52
static __inline void sc_term_clr_eos(scr_stat *scp, int n, int ch, int attr);
sys/dev/syscons/sctermvar.h
53
static __inline void sc_term_clr_eol(scr_stat *scp, int n, int ch, int attr);
sys/dev/syscons/sctermvar.h
54
static __inline void sc_term_tab(scr_stat *scp, int n);
sys/dev/syscons/sctermvar.h
55
static __inline void sc_term_backtab(scr_stat *scp, int n);
sys/dev/syscons/sctermvar.h
62
sc_term_ins_line(scr_stat *scp, int y, int n, int ch, int attr, int tail)
sys/dev/syscons/sctermvar.h
66
if (n < 1)
sys/dev/syscons/sctermvar.h
67
n = 1;
sys/dev/syscons/sctermvar.h
68
if (n > tail - y)
sys/dev/syscons/sctermvar.h
69
n = tail - y;
sys/dev/syscons/sctermvar.h
70
sc_vtb_ins(&scp->vtb, y*scp->xsize, n*scp->xsize, ch, attr);
sys/dev/syscons/sctermvar.h
76
sc_term_del_line(scr_stat *scp, int y, int n, int ch, int attr, int tail)
sys/dev/syscons/sctermvar.h
80
if (n < 1)
sys/dev/syscons/sctermvar.h
81
n = 1;
sys/dev/syscons/sctermvar.h
82
if (n > tail - y)
sys/dev/syscons/sctermvar.h
83
n = tail - y;
sys/dev/syscons/sctermvar.h
84
sc_vtb_delete(&scp->vtb, y*scp->xsize, n*scp->xsize, ch, attr);
sys/dev/syscons/sctermvar.h
90
sc_term_ins_char(scr_stat *scp, int n, int ch, int attr)
sys/dev/syscons/sctermvar.h
94
if (n < 1)
sys/dev/syscons/sctermvar.h
95
n = 1;
sys/dev/syscons/sctermvar.h
96
if (n > scp->xsize - scp->xpos)
sys/dev/syscons/sctermvar.h
97
n = scp->xsize - scp->xpos;
sys/dev/syscons/sctermvar.h
98
count = scp->xsize - (scp->xpos + n);
sys/dev/syscons/sctermvar.h
99
sc_vtb_move(&scp->vtb, scp->cursor_pos, scp->cursor_pos + n, count);
sys/dev/syscons/scvgarndr.c
390
int aspect, best_i, best_v, i, n, v, wb, wi, xpixel, ypixel;
sys/dev/syscons/scvgarndr.c
415
n = nitems(mousesmall);
sys/dev/syscons/scvgarndr.c
418
n = nitems(mouselarge);
sys/dev/syscons/scvgarndr.c
429
for (i = 0; i < n; i++) {
sys/dev/syscons/warp/warp_saver.c
69
int i, j, k, n, o, p;
sys/dev/syscons/warp/warp_saver.c
72
for (i = 1, k = 0, n = SPP*8; i < 5; i++, n /= 2) {
sys/dev/syscons/warp/warp_saver.c
73
for (j = 0; j < n; j++, k++) {
sys/dev/thunderbolt/tb_pcib.c
107
for (n = tb_pcib_identifiers; n->vendor != 0; n++) {
sys/dev/thunderbolt/tb_pcib.c
108
if ((n->vendor != v) || (n->device != d))
sys/dev/thunderbolt/tb_pcib.c
114
if (((n->subvendor != 0xffff) && (n->subvendor != sv)) ||
sys/dev/thunderbolt/tb_pcib.c
115
((n->subdevice != 0xffff) && (n->subdevice != sd)))
sys/dev/thunderbolt/tb_pcib.c
117
return (n);
sys/dev/thunderbolt/tb_pcib.c
178
struct tb_pcib_ident *n;
sys/dev/thunderbolt/tb_pcib.c
181
if ((n = tb_pcib_find_ident(dev)) != NULL) {
sys/dev/thunderbolt/tb_pcib.c
187
snprintf(desc, TB_DESC_MAX, "%s %s", n->desc, suffix);
sys/dev/thunderbolt/tb_pcib.c
209
struct tb_pcib_ident *n;
sys/dev/thunderbolt/tb_pcib.c
218
n = tb_pcib_find_ident(dev);
sys/dev/thunderbolt/tb_pcib.c
219
KASSERT(n != NULL, ("Cannot find TB ident"));
sys/dev/thunderbolt/tb_pcib.c
220
sc->flags = n->flags;
sys/dev/thunderbolt/tb_pcib.c
549
struct tb_pcib_ident *n;
sys/dev/thunderbolt/tb_pcib.c
560
if ((n = tb_pcib_find_ident(parent)) != NULL) {
sys/dev/thunderbolt/tb_pcib.c
561
switch (n->flags & TB_GEN_MASK) {
sys/dev/thunderbolt/tb_pcib.c
99
struct tb_pcib_ident *n;
sys/dev/thunderbolt/tbcfg_reg.h
83
#define GET_NOTIFY_EVENT(n) ((n)->event_adap & TB_CFG_EVENT_MASK)
sys/dev/thunderbolt/tbcfg_reg.h
99
#define GET_NOTIFY_ADAPTER(n) (((n)->event_adap & \
sys/dev/tpm/tpm.c
1090
int n;
sys/dev/tpm/tpm.c
1092
for (p = buf, n = len; n--; DELAY(TPM_LEGACY_DELAY)) {
sys/dev/tpm/tpm.c
1093
if (!n && len != TPM_BUFSIZ) {
sys/dev/tpm/tpm.c
1174
int n, len, rv, s;
sys/dev/tpm/tpm.c
1216
for (len -= cnt, p = buf, n = sizeof(buf); len > 0; p = buf, len -= n,
sys/dev/tpm/tpm.c
1217
n = sizeof(buf)) {
sys/dev/tpm/tpm.c
1218
n = MIN(n, len);
sys/dev/tpm/tpm.c
1220
printf("tpmread: n %d len %d\n", n, len);
sys/dev/tpm/tpm.c
1222
if ((rv = (sc->sc_read)(sc, p, n, NULL, TPM_PARAM_SIZE))) {
sys/dev/tpm/tpm.c
1227
p += n;
sys/dev/tpm/tpm.c
1245
int n, rv, s;
sys/dev/tpm/tpm.c
1256
n = MIN(sizeof(buf), uio->uio_resid);
sys/dev/tpm/tpm.c
1257
if ((rv = uiomove((caddr_t)buf, n, uio))) {
sys/dev/tpm/tpm.c
1267
if ((rv = (sc->sc_write(sc, buf, n)))) {
sys/dev/tpm/tpm.c
774
int rv, n, bcnt;
sys/dev/tpm/tpm.c
786
n = MIN(len, bcnt);
sys/dev/tpm/tpm.c
788
printf("tpm_tis12_read: fetching %d, burst is %d\n", n, bcnt);
sys/dev/tpm/tpm.c
790
for (; n--; len--) {
sys/dev/tsec/if_tsecreg.h
193
#define TSEC_REG_IADDR(n) (TSEC_REG_IADDR0 + (n << 2))
sys/dev/tsec/if_tsecreg.h
194
#define TSEC_REG_GADDR(n) (TSEC_REG_GADDR0 + (n << 2))
sys/dev/usb/controller/atmegadci.c
1215
uint8_t n;
sys/dev/usb/controller/atmegadci.c
1239
for (n = 0; n != 20; n++) {
sys/dev/usb/controller/atmegadci.c
1274
for (n = 0; n != ATMEGA_EP_MAX; n++) {
sys/dev/usb/controller/atmegadci.c
1276
ATMEGA_WRITE_1(sc, ATMEGA_UENUM, n);
sys/dev/usb/controller/atmegadci.c
1291
n = ATMEGA_READ_1(sc, ATMEGA_USBSTA);
sys/dev/usb/controller/atmegadci.c
1292
atmegadci_vbus_interrupt(sc, n & ATMEGA_USBSTA_VBUS);
sys/dev/usb/controller/atmegadci.c
1956
uint32_t n;
sys/dev/usb/controller/atmegadci.c
2008
for (n = 0; n != ntd; n++) {
sys/dev/usb/controller/atmegadci.h
43
#define ATMEGA_UEINT_MASK(n) (1 << (n)) /* endpoint interrupt mask */
sys/dev/usb/controller/atmegadci.h
75
#define ATMEGA_UECFG1X_EPSIZE(n) ((n) << 4)
sys/dev/usb/controller/atmegadci.h
91
#define ATMEGA_UERST_MASK(n) (1 << (n))
sys/dev/usb/controller/avr32dci.c
1101
uint8_t n;
sys/dev/usb/controller/avr32dci.c
1134
n = 0;
sys/dev/usb/controller/avr32dci.c
1136
n++;
sys/dev/usb/controller/avr32dci.c
1137
temp |= AVR32_EPTCFG_EPSIZE(n);
sys/dev/usb/controller/avr32dci.c
1190
uint8_t n;
sys/dev/usb/controller/avr32dci.c
1223
for (n = 0; n != AVR32_EP_MAX; n++) {
sys/dev/usb/controller/avr32dci.c
1225
AVR32_WRITE_4(sc, AVR32_EPTCTLDIS(n), AVR32_EPTCTL_EPT_ENABL);
sys/dev/usb/controller/avr32dci.c
1244
uint8_t n;
sys/dev/usb/controller/avr32dci.c
1258
for (n = 0; n != AVR32_EP_MAX; n++) {
sys/dev/usb/controller/avr32dci.c
1260
AVR32_WRITE_4(sc, AVR32_EPTCTLDIS(n), AVR32_EPTCTL_EPT_ENABL);
sys/dev/usb/controller/avr32dci.c
1911
uint32_t n;
sys/dev/usb/controller/avr32dci.c
1963
for (n = 0; n != ntd; n++) {
sys/dev/usb/controller/avr32dci.h
118
#define AVR32_EPTSETSTA(n) _A(0x114, n) /* Endpoint Set Status */
sys/dev/usb/controller/avr32dci.h
119
#define AVR32_EPTCLRSTA(n) _A(0x118, n) /* Endpoint Clear Status */
sys/dev/usb/controller/avr32dci.h
120
#define AVR32_EPTSTA(n) _A(0x11C, n) /* Endpoint Status */
sys/dev/usb/controller/avr32dci.h
59
#define AVR32_INT_EPT_INT(n) (0x00000100 << (n))
sys/dev/usb/controller/avr32dci.h
60
#define AVR32_INT_DMA_INT(n) (0x01000000 << (n))
sys/dev/usb/controller/avr32dci.h
63
#define AVR32_EPTRST_MASK(n) (0x00000001 << (n))
sys/dev/usb/controller/avr32dci.h
84
#define _A(base,n) ((base) + (0x20*(n)))
sys/dev/usb/controller/avr32dci.h
85
#define AVR32_EPTCFG(n) _A(0x100, n) /* Endpoint Configuration */
sys/dev/usb/controller/avr32dci.h
86
#define AVR32_EPTCFG_EPSIZE(n) ((n)-3) /* power of two */
sys/dev/usb/controller/avr32dci.h
93
#define AVR32_EPTCFG_NBANK(n) (0x00000400*(n))
sys/dev/usb/controller/avr32dci.h
94
#define AVR32_EPTCFG_NB_TRANS(n) (0x00001000*(n))
sys/dev/usb/controller/avr32dci.h
97
#define AVR32_EPTCTLENB(n) _A(0x104, n) /* Endpoint Control Enable */
sys/dev/usb/controller/avr32dci.h
98
#define AVR32_EPTCTLDIS(n) _A(0x108, n) /* Endpoint Control Disable */
sys/dev/usb/controller/avr32dci.h
99
#define AVR32_EPTCTL(n) _A(0x10C, n) /* Endpoint Control */
sys/dev/usb/controller/dwc3/dwc3.h
96
#define DWC3_GUSB2PHYCFG0_USBTRDTIM(n) ((n) << 10)
sys/dev/usb/controller/dwc_otg.c
4777
uint32_t n;
sys/dev/usb/controller/dwc_otg.c
4837
for (n = 0; n != ntd; n++) {
sys/dev/usb/controller/dwc_otgreg.h
148
#define DOTG_DFIFO(n) (0x1000 + (0x1000 * (n)))
sys/dev/usb/controller/dwc_otgreg.h
214
#define GRSTCTL_TXFIFO(n) (((n) & 31) << 6)
sys/dev/usb/controller/dwc_otgreg.h
368
#define GHWCFG1_GET_DIR(x, n) (((x) >> (2 * (n))) & 3)
sys/dev/usb/controller/dwc_otgreg.h
729
#define DIEPCTL_TXFNUM_SET(n) (((n) & 15) << 22)
sys/dev/usb/controller/dwc_otgreg.h
733
#define DIEPCTL_EPTYPE_SET(n) (((n) & 3) << 18)
sys/dev/usb/controller/dwc_otgreg.h
744
#define DIEPCTL_MPS_SET(n) ((n) & 0x7FF)
sys/dev/usb/controller/dwc_otgreg.h
756
#define DOEPCTL_FNUM_SET(n) (((n) & 15) << 22)
sys/dev/usb/controller/dwc_otgreg.h
760
#define DOEPCTL_EPTYPE_SET(n) (((n) & 3) << 18)
sys/dev/usb/controller/dwc_otgreg.h
765
#define DOEPCTL_MPS_SET(n) ((n) & 0x7FF)
sys/dev/usb/controller/dwc_otgreg.h
791
#define DXEPTSIZ_SET_MULTI(n) (((n) & 3) << 29)
sys/dev/usb/controller/dwc_otgreg.h
792
#define DXEPTSIZ_SET_NPKT(n) (((n) & 0x3FF) << 19)
sys/dev/usb/controller/dwc_otgreg.h
793
#define DXEPTSIZ_GET_NPKT(n) (((n) >> 19) & 0x3FF)
sys/dev/usb/controller/dwc_otgreg.h
794
#define DXEPTSIZ_SET_NBYTES(n) (((n) & 0x7FFFFF) << 0)
sys/dev/usb/controller/dwc_otgreg.h
795
#define DXEPTSIZ_GET_NBYTES(n) (((n) >> 0) & 0x7FFFFF)
sys/dev/usb/controller/ehci.c
3404
uint32_t n;
sys/dev/usb/controller/ehci.c
3537
for (n = 0; n != nitd; n++) {
sys/dev/usb/controller/ehci.c
3540
usbd_get_page(pc + n, 0, &page_info);
sys/dev/usb/controller/ehci.c
3547
td->page_cache = pc + n;
sys/dev/usb/controller/ehci.c
3551
usb_pc_cpu_flush(pc + n);
sys/dev/usb/controller/ehci.c
3561
for (n = 0; n != nsitd; n++) {
sys/dev/usb/controller/ehci.c
3564
usbd_get_page(pc + n, 0, &page_info);
sys/dev/usb/controller/ehci.c
3571
td->page_cache = pc + n;
sys/dev/usb/controller/ehci.c
3575
usb_pc_cpu_flush(pc + n);
sys/dev/usb/controller/ehci.c
3585
for (n = 0; n != nqtd; n++) {
sys/dev/usb/controller/ehci.c
3588
usbd_get_page(pc + n, 0, &page_info);
sys/dev/usb/controller/ehci.c
3595
qtd->page_cache = pc + n;
sys/dev/usb/controller/ehci.c
3599
usb_pc_cpu_flush(pc + n);
sys/dev/usb/controller/ehci.c
3613
for (n = 0; n != nqh; n++) {
sys/dev/usb/controller/ehci.c
3616
usbd_get_page(pc + n, 0, &page_info);
sys/dev/usb/controller/ehci.c
3623
qh->page_cache = pc + n;
sys/dev/usb/controller/ehci.c
3627
usb_pc_cpu_flush(pc + n);
sys/dev/usb/controller/ehcireg.h
140
#define EHCI_PORTSC(n) (0x40+(4*(n))) /* RO, RW, RWC Port Status reg */
sys/dev/usb/controller/ehcireg.h
184
#define EHCI_HOSTC(n) (0x80+(4*(n))) /* RO, RW Host mode control reg */
sys/dev/usb/controller/musb_otg.c
4014
uint32_t n;
sys/dev/usb/controller/musb_otg.c
4085
for (n = 0; n != ntd; n++) {
sys/dev/usb/controller/musb_otg.h
197
#define MUSB2_REG_EPFIFO(n) (0x0020 + (4*(n)))
sys/dev/usb/controller/musb_otg.h
266
#define MUSB2_REG_RQPKTCOUNT(n) (0x0300 + (4*(n))
sys/dev/usb/controller/musb_otg.h
269
#define MUSB2_MASK_DB(n) (1 << (n)) /* disable double buffer, n = [0..15] */
sys/dev/usb/controller/musb_otg.h
276
#define MUSB2_REG_TXFADDR(n) (0x0080 + (8*(n)))
sys/dev/usb/controller/musb_otg.h
277
#define MUSB2_REG_TXHADDR(n) (0x0082 + (8*(n)))
sys/dev/usb/controller/musb_otg.h
278
#define MUSB2_REG_TXHUBPORT(n) (0x0083 + (8*(n)))
sys/dev/usb/controller/musb_otg.h
279
#define MUSB2_REG_RXFADDR(n) (0x0084 + (8*(n)))
sys/dev/usb/controller/musb_otg.h
280
#define MUSB2_REG_RXHADDR(n) (0x0086 + (8*(n)))
sys/dev/usb/controller/musb_otg.h
281
#define MUSB2_REG_RXHUBPORT(n) (0x0087 + (8*(n)))
sys/dev/usb/controller/ohci.c
2350
uint32_t n;
sys/dev/usb/controller/ohci.c
2424
for (n = 0; n != ntd; n++) {
sys/dev/usb/controller/ohci.c
2427
usbd_get_page(pc + n, 0, &page_info);
sys/dev/usb/controller/ohci.c
2434
td->page_cache = pc + n;
sys/dev/usb/controller/ohci.c
2438
usb_pc_cpu_flush(pc + n);
sys/dev/usb/controller/ohci.c
2448
for (n = 0; n != nitd; n++) {
sys/dev/usb/controller/ohci.c
2451
usbd_get_page(pc + n, 0, &page_info);
sys/dev/usb/controller/ohci.c
2458
itd->page_cache = pc + n;
sys/dev/usb/controller/ohci.c
2462
usb_pc_cpu_flush(pc + n);
sys/dev/usb/controller/ohci.c
2476
for (n = 0; n != nqh; n++) {
sys/dev/usb/controller/ohci.c
2479
usbd_get_page(pc + n, 0, &page_info);
sys/dev/usb/controller/ohci.c
2486
ed->page_cache = pc + n;
sys/dev/usb/controller/ohci.c
2490
usb_pc_cpu_flush(pc + n);
sys/dev/usb/controller/ohcireg.h
114
#define OHCI_RH_PORT_STATUS(n) (0x50 + ((n)*4)) /* 1 based indexing */
sys/dev/usb/controller/uhci.c
2777
uint32_t n;
sys/dev/usb/controller/uhci.c
2852
n = 0;
sys/dev/usb/controller/uhci.c
2855
n++;
sys/dev/usb/controller/uhci.c
2861
n--;
sys/dev/usb/controller/uhci.c
2870
if (n < 3) {
sys/dev/usb/controller/uhci.c
2871
n = 3;
sys/dev/usb/controller/uhci.c
2873
align = (1 << n);
sys/dev/usb/controller/uhci.c
2897
for (n = 0; n != ntd; n++) {
sys/dev/usb/controller/uhci.c
2900
usbd_get_page(pc + n, 0, &page_info);
sys/dev/usb/controller/uhci.c
2917
td->page_cache = pc + n;
sys/dev/usb/controller/uhci.c
2921
usb_pc_cpu_flush(pc + n);
sys/dev/usb/controller/uhci.c
2935
for (n = 0; n != nqh; n++) {
sys/dev/usb/controller/uhci.c
2938
usbd_get_page(pc + n, 0, &page_info);
sys/dev/usb/controller/uhci.c
2945
qh->page_cache = pc + n;
sys/dev/usb/controller/uhci.c
2949
usb_pc_cpu_flush(pc + n);
sys/dev/usb/controller/uhci.c
315
uint16_t n;
sys/dev/usb/controller/uhci.c
340
n = UHCI_RESET_TIMEOUT;
sys/dev/usb/controller/uhci.c
341
while (n--) {
sys/dev/usb/controller/uhci.c
356
n = 10;
sys/dev/usb/controller/uhci.c
357
while (n--) {
sys/dev/usb/controller/uhci.h
87
#define UHCI_TD_SET_ERRCNT(n) ((n) << 27)
sys/dev/usb/controller/uss820dci.c
1366
uint8_t n;
sys/dev/usb/controller/uss820dci.c
1386
for (n = 0;; n++) {
sys/dev/usb/controller/uss820dci.c
1392
if (n == 100) {
sys/dev/usb/controller/uss820dci.c
1439
for (n = 0; n != USS820_EP_MAX; n++) {
sys/dev/usb/controller/uss820dci.c
1441
USS820_WRITE_1(sc, USS820_EPINDEX, n);
sys/dev/usb/controller/uss820dci.c
1451
for (n = 0; n != USS820_EP_MAX; n++) {
sys/dev/usb/controller/uss820dci.c
1452
uss820dci_get_hw_ep_profile(NULL, &pf, n);
sys/dev/usb/controller/uss820dci.c
1497
USS820_WRITE_1(sc, USS820_EPINDEX, n);
sys/dev/usb/controller/uss820dci.c
2217
uint32_t n;
sys/dev/usb/controller/uss820dci.c
2283
for (n = 0; n != ntd; n++) {
sys/dev/usb/controller/xhci.c
3788
uint32_t n;
sys/dev/usb/controller/xhci.c
3856
for (n = 0; n != ntd; n++) {
sys/dev/usb/controller/xhci.c
3859
usbd_get_page(pc + n, 0, &page_info);
sys/dev/usb/controller/xhci.c
3866
td->page_cache = pc + n;
sys/dev/usb/controller/xhci.c
3870
usb_pc_cpu_flush(pc + n);
sys/dev/usb/controller/xhci.c
4348
uint8_t n;
sys/dev/usb/controller/xhci.c
4365
for (n = 1; n != XHCI_MAX_ENDPOINTS; n++) {
sys/dev/usb/controller/xhci.c
4368
n | XHCI_DB_SID_SET(p));
sys/dev/usb/controller/xhci.c
4382
uint8_t n;
sys/dev/usb/controller/xhci.c
4397
for (n = 1; n != XHCI_MAX_ENDPOINTS; n++) {
sys/dev/usb/controller/xhci.c
4398
err = xhci_cmd_stop_ep(sc, 1, n, index);
sys/dev/usb/controller/xhci.c
4401
"%u on slot %u (ignored).\n", n, index);
sys/dev/usb/controller/xhci.h
171
#define XHCI_INCTX_0_DROP_MASK(n) (1U << (n))
sys/dev/usb/controller/xhci.h
173
#define XHCI_INCTX_1_ADD_MASK(n) (1U << (n))
sys/dev/usb/controller/xhcireg.h
103
#define XHCI_DNCTRL_MASK(n) (1U << (n))
sys/dev/usb/controller/xhcireg.h
117
#define XHCI_PORTSC(n) (0x3F0 + (0x10 * (n))) /* XHCI port status */
sys/dev/usb/controller/xhcireg.h
148
#define XHCI_PORTPMSC(n) (0x3F4 + (0x10 * (n))) /* XHCI status and control */
sys/dev/usb/controller/xhcireg.h
161
#define XHCI_PORTLI(n) (0x3F8 + (0x10 * (n))) /* XHCI port link info */
sys/dev/usb/controller/xhcireg.h
163
#define XHCI_PORTRSV(n) (0x3FC + (0x10 * (n))) /* XHCI port reserved */
sys/dev/usb/controller/xhcireg.h
168
#define XHCI_IMAN(n) (0x0020 + (0x20 * (n))) /* XHCI interrupt management */
sys/dev/usb/controller/xhcireg.h
171
#define XHCI_IMOD(n) (0x0024 + (0x20 * (n))) /* XHCI interrupt moderation */
sys/dev/usb/controller/xhcireg.h
178
#define XHCI_ERSTSZ(n) (0x0028 + (0x20 * (n))) /* XHCI event ring segment table size */
sys/dev/usb/controller/xhcireg.h
181
#define XHCI_ERSTBA_LO(n) (0x0030 + (0x20 * (n))) /* XHCI event ring segment table BA */
sys/dev/usb/controller/xhcireg.h
182
#define XHCI_ERSTBA_HI(n) (0x0034 + (0x20 * (n))) /* XHCI event ring segment table BA */
sys/dev/usb/controller/xhcireg.h
183
#define XHCI_ERDP_LO(n) (0x0038 + (0x20 * (n))) /* XHCI event ring dequeue pointer */
sys/dev/usb/controller/xhcireg.h
186
#define XHCI_ERDP_HI(n) (0x003C + (0x20 * (n))) /* XHCI event ring dequeue pointer */
sys/dev/usb/controller/xhcireg.h
189
#define XHCI_DOORBELL(n) (0x0000 + (4 * (n)))
sys/dev/usb/input/atp.c
1135
fg_get_pressures(int *p, const int *cur, const int *base, int n)
sys/dev/usb/input/atp.c
1139
for (i = 0; i < n; i++) {
sys/dev/usb/input/ukbd.c
1246
uint16_t n;
sys/dev/usb/input/ukbd.c
1284
for (n = 0; n != UKBD_N_TRANSFER; n++) {
sys/dev/usb/input/ukbd.c
1286
&uaa->info.bIfaceIndex, sc->sc_xfer + n, ukbd_config + n,
sys/dev/usb/input/ukbd.c
1301
for (n = 0; n < UKBD_NFKEY; n++) {
sys/dev/usb/input/ukbd.c
1302
sc->sc_fkeymap[n] = fkey_tab[n];
sys/dev/usb/input/usbhid.c
338
uint16_t n;
sys/dev/usb/input/usbhid.c
353
for (n = 0; n != USBHID_N_TRANSFER; n++) {
sys/dev/usb/input/usbhid.c
354
if (nowrite && n == USBHID_INTR_OUT_DT)
sys/dev/usb/input/usbhid.c
357
&sc->sc_iface_index, sc->sc_xfer + POLL_XFER(n),
sys/dev/usb/input/usbhid.c
358
sc->sc_config + n, 1,
sys/dev/usb/input/usbhid.c
359
(void *)(sc->sc_xfer_ctx + POLL_XFER(n)),
sys/dev/usb/input/usbhid.c
362
DPRINTF("xfer %d setup error=%s\n", n,
sys/dev/usb/input/usbhid.c
386
for (n = 0; n != USBHID_N_TRANSFER; n++) {
sys/dev/usb/input/usbhid.c
387
if (nowrite && n == USBHID_INTR_OUT_DT)
sys/dev/usb/input/usbhid.c
390
sc->sc_xfer + n, sc->sc_config + n, 1,
sys/dev/usb/input/usbhid.c
391
(void *)(sc->sc_xfer_ctx + n), &sc->sc_mtx);
sys/dev/usb/input/usbhid.c
393
DPRINTF("xfer %d setup error=%s\n", n,
sys/dev/usb/net/if_cdce.c
1384
uint16_t n;
sys/dev/usb/net/if_cdce.c
1405
for (n = 0; n != sc->sc_ncm.tx_nframe; n++) {
sys/dev/usb/net/if_cdce.c
1424
if (n == 0) {
sys/dev/usb/net/if_cdce.c
1429
n--;
sys/dev/usb/net/if_cdce.c
1438
USETW(sc->sc_ncm.dp[n].wFrameLength, m->m_pkthdr.len);
sys/dev/usb/net/if_cdce.c
1439
USETW(sc->sc_ncm.dp[n].wFrameIndex, offset);
sys/dev/usb/net/if_cdce.c
1469
if (n == 0)
sys/dev/usb/net/if_cdce.c
1472
rem = (sizeof(sc->sc_ncm.dpt) + (4 * n) + 4);
sys/dev/usb/net/if_cdce.c
1477
for (; n != CDCE_NCM_SUBFRAMES_MAX; n++) {
sys/dev/usb/net/if_cdce.c
1478
USETW(sc->sc_ncm.dp[n].wFrameLength, 0);
sys/dev/usb/net/if_cdce.c
1479
USETW(sc->sc_ncm.dp[n].wFrameIndex, 0);
sys/dev/usb/net/if_cdce.c
832
cdce_free_queue(struct mbuf **ppm, uint8_t n)
sys/dev/usb/net/if_cdce.c
835
for (x = 0; x != n; x++) {
sys/dev/usb/net/if_ipheth.c
424
ipheth_free_queue(struct mbuf **ppm, uint8_t n)
sys/dev/usb/net/if_ipheth.c
428
for (x = 0; x != n; x++) {
sys/dev/usb/net/if_umb.c
109
#define DPRINTFN(n, x...) \
sys/dev/usb/net/if_umb.c
110
do { if (umb_debug >= (n)) log(LOG_DEBUG, x); } while (0)
sys/dev/usb/net/if_umb.c
112
#define DDUMPN(n, b, l) \
sys/dev/usb/net/if_umb.c
114
if (umb_debug >= (n)) \
sys/dev/usb/net/if_umb.c
124
#define DPRINTFN(n, x...) do { } while (0)
sys/dev/usb/net/if_umb.c
125
#define DDUMPN(n, b, l) do { } while (0)
sys/dev/usb/net/if_umb.c
1782
int n, i;
sys/dev/usb/net/if_umb.c
1803
n = le32toh(ic->ipv4_naddr);
sys/dev/usb/net/if_umb.c
1806
if (n == 0 || off + sizeof (ipv4elem) > len)
sys/dev/usb/net/if_umb.c
1808
if (n != 1 && if_getflags(ifp) & IFF_DEBUG)
sys/dev/usb/net/if_umb.c
1810
DEVNAM(sc), n);
sys/dev/usb/net/if_umb.c
1829
n = le32toh(ic->ipv4_ndnssrv);
sys/dev/usb/net/if_umb.c
1832
while (n-- > 0) {
sys/dev/usb/net/if_ure.c
82
#define DEVPRINTFN(n,dev,fmt,...) do { \
sys/dev/usb/net/if_ure.c
83
if ((USB_DEBUG_VAR) >= (n)) { \
sys/dev/usb/net/uhso.c
305
#define UHSO_DPRINTF(n, x, ...) {\
sys/dev/usb/net/uhso.c
306
if (uhso_debug >= n) {\
sys/dev/usb/net/uhso.c
311
#define UHSO_DPRINTF(n, x, ...)
sys/dev/usb/net/usb_ethernet.c
645
struct mbuf *m, *n;
sys/dev/usb/net/usb_ethernet.c
649
n = mbufq_flush(&ue->ue_rxq);
sys/dev/usb/net/usb_ethernet.c
652
while ((m = n) != NULL) {
sys/dev/usb/net/usb_ethernet.c
653
n = STAILQ_NEXT(m, m_stailqpkt);
sys/dev/usb/serial/u3g.c
1011
for (n = 0; n < U3G_N_TRANSFER; n++)
sys/dev/usb/serial/u3g.c
1012
u3g_config_tmp[n].ep_index = ep;
sys/dev/usb/serial/u3g.c
762
uint8_t n;
sys/dev/usb/serial/u3g.c
771
for (n = 0; n != nitems(setup); n++) {
sys/dev/usb/serial/u3g.c
772
memcpy(&req, setup[n], sizeof(req));
sys/dev/usb/serial/u3g.c
787
__DECONST(uint8_t *, &setup[n][8]));
sys/dev/usb/serial/u3g.c
791
(unsigned)n);
sys/dev/usb/serial/u3g.c
964
int ep, n;
sys/dev/usb/serial/u3g.c
976
for (n = 0; n != U3G_N_TRANSFER; n++)
sys/dev/usb/serial/u3g.c
977
u3g_config_tmp[n] = u3g_config[n];
sys/dev/usb/serial/ubser.c
233
uint8_t n;
sys/dev/usb/serial/ubser.c
279
for (n = 0; n < sc->sc_numser; n++) {
sys/dev/usb/serial/ubser.c
280
sc->sc_ucom[n].sc_portno = n;
sys/dev/usb/serial/uftdi_reg.h
114
#define FTDI_SIO_SET_DATA_BITS(n) (n)
sys/dev/usb/serial/umcs.c
304
int n;
sys/dev/usb/serial/umcs.c
307
for (n = 0; n < UMCS7840_N_TRANSFERS; ++n)
sys/dev/usb/serial/umcs.c
308
umcs7840_config_tmp[n] = umcs7840_bulk_config_data[n];
sys/dev/usb/serial/umcs.c
356
for (n = 0; n < UMCS7840_N_TRANSFERS; ++n) {
sys/dev/usb/serial/umcs.c
358
umcs7840_config_tmp[n].endpoint = umcs7840_bulk_config_data[n].endpoint + 2 * sc->sc_ucom[subunit].sc_portno;
sys/dev/usb/serial/umcs.c
359
umcs7840_config_tmp[n].callback = umcs7840_rw_callbacks[subunit][n];
sys/dev/usb/template/usb_template.c
1311
uint8_t n;
sys/dev/usb/template/usb_template.c
1379
for (n = 0;; n++) {
sys/dev/usb/template/usb_template.c
1380
buf = usb_temp_get_config_desc(udev, NULL, n);
sys/dev/usb/template/usb_template.c
1387
"Config Descriptor %u, error = %s\n", n,
sys/dev/usb/template/usb_template.c
647
uint8_t n;
sys/dev/usb/template/usb_template.c
671
for (n = 1; n != (USB_EP_MAX / 2); n++) {
sys/dev/usb/template/usb_template.c
673
(ues->methods->get_hw_ep_profile) (ues->udev, &pf, n);
sys/dev/usb/template/usb_template.c
680
if (ues->bmInAlloc[n / 8] & (1 << (n % 8))) {
sys/dev/usb/template/usb_template.c
687
if (ues->bmOutAlloc[n / 8] & (1 << (n % 8))) {
sys/dev/usb/template/usb_template.c
713
best_n = n;
sys/dev/usb/usb_debug.h
39
#define DPRINTFN(n,fmt,...) do { \
sys/dev/usb/usb_debug.h
40
if ((USB_DEBUG_VAR) >= (n)) { \
sys/dev/usb/usb_dev.c
1697
int n, struct uio *uio)
sys/dev/usb/usb_dev.c
1707
error = uiomove(cp, n, uio);
sys/dev/usb/usb_dev.c
1835
uint8_t n;
sys/dev/usb/usb_dev.c
1850
for (n = 0;; n += 2) {
sys/dev/usb/usb_dev.c
1851
if (n == USB_FIFO_MAX) {
sys/dev/usb/usb_dev.c
1856
if (udev->fifo[n + USB_FIFO_TX] != NULL) {
sys/dev/usb/usb_dev.c
1860
if (udev->fifo[n + USB_FIFO_RX] != NULL) {
sys/dev/usb/usb_dev.c
1876
f_tx->fifo_index = n + USB_FIFO_TX;
sys/dev/usb/usb_dev.c
1883
f_rx->fifo_index = n + USB_FIFO_RX;
sys/dev/usb/usb_dev.c
1898
for (n = 0; n != 4; n++) {
sys/dev/usb/usb_dev.c
1899
if (pm->basename[n] == NULL) {
sys/dev/usb/usb_dev.c
1904
"%s%u%s", pm->basename[n],
sys/dev/usb/usb_dev.c
1905
unit, pm->postfix[n] ?
sys/dev/usb/usb_dev.c
1906
pm->postfix[n] : "")) {
sys/dev/usb/usb_dev.c
1911
"%s%u.%d%s", pm->basename[n],
sys/dev/usb/usb_dev.c
1912
unit, subunit, pm->postfix[n] ?
sys/dev/usb/usb_dev.c
1913
pm->postfix[n] : "")) {
sys/dev/usb/usb_dev.c
1921
if (n & 1) {
sys/dev/usb/usb_dev.c
1922
f_rx->symlink[n / 2] =
sys/dev/usb/usb_dev.c
1925
f_tx->symlink[n / 2] =
sys/dev/usb/usb_dev.c
404
uint8_t n;
sys/dev/usb/usb_dev.c
438
for (n = 0;; n += 2) {
sys/dev/usb/usb_dev.c
439
if (n == USB_FIFO_MAX) {
sys/dev/usb/usb_dev.c
442
n = 0;
sys/dev/usb/usb_dev.c
451
f = udev->fifo[n + USB_FIFO_TX];
sys/dev/usb/usb_dev.c
468
f = udev->fifo[n + USB_FIFO_RX];
sys/dev/usb/usb_dev.c
505
(udev->fifo[n + USB_FIFO_TX] == NULL)) {
sys/dev/usb/usb_dev.c
518
f->fifo_index = n + USB_FIFO_TX;
sys/dev/usb/usb_dev.c
525
udev->fifo[n + USB_FIFO_TX] = f;
sys/dev/usb/usb_dev.c
530
(udev->fifo[n + USB_FIFO_RX] == NULL)) {
sys/dev/usb/usb_dev.c
543
f->fifo_index = n + USB_FIFO_RX;
sys/dev/usb/usb_dev.c
550
udev->fifo[n + USB_FIFO_RX] = f;
sys/dev/usb/usb_dev.c
554
crd->txfifo = udev->fifo[n + USB_FIFO_TX];
sys/dev/usb/usb_dev.c
557
crd->rxfifo = udev->fifo[n + USB_FIFO_RX];
sys/dev/usb/usb_dev.c
560
DPRINTFN(5, "fifo index = %d\n", n);
sys/dev/usb/usb_dev.c
561
cpd->fifo_index = n;
sys/dev/usb/usb_dev.c
571
uint8_t n;
sys/dev/usb/usb_dev.c
578
for (n = 0; n != 2; n++) {
sys/dev/usb/usb_dev.c
579
if (f->symlink[n]) {
sys/dev/usb/usb_dev.c
580
usb_free_symlink(f->symlink[n]);
sys/dev/usb/usb_dev.c
581
f->symlink[n] = NULL;
sys/dev/usb/usb_generic.c
1236
usb_frcount_t n)
sys/dev/usb/usb_generic.c
1251
if (fueword(u.ppBuffer + n, (long *)uptrp) != 0)
sys/dev/usb/usb_generic.c
1256
if (fueword32(u.ppBuffer32 + n, &uptr32) != 0)
sys/dev/usb/usb_generic.c
1276
usb_frcount_t n;
sys/dev/usb/usb_generic.c
1347
n = 1;
sys/dev/usb/usb_generic.c
1357
n = 0;
sys/dev/usb/usb_generic.c
1387
for (; n != xfer->nframes; n++) {
sys/dev/usb/usb_generic.c
1388
if (fueword32(fs_ep.pLength + n, &length) != 0) {
sys/dev/usb/usb_generic.c
1391
usbd_xfer_set_frame_len(xfer, n, length);
sys/dev/usb/usb_generic.c
1401
error = ugen_fs_getbuffer(&uaddr, f, fs_ep.ppBuffer, n);
sys/dev/usb/usb_generic.c
1411
usbd_xfer_set_frame_offset(xfer, offset, n);
sys/dev/usb/usb_generic.c
1414
kaddr = xfer->frbuffers[n].buffer;
sys/dev/usb/usb_generic.c
1557
usb_frcount_t n;
sys/dev/usb/usb_generic.c
1605
n = 0; /* should never happen */
sys/dev/usb/usb_generic.c
1607
n = 1;
sys/dev/usb/usb_generic.c
1615
n = 0;
sys/dev/usb/usb_generic.c
1623
for (; n != xfer->nframes; n++) {
sys/dev/usb/usb_generic.c
1625
if (fueword32(fs_ep.pLength + n, &temp) != 0) {
sys/dev/usb/usb_generic.c
1638
length = xfer->frlengths[n];
sys/dev/usb/usb_generic.c
1648
error = ugen_fs_getbuffer(&uaddr, f, fs_ep.ppBuffer, n);
sys/dev/usb/usb_generic.c
1658
kaddr = xfer->frbuffers[n].buffer;
sys/dev/usb/usb_generic.c
1674
if (suword32(fs_ep.pLength + n, length) != 0)
sys/dev/usb/usb_generic.c
2247
uint8_t n;
sys/dev/usb/usb_generic.c
2361
for (n = 0; n != 4; n++) {
sys/dev/usb/usb_generic.c
2362
u.stat->uds_requests_fail[n] =
sys/dev/usb/usb_generic.c
2363
f->udev->stats_err.uds_requests[n];
sys/dev/usb/usb_generic.c
2364
u.stat->uds_requests_ok[n] =
sys/dev/usb/usb_generic.c
2365
f->udev->stats_ok.uds_requests[n];
sys/dev/usb/usb_generic.c
2383
n = *u.pint & 0xFF;
sys/dev/usb/usb_generic.c
2384
iface = usbd_get_iface(f->udev, n);
sys/dev/usb/usb_generic.c
2399
n = *u.pint & 0xFF;
sys/dev/usb/usb_generic.c
2401
if (n == USB_IFACE_INDEX_ANY) {
sys/dev/usb/usb_generic.c
2409
usb_detach_device(f->udev, n, 0);
sys/dev/usb/usb_generic.c
2415
usbd_set_parent_iface(f->udev, n, n);
sys/dev/usb/usb_generic.c
2424
n = *u.pint & 0xFF;
sys/dev/usb/usb_generic.c
2426
if (n == USB_IFACE_INDEX_ANY) {
sys/dev/usb/usb_generic.c
2434
usbd_set_parent_iface(f->udev, n, USB_IFACE_INDEX_ANY);
sys/dev/usb/usb_generic.c
2436
usb_probe_and_attach(f->udev, n);
sys/dev/usb/usb_generic.c
576
usb_frcount_t n;
sys/dev/usb/usb_generic.c
587
for (n = 0; n != xfer->aframes; n++) {
sys/dev/usb/usb_generic.c
589
xfer->frlengths[n], 1);
sys/dev/usb/usb_generic.c
595
for (n = 0; n != xfer->nframes; n++) {
sys/dev/usb/usb_generic.c
597
usbd_xfer_set_frame_len(xfer, n, xfer->max_frame_size);
sys/dev/usb/usb_generic.c
616
usb_frcount_t n;
sys/dev/usb/usb_generic.c
625
for (n = 0; n != xfer->nframes; n++) {
sys/dev/usb/usb_generic.c
628
usbd_xfer_set_frame_len(xfer, n, actlen);
sys/dev/usb/usb_generic.c
635
for (; n != xfer->nframes; n++) {
sys/dev/usb/usb_generic.c
637
usbd_xfer_set_frame_len(xfer, n, 0);
sys/dev/usb/usb_parse.c
291
uint8_t n;
sys/dev/usb/usb_parse.c
296
n = 0;
sys/dev/usb/usb_parse.c
310
n++;
sys/dev/usb/usb_parse.c
311
if (n == 0xFF)
sys/dev/usb/usb_parse.c
316
return (n);
sys/dev/usb/usb_request.c
1115
uint16_t n;
sys/dev/usb/usb_request.c
1151
n = (temp[0] / 2) - 1;
sys/dev/usb/usb_request.c
1152
if (n > len) {
sys/dev/usb/usb_request.c
1153
n = len;
sys/dev/usb/usb_request.c
1162
for (i = 0; (i != n); i++) {
sys/dev/usb/usb_request.c
799
uint16_t n;
sys/dev/usb/usb_request.c
816
n = 0;
sys/dev/usb/usb_request.c
820
n += usb_port_reset_delay;
sys/dev/usb/usb_request.c
845
if (n > 1000) {
sys/dev/usb/usb_request.c
846
n = 0;
sys/dev/usb/usb_request.c
858
if (n == 0) {
sys/dev/usb/usb_request.c
890
uint16_t n;
sys/dev/usb/usb_request.c
923
n = 0;
sys/dev/usb/usb_request.c
927
n += usb_port_reset_delay;
sys/dev/usb/usb_request.c
944
if (n > 1000) {
sys/dev/usb/usb_request.c
945
n = 0;
sys/dev/usb/usb_request.c
957
if (n == 0) {
sys/dev/usb/usb_transfer.c
1023
for (setup = setup_start, n = 0;
sys/dev/usb/usb_transfer.c
1024
setup != setup_end; setup++, n++) {
sys/dev/usb/usb_transfer.c
1033
ppxfer[n] = NULL;
sys/dev/usb/usb_transfer.c
1126
for (setup = setup_start, n = 0;
sys/dev/usb/usb_transfer.c
1127
setup != setup_end; setup++, n++) {
sys/dev/usb/usb_transfer.c
1241
ppxfer[n] = xfer;
sys/dev/usb/usb_transfer.c
2293
usbd_xfer_set_frames(struct usb_xfer *xfer, usb_frcount_t n)
sys/dev/usb/usb_transfer.c
2295
xfer->nframes = n;
sys/dev/usb/usb_transfer.c
3436
uint16_t n;
sys/dev/usb/usb_transfer.c
3441
for (n = 0; n != max; n++) {
sys/dev/usb/usb_transfer.c
3443
xfer = ppxfer[n];
sys/dev/usb/usb_transfer.c
999
uint16_t n;
sys/dev/usb/usbdi.h
396
#define USB_DRIVER_INFO(n) \
sys/dev/usb/usbdi.h
397
.driver_info = (n)
sys/dev/usb/usbdi.h
661
void usbd_xfer_set_frames(struct usb_xfer *xfer, usb_frcount_t n);
sys/dev/usb/usbhid.h
63
#define USB_HID_DESCRIPTOR_SIZE(n) (9+((n)*3))
sys/dev/usb/wlan/if_rumreg.h
135
#define RT2573_NUM_BSSID_MSK(n) (((n * 3) & 3) << 16)
sys/dev/usb/wlan/if_rumreg.h
139
#define RT2573_TBCN_EXP(n) ((n) << 8)
sys/dev/usb/wlan/if_run.c
4254
run_rt3070_rf_write(sc, 2, rt3070_freqs[i].n);
sys/dev/usb/wlan/if_run.c
4329
run_rt3070_rf_write(sc, 2, rt3070_freqs[i].n);
sys/dev/usb/wlan/if_run.c
4479
run_rt3070_rf_write(sc, 8, rt3070_freqs[i].n);
sys/dev/usb/wlan/if_run.c
4629
run_rt3070_rf_write(sc, 8, rt3070_freqs[i].n);
sys/dev/usb/wlan/if_run.c
4752
run_rt3070_rf_write(sc, 8, freqs->n & 0xff);
sys/dev/usb/wlan/if_run.c
4755
rf |= ((freqs->n & 0x0100) >> 8) << 4;
sys/dev/usb/wlan/if_run.c
610
uint8_t n, r, k;
sys/dev/usb/wlan/if_run.c
616
uint16_t n;
sys/dev/usb/wlan/if_uath.c
2154
#define UATH_SYSCTL_STAT_ADD32(c, h, n, p, d) \
sys/dev/usb/wlan/if_uath.c
2155
SYSCTL_ADD_UINT(c, h, OID_AUTO, n, CTLFLAG_RD, p, 0, d)
sys/dev/usb/wlan/if_upgt.c
1558
int n;
sys/dev/usb/wlan/if_upgt.c
1609
n = upgt_fw_copy((const uint8_t *)fw->data + offset,
sys/dev/usb/wlan/if_upgt.c
1615
offset, n, bsize);
sys/dev/usb/wlan/if_upgt.c
1616
bsize = n;
sys/dev/usb/wlan/if_upgt.c
2025
#define UPGT_SYSCTL_STAT_ADD32(c, h, n, p, d) \
sys/dev/usb/wlan/if_upgt.c
2026
SYSCTL_ADD_UINT(c, h, OID_AUTO, n, CTLFLAG_RD, p, 0, d)
sys/dev/usb/wlan/if_urtw.c
4374
#define URTW_SYSCTL_STAT_ADD32(c, h, n, p, d) \
sys/dev/usb/wlan/if_urtw.c
4375
SYSCTL_ADD_UINT(c, h, OID_AUTO, n, CTLFLAG_RD, p, 0, d)
sys/dev/vge/if_vge.c
2474
#define VGE_SYSCTL_STAT_ADD32(c, h, n, p, d) \
sys/dev/vge/if_vge.c
2475
SYSCTL_ADD_UINT(c, h, OID_AUTO, n, CTLFLAG_RD, p, 0, d)
sys/dev/videomode/edid.c
100
int n;
sys/dev/videomode/edid.c
102
for (n = 0; n < edid_nproducts; n++)
sys/dev/videomode/edid.c
103
if (edid_products[n].product == product &&
sys/dev/videomode/edid.c
104
memcmp(edid_products[n].vendor, vendor, 3) == 0)
sys/dev/videomode/edid.c
105
return edid_products[n].name;
sys/dev/videomode/edid.c
87
int n;
sys/dev/videomode/edid.c
89
for (n = 0; n < edid_nvendors; n++)
sys/dev/videomode/edid.c
90
if (memcmp(edid_vendors[n].vendor, vendor, 3) == 0)
sys/dev/videomode/edid.c
91
return edid_vendors[n].name;
sys/dev/videomode/vesagtf.c
193
print_value(int n, const char *name, unsigned val)
sys/dev/videomode/vesagtf.c
195
printf("%2d: %-27s: %u\n", n, name, val);
sys/dev/videomode/vesagtf.c
198
#define print_value(n, name, val)
sys/dev/virtio/mmio/virtio_mmio_cmdline.c
121
size_t n;
sys/dev/virtio/mmio/virtio_mmio_cmdline.c
132
for (n = 1; n <= 9999; n++) {
sys/dev/virtio/mmio/virtio_mmio_cmdline.c
133
sprintf(name, "virtio_mmio.device_%zu", n);
sys/dev/virtio/virtio.c
144
int n;
sys/dev/virtio/virtio.c
148
for (n = 0, val = 1ULL << 63; val != 0; val >>= 1) {
sys/dev/virtio/virtio.c
156
if (n++ == 0)
sys/dev/virtio/virtio.c
168
if (n > 0)
sys/dev/vmware/vmci/vmci_kernel_if.h
29
#define vmci_list_insert(_l, _e, n) LIST_INSERT_HEAD(_l, _e, n)
sys/dev/vmware/vmci/vmci_kernel_if.h
30
#define vmci_list_remove(_e, n) LIST_REMOVE(_e, n)
sys/dev/vmware/vmci/vmci_kernel_if.h
31
#define vmci_list_scan(v, _l, n) LIST_FOREACH(v, _l, n)
sys/dev/vmware/vmci/vmci_kernel_if.h
32
#define vmci_list_scan_safe(_e, _l, n, t) \
sys/dev/vmware/vmci/vmci_kernel_if.h
33
LIST_FOREACH_SAFE(_e, _l, n, t)
sys/dev/vt/hw/vga/vt_vga.c
398
unsigned int n;
sys/dev/vt/hw/vga/vt_vga.c
400
n = src_x / 8;
sys/dev/vt/hw/vga/vt_vga.c
412
if (n == (src_x + x_count - 1) / 8) {
sys/dev/vt/hw/vga/vt_vga.c
414
*pattern = src[n];
sys/dev/vt/hw/vga/vt_vga.c
423
src[n] << (8 - dst_x - src_x % 8) |
sys/dev/vt/hw/vga/vt_vga.c
424
src[n + 1] >> (dst_x - src_x % 8);
sys/dev/vt/hw/vga/vt_vga.c
427
src[n] << (src_x % 8 - dst_x) |
sys/dev/vt/hw/vga/vt_vga.c
428
src[n + 1] >> (8 - src_x % 8 - dst_x);
sys/dev/vte/if_vte.c
1008
n = sc->vte_cdata.vte_txmbufs[sc->vte_cdata.vte_tx_prod];
sys/dev/vte/if_vte.c
1009
m_copydata(m, 0, m->m_pkthdr.len, mtod(n, char *));
sys/dev/vte/if_vte.c
1010
n->m_pkthdr.len = m->m_pkthdr.len;
sys/dev/vte/if_vte.c
1011
n->m_len = m->m_pkthdr.len;
sys/dev/vte/if_vte.c
1012
m = n;
sys/dev/vte/if_vte.c
1329
int n;
sys/dev/vte/if_vte.c
1345
for (n = 8; (status & VTE_INTRS) != 0;) {
sys/dev/vte/if_vte.c
1357
if (--n > 0)
sys/dev/vte/if_vte.c
534
#define VTE_SYSCTL_STAT_ADD32(c, h, n, p, d) \
sys/dev/vte/if_vte.c
535
SYSCTL_ADD_UINT(c, h, OID_AUTO, n, CTLFLAG_RD, p, 0, d)
sys/dev/vte/if_vte.c
968
struct mbuf *m, *n;
sys/dev/wg/wg_crypto.c
22
#define DIV_ROUND_UP(n,d) (((n) + (d) - 1) / (d))
sys/dev/wpi/if_wpi.c
1412
wpi_read_eeprom_band(struct wpi_softc *sc, uint8_t n, int maxchans,
sys/dev/wpi/if_wpi.c
1415
struct wpi_eeprom_chan *channels = sc->eeprom_channels[n];
sys/dev/wpi/if_wpi.c
1416
const struct wpi_chan_band *band = &wpi_bands[n];
sys/dev/wpi/if_wpi.c
1424
if (n == 0) {
sys/dev/wpi/if_wpi.c
1434
band->chan[i],n);
sys/dev/wpi/if_wpi.c
1459
wpi_read_eeprom_channels(struct wpi_softc *sc, uint8_t n)
sys/dev/wpi/if_wpi.c
1462
const struct wpi_chan_band *band = &wpi_bands[n];
sys/dev/wpi/if_wpi.c
1467
error = wpi_read_prom_data(sc, band->addr, &sc->eeprom_channels[n],
sys/dev/wpi/if_wpi.c
1474
wpi_read_eeprom_band(sc, n, IEEE80211_CHAN_MAX, &ic->ic_nchans,
sys/dev/wpi/if_wpi.c
1537
wpi_read_eeprom_group(struct wpi_softc *sc, uint8_t n)
sys/dev/wpi/if_wpi.c
1539
struct wpi_power_group *group = &sc->groups[n];
sys/dev/wpi/if_wpi.c
1545
if ((error = wpi_read_prom_data(sc, WPI_EEPROM_POWER_GRP + n * 32,
sys/dev/wpi/if_wpi.c
1558
"power group %d: chan=%d maxpwr=%d temp=%d\n", n, group->chan,
sys/dev/wpi/if_wpi.c
3733
#define fdivround(a, b, n) \
sys/dev/wpi/if_wpi.c
3734
((((1 << n) * (a)) / (b) + (1 << n) / 2) / (1 << n))
sys/dev/wpi/if_wpi.c
3737
#define interpolate(x, x1, y1, x2, y2, n) \
sys/dev/wpi/if_wpi.c
3738
((y1) + fdivround(((x) - (x1)) * ((y2) - (y1)), (x2) - (x1), n))
sys/dev/xdma/controller/pl330.h
44
#define FTR(n) (0x040 + 0x04 * (n)) /* Fault type for DMA channel n */
sys/dev/xdma/controller/pl330.h
45
#define CSR(n) (0x100 + 0x08 * (n)) /* Channel status for DMA channel n */
sys/dev/xdma/controller/pl330.h
46
#define CPC(n) (0x104 + 0x08 * (n)) /* Channel PC for DMA channel n */
sys/dev/xdma/controller/pl330.h
47
#define SAR(n) (0x400 + 0x20 * (n)) /* Source address for DMA channel n */
sys/dev/xdma/controller/pl330.h
48
#define DAR(n) (0x404 + 0x20 * (n)) /* Destination address for DMA channel n */
sys/dev/xdma/controller/pl330.h
49
#define CCR(n) (0x408 + 0x20 * (n)) /* Channel control for DMA channel n */
sys/dev/xdma/controller/pl330.h
62
#define LC0(n) (0x40C + 0x20 * (n)) /* Loop counter 0 for DMA channel n */
sys/dev/xdma/controller/pl330.h
63
#define LC1(n) (0x410 + 0x20 * (n)) /* Loop counter 1 for DMA channel n */
sys/dev/xdma/xdma_sg.c
569
uint32_t n;
sys/dev/xdma/xdma_sg.c
578
n = 0;
sys/dev/xdma/xdma_sg.c
601
if (capacity <= (c + n)) {
sys/dev/xdma/xdma_sg.c
609
if ((c + n + xchan->maxnsegs) >= XDMA_SGLIST_MAXLEN) {
sys/dev/xdma/xdma_sg.c
618
xdma_sglist_add(&sg[n], seg, nsegs, xr);
sys/dev/xdma/xdma_sg.c
619
n += nsegs;
sys/dev/xdma/xdma_sg.c
630
return (n);
sys/dev/xen/timer/xen_timer.c
518
xen_delay(int n)
sys/dev/xen/timer/xen_timer.c
525
end_ns += n * NSEC_IN_USEC;
sys/dev/xilinx/axidma.h
36
#define AXI_DMACR(n) (0x00 + 0x30 * (n)) /* DMA Control register */
sys/dev/xilinx/axidma.h
42
#define AXI_DMASR(n) (0x04 + 0x30 * (n)) /* DMA Status register */
sys/dev/xilinx/axidma.h
55
#define AXI_CURDESC(n) (0x08 + 0x30 * (n)) /* Current Descriptor Pointer. Lower 32 bits of the address. */
sys/dev/xilinx/axidma.h
56
#define AXI_CURDESC_MSB(n) (0x0C + 0x30 * (n)) /* Current Descriptor Pointer. Upper 32 bits of address. */
sys/dev/xilinx/axidma.h
57
#define AXI_TAILDESC(n) (0x10 + 0x30 * (n)) /* Tail Descriptor Pointer. Lower 32 bits. */
sys/dev/xilinx/axidma.h
58
#define AXI_TAILDESC_MSB(n) (0x14 + 0x30 * (n)) /* Tail Descriptor Pointer. Upper 32 bits of address. */
sys/dev/xilinx/if_xaereg.h
49
#define XAE_STATCNT(n) (0x00200 + 0x8 * (n)) /* Statistics Counters RO */
sys/dev/xilinx/if_xaereg.h
91
#define XAE_FFV(n) (0x00710 + 0x4 * (n)) /* Frame Filter Value RW */
sys/dev/xilinx/if_xaereg.h
92
#define XAE_FFMV(n) (0x00750 + 0x4 * (n)) /* Frame Filter Mask Value RW */
sys/dev/xilinx/if_xaereg.h
93
#define XAE_TX_VLAN(n) (0x04000 + 0x4 * (n)) /* Transmit VLAN Data Table RW */
sys/dev/xilinx/if_xaereg.h
94
#define XAE_RX_VLAN(n) (0x08000 + 0x4 * (n)) /* Receive VLAN Data Table RW */
sys/dev/xilinx/if_xaereg.h
95
#define XAE_AVB(n) (0x10000 + 0x4 * (n)) /* Ethernet AVB RW */
sys/dev/xilinx/if_xaereg.h
96
#define XAE_MAT(n) (0x20000 + 0x4 * (n)) /* Multicast Address Table RW */
sys/fs/cd9660/cd9660_util.c
194
sgetrune(const char *string, size_t n, char const **result, int flags,
sys/fs/cd9660/cd9660_util.c
201
len = i = (n < 2) ? n : 2;
sys/fs/cd9660/cd9660_vnops.c
282
long size, n, on;
sys/fs/cd9660/cd9660_vnops.c
297
n = MIN(imp->logical_block_size - on, uio->uio_resid);
sys/fs/cd9660/cd9660_vnops.c
301
if (diff < n)
sys/fs/cd9660/cd9660_vnops.c
302
n = diff;
sys/fs/cd9660/cd9660_vnops.c
323
n = MIN(n, size - bp->b_resid);
sys/fs/cd9660/cd9660_vnops.c
325
error = uiomove(bp->b_data + on, (int)n, uio);
sys/fs/cd9660/cd9660_vnops.c
327
} while (error == 0 && uio->uio_resid > 0 && n != 0);
sys/fs/cuse/cuse.c
1032
int n;
sys/fs/cuse/cuse.c
1037
for (match = n = 0; n != CUSE_DEVICES_MAX; n++) {
sys/fs/cuse/cuse.c
1038
if (cuse_alloc_unit[n] != NULL) {
sys/fs/cuse/cuse.c
1039
if ((cuse_alloc_unit_id[n] ^ id) & CUSE_ID_MASK)
sys/fs/cuse/cuse.c
1041
if ((cuse_alloc_unit_id[n] & ~CUSE_ID_MASK) == x) {
sys/fs/cuse/cuse.c
1050
for (n = 0; n != CUSE_DEVICES_MAX; n++) {
sys/fs/cuse/cuse.c
1051
if (cuse_alloc_unit[n] == NULL) {
sys/fs/cuse/cuse.c
1052
cuse_alloc_unit[n] = pcs;
sys/fs/cuse/cuse.c
1053
cuse_alloc_unit_id[n] = id | x;
sys/fs/cuse/cuse.c
1083
int n;
sys/fs/cuse/cuse.c
1086
for (n = 0; n != CUSE_DEVICES_MAX; n++) {
sys/fs/cuse/cuse.c
1087
if (cuse_alloc_unit[n] == pcs) {
sys/fs/cuse/cuse.c
1088
if (cuse_alloc_unit_id[n] == id || id == -1) {
sys/fs/cuse/cuse.c
1089
cuse_alloc_unit[n] = NULL;
sys/fs/cuse/cuse.c
1090
cuse_alloc_unit_id[n] = 0;
sys/fs/cuse/cuse.c
1118
int n;
sys/fs/cuse/cuse.c
1167
n = cuse_alloc_unit_by_id_locked(pcs,
sys/fs/cuse/cuse.c
1171
if (n < 0)
sys/fs/cuse/cuse.c
1174
*(int *)data = n;
sys/fs/cuse/cuse.c
1179
n = *(int *)data;
sys/fs/cuse/cuse.c
1181
n = (n & CUSE_ID_MASK);
sys/fs/cuse/cuse.c
1184
n = cuse_alloc_unit_by_id_locked(pcs, n);
sys/fs/cuse/cuse.c
1187
if (n < 0)
sys/fs/cuse/cuse.c
1190
*(int *)data = n;
sys/fs/cuse/cuse.c
1195
n = *(int *)data;
sys/fs/cuse/cuse.c
1197
n = CUSE_ID_DEFAULT(n);
sys/fs/cuse/cuse.c
1200
error = cuse_free_unit_by_id_locked(pcs, n);
sys/fs/cuse/cuse.c
1206
n = *(int *)data;
sys/fs/cuse/cuse.c
1209
error = cuse_free_unit_by_id_locked(pcs, n);
sys/fs/cuse/cuse.c
1245
n = pccmd->got_signal;
sys/fs/cuse/cuse.c
1248
n = 0;
sys/fs/cuse/cuse.c
1252
*(int *)data = n;
sys/fs/cuse/cuse.c
1263
for (n = 0; n != CUSE_CMD_MAX; n++) {
sys/fs/cuse/cuse.c
1264
pcc->cmds[n].sub.per_file_handle = *(uintptr_t *)data;
sys/fs/cuse/cuse.c
1461
int n;
sys/fs/cuse/cuse.c
1470
for (n = 0; n != CUSE_CMD_MAX; n++) {
sys/fs/cuse/cuse.c
1471
pccmd = &pcc->cmds[n];
sys/fs/cuse/cuse.c
1492
int n;
sys/fs/cuse/cuse.c
1523
for (n = 0; n != CUSE_CMD_MAX; n++) {
sys/fs/cuse/cuse.c
1524
pccmd = &pcc->cmds[n];
sys/fs/cuse/cuse.c
1527
pccmd->sub.command = n;
sys/fs/cuse/cuse.c
377
int n;
sys/fs/cuse/cuse.c
385
for (n = 0; n != CUSE_CMD_MAX; n++) {
sys/fs/cuse/cuse.c
386
if (pcc->cmds[n].entered == td)
sys/fs/cuse/cuse.c
387
return (&pcc->cmds[n]);
sys/fs/cuse/cuse.c
548
uint32_t n;
sys/fs/cuse/cuse.c
556
for (n = 0; n != CUSE_CMD_MAX; n++) {
sys/fs/cuse/cuse.c
557
pccmd = &pcc->cmds[n];
sys/fs/ext2fs/ext2_acl.c
133
int n, count, s;
sys/fs/ext2fs/ext2_acl.c
166
for (n = 0; n < count; n++) {
sys/fs/ext2fs/ext2_acl.c
171
acl->acl_entry[n].ae_tag = entry->ae_tag;
sys/fs/ext2fs/ext2_acl.c
172
acl->acl_entry[n].ae_perm = entry->ae_perm;
sys/fs/ext2fs/ext2_acl.c
174
switch (acl->acl_entry[n].ae_tag) {
sys/fs/ext2fs/ext2_acl.c
187
acl->acl_entry[n].ae_id = entry->ae_id;
sys/fs/ext2fs/ext2_acl.c
195
acl->acl_entry[n].ae_id = entry->ae_id;
sys/fs/ext2fs/ext2_acl.c
300
size_t n;
sys/fs/ext2fs/ext2_acl.c
318
for (n = 0; n < acl->acl_cnt; n++) {
sys/fs/ext2fs/ext2_acl.c
319
const struct acl_entry *acl_e = &acl->acl_entry[n];
sys/fs/ext2fs/ext2_extattr.c
1013
int n;
sys/fs/ext2fs/ext2_extattr.c
1015
for (n=0; n < entry->e_name_len; n++) {
sys/fs/ext2fs/ext2_extattr.c
1024
for (n = (le32toh(entry->e_value_size) +
sys/fs/ext2fs/ext2_extattr.c
1025
EXT2_EXTATTR_ROUND) >> EXT2_EXTATTR_PAD_BITS; n; n--) {
sys/fs/ext2fs/ext2_hash.c
165
int n = 16;
sys/fs/ext2fs/ext2_hash.c
168
while (n-- > 0) {
sys/fs/ext2fs/ext2_hash.c
83
#define ROTATE_LEFT(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
sys/fs/fuse/fuse_io.c
134
int err, n = 0, on = 0, seqcount;
sys/fs/fuse/fuse_io.c
206
n = 0;
sys/fs/fuse/fuse_io.c
208
n = MIN((unsigned)(bcount - bp->b_resid - on),
sys/fs/fuse/fuse_io.c
210
if (n > 0) {
sys/fs/fuse/fuse_io.c
211
SDT_PROBE2(fusefs, , io, read_bio_backend_feed, n, bp);
sys/fs/fuse/fuse_io.c
212
err = uiomove(bp->b_data + on, n, uio);
sys/fs/fuse/fuse_io.c
216
uio->uio_resid, n, bp);
sys/fs/fuse/fuse_io.c
485
int n, on, seqcount, err = 0;
sys/fs/fuse/fuse_io.c
521
n = MIN((unsigned)(biosize - on), uio->uio_resid);
sys/fs/fuse/fuse_io.c
525
direct_append = uio->uio_offset == filesize && n;
sys/fs/fuse/fuse_io.c
526
if (uio->uio_offset + n < filesize) {
sys/fs/fuse/fuse_io.c
537
bcount = on + n;
sys/fs/fuse/fuse_io.c
562
err = fuse_vnode_setsize(vp, uio->uio_offset + n, false);
sys/fs/fuse/fuse_io.c
563
filesize = uio->uio_offset + n;
sys/fs/fuse/fuse_io.c
574
lbn, on, n, uio, bcount, direct_append);
sys/fs/fuse/fuse_io.c
594
if (on == 0 && n == bcount) {
sys/fs/fuse/fuse_io.c
661
(on > bp->b_dirtyend || (on + n) < bp->b_dirtyoff)) {
sys/fs/fuse/fuse_io.c
676
err = uiomove((char *)bp->b_data + on, n, uio);
sys/fs/fuse/fuse_io.c
689
if (n) {
sys/fs/fuse/fuse_io.c
692
bp->b_dirtyend = MAX((on + n), bp->b_dirtyend);
sys/fs/fuse/fuse_io.c
695
bp->b_dirtyend = on + n;
sys/fs/fuse/fuse_io.c
697
vfs_bio_set_valid(bp, on, n);
sys/fs/fuse/fuse_io.c
714
} else if (on == 0 && n == bcount) {
sys/fs/fuse/fuse_io.c
737
} while (uio->uio_resid > 0 && n > 0);
sys/fs/msdosfs/msdosfs_fat.c
706
u_long cl, n;
sys/fs/msdosfs/msdosfs_fat.c
712
for (cl = start, n = count; n-- > 0;)
sys/fs/msdosfs/msdosfs_fat.c
720
for (cl = start, n = count; n-- > 0;)
sys/fs/msdosfs/msdosfs_vnops.c
1511
long n;
sys/fs/msdosfs/msdosfs_vnops.c
1586
for (n = (int)offset / sizeof(struct direntry);
sys/fs/msdosfs/msdosfs_vnops.c
1587
n < 2; n++) {
sys/fs/msdosfs/msdosfs_vnops.c
1592
switch (n) {
sys/fs/msdosfs/msdosfs_vnops.c
1628
n = min(pmp->pm_bpcluster - on, uio->uio_resid);
sys/fs/msdosfs/msdosfs_vnops.c
1635
n = min(n, diff);
sys/fs/msdosfs/msdosfs_vnops.c
1643
n = min(n, blsize - bp->b_resid);
sys/fs/msdosfs/msdosfs_vnops.c
1644
if (n == 0) {
sys/fs/msdosfs/msdosfs_vnops.c
1654
(char *)dentp < bp->b_data + on + n;
sys/fs/msdosfs/msdosfs_vnops.c
525
u_int n;
sys/fs/msdosfs/msdosfs_vnops.c
594
n = diff > uio->uio_resid ? uio->uio_resid : diff;
sys/fs/msdosfs/msdosfs_vnops.c
596
if (diff < n)
sys/fs/msdosfs/msdosfs_vnops.c
597
n = diff;
sys/fs/msdosfs/msdosfs_vnops.c
599
if (diff < n)
sys/fs/msdosfs/msdosfs_vnops.c
600
n = diff;
sys/fs/msdosfs/msdosfs_vnops.c
601
error = vn_io_fault_uiomove(bp->b_data + on, (int) n, uio);
sys/fs/msdosfs/msdosfs_vnops.c
603
} while (error == 0 && uio->uio_resid > 0 && n != 0);
sys/fs/msdosfs/msdosfs_vnops.c
616
int n;
sys/fs/msdosfs/msdosfs_vnops.c
715
n = min(uio->uio_resid, pmp->pm_bpcluster - croffset);
sys/fs/msdosfs/msdosfs_vnops.c
716
if (uio->uio_offset + n > dep->de_FileSize) {
sys/fs/msdosfs/msdosfs_vnops.c
717
dep->de_FileSize = uio->uio_offset + n;
sys/fs/msdosfs/msdosfs_vnops.c
775
error = vn_io_fault_uiomove(bp->b_data + croffset, n, uio);
sys/fs/msdosfs/msdosfs_vnops.c
799
else if (n + croffset == pmp->pm_bpcluster) {
sys/fs/nfs/nfs.h
154
#define NFS_CMPFH(n, f, s) \
sys/fs/nfs/nfs.h
155
((n)->n_fhp->nfh_len == (s) && !NFSBCMP((n)->n_fhp->nfh_fh, (caddr_t)(f), (s)))
sys/fs/nfs/nfs.h
162
#define NFS_SRVMAXDATA(n) \
sys/fs/nfs/nfs.h
163
(((n)->nd_flag & (ND_NFSV3 | ND_NFSV4)) ? \
sys/fs/nfs/nfs.h
414
#define NFSSETSUPP_ATTRBIT(b, n) do { \
sys/fs/nfs/nfs.h
418
if (((n)->nd_flag & ND_NFSV41) == 0) { \
sys/fs/nfs/nfs.h
422
if (((n)->nd_flag & ND_NFSV42) == 0) \
sys/fs/nfs/nfs.h
442
#define NFSCLRNOTFILLABLE_ATTRBIT(b, n) do { \
sys/fs/nfs/nfs.h
446
if (((n)->nd_flag & ND_NFSV41) == 0) { \
sys/fs/nfs/nfs.h
450
if (((n)->nd_flag & ND_NFSV42) == 0) \
sys/fs/nfs/nfs.h
454
#define NFSCLRNOTSETABLE_ATTRBIT(b, n) do { \
sys/fs/nfs/nfs.h
458
if (((n)->nd_flag & ND_NFSV41) == 0) \
sys/fs/nfs/nfs.h
460
if (((n)->nd_flag & ND_NFSV42) == 0) \
sys/fs/nfs/nfs_commonport.c
179
struct mbuf *m, *n;
sys/fs/nfs/nfs_commonport.c
194
n = m_getcl(how, MT_DATA, 0);
sys/fs/nfs/nfs_commonport.c
196
n = m_get(how, MT_DATA);
sys/fs/nfs/nfs_commonport.c
197
if (n == NULL)
sys/fs/nfs/nfs_commonport.c
202
n->m_len = 0;
sys/fs/nfs/nfs_commonport.c
205
m_copyback(n, off, m->m_len, mtod(m, caddr_t));
sys/fs/nfs/nfs_commonport.c
210
*pm = n;
sys/fs/nfs/nfscl.h
45
#define NFS4NODENAME(n) (&((n)->n4_data[(n)->n4_fhlen]))
sys/fs/nfs/nfscl.h
50
#define NFSCL_REQSTART(n, p, v, c) \
sys/fs/nfs/nfscl.h
51
nfscl_reqstart((n), (p), VFSTONFS((v)->v_mount), \
sys/fs/nfs/nfsclstate.h
463
#define NFSCL_INCRSEQID(s, n) do { \
sys/fs/nfs/nfsclstate.h
464
if (((n)->nd_flag & ND_INCRSEQID)) \
sys/fs/nfs/nfsdport.h
101
#define NFSNAMEICNDSET(n, c, o, f) do { \
sys/fs/nfs/nfsdport.h
102
(n)->cn_cred = (c); \
sys/fs/nfs/nfsdport.h
103
(n)->cn_nameiop = (o); \
sys/fs/nfs/nfsdport.h
104
(n)->cn_flags = (f); \
sys/fs/nfs/nfsdport.h
33
#define NFSVNO_ATTRINIT(n) (VATTR_NULL(&((n)->na_vattr)))
sys/fs/nfs/nfsdport.h
34
#define NFSVNO_SETATTRVAL(n, f, v) ((n)->na_##f = (v))
sys/fs/nfs/nfsdport.h
35
#define NFSVNO_SETACTIVE(n, f)
sys/fs/nfs/nfsdport.h
36
#define NFSVNO_UNSET(n, f) ((n)->na_##f = VNOVAL)
sys/fs/nfs/nfsdport.h
37
#define NFSVNO_NOTSETMODE(n) ((n)->na_mode == ((mode_t)VNOVAL))
sys/fs/nfs/nfsdport.h
38
#define NFSVNO_ISSETMODE(n) ((n)->na_mode != ((mode_t)VNOVAL))
sys/fs/nfs/nfsdport.h
39
#define NFSVNO_NOTSETUID(n) ((n)->na_uid == ((uid_t)VNOVAL))
sys/fs/nfs/nfsdport.h
40
#define NFSVNO_ISSETUID(n) ((n)->na_uid != ((uid_t)VNOVAL))
sys/fs/nfs/nfsdport.h
41
#define NFSVNO_NOTSETGID(n) ((n)->na_gid == ((gid_t)VNOVAL))
sys/fs/nfs/nfsdport.h
42
#define NFSVNO_ISSETGID(n) ((n)->na_gid != ((gid_t)VNOVAL))
sys/fs/nfs/nfsdport.h
43
#define NFSVNO_NOTSETSIZE(n) ((n)->na_size == VNOVAL)
sys/fs/nfs/nfsdport.h
44
#define NFSVNO_ISSETSIZE(n) ((n)->na_size != VNOVAL)
sys/fs/nfs/nfsdport.h
45
#define NFSVNO_NOTSETATIME(n) ((n)->na_atime.tv_sec == VNOVAL)
sys/fs/nfs/nfsdport.h
46
#define NFSVNO_ISSETATIME(n) ((n)->na_atime.tv_sec != VNOVAL)
sys/fs/nfs/nfsdport.h
47
#define NFSVNO_NOTSETMTIME(n) ((n)->na_mtime.tv_sec == VNOVAL)
sys/fs/nfs/nfsdport.h
48
#define NFSVNO_ISSETMTIME(n) ((n)->na_mtime.tv_sec != VNOVAL)
sys/fs/nfs/nfsdport.h
49
#define NFSVNO_NOTSETFLAGS(n) ((n)->na_flags == VNOVAL)
sys/fs/nfs/nfsdport.h
50
#define NFSVNO_ISSETFLAGS(n) ((n)->na_flags != VNOVAL)
sys/fs/nfs/nfsport.h
1038
#define NFSHASNFSV3(n) ((n)->nm_flag & NFSMNT_NFSV3)
sys/fs/nfs/nfsport.h
1039
#define NFSHASNFSV4(n) ((n)->nm_flag & NFSMNT_NFSV4)
sys/fs/nfs/nfsport.h
1040
#define NFSHASNFSV4N(n) ((n)->nm_minorvers > 0)
sys/fs/nfs/nfsport.h
1041
#define NFSHASNFSV3OR4(n) ((n)->nm_flag & (NFSMNT_NFSV3 | NFSMNT_NFSV4))
sys/fs/nfs/nfsport.h
1042
#define NFSHASGOTFSINFO(n) ((n)->nm_state & NFSSTA_GOTFSINFO)
sys/fs/nfs/nfsport.h
1043
#define NFSHASHASSETFSID(n) ((n)->nm_state & NFSSTA_HASSETFSID)
sys/fs/nfs/nfsport.h
1044
#define NFSHASSTRICT3530(n) ((n)->nm_flag & NFSMNT_STRICT3530)
sys/fs/nfs/nfsport.h
1045
#define NFSHASWRITEVERF(n) ((n)->nm_state & NFSSTA_HASWRITEVERF)
sys/fs/nfs/nfsport.h
1046
#define NFSHASINT(n) ((n)->nm_flag & NFSMNT_INT)
sys/fs/nfs/nfsport.h
1047
#define NFSHASSOFT(n) ((n)->nm_flag & NFSMNT_SOFT)
sys/fs/nfs/nfsport.h
1048
#define NFSHASINTORSOFT(n) ((n)->nm_flag & (NFSMNT_INT | NFSMNT_SOFT))
sys/fs/nfs/nfsport.h
1049
#define NFSHASDUMBTIMR(n) ((n)->nm_flag & NFSMNT_DUMBTIMR)
sys/fs/nfs/nfsport.h
1050
#define NFSHASNOCONN(n) ((n)->nm_flag & NFSMNT_MNTD)
sys/fs/nfs/nfsport.h
1051
#define NFSHASKERB(n) ((n)->nm_flag & NFSMNT_KERB)
sys/fs/nfs/nfsport.h
1052
#define NFSHASALLGSSNAME(n) ((n)->nm_flag & NFSMNT_ALLGSSNAME)
sys/fs/nfs/nfsport.h
1053
#define NFSHASINTEGRITY(n) ((n)->nm_flag & NFSMNT_INTEGRITY)
sys/fs/nfs/nfsport.h
1054
#define NFSHASPRIVACY(n) ((n)->nm_flag & NFSMNT_PRIVACY)
sys/fs/nfs/nfsport.h
1055
#define NFSSETWRITEVERF(n) ((n)->nm_state |= NFSSTA_HASWRITEVERF)
sys/fs/nfs/nfsport.h
1056
#define NFSSETHASSETFSID(n) ((n)->nm_state |= NFSSTA_HASSETFSID)
sys/fs/nfs/nfsport.h
1057
#define NFSHASPNFSOPT(n) ((n)->nm_flag & NFSMNT_PNFS)
sys/fs/nfs/nfsport.h
1058
#define NFSHASNOLAYOUTCOMMIT(n) ((n)->nm_state & NFSSTA_NOLAYOUTCOMMIT)
sys/fs/nfs/nfsport.h
1059
#define NFSHASSESSPERSIST(n) ((n)->nm_state & NFSSTA_SESSPERSIST)
sys/fs/nfs/nfsport.h
1060
#define NFSHASPNFS(n) ((n)->nm_state & NFSSTA_PNFS)
sys/fs/nfs/nfsport.h
1061
#define NFSHASFLEXFILE(n) ((n)->nm_state & NFSSTA_FLEXFILE)
sys/fs/nfs/nfsport.h
1062
#define NFSHASOPENMODE(n) ((n)->nm_state & NFSSTA_OPENMODE)
sys/fs/nfs/nfsport.h
1063
#define NFSHASCASEINSENSITIVE(n) ((n)->nm_state & NFSSTA_CASEINSENSITIVE)
sys/fs/nfs/nfsport.h
1064
#define NFSHASONEOPENOWN(n) (((n)->nm_flag & NFSMNT_ONEOPENOWN) != 0 && \
sys/fs/nfs/nfsport.h
1065
(n)->nm_minorvers > 0)
sys/fs/nfs/nfsport.h
1066
#define NFSHASTLS(n) (((n)->nm_newflag & NFSMNT_TLS) != 0)
sys/fs/nfs/nfsport.h
1067
#define NFSHASSYSKRB5(n) (((n)->nm_newflag & NFSMNT_SYSKRB5) != 0)
sys/fs/nfs/nfsport.h
1115
#define NFSINVALATTRCACHE(n) ((n)->n_attrstamp = 0)
sys/fs/nfs/nfsport.h
823
#define NFSLOCKNODE(n) mtx_lock(&((n)->n_mtx))
sys/fs/nfs/nfsport.h
824
#define NFSUNLOCKNODE(n) mtx_unlock(&((n)->n_mtx))
sys/fs/nfs/nfsport.h
825
#define NFSASSERTNODE(n) mtx_assert(&((n)->n_mtx), MA_OWNED)
sys/fs/nfs/nfsport.h
870
#define NFSMAKEDEV(m, n) makedev((m), (n))
sys/fs/nfs/nfsport.h
984
#define NFSWRITERPC_SETTIME(w, n, a, v4) \
sys/fs/nfs/nfsport.h
987
NFSLOCKNODE(n); \
sys/fs/nfs/nfsport.h
988
(n)->n_mtime = (a)->na_mtime; \
sys/fs/nfs/nfsport.h
990
(n)->n_change = (a)->na_filerev; \
sys/fs/nfs/nfsport.h
991
NFSUNLOCKNODE(n); \
sys/fs/nfsclient/nfs_clbio.c
1012
n = MIN((unsigned)(biosize - on), uio->uio_resid);
sys/fs/nfsclient/nfs_clbio.c
1027
uio->uio_offset + n > np->n_size)) && n) {
sys/fs/nfsclient/nfs_clbio.c
1042
np->n_size = uio->uio_offset + n;
sys/fs/nfsclient/nfs_clbio.c
1049
bcount = on + n;
sys/fs/nfsclient/nfs_clbio.c
1061
bcount = on + n;
sys/fs/nfsclient/nfs_clbio.c
1071
if (uio->uio_offset + n > np->n_size) {
sys/fs/nfsclient/nfs_clbio.c
1072
np->n_size = uio->uio_offset + n;
sys/fs/nfsclient/nfs_clbio.c
1107
if (on == 0 && n == bcount) {
sys/fs/nfsclient/nfs_clbio.c
1171
(on > bp->b_dirtyend || (on + n) < bp->b_dirtyoff)) {
sys/fs/nfsclient/nfs_clbio.c
1180
error = vn_io_fault_uiomove((char *)bp->b_data + on, n, uio);
sys/fs/nfsclient/nfs_clbio.c
1210
n = local_resid - uio->uio_resid;
sys/fs/nfsclient/nfs_clbio.c
1216
if (n > 0) {
sys/fs/nfsclient/nfs_clbio.c
1219
bp->b_dirtyend = max((on + n), bp->b_dirtyend);
sys/fs/nfsclient/nfs_clbio.c
1222
bp->b_dirtyend = on + n;
sys/fs/nfsclient/nfs_clbio.c
1224
vfs_bio_set_valid(bp, on, n);
sys/fs/nfsclient/nfs_clbio.c
1242
} else if ((n + on) == biosize || (ioflag & IO_ASYNC) != 0) {
sys/fs/nfsclient/nfs_clbio.c
1251
} while (uio->uio_resid > 0 && n > 0);
sys/fs/nfsclient/nfs_clbio.c
440
int biosize, bcount, error, i, n, nra, on, save2, seqcount;
sys/fs/nfsclient/nfs_clbio.c
472
n = 0;
sys/fs/nfsclient/nfs_clbio.c
570
n = 0;
sys/fs/nfsclient/nfs_clbio.c
572
n = MIN((unsigned)(bcount - on), uio->uio_resid);
sys/fs/nfsclient/nfs_clbio.c
593
n = MIN(uio->uio_resid, NFS_MAXPATHLEN - bp->b_resid);
sys/fs/nfsclient/nfs_clbio.c
724
n = lmin(uio->uio_resid, NFS_DIRBLKSIZ - bp->b_resid - on);
sys/fs/nfsclient/nfs_clbio.c
725
if (np->n_direofoffset && n > np->n_direofoffset - uio->uio_offset)
sys/fs/nfsclient/nfs_clbio.c
726
n = np->n_direofoffset - uio->uio_offset;
sys/fs/nfsclient/nfs_clbio.c
735
if (n > 0) {
sys/fs/nfsclient/nfs_clbio.c
736
error = vn_io_fault_uiomove(bp->b_data + on, (int)n, uio);
sys/fs/nfsclient/nfs_clbio.c
739
n = 0;
sys/fs/nfsclient/nfs_clbio.c
742
} while (error == 0 && uio->uio_resid > 0 && n > 0);
sys/fs/nfsclient/nfs_clbio.c
842
int bp_cached, n, on, error = 0, error1, save2, wouldcommit;
sys/fs/nfsserver/nfs_nfsdport.c
6550
int error, i, j, k, l, n, ret, timo;
sys/fs/nfsserver/nfs_nfsdport.c
6573
n = k; /* Save first stripe# for later. */
sys/fs/nfsserver/nfs_nfsdport.c
6625
k = n; /* Keep track of stripe#. */
sys/fs/nfsserver/nfs_nfsdport.c
6810
int error, i, j, k, l, n, o, offs, ret, timo;
sys/fs/nfsserver/nfs_nfsdport.c
6850
n = mirrorcnt;
sys/fs/nfsserver/nfs_nfsdport.c
6852
n--;
sys/fs/nfsserver/nfs_nfsdport.c
6853
for (i = 0; i < n; i++, tdrpc++) {
sys/fs/p9fs/p9fs.h
119
#define P9FS_NODE_SETF(n, f) atomic_set_int(&(n)->flags, (f))
sys/fs/p9fs/p9fs.h
120
#define P9FS_NODE_CLRF(n, f) atomic_clear_int(&(n)->flags, (f))
sys/fs/p9fs/p9fs_subr.c
250
int i, n;
sys/fs/p9fs/p9fs_subr.c
254
n = 0;
sys/fs/p9fs/p9fs_subr.c
256
n++;
sys/fs/p9fs/p9fs_subr.c
261
wnames = malloc(n * sizeof(char *), M_TEMP, M_ZERO|M_WAITOK);
sys/fs/p9fs/p9fs_subr.c
263
for (i = n-1, node = np; i >= 0 ; i--, node = node->parent)
sys/fs/p9fs/p9fs_subr.c
267
return (n);
sys/fs/tarfs/tarfs_subr.c
271
long n;
sys/fs/tarfs/tarfs_subr.c
298
n = strtol(p = map, &q, 10);
sys/fs/tarfs/tarfs_subr.c
299
if (q == p || *q != '\n' || n < 1)
sys/fs/tarfs/tarfs_subr.c
301
nblk = n;
sys/fs/tarfs/tarfs_subr.c
303
for (n = 0, p = map; *p != '\0'; ++p) {
sys/fs/tarfs/tarfs_subr.c
305
++n;
sys/fs/tarfs/tarfs_subr.c
308
TARFS_DPF(MAP, "%s: %ld newlines in map\n", __func__, n);
sys/fs/tarfs/tarfs_subr.c
309
} while (n < nblk * 2 + 1);
sys/fs/tarfs/tarfs_subr.c
318
n = strtol(p, &q, 10);
sys/fs/tarfs/tarfs_subr.c
319
if (q == p || *q != '\n' || n < 0)
sys/fs/tarfs/tarfs_subr.c
322
blk[i].o = n;
sys/fs/tarfs/tarfs_subr.c
323
n = strtol(p, &q, 10);
sys/fs/tarfs/tarfs_subr.c
324
if (q == p || *q != '\n' || n < 0)
sys/fs/tarfs/tarfs_subr.c
327
blk[i].l = n;
sys/fs/tmpfs/tmpfs_vnops.c
1000
TMPFS_NODE_UNLOCK(n);
sys/fs/tmpfs/tmpfs_vnops.c
1002
n = NULL;
sys/fs/tmpfs/tmpfs_vnops.c
1008
n = NULL;
sys/fs/tmpfs/tmpfs_vnops.c
1011
n = parent;
sys/fs/tmpfs/tmpfs_vnops.c
1014
if (n == NULL)
sys/fs/tmpfs/tmpfs_vnops.c
1017
TMPFS_NODE_UNLOCK(n);
sys/fs/tmpfs/tmpfs_vnops.c
970
struct tmpfs_node *n;
sys/fs/tmpfs/tmpfs_vnops.c
988
n = tdnode;
sys/fs/tmpfs/tmpfs_vnops.c
990
TMPFS_NODE_LOCK(n);
sys/fs/tmpfs/tmpfs_vnops.c
991
while (n != n->tn_dir.tn_parent) {
sys/fs/tmpfs/tmpfs_vnops.c
994
if (n == fnode) {
sys/fs/tmpfs/tmpfs_vnops.c
995
TMPFS_NODE_UNLOCK(n);
sys/fs/tmpfs/tmpfs_vnops.c
999
parent = n->tn_dir.tn_parent;
sys/fs/udf/osta.c
212
udf_cksum(unsigned char *s, int n)
sys/fs/udf/osta.c
216
while (n-- > 0)
sys/fs/udf/osta.c
223
udf_unicode_cksum(unsigned short *s, int n)
sys/fs/udf/osta.c
227
while (n-- > 0) {
sys/fs/udf/udf_vnops.c
456
ssize_t n;
sys/fs/udf/udf_vnops.c
470
n = uio->uio_resid;
sys/fs/udf/udf_vnops.c
474
if (diff < n)
sys/fs/udf/udf_vnops.c
475
n = diff;
sys/fs/udf/udf_vnops.c
476
error = uiomove(data + uio->uio_offset, (int)n, uio);
sys/fs/udf/udf_vnops.c
490
n = min((u_int)(udfmp->bsize - on),
sys/fs/udf/udf_vnops.c
495
if (diff < n)
sys/fs/udf/udf_vnops.c
496
n = diff;
sys/fs/udf/udf_vnops.c
514
n = min(n, size - bp->b_resid);
sys/fs/udf/udf_vnops.c
516
error = uiomove(bp->b_data + on, (int)n, uio);
sys/fs/udf/udf_vnops.c
518
} while (error == 0 && uio->uio_resid > 0 && n != 0);
sys/gdb/gdb_int.h
103
gdb_tx_hex(uintmax_t n, int sz)
sys/gdb/gdb_int.h
105
gdb_txp += sprintf(gdb_txp, "%0*jx", sz, n);
sys/gdb/gdb_int.h
132
gdb_tx_varhex(uintmax_t n)
sys/gdb/gdb_int.h
134
gdb_txp += sprintf(gdb_txp, "%jx", n);
sys/gdb/gdb_main.c
171
#define BIT(n) (1ull << (n))
sys/gdb/gdb_packet.c
70
#define N2C(n) (((n) < 10) ? (n) + '0' : (n) + 'a' - 10)
sys/geom/cache/g_cache.c
157
u_int n;
sys/geom/cache/g_cache.c
161
n = g_cache_used_lo * sc->sc_maxent / 100;
sys/geom/cache/g_cache.c
162
while (sc->sc_nused > n) {
sys/geom/geom_ctl.c
505
int len, i = 0, n = 0, *parents;
sys/geom/geom_ctl.c
513
n = 0;
sys/geom/geom_ctl.c
517
n++;
sys/geom/geom_ctl.c
520
n++;
sys/geom/geom_ctl.c
523
gps = g_malloc((n + 1) * sizeof(*gps), M_WAITOK);
sys/geom/geom_ctl.c
536
KASSERT(i == n, ("different number of geoms found (%d != %d)",
sys/geom/geom_ctl.c
537
i, n));
sys/geom/geom_event.c
302
u_int n;
sys/geom/geom_event.c
314
for (n = 0; n < G_N_EVENTREFS; n++) {
sys/geom/geom_event.c
315
if (ep->ref[n] == NULL)
sys/geom/geom_event.c
317
if (ep->ref[n] != ref)
sys/geom/geom_event.c
352
u_int n;
sys/geom/geom_event.c
355
for (n = 0; n < G_N_EVENTREFS; n++) {
sys/geom/geom_event.c
360
ep->ref[n] = p;
sys/geom/geom_subr.c
850
int n, m;
sys/geom/geom_subr.c
872
n = cp->provider->geom->rank;
sys/geom/geom_subr.c
873
if (n == 0) {
sys/geom/geom_subr.c
876
} else if (n >= m)
sys/geom/geom_subr.c
877
m = n + 1;
sys/geom/journal/g_journal.c
1002
n++;
sys/geom/journal/g_journal.c
1012
GJ_DEBUG(3, "INSERT(%p): DONE %d", *head, n);
sys/geom/journal/g_journal.c
1014
return (n);
sys/geom/journal/g_journal.c
1027
int n;
sys/geom/journal/g_journal.c
1029
n = 0;
sys/geom/journal/g_journal.c
1071
n--;
sys/geom/journal/g_journal.c
1074
return (n);
sys/geom/journal/g_journal.c
1415
int n;
sys/geom/journal/g_journal.c
1418
n = g_journal_insert_bio(&sc->sc_current_queue, bp, M_WAITOK);
sys/geom/journal/g_journal.c
1419
sc->sc_current_count += n;
sys/geom/journal/g_journal.c
1420
n = g_journal_optimize(sc->sc_current_queue);
sys/geom/journal/g_journal.c
1421
sc->sc_current_count += n;
sys/geom/journal/g_journal.c
813
int n;
sys/geom/journal/g_journal.c
817
n = 0;
sys/geom/journal/g_journal.c
853
n++;
sys/geom/journal/g_journal.c
922
n++;
sys/geom/journal/g_journal.c
953
n += 2;
sys/geom/journal/g_journal.c
988
n++;
sys/geom/mirror/g_mirror.c
291
u_int n = 0;
sys/geom/mirror/g_mirror.c
295
n++;
sys/geom/mirror/g_mirror.c
297
return (n);
sys/geom/mirror/g_mirror.h
437
int n;
sys/geom/mirror/g_mirror.h
439
for (n = G_MIRROR_BALANCE_MIN; n <= G_MIRROR_BALANCE_MAX; n++) {
sys/geom/mirror/g_mirror.h
440
if (strcmp(name, algorithms[n]) == 0)
sys/geom/mirror/g_mirror.h
441
return (n);
sys/geom/mirror/g_mirror_ctl.c
618
u_int i, n;
sys/geom/mirror/g_mirror_ctl.c
668
for (i = 1, n = 0; i < (u_int)*nargs; i++) {
sys/geom/mirror/g_mirror_ctl.c
720
disks[n].provider = pp;
sys/geom/mirror/g_mirror_ctl.c
721
disks[n].consumer = cp;
sys/geom/mirror/g_mirror_ctl.c
722
n++;
sys/geom/mirror/g_mirror_ctl.c
724
if (n == 0) {
sys/geom/mirror/g_mirror_ctl.c
730
sc->sc_ndisks += n;
sys/geom/mirror/g_mirror_ctl.c
732
for (i = 0; i < n; i++) {
sys/geom/mirror/g_mirror_ctl.c
778
for (i = 0; i < n; i++) {
sys/geom/multipath/g_multipath.c
128
int n = 0;
sys/geom/multipath/g_multipath.c
132
n++;
sys/geom/multipath/g_multipath.c
134
return (n);
sys/geom/nop/g_nop.c
346
int error, n;
sys/geom/nop/g_nop.c
403
n = snprintf(name, sizeof(name), "%s%s", gnopname,
sys/geom/nop/g_nop.c
406
n = snprintf(name, sizeof(name), "%s%s", pp->name,
sys/geom/nop/g_nop.c
409
if (n <= 0 || n >= sizeof(name)) {
sys/geom/part/g_part_ldm.c
1013
size_t size, n, sectors;
sys/geom/part/g_part_ldm.c
1020
for (n = 0; n < size; n += maxphys / pp->sectorsize) {
sys/geom/part/g_part_ldm.c
1021
offset = db->ph.db_offset + db->th.conf_offset + n + 1;
sys/geom/part/g_part_ldm.c
1022
sectors = (size - n) > (maxphys / pp->sectorsize) ?
sys/geom/part/g_part_ldm.c
1023
maxphys / pp->sectorsize : size - n;
sys/geom/raid/g_raid.c
709
u_int n;
sys/geom/raid/g_raid.c
713
n = 0;
sys/geom/raid/g_raid.c
716
n++;
sys/geom/raid/g_raid.c
718
return (n);
sys/geom/raid/g_raid.c
730
u_int i, n ;
sys/geom/raid/g_raid.c
735
n = 0;
sys/geom/raid/g_raid.c
741
n++;
sys/geom/raid/g_raid.c
743
return (n);
sys/geom/raid/md_ddf.c
1001
for (j = 0; j < n; j++) {
sys/geom/raid/md_ddf.c
182
#define GETVDCPTR(m, n) ((struct ddf_vdc_record *)((uint8_t *)(m)->cr + \
sys/geom/raid/md_ddf.c
183
(n) * GET16((m), hdr->Configuration_Record_Length) * \
sys/geom/raid/md_ddf.c
186
#define GETSAPTR(m, n) ((struct ddf_sa_record *)((uint8_t *)(m)->cr + \
sys/geom/raid/md_ddf.c
187
(n) * GET16((m), hdr->Configuration_Record_Length) * \
sys/geom/raid/md_ddf.c
963
int i, j, n, num, pos;
sys/geom/raid/md_ddf.c
972
n = 1;
sys/geom/raid/md_ddf.c
987
for (j = 0; j < n; j++) {
sys/geom/raid/md_ddf.c
991
beg[n] = end1;
sys/geom/raid/md_ddf.c
992
end[n] = end[j];
sys/geom/raid/md_ddf.c
994
n++;
sys/geom/raid/md_jmicron.c
195
int pos, n;
sys/geom/raid/md_jmicron.c
197
n = 0;
sys/geom/raid/md_jmicron.c
200
n++;
sys/geom/raid/md_jmicron.c
202
return (n);
sys/geom/raid/tr_concat.c
103
int i, n, f;
sys/geom/raid/tr_concat.c
112
n = g_raid_nsubdisks(vol, G_RAID_SUBDISK_S_ACTIVE);
sys/geom/raid/tr_concat.c
114
if (n + f == vol->v_disks_count) {
sys/geom/raid/tr_raid0.c
100
int n, f;
sys/geom/raid/tr_raid0.c
109
n = g_raid_nsubdisks(vol, G_RAID_SUBDISK_S_ACTIVE);
sys/geom/raid/tr_raid0.c
111
if (n + f == vol->v_disks_count) {
sys/geom/raid3/g_raid3.c
1665
u_int n;
sys/geom/raid3/g_raid3.c
1672
for (n = 1; n < sc->sc_ndisks - 1; n++) {
sys/geom/raid3/g_raid3.c
1804
u_int n, ndisks;
sys/geom/raid3/g_raid3.c
1858
for (n = 0; n < ndisks; n++) {
sys/geom/raid3/g_raid3.c
1859
disk = &sc->sc_disks[n];
sys/geom/raid3/g_raid3.c
1909
if (n == ndisks - 1) {
sys/geom/raid3/g_raid3.c
1918
if (n == ndisks - 1) {
sys/geom/raid3/g_raid3.c
2215
u_int n;
sys/geom/raid3/g_raid3.c
2226
for (n = 0; n < sc->sc_ndisks; n++) {
sys/geom/raid3/g_raid3.c
2227
if (sc->sc_disks[n].d_state != G_RAID3_DISK_STATE_SYNCHRONIZING)
sys/geom/raid3/g_raid3.c
2229
disk = &sc->sc_disks[n];
sys/geom/raid3/g_raid3.c
2264
for (n = 0; n < g_raid3_syncreqs; n++) {
sys/geom/raid3/g_raid3.c
2266
disk->d_sync.ds_bios[n] = bp;
sys/geom/raid3/g_raid3.c
2277
bp->bio_caller1 = (void *)(uintptr_t)n;
sys/geom/raid3/g_raid3.c
2286
for (n = 0; n < g_raid3_syncreqs; n++) {
sys/geom/raid3/g_raid3.c
2287
bp = disk->d_sync.ds_bios[n];
sys/geom/raid3/g_raid3.c
2350
int n;
sys/geom/raid3/g_raid3.c
2360
for (n = 0; n < sc->sc_ndisks; n++) {
sys/geom/raid3/g_raid3.c
2361
disk = &sc->sc_disks[n];
sys/geom/raid3/g_raid3.c
2511
u_int n, ndirty, ndisks, genid, syncid;
sys/geom/raid3/g_raid3.c
2540
for (n = 0; n < sc->sc_ndisks; n++) {
sys/geom/raid3/g_raid3.c
2541
disk = &sc->sc_disks[n];
sys/geom/raid3/g_raid3.c
2551
for (n = 0; n < sc->sc_ndisks; n++) {
sys/geom/raid3/g_raid3.c
2552
disk = &sc->sc_disks[n];
sys/geom/raid3/g_raid3.c
2573
for (n = 0; n < sc->sc_ndisks; n++) {
sys/geom/raid3/g_raid3.c
2574
disk = &sc->sc_disks[n];
sys/geom/raid3/g_raid3.c
2607
for (n = 0; n < sc->sc_ndisks; n++) {
sys/geom/raid3/g_raid3.c
2608
disk = &sc->sc_disks[n];
sys/geom/raid3/g_raid3.c
2634
for (n = 0; n < sc->sc_ndisks; n++) {
sys/geom/raid3/g_raid3.c
2635
disk = &sc->sc_disks[n];
sys/geom/raid3/g_raid3.c
3156
u_int n;
sys/geom/raid3/g_raid3.c
3187
for (n = 0; n < sc->sc_ndisks; n++) {
sys/geom/raid3/g_raid3.c
3188
sc->sc_disks[n].d_softc = sc;
sys/geom/raid3/g_raid3.c
3189
sc->sc_disks[n].d_no = n;
sys/geom/raid3/g_raid3.c
3190
sc->sc_disks[n].d_state = G_RAID3_DISK_STATE_NODISK;
sys/geom/raid3/g_raid3.c
398
u_int n, ndisks;
sys/geom/raid3/g_raid3.c
402
for (n = ndisks = 0; n < sc->sc_ndisks; n++) {
sys/geom/raid3/g_raid3.c
403
disk = &sc->sc_disks[n];
sys/geom/raid3/g_raid3.c
647
u_int n;
sys/geom/raid3/g_raid3.c
655
for (n = 0; n < sc->sc_ndisks; n++) {
sys/geom/raid3/g_raid3.c
656
disk = &sc->sc_disks[n];
sys/geom/raid3/g_raid3.c
833
u_int n;
sys/geom/raid3/g_raid3.c
844
for (n = 0; n < sc->sc_ndisks; n++) {
sys/geom/raid3/g_raid3.c
845
disk = &sc->sc_disks[n];
sys/geom/raid3/g_raid3.c
858
u_int n;
sys/geom/raid3/g_raid3.c
869
for (n = 0; n < sc->sc_ndisks; n++) {
sys/geom/raid3/g_raid3.c
870
disk = &sc->sc_disks[n];
sys/geom/raid3/g_raid3_ctl.c
104
u_int n;
sys/geom/raid3/g_raid3_ctl.c
235
for (n = 0; n < sc->sc_ndisks; n++) {
sys/geom/raid3/g_raid3_ctl.c
236
disk = &sc->sc_disks[n];
sys/geom/raid3/g_raid3_ctl.c
74
u_int n;
sys/geom/raid3/g_raid3_ctl.c
79
for (n = 0; n < sc->sc_ndisks; n++) {
sys/geom/raid3/g_raid3_ctl.c
80
disk = &sc->sc_disks[n];
sys/geom/union/g_union.c
151
int *nargs, error, i, n;
sys/geom/union/g_union.c
233
n = snprintf(name, sizeof(name), "%s%s", gunionname,
sys/geom/union/g_union.c
236
n = snprintf(name, sizeof(name), "%s-%s%s", upperpp->name,
sys/geom/union/g_union.c
239
if (n <= 0 || n >= sizeof(name)) {
sys/geom/virstor/g_virstor.c
1193
size_t n, count;
sys/geom/virstor/g_virstor.c
1224
for (n = 0; n < sc->n_components; n++)
sys/geom/virstor/g_virstor.c
1225
count += sc->components[n].chunk_count;
sys/geom/virstor/g_virstor.c
1241
off = count = n = 0;
sys/geom/virstor/g_virstor.c
1267
bcopy(mapbuf, &sc->map[n], bs);
sys/geom/virstor/g_virstor.c
1270
n += bs / sizeof(*(sc->map));
sys/geom/virstor/g_virstor.c
1278
for (n = 0; n < sc->n_components; n++) {
sys/geom/virstor/g_virstor.c
1279
if (sc->components[n].chunk_next <
sys/geom/virstor/g_virstor.c
1280
sc->components[n].chunk_count) {
sys/geom/virstor/g_virstor.c
1281
index = n;
sys/geom/virstor/g_virstor.c
1320
for (n = 0; n < sc->n_components; n++)
sys/geom/virstor/g_virstor.c
1321
sc->components[n].chunk_next = sc->components[n].chunk_reserved;
sys/geom/virstor/g_virstor.c
1323
for (n = 0; n < sc->chunk_count; n++) {
sys/geom/virstor/g_virstor.c
1324
if (sc->map[n].provider_no >= sc->n_components ||
sys/geom/virstor/g_virstor.c
1325
sc->map[n].provider_chunk >=
sys/geom/virstor/g_virstor.c
1326
sc->components[sc->map[n].provider_no].chunk_count) {
sys/geom/virstor/g_virstor.c
1328
__func__, (u_int)n, sc->geom->name);
sys/geom/virstor/g_virstor.c
1331
sc->map[n].provider_no, sc->n_components,
sys/geom/virstor/g_virstor.c
1332
sc->map[n].provider_chunk,
sys/geom/virstor/g_virstor.c
1333
sc->components[sc->map[n].provider_no].chunk_count);
sys/geom/virstor/g_virstor.c
1336
if (sc->map[n].flags & VIRSTOR_MAP_ALLOCATED)
sys/geom/virstor/g_virstor.c
1337
sc->components[sc->map[n].provider_no].chunk_next++;
sys/geom/virstor/g_virstor.c
461
u_int n;
sys/geom/virstor/g_virstor.c
471
for (n = 0; n < sc->n_components; n++) {
sys/geom/virstor/g_virstor.c
472
read_metadata(sc->components[n].gcons, &md);
sys/geom/virstor/g_virstor.c
473
md.chunk_next = sc->components[n].chunk_next;
sys/geom/virstor/g_virstor.c
474
md.flags = sc->components[n].flags;
sys/geom/virstor/g_virstor.c
476
write_metadata(sc->components[n].gcons, &md);
sys/geom/virstor/g_virstor.c
693
int n;
sys/geom/virstor/g_virstor.c
699
for (n = 0; n < sc->chunk_count; n++) {
sys/geom/virstor/g_virstor.c
700
if (sc->map[n].flags || VIRSTOR_MAP_ALLOCATED != 0)
sys/geom/virstor/g_virstor.c
705
n = off = count = 0;
sys/geom/virstor/g_virstor.c
719
while (n < sc->chunk_count) {
sys/geom/virstor/g_virstor.c
724
if (bcmp(buf, &sc->map[n], sc->sectorsize) != 0) {
sys/geom/virstor/g_virstor.c
726
"entry %d, offset %jd", n, off);
sys/geom/virstor/g_virstor.c
730
n += sc->me_per_sector;
sys/geom/virstor/g_virstor.c
919
u_int n;
sys/geom/virstor/g_virstor.c
934
for (n = 0; n < sc->n_components; n++) {
sys/geom/virstor/g_virstor.c
935
if (sc->components[n].gcons != NULL)
sys/geom/virstor/g_virstor.c
936
remove_component(sc, &sc->components[n], delay);
sys/i386/i386/bpf_jit_machdep.h
102
typedef void (*emit_func)(bpf_bin_stream *stream, u_int value, u_int n);
sys/i386/i386/db_trace.c
234
int n = narg >= 0 ? narg : 5;
sys/i386/i386/db_trace.c
237
while (n) {
sys/i386/i386/db_trace.c
242
if (--n != 0)
sys/i386/i386/pmap.c
652
#define SYSMAP(c, p, v, n) \
sys/i386/i386/pmap.c
653
v = (c)va; va += ((n)*PAGE_SIZE); p = pte; pte += (n);
sys/i386/i386/uio_machdep.c
102
n -= cnt;
sys/i386/i386/uio_machdep.c
56
uiomove_fromphys(vm_page_t ma[], vm_offset_t offset, int n, struct uio *uio)
sys/i386/i386/uio_machdep.c
74
while (n > 0 && uio->uio_resid) {
sys/i386/i386/uio_machdep.c
85
if (cnt > n)
sys/i386/i386/uio_machdep.c
86
cnt = n;
sys/kern/imgact_elf.c
1133
int error, i, n;
sys/kern/imgact_elf.c
1152
n = error = 0;
sys/kern/imgact_elf.c
1206
if (n == 0)
sys/kern/imgact_elf.c
1222
n++;
sys/kern/init_sysent.c
14
#define compat(n, name) .sy_narg = n, .sy_call = (sy_call_t *)__CONCAT(o, name)
sys/kern/init_sysent.c
16
#define compat(n, name) .sy_narg = 0, .sy_call = (sy_call_t *)nosys
sys/kern/init_sysent.c
20
#define compat4(n, name) .sy_narg = n, .sy_call = (sy_call_t *)__CONCAT(freebsd4_, name)
sys/kern/init_sysent.c
22
#define compat4(n, name) .sy_narg = 0, .sy_call = (sy_call_t *)nosys
sys/kern/init_sysent.c
26
#define compat6(n, name) .sy_narg = n, .sy_call = (sy_call_t *)__CONCAT(freebsd6_, name)
sys/kern/init_sysent.c
28
#define compat6(n, name) .sy_narg = 0, .sy_call = (sy_call_t *)nosys
sys/kern/init_sysent.c
32
#define compat7(n, name) .sy_narg = n, .sy_call = (sy_call_t *)__CONCAT(freebsd7_, name)
sys/kern/init_sysent.c
34
#define compat7(n, name) .sy_narg = 0, .sy_call = (sy_call_t *)nosys
sys/kern/init_sysent.c
38
#define compat10(n, name) .sy_narg = n, .sy_call = (sy_call_t *)__CONCAT(freebsd10_, name)
sys/kern/init_sysent.c
40
#define compat10(n, name) .sy_narg = 0, .sy_call = (sy_call_t *)nosys
sys/kern/init_sysent.c
44
#define compat11(n, name) .sy_narg = n, .sy_call = (sy_call_t *)__CONCAT(freebsd11_, name)
sys/kern/init_sysent.c
46
#define compat11(n, name) .sy_narg = 0, .sy_call = (sy_call_t *)nosys
sys/kern/init_sysent.c
50
#define compat12(n, name) .sy_narg = n, .sy_call = (sy_call_t *)__CONCAT(freebsd12_, name)
sys/kern/init_sysent.c
52
#define compat12(n, name) .sy_narg = 0, .sy_call = (sy_call_t *)nosys
sys/kern/init_sysent.c
56
#define compat13(n, name) .sy_narg = n, .sy_call = (sy_call_t *)__CONCAT(freebsd13_, name)
sys/kern/init_sysent.c
58
#define compat13(n, name) .sy_narg = 0, .sy_call = (sy_call_t *)nosys
sys/kern/init_sysent.c
62
#define compat14(n, name) .sy_narg = n, .sy_call = (sy_call_t *)__CONCAT(freebsd14_, name)
sys/kern/init_sysent.c
64
#define compat14(n, name) .sy_narg = 0, .sy_call = (sy_call_t *)nosys
sys/kern/kern_cons.c
563
cnputsn(const char *p, size_t n)
sys/kern/kern_cons.c
580
for (i = 0; i < n; i++)
sys/kern/kern_cpu.c
946
int best, count, diff, bdiff, devcount, error, freq, i, n;
sys/kern/kern_cpu.c
969
for (n = 0; n < devcount; n++) {
sys/kern/kern_cpu.c
971
error = CPUFREQ_LEVELS(devs[n], levels, &count);
sys/kern/kern_cpu.c
987
error = CPUFREQ_SET(devs[n], &levels[best], CPUFREQ_PRIO_USER);
sys/kern/kern_descrip.c
2184
fdallocn(struct thread *td, int minfd, int *fds, int n)
sys/kern/kern_descrip.c
2192
for (i = 0; i < n; i++)
sys/kern/kern_descrip.c
2196
if (i < n) {
sys/kern/kern_descrip.c
2243
_falloc_noinstall(struct thread *td, struct file **resultfp, u_int n)
sys/kern/kern_descrip.c
2252
MPASS(n > 0);
sys/kern/kern_descrip.c
2267
refcount_init(&fp->f_count, n);
sys/kern/kern_descrip.c
4680
int error, n;
sys/kern/kern_descrip.c
4686
n = 0;
sys/kern/kern_descrip.c
4699
n += fdp->fd_nfiles;
sys/kern/kern_descrip.c
4703
return (SYSCTL_OUT(req, 0, n * sizeof(xf)));
sys/kern/kern_descrip.c
4728
FILEDESC_FOREACH_FP(fdp, n, fp) {
sys/kern/kern_descrip.c
4729
xf.xf_fd = n;
sys/kern/kern_descrip.c
5367
int n;
sys/kern/kern_descrip.c
5375
for (n = 0; n < fdp->fd_nfiles; n++) {
sys/kern/kern_descrip.c
5376
if (fp == fdp->fd_ofiles[n].fde_file)
sys/kern/kern_descrip.c
5421
int n;
sys/kern/kern_descrip.c
5429
for (n = 0; n < fdp->fd_nfiles; ++n) {
sys/kern/kern_descrip.c
5430
if ((fp = fdp->fd_ofiles[n].fde_file) == NULL)
sys/kern/kern_dump.c
64
int n, idx;
sys/kern/kern_dump.c
67
for (n = 0; n < nitems(dump_map); n++) {
sys/kern/kern_dump.c
68
idx = n * 2;
sys/kern/kern_dump.c
71
dump_map[n].pa_start = dump_avail[idx];
sys/kern/kern_dump.c
72
dump_map[n].pa_size = dump_avail[idx + 1] - dump_avail[idx];
sys/kern/kern_environment.c
401
getfreesuffix(char *cp, size_t *n)
sys/kern/kern_environment.c
408
for (*n = 1; *n <= MAXSUFFIX; (*n)++) {
sys/kern/kern_environment.c
409
sprintf(&ncp[len], "_%zu", *n);
sys/kern/kern_environment.c
414
if (*n > MAXSUFFIX)
sys/kern/kern_environment.c
422
size_t len, n;
sys/kern/kern_environment.c
467
getfreesuffix(cp, &n);
sys/kern/kern_environment.c
470
sprintf(kenvp[i++], "%s_%zu=%s", cp, n,
sys/kern/kern_environment.c
797
int n;
sys/kern/kern_environment.c
809
n = 0;
sys/kern/kern_environment.c
871
if (n >= size)
sys/kern/kern_environment.c
884
((uint8_t *)pdata)[n] = (uint8_t)value;
sys/kern/kern_environment.c
894
((uint16_t *)pdata)[n] = (uint16_t)value;
sys/kern/kern_environment.c
904
((uint32_t *)pdata)[n] = (uint32_t)value;
sys/kern/kern_environment.c
907
((uint64_t *)pdata)[n] = (uint64_t)value;
sys/kern/kern_environment.c
912
n++;
sys/kern/kern_environment.c
914
*psize = n * type_size;
sys/kern/kern_environment.c
916
if (n != 0)
sys/kern/kern_event.c
1504
int i, n, nerrors, error;
sys/kern/kern_event.c
1511
n = nchanges > KQ_NEVENTS ? KQ_NEVENTS : nchanges;
sys/kern/kern_event.c
1512
error = k_ops->k_copyin(k_ops->arg, keva, n);
sys/kern/kern_event.c
1516
for (i = 0; i < n; i++) {
sys/kern/kern_event.c
1532
nchanges -= n;
sys/kern/kern_event.c
3364
size_t n;
sys/kern/kern_event.c
3367
n = MIN((size_t)len, c->remaining);
sys/kern/kern_event.c
3368
if (n != 0) {
sys/kern/kern_event.c
3369
if (sbuf_bcat(c->sb, data, n) != 0)
sys/kern/kern_event.c
3371
c->remaining -= n;
sys/kern/kern_fail.c
467
int n;
sys/kern/kern_fail.c
474
n = vsnprintf(NULL, 0, fmt, ap);
sys/kern/kern_fail.c
478
name = fp_malloc(n + 1, M_WAITOK);
sys/kern/kern_fail.c
480
vsnprintf(name, n + 1, fmt, ap);
sys/kern/kern_intr.c
450
int cpu, n;
sys/kern/kern_intr.c
459
for (n = 0; n < CPU_SETSIZE; n++) {
sys/kern/kern_intr.c
460
if (!CPU_ISSET(n, mask))
sys/kern/kern_intr.c
464
cpu = n;
sys/kern/kern_jailmeta.c
136
struct hunk *n;
sys/kern/kern_jailmeta.c
138
n = jm_h_alloc();
sys/kern/kern_jailmeta.c
139
n->p = p;
sys/kern/kern_jailmeta.c
140
n->len = len;
sys/kern/kern_jailmeta.c
141
n->next = h;
sys/kern/kern_jailmeta.c
142
return (n);
sys/kern/kern_jailmeta.c
230
struct hunk *n = h;
sys/kern/kern_jailmeta.c
231
while (n != NULL) {
sys/kern/kern_jailmeta.c
232
h = n;
sys/kern/kern_jailmeta.c
233
n = h->next;
sys/kern/kern_kcov.c
362
size_t n, pages;
sys/kern/kern_kcov.c
383
for (n = 0; n < pages; n++) {
sys/kern/kern_kcov.c
384
m = vm_page_grab(info->bufobj, n,
sys/kern/kern_kcov.c
388
pmap_qenter((char *)info->kvaddr + n * PAGE_SIZE, &m, 1);
sys/kern/kern_lockf.c
152
static int graph_add_indices(int *indices, int n,
sys/kern/kern_lockf.c
2108
int n;
sys/kern/kern_lockf.c
2120
n = 1;
sys/kern/kern_lockf.c
2130
n++;
sys/kern/kern_lockf.c
2136
return (n);
sys/kern/kern_lockf.c
2150
int n;
sys/kern/kern_lockf.c
2161
n = 1;
sys/kern/kern_lockf.c
2169
n++;
sys/kern/kern_lockf.c
2175
return (n);
sys/kern/kern_lockf.c
2179
graph_add_indices(int *indices, int n, struct owner_vertex_list *set)
sys/kern/kern_lockf.c
2185
for (i = n;
sys/kern/kern_lockf.c
2188
for (j = n - 1; j >= i; j--)
sys/kern/kern_lockf.c
2191
n++;
sys/kern/kern_lockf.c
2194
return (n);
sys/kern/kern_lockf.c
2224
int nF, n, vi, i;
sys/kern/kern_lockf.c
2310
n = graph_add_indices(indices, 0, &deltaF);
sys/kern/kern_lockf.c
2311
graph_add_indices(indices, n, &deltaB);
sys/kern/kern_mbuf.c
1371
struct mbuf *m, *n;
sys/kern/kern_mbuf.c
1388
n = uma_zalloc_arg(zone_jumbop, m, how);
sys/kern/kern_mbuf.c
1389
if (n == NULL) {
sys/kern/kern_mbuf.c
1405
struct mbuf *m, *n;
sys/kern/kern_mbuf.c
1426
n = uma_zalloc_arg(zone, m, how);
sys/kern/kern_mbuf.c
1427
if (n == NULL) {
sys/kern/kern_mbuf.c
1443
struct mbuf *m, *n;
sys/kern/kern_mbuf.c
1457
n = uma_zalloc_arg(zone, m, how);
sys/kern/kern_mbuf.c
1458
if (n == NULL) {
sys/kern/kern_mbuf.c
1619
struct mbuf *n;
sys/kern/kern_mbuf.c
1623
n = m->m_nextpkt;
sys/kern/kern_mbuf.c
1626
m = n;
sys/kern/kern_ntptime.c
64
#define L_RSHIFT(v, n) \
sys/kern/kern_ntptime.c
67
(v) = -(-(v) >> (n)); \
sys/kern/kern_ntptime.c
69
(v) = (v) >> (n); \
sys/kern/kern_pmc.c
252
int n;
sys/kern/kern_pmc.c
265
for (n = 0; n < pmc_softevents; n++)
sys/kern/kern_pmc.c
266
if (pmc_softs[n] == NULL)
sys/kern/kern_pmc.c
268
if (n == pmc_softevents) {
sys/kern/kern_pmc.c
278
ps->ps_ev.pm_ev_code = PMC_EV_SOFT_FIRST + n;
sys/kern/kern_pmc.c
279
pmc_softs[n] = ps;
sys/kern/kern_proc.c
1844
ssize_t n;
sys/kern/kern_proc.c
1851
n = vmspace_iop(td, vm, (vm_offset_t)sptr, buf, len, UIO_READ);
sys/kern/kern_proc.c
1852
if (n <= 0)
sys/kern/kern_procctl.c
213
int n;
sys/kern/kern_procctl.c
218
n = 0;
sys/kern/kern_procctl.c
220
n++;
sys/kern/kern_procctl.c
221
if (rp->rp_count < n)
sys/kern/kern_procctl.c
222
n = rp->rp_count;
sys/kern/kern_procctl.c
224
return (n);
sys/kern/kern_procctl.c
233
u_int i, n, n1;
sys/kern/kern_procctl.c
245
n = reap_getpids_count(&reap, p, rp);
sys/kern/kern_procctl.c
246
if (n <= n1)
sys/kern/kern_procctl.c
252
if (i == n)
sys/kern/kern_prot.c
2900
crextend(struct ucred *cr, int n)
sys/kern/kern_prot.c
2907
groups_check_positive_len(n);
sys/kern/kern_prot.c
2908
groups_check_max_len(n);
sys/kern/kern_prot.c
2910
if (n <= cr->cr_agroups)
sys/kern/kern_prot.c
2913
nbytes = n * sizeof(gid_t);
sys/kern/kern_prot.c
2914
if (nbytes < n)
sys/kern/kern_resource.c
1398
lim_freen(struct plimit *limp, int n)
sys/kern/kern_resource.c
1401
if (refcount_releasen(&limp->pl_refcnt, n))
sys/kern/kern_resource.c
282
donice(struct thread *td, struct proc *p, int n)
sys/kern/kern_resource.c
289
if (n > PRIO_MAX)
sys/kern/kern_resource.c
290
n = PRIO_MAX;
sys/kern/kern_resource.c
291
if (n < PRIO_MIN)
sys/kern/kern_resource.c
292
n = PRIO_MIN;
sys/kern/kern_resource.c
293
if (n < p->p_nice && priv_check(td, PRIV_SCHED_SETPRIORITY) != 0)
sys/kern/kern_resource.c
295
sched_nice(p, n);
sys/kern/kern_resource.c
77
static int donice(struct thread *td, struct proc *chgp, int n);
sys/kern/kern_rwlock.c
1061
n = RW_READERS(v);
sys/kern/kern_rwlock.c
1062
for (i = 0; i < rowner_loops; i += n) {
sys/kern/kern_rwlock.c
1063
lock_delay_spin(n);
sys/kern/kern_rwlock.c
1069
n = RW_READERS(v);
sys/kern/kern_rwlock.c
1070
if (n == 0)
sys/kern/kern_rwlock.c
451
int i, n;
sys/kern/kern_rwlock.c
544
n = RW_READERS(v);
sys/kern/kern_rwlock.c
545
for (i = 0; i < rowner_loops; i += n) {
sys/kern/kern_rwlock.c
546
lock_delay_spin(n);
sys/kern/kern_rwlock.c
550
n = RW_READERS(v);
sys/kern/kern_rwlock.c
551
if (n == 0)
sys/kern/kern_rwlock.c
919
int i, n;
sys/kern/kern_sendfile.c
173
xfsize(int i, int n, off_t off, off_t len)
sys/kern/kern_sendfile.c
179
if (i == n - 1 && ((off + len) & PAGE_MASK) > 0)
sys/kern/kern_sig.c
3418
int n;
sys/kern/kern_sig.c
3422
n = p->p_suspcount;
sys/kern/kern_sig.c
3424
n++;
sys/kern/kern_sig.c
3425
if ((p->p_flag & P_STOPPED_SIG) != 0 && n == p->p_numthreads) {
sys/kern/kern_sx.c
1023
u_int i, n, spintries = 0;
sys/kern/kern_sx.c
1127
n = SX_SHARERS(x);
sys/kern/kern_sx.c
1128
for (i = 0; i < asx_loops; i += n) {
sys/kern/kern_sx.c
1129
lock_delay_spin(n);
sys/kern/kern_sx.c
1133
n = SX_SHARERS(x);
sys/kern/kern_sx.c
1134
if (n == 0)
sys/kern/kern_sx.c
570
u_int i, n, spintries = 0;
sys/kern/kern_sx.c
718
n = SX_SHARERS(x);
sys/kern/kern_sx.c
719
for (i = 0; i < asx_loops; i += n) {
sys/kern/kern_sx.c
720
lock_delay_spin(n);
sys/kern/kern_sx.c
726
n = SX_SHARERS(x);
sys/kern/kern_sx.c
727
if (n == 0)
sys/kern/kern_sysctl.c
1437
const char *n;
sys/kern/kern_sysctl.c
1442
n = strchrnul(name, '.');
sys/kern/kern_sysctl.c
1443
oidp = sysctl_find_oidnamelen(name, n - name, lsp);
sys/kern/kern_sysctl.c
1449
name = n;
sys/kern/kern_thread.c
220
thread_count_sub(int n)
sys/kern/kern_thread.c
223
atomic_subtract_int(&nthreads, n);
sys/kern/kern_thread.c
283
tid_free_batch(lwpid_t *batch, int n)
sys/kern/kern_thread.c
288
for (i = 0; i < n; i++) {
sys/kern/kern_thread.c
299
int n;
sys/kern/kern_thread.c
306
tb->n = 0;
sys/kern/kern_thread.c
313
KASSERT(tb->n < nitems(tb->tab),
sys/kern/kern_thread.c
314
("%s: count too high %d", __func__, tb->n));
sys/kern/kern_thread.c
315
tb->tab[tb->n] = td->td_tid;
sys/kern/kern_thread.c
316
tb->n++;
sys/kern/kern_thread.c
323
KASSERT(tb->n <= nitems(tb->tab),
sys/kern/kern_thread.c
324
("%s: count too high %d", __func__, tb->n));
sys/kern/kern_thread.c
325
if (tb->n == nitems(tb->tab)) {
sys/kern/kern_thread.c
326
tid_free_batch(tb->tab, tb->n);
sys/kern/kern_thread.c
327
tb->n = 0;
sys/kern/kern_thread.c
335
KASSERT(tb->n <= nitems(tb->tab),
sys/kern/kern_thread.c
336
("%s: count too high %d", __func__, tb->n));
sys/kern/kern_thread.c
337
if (tb->n != 0) {
sys/kern/kern_thread.c
338
tid_free_batch(tb->tab, tb->n);
sys/kern/kern_thread.c
346
int n;
sys/kern/kern_thread.c
353
tb->n = 0;
sys/kern/kern_thread.c
360
tb->n++;
sys/kern/kern_thread.c
367
if (tb->n == 32) {
sys/kern/kern_thread.c
368
thread_count_sub(tb->n);
sys/kern/kern_thread.c
369
tb->n = 0;
sys/kern/kern_thread.c
377
if (tb->n != 0) {
sys/kern/kern_thread.c
378
thread_count_sub(tb->n);
sys/kern/kern_umtx.c
380
unsigned n;
sys/kern/kern_umtx.c
382
n = (uintptr_t)key->info.both.a + key->info.both.b;
sys/kern/kern_umtx.c
383
key->hash = ((n * GOLDEN_RATIO_PRIME) >> UMTX_SHIFTS) % UMTX_CHAINS;
sys/kern/kern_uuid.c
134
size_t n;
sys/kern/kern_uuid.c
158
for (n = 0; n < count; n++) {
sys/kern/kern_uuid.c
163
store[n] = *(struct uuid *)&uuid;
sys/kern/kern_uuid.c
386
int n;
sys/kern/kern_uuid.c
413
n = sscanf(str, "%8x-%4x-%4x-%2x%2x-%2x%2x%2x%2x%2x%2x", c + 0, c + 1,
sys/kern/kern_uuid.c
416
if (n != 11)
sys/kern/kern_uuid.c
426
for (n = 0; n < 6; n++)
sys/kern/kern_uuid.c
427
uuid->node[n] = c[n + 5];
sys/kern/subr_asan.c
1082
__asan_register_globals(struct __asan_global *globals, size_t n)
sys/kern/subr_asan.c
1086
for (i = 0; i < n; i++) {
sys/kern/subr_asan.c
1093
__asan_unregister_globals(struct __asan_global *globals, size_t n)
sys/kern/subr_asan.c
1097
for (i = 0; i < n; i++) {
sys/kern/subr_asan.c
260
size_t i, n, redz;
sys/kern/subr_asan.c
280
n = size / KASAN_SHADOW_SCALE;
sys/kern/subr_asan.c
281
for (i = 0; i < n; i++) {
sys/kern/subr_asan.c
291
n = redz / KASAN_SHADOW_SCALE;
sys/kern/subr_asan.c
292
for (i = 0; i < n; i++) {
sys/kern/subr_blist.c
178
bitrange(int n, int count)
sys/kern/subr_blist.c
181
return (((u_daddr_t)-1 << n) &
sys/kern/subr_blist.c
182
((u_daddr_t)-1 >> (BLIST_RADIX - (n + count))));
sys/kern/subr_boot.c
132
char *n;
sys/kern/subr_boot.c
180
n = strsep(&vv, "=");
sys/kern/subr_boot.c
182
SETENV(n, "1");
sys/kern/subr_boot.c
184
SETENV(n, vv);
sys/kern/subr_capability.c
137
int i, n __unused;
sys/kern/subr_capability.c
141
n = CAPARSIZE(rights);
sys/kern/subr_capability.c
142
assert(n >= CAPARSIZE_MIN && n <= CAPARSIZE_MAX);
sys/kern/subr_capability.c
151
assert(i < n);
sys/kern/subr_capability.c
162
int i, n __unused;
sys/kern/subr_capability.c
166
n = CAPARSIZE(rights);
sys/kern/subr_capability.c
167
assert(n >= CAPARSIZE_MIN && n <= CAPARSIZE_MAX);
sys/kern/subr_capability.c
176
assert(i < n);
sys/kern/subr_capability.c
187
int i, n __unused;
sys/kern/subr_capability.c
191
n = CAPARSIZE(rights);
sys/kern/subr_capability.c
192
assert(n >= CAPARSIZE_MIN && n <= CAPARSIZE_MAX);
sys/kern/subr_capability.c
201
assert(i < n);
sys/kern/subr_capability.c
213
unsigned int n __unused;
sys/kern/subr_capability.c
218
n = version + 2;
sys/kern/subr_capability.c
219
assert(n >= CAPARSIZE_MIN && n <= CAPARSIZE_MAX);
sys/kern/subr_capability.c
321
unsigned int i, n;
sys/kern/subr_capability.c
329
n = CAPARSIZE(dst);
sys/kern/subr_capability.c
330
assert(n >= CAPARSIZE_MIN && n <= CAPARSIZE_MAX);
sys/kern/subr_capability.c
332
for (i = 0; i < n; i++)
sys/kern/subr_capability.c
344
unsigned int i, n;
sys/kern/subr_capability.c
352
n = CAPARSIZE(dst);
sys/kern/subr_capability.c
353
assert(n >= CAPARSIZE_MIN && n <= CAPARSIZE_MAX);
sys/kern/subr_capability.c
355
for (i = 0; i < n; i++) {
sys/kern/subr_capability.c
370
unsigned int i, n;
sys/kern/subr_capability.c
376
n = CAPARSIZE(big);
sys/kern/subr_capability.c
377
assert(n >= CAPARSIZE_MIN && n <= CAPARSIZE_MAX);
sys/kern/subr_capability.c
379
for (i = 0; i < n; i++) {
sys/kern/subr_clockcalib.c
103
for (n = 1; ; n++) {
sys/kern/subr_clockcalib.c
124
inv_n = 1.0 / n;
sys/kern/subr_clockcalib.c
149
if (TSC_UNCERTAINTY_SQR * (n - 2) * cva * cva >
sys/kern/subr_clockcalib.c
156
if (passes * 2 > n) {
sys/kern/subr_clockcalib.c
163
(unsigned long)n);
sys/kern/subr_clockcalib.c
174
clk_delay = clk() + (clk() - clk0) / (n * n);
sys/kern/subr_clockcalib.c
42
uint64_t clk0, clk1, clk_delay, n, passes = 0;
sys/kern/subr_compressor.c
85
gz_alloc(void *arg __unused, u_int n, u_int sz)
sys/kern/subr_compressor.c
93
return (malloc(n * sz, M_COMPRESS, M_WAITOK | M_ZERO | M_NODUMP));
sys/kern/subr_gtaskqueue.c
633
struct grouptask *n;
sys/kern/subr_gtaskqueue.c
652
LIST_FOREACH(n, &qgroup->tqg_queue[i].tgc_tasks,
sys/kern/subr_gtaskqueue.c
654
if (n->gt_uniq == uniq)
sys/kern/subr_gtaskqueue.c
656
if (n != NULL)
sys/kern/subr_hints.c
127
int fbacklvl = FBACK_MDENV, i = 0, n = 0, namelen;
sys/kern/subr_hints.c
238
n = sscanf(cp + 5, "%32[^.].%d.%32[^=]=%127s", r_name, &r_unit,
sys/kern/subr_hints.c
240
if (n != 4) {
sys/kern/subr_memdesc.c
474
struct mbuf *m, *n, *tail;
sys/kern/subr_memdesc.c
495
n = ext_alloc(cb_arg, how, (char *)(uintptr_t)vlist->ds_addr +
sys/kern/subr_memdesc.c
497
if (n == NULL)
sys/kern/subr_memdesc.c
501
m = n;
sys/kern/subr_memdesc.c
504
tail->m_next = n;
sys/kern/subr_memdesc.c
505
tail = n;
sys/kern/subr_msan.c
392
kmsan_init_arg(size_t n)
sys/kern/subr_msan.c
403
__builtin_memset(arg, 0, n);
sys/kern/subr_msan.c
407
kmsan_init_ret(size_t n)
sys/kern/subr_msan.c
418
__builtin_memset(arg, 0, n);
sys/kern/subr_prf.c
684
int ch, n, sign;
sys/kern/subr_prf.c
752
for (n = 0;; ++fmt) {
sys/kern/subr_prf.c
753
n = n * 10 + ch - '0';
sys/kern/subr_prf.c
759
dwidth = n;
sys/kern/subr_prf.c
761
width = n;
sys/kern/subr_prf.c
857
n = strlen (p);
sys/kern/subr_prf.c
859
for (n = 0; n < dwidth && p[n]; n++)
sys/kern/subr_prf.c
862
width -= n;
sys/kern/subr_prf.c
867
while (n--)
sys/kern/subr_prf.c
935
p = ksprintn(nbuf, num, base, &n, upper);
sys/kern/subr_prf.c
948
width -= tmp + imax(dwidth, n);
sys/kern/subr_prf.c
949
dwidth -= n;
sys/kern/subr_prf.c
974
n = *q++ & 0x7f;
sys/kern/subr_prf.c
976
n = *q++ - 1;
sys/kern/subr_prf.c
977
if (num & (1ULL << n)) {
sys/kern/subr_sbuf.c
443
size_t n;
sys/kern/subr_sbuf.c
464
n = SBUF_FREESPACE(s);
sys/kern/subr_sbuf.c
465
if (len < n)
sys/kern/subr_sbuf.c
466
n = len;
sys/kern/subr_sbuf.c
467
memcpy(&s->s_buf[s->s_len], buf, n);
sys/kern/subr_sbuf.c
468
s->s_len += n;
sys/kern/subr_sbuf.c
470
s->s_sect_len += n;
sys/kern/subr_sbuf.c
471
len -= n;
sys/kern/subr_sbuf.c
472
buf += n;
sys/kern/subr_sbuf.c
565
size_t n;
sys/kern/subr_sbuf.c
567
n = strlen(str);
sys/kern/subr_sbuf.c
568
sbuf_put_bytes(s, str, n);
sys/kern/subr_scanf.c
105
int n; /* handy integer */
sys/kern/subr_scanf.c
309
if ((n = inr) < width) {
sys/kern/subr_scanf.c
310
sum += n;
sys/kern/subr_scanf.c
311
width -= n;
sys/kern/subr_scanf.c
312
inp += n;
sys/kern/subr_scanf.c
340
n = 0;
sys/kern/subr_scanf.c
342
n++, inr--, inp++;
sys/kern/subr_scanf.c
346
if (n == 0)
sys/kern/subr_scanf.c
351
if (n == 0)
sys/kern/subr_scanf.c
366
n = p - p0;
sys/kern/subr_scanf.c
367
if (n == 0)
sys/kern/subr_scanf.c
372
nread += n;
sys/kern/subr_scanf.c
381
n = 0;
sys/kern/subr_scanf.c
383
n++, inr--, inp++;
sys/kern/subr_scanf.c
389
nread += n;
sys/kern/subr_scanf.c
573
int c, n, v;
sys/kern/subr_scanf.c
584
for (n = 0; n < 256; n++)
sys/kern/subr_scanf.c
585
tab[n] = v; /* memset(tab, v, 256) */
sys/kern/subr_scanf.c
601
n = *fmt++; /* and examine the next */
sys/kern/subr_scanf.c
602
switch (n) {
sys/kern/subr_scanf.c
625
n = *fmt;
sys/kern/subr_scanf.c
626
if (n == ']' || n < c) {
sys/kern/subr_scanf.c
634
} while (c < n);
sys/kern/subr_scanf.c
635
c = n;
sys/kern/subr_scanf.c
648
c = n;
sys/kern/subr_stats.c
3088
int error, is32bit, n;
sys/kern/subr_stats.c
3193
for (n = 0; cur != ub; cur = (is32bit ?
sys/kern/subr_stats.c
3245
n++;
sys/kern/subr_stats.c
3247
if (random() < (INT32_MAX / n))
sys/kern/subr_uio.c
214
uiomove(void *cp, int n, struct uio *uio)
sys/kern/subr_uio.c
217
return (uiomove_faultflag(cp, n, uio, 0));
sys/kern/subr_uio.c
221
uiomove_nofault(void *cp, int n, struct uio *uio)
sys/kern/subr_uio.c
224
return (uiomove_faultflag(cp, n, uio, 1));
sys/kern/subr_uio.c
262
uiomove_faultflag(void *cp, int n, struct uio *uio, int nofault)
sys/kern/subr_uio.c
294
while (n > 0 && uio->uio_resid) {
sys/kern/subr_uio.c
305
if (cnt > n)
sys/kern/subr_uio.c
306
cnt = n;
sys/kern/subr_uio.c
316
n -= cnt;
sys/kern/subr_uio.c
364
size_t offset, n;
sys/kern/subr_uio.c
371
if ((n = buflen - offset) > IOSIZE_MAX)
sys/kern/subr_uio.c
373
return (uiomove((char *)buf + offset, n, uio));
sys/kern/subr_uio.c
67
static int uiomove_faultflag(void *cp, int n, struct uio *uio, int nofault);
sys/kern/subr_witness.c
2132
int i, n;
sys/kern/subr_witness.c
2138
for (n = 0; lle != NULL; lle = lle->ll_next)
sys/kern/subr_witness.c
2140
if (n == 0)
sys/kern/subr_witness.c
2143
n++;
sys/kern/subr_witness.c
2168
int i, n;
sys/kern/subr_witness.c
2172
n = 0;
sys/kern/subr_witness.c
2185
if (n == 0) {
sys/kern/subr_witness.c
2193
n++;
sys/kern/subr_witness.c
2215
lock1->li_lock == lock && n == 0)
sys/kern/subr_witness.c
2223
n += witness_list_locks(&lock_list, printf);
sys/kern/subr_witness.c
2232
n += td->td_no_sleeping;
sys/kern/subr_witness.c
2235
if (flags & WARN_PANIC && n)
sys/kern/subr_witness.c
2238
witness_debugger(n, __func__);
sys/kern/subr_witness.c
2239
return (n);
sys/kern/sys_capability.c
314
int error, fd, i, n;
sys/kern/sys_capability.c
331
n = uap->version + 2;
sys/kern/sys_capability.c
338
for (i = n; i < CAPARSIZE(&rights); i++) {
sys/kern/sys_capability.c
343
error = copyout(&rights, uap->rightsp, sizeof(rights.cr_rights[0]) * n);
sys/kern/sys_generic.c
1427
int n;
sys/kern/sys_generic.c
1429
n = 0;
sys/kern/sys_generic.c
1446
n++;
sys/kern/sys_generic.c
1449
return (n);
sys/kern/sys_generic.c
1466
int fd, ev, n, idx;
sys/kern/sys_generic.c
1472
n = 0;
sys/kern/sys_generic.c
1495
n += selsetbits(ibits, obits, idx, bit, ev);
sys/kern/sys_generic.c
1498
td->td_retval[0] = n;
sys/kern/sys_generic.c
1513
int n, idx;
sys/kern/sys_generic.c
1518
n = 0;
sys/kern/sys_generic.c
1540
n += selsetbits(ibits, obits, idx, bit, ev);
sys/kern/sys_generic.c
1544
td->td_retval[0] = n;
sys/kern/sys_generic.c
1731
int n, error;
sys/kern/sys_generic.c
1734
n = 0;
sys/kern/sys_generic.c
1751
n++;
sys/kern/sys_generic.c
1764
n++;
sys/kern/sys_generic.c
1767
td->td_retval[0] = n;
sys/kern/sys_generic.c
1776
u_int n = 0;
sys/kern/sys_generic.c
1784
n++;
sys/kern/sys_generic.c
1788
td->td_retval[0] = n;
sys/kern/sys_generic.c
1797
int i, n, error;
sys/kern/sys_generic.c
1800
n = 0;
sys/kern/sys_generic.c
1814
n++;
sys/kern/sys_generic.c
1836
n++;
sys/kern/sys_generic.c
1838
td->td_retval[0] = n;
sys/kern/tty_ttydisc.c
122
size_t n = 0;
sys/kern/tty_ttydisc.c
126
breakc[n++] = CNL;
sys/kern/tty_ttydisc.c
128
MPASS(n < breaksz - 1); /* NUL terminated */ \
sys/kern/tty_ttydisc.c
130
breakc[n++] = tp->t_termios.c_cc[c]; \
sys/kern/tty_ttydisc.c
137
breakc[n] = '\0';
sys/kern/tty_ttydisc.c
1441
tty_putstrn(struct tty *tp, const char *p, size_t n)
sys/kern/tty_ttydisc.c
1450
for (i = 0; i < n; i++)
sys/kern/uipc_ktls.c
1968
struct mbuf *m, *n;
sys/kern/uipc_ktls.c
1971
STAILQ_FOREACH_SAFE(m, &tls->pending_records, m_epg_stailq, n) {
sys/kern/uipc_ktls.c
2263
struct mbuf *m, *n, *top;
sys/kern/uipc_ktls.c
2302
n = m_get(M_NOWAIT, MT_DATA);
sys/kern/uipc_ktls.c
2303
if (n == NULL) {
sys/kern/uipc_ktls.c
2311
n = m_get(M_WAITOK, MT_DATA);
sys/kern/uipc_ktls.c
2315
m_free(n);
sys/kern/uipc_ktls.c
2319
n->m_flags |= (m->m_flags & (M_NOTREADY | M_DECRYPTED));
sys/kern/uipc_ktls.c
2322
n->m_len = m->m_len - remain;
sys/kern/uipc_ktls.c
2324
n->m_data = m->m_data + remain;
sys/kern/uipc_ktls.c
2325
mb_dupcl(n, m);
sys/kern/uipc_ktls.c
2327
bcopy(mtod(m, caddr_t) + remain, mtod(n, caddr_t), n->m_len);
sys/kern/uipc_ktls.c
2331
m->m_len -= n->m_len;
sys/kern/uipc_ktls.c
2332
sb->sb_tlscc -= n->m_len;
sys/kern/uipc_ktls.c
2333
sb->sb_ccc -= n->m_len;
sys/kern/uipc_ktls.c
2336
sballoc_ktls_rx(sb, n);
sys/kern/uipc_ktls.c
2339
sb->sb_mtls = n;
sys/kern/uipc_ktls.c
2340
n->m_next = m->m_next;
sys/kern/uipc_ktls.c
2342
sb->sb_mtlstail = n;
sys/kern/uipc_ktls.c
2935
struct mbuf *n, *p;
sys/kern/uipc_ktls.c
2938
STAILQ_FOREACH(n, &tls->pending_records, m_epg_stailq) {
sys/kern/uipc_ktls.c
2939
if (n->m_epg_seqno > m->m_epg_seqno)
sys/kern/uipc_ktls.c
2941
p = n;
sys/kern/uipc_ktls.c
2943
if (n == NULL)
sys/kern/uipc_ktls.c
2961
struct mbuf *n;
sys/kern/uipc_ktls.c
2963
n = STAILQ_FIRST(&tls->pending_records);
sys/kern/uipc_ktls.c
2964
if (n->m_epg_seqno != tls->next_seqno)
sys/kern/uipc_ktls.c
2969
tls->next_seqno += ktls_batched_records(n);
sys/kern/uipc_ktls.c
2970
STAILQ_INSERT_TAIL(&wq->m_head, n, m_epg_stailq);
sys/kern/uipc_ktls.c
3152
struct mbuf *m, *n;
sys/kern/uipc_ktls.c
3166
for (m = top; npages != total_pages; m = n) {
sys/kern/uipc_ktls.c
3180
n = m->m_next;
sys/kern/uipc_ktls.c
3272
struct mbuf *m, *n;
sys/kern/uipc_ktls.c
3321
STAILQ_FOREACH_SAFE(m, &local_m_head, m_epg_stailq, n) {
sys/kern/uipc_mbuf.c
1000
m_move_pkthdr(m, n);
sys/kern/uipc_mbuf.c
1004
count = min(min(max(len, max_protohdr), space), n->m_len);
sys/kern/uipc_mbuf.c
1005
memcpy(mtod(m, caddr_t) + m->m_len, mtod(n, caddr_t),
sys/kern/uipc_mbuf.c
1009
n->m_len -= count;
sys/kern/uipc_mbuf.c
1011
if (n->m_len)
sys/kern/uipc_mbuf.c
1012
n->m_data += count;
sys/kern/uipc_mbuf.c
1014
n = m_free(n);
sys/kern/uipc_mbuf.c
1015
} while (len > 0 && n);
sys/kern/uipc_mbuf.c
1020
m->m_next = n;
sys/kern/uipc_mbuf.c
1023
m_freem(n);
sys/kern/uipc_mbuf.c
1040
struct mbuf *m, *n;
sys/kern/uipc_mbuf.c
1050
n = m_gethdr(wait, m0->m_type);
sys/kern/uipc_mbuf.c
1051
if (n == NULL)
sys/kern/uipc_mbuf.c
1053
n->m_next = m->m_next;
sys/kern/uipc_mbuf.c
1056
n->m_pkthdr.snd_tag =
sys/kern/uipc_mbuf.c
1058
n->m_pkthdr.csum_flags |= CSUM_SND_TAG;
sys/kern/uipc_mbuf.c
1060
n->m_pkthdr.rcvif = m0->m_pkthdr.rcvif;
sys/kern/uipc_mbuf.c
1061
n->m_pkthdr.len = m0->m_pkthdr.len - len0;
sys/kern/uipc_mbuf.c
1063
return (n);
sys/kern/uipc_mbuf.c
1065
n = m_gethdr(wait, m0->m_type);
sys/kern/uipc_mbuf.c
1066
if (n == NULL)
sys/kern/uipc_mbuf.c
1069
n->m_pkthdr.snd_tag =
sys/kern/uipc_mbuf.c
1071
n->m_pkthdr.csum_flags |= CSUM_SND_TAG;
sys/kern/uipc_mbuf.c
1073
n->m_pkthdr.rcvif = m0->m_pkthdr.rcvif;
sys/kern/uipc_mbuf.c
1074
n->m_pkthdr.len = m0->m_pkthdr.len - len0;
sys/kern/uipc_mbuf.c
1080
M_ALIGN(n, 0);
sys/kern/uipc_mbuf.c
1081
n->m_next = m_split(m, len, wait);
sys/kern/uipc_mbuf.c
1082
if (n->m_next == NULL) {
sys/kern/uipc_mbuf.c
1083
(void) m_free(n);
sys/kern/uipc_mbuf.c
1086
n->m_len = 0;
sys/kern/uipc_mbuf.c
1087
return (n);
sys/kern/uipc_mbuf.c
1090
M_ALIGN(n, remain);
sys/kern/uipc_mbuf.c
1092
n = m->m_next;
sys/kern/uipc_mbuf.c
1094
return (n);
sys/kern/uipc_mbuf.c
1096
n = m_get(wait, m->m_type);
sys/kern/uipc_mbuf.c
1097
if (n == NULL)
sys/kern/uipc_mbuf.c
1099
M_ALIGN(n, remain);
sys/kern/uipc_mbuf.c
1103
n->m_data = m->m_data + len;
sys/kern/uipc_mbuf.c
1104
mb_dupcl(n, m);
sys/kern/uipc_mbuf.c
1106
bcopy(mtod(m, caddr_t) + len, mtod(n, caddr_t), remain);
sys/kern/uipc_mbuf.c
1108
n->m_len = remain;
sys/kern/uipc_mbuf.c
1110
n->m_next = m->m_next;
sys/kern/uipc_mbuf.c
1112
return (n);
sys/kern/uipc_mbuf.c
1124
struct mbuf *m, *n;
sys/kern/uipc_mbuf.c
1147
if (__predict_false((n = m_get(wait, m->m_type)) == NULL))
sys/kern/uipc_mbuf.c
1149
m_align(n, remain);
sys/kern/uipc_mbuf.c
1151
n->m_data = m->m_data + len;
sys/kern/uipc_mbuf.c
1152
mb_dupcl(n, m);
sys/kern/uipc_mbuf.c
1154
bcopy(mtod(m, char *) + len, mtod(n, char *), remain);
sys/kern/uipc_mbuf.c
1163
MPASS(n->m_len == 0);
sys/kern/uipc_mbuf.c
1164
mc_prepend(tail, n);
sys/kern/uipc_mbuf.c
1165
n->m_len = remain;
sys/kern/uipc_mbuf.c
1169
n->m_flags |= M_EOR;
sys/kern/uipc_mbuf.c
1278
struct mbuf *m = m0, *n;
sys/kern/uipc_mbuf.c
1287
n = m_get(M_NOWAIT, m->m_type);
sys/kern/uipc_mbuf.c
1288
if (n == NULL)
sys/kern/uipc_mbuf.c
1290
bzero(mtod(n, caddr_t), MLEN);
sys/kern/uipc_mbuf.c
1291
n->m_len = min(MLEN, len + off);
sys/kern/uipc_mbuf.c
1292
m->m_next = n;
sys/kern/uipc_mbuf.c
1314
n = m_get(M_NOWAIT, m->m_type);
sys/kern/uipc_mbuf.c
1315
if (n == NULL)
sys/kern/uipc_mbuf.c
1317
n->m_len = min(MLEN, len);
sys/kern/uipc_mbuf.c
1318
m->m_next = n;
sys/kern/uipc_mbuf.c
1336
struct mbuf *m, *n;
sys/kern/uipc_mbuf.c
1358
n = m_get(M_NOWAIT, m->m_type);
sys/kern/uipc_mbuf.c
1359
if (n == NULL)
sys/kern/uipc_mbuf.c
1361
n->m_len = min(MLEN, remainder);
sys/kern/uipc_mbuf.c
1362
bcopy(cp, mtod(n, caddr_t), n->m_len);
sys/kern/uipc_mbuf.c
1363
cp += n->m_len, remainder -= n->m_len;
sys/kern/uipc_mbuf.c
1364
m->m_next = n;
sys/kern/uipc_mbuf.c
1365
m = n;
sys/kern/uipc_mbuf.c
1684
struct mbuf *m, *n, *n2, **prev;
sys/kern/uipc_mbuf.c
1702
n = m->m_next;
sys/kern/uipc_mbuf.c
1703
if (n == NULL)
sys/kern/uipc_mbuf.c
1706
n->m_len < M_TRAILINGSPACE(m)) {
sys/kern/uipc_mbuf.c
1707
m_copydata(n, 0, n->m_len,
sys/kern/uipc_mbuf.c
1709
m->m_len += n->m_len;
sys/kern/uipc_mbuf.c
1710
m->m_next = n->m_next;
sys/kern/uipc_mbuf.c
1711
curfrags -= frags_per_mbuf(n);
sys/kern/uipc_mbuf.c
1712
m_free(n);
sys/kern/uipc_mbuf.c
1716
m = n;
sys/kern/uipc_mbuf.c
1724
while ((n = *prev) != NULL) {
sys/kern/uipc_mbuf.c
1725
if ((n2 = n->m_next) != NULL &&
sys/kern/uipc_mbuf.c
1726
n->m_len + n2->m_len < MCLBYTES) {
sys/kern/uipc_mbuf.c
1730
m_copydata(n, 0, n->m_len, mtod(m, char *));
sys/kern/uipc_mbuf.c
1732
mtod(m, char *) + n->m_len);
sys/kern/uipc_mbuf.c
1733
m->m_len = n->m_len + n2->m_len;
sys/kern/uipc_mbuf.c
1737
curfrags -= frags_per_mbuf(n);
sys/kern/uipc_mbuf.c
1739
m_free(n);
sys/kern/uipc_mbuf.c
1749
prev = &n->m_next;
sys/kern/uipc_mbuf.c
2145
struct mbuf *n, *mfirst, *mlast;
sys/kern/uipc_mbuf.c
2222
n = m_getcl(how, m->m_type, m->m_flags & M_COPYFLAGS);
sys/kern/uipc_mbuf.c
2223
if (n == NULL) {
sys/kern/uipc_mbuf.c
2230
m_move_pkthdr(n, m);
sys/kern/uipc_mbuf.c
2234
mfirst = n;
sys/kern/uipc_mbuf.c
2238
m_copydata(m, off, cc, mtod(n, caddr_t));
sys/kern/uipc_mbuf.c
2239
n->m_len = cc;
sys/kern/uipc_mbuf.c
2241
mlast->m_next = n;
sys/kern/uipc_mbuf.c
2242
mlast = n;
sys/kern/uipc_mbuf.c
2252
n = m_getcl(how, m->m_type, m->m_flags & M_COPYFLAGS);
sys/kern/uipc_mbuf.c
2253
if (n == NULL) {
sys/kern/uipc_mbuf.c
2259
n->m_next = m->m_next;
sys/kern/uipc_mbuf.c
238
mb_dupcl(struct mbuf *n, struct mbuf *m)
sys/kern/uipc_mbuf.c
244
KASSERT(!(n->m_flags & (M_EXT | M_EXTPG)),
sys/kern/uipc_mbuf.c
245
("%s: M_EXT | M_EXTPG set on %p", __func__, n));
sys/kern/uipc_mbuf.c
260
bcopy(&m->m_epg_startcopy, &n->m_epg_startcopy,
sys/kern/uipc_mbuf.c
262
bcopy(&m->m_ext, &n->m_ext, m_epg_ext_copylen);
sys/kern/uipc_mbuf.c
264
bcopy(&m->m_ext, &n->m_ext, sizeof(struct m_ext));
sys/kern/uipc_mbuf.c
266
bcopy(&m->m_ext, &n->m_ext, m_ext_copylen);
sys/kern/uipc_mbuf.c
268
n->m_flags |= m->m_flags & (M_RDONLY | M_EXT | M_EXTPG);
sys/kern/uipc_mbuf.c
272
refcnt = n->m_ext.ext_cnt = &m->m_ext.ext_count;
sys/kern/uipc_mbuf.c
273
n->m_ext.ext_flags &= ~EXT_FLAG_EMBREF;
sys/kern/uipc_mbuf.c
533
struct mbuf *n, **np;
sys/kern/uipc_mbuf.c
559
n = m_gethdr(wait, m->m_type);
sys/kern/uipc_mbuf.c
561
n = m_get(wait, m->m_type);
sys/kern/uipc_mbuf.c
562
*np = n;
sys/kern/uipc_mbuf.c
563
if (n == NULL)
sys/kern/uipc_mbuf.c
566
if (!m_dup_pkthdr(n, m, wait))
sys/kern/uipc_mbuf.c
569
n->m_pkthdr.len -= off0;
sys/kern/uipc_mbuf.c
571
n->m_pkthdr.len = len;
sys/kern/uipc_mbuf.c
574
n->m_len = min(len, m->m_len - off);
sys/kern/uipc_mbuf.c
576
n->m_data = m->m_data + off;
sys/kern/uipc_mbuf.c
577
mb_dupcl(n, m);
sys/kern/uipc_mbuf.c
579
bcopy(mtod(m, caddr_t)+off, mtod(n, caddr_t),
sys/kern/uipc_mbuf.c
580
(u_int)n->m_len);
sys/kern/uipc_mbuf.c
582
len -= n->m_len;
sys/kern/uipc_mbuf.c
585
np = &n->m_next;
sys/kern/uipc_mbuf.c
606
struct mbuf *top, *n, *o;
sys/kern/uipc_mbuf.c
609
n = m_get(how, m->m_type);
sys/kern/uipc_mbuf.c
610
top = n;
sys/kern/uipc_mbuf.c
611
if (n == NULL)
sys/kern/uipc_mbuf.c
614
if (!m_dup_pkthdr(n, m, how))
sys/kern/uipc_mbuf.c
616
n->m_len = m->m_len;
sys/kern/uipc_mbuf.c
618
n->m_data = m->m_data;
sys/kern/uipc_mbuf.c
619
mb_dupcl(n, m);
sys/kern/uipc_mbuf.c
621
n->m_data = n->m_pktdat + (m->m_data - m->m_pktdat );
sys/kern/uipc_mbuf.c
622
bcopy(mtod(m, char *), mtod(n, char *), n->m_len);
sys/kern/uipc_mbuf.c
631
n->m_next = o;
sys/kern/uipc_mbuf.c
632
n = n->m_next;
sys/kern/uipc_mbuf.c
634
n->m_len = m->m_len;
sys/kern/uipc_mbuf.c
636
n->m_data = m->m_data;
sys/kern/uipc_mbuf.c
637
mb_dupcl(n, m);
sys/kern/uipc_mbuf.c
639
bcopy(mtod(m, char *), mtod(n, char *), n->m_len);
sys/kern/uipc_mbuf.c
728
struct mbuf *n;
sys/kern/uipc_mbuf.c
732
n = m_getcl(how, m->m_type, 0);
sys/kern/uipc_mbuf.c
735
n = m_get(how, m->m_type);
sys/kern/uipc_mbuf.c
738
if (n == NULL)
sys/kern/uipc_mbuf.c
742
if (!m_dup_pkthdr(n, m, how)) {
sys/kern/uipc_mbuf.c
743
m_free(n);
sys/kern/uipc_mbuf.c
746
if ((n->m_flags & M_EXT) == 0)
sys/kern/uipc_mbuf.c
748
n->m_flags &= ~M_RDONLY;
sys/kern/uipc_mbuf.c
750
n->m_len = 0;
sys/kern/uipc_mbuf.c
753
*p = n;
sys/kern/uipc_mbuf.c
754
p = &n->m_next;
sys/kern/uipc_mbuf.c
757
while (n->m_len < nsize && m != NULL) {
sys/kern/uipc_mbuf.c
758
int chunk = min(nsize - n->m_len, m->m_len - moff);
sys/kern/uipc_mbuf.c
760
m_copydata(m, moff, chunk, n->m_data + n->m_len);
sys/kern/uipc_mbuf.c
762
n->m_len += chunk;
sys/kern/uipc_mbuf.c
787
m_cat(struct mbuf *m, struct mbuf *n)
sys/kern/uipc_mbuf.c
791
while (n) {
sys/kern/uipc_mbuf.c
793
(n->m_flags & M_EXTPG) != 0 ||
sys/kern/uipc_mbuf.c
794
M_TRAILINGSPACE(m) < n->m_len) {
sys/kern/uipc_mbuf.c
796
m->m_next = n;
sys/kern/uipc_mbuf.c
800
bcopy(mtod(n, caddr_t), mtod(m, caddr_t) + m->m_len,
sys/kern/uipc_mbuf.c
801
(u_int)n->m_len);
sys/kern/uipc_mbuf.c
802
m->m_len += n->m_len;
sys/kern/uipc_mbuf.c
803
n = m_free(n);
sys/kern/uipc_mbuf.c
811
m_catpkt(struct mbuf *m, struct mbuf *n)
sys/kern/uipc_mbuf.c
815
M_ASSERTPKTHDR(n);
sys/kern/uipc_mbuf.c
817
m->m_pkthdr.len += n->m_pkthdr.len;
sys/kern/uipc_mbuf.c
818
m_demote(n, 1, 0);
sys/kern/uipc_mbuf.c
820
m_cat(m, n);
sys/kern/uipc_mbuf.c
928
m_pullup(struct mbuf *n, int len)
sys/kern/uipc_mbuf.c
934
KASSERT((n->m_flags & M_EXTPG) == 0,
sys/kern/uipc_mbuf.c
935
("%s: unmapped mbuf %p", __func__, n));
sys/kern/uipc_mbuf.c
942
if ((n->m_flags & M_EXT) == 0 &&
sys/kern/uipc_mbuf.c
943
n->m_data + len < &n->m_dat[MLEN] && n->m_next) {
sys/kern/uipc_mbuf.c
944
if (n->m_len >= len)
sys/kern/uipc_mbuf.c
945
return (n);
sys/kern/uipc_mbuf.c
946
m = n;
sys/kern/uipc_mbuf.c
947
n = n->m_next;
sys/kern/uipc_mbuf.c
952
m = m_get(M_NOWAIT, n->m_type);
sys/kern/uipc_mbuf.c
955
if (n->m_flags & M_PKTHDR)
sys/kern/uipc_mbuf.c
956
m_move_pkthdr(m, n);
sys/kern/uipc_mbuf.c
960
count = min(min(max(len, max_protohdr), space), n->m_len);
sys/kern/uipc_mbuf.c
961
bcopy(mtod(n, caddr_t), mtod(m, caddr_t) + m->m_len,
sys/kern/uipc_mbuf.c
965
n->m_len -= count;
sys/kern/uipc_mbuf.c
967
if (n->m_len)
sys/kern/uipc_mbuf.c
968
n->m_data += count;
sys/kern/uipc_mbuf.c
970
n = m_free(n);
sys/kern/uipc_mbuf.c
971
} while (len > 0 && n);
sys/kern/uipc_mbuf.c
976
m->m_next = n;
sys/kern/uipc_mbuf.c
979
m_freem(n);
sys/kern/uipc_mbuf.c
989
m_copyup(struct mbuf *n, int len, int dstoff)
sys/kern/uipc_mbuf.c
996
m = m_get(M_NOWAIT, n->m_type);
sys/kern/uipc_mbuf.c
999
if (n->m_flags & M_PKTHDR)
sys/kern/uipc_mbuf2.c
116
n = m;
sys/kern/uipc_mbuf2.c
117
while (n != NULL && off > 0) {
sys/kern/uipc_mbuf2.c
118
if (n->m_len > off)
sys/kern/uipc_mbuf2.c
120
off -= n->m_len;
sys/kern/uipc_mbuf2.c
121
n = n->m_next;
sys/kern/uipc_mbuf2.c
124
while (n != NULL && n->m_len == 0)
sys/kern/uipc_mbuf2.c
125
n = n->m_next;
sys/kern/uipc_mbuf2.c
126
if (!n) {
sys/kern/uipc_mbuf2.c
152
if ((n->m_flags & M_EXT) == 0 ||
sys/kern/uipc_mbuf2.c
153
(n->m_ext.ext_type == EXT_CLUSTER && M_WRITABLE(n)))
sys/kern/uipc_mbuf2.c
160
if ((off == 0 || offp) && len <= n->m_len - off)
sys/kern/uipc_mbuf2.c
169
if (len <= n->m_len - off) {
sys/kern/uipc_mbuf2.c
170
o = m_dup1(n, off, n->m_len - off, M_NOWAIT);
sys/kern/uipc_mbuf2.c
175
n->m_len = off;
sys/kern/uipc_mbuf2.c
176
o->m_next = n->m_next;
sys/kern/uipc_mbuf2.c
177
n->m_next = o;
sys/kern/uipc_mbuf2.c
178
n = n->m_next;
sys/kern/uipc_mbuf2.c
188
hlen = n->m_len - off;
sys/kern/uipc_mbuf2.c
196
for (o = n->m_next; o != NULL; o = o->m_next)
sys/kern/uipc_mbuf2.c
207
if ((off == 0 || offp) && M_TRAILINGSPACE(n) >= tlen
sys/kern/uipc_mbuf2.c
209
m_copydata(n->m_next, 0, tlen, mtod(n, caddr_t) + n->m_len);
sys/kern/uipc_mbuf2.c
210
n->m_len += tlen;
sys/kern/uipc_mbuf2.c
211
m_adj(n->m_next, tlen);
sys/kern/uipc_mbuf2.c
214
if ((off == 0 || offp) && M_LEADINGSPACE(n->m_next) >= hlen
sys/kern/uipc_mbuf2.c
215
&& writable && n->m_next->m_len >= tlen) {
sys/kern/uipc_mbuf2.c
216
n->m_next->m_data -= hlen;
sys/kern/uipc_mbuf2.c
217
n->m_next->m_len += hlen;
sys/kern/uipc_mbuf2.c
218
bcopy(mtod(n, caddr_t) + off, mtod(n->m_next, caddr_t), hlen);
sys/kern/uipc_mbuf2.c
219
n->m_len -= hlen;
sys/kern/uipc_mbuf2.c
220
n = n->m_next;
sys/kern/uipc_mbuf2.c
239
bcopy(mtod(n, caddr_t) + off, mtod(o, caddr_t), hlen);
sys/kern/uipc_mbuf2.c
240
n->m_len -= hlen;
sys/kern/uipc_mbuf2.c
242
m_copydata(n->m_next, 0, tlen, mtod(o, caddr_t) + o->m_len);
sys/kern/uipc_mbuf2.c
244
m_adj(n->m_next, tlen);
sys/kern/uipc_mbuf2.c
245
o->m_next = n->m_next;
sys/kern/uipc_mbuf2.c
246
n->m_next = o;
sys/kern/uipc_mbuf2.c
247
n = o;
sys/kern/uipc_mbuf2.c
256
printf("%c%d", t == n ? '*' : ' ', t->m_len);
sys/kern/uipc_mbuf2.c
262
return n;
sys/kern/uipc_mbuf2.c
268
struct mbuf *n;
sys/kern/uipc_mbuf2.c
279
n = m_getcl(wait, m->m_type, M_PKTHDR);
sys/kern/uipc_mbuf2.c
281
n = m_getcl(wait, m->m_type, 0);
sys/kern/uipc_mbuf2.c
284
n = m_gethdr(wait, m->m_type);
sys/kern/uipc_mbuf2.c
286
n = m_get(wait, m->m_type);
sys/kern/uipc_mbuf2.c
288
if (!n)
sys/kern/uipc_mbuf2.c
291
if (copyhdr && !m_dup_pkthdr(n, m, wait)) {
sys/kern/uipc_mbuf2.c
292
m_free(n);
sys/kern/uipc_mbuf2.c
295
m_copydata(m, off, len, mtod(n, caddr_t));
sys/kern/uipc_mbuf2.c
296
n->m_len = len;
sys/kern/uipc_mbuf2.c
297
return n;
sys/kern/uipc_mbuf2.c
95
struct mbuf *n, *o;
sys/kern/uipc_sockbuf.c
1009
for (n = m; n != NULL; n = n->m_next) {
sys/kern/uipc_sockbuf.c
1010
if (n->m_flags & M_PKTHDR) {
sys/kern/uipc_sockbuf.c
1012
if ((n->m_pkthdr.csum_flags & CSUM_TLS_MASK) ==
sys/kern/uipc_sockbuf.c
1019
m_demote_pkthdr(n);
sys/kern/uipc_sockbuf.c
1022
n->m_flags &= M_DEMOTEFLAGS;
sys/kern/uipc_sockbuf.c
1023
n->m_flags |= flags;
sys/kern/uipc_sockbuf.c
1025
MPASS((n->m_flags & M_NOTREADY) != 0);
sys/kern/uipc_sockbuf.c
109
struct mbuf *m, *n;
sys/kern/uipc_sockbuf.c
1100
struct mbuf *m, *n, *fnrdy;
sys/kern/uipc_sockbuf.c
1111
for (m = sb->sb_mb; m; m = n) {
sys/kern/uipc_sockbuf.c
1112
n = m->m_nextpkt;
sys/kern/uipc_sockbuf.c
1233
struct mbuf *m, *n, *nlast;
sys/kern/uipc_sockbuf.c
1269
for (n = m; n->m_next != NULL; n = n->m_next)
sys/kern/uipc_sockbuf.c
127
n = m->m_next;
sys/kern/uipc_sockbuf.c
1270
sballoc(sb, n);
sys/kern/uipc_sockbuf.c
1271
sballoc(sb, n);
sys/kern/uipc_sockbuf.c
1272
nlast = n;
sys/kern/uipc_sockbuf.c
130
if ((n != NULL) && (n != end) && (m->m_flags & M_EOR) == 0 &&
sys/kern/uipc_sockbuf.c
132
(n->m_flags & M_EXTPG) &&
sys/kern/uipc_sockbuf.c
134
!mbuf_has_tls_session(n)) {
sys/kern/uipc_sockbuf.c
137
hdr_len = n->m_epg_hdrlen;
sys/kern/uipc_sockbuf.c
1402
sbcompress(struct sockbuf *sb, struct mbuf *m, struct mbuf *n)
sys/kern/uipc_sockbuf.c
1413
(((o = m->m_next) || (o = n)) &&
sys/kern/uipc_sockbuf.c
1420
if (n && (n->m_flags & M_EOR) == 0 &&
sys/kern/uipc_sockbuf.c
1421
M_WRITABLE(n) &&
sys/kern/uipc_sockbuf.c
1424
!(n->m_flags & (M_NOTREADY | M_EXTPG)) &&
sys/kern/uipc_sockbuf.c
1426
!mbuf_has_tls_session(n) &&
sys/kern/uipc_sockbuf.c
1428
m->m_len <= M_TRAILINGSPACE(n) &&
sys/kern/uipc_sockbuf.c
1429
n->m_type == m->m_type) {
sys/kern/uipc_sockbuf.c
143
n->m_epg_hdr, hdr_len);
sys/kern/uipc_sockbuf.c
1430
m_copydata(m, 0, m->m_len, mtodo(n, n->m_len));
sys/kern/uipc_sockbuf.c
1431
n->m_len += m->m_len;
sys/kern/uipc_sockbuf.c
1445
if (n)
sys/kern/uipc_sockbuf.c
1446
n->m_next = m;
sys/kern/uipc_sockbuf.c
1451
n = m;
sys/kern/uipc_sockbuf.c
1454
n->m_next = 0;
sys/kern/uipc_sockbuf.c
1457
KASSERT(n != NULL, ("sbcompress: eor && n == NULL"));
sys/kern/uipc_sockbuf.c
1458
n->m_flags |= eor;
sys/kern/uipc_sockbuf.c
146
n->m_epg_hdrlen = 0;
sys/kern/uipc_sockbuf.c
147
n->m_len -= hdr_len;
sys/kern/uipc_sockbuf.c
1470
sbcompress_ktls_rx(struct sockbuf *sb, struct mbuf *m, struct mbuf *n)
sys/kern/uipc_sockbuf.c
1494
if (n &&
sys/kern/uipc_sockbuf.c
1495
M_WRITABLE(n) &&
sys/kern/uipc_sockbuf.c
1497
!((m->m_flags ^ n->m_flags) & M_DECRYPTED) &&
sys/kern/uipc_sockbuf.c
1498
!(n->m_flags & M_EXTPG) &&
sys/kern/uipc_sockbuf.c
1500
m->m_len <= M_TRAILINGSPACE(n)) {
sys/kern/uipc_sockbuf.c
1501
m_copydata(m, 0, m->m_len, mtodo(n, n->m_len));
sys/kern/uipc_sockbuf.c
1502
n->m_len += m->m_len;
sys/kern/uipc_sockbuf.c
1508
if (n)
sys/kern/uipc_sockbuf.c
1509
n->m_next = m;
sys/kern/uipc_sockbuf.c
1514
n = m;
sys/kern/uipc_sockbuf.c
1516
n->m_next = NULL;
sys/kern/uipc_sockbuf.c
160
while ((n != NULL) && (n != end) && (m->m_flags & M_EOR) == 0 &&
sys/kern/uipc_sockbuf.c
1619
struct mbuf *n;
sys/kern/uipc_sockbuf.c
1621
n = m->m_next;
sys/kern/uipc_sockbuf.c
1624
m = n;
sys/kern/uipc_sockbuf.c
163
!mbuf_has_tls_session(n) &&
sys/kern/uipc_sockbuf.c
1634
struct mbuf *n;
sys/kern/uipc_sockbuf.c
1637
n = m->m_next;
sys/kern/uipc_sockbuf.c
1640
m = n;
sys/kern/uipc_sockbuf.c
165
n->m_len <= MCLBYTES / 4 && /* XXX: Don't copy too much */
sys/kern/uipc_sockbuf.c
166
n->m_len <= M_TRAILINGSPACE(m) &&
sys/kern/uipc_sockbuf.c
167
m->m_type == n->m_type) {
sys/kern/uipc_sockbuf.c
168
KASSERT(sb->sb_lastrecord != n,
sys/kern/uipc_sockbuf.c
170
__func__, n, m));
sys/kern/uipc_sockbuf.c
171
m_copydata(n, 0, n->m_len, mtodo(m, m->m_len));
sys/kern/uipc_sockbuf.c
172
m->m_len += n->m_len;
sys/kern/uipc_sockbuf.c
173
m->m_next = n->m_next;
sys/kern/uipc_sockbuf.c
174
m->m_flags |= n->m_flags & M_EOR;
sys/kern/uipc_sockbuf.c
175
if (sb->sb_mbtail == n)
sys/kern/uipc_sockbuf.c
179
if (n->m_flags & M_EXT)
sys/kern/uipc_sockbuf.c
180
sb->sb_mbcnt -= n->m_ext.ext_size;
sys/kern/uipc_sockbuf.c
181
m_free(n);
sys/kern/uipc_sockbuf.c
182
n = m->m_next;
sys/kern/uipc_sockbuf.c
284
struct mbuf *n;
sys/kern/uipc_sockbuf.c
295
n = m->m_next;
sys/kern/uipc_sockbuf.c
296
while (n != NULL && !(n->m_flags & M_NOTREADY)) {
sys/kern/uipc_sockbuf.c
297
sb->sb_acc += n->m_len;
sys/kern/uipc_sockbuf.c
298
n = n->m_next;
sys/kern/uipc_sockbuf.c
300
sb->sb_fnrdy = n;
sys/kern/uipc_sockbuf.c
303
for (n = sb->sb_fnrdy; n != NULL; n = n->m_next)
sys/kern/uipc_sockbuf.c
304
KASSERT(n != m, ("%s: sb %p freeing %p behind sb_fnrdy",
sys/kern/uipc_sockbuf.c
75
struct mbuf *n);
sys/kern/uipc_sockbuf.c
869
struct mbuf *n;
sys/kern/uipc_sockbuf.c
885
for (n = m; n != NULL; n = n->m_next)
sys/kern/uipc_sockbuf.c
886
printf("%p ", n);
sys/kern/uipc_sockbuf.c
929
struct mbuf *n;
sys/kern/uipc_sockbuf.c
938
n = sb->sb_mb;
sys/kern/uipc_sockbuf.c
939
if (n) {
sys/kern/uipc_sockbuf.c
940
while (n->m_nextpkt)
sys/kern/uipc_sockbuf.c
941
n = n->m_nextpkt;
sys/kern/uipc_sockbuf.c
943
if (n->m_flags & M_EOR) {
sys/kern/uipc_sockbuf.c
947
} while (n->m_next && (n = n->m_next));
sys/kern/uipc_sockbuf.c
954
if ((n = sb->sb_lastrecord) != NULL) {
sys/kern/uipc_sockbuf.c
956
if (n->m_flags & M_EOR) {
sys/kern/uipc_sockbuf.c
960
} while (n->m_next && (n = n->m_next));
sys/kern/uipc_sockbuf.c
969
sbcompress(sb, m, n);
sys/kern/uipc_sockbuf.c
997
struct mbuf *n;
sys/kern/uipc_socket.c
3302
struct mbuf *m, *n = NULL;
sys/kern/uipc_socket.c
3398
n = m;
sys/kern/uipc_socket.c
3400
n->m_next = NULL;
sys/kern/uipc_socket.c
4346
off_t n;
sys/kern/uipc_socket.c
4362
n = 0;
sys/kern/uipc_socket.c
4364
n = so->so_splice_sent;
sys/kern/uipc_socket.c
4368
error = sooptcopyout(sopt, &n, sizeof(n));
sys/kern/uipc_usrreq.c
3324
int error, n;
sys/kern/uipc_usrreq.c
3348
n = unp_count;
sys/kern/uipc_usrreq.c
3350
+ (n + n/8) * sizeof(struct xunpcb);
sys/kern/uipc_usrreq.c
3363
n = unp_count;
sys/kern/uipc_usrreq.c
3367
xug->xug_count = n;
sys/kern/uipc_usrreq.c
3376
unp_list = malloc(n * sizeof *unp_list, M_TEMP, M_WAITOK);
sys/kern/uipc_usrreq.c
3379
for (unp = LIST_FIRST(head), i = 0; unp && i < n;
sys/kern/uipc_usrreq.c
3394
n = i; /* In case we lost some during malloc. */
sys/kern/uipc_usrreq.c
3398
for (i = 0; i < n; i++) {
sys/kern/uipc_usrreq.c
3900
struct mbuf *m, *n, *n_prev;
sys/kern/uipc_usrreq.c
3952
STAILQ_FOREACH_SAFE(n, &mc->mc_q, m_stailq, n_prev) {
sys/kern/uipc_usrreq.c
3953
cm = mtod(n, struct cmsghdr *);
sys/kern/uipc_usrreq.c
3956
mc_remove(mc, n);
sys/kern/uipc_usrreq.c
3957
m_free(n);
sys/kern/uipc_usrreq.c
4354
struct mbuf *n, *prev;
sys/kern/uipc_usrreq.c
4358
for (prev = n = m; n != NULL; n = n->m_next) {
sys/kern/uipc_usrreq.c
4359
if (n->m_flags & M_NOTREADY)
sys/kern/uipc_usrreq.c
4360
prev->m_next = n->m_next;
sys/kern/uipc_usrreq.c
4362
prev = n;
sys/kern/vfs_bio.c
3728
vm_page_t m, n;
sys/kern/vfs_bio.c
3762
n = vm_page_lookup_unlocked(obj, OFF_TO_IDX(off + toff));
sys/kern/vfs_bio.c
3763
if (m != n) {
sys/kern/vfs_bio.c
3764
m = n;
sys/kern/vfs_bio.c
4871
int i, n;
sys/kern/vfs_bio.c
4883
n = PAGE_SIZE - (base & PAGE_MASK);
sys/kern/vfs_bio.c
4894
if (n > size)
sys/kern/vfs_bio.c
4895
n = size;
sys/kern/vfs_bio.c
4896
vm_page_set_valid_range(m, base & PAGE_MASK, n);
sys/kern/vfs_bio.c
4897
base += n;
sys/kern/vfs_bio.c
4898
size -= n;
sys/kern/vfs_bio.c
4899
n = PAGE_SIZE;
sys/kern/vfs_bio.c
4965
int i, n;
sys/kern/vfs_bio.c
4972
n = PAGE_SIZE - (base & PAGE_MASK);
sys/kern/vfs_bio.c
4975
if (n > size)
sys/kern/vfs_bio.c
4976
n = size;
sys/kern/vfs_bio.c
4977
pmap_zero_page_area(m, base & PAGE_MASK, n);
sys/kern/vfs_bio.c
4978
base += n;
sys/kern/vfs_bio.c
4979
size -= n;
sys/kern/vfs_bio.c
4980
n = PAGE_SIZE;
sys/kern/vfs_cache.c
1351
u_char n;
sys/kern/vfs_cache.c
1354
n = atomic_load_char(&ns->neg_hit);
sys/kern/vfs_cache.c
1356
if (n >= CACHE_NEG_PROMOTION_THRESH)
sys/kern/vfs_cache.c
1358
if (atomic_fcmpset_8(&ns->neg_hit, &n, n + 1))
sys/kern/vfs_cache.c
1361
return (n + 1 == CACHE_NEG_PROMOTION_THRESH);
sys/kern/vfs_cache.c
4342
static void cache_fpl_pathlen_add(struct cache_fpl *fpl, size_t n);
sys/kern/vfs_cache.c
4343
static void cache_fpl_pathlen_sub(struct cache_fpl *fpl, size_t n);
sys/kern/vfs_cache.c
5857
cache_fpl_pathlen_add(struct cache_fpl *fpl, size_t n)
sys/kern/vfs_cache.c
5860
fpl->debug.ni_pathlen += n;
sys/kern/vfs_cache.c
5866
cache_fpl_pathlen_sub(struct cache_fpl *fpl, size_t n)
sys/kern/vfs_cache.c
5869
fpl->debug.ni_pathlen -= n;
sys/kern/vfs_cache.c
5889
cache_fpl_pathlen_add(struct cache_fpl *fpl, size_t n)
sys/kern/vfs_cache.c
5894
cache_fpl_pathlen_sub(struct cache_fpl *fpl, size_t n)
sys/kern/vfs_default.c
1175
int n;
sys/kern/vfs_default.c
1180
n = atomic_load_int(&vp->v_writecount);
sys/kern/vfs_default.c
1182
if (__predict_false(n > 0)) {
sys/kern/vfs_default.c
1192
if (n == 0) {
sys/kern/vfs_default.c
1198
if (atomic_fcmpset_int(&vp->v_writecount, &n, -1)) {
sys/kern/vfs_default.c
1207
MPASS(n < 0);
sys/kern/vfs_default.c
1208
if (atomic_fcmpset_int(&vp->v_writecount, &n, n - 1)) {
sys/kern/vfs_default.c
1219
int n;
sys/kern/vfs_default.c
1223
n = atomic_load_int(&vp->v_writecount);
sys/kern/vfs_default.c
1225
if (__predict_false(n >= 0)) {
sys/kern/vfs_default.c
1232
if (n == -1) {
sys/kern/vfs_default.c
1233
if (atomic_fcmpset_int(&vp->v_writecount, &n, 0)) {
sys/kern/vfs_default.c
1242
MPASS(n < -1);
sys/kern/vfs_default.c
1243
if (atomic_fcmpset_int(&vp->v_writecount, &n, n + 1)) {
sys/kern/vfs_default.c
1255
int n;
sys/kern/vfs_default.c
1270
n = atomic_load_int(&vp->v_writecount);
sys/kern/vfs_default.c
1272
if (__predict_false(n < 0)) {
sys/kern/vfs_default.c
1276
VNASSERT(n + ap->a_inc >= 0, vp,
sys/kern/vfs_default.c
1277
("neg writecount increment %d + %d = %d", n, ap->a_inc,
sys/kern/vfs_default.c
1278
n + ap->a_inc));
sys/kern/vfs_default.c
1279
if (n == 0) {
sys/kern/vfs_default.c
1285
if (atomic_fcmpset_int(&vp->v_writecount, &n, n + ap->a_inc)) {
sys/kern/vfs_subr.c
2758
struct buf *n;
sys/kern/vfs_subr.c
2774
error = buf_insert_lookup_le(bv, bp, &n);
sys/kern/vfs_subr.c
2775
if (n == NULL) {
sys/kern/vfs_subr.c
2780
KASSERT(n->b_lblkno <= bp->b_lblkno,
sys/kern/vfs_subr.c
2782
bp, n));
sys/kern/vfs_subr.c
2783
KASSERT((n->b_lblkno == bp->b_lblkno) == (error == EEXIST),
sys/kern/vfs_subr.c
2785
"error %d bp %p n %p", error, bp, n));
sys/kern/vfs_subr.c
2791
if (n == NULL) {
sys/kern/vfs_subr.c
2799
KASSERT(TAILQ_NEXT(n, b_bobufs) == NULL ||
sys/kern/vfs_subr.c
2800
bp->b_lblkno < TAILQ_NEXT(n, b_bobufs)->b_lblkno,
sys/kern/vfs_subr.c
2803
bp, TAILQ_NEXT(n, b_bobufs)));
sys/kern/vfs_subr.c
2804
TAILQ_INSERT_AFTER(&bv->bv_hd, n, bp, b_bobufs);
sys/kern/vfs_subr.c
563
buf_insert_lookup_le(struct bufv *bv, struct buf *bp, struct buf **n)
sys/kern/vfs_subr.c
567
error = BUF_PCTRIE_INSERT_LOOKUP_LE(&bv->bv_root, bp, n);
sys/kern/vfs_subr.c
569
if (*n == NULL && bp->b_lblkno >= 0)
sys/kern/vfs_subr.c
570
*n = BUF_PCTRIE_LOOKUP_LE(&bv->bv_root, ~0L);
sys/kern/vfs_subr.c
571
if (*n != NULL && (*n)->b_lblkno >= bp->b_lblkno)
sys/kern/vfs_subr.c
572
*n = NULL;
sys/kgssapi/gss_accept_sec_context.c
262
int i, n;
sys/kgssapi/gss_accept_sec_context.c
267
n = res.gidlist.gidlist_len;
sys/kgssapi/gss_accept_sec_context.c
268
if (n > *numgroups)
sys/kgssapi/gss_accept_sec_context.c
269
n = *numgroups;
sys/kgssapi/gss_accept_sec_context.c
270
for (i = 0; i < n; i++)
sys/kgssapi/gss_accept_sec_context.c
272
*numgroups = n;
sys/kgssapi/gss_pname_to_uid.c
119
n = res.gidlist.gidlist_len;
sys/kgssapi/gss_pname_to_uid.c
120
if (n > *numgroups)
sys/kgssapi/gss_pname_to_uid.c
121
n = *numgroups;
sys/kgssapi/gss_pname_to_uid.c
122
for (i = 0; i < n; i++)
sys/kgssapi/gss_pname_to_uid.c
124
*numgroups = n;
sys/kgssapi/gss_pname_to_uid.c
89
int i, n;
sys/kgssapi/krb5/kcrypto.c
136
int n, i;
sys/kgssapi/krb5/kcrypto.c
142
n = 0;
sys/kgssapi/krb5/kcrypto.c
144
n = out[i] + in[i] + n;
sys/kgssapi/krb5/kcrypto.c
145
out[i] = n;
sys/kgssapi/krb5/kcrypto.c
146
n >>= 8;
sys/kgssapi/krb5/kcrypto.c
151
for (i = len - 1; n && i >= 0; i--) {
sys/kgssapi/krb5/kcrypto.c
152
n = out[i] + n;
sys/kgssapi/krb5/kcrypto.c
153
out[i] = n;
sys/kgssapi/krb5/kcrypto.c
154
n >>= 8;
sys/kgssapi/krb5/krb5_mech.c
1664
struct mbuf *n;
sys/kgssapi/krb5/krb5_mech.c
1669
n = m_getptr(m, len, &off);
sys/kgssapi/krb5/krb5_mech.c
1670
if (n) {
sys/kgssapi/krb5/krb5_mech.c
1671
n->m_len = off;
sys/kgssapi/krb5/krb5_mech.c
1672
if (n->m_next) {
sys/kgssapi/krb5/krb5_mech.c
1673
m_freem(n->m_next);
sys/kgssapi/krb5/krb5_mech.c
1674
n->m_next = NULL;
sys/kgssapi/krb5/krb5_mech.c
1684
struct mbuf *m, *mlast, *hm, *cm, *n;
sys/kgssapi/krb5/krb5_mech.c
1792
n = m_getptr(m, tlen + datalen - 1, &i);
sys/kgssapi/krb5/krb5_mech.c
1799
if (n == NULL || n->m_len == i)
sys/kgssapi/krb5/krb5_mech.c
1801
padlen = n->m_data[i];
sys/libkern/arm/ldivmod_helper.c
41
__kern_ldivmod(long long n, long long m, long long *rem)
sys/libkern/arm/ldivmod_helper.c
45
q = __divdi3(n, m); /* q = n / m */
sys/libkern/arm/ldivmod_helper.c
46
*rem = n - m * q;
sys/libkern/iconv_xlat.c
100
*inbuf += n;
sys/libkern/iconv_xlat.c
101
*outbuf += n;
sys/libkern/iconv_xlat.c
102
*inbytesleft -= n;
sys/libkern/iconv_xlat.c
103
*outbytesleft -= n;
sys/libkern/iconv_xlat.c
86
int n, r;
sys/libkern/iconv_xlat.c
93
r = n = 1;
sys/libkern/iconv_xlat.c
95
r = n = min(*inbytesleft, *outbytesleft);
sys/libkern/inet_aton.c
101
switch (n) {
sys/libkern/inet_aton.c
43
int gotend, n;
sys/libkern/inet_aton.c
46
n = 0;
sys/libkern/inet_aton.c
71
parts[n] = val;
sys/libkern/inet_aton.c
79
if (n == 3) /* Whoops. Quit. */
sys/libkern/inet_aton.c
81
n++;
sys/libkern/inet_pton.c
192
const int n = tp - colonp;
sys/libkern/inet_pton.c
197
for (i = 1; i <= n; i++) {
sys/libkern/inet_pton.c
198
endp[- i] = colonp[n - i];
sys/libkern/inet_pton.c
199
colonp[n - i] = 0;
sys/libkern/memcchr.c
58
memcchr(const void *begin, int c, size_t n)
sys/libkern/memcchr.c
73
if (n == 0)
sys/libkern/memcchr.c
82
end = (const unsigned char *)begin + n;
sys/libkern/memchr.c
40
memchr(const void *s, int c, size_t n)
sys/libkern/memchr.c
42
if (n != 0) {
sys/libkern/memchr.c
48
} while (--n != 0);
sys/libkern/memcmp.c
42
(memcmp)(const void *s1, const void *s2, size_t n)
sys/libkern/memcmp.c
44
if (n != 0) {
sys/libkern/memcmp.c
50
} while (--n != 0);
sys/libkern/murmur3_32.c
32
#define rol32(i32, n) ((i32) << (n) | (i32) >> (32 - (n)))
sys/libkern/qdivrem.c
134
for (n = 4; v[1] == 0; v++) {
sys/libkern/qdivrem.c
135
if (--n == 1) {
sys/libkern/qdivrem.c
168
for (m = 4 - n; u[1] == 0; u++)
sys/libkern/qdivrem.c
184
__shl(&u[0], m + n, d); /* u <<= d */
sys/libkern/qdivrem.c
185
__shl(&v[1], n - 1, d); /* v <<= d */
sys/libkern/qdivrem.c
228
for (t = 0, i = n; i > 0; i--) {
sys/libkern/qdivrem.c
243
for (t = 0, i = n; i > 0; i--) { /* D6: add back. */
sys/libkern/qdivrem.c
260
for (i = m + n; i > m; --i)
sys/libkern/qdivrem.c
86
int m, n, d, j, i;
sys/libkern/qsort.c
107
(qsort_r)(void *a, size_t n, size_t es, cmp_t *cmp, void *thunk)
sys/libkern/qsort.c
111
qsort(void *a, size_t n, size_t es, cmp_t *cmp)
sys/libkern/qsort.c
121
if (n < 7) {
sys/libkern/qsort.c
122
for (pm = (char *)a + es; pm < (char *)a + n * es; pm += es)
sys/libkern/qsort.c
129
pm = (char *)a + (n / 2) * es;
sys/libkern/qsort.c
130
if (n > 7) {
sys/libkern/qsort.c
132
pn = (char *)a + (n - 1) * es;
sys/libkern/qsort.c
133
if (n > 40) {
sys/libkern/qsort.c
134
size_t d = (n / 8) * es;
sys/libkern/qsort.c
145
pc = pd = (char *)a + (n - 1) * es;
sys/libkern/qsort.c
168
pn = (char *)a + n * es;
sys/libkern/qsort.c
189
n = d2 / es;
sys/libkern/qsort.c
204
n = d1 / es;
sys/libkern/qsort.c
46
#define swapcode(TYPE, parmi, parmj, n) { \
sys/libkern/qsort.c
47
size_t i = (n) / sizeof (TYPE); \
sys/libkern/qsort.c
62
swapfunc(char *a, char *b, size_t n, int swaptype_long, int swaptype_int)
sys/libkern/qsort.c
65
swapcode(long, a, b, n)
sys/libkern/qsort.c
67
swapcode(int, a, b, n)
sys/libkern/qsort.c
69
swapcode(char, a, b, n)
sys/libkern/qsort.c
84
#define vecswap(a, b, n) \
sys/libkern/qsort.c
85
if ((n) > 0) swapfunc(a, b, n, swaptype_long, swaptype_int)
sys/libkern/strcasecmp.c
54
strncasecmp(const char *s1, const char *s2, size_t n)
sys/libkern/strcasecmp.c
57
if (n != 0) {
sys/libkern/strcasecmp.c
67
} while (--n != 0);
sys/libkern/strlcat.c
47
size_t n = siz;
sys/libkern/strlcat.c
51
while (n-- != 0 && *d != '\0')
sys/libkern/strlcat.c
54
n = siz - dlen;
sys/libkern/strlcat.c
56
if (n == 0)
sys/libkern/strlcat.c
59
if (n != 1) {
sys/libkern/strlcat.c
61
n--;
sys/libkern/strncat.c
41
strncat(char *dst, const char *src, size_t n)
sys/libkern/strncat.c
44
if (n != 0) {
sys/libkern/strncat.c
54
} while (--n != 0);
sys/libkern/strncmp.c
36
strncmp(const char *s1, const char *s2, size_t n)
sys/libkern/strncmp.c
39
if (n == 0)
sys/libkern/strncmp.c
47
} while (--n != 0);
sys/libkern/strncpy.c
43
strncpy(char * __restrict dst, const char * __restrict src, size_t n)
sys/libkern/strncpy.c
45
if (n != 0) {
sys/libkern/strncpy.c
52
while (--n != 0)
sys/libkern/strncpy.c
56
} while (--n != 0);
sys/libkern/timingsafe_bcmp.c
22
timingsafe_bcmp(const void *b1, const void *b2, size_t n)
sys/libkern/timingsafe_bcmp.c
27
for (; n > 0; n--)
sys/libkern/x86/crc32_sse42.c
117
int n;
sys/libkern/x86/crc32_sse42.c
119
for (n = 0; n < 32; n++)
sys/libkern/x86/crc32_sse42.c
120
square[n] = gf2_matrix_times(mat, mat[n]);
sys/libkern/x86/crc32_sse42.c
135
int n;
sys/libkern/x86/crc32_sse42.c
140
for (n = 1; n < 32; n++) {
sys/libkern/x86/crc32_sse42.c
141
odd[n] = row;
sys/libkern/x86/crc32_sse42.c
166
for (n = 0; n < 32; n++)
sys/libkern/x86/crc32_sse42.c
167
even[n] = odd[n];
sys/libkern/x86/crc32_sse42.c
178
uint32_t n;
sys/libkern/x86/crc32_sse42.c
181
for (n = 0; n < 256; n++) {
sys/libkern/x86/crc32_sse42.c
182
zeros[0][n] = gf2_matrix_times(op, n);
sys/libkern/x86/crc32_sse42.c
183
zeros[1][n] = gf2_matrix_times(op, n << 8);
sys/libkern/x86/crc32_sse42.c
184
zeros[2][n] = gf2_matrix_times(op, n << 16);
sys/libkern/x86/crc32_sse42.c
185
zeros[3][n] = gf2_matrix_times(op, n << 24);
sys/net/altq/altq_classq.h
154
int i, n;
sys/net/altq/altq_classq.h
163
n = random() % qlen(q) + 1;
sys/net/altq/altq_classq.h
164
for (i = 0; i < n; i++) {
sys/net/altq/altq_red.c
285
int n;
sys/net/altq/altq_red.c
308
n = t / rp->red_pkttime - 1;
sys/net/altq/altq_red.c
311
if (n > 0)
sys/net/altq/altq_red.c
313
pow_w(rp->red_wtab, n);
sys/net/altq/altq_red.c
602
pow_w(struct wtab *w, int n)
sys/net/altq/altq_red.c
607
if (n >= w->w_param_max)
sys/net/altq/altq_red.c
611
if (n <= 0)
sys/net/altq/altq_red.c
616
while (n) {
sys/net/altq/altq_red.c
617
if (n & bit) {
sys/net/altq/altq_red.c
619
n &= ~bit;
sys/net/altq/altq_rio.c
321
int dpindex, i, n, t;
sys/net/altq/altq_rio.c
346
n = t / rp->rio_pkttime;
sys/net/altq/altq_rio.c
348
if (n > 0)
sys/net/altq/altq_rio.c
350
pow_w(rp->rio_wtab, n);
sys/net/altq/altq_rmclass.c
1773
int i, n;
sys/net/altq/altq_rmclass.c
1783
n = arc4random() % qlen(q) + 1;
sys/net/altq/altq_rmclass.c
1784
for (i = 0; i < n; i++) {
sys/net/bpf.c
1236
int n;
sys/net/bpf.c
1239
n = d->bd_slen;
sys/net/bpf.c
1244
n += d->bd_hlen;
sys/net/bpf.c
1247
*(int *)addr = n;
sys/net/bpf.c
2760
int error, n, n1;
sys/net/bpf.c
2778
n = 0;
sys/net/bpf.c
2782
lst[n++] = bp->bif_dlt;
sys/net/bpf.c
2784
error = copyout(lst, bfl->bfl_list, sizeof(u_int) * n);
sys/net/bpf.c
2786
bfl->bfl_len = n;
sys/net/debugnet.c
614
struct mbuf *n;
sys/net/debugnet.c
617
n = m->m_nextpkt;
sys/net/debugnet.c
620
m = n;
sys/net/dummymbuf.c
181
struct mbuf *n;
sys/net/dummymbuf.c
195
if ((n = m_getcl(M_NOWAIT, MT_DATA, M_PKTHDR)) == NULL)
sys/net/dummymbuf.c
198
m_move_pkthdr(n, m);
sys/net/dummymbuf.c
199
m_copydata(m, 0, count, n->m_ext.ext_buf);
sys/net/dummymbuf.c
200
n->m_len = count;
sys/net/dummymbuf.c
203
n->m_next = m;
sys/net/dummymbuf.c
205
return (n);
sys/net/dummymbuf.c
215
struct mbuf *n;
sys/net/dummymbuf.c
227
if ((n = m_get3(size, M_NOWAIT, MT_DATA, M_PKTHDR)) == NULL)
sys/net/dummymbuf.c
230
m_move_pkthdr(n, m);
sys/net/dummymbuf.c
231
m_copydata(m, 0, m->m_pkthdr.len, n->m_ext.ext_buf);
sys/net/dummymbuf.c
232
n->m_len = m->m_pkthdr.len;
sys/net/dummymbuf.c
234
n->m_next = m;
sys/net/dummymbuf.c
236
return (n);
sys/net/if.c
2122
struct mbuf *m, *n;
sys/net/if.c
2131
n = ifq->ifq_head;
sys/net/if.c
2132
while ((m = n) != NULL) {
sys/net/if.c
2133
n = m->m_nextpkt;
sys/net/if_bridge.c
2445
int n;
sys/net/if_bridge.c
2447
for (m = m0, n = 1; m != NULL; m = m0, n++) {
sys/net/if_bridge.c
2451
if_inc_counter(sc->sc_ifp, IFCOUNTER_OERRORS, n);
sys/net/if_epair.c
161
struct mbuf *m, *n;
sys/net/if_epair.c
175
n = STAILQ_NEXT(m, m_stailqpkt);
sys/net/if_epair.c
178
m = n;
sys/net/if_epair.c
852
struct mbuf *m, *n;
sys/net/if_epair.c
859
for (; m != NULL; m = n) {
sys/net/if_epair.c
860
n = m->m_nextpkt;
sys/net/if_ethersubr.c
1333
int n;
sys/net/if_ethersubr.c
1351
for (n = ETHERMIN + ETHER_HDR_LEN - (*mp)->m_pkthdr.len;
sys/net/if_ethersubr.c
1352
n > 0; n -= sizeof(pad)) {
sys/net/if_ethersubr.c
1353
if (!m_append(*mp, min(n, sizeof(pad)), pad))
sys/net/if_ethersubr.c
1356
if (n > 0) {
sys/net/if_ethersubr.c
384
struct mbuf *n;
sys/net/if_ethersubr.c
398
if ((n = m_dup(m, M_NOWAIT)) != NULL) {
sys/net/if_ethersubr.c
399
update_mbuf_csumflags(m, n);
sys/net/if_ethersubr.c
400
(void)if_simloop(ifp, n, RO_GET_FAMILY(ro, dst), hlen);
sys/net/if_gif.c
580
int isr, n, af;
sys/net/if_gif.c
676
n = sizeof(struct etherip_header) +
sys/net/if_gif.c
678
if (n > m->m_len)
sys/net/if_gif.c
679
m = m_pullup(m, n);
sys/net/if_ovpn.c
1472
ovpn_notif_add_counters(nvlist_t *parent, struct ovpn_notification *n)
sys/net/if_ovpn.c
1480
nvlist_add_number(nvl, "in", n->counters.pkt_in);
sys/net/if_ovpn.c
1481
nvlist_add_number(nvl, "out", n->counters.pkt_out);
sys/net/if_ovpn.c
1490
nvlist_add_number(nvl, "in", n->counters.bytes_in);
sys/net/if_ovpn.c
1491
nvlist_add_number(nvl, "out", n->counters.bytes_out);
sys/net/if_ovpn.c
1500
struct ovpn_notification *n;
sys/net/if_ovpn.c
1504
n = buf_ring_dequeue_mc(sc->notifring);
sys/net/if_ovpn.c
1505
if (n == NULL)
sys/net/if_ovpn.c
1510
free(n, M_OVPN);
sys/net/if_ovpn.c
1513
nvlist_add_number(nvl, "peerid", n->peerid);
sys/net/if_ovpn.c
1514
nvlist_add_number(nvl, "notification", n->type);
sys/net/if_ovpn.c
1515
switch (n->type) {
sys/net/if_ovpn.c
1517
nvlist_add_number(nvl, "del_reason", n->del_reason);
sys/net/if_ovpn.c
1521
ovpn_notif_add_counters(nvl, n);
sys/net/if_ovpn.c
1528
(struct sockaddr *)&n->address);
sys/net/if_ovpn.c
1536
(void)ovpn_notify_float(sc, n->peerid, &n->address);
sys/net/if_ovpn.c
1538
free(n, M_OVPN);
sys/net/if_ovpn.c
1546
free(n, M_OVPN);
sys/net/if_ovpn.c
2655
struct ovpn_notification *n;
sys/net/if_ovpn.c
2660
n = buf_ring_dequeue_sc(sc->notifring);
sys/net/if_ovpn.c
2661
free(n, M_OVPN);
sys/net/if_ovpn.c
496
struct ovpn_notification *n;
sys/net/if_ovpn.c
500
n = malloc(sizeof(*n), M_OVPN, M_NOWAIT);
sys/net/if_ovpn.c
501
if (n == NULL)
sys/net/if_ovpn.c
504
n->peerid = peer->peerid;
sys/net/if_ovpn.c
505
n->type = OVPN_NOTIF_DEL_PEER;
sys/net/if_ovpn.c
506
n->del_reason = peer->del_reason;
sys/net/if_ovpn.c
508
n->counters.pkt_in = counter_u64_fetch(OVPN_PEER_COUNTER(peer, pkt_in));
sys/net/if_ovpn.c
509
n->counters.pkt_out = counter_u64_fetch(OVPN_PEER_COUNTER(peer, pkt_out));
sys/net/if_ovpn.c
510
n->counters.bytes_in = counter_u64_fetch(OVPN_PEER_COUNTER(peer, bytes_in));
sys/net/if_ovpn.c
511
n->counters.bytes_out = counter_u64_fetch(OVPN_PEER_COUNTER(peer, bytes_out));
sys/net/if_ovpn.c
513
if (buf_ring_enqueue(sc->notifring, n) != 0) {
sys/net/if_ovpn.c
514
free(n, M_OVPN);
sys/net/if_ovpn.c
526
struct ovpn_notification *n;
sys/net/if_ovpn.c
528
n = malloc(sizeof(*n), M_OVPN, M_NOWAIT | M_ZERO);
sys/net/if_ovpn.c
529
if (n == NULL)
sys/net/if_ovpn.c
532
n->peerid = peer->peerid;
sys/net/if_ovpn.c
533
n->type = OVPN_NOTIF_ROTATE_KEY;
sys/net/if_ovpn.c
535
if (buf_ring_enqueue(sc->notifring, n) != 0) {
sys/net/if_ovpn.c
536
free(n, M_OVPN);
sys/net/if_ovpn.c
549
struct ovpn_notification *n;
sys/net/if_ovpn.c
551
n = malloc(sizeof(*n), M_OVPN, M_NOWAIT | M_ZERO);
sys/net/if_ovpn.c
552
if (n == NULL)
sys/net/if_ovpn.c
555
n->peerid = peerid;
sys/net/if_ovpn.c
556
n->type = OVPN_NOTIF_FLOAT;
sys/net/if_ovpn.c
557
memcpy(&n->address, remote, sizeof(n->address));
sys/net/if_ovpn.c
559
if (buf_ring_enqueue(sc->notifring, n) != 0) {
sys/net/if_ovpn.c
560
free(n, M_OVPN);
sys/net/if_vlan.c
381
#define HASH(n, m) ((((n) >> 8) ^ ((n) >> 4) ^ (n)) & (m))
sys/net/if_vlan.c
386
int i, n;
sys/net/if_vlan.c
398
n = 1 << trunk->hwidth;
sys/net/if_vlan.c
399
trunk->hmask = n - 1;
sys/net/if_vlan.c
400
trunk->hash = malloc(sizeof(struct ifvlanhead) * n, M_VLAN, M_WAITOK);
sys/net/if_vlan.c
401
for (i = 0; i < n; i++)
sys/net/if_vlan.c
483
int hwidth2, i, j, n, n2;
sys/net/if_vlan.c
495
n = 1 << trunk->hwidth;
sys/net/if_vlan.c
504
for (i = 0; i < n; i++)
sys/net/if_vlan.c
518
"VLAN hash table resized from %d to %d buckets\n", n, n2);
sys/net/iflib.c
1153
u_int n;
sys/net/iflib.c
1210
for (n = 0; avail > 0 && nm_i != hwtail_lim; n++, avail--) {
sys/net/iflib.c
1248
if (n) { /* update the state variables */
sys/net/iflib.c
1252
iflib_rx_miss_bufs += n;
sys/net/iflib.c
2075
int err, frag_idx, i, idx, n, pidx;
sys/net/iflib.c
2090
n = count;
sys/net/iflib.c
2091
MPASS(n > 0);
sys/net/iflib.c
2092
MPASS(credits + n <= fl->ifl_size);
sys/net/iflib.c
2095
MPASS(pidx + n <= fl->ifl_cidx);
sys/net/iflib.c
2099
MPASS(n <= fl->ifl_size - pidx + fl->ifl_cidx);
sys/net/iflib.c
2102
if (n > 8)
sys/net/iflib.c
2105
while (n-- > 0) {
sys/net/iflib.c
2167
if (n == 0 || i == IFLIB_MAX_RX_REFRESH) {
sys/net/iflib.c
2178
if (n < count - 1) {
sys/net/iflib.c
2200
return (n == -1 ? 0 : IFLIB_RXEOF_EMPTY);
sys/net/iflib.c
3196
struct mbuf *n;
sys/net/iflib.c
3207
n = m->m_next;
sys/net/iflib.c
3208
MPASS(n);
sys/net/iflib.c
3210
if (n->m_len >= sizeof(*ip)) {
sys/net/iflib.c
3211
ip = (struct ip *)n->m_data;
sys/net/iflib.c
3449
int n;
sys/net/iflib.c
3465
for (n = min_frame_size - (*m_head)->m_pkthdr.len;
sys/net/iflib.c
3466
n > 0; n -= sizeof(pad))
sys/net/iflib.c
3467
if (!m_append(*m_head, min(n, sizeof(pad)), pad))
sys/net/iflib.c
3470
if (n > 0) {
sys/net/iflib.c
3712
iflib_tx_desc_free(iflib_txq_t txq, int n, struct mbuf **m_defer)
sys/net/iflib.c
3723
while (n-- > 0) {
sys/net/iflib.c
4838
cpuid_advance(if_ctx_t ctx, unsigned int cpuid, unsigned int n)
sys/net/iflib.c
4851
n = n % CPU_COUNT(&ctx->ifc_cpus);
sys/net/iflib.c
4852
while (n > 0) {
sys/net/iflib.c
4858
n--;
sys/net/iflib.c
7138
struct mbuf *n;
sys/net/iflib.c
7143
n = m;
sys/net/iflib.c
7145
MGETHDR(n, M_NOWAIT, MT_DATA);
sys/net/iflib.c
7146
if (n == NULL) {
sys/net/iflib.c
7150
bcopy(m->m_data, n->m_data, ETHER_HDR_LEN);
sys/net/iflib.c
7153
n->m_len = ETHER_HDR_LEN;
sys/net/iflib.c
7154
M_MOVE_PKTHDR(n, m);
sys/net/iflib.c
7155
n->m_next = m;
sys/net/iflib.c
7157
return (n);
sys/net/iflib.c
849
int i, n;
sys/net/iflib.c
871
n = kring->nkr_num_slots - nm_kr_rxspace(kring);
sys/net/iflib.c
873
n = kring->rhead - kring->nr_hwcur;
sys/net/iflib.c
874
if (n == 0)
sys/net/iflib.c
876
if (n < 0)
sys/net/iflib.c
877
n += kring->nkr_num_slots;
sys/net/iflib.c
894
while (n > 0) {
sys/net/iflib.c
900
for (i = 0; n > 0 && i < IFLIB_MAX_RX_REFRESH; n--, i++) {
sys/net/ifq.h
305
struct mbuf *m, *n = (ifq)->ifq_drv_head; \
sys/net/ifq.h
306
while((m = n) != NULL) { \
sys/net/ifq.h
307
n = m->m_nextpkt; \
sys/net/mp_ring.c
110
n = r->drain(r, cidx, pidx);
sys/net/mp_ring.c
111
if (n == 0) {
sys/net/mp_ring.c
124
cidx = increment_idx(r, cidx, n);
sys/net/mp_ring.c
125
pending += n;
sys/net/mp_ring.c
126
total += n;
sys/net/mp_ring.c
170
int n, pending, total;
sys/net/mp_ring.c
184
n = r->drain(r, cidx, pidx);
sys/net/mp_ring.c
185
if (n == 0) {
sys/net/mp_ring.c
203
cidx = increment_idx(r, cidx, n);
sys/net/mp_ring.c
204
pending += n;
sys/net/mp_ring.c
205
total += n;
sys/net/mp_ring.c
318
ifmp_ring_enqueue(struct ifmp_ring *r, void **items, int n, int budget, int abdicate)
sys/net/mp_ring.c
325
MPASS(n > 0);
sys/net/mp_ring.c
333
if (n >= space_available(r, os)) {
sys/net/mp_ring.c
334
counter_u64_add(r->drops, n);
sys/net/mp_ring.c
342
ns.pidx_head = increment_idx(r, os.pidx_head, n);
sys/net/mp_ring.c
377
counter_u64_add(r->enqueues, n);
sys/net/mp_ring.c
393
ifmp_ring_enqueue(struct ifmp_ring *r, void **items, int n, int budget, int abdicate)
sys/net/mp_ring.c
400
MPASS(n > 0);
sys/net/mp_ring.c
408
if (n >= space_available(r, os)) {
sys/net/mp_ring.c
409
counter_u64_add(r->drops, n);
sys/net/mp_ring.c
416
ns.pidx_head = increment_idx(r, os.pidx_head, n);
sys/net/mp_ring.c
459
counter_u64_add(r->enqueues, n);
sys/net/mp_ring.c
70
increment_idx(struct ifmp_ring *r, uint16_t idx, uint16_t n)
sys/net/mp_ring.c
75
return (x > n ? idx + n : n - x);
sys/net/mp_ring.c
96
int n, pending, total;
sys/net/mppcc.c
105
putbits24(uint8_t *buf, uint32_t val, const uint32_t n, uint32_t *i, uint32_t *l)
sys/net/mppcc.c
108
if (*l >= n - 16) {
sys/net/mppcc.c
110
*l = 16 - n + (*l);
sys/net/mppcc.c
122
*l = 24 - n + (*l);
sys/net/mppcc.c
56
putbits8(uint8_t *buf, uint32_t val, const uint32_t n, uint32_t *i, uint32_t *l)
sys/net/mppcc.c
59
if (*l >= n) {
sys/net/mppcc.c
60
*l = (*l) - n;
sys/net/mppcc.c
70
*l = 8 - n + (*l);
sys/net/mppcc.c
79
putbits16(uint8_t *buf, uint32_t val, const uint32_t n, uint32_t *i, uint32_t *l)
sys/net/mppcc.c
82
if (*l >= n - 8) {
sys/net/mppcc.c
84
*l = 8 - n + (*l);
sys/net/mppcc.c
95
*l = 16 - n + (*l);
sys/net/mppcd.c
52
getbits(const uint8_t *buf, const uint32_t n, uint32_t *i, uint32_t *l)
sys/net/mppcd.c
58
if (*l >= n) {
sys/net/mppcd.c
59
*l = (*l) - n;
sys/net/mppcd.c
66
*l = 8 - n + (*l);
sys/net/netisr.c
704
struct mbuf *m, *mp, *n, *ne;
sys/net/netisr.c
725
n = ne = NULL;
sys/net/netisr.c
734
if (n == NULL) {
sys/net/netisr.c
735
n = ne = mp;
sys/net/netisr.c
748
npwp->nw_head = n;
sys/net/netmap_user.h
1043
u_int c, n = d->last_tx_ring - d->first_tx_ring + 1,
sys/net/netmap_user.h
1046
for (c = 0; c < n ; c++, ri++) {
sys/net/netmap_user.h
1090
int n = d->last_rx_ring - d->first_rx_ring + 1;
sys/net/netmap_user.h
1102
for (c=0; c < n && cnt != got; c++, ri++) {
sys/net/pfvar.h
133
pf_counter_u64_rollup_protected(struct pf_counter_u64 *pfcu64, uint64_t n)
sys/net/pfvar.h
137
pfcu64->pfcu64_value += n;
sys/net/pfvar.h
141
pf_counter_u64_add_protected(struct pf_counter_u64 *pfcu64, uint32_t n)
sys/net/pfvar.h
149
atomic_store_int(&pcpu->current, val + n);
sys/net/pfvar.h
153
pf_counter_u64_add(struct pf_counter_u64 *pfcu64, uint32_t n)
sys/net/pfvar.h
157
pf_counter_u64_add_protected(pfcu64, n);
sys/net/pfvar.h
1821
pfr_kstate_counter_add(struct pfr_kstate_counter *pfrc, int64_t n)
sys/net/pfvar.h
1824
counter_u64_add(pfrc->pkc_pcpu, n);
sys/net/pfvar.h
264
pf_counter_u64_rollup_protected(struct pf_counter_u64 *pfcu64, uint64_t n)
sys/net/pfvar.h
267
counter_u64_add(pfcu64->counter, n);
sys/net/pfvar.h
271
pf_counter_u64_add_protected(struct pf_counter_u64 *pfcu64, uint32_t n)
sys/net/pfvar.h
274
counter_u64_add(pfcu64->counter, n);
sys/net/pfvar.h
278
pf_counter_u64_add(struct pf_counter_u64 *pfcu64, uint32_t n)
sys/net/pfvar.h
2781
pf_release_staten(struct pf_kstate *s, u_int n)
sys/net/pfvar.h
2784
if (refcount_releasen(&s->refs, n)) {
sys/net/pfvar.h
281
pf_counter_u64_add_protected(pfcu64, n);
sys/net/pfvar.h
340
#define DPFPRINTF(n, fmt, x...) \
sys/net/pfvar.h
342
SDT_PROBE2(pf, , log, log, (n), fmt); \
sys/net/pfvar.h
343
if (V_pf_status.debug >= (n)) \
sys/net/radix.c
179
c_caddr_t m = m_arg, n = n_arg;
sys/net/radix.c
180
c_caddr_t lim, lim2 = lim = n + LEN(n);
sys/net/radix.c
181
int longer = LEN(n++) - LEN(m++);
sys/net/radix.c
186
while (n < lim) {
sys/net/radix.c
187
if (*n & ~(*m))
sys/net/radix.c
189
if (*n++ != *m++)
sys/net/radix.c
192
while (n < lim2)
sys/net/radix.c
193
if (*n++)
sys/net/radix.h
152
#define R_Malloc(p, t, n) (p = (t) malloc((unsigned int)(n)))
sys/net/radix.h
153
#define R_Zalloc(p, t, n) (p = (t) calloc(1,(unsigned int)(n)))
sys/net/radix.h
156
#define R_Malloc(p, t, n) (p = (t) malloc((unsigned long)(n), M_RTABLE, M_NOWAIT))
sys/net/radix.h
157
#define R_Zalloc(p, t, n) (p = (t) malloc((unsigned long)(n), M_RTABLE, M_NOWAIT | M_ZERO))
sys/net/route/route_debug.h
49
#define _DEBUG_PREFIX_NAME(n) __DEBUG_PREFIX_NAME(n)
sys/net/route/route_debug.h
50
#define __DEBUG_PREFIX_NAME(n) #n
sys/net/rtsock.c
2191
struct mbuf *n = m_get(M_NOWAIT, MT_DATA);
sys/net/rtsock.c
2192
if (n == NULL) {
sys/net/rtsock.c
2196
bcopy(data, mtod(n, void *), data_len);
sys/net/rtsock.c
2197
n->m_len = data_len;
sys/net/rtsock.c
2198
m->m_next = n;
sys/net/rtsock.c
367
struct mbuf *n;
sys/net/rtsock.c
369
n = m_copym(m, 0, M_COPYALL, M_NOWAIT);
sys/net/rtsock.c
370
if (n != NULL)
sys/net/rtsock.c
371
rts_append_data(last, n);
sys/net/slcompress.c
101
#define ENCODEZ(n) { \
sys/net/slcompress.c
102
if ((u_int16_t)(n) >= 256 || (u_int16_t)(n) == 0) { \
sys/net/slcompress.c
104
cp[1] = (n); \
sys/net/slcompress.c
105
cp[0] = (n) >> 8; \
sys/net/slcompress.c
108
*cp++ = (n); \
sys/net/slcompress.c
58
#define BCMP(p1, p2, n) bcmp((void *)(p1), (void *)(p2), (int)(n))
sys/net/slcompress.c
59
#define BCOPY(p1, p2, n) bcopy((void *)(p1), (void *)(p2), (int)(n))
sys/net/slcompress.c
91
#define ENCODE(n) { \
sys/net/slcompress.c
92
if ((u_int16_t)(n) >= 256) { \
sys/net/slcompress.c
94
cp[1] = (n); \
sys/net/slcompress.c
95
cp[0] = (n) >> 8; \
sys/net/slcompress.c
98
*cp++ = (n); \
sys/net/vnet.h
276
#define VNET_NAME(n) vnet_entry_##n
sys/net/vnet.h
277
#define VNET_DECLARE(t, n) extern t VNET_NAME(n)
sys/net/vnet.h
279
#define VNET_DEFINE(t, n) \
sys/net/vnet.h
280
struct _hack; t VNET_NAME(n) __section(VNET_SETNAME) __used
sys/net/vnet.h
287
#define VNET_DEFINE_STATIC(t, n) \
sys/net/vnet.h
288
t VNET_NAME(n) __section(VNET_SETNAME) __used
sys/net/vnet.h
290
#define VNET_DEFINE_STATIC(t, n) \
sys/net/vnet.h
291
static t VNET_NAME(n) __section(VNET_SETNAME) __used
sys/net/vnet.h
293
#define _VNET_PTR(b, n) (__typeof(VNET_NAME(n))*) \
sys/net/vnet.h
294
((b) + (uintptr_t)&VNET_NAME(n))
sys/net/vnet.h
296
#define _VNET(b, n) (*_VNET_PTR(b, n))
sys/net/vnet.h
301
#define VNET_VNET_PTR(vnet, n) _VNET_PTR((vnet)->vnet_data_base, n)
sys/net/vnet.h
302
#define VNET_VNET(vnet, n) (*VNET_VNET_PTR((vnet), n))
sys/net/vnet.h
304
#define VNET_PTR(n) VNET_VNET_PTR(curvnet, n)
sys/net/vnet.h
305
#define VNET(n) VNET_VNET(curvnet, n)
sys/net/vnet.h
430
#define VNET_NAME(n) n
sys/net/vnet.h
431
#define VNET_DECLARE(t, n) extern t n
sys/net/vnet.h
432
#define VNET_DEFINE(t, n) struct _hack; t n
sys/net/vnet.h
433
#define VNET_DEFINE_STATIC(t, n) static t n
sys/net/vnet.h
434
#define _VNET_PTR(b, n) &VNET_NAME(n)
sys/net/vnet.h
439
#define VNET_VNET_PTR(vnet, n) (&(n))
sys/net/vnet.h
440
#define VNET_VNET(vnet, n) (n)
sys/net/vnet.h
442
#define VNET_PTR(n) (&(n))
sys/net/vnet.h
443
#define VNET(n) (n)
sys/net80211/ieee80211.c
2379
findmedia(const struct ratemedia rates[], int n, u_int match)
sys/net80211/ieee80211.c
2383
for (i = 0; i < n; i++)
sys/net80211/ieee80211_crypto_ccmp.c
607
struct mbuf *n;
sys/net80211/ieee80211_crypto_ccmp.c
618
n = m;
sys/net80211/ieee80211_crypto_ccmp.c
622
pos_next = mtod(n, uint8_t *);
sys/net80211/ieee80211_crypto_ccmp.c
625
if (n->m_len >= space_next) {
sys/net80211/ieee80211_crypto_ccmp.c
638
xor_block(b+sp, pos_next, n->m_len);
sys/net80211/ieee80211_crypto_ccmp.c
639
sp += n->m_len, dl -= n->m_len;
sys/net80211/ieee80211_crypto_ccmp.c
640
n = n->m_next;
sys/net80211/ieee80211_crypto_ccmp.c
641
if (n == NULL)
sys/net80211/ieee80211_crypto_gcm.c
207
size_t i, n, last;
sys/net80211/ieee80211_crypto_gcm.c
215
n = xlen / 16;
sys/net80211/ieee80211_crypto_gcm.c
220
for (i = 0; i < n; i++) {
sys/net80211/ieee80211_freebsd.c
526
struct mbuf *n;
sys/net80211/ieee80211_freebsd.c
531
n = m_gethdr(IEEE80211_M_NOWAIT, MT_DATA);
sys/net80211/ieee80211_freebsd.c
533
n = m_getjcl(IEEE80211_M_NOWAIT, MT_DATA, M_PKTHDR,
sys/net80211/ieee80211_freebsd.c
540
if (__predict_true(n != NULL)) {
sys/net80211/ieee80211_freebsd.c
541
m_move_pkthdr(n, m);
sys/net80211/ieee80211_freebsd.c
542
n->m_data = (caddr_t)(ALIGN(n->m_data + align) - align);
sys/net80211/ieee80211_freebsd.c
543
m_copydata(m, 0, pktlen, mtod(n, caddr_t));
sys/net80211/ieee80211_freebsd.c
544
n->m_len = pktlen;
sys/net80211/ieee80211_freebsd.c
552
return n;
sys/net80211/ieee80211_freebsd.c
802
net80211_get_random_bytes(void *p, size_t n)
sys/net80211/ieee80211_freebsd.c
806
while (n > 0) {
sys/net80211/ieee80211_freebsd.c
808
size_t nb = n > sizeof(uint32_t) ? sizeof(uint32_t) : n;
sys/net80211/ieee80211_freebsd.c
809
bcopy(&v, dp, n > sizeof(uint32_t) ? sizeof(uint32_t) : n);
sys/net80211/ieee80211_freebsd.c
810
dp += sizeof(uint32_t), n -= nb;
sys/net80211/ieee80211_hostap.c
1251
int error, n;
sys/net80211/ieee80211_hostap.c
1295
n = le16dec(frm);
sys/net80211/ieee80211_hostap.c
1297
if (len < n*4+2) {
sys/net80211/ieee80211_hostap.c
1301
len, n);
sys/net80211/ieee80211_hostap.c
1305
for (; n > 0; n--) {
sys/net80211/ieee80211_hostap.c
1328
n = le16dec(frm);
sys/net80211/ieee80211_hostap.c
1330
if (len < n*4) {
sys/net80211/ieee80211_hostap.c
1334
len, n);
sys/net80211/ieee80211_hostap.c
1338
for (; n > 0; n--) {
sys/net80211/ieee80211_hostap.c
1431
int error, n;
sys/net80211/ieee80211_hostap.c
1482
n = le16dec(frm);
sys/net80211/ieee80211_hostap.c
1484
if (len < n*4+2) {
sys/net80211/ieee80211_hostap.c
1488
len, n);
sys/net80211/ieee80211_hostap.c
1493
for (; n > 0; n--) {
sys/net80211/ieee80211_hostap.c
1523
n = le16dec(frm);
sys/net80211/ieee80211_hostap.c
1525
if (len < n*4) {
sys/net80211/ieee80211_hostap.c
1529
len, n);
sys/net80211/ieee80211_hostap.c
1533
for (; n > 0; n--) {
sys/net80211/ieee80211_ht.c
474
struct mbuf *n;
sys/net80211/ieee80211_ht.c
497
n = m_split(m, framelen, IEEE80211_M_NOWAIT);
sys/net80211/ieee80211_ht.c
498
if (n == NULL) {
sys/net80211/ieee80211_ht.c
512
m = n;
sys/net80211/ieee80211_ht.c
817
int n = 0;
sys/net80211/ieee80211_ht.c
823
n++;
sys/net80211/ieee80211_ht.c
830
return (n);
sys/net80211/ieee80211_ht.c
844
int n = rap->rxa_qframes, j;
sys/net80211/ieee80211_ht.c
851
n = n - mbufq_len(&rap->rxa_mq[j]);
sys/net80211/ieee80211_ht.c
853
KASSERT(n >= 0, ("%s: n < 0 (%d)", __func__, n));
sys/net80211/ieee80211_ht.c
854
if (n == 0)
sys/net80211/ieee80211_ht.c
858
KASSERT(n == 0, ("%s: lost %d frames, qframes %d off %d "
sys/net80211/ieee80211_ht.c
860
__func__, n, rap->rxa_qframes, i, rap->rxa_start,
sys/net80211/ieee80211_hwmp.c
1494
#define PERR_DFLAGS(n) perr.perr_dests[n].dest_flags
sys/net80211/ieee80211_hwmp.c
1495
#define PERR_DADDR(n) perr.perr_dests[n].dest_addr
sys/net80211/ieee80211_hwmp.c
1496
#define PERR_DSEQ(n) perr.perr_dests[n].dest_seq
sys/net80211/ieee80211_hwmp.c
1497
#define PERR_DRCODE(n) perr.perr_dests[n].dest_rcode
sys/net80211/ieee80211_hwmp.c
1531
#define PERR_DFLAGS(n) perr->perr_dests[n].dest_flags
sys/net80211/ieee80211_hwmp.c
1532
#define PERR_DADDR(n) perr->perr_dests[n].dest_addr
sys/net80211/ieee80211_hwmp.c
1533
#define PERR_DSEQ(n) perr->perr_dests[n].dest_seq
sys/net80211/ieee80211_hwmp.c
1534
#define PERR_DEXTADDR(n) perr->perr_dests[n].dest_ext_addr
sys/net80211/ieee80211_hwmp.c
1681
#define PERR_DFLAGS(n) perr.perr_dests[n].dest_flags
sys/net80211/ieee80211_hwmp.c
1682
#define PERR_DADDR(n) perr.perr_dests[n].dest_addr
sys/net80211/ieee80211_hwmp.c
1683
#define PERR_DSEQ(n) perr.perr_dests[n].dest_seq
sys/net80211/ieee80211_hwmp.c
1684
#define PERR_DEXTADDR(n) perr.perr_dests[n].dest_ext_addr
sys/net80211/ieee80211_hwmp.c
1685
#define PERR_DRCODE(n) perr.perr_dests[n].dest_rcode
sys/net80211/ieee80211_hwmp.c
1846
#define PREQ_TFLAGS(n) preq.preq_targets[n].target_flags
sys/net80211/ieee80211_hwmp.c
1847
#define PREQ_TADDR(n) preq.preq_targets[n].target_addr
sys/net80211/ieee80211_hwmp.c
1848
#define PREQ_TSEQ(n) preq.preq_targets[n].target_seq
sys/net80211/ieee80211_hwmp.c
686
#define PREQ_TFLAGS(n) preq->preq_targets[n].target_flags
sys/net80211/ieee80211_hwmp.c
687
#define PREQ_TADDR(n) preq->preq_targets[n].target_addr
sys/net80211/ieee80211_hwmp.c
688
#define PREQ_TSEQ(n) preq->preq_targets[n].target_seq
sys/net80211/ieee80211_hwmp.c
748
#define PERR_DFLAGS(n) perr->perr_dests[n].dest_flags
sys/net80211/ieee80211_hwmp.c
749
#define PERR_DADDR(n) perr->perr_dests[n].dest_addr
sys/net80211/ieee80211_hwmp.c
750
#define PERR_DSEQ(n) perr->perr_dests[n].dest_seq
sys/net80211/ieee80211_hwmp.c
751
#define PERR_EXTADDR(n) perr->perr_dests[n].dest_ext_addr
sys/net80211/ieee80211_hwmp.c
752
#define PERR_DRCODE(n) perr->perr_dests[n].dest_rcode
sys/net80211/ieee80211_hwmp.c
828
#define PREQ_TFLAGS(n) preq.preq_targets[n].target_flags
sys/net80211/ieee80211_hwmp.c
829
#define PREQ_TADDR(n) preq.preq_targets[n].target_addr
sys/net80211/ieee80211_hwmp.c
830
#define PREQ_TSEQ(n) preq.preq_targets[n].target_seq
sys/net80211/ieee80211_hwmp.c
937
#define PREQ_TFLAGS(n) preq->preq_targets[n].target_flags
sys/net80211/ieee80211_hwmp.c
938
#define PREQ_TADDR(n) preq->preq_targets[n].target_addr
sys/net80211/ieee80211_hwmp.c
939
#define PREQ_TSEQ(n) preq->preq_targets[n].target_seq
sys/net80211/ieee80211_output.c
1373
struct mbuf *n = m_gethdr(IEEE80211_M_NOWAIT, m->m_type);
sys/net80211/ieee80211_output.c
1374
if (n == NULL) {
sys/net80211/ieee80211_output.c
1390
m_move_pkthdr(n, m);
sys/net80211/ieee80211_output.c
1391
n->m_len = 0; /* NB: m_gethdr does not set */
sys/net80211/ieee80211_output.c
1392
n->m_data += needed_space;
sys/net80211/ieee80211_output.c
1400
n->m_len += sizeof(struct ether_header);
sys/net80211/ieee80211_output.c
1406
n->m_next = m;
sys/net80211/ieee80211_output.c
1407
m = n;
sys/net80211/ieee80211_phy.c
589
#define HT_LTF(n) ((n) * 4)
sys/net80211/ieee80211_regdomain.c
200
sort_channels(void *a, size_t n, size_t size)
sys/net80211/ieee80211_regdomain.c
205
KASSERT(n > 0, ("no channels"));
sys/net80211/ieee80211_regdomain.c
206
for (ai = aa+size; --n >= 1; ai += size)
sys/net80211/ieee80211_regdomain.c
50
int *n, struct ieee80211_channel *c)
sys/net80211/ieee80211_regdomain.c
56
*n = maxchan;
sys/net80211/ieee80211_superg.c
277
struct mbuf *n;
sys/net80211/ieee80211_superg.c
327
n = m_split(m, framelen, IEEE80211_M_NOWAIT);
sys/net80211/ieee80211_superg.c
328
if (n == NULL) {
sys/net80211/ieee80211_superg.c
342
m_adj(n, roundup2(framelen, 4) - framelen); /* padding */
sys/net80211/ieee80211_superg.c
343
n = ieee80211_decap1(n, &framelen);
sys/net80211/ieee80211_superg.c
344
if (n == NULL) {
sys/net80211/ieee80211_superg.c
350
return n; /* 2nd delivered by caller */
sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c
1251
int n;
sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c
1258
for (n = 0; n < nframes; n ++)
sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c
1259
if (ubt_isoc_read_one_frame(xfer, n) < 0)
sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c
1265
for (n = 0; n < nframes; n ++)
sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c
1266
usbd_xfer_set_frame_len(xfer, n,
sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c
1380
int n, space, offset;
sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c
1409
n = min(space, m->m_pkthdr.len);
sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c
1410
if (n > 0) {
sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c
1411
usbd_m_copy_in(pc, offset, m,0, n);
sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c
1412
m_adj(m, n);
sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c
1414
offset += n;
sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c
1415
space -= n;
sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c
1437
for (n = 0; n < nframes; n ++) {
sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c
1438
usbd_xfer_set_frame_len(xfer, n,
sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c
1440
offset -= usbd_xfer_frame_len(xfer, n);
sys/netgraph/bluetooth/drivers/ubt/ng_ubt_var.h
118
#define UBT_STAT_BYTES_SENT(sc, n) (sc)->sc_stat.bytes_sent += (n)
sys/netgraph/bluetooth/drivers/ubt/ng_ubt_var.h
120
#define UBT_STAT_BYTES_RECV(sc, n) (sc)->sc_stat.bytes_recv += (n)
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
1008
n = ng_hci_get_neighbor(unit, &con->bdaddr, NG_HCI_LINK_ACL);
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
1009
if (n == NULL) {
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
1010
n = ng_hci_new_neighbor(unit);
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
1011
if (n == NULL) {
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
1016
bcopy(&con->bdaddr, &n->bdaddr, sizeof(n->bdaddr));
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
1017
n->addrtype = NG_HCI_LINK_ACL;
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
1019
getmicrotime(&n->updated);
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
1021
bcopy(ep->features, n->features, sizeof(n->features));
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
1243
ng_hci_neighbor_p n = NULL;
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
1265
n = ng_hci_get_neighbor(unit, &con->bdaddr, NG_HCI_LINK_ACL);
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
1266
if (n == NULL) {
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
1267
n = ng_hci_new_neighbor(unit);
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
1268
if (n == NULL) {
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
1273
bcopy(&con->bdaddr, &n->bdaddr, sizeof(n->bdaddr));
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
1274
n->addrtype = NG_HCI_LINK_ACL;
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
1276
getmicrotime(&n->updated);
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
1278
n->clock_offset = le16toh(ep->clock_offset);
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
1335
ng_hci_neighbor_p n = NULL;
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
1345
n = ng_hci_get_neighbor(unit, &ep->bdaddr, NG_HCI_LINK_ACL);
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
1346
if (n == NULL) {
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
1347
n = ng_hci_new_neighbor(unit);
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
1348
if (n == NULL) {
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
1353
bcopy(&ep->bdaddr, &n->bdaddr, sizeof(n->bdaddr));
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
1354
n->addrtype = NG_HCI_LINK_ACL;
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
1356
getmicrotime(&n->updated);
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
1358
n->page_scan_mode = ep->page_scan_mode;
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
1370
ng_hci_neighbor_p n = NULL;
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
1380
n = ng_hci_get_neighbor(unit, &ep->bdaddr, NG_HCI_LINK_ACL);
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
1381
if (n == NULL) {
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
1382
n = ng_hci_new_neighbor(unit);
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
1383
if (n == NULL) {
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
1388
bcopy(&ep->bdaddr, &n->bdaddr, sizeof(n->bdaddr));
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
1389
n->addrtype = NG_HCI_LINK_ACL;
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
1391
getmicrotime(&n->updated);
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
1393
n->page_scan_rep_mode = ep->page_scan_rep_mode;
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
382
ng_hci_neighbor_p n = NULL;
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
414
n = ng_hci_get_neighbor(unit, &bdaddr, (addr_type) ? NG_HCI_LINK_LE_RANDOM:NG_HCI_LINK_LE_PUBLIC);
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
415
if (n == NULL) {
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
417
n = ng_hci_new_neighbor(unit);
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
418
if (n == NULL) {
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
422
bcopy(&bdaddr, &n->bdaddr, sizeof(n->bdaddr));
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
423
n->addrtype = (addr_type)? NG_HCI_LINK_LE_RANDOM :
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
427
getmicrotime(&n->updated);
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
443
n->extinq_size = (length_data < NG_HCI_EXTINQ_MAX)?
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
447
event = m_pullup(event, n->extinq_size);
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
452
m_copydata(event, 0, n->extinq_size, n->extinq_data);
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
453
m_adj(event, n->extinq_size);
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
461
n->page_scan_mode = *mtod(event, char *);
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
619
ng_hci_neighbor_p n = NULL;
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
636
n = ng_hci_get_neighbor(unit, &bdaddr, NG_HCI_LINK_ACL);
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
637
if (n == NULL) {
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
639
n = ng_hci_new_neighbor(unit);
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
640
if (n == NULL) {
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
645
getmicrotime(&n->updated);
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
647
bcopy(&bdaddr, &n->bdaddr, sizeof(n->bdaddr));
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
648
n->addrtype = NG_HCI_LINK_ACL;
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
652
n->page_scan_rep_mode = *mtod(event, u_int8_t *);
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
658
n->page_scan_mode = *mtod(event, u_int8_t *);
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
665
m_copydata(event, 0, sizeof(n->clock_offset),
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
666
(caddr_t) &n->clock_offset);
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
667
n->clock_offset = le16toh(n->clock_offset);
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
985
ng_hci_neighbor_p n = NULL;
sys/netgraph/bluetooth/hci/ng_hci_main.c
535
ng_hci_neighbor_p n = NULL;
sys/netgraph/bluetooth/hci/ng_hci_main.c
541
for (n = LIST_FIRST(&unit->neighbors); n != NULL; ) {
sys/netgraph/bluetooth/hci/ng_hci_main.c
542
ng_hci_neighbor_p nn = LIST_NEXT(n, next);
sys/netgraph/bluetooth/hci/ng_hci_main.c
544
if (ng_hci_neighbor_stale(n))
sys/netgraph/bluetooth/hci/ng_hci_main.c
545
ng_hci_free_neighbor(n);
sys/netgraph/bluetooth/hci/ng_hci_main.c
549
n = nn;
sys/netgraph/bluetooth/hci/ng_hci_main.c
567
LIST_FOREACH(n, &unit->neighbors, next) {
sys/netgraph/bluetooth/hci/ng_hci_main.c
568
e2->page_scan_rep_mode = n->page_scan_rep_mode;
sys/netgraph/bluetooth/hci/ng_hci_main.c
569
e2->page_scan_mode = n->page_scan_mode;
sys/netgraph/bluetooth/hci/ng_hci_main.c
570
e2->clock_offset = n->clock_offset;
sys/netgraph/bluetooth/hci/ng_hci_main.c
572
ng_hci_linktype_to_addrtype(n->addrtype);
sys/netgraph/bluetooth/hci/ng_hci_main.c
573
e2->extinq_size = n->extinq_size;
sys/netgraph/bluetooth/hci/ng_hci_main.c
574
bcopy(&n->bdaddr, &e2->bdaddr,
sys/netgraph/bluetooth/hci/ng_hci_main.c
576
bcopy(&n->features, &e2->features,
sys/netgraph/bluetooth/hci/ng_hci_main.c
578
bcopy(&n->extinq_data, &e2->extinq_data,
sys/netgraph/bluetooth/hci/ng_hci_main.c
579
n->extinq_size);
sys/netgraph/bluetooth/hci/ng_hci_misc.c
178
ng_hci_neighbor_p n = NULL;
sys/netgraph/bluetooth/hci/ng_hci_misc.c
180
n = malloc(sizeof(*n), M_NETGRAPH_HCI,
sys/netgraph/bluetooth/hci/ng_hci_misc.c
182
if (n != NULL) {
sys/netgraph/bluetooth/hci/ng_hci_misc.c
183
getmicrotime(&n->updated);
sys/netgraph/bluetooth/hci/ng_hci_misc.c
184
LIST_INSERT_HEAD(&unit->neighbors, n, next);
sys/netgraph/bluetooth/hci/ng_hci_misc.c
187
return (n);
sys/netgraph/bluetooth/hci/ng_hci_misc.c
195
ng_hci_free_neighbor(ng_hci_neighbor_p n)
sys/netgraph/bluetooth/hci/ng_hci_misc.c
197
LIST_REMOVE(n, next);
sys/netgraph/bluetooth/hci/ng_hci_misc.c
198
bzero(n, sizeof(*n));
sys/netgraph/bluetooth/hci/ng_hci_misc.c
199
free(n, M_NETGRAPH_HCI);
sys/netgraph/bluetooth/hci/ng_hci_misc.c
220
ng_hci_neighbor_p n = NULL;
sys/netgraph/bluetooth/hci/ng_hci_misc.c
222
for (n = LIST_FIRST(&unit->neighbors); n != NULL; ) {
sys/netgraph/bluetooth/hci/ng_hci_misc.c
223
ng_hci_neighbor_p nn = LIST_NEXT(n, next);
sys/netgraph/bluetooth/hci/ng_hci_misc.c
225
if (!ng_hci_neighbor_stale(n)) {
sys/netgraph/bluetooth/hci/ng_hci_misc.c
226
if (n->addrtype == link_type &&
sys/netgraph/bluetooth/hci/ng_hci_misc.c
227
bcmp(&n->bdaddr, bdaddr, sizeof(*bdaddr)) == 0)
sys/netgraph/bluetooth/hci/ng_hci_misc.c
230
ng_hci_free_neighbor(n); /* remove old entry */
sys/netgraph/bluetooth/hci/ng_hci_misc.c
232
n = nn;
sys/netgraph/bluetooth/hci/ng_hci_misc.c
235
return (n);
sys/netgraph/bluetooth/hci/ng_hci_misc.c
243
ng_hci_neighbor_stale(ng_hci_neighbor_p n)
sys/netgraph/bluetooth/hci/ng_hci_misc.c
249
return (now.tv_sec - n->updated.tv_sec > bluetooth_hci_max_neighbor_age());
sys/netgraph/bluetooth/hci/ng_hci_ulpi.c
130
ng_hci_neighbor_t *n = NULL;
sys/netgraph/bluetooth/hci/ng_hci_ulpi.c
280
n = ng_hci_get_neighbor(unit, &ep->bdaddr, NG_HCI_LINK_ACL);
sys/netgraph/bluetooth/hci/ng_hci_ulpi.c
281
if (n == NULL) {
sys/netgraph/bluetooth/hci/ng_hci_ulpi.c
286
req->cp.page_scan_rep_mode = n->page_scan_rep_mode;
sys/netgraph/bluetooth/hci/ng_hci_ulpi.c
287
req->cp.page_scan_mode = n->page_scan_mode;
sys/netgraph/bluetooth/hci/ng_hci_ulpi.c
288
req->cp.clock_offset = htole16(n->clock_offset);
sys/netgraph/bluetooth/hci/ng_hci_var.h
100
(b).acl_pkts = (n); \
sys/netgraph/bluetooth/hci/ng_hci_var.h
113
#define NG_HCI_BUFF_SCO_SET(b, n, s, f) \
sys/netgraph/bluetooth/hci/ng_hci_var.h
117
(b).sco_pkts = (n); \
sys/netgraph/bluetooth/hci/ng_hci_var.h
144
#define NG_HCI_STAT_ACL_SENT(s, n) (s).acl_sent += (n)
sys/netgraph/bluetooth/hci/ng_hci_var.h
146
#define NG_HCI_STAT_SCO_SENT(s, n) (s).sco_sent += (n)
sys/netgraph/bluetooth/hci/ng_hci_var.h
96
#define NG_HCI_BUFF_ACL_SET(b, n, s, f) \
sys/netgraph/bluetooth/l2cap/ng_l2cap_main.c
554
int n = 0;
sys/netgraph/bluetooth/l2cap/ng_l2cap_main.c
558
n++;
sys/netgraph/bluetooth/l2cap/ng_l2cap_main.c
559
if (n > NG_L2CAP_MAX_CON_NUM)
sys/netgraph/bluetooth/l2cap/ng_l2cap_main.c
560
n = NG_L2CAP_MAX_CON_NUM;
sys/netgraph/bluetooth/l2cap/ng_l2cap_main.c
564
sizeof(*e1) + n * sizeof(*e2), M_NOWAIT);
sys/netgraph/bluetooth/l2cap/ng_l2cap_main.c
573
e1->num_connections = n;
sys/netgraph/bluetooth/l2cap/ng_l2cap_main.c
591
if (--n <= 0)
sys/netgraph/bluetooth/l2cap/ng_l2cap_main.c
601
int n = 0;
sys/netgraph/bluetooth/l2cap/ng_l2cap_main.c
605
n ++;
sys/netgraph/bluetooth/l2cap/ng_l2cap_main.c
606
if (n > NG_L2CAP_MAX_CHAN_NUM)
sys/netgraph/bluetooth/l2cap/ng_l2cap_main.c
607
n = NG_L2CAP_MAX_CHAN_NUM;
sys/netgraph/bluetooth/l2cap/ng_l2cap_main.c
612
n * sizeof(ng_l2cap_node_chan_ep), M_NOWAIT);
sys/netgraph/bluetooth/l2cap/ng_l2cap_main.c
621
e1->num_channels = n;
sys/netgraph/bluetooth/l2cap/ng_l2cap_main.c
637
if (--n <= 0)
sys/netgraph/bluetooth/l2cap/ng_l2cap_misc.c
252
ng_l2cap_chan_p f = NULL, n = NULL;
sys/netgraph/bluetooth/l2cap/ng_l2cap_misc.c
266
n = LIST_NEXT(f, next);
sys/netgraph/bluetooth/l2cap/ng_l2cap_misc.c
271
f = n;
sys/netgraph/bluetooth/l2cap/ng_l2cap_misc.c
424
ng_l2cap_cmd_p f = NULL, n = NULL;
sys/netgraph/bluetooth/l2cap/ng_l2cap_misc.c
429
n = TAILQ_NEXT(f, next);
sys/netgraph/bluetooth/l2cap/ng_l2cap_misc.c
438
f = n;
sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c
3491
struct mbuf *top = NULL, *m = NULL, *n = NULL, *nextpkt = NULL;
sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c
3503
n = sb->sb_mb;
sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c
3504
nextpkt = n->m_nextpkt;
sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c
3507
while (length > 0 && n != NULL) {
sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c
3508
len = min(mlen - m->m_len, n->m_len - noff);
sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c
3512
bcopy(mtod(n, caddr_t)+noff, mtod(m, caddr_t)+m->m_len, len);
sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c
3529
if (noff == n->m_len) {
sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c
3531
n = n->m_next;
sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c
3533
if (n == NULL)
sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c
3534
n = nextpkt;
sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c
3536
nextpkt = (n != NULL)? n->m_nextpkt : NULL;
sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c
3542
if (length > 0 && n == NULL)
sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c
3543
panic("%s: bogus length=%d, n=%p\n", __func__, length, n);
sys/netgraph/netflow/netflow.c
442
fle6->f.n.next_hop6 = nh->gw6_sa.sin6_addr;
sys/netgraph/netflow/netflow_v9.c
300
rec->next_hop = fed6->n.next_hop6;
sys/netgraph/netflow/ng_netflow.h
271
} n;
sys/netgraph/netgraph.h
710
#define _NGI_SET_NODE(i,n) do { _NGI_NODE(i) = n; n = NULL;} while (0)
sys/netgraph/netgraph.h
815
#define NGI_SET_NODE(i,n) \
sys/netgraph/netgraph.h
816
do { _ngi_check(i, _NN_); _NGI_SET_NODE(i, n); } while (0)
sys/netgraph/netgraph.h
845
#define NGI_SET_NODE(i,n) _NGI_SET_NODE(i,n)
sys/netgraph/netgraph.h
865
#define NGI_GET_NODE(i,n) /* YOU NOW HAVE THE REFERENCE */ \
sys/netgraph/netgraph.h
867
(n) = NGI_NODE(i); \
sys/netgraph/ng_async.c
502
struct mbuf *n;
sys/netgraph/ng_async.c
538
if ((n = m_devget(sc->sbuf + skip,
sys/netgraph/ng_async.c
542
sc->sync, n);
sys/netgraph/ng_async.c
545
sc->sync ,n);
sys/netgraph/ng_base.c
267
#define NG_QUEUE_LOCK_INIT(n) \
sys/netgraph/ng_base.c
268
mtx_init(&(n)->q_mtx, "ng_node", NULL, MTX_DEF)
sys/netgraph/ng_base.c
269
#define NG_QUEUE_LOCK(n) \
sys/netgraph/ng_base.c
270
mtx_lock(&(n)->q_mtx)
sys/netgraph/ng_base.c
271
#define NG_QUEUE_UNLOCK(n) \
sys/netgraph/ng_base.c
272
mtx_unlock(&(n)->q_mtx)
sys/netgraph/ng_base.c
386
struct mbuf *n; \
sys/netgraph/ng_base.c
390
for (total = 0, n = (m); n != NULL; n = n->m_next) { \
sys/netgraph/ng_base.c
391
total += n->m_len; \
sys/netgraph/ng_base.c
392
if (n->m_nextpkt != NULL) \
sys/netgraph/ng_ipfw.c
221
uint32_t n; /* numeric representation of hook */
sys/netgraph/ng_ipfw.c
224
n = (uint32_t)strtoul(name, &endptr, 10);
sys/netgraph/ng_ipfw.c
227
return ng_ipfw_findhook1(node, n);
sys/netgraph/ng_ksocket.c
979
struct mbuf *n;
sys/netgraph/ng_ksocket.c
988
n = m_defrag(m, M_NOWAIT);
sys/netgraph/ng_ksocket.c
989
if (n == NULL) {
sys/netgraph/ng_ksocket.c
993
m = n;
sys/netgraph/ng_macfilter.c
116
return ngm_macs->n;
sys/netgraph/ng_macfilter.c
149
MACFILTER_DEBUG("buf %p, ngm_hooks %p, n %d", buf, ngm_hooks, ngm_hooks->n);
sys/netgraph/ng_macfilter.c
151
return ngm_hooks->n;
sys/netgraph/ng_macfilter.c
286
int n = mfp->mf_mac_allocated;
sys/netgraph/ng_macfilter.c
288
n = 2*MACTABLE_BLOCKSIZE-1;
sys/netgraph/ng_macfilter.c
290
n = mfp->mf_mac_allocated - MACTABLE_BLOCKSIZE;
sys/netgraph/ng_macfilter.c
292
n = mfp->mf_mac_allocated + MACTABLE_BLOCKSIZE;
sys/netgraph/ng_macfilter.c
294
if (n != mfp->mf_mac_allocated) {
sys/netgraph/ng_macfilter.c
296
mfp->mf_mac_used, mfp->mf_mac_allocated, n);
sys/netgraph/ng_macfilter.c
299
sizeof(mfp->mf_macs[0])*n,
sys/netgraph/ng_macfilter.c
305
mfp->mf_mac_allocated = n;
sys/netgraph/ng_macfilter.c
683
int n = 0, i = 0;
sys/netgraph/ng_macfilter.c
722
n = mfp->mf_mac_used;
sys/netgraph/ng_macfilter.c
723
resplen = sizeof(struct ngm_macfilter_macs) + n * sizeof(struct ngm_macfilter_mac);
sys/netgraph/ng_macfilter.c
730
ngm_macs->n = n;
sys/netgraph/ng_macfilter.c
731
bcopy(mfp->mf_macs, &ngm_macs->macs[0], n * sizeof(struct ngm_macfilter_mac));
sys/netgraph/ng_macfilter.c
744
n++;
sys/netgraph/ng_macfilter.c
745
resplen = sizeof(struct ngm_macfilter_hooks) + n * sizeof(struct ngm_macfilter_hook);
sys/netgraph/ng_macfilter.c
753
ngm_hooks->n = n;
sys/netgraph/ng_macfilter.h
121
u_int32_t n; /* Number of entries in hooks */
sys/netgraph/ng_macfilter.h
98
u_int32_t n; /* Number of entries in macs */
sys/netgraph/ng_mppc.h
58
#define MPPC_MAX_BLOWUP(n) ((n) * 9 / 8 + 26)
sys/netgraph/ng_ppp.c
2109
struct mbuf *n = m_split(m, len, M_NOWAIT);
sys/netgraph/ng_ppp.c
2111
if (n == NULL) {
sys/netgraph/ng_ppp.c
2117
m_tag_copy_chain(n, m, M_NOWAIT);
sys/netgraph/ng_ppp.c
2118
m = n;
sys/netgraph/ng_ppp.c
924
struct mbuf *m, *n;
sys/netgraph/ng_ppp.c
928
n = m_defrag(m, M_NOWAIT);
sys/netgraph/ng_ppp.c
929
if (n == NULL) {
sys/netgraph/ng_ppp.c
934
m = n;
sys/netgraph/ng_pppoe.c
1637
struct mbuf *n;
sys/netgraph/ng_pppoe.c
1638
n = m_dup(m, M_NOWAIT);
sys/netgraph/ng_pppoe.c
1640
m = n;
sys/netgraph/ng_vlan.c
398
t->n = 0;
sys/netgraph/ng_vlan.c
423
t->n ++;
sys/netgraph/ng_vlan.c
88
return table->n;
sys/netgraph/ng_vlan.h
96
u_int32_t n;
sys/netgraph/ng_vlan_rotate.c
345
ng_vlanrotate_rotate(struct ether_vlan_stack_entry arr[], int d, int n)
sys/netgraph/ng_vlan_rotate.c
351
for (i = ng_vlanrotate_gcd(d, n); i-- > 0;) {
sys/netgraph/ng_vlan_rotate.c
358
if (k >= n)
sys/netgraph/ng_vlan_rotate.c
359
k = k - n;
sys/netinet/accf_dns.c
109
q.n = q.m->m_nextpkt;
sys/netinet/accf_dns.c
46
struct mbuf *n; /* nextpkt mbuf. */
sys/netinet/accf_dns.c
83
p->m = p->n; \
sys/netinet/accf_dns.c
84
p->n = p->m->m_nextpkt; \
sys/netinet/accf_http.c
121
struct mbuf *n;
sys/netinet/accf_http.c
123
for (; m != NULL; m = n) {
sys/netinet/accf_http.c
124
n = npkt;
sys/netinet/accf_http.c
199
struct mbuf *m, *n;
sys/netinet/accf_http.c
208
for (m = so->so_rcv.sb_mb; m; m = n) {
sys/netinet/accf_http.c
209
n = m->m_nextpkt;
sys/netinet/accf_http.c
237
if (mbufstrncmp(m, n, i, cc,
sys/netinet/accf_http.c
246
mbufstrcmp(m, n, i, "HTTP/1.0") ||
sys/netinet/accf_http.c
247
mbufstrcmp(m, n, i, "HTTP/1.1")) {
sys/netinet/accf_http.c
279
struct mbuf *m, *n;
sys/netinet/accf_http.c
298
for (m = so->so_rcv.sb_mb; m; m = n) {
sys/netinet/accf_http.c
299
n = m->m_nextpkt;
sys/netinet/accf_http.c
92
struct mbuf *n;
sys/netinet/accf_http.c
94
for (; m != NULL; m = n) {
sys/netinet/accf_http.c
95
n = npkt;
sys/netinet/accf_tls.c
55
struct mbuf *n = m->m_nextpkt;
sys/netinet/accf_tls.c
61
m = n;
sys/netinet/accf_tls.c
62
n = m->m_nextpkt;
sys/netinet/in_mcast.c
964
int n = rollback ? -1 : 1;
sys/netinet/in_mcast.c
968
__func__, n, ims->ims_haddr);
sys/netinet/in_mcast.c
969
ims->ims_st[1].ex -= n;
sys/netinet/in_mcast.c
972
__func__, n, ims->ims_haddr);
sys/netinet/in_mcast.c
973
ims->ims_st[1].in -= n;
sys/netinet/in_mcast.c
978
__func__, n, ims->ims_haddr);
sys/netinet/in_mcast.c
979
ims->ims_st[1].ex += n;
sys/netinet/in_mcast.c
982
__func__, n, ims->ims_haddr);
sys/netinet/in_mcast.c
983
ims->ims_st[1].in += n;
sys/netinet/ip_divert.c
780
u_int n;
sys/netinet/ip_divert.c
782
n = V_dcb_count;
sys/netinet/ip_divert.c
783
n += imax(n / 8, 10);
sys/netinet/ip_divert.c
784
req->oldidx = 2 * (sizeof xig) + n * sizeof(struct xinpcb);
sys/netinet/ip_icmp.c
209
icmp_error(struct mbuf *n, int type, int code, uint32_t dest, int mtu)
sys/netinet/ip_icmp.c
228
if (n->m_flags & M_DECRYPTED)
sys/netinet/ip_icmp.c
230
if (n->m_flags & (M_BCAST|M_MCAST))
sys/netinet/ip_icmp.c
234
if (n->m_len < sizeof(struct ip) + ICMP_MINLEN)
sys/netinet/ip_icmp.c
236
oip = mtod(n, struct ip *);
sys/netinet/ip_icmp.c
238
if (n->m_len < oiphlen + ICMP_MINLEN)
sys/netinet/ip_icmp.c
258
nlen = m_length(n, NULL);
sys/netinet/ip_icmp.c
263
if (oiphlen + sizeof(struct tcphdr) > n->m_len &&
sys/netinet/ip_icmp.c
264
n->m_next == NULL)
sys/netinet/ip_icmp.c
266
if (n->m_len < oiphlen + sizeof(struct tcphdr) &&
sys/netinet/ip_icmp.c
267
(n = m_pullup(n, oiphlen + sizeof(struct tcphdr))) == NULL)
sys/netinet/ip_icmp.c
269
oip = mtod(n, struct ip *);
sys/netinet/ip_icmp.c
270
th = mtodo(n, oiphlen);
sys/netinet/ip_icmp.c
276
if (oiphlen + tcphlen > n->m_len && n->m_next == NULL)
sys/netinet/ip_icmp.c
278
if (n->m_len < oiphlen + tcphlen &&
sys/netinet/ip_icmp.c
279
(n = m_pullup(n, oiphlen + tcphlen)) == NULL)
sys/netinet/ip_icmp.c
281
oip = mtod(n, struct ip *);
sys/netinet/ip_icmp.c
290
if (oiphlen + sizeof(struct sctphdr) > n->m_len &&
sys/netinet/ip_icmp.c
291
n->m_next == NULL)
sys/netinet/ip_icmp.c
293
if (n->m_len < oiphlen + sizeof(struct sctphdr) &&
sys/netinet/ip_icmp.c
294
(n = m_pullup(n, oiphlen + sizeof(struct sctphdr))) == NULL)
sys/netinet/ip_icmp.c
296
oip = mtod(n, struct ip *);
sys/netinet/ip_icmp.c
299
sh = mtodo(n, oiphlen);
sys/netinet/ip_icmp.c
303
(n->m_len >= oiphlen + sizeof(struct sctphdr) + 8 ||
sys/netinet/ip_icmp.c
304
n->m_next != NULL)) {
sys/netinet/ip_icmp.c
305
if (n->m_len < oiphlen + sizeof(struct sctphdr) + 8 &&
sys/netinet/ip_icmp.c
306
(n = m_pullup(n, oiphlen +
sys/netinet/ip_icmp.c
309
oip = mtod(n, struct ip *);
sys/netinet/ip_icmp.c
310
sh = mtodo(n, oiphlen);
sys/netinet/ip_icmp.c
333
mac_netinet_icmp_reply(n, m);
sys/netinet/ip_icmp.c
344
M_SETFIB(m, M_GETFIB(n));
sys/netinet/ip_icmp.c
370
m_copydata(n, 0, icmplen, (caddr_t)&icp->icmp_ip);
sys/netinet/ip_icmp.c
379
m->m_flags |= n->m_flags & M_SKIP_FIREWALL;
sys/netinet/ip_icmp.c
385
m->m_pkthdr.rcvif = n->m_pkthdr.rcvif;
sys/netinet/ip_icmp.c
395
m_tag_copy_chain(m, n, M_NOWAIT);
sys/netinet/ip_icmp.c
400
m_freem(n);
sys/netinet/ip_mroute.h
79
#define VIFM_SET(n, m) ((m) |= (1 << (n)))
sys/netinet/ip_mroute.h
80
#define VIFM_CLR(n, m) ((m) &= ~(1 << (n)))
sys/netinet/ip_mroute.h
81
#define VIFM_ISSET(n, m) ((m) & (1 << (n)))
sys/netinet/ip_options.c
507
struct mbuf *n;
sys/netinet/ip_options.c
521
n = m_gethdr(M_NOWAIT, MT_DATA);
sys/netinet/ip_options.c
522
if (n == NULL) {
sys/netinet/ip_options.c
526
m_move_pkthdr(n, m);
sys/netinet/ip_options.c
527
n->m_pkthdr.rcvif = NULL;
sys/netinet/ip_options.c
528
n->m_pkthdr.len += optlen;
sys/netinet/ip_options.c
531
n->m_next = m;
sys/netinet/ip_options.c
532
m = n;
sys/netinet/libalias/alias_irc.c
371
int n;
sys/netinet/libalias/alias_irc.c
379
n = snprintf(&newpacket[iCopy],
sys/netinet/libalias/alias_irc.c
382
if (n < 0) {
sys/netinet/libalias/alias_irc.c
386
if ((iCopy += n) >= PKTSIZE) { /* Truncated/fit exactly
sys/netinet/libalias/alias_irc.c
392
n = snprintf(&newpacket[iCopy],
sys/netinet/libalias/alias_irc.c
395
if (n < 0) {
sys/netinet/libalias/alias_irc.c
399
iCopy += n;
sys/netinet/libalias/alias_mod.h
44
#define calloc(n, x) mallocarray((n), (x), M_ALIAS, M_NOWAIT|M_ZERO)
sys/netinet/libalias/alias_nbt.c
610
NBTNsResourceNULL *n;
sys/netinet/libalias/alias_nbt.c
619
n = (NBTNsResourceNULL *)((u_char *)q + sizeof(NBTNsResource));
sys/netinet/libalias/alias_nbt.c
626
if ((char *)(n + 1) > pmax) {
sys/netinet/libalias/alias_nbt.c
627
n = NULL;
sys/netinet/libalias/alias_nbt.c
630
n++;
sys/netinet/libalias/alias_nbt.c
633
if ((char *)(n + 1) > pmax)
sys/netinet/libalias/alias_nbt.c
634
n = NULL;
sys/netinet/libalias/alias_nbt.c
636
return ((u_char *)n);
sys/netinet/libalias/alias_nbt.c
645
NBTNsResourceNULL *n;
sys/netinet/libalias/alias_nbt.c
654
n = (NBTNsResourceNULL *)((u_char *)q + sizeof(NBTNsResource));
sys/netinet/libalias/alias_nbt.c
660
q = (NBTNsResource *)AliasHandleName((u_char *)n, pmax); /* XXX */
sys/netinet/libalias/alias_nbt.c
662
if (q == NULL || (char *)((u_char *)n + bcount) > pmax)
sys/netinet/libalias/alias_nbt.c
665
return ((u_char *)n + bcount);
sys/netinet/libalias/alias_nbt.c
678
NBTNsResourceNBSTAT *n;
sys/netinet/libalias/alias_nbt.c
687
n = (NBTNsResourceNBSTAT *)((u_char *)q + sizeof(NBTNsResource));
sys/netinet/libalias/alias_nbt.c
692
if (q == NULL || (char *)((u_char *)n + bcount) > pmax)
sys/netinet/libalias/alias_nbt.c
695
return ((u_char *)n + bcount);
sys/netinet/libalias/alias_proxy.c
173
int n;
sys/netinet/libalias/alias_proxy.c
175
n = sscanf(s, "%d", port);
sys/netinet/libalias/alias_proxy.c
176
if (n != 1)
sys/netinet/libalias/alias_proxy.c
539
int i, n, len, ret;
sys/netinet/libalias/alias_proxy.c
669
n = sscanf(token, "%s %s", s, str_server_port);
sys/netinet/libalias/alias_proxy.c
670
if (n != 2) {
sys/netinet/libalias/alias_proxy.c
686
n = sscanf(token, "%d", &rule_index);
sys/netinet/libalias/alias_proxy.c
687
if (n != 1 || rule_index < 0) {
sys/netinet/libalias/alias_proxy.c
703
n = sscanf(token, "%d", &rule_to_delete);
sys/netinet/libalias/alias_proxy.c
704
if (n != 1) {
sys/netinet/libalias/alias_proxy.c
751
n = sscanf(token, "%s %d", s, &nbits);
sys/netinet/libalias/alias_proxy.c
752
if (n != 2) {
sys/netinet/libalias/alias_sctp.c
189
#define sn_calloc(n,x) mallocarray((n), (x), M_SCTPNAT, M_NOWAIT|M_ZERO)
sys/netinet/libalias/alias_sctp.c
195
#define sn_calloc(n, x) calloc(n, x)
sys/netinet/libalias/alias_util.c
152
DifferentialChecksum(u_short *cksum, void *newp, void *oldp, int n)
sys/netinet/libalias/alias_util.c
160
for (i = 0; i < n; i++) {
sys/netinet/raw_ip.c
170
struct mbuf *n, *opts = NULL;
sys/netinet/raw_ip.c
187
if ((n = m_copym(m, 0, M_COPYALL, M_NOWAIT)) == NULL)
sys/netinet/raw_ip.c
192
ip_savecontrol(inp, &opts, ip, n);
sys/netinet/raw_ip.c
195
(struct sockaddr *)ripsrc, n, opts) == 0) {
sys/netinet/raw_ip.c
197
m_freem(n);
sys/netinet/raw_ip.c
960
int n;
sys/netinet/raw_ip.c
962
n = V_ripcbinfo.ipi_count;
sys/netinet/raw_ip.c
963
n += imax(n / 8, 10);
sys/netinet/raw_ip.c
964
req->oldidx = 2 * (sizeof xig) + n * sizeof(struct xinpcb);
sys/netinet/sctp_asconf.c
610
struct mbuf *n, *m_ack, *m_result, *m_tail;
sys/netinet/sctp_asconf.c
816
for (n = m_ack; n != NULL; n = SCTP_BUF_NEXT(n)) {
sys/netinet/sctp_asconf.c
817
ack->len += SCTP_BUF_LEN(n);
sys/netinet/sctp_ss_functions.c
771
uint32_t x, n = 0, add_more = 1;
sys/netinet/sctp_ss_functions.c
789
while (sp != NULL && x < n) {
sys/netinet/sctp_ss_functions.c
798
n++;
sys/netinet/sctp_sysctl.c
382
unsigned int n;
sys/netinet/sctp_sysctl.c
413
n = (number_of_endpoints + 1) * sizeof(struct xsctp_inpcb) +
sys/netinet/sctp_sysctl.c
419
req->oldidx = (n + n / 8);
sys/netinet/tcp_output.c
1965
struct mbuf *n, **np;
sys/netinet/tcp_output.c
2079
n = m_gethdr(M_NOWAIT, m->m_type);
sys/netinet/tcp_output.c
2081
n = m_get(M_NOWAIT, m->m_type);
sys/netinet/tcp_output.c
2082
*np = n;
sys/netinet/tcp_output.c
2083
if (n == NULL)
sys/netinet/tcp_output.c
2086
if (!m_dup_pkthdr(n, m, M_NOWAIT))
sys/netinet/tcp_output.c
2089
n->m_pkthdr.len -= off0;
sys/netinet/tcp_output.c
2091
n->m_pkthdr.len = len;
sys/netinet/tcp_output.c
2092
pkthdrlen = &n->m_pkthdr.len;
sys/netinet/tcp_output.c
2095
n->m_len = mlen;
sys/netinet/tcp_output.c
2096
len_cp += n->m_len;
sys/netinet/tcp_output.c
2098
n->m_data = m->m_data + off;
sys/netinet/tcp_output.c
2099
mb_dupcl(n, m);
sys/netinet/tcp_output.c
2101
bcopy(mtod(m, caddr_t)+off, mtod(n, caddr_t),
sys/netinet/tcp_output.c
2102
(u_int)n->m_len);
sys/netinet/tcp_output.c
2105
((n->m_len + off) >= m->m_len) && m->m_next) {
sys/netinet/tcp_output.c
2111
len -= n->m_len;
sys/netinet/tcp_output.c
2114
np = &n->m_next;
sys/netinet/tcp_sack.c
173
int i, j, n, identical;
sys/netinet/tcp_sack.c
233
n = 1;
sys/netinet/tcp_sack.c
242
saved_blks[n].start = mid_blk.start;
sys/netinet/tcp_sack.c
243
saved_blks[n++].end = mid_blk.end;
sys/netinet/tcp_sack.c
245
for (j = 0; (j < tp->rcv_numsacks) && (n < MAX_SACK_BLKS); j++) {
sys/netinet/tcp_sack.c
249
saved_blks[n++] = tp->sackblks[j];
sys/netinet/tcp_sack.c
252
for (i = 0; i < n; i++) {
sys/netinet/tcp_stacks/rack.c
18017
struct mbuf *m, *n, **np, *smb;
sys/netinet/tcp_stacks/rack.c
18104
n = m_get(M_NOWAIT, m->m_type);
sys/netinet/tcp_stacks/rack.c
18105
*np = n;
sys/netinet/tcp_stacks/rack.c
18106
if (n == NULL)
sys/netinet/tcp_stacks/rack.c
18108
n->m_len = mlen;
sys/netinet/tcp_stacks/rack.c
18110
len_cp += n->m_len;
sys/netinet/tcp_stacks/rack.c
18112
n->m_data = m->m_data + off;
sys/netinet/tcp_stacks/rack.c
18113
mb_dupcl(n, m);
sys/netinet/tcp_stacks/rack.c
18115
bcopy(mtod(m, caddr_t)+off, mtod(n, caddr_t),
sys/netinet/tcp_stacks/rack.c
18116
(u_int)n->m_len);
sys/netinet/tcp_stacks/rack.c
18118
len -= n->m_len;
sys/netinet/tcp_stacks/rack.c
18121
np = &n->m_next;
sys/netinet/tcp_stacks/rack.c
18174
struct mbuf *m, *n;
sys/netinet/tcp_stacks/rack.c
18227
n = rack_fo_base_copym(m, soff, plen,
sys/netinet/tcp_stacks/rack.c
18230
return (n);
sys/netinet/tcp_stacks/rack_pcm.c
198
struct rack_pcm_stats *n;
sys/netinet/tcp_stacks/rack_pcm.c
203
n = malloc(sz,M_TCPPCM, M_NOWAIT);
sys/netinet/tcp_stacks/rack_pcm.c
204
if (n == NULL) {
sys/netinet/tcp_stacks/rack_pcm.c
211
memcpy(n, rack->r_ctl.pcm_s, sz);
sys/netinet/tcp_stacks/rack_pcm.c
213
rack->r_ctl.pcm_s = n;
sys/netinet/tcp_subr.c
1826
struct mbuf *n;
sys/netinet/tcp_subr.c
1829
n = m_gethdr(M_NOWAIT, MT_DATA);
sys/netinet/tcp_subr.c
1830
if (n == NULL) {
sys/netinet/tcp_subr.c
1835
if (!m_dup_pkthdr(n, m, M_NOWAIT)) {
sys/netinet/tcp_subr.c
1837
m_freem(n);
sys/netinet/tcp_subr.c
1841
n->m_data += max_linkhdr;
sys/netinet/tcp_subr.c
1846
bcopy((caddr_t)ip6, mtod(n, caddr_t),
sys/netinet/tcp_subr.c
1848
ip6 = mtod(n, struct ip6_hdr *);
sys/netinet/tcp_subr.c
1861
bcopy((caddr_t)ip, mtod(n, caddr_t), sizeof(struct ip));
sys/netinet/tcp_subr.c
1862
ip = mtod(n, struct ip *);
sys/netinet/tcp_subr.c
1877
m = n;
sys/netinet/tcp_subr.c
2645
int n;
sys/netinet/tcp_subr.c
2647
n = V_tcbinfo.ipi_count +
sys/netinet/tcp_subr.c
2649
n += imax(n / 8, 10);
sys/netinet/tcp_subr.c
2650
req->oldidx = 2 * (sizeof xig) + n * sizeof(struct xtcpcb);
sys/netinet/udp_usrreq.c
237
udp_append(struct inpcb *inp, struct ip *ip, struct mbuf *n, int off,
sys/netinet/udp_usrreq.c
259
filtered = (*up->u_tun_func)(n, off, inp,
sys/netinet/udp_usrreq.c
264
m_freem(n);
sys/netinet/udp_usrreq.c
276
IPSEC_CHECK_POLICY(ipv4, n, inp) != 0) {
sys/netinet/udp_usrreq.c
277
m_freem(n);
sys/netinet/udp_usrreq.c
282
UDPENCAP_INPUT(ipv4, n, off, AF_INET) != 0)
sys/netinet/udp_usrreq.c
287
if (mac_inpcb_check_deliver(inp, n) != 0) {
sys/netinet/udp_usrreq.c
288
m_freem(n);
sys/netinet/udp_usrreq.c
296
(void)ip6_savecontrol_v4(inp, n, &opts, NULL);
sys/netinet/udp_usrreq.c
299
ip_savecontrol(inp, &opts, ip, n);
sys/netinet/udp_usrreq.c
323
m_adj(n, off);
sys/netinet/udp_usrreq.c
327
if (sbappendaddr_locked(&so->so_rcv, append_sa, n, opts) == 0) {
sys/netinet/udp_usrreq.c
329
m_freem(n);
sys/netinet/udp_usrreq.c
373
struct mbuf *n;
sys/netinet/udp_usrreq.c
424
if ((n = m_copym(m, 0, M_COPYALL, M_NOWAIT)) != NULL) {
sys/netinet/udp_usrreq.c
429
if (udp_append(inp, ip, n, sizeof(struct ip), udp_in)) {
sys/netinet/udp_usrreq.c
800
int n;
sys/netinet/udp_usrreq.c
802
n = pcbinfo->ipi_count;
sys/netinet/udp_usrreq.c
803
n += imax(n / 8, 10);
sys/netinet/udp_usrreq.c
804
req->oldidx = 2 * (sizeof xig) + n * sizeof(struct xinpcb);
sys/netinet6/icmp6.c
1178
struct mbuf *n = NULL;
sys/netinet6/icmp6.c
1320
n = ni6_nametodns(pr->pr_hostname,
sys/netinet6/icmp6.c
1323
if (!n || n->m_next || n->m_len == 0)
sys/netinet6/icmp6.c
1338
if (!ni6_dnsmatch(subj, subjlen, mtod(n, const char *),
sys/netinet6/icmp6.c
1339
n->m_len)) {
sys/netinet6/icmp6.c
1342
m_freem(n);
sys/netinet6/icmp6.c
1343
n = NULL;
sys/netinet6/icmp6.c
1412
n = m_getcl(M_NOWAIT, m->m_type, M_PKTHDR);
sys/netinet6/icmp6.c
1414
n = m_gethdr(M_NOWAIT, m->m_type);
sys/netinet6/icmp6.c
1415
if (n == NULL) {
sys/netinet6/icmp6.c
1419
m_move_pkthdr(n, m); /* just for recvif and FIB */
sys/netinet6/icmp6.c
1420
n->m_pkthdr.len = n->m_len = replylen;
sys/netinet6/icmp6.c
1423
bcopy(mtod(m, caddr_t), mtod(n, caddr_t), sizeof(struct ip6_hdr));
sys/netinet6/icmp6.c
1424
nni6 = (struct icmp6_nodeinfo *)(mtod(n, struct ip6_hdr *) + 1);
sys/netinet6/icmp6.c
1445
fqdn = (struct ni_reply_fqdn *)(mtod(n, caddr_t) +
sys/netinet6/icmp6.c
1453
n->m_next = ni6_nametodns(pr->pr_hostname,
sys/netinet6/icmp6.c
1456
if (n->m_next == NULL)
sys/netinet6/icmp6.c
1459
if (n->m_next->m_next != NULL)
sys/netinet6/icmp6.c
1461
n->m_pkthdr.len += n->m_next->m_len;
sys/netinet6/icmp6.c
1468
n->m_pkthdr.len = n->m_len =
sys/netinet6/icmp6.c
1470
lenlim = M_TRAILINGSPACE(n);
sys/netinet6/icmp6.c
1473
n->m_pkthdr.len = n->m_len = sizeof(struct ip6_hdr) +
sys/netinet6/icmp6.c
1483
return (n);
sys/netinet6/icmp6.c
1487
if (n)
sys/netinet6/icmp6.c
1488
m_freem(n);
sys/netinet6/icmp6.c
1903
struct mbuf *n, *m = *mp;
sys/netinet6/icmp6.c
1961
n = m_get(M_NOWAIT, m->m_type);
sys/netinet6/icmp6.c
1962
if (n != NULL) {
sys/netinet6/icmp6.c
1963
if (m_dup_pkthdr(n, m, M_NOWAIT)) {
sys/netinet6/icmp6.c
1964
bcopy(m->m_data, n->m_data, m->m_len);
sys/netinet6/icmp6.c
1965
n->m_len = m->m_len;
sys/netinet6/icmp6.c
1967
m_free(n);
sys/netinet6/icmp6.c
1968
n = NULL;
sys/netinet6/icmp6.c
1972
n = m_copym(m, 0, M_COPYALL, M_NOWAIT);
sys/netinet6/icmp6.c
1973
if (n == NULL)
sys/netinet6/icmp6.c
1976
ip6_savecontrol(inp, n, &opts);
sys/netinet6/icmp6.c
1978
m_adj(n, off);
sys/netinet6/icmp6.c
1981
(struct sockaddr *)&fromsa, n, opts) == 0) {
sys/netinet6/icmp6.c
1983
m_freem(n);
sys/netinet6/icmp6.c
452
struct mbuf *m, *n;
sys/netinet6/icmp6.c
566
if ((n = m_copym(m, 0, M_COPYALL, M_NOWAIT)) == NULL) {
sys/netinet6/icmp6.c
570
if (!M_WRITABLE(n)
sys/netinet6/icmp6.c
571
|| n->m_len < off + sizeof(struct icmp6_hdr)) {
sys/netinet6/icmp6.c
572
struct mbuf *n0 = n;
sys/netinet6/icmp6.c
576
n = m_gethdr(M_NOWAIT, n0->m_type);
sys/netinet6/icmp6.c
577
if (n == NULL) {
sys/netinet6/icmp6.c
583
m_move_pkthdr(n, n0); /* FIB copied. */
sys/netinet6/icmp6.c
588
nip6 = mtod(n, struct ip6_hdr *);
sys/netinet6/icmp6.c
594
n->m_len = noff + sizeof(struct icmp6_hdr);
sys/netinet6/icmp6.c
601
n->m_pkthdr.len = n0len + (noff - off);
sys/netinet6/icmp6.c
602
n->m_next = n0;
sys/netinet6/icmp6.c
604
if (n->m_len < off + sizeof(*nicmp6)) {
sys/netinet6/icmp6.c
605
n = m_pullup(n, off + sizeof(*nicmp6));
sys/netinet6/icmp6.c
606
if (n == NULL) {
sys/netinet6/icmp6.c
611
nicmp6 = (struct icmp6_hdr *)(mtod(n, caddr_t) + off);
sys/netinet6/icmp6.c
614
if (n) {
sys/netinet6/icmp6.c
619
icmp6_reflect(n, noff);
sys/netinet6/icmp6.c
684
n = m_copym(m, 0, M_COPYALL, M_NOWAIT);
sys/netinet6/icmp6.c
685
if (n)
sys/netinet6/icmp6.c
686
n = ni6_input(n, off, pr);
sys/netinet6/icmp6.c
706
n = m_gethdr(M_NOWAIT, m->m_type);
sys/netinet6/icmp6.c
707
if (n == NULL) {
sys/netinet6/icmp6.c
711
if (!m_dup_pkthdr(n, m, M_NOWAIT)) {
sys/netinet6/icmp6.c
719
m_free(n);
sys/netinet6/icmp6.c
720
n = NULL;
sys/netinet6/icmp6.c
726
nip6 = mtod(n, struct ip6_hdr *);
sys/netinet6/icmp6.c
733
maxhlen = M_TRAILINGSPACE(n) -
sys/netinet6/icmp6.c
743
n->m_pkthdr.len = n->m_len = sizeof(struct ip6_hdr) +
sys/netinet6/icmp6.c
748
if (n) {
sys/netinet6/icmp6.c
751
icmp6_reflect(n, noff);
sys/netinet6/icmp6.c
782
n = m_copym(m, 0, M_COPYALL, M_NOWAIT);
sys/netinet6/icmp6.c
784
m = n;
sys/netinet6/icmp6.c
802
n = m_copym(m, 0, M_COPYALL, M_NOWAIT);
sys/netinet6/icmp6.c
804
m = n;
sys/netinet6/icmp6.c
822
n = m_copym(m, 0, M_COPYALL, M_NOWAIT);
sys/netinet6/icmp6.c
824
m = n;
sys/netinet6/icmp6.c
842
n = m_copym(m, 0, M_COPYALL, M_NOWAIT);
sys/netinet6/icmp6.c
844
m = n;
sys/netinet6/icmp6.c
862
n = m_copym(m, 0, M_COPYALL, M_NOWAIT);
sys/netinet6/icmp6.c
864
m = n;
sys/netinet6/in6_ifattach.c
695
char n[64]; /* a single label must not exceed 63 chars */
sys/netinet6/in6_ifattach.c
717
if (p == name || p - name > sizeof(n) - 1) {
sys/netinet6/in6_ifattach.c
723
strncpy(n, name, l);
sys/netinet6/in6_ifattach.c
726
n[(int)l] = '\0';
sys/netinet6/in6_ifattach.c
727
for (q = n; *q; q++) {
sys/netinet6/in6_ifattach.c
736
MD5Update(&ctxt, n, l);
sys/netinet6/in6_mcast.c
1003
CTR3(KTR_MLD, "%s: t1 ex += %d on %s", __func__, n, ip6tbuf);
sys/netinet6/in6_mcast.c
1004
ims->im6s_st[1].ex += n;
sys/netinet6/in6_mcast.c
1006
CTR3(KTR_MLD, "%s: t1 in += %d on %s", __func__, n, ip6tbuf);
sys/netinet6/in6_mcast.c
1007
ims->im6s_st[1].in += n;
sys/netinet6/in6_mcast.c
987
int n = rollback ? -1 : 1;
sys/netinet6/in6_mcast.c
995
CTR3(KTR_MLD, "%s: t1 ex -= %d on %s", __func__, n, ip6tbuf);
sys/netinet6/in6_mcast.c
996
ims->im6s_st[1].ex -= n;
sys/netinet6/in6_mcast.c
998
CTR3(KTR_MLD, "%s: t1 in -= %d on %s", __func__, n, ip6tbuf);
sys/netinet6/in6_mcast.c
999
ims->im6s_st[1].in -= n;
sys/netinet6/ip6_id.c
227
int i, n;
sys/netinet6/ip6_id.c
233
n = arc4random() & 0x3;
sys/netinet6/ip6_id.c
234
if (p->ru_counter + n >= p->ru_max)
sys/netinet6/ip6_id.c
237
for (i = 0; i <= n; i++) {
sys/netinet6/ip6_input.c
585
struct mbuf *n;
sys/netinet6/ip6_input.c
588
n = m_getcl(M_NOWAIT, MT_DATA, M_PKTHDR);
sys/netinet6/ip6_input.c
590
n = m_gethdr(M_NOWAIT, MT_DATA);
sys/netinet6/ip6_input.c
591
if (n == NULL)
sys/netinet6/ip6_input.c
594
m_move_pkthdr(n, m);
sys/netinet6/ip6_input.c
595
m_copydata(m, 0, n->m_pkthdr.len, mtod(n, caddr_t));
sys/netinet6/ip6_input.c
596
n->m_len = n->m_pkthdr.len;
sys/netinet6/ip6_input.c
598
m = n;
sys/netinet6/ip6_mroute.c
1421
struct rtdetq *n = rte->next;
sys/netinet6/ip6_mroute.c
1424
rte = n;
sys/netinet6/ip6_mroute.c
676
struct rtdetq *n = rte->next;
sys/netinet6/ip6_mroute.c
680
rte = n;
sys/netinet6/ip6_mroute.c
958
struct rtdetq *n = rte->next;
sys/netinet6/ip6_mroute.c
965
rte = n;
sys/netinet6/ip6_mroute.h
97
#define IF_SET(n, p) ((p)->ifs_bits[(n)/NIFBITS] |= (1 << ((n) % NIFBITS)))
sys/netinet6/ip6_mroute.h
98
#define IF_CLR(n, p) ((p)->ifs_bits[(n)/NIFBITS] &= ~(1 << ((n) % NIFBITS)))
sys/netinet6/ip6_mroute.h
99
#define IF_ISSET(n, p) ((p)->ifs_bits[(n)/NIFBITS] & (1 << ((n) % NIFBITS)))
sys/netinet6/ip6_output.c
1309
struct mbuf *n, *mlast;
sys/netinet6/ip6_output.c
1312
n = m_copym(m0, sizeof(struct ip6_hdr),
sys/netinet6/ip6_output.c
1314
if (n == NULL)
sys/netinet6/ip6_output.c
1316
m->m_next = n;
sys/netinet6/ip6_output.c
1318
n = m;
sys/netinet6/ip6_output.c
1321
for (mlast = n; mlast->m_next; mlast = mlast->m_next)
sys/netinet6/nd6.c
857
struct mbuf *n = m;
sys/netinet6/nd6.c
865
while ((n = n->m_next) != NULL) {
sys/netinet6/nd6.c
866
if (n->m_flags & M_EXTPG)
sys/netinet6/nd6.c
869
if (n != NULL) {
sys/netinet6/nd6.h
62
#define ND6_IS_LLINFO_PROBREACH(n) ((n)->ln_state > ND6_LLINFO_INCOMPLETE)
sys/netinet6/nd6.h
63
#define ND6_LLINFO_PERMANENT(n) (((n)->la_expire == 0) && ((n)->ln_state > ND6_LLINFO_INCOMPLETE))
sys/netinet6/nd6_nbr.c
1247
nd6_dad_find(struct ifaddr *ifa, struct nd_opt_nonce *n)
sys/netinet6/nd6_nbr.c
1262
if (n != NULL &&
sys/netinet6/nd6_nbr.c
1263
n->nd_opt_nonce_len == (ND_OPT_NONCE_LEN + 2) / 8 &&
sys/netinet6/nd6_nbr.c
1264
memcmp(&n->nd_opt_nonce[0], &dp->dad_nonce[0],
sys/netinet6/nd6_rtr.c
1101
struct nd_defrouter *dr, *n;
sys/netinet6/nd6_rtr.c
1160
n = dr;
sys/netinet6/nd6_rtr.c
1162
n = malloc(sizeof(*n), M_IP6NDP, M_NOWAIT | M_ZERO);
sys/netinet6/nd6_rtr.c
1163
if (n == NULL) {
sys/netinet6/nd6_rtr.c
1167
memcpy(n, new, sizeof(*n));
sys/netinet6/nd6_rtr.c
1169
refcount_init(&n->refcnt, 2);
sys/netinet6/nd6_rtr.c
1181
if (rtpref(n) > rtpref(dr))
sys/netinet6/nd6_rtr.c
1185
TAILQ_INSERT_BEFORE(dr, n, dr_entry);
sys/netinet6/nd6_rtr.c
1187
TAILQ_INSERT_TAIL(&V_nd6_defrouter, n, dr_entry);
sys/netinet6/nd6_rtr.c
1193
return (n);
sys/netinet6/raw_ip6.c
185
struct mbuf *n, *m = *mp;
sys/netinet6/raw_ip6.c
294
if ((n = m_copym(m, 0, M_COPYALL, M_NOWAIT)) == NULL)
sys/netinet6/raw_ip6.c
298
ip6_savecontrol(inp, n, &opts);
sys/netinet6/raw_ip6.c
300
m_adj(n, *offp);
sys/netinet6/raw_ip6.c
302
(struct sockaddr *)&fromsa, n, opts) == 0) {
sys/netinet6/raw_ip6.c
304
m_freem(n);
sys/netinet6/raw_ip6.c
493
struct mbuf *n;
sys/netinet6/raw_ip6.c
508
n = m;
sys/netinet6/raw_ip6.c
509
while (n && n->m_len <= off) {
sys/netinet6/raw_ip6.c
510
off -= n->m_len;
sys/netinet6/raw_ip6.c
511
n = n->m_next;
sys/netinet6/raw_ip6.c
513
if (!n)
sys/netinet6/raw_ip6.c
515
p = (u_int16_t *)(mtod(n, caddr_t) + off);
sys/netinet6/udp6_usrreq.c
137
udp6_append(struct inpcb *inp, struct mbuf *n, int off,
sys/netinet6/udp6_usrreq.c
155
filtered = (*up->u_tun_func)(n, off, inp,
sys/netinet6/udp6_usrreq.c
171
if (IPSEC_CHECK_POLICY(ipv6, n, inp) != 0) {
sys/netinet6/udp6_usrreq.c
172
m_freem(n);
sys/netinet6/udp6_usrreq.c
178
UDPENCAP_INPUT(ipv6, n, off, AF_INET6) != 0) {
sys/netinet6/udp6_usrreq.c
184
if (mac_inpcb_check_deliver(inp, n) != 0) {
sys/netinet6/udp6_usrreq.c
185
m_freem(n);
sys/netinet6/udp6_usrreq.c
192
ip6_savecontrol(inp, n, &opts);
sys/netinet6/udp6_usrreq.c
205
m_adj(n, off);
sys/netinet6/udp6_usrreq.c
209
if (sbappendaddr_locked(&so->so_rcv, (struct sockaddr *)&fromsa[0], n,
sys/netinet6/udp6_usrreq.c
212
m_freem(n);
sys/netinet6/udp6_usrreq.c
257
struct mbuf *n;
sys/netinet6/udp6_usrreq.c
310
if ((n = m_copym(m, 0, M_COPYALL, M_NOWAIT)) != NULL) {
sys/netinet6/udp6_usrreq.c
317
if (udp6_append(inp, n, off, fromsa)) {
sys/netipsec/ipsec.h
374
caddr_t m_pad(struct mbuf *m, int n);
sys/netipsec/ipsec_mbuf.c
103
n = m_get(M_NOWAIT, m->m_type);
sys/netipsec/ipsec_mbuf.c
106
if (n == NULL) {
sys/netipsec/ipsec_mbuf.c
110
*np = n;
sys/netipsec/ipsec_mbuf.c
111
np = &n->m_next;
sys/netipsec/ipsec_mbuf.c
113
memcpy(n->m_data, mtod(m, char *) + skip + done, len);
sys/netipsec/ipsec_mbuf.c
114
n->m_len = len;
sys/netipsec/ipsec_mbuf.c
128
n = m_get(M_NOWAIT, m->m_type);
sys/netipsec/ipsec_mbuf.c
129
if (n == NULL) {
sys/netipsec/ipsec_mbuf.c
134
if ((n->m_next = n0) == NULL)
sys/netipsec/ipsec_mbuf.c
135
np = &n->m_next;
sys/netipsec/ipsec_mbuf.c
136
n0 = n;
sys/netipsec/ipsec_mbuf.c
141
n->m_len = hlen;
sys/netipsec/ipsec_mbuf.c
144
m = n; /* header is at front ... */
sys/netipsec/ipsec_mbuf.c
168
m_pad(struct mbuf *m, int n)
sys/netipsec/ipsec_mbuf.c
174
if (n <= 0) { /* No stupid arguments. */
sys/netipsec/ipsec_mbuf.c
175
DPRINTF(("%s: pad length invalid (%d)\n", __func__, n));
sys/netipsec/ipsec_mbuf.c
181
pad = n;
sys/netipsec/ipsec_mbuf.c
90
struct mbuf *n0, *n, **np;
sys/netipsec/ipsec_mbuf.c
99
n = m_getcl(M_NOWAIT, m->m_type, 0);
sys/netipsec/ipsec_output.c
1065
struct mbuf *n;
sys/netipsec/ipsec_output.c
1076
n = m_gethdr(how, m->m_type);
sys/netipsec/ipsec_output.c
1077
if (n == NULL) {
sys/netipsec/ipsec_output.c
1081
m_move_pkthdr(n, m);
sys/netipsec/ipsec_output.c
1082
n->m_next = m;
sys/netipsec/ipsec_output.c
1083
if (len + IPSEC_TRAILINGSPACE < M_SIZE(n))
sys/netipsec/ipsec_output.c
1084
m_align(n, len + IPSEC_TRAILINGSPACE);
sys/netipsec/ipsec_output.c
1085
n->m_len = len;
sys/netipsec/ipsec_output.c
1086
n->m_pkthdr.len += len;
sys/netipsec/ipsec_output.c
1087
return (n);
sys/netipsec/key.c
1949
struct mbuf *result = NULL, *n;
sys/netipsec/key.c
1972
MGETHDR(n, M_NOWAIT, MT_DATA);
sys/netipsec/key.c
1973
if (!n)
sys/netipsec/key.c
1975
n->m_len = len;
sys/netipsec/key.c
1976
n->m_next = NULL;
sys/netipsec/key.c
1978
mtod(n, caddr_t));
sys/netipsec/key.c
1981
n = m_get2(len, M_NOWAIT, MT_DATA, 0);
sys/netipsec/key.c
1982
if (n == NULL)
sys/netipsec/key.c
1984
m_align(n, len);
sys/netipsec/key.c
1985
n->m_len = len;
sys/netipsec/key.c
1987
mtod(n, caddr_t));
sys/netipsec/key.c
1989
n = m_copym(m, mhp->extoff[idx], mhp->extlen[idx],
sys/netipsec/key.c
1992
if (n == NULL)
sys/netipsec/key.c
1996
m_cat(result, n);
sys/netipsec/key.c
1998
result = n;
sys/netipsec/key.c
2004
for (n = result; n; n = n->m_next)
sys/netipsec/key.c
2005
result->m_pkthdr.len += n->m_len;
sys/netipsec/key.c
2201
struct mbuf *n, *mpolicy;
sys/netipsec/key.c
2207
n = key_gather_mbuf(m, mhp, 2, 5, SADB_EXT_RESERVED,
sys/netipsec/key.c
2211
n = key_gather_mbuf(m, mhp, 2, 4, SADB_EXT_RESERVED,
sys/netipsec/key.c
2215
if (!n)
sys/netipsec/key.c
2218
if (n->m_len < sizeof(*newmsg)) {
sys/netipsec/key.c
2219
n = m_pullup(n, sizeof(*newmsg));
sys/netipsec/key.c
2220
if (!n)
sys/netipsec/key.c
2223
newmsg = mtod(n, struct sadb_msg *);
sys/netipsec/key.c
2225
newmsg->sadb_msg_len = PFKEY_UNIT64(n->m_pkthdr.len);
sys/netipsec/key.c
2228
mpolicy = m_pulldown(n, PFKEY_ALIGN8(sizeof(struct sadb_msg)),
sys/netipsec/key.c
2236
m_freem(n);
sys/netipsec/key.c
2242
return key_sendup_mbuf(so, n, KEY_SENDUP_ALL);
sys/netipsec/key.c
2376
struct mbuf *n;
sys/netipsec/key.c
2380
n = key_gather_mbuf(m, mhp, 1, 4, SADB_EXT_RESERVED,
sys/netipsec/key.c
2382
if (!n)
sys/netipsec/key.c
2385
newmsg = mtod(n, struct sadb_msg *);
sys/netipsec/key.c
2387
newmsg->sadb_msg_len = PFKEY_UNIT64(n->m_pkthdr.len);
sys/netipsec/key.c
2390
return key_sendup_mbuf(so, n, KEY_SENDUP_ALL);
sys/netipsec/key.c
2448
struct mbuf *n, *nn;
sys/netipsec/key.c
2455
n = key_mget(len);
sys/netipsec/key.c
2456
if (n == NULL)
sys/netipsec/key.c
2459
n->m_len = len;
sys/netipsec/key.c
2460
n->m_next = NULL;
sys/netipsec/key.c
2463
m_copydata(m, 0, sizeof(struct sadb_msg), mtod(n, caddr_t) + off);
sys/netipsec/key.c
2469
n->m_next = m_copym(m, mhp->extoff[SADB_X_EXT_POLICY],
sys/netipsec/key.c
2471
if (!n->m_next) {
sys/netipsec/key.c
2472
m_freem(n);
sys/netipsec/key.c
2476
n->m_pkthdr.len = 0;
sys/netipsec/key.c
2477
for (nn = n; nn; nn = nn->m_next)
sys/netipsec/key.c
2478
n->m_pkthdr.len += nn->m_len;
sys/netipsec/key.c
2480
newmsg = mtod(n, struct sadb_msg *);
sys/netipsec/key.c
2482
newmsg->sadb_msg_len = PFKEY_UNIT64(n->m_pkthdr.len);
sys/netipsec/key.c
2485
return key_sendup_mbuf(so, n, KEY_SENDUP_ALL);
sys/netipsec/key.c
2505
struct mbuf *n;
sys/netipsec/key.c
2530
n = key_setdumpsp(sp, SADB_X_SPDGET, mhp->msg->sadb_msg_seq,
sys/netipsec/key.c
2533
if (n != NULL) {
sys/netipsec/key.c
2535
return key_sendup_mbuf(so, n, KEY_SENDUP_ONE);
sys/netipsec/key.c
2699
struct mbuf *n;
sys/netipsec/key.c
2732
n = key_setdumpsp(sp, SADB_X_SPDDUMP, cnt,
sys/netipsec/key.c
2735
if (n != NULL)
sys/netipsec/key.c
2736
key_sendup_mbuf(so, n, KEY_SENDUP_ONE);
sys/netipsec/key.c
2742
n = key_setdumpsp(sp, SADB_X_SPDDUMP, cnt,
sys/netipsec/key.c
2745
if (n != NULL)
sys/netipsec/key.c
2746
key_sendup_mbuf(so, n, KEY_SENDUP_ONE);
sys/netipsec/key.c
5165
struct mbuf *n, *nn;
sys/netipsec/key.c
5174
n = key_mget(len);
sys/netipsec/key.c
5175
if (n == NULL) {
sys/netipsec/key.c
5180
n->m_len = len;
sys/netipsec/key.c
5181
n->m_next = NULL;
sys/netipsec/key.c
5184
m_copydata(m, 0, sizeof(struct sadb_msg), mtod(n, caddr_t) + off);
sys/netipsec/key.c
5187
m_sa = (struct sadb_sa *)(mtod(n, caddr_t) + off);
sys/netipsec/key.c
5196
n->m_next = key_gather_mbuf(m, mhp, 0, 2, SADB_EXT_ADDRESS_SRC,
sys/netipsec/key.c
5198
if (!n->m_next) {
sys/netipsec/key.c
5199
m_freem(n);
sys/netipsec/key.c
5204
if (n->m_len < sizeof(struct sadb_msg)) {
sys/netipsec/key.c
5205
n = m_pullup(n, sizeof(struct sadb_msg));
sys/netipsec/key.c
5206
if (n == NULL)
sys/netipsec/key.c
5210
n->m_pkthdr.len = 0;
sys/netipsec/key.c
5211
for (nn = n; nn; nn = nn->m_next)
sys/netipsec/key.c
5212
n->m_pkthdr.len += nn->m_len;
sys/netipsec/key.c
5214
newmsg = mtod(n, struct sadb_msg *);
sys/netipsec/key.c
5217
newmsg->sadb_msg_len = PFKEY_UNIT64(n->m_pkthdr.len);
sys/netipsec/key.c
5220
return key_sendup_mbuf(so, n, KEY_SENDUP_ONE);
sys/netipsec/key.c
5357
struct mbuf *n;
sys/netipsec/key.c
5526
n = key_getmsgbuf_x1(m, mhp);
sys/netipsec/key.c
5527
if (n == NULL) {
sys/netipsec/key.c
5532
key_sendup_mbuf(so, n, KEY_SENDUP_ALL);
sys/netipsec/key.c
5760
struct mbuf *n;
sys/netipsec/key.c
5763
n = key_getmsgbuf_x1(m, mhp);
sys/netipsec/key.c
5764
if (n == NULL) {
sys/netipsec/key.c
5770
return key_sendup_mbuf(so, n, KEY_SENDUP_ALL);
sys/netipsec/key.c
5922
struct mbuf *n;
sys/netipsec/key.c
5925
n = key_getmsgbuf_x1(m, mhp);
sys/netipsec/key.c
5926
if (n == NULL) {
sys/netipsec/key.c
5932
return key_sendup_mbuf(so, n, KEY_SENDUP_ALL);
sys/netipsec/key.c
6248
struct mbuf *n;
sys/netipsec/key.c
6255
n = key_gather_mbuf(m, mhp, 1, 16, SADB_EXT_RESERVED,
sys/netipsec/key.c
6264
if (!n)
sys/netipsec/key.c
6267
if (n->m_len < sizeof(struct sadb_msg)) {
sys/netipsec/key.c
6268
n = m_pullup(n, sizeof(struct sadb_msg));
sys/netipsec/key.c
6269
if (n == NULL)
sys/netipsec/key.c
6272
mtod(n, struct sadb_msg *)->sadb_msg_errno = 0;
sys/netipsec/key.c
6273
mtod(n, struct sadb_msg *)->sadb_msg_len =
sys/netipsec/key.c
6274
PFKEY_UNIT64(n->m_pkthdr.len);
sys/netipsec/key.c
6276
return n;
sys/netipsec/key.c
6369
struct mbuf *n;
sys/netipsec/key.c
6373
n = key_gather_mbuf(m, mhp, 1, 4, SADB_EXT_RESERVED,
sys/netipsec/key.c
6375
if (!n)
sys/netipsec/key.c
6378
if (n->m_len < sizeof(struct sadb_msg)) {
sys/netipsec/key.c
6379
n = m_pullup(n, sizeof(struct sadb_msg));
sys/netipsec/key.c
6380
if (n == NULL)
sys/netipsec/key.c
6383
newmsg = mtod(n, struct sadb_msg *);
sys/netipsec/key.c
6385
newmsg->sadb_msg_len = PFKEY_UNIT64(n->m_pkthdr.len);
sys/netipsec/key.c
6388
return key_sendup_mbuf(so, n, KEY_SENDUP_ALL);
sys/netipsec/key.c
6431
struct mbuf *n;
sys/netipsec/key.c
6435
n = key_gather_mbuf(m, mhp, 1, 3, SADB_EXT_RESERVED,
sys/netipsec/key.c
6437
if (!n)
sys/netipsec/key.c
6440
if (n->m_len < sizeof(struct sadb_msg)) {
sys/netipsec/key.c
6441
n = m_pullup(n, sizeof(struct sadb_msg));
sys/netipsec/key.c
6442
if (n == NULL)
sys/netipsec/key.c
6445
newmsg = mtod(n, struct sadb_msg *);
sys/netipsec/key.c
6447
newmsg->sadb_msg_len = PFKEY_UNIT64(n->m_pkthdr.len);
sys/netipsec/key.c
6450
return key_sendup_mbuf(so, n, KEY_SENDUP_ALL);
sys/netipsec/key.c
6579
struct mbuf *n;
sys/netipsec/key.c
6591
n = key_setdumpsa(sav, SADB_GET, satype, mhp->msg->sadb_msg_seq,
sys/netipsec/key.c
6595
if (!n)
sys/netipsec/key.c
6599
return key_sendup_mbuf(so, n, KEY_SENDUP_ONE);
sys/netipsec/key.c
6627
struct mbuf *result = NULL, *m, *n;
sys/netipsec/key.c
6664
for (n = m; n; n = n->m_next)
sys/netipsec/key.c
6665
totlen += n->m_len;
sys/netipsec/key.c
6669
n = m_pulldown(m, off, l, &o);
sys/netipsec/key.c
6670
if (!n) {
sys/netipsec/key.c
6674
comb = (struct sadb_comb *)(mtod(n, caddr_t) + o);
sys/netipsec/key.c
6828
struct mbuf *m, *n;
sys/netipsec/key.c
6853
for (n = m; n; n = n->m_next)
sys/netipsec/key.c
6854
totlen += n->m_len;
sys/netipsec/key.c
7460
struct mbuf *n;
sys/netipsec/key.c
7489
n = key_mget(len);
sys/netipsec/key.c
7490
if (n == NULL)
sys/netipsec/key.c
7493
n->m_pkthdr.len = n->m_len = len;
sys/netipsec/key.c
7494
n->m_next = NULL;
sys/netipsec/key.c
7497
m_copydata(m, 0, sizeof(struct sadb_msg), mtod(n, caddr_t) + off);
sys/netipsec/key.c
7498
newmsg = mtod(n, struct sadb_msg *);
sys/netipsec/key.c
7505
sup = (struct sadb_supported *)(mtod(n, caddr_t) + off);
sys/netipsec/key.c
7517
alg = (struct sadb_alg *)(mtod(n, caddr_t) + off);
sys/netipsec/key.c
7529
sup = (struct sadb_supported *)(mtod(n, caddr_t) + off);
sys/netipsec/key.c
7540
alg = (struct sadb_alg *)(mtod(n, caddr_t) + off);
sys/netipsec/key.c
7553
return key_sendup_mbuf(so, n, KEY_SENDUP_REGISTERED);
sys/netipsec/key.c
7911
struct mbuf *n;
sys/netipsec/key.c
7963
n = key_setdumpsa(sav, SADB_DUMP, satype,
sys/netipsec/key.c
7965
if (n == NULL) {
sys/netipsec/key.c
7970
key_sendup_mbuf(so, n, KEY_SENDUP_ONE);
sys/netipsec/key.c
7973
n = key_setdumpsa(sav, SADB_DUMP, satype,
sys/netipsec/key.c
7975
if (n == NULL) {
sys/netipsec/key.c
7980
key_sendup_mbuf(so, n, KEY_SENDUP_ONE);
sys/netipsec/key.c
8129
struct mbuf *n;
sys/netipsec/key.c
8131
n = key_mget(m->m_pkthdr.len);
sys/netipsec/key.c
8132
if (n == NULL) {
sys/netipsec/key.c
8136
m_copydata(m, 0, m->m_pkthdr.len, mtod(n, caddr_t));
sys/netipsec/key.c
8137
n->m_pkthdr.len = n->m_len = m->m_pkthdr.len;
sys/netipsec/key.c
8138
n->m_next = NULL;
sys/netipsec/key.c
8140
m = n;
sys/netipsec/key.c
8349
struct mbuf *n;
sys/netipsec/key.c
8369
n = m_pulldown(m, off, sizeof(struct sadb_ext), &toff);
sys/netipsec/key.c
8370
if (!n) {
sys/netipsec/key.c
8374
ext = (struct sadb_ext *)(mtod(n, caddr_t) + toff);
sys/netipsec/key.c
8439
n = m_pulldown(m, off, extlen, &toff);
sys/netipsec/key.c
8440
if (!n) {
sys/netipsec/key.c
8444
ext = (struct sadb_ext *)(mtod(n, caddr_t) + toff);
sys/netipsec/key_debug.c
125
#define EXT_NAME(n) case SADB_EXT_ ## n: return (#n)
sys/netipsec/key_debug.c
126
#define X_NAME(n) case SADB_X_EXT_ ## n: return (#n)
sys/netipsec/key_debug.c
90
#define SADB_NAME(n) case SADB_ ## n: return (#n)
sys/netipsec/keysock.c
180
struct mbuf *n;
sys/netipsec/keysock.c
212
n = m_copym(m, 0, M_COPYALL, M_NOWAIT);
sys/netipsec/keysock.c
213
if (n != NULL)
sys/netipsec/keysock.c
214
key_sendup0(kp, n, 1);
sys/netipsec/keysock.c
228
n = m_copym(m, 0, M_COPYALL, M_NOWAIT);
sys/netipsec/keysock.c
229
if (n == NULL) {
sys/netipsec/keysock.c
235
if (key_sendup0(kp, n, 0) == 0)
sys/netipsec/udpencap.c
246
struct mbuf *n;
sys/netipsec/udpencap.c
270
n = m_makespace(m, hlen, sizeof(*udp), &off);
sys/netipsec/udpencap.c
271
if (n == NULL) {
sys/netipsec/udpencap.c
276
udp = mtodo(n, off);
sys/netpfil/ipfilter/netinet/fil.c
3617
ipf_getrulen(ipf_main_softc_t *softc, int unit, char *group, u_32_t n)
sys/netpfil/ipfilter/netinet/fil.c
3625
for (fr = fg->fg_start; fr && n; fr = fr->fr_next, n--)
sys/netpfil/ipfilter/netinet/fil.c
3627
if (n != 0)
sys/netpfil/ipfilter/netinet/fil.c
8610
u_int i, n, *x, rv, p;
sys/netpfil/ipfilter/netinet/fil.c
8614
n = array[0];
sys/netpfil/ipfilter/netinet/fil.c
8617
for (; n > 0; x += 3 + x[3], rv = 0) {
sys/netpfil/ipfilter/netinet/fil.c
8621
n -= e->ipfe_size;
sys/netpfil/ipfilter/netinet/ip_compat.h
488
# define SLEEP(id, n) tsleep((id), PPAUSE|PCATCH, n, 0)
sys/netpfil/ipfilter/netinet/ip_compat.h
493
# define GETIFP(n, v) ifunit(n)
sys/netpfil/ipfilter/netinet/ip_dstlist.c
259
int n, i;
sys/netpfil/ipfilter/netinet/ip_dstlist.c
261
for (n = 0, i = -1; i <= IPL_LOGMAX; i++) {
sys/netpfil/ipfilter/netinet/ip_dstlist.c
273
n++;
sys/netpfil/ipfilter/netinet/ip_dstlist.c
276
return (n);
sys/netpfil/ipfilter/netinet/ip_fil.h
148
#define NLADD(n,x) htonl(ntohl(n) + (x))
sys/netpfil/ipfilter/netinet/ip_fil_freebsd.c
1189
mb_t *n = *fin->fin_mp;
sys/netpfil/ipfilter/netinet/ip_fil_freebsd.c
1195
if (m != n) {
sys/netpfil/ipfilter/netinet/ip_fil_freebsd.c
1201
for (; n->m_next != m; n = n->m_next)
sys/netpfil/ipfilter/netinet/ip_fil_freebsd.c
1204
n = NULL;
sys/netpfil/ipfilter/netinet/ip_fil_freebsd.c
1219
n = NULL;
sys/netpfil/ipfilter/netinet/ip_fil_freebsd.c
1226
if (n != NULL)
sys/netpfil/ipfilter/netinet/ip_fil_freebsd.c
1227
n->m_next = m;
sys/netpfil/ipfilter/netinet/ip_fil_freebsd.c
1234
if (n != NULL) {
sys/netpfil/ipfilter/netinet/ip_fil_freebsd.c
1243
if (n == NULL)
sys/netpfil/ipfilter/netinet/ip_htable.c
1387
iphtent_t *n;
sys/netpfil/ipfilter/netinet/ip_htable.c
1389
while ((n = softh->ipf_node_explist) != NULL) {
sys/netpfil/ipfilter/netinet/ip_htable.c
1390
if (n->ipe_die > softc->ipf_ticks)
sys/netpfil/ipfilter/netinet/ip_htable.c
1393
ipf_htent_remove(softc, softh, n->ipe_owner, n);
sys/netpfil/ipfilter/netinet/ip_htable.c
948
iphtent_t *n;
sys/netpfil/ipfilter/netinet/ip_htable.c
951
for (n = softh->ipf_node_explist; n != NULL; n = n->ipe_dnext) {
sys/netpfil/ipfilter/netinet/ip_htable.c
952
if (ipe->ipe_die < n->ipe_die)
sys/netpfil/ipfilter/netinet/ip_htable.c
954
if (n->ipe_dnext == NULL) {
sys/netpfil/ipfilter/netinet/ip_htable.c
960
n->ipe_dnext = ipe;
sys/netpfil/ipfilter/netinet/ip_htable.c
961
ipe->ipe_pdnext = &n->ipe_dnext;
sys/netpfil/ipfilter/netinet/ip_htable.c
962
n = NULL;
sys/netpfil/ipfilter/netinet/ip_htable.c
970
} else if (n != NULL) {
sys/netpfil/ipfilter/netinet/ip_htable.c
971
ipe->ipe_dnext = n;
sys/netpfil/ipfilter/netinet/ip_htable.c
972
ipe->ipe_pdnext = n->ipe_pdnext;
sys/netpfil/ipfilter/netinet/ip_htable.c
973
n->ipe_pdnext = &ipe->ipe_dnext;
sys/netpfil/ipfilter/netinet/ip_nat.c
1010
n = NULL;
sys/netpfil/ipfilter/netinet/ip_nat.c
110
#define NATFSUM(n,v,f) ((v) == 4 ? (n)->f.in4.s_addr : (n)->f.i6[0] + \
sys/netpfil/ipfilter/netinet/ip_nat.c
1106
for (n = softn->ipf_nat_list; n != NULL; n = n->in_next)
sys/netpfil/ipfilter/netinet/ip_nat.c
1107
if (ipf_nat_cmp_rules(nat, n) == 0)
sys/netpfil/ipfilter/netinet/ip_nat.c
111
(n)->f.i6[1] + (n)->f.i6[2] + (n)->f.i6[3])
sys/netpfil/ipfilter/netinet/ip_nat.c
1166
} else if (n != NULL) {
sys/netpfil/ipfilter/netinet/ip_nat.c
1167
natd.in_flineno = n->in_flineno;
sys/netpfil/ipfilter/netinet/ip_nat.c
1180
bcopy((char *)nat, (char *)nt, sizeof(*n));
sys/netpfil/ipfilter/netinet/ip_nat.c
1194
n = NULL;
sys/netpfil/ipfilter/netinet/ip_nat.c
1195
} else if (n == NULL) {
sys/netpfil/ipfilter/netinet/ip_nat.c
1205
error = ipf_outobjsz(softc, data, n, IPFOBJ_IPNAT,
sys/netpfil/ipfilter/netinet/ip_nat.c
1206
n->in_size);
sys/netpfil/ipfilter/netinet/ip_nat.c
1211
n->in_flags |= IPN_PURGE;
sys/netpfil/ipfilter/netinet/ip_nat.c
1213
ipf_nat_siocdelnat(softc, softn, n, getlock);
sys/netpfil/ipfilter/netinet/ip_nat.c
1216
n = NULL;
sys/netpfil/ipfilter/netinet/ip_nat.c
1450
ipf_nat_siocaddnat(ipf_main_softc_t *softc, ipf_nat_softc_t *softn, ipnat_t *n,
sys/netpfil/ipfilter/netinet/ip_nat.c
1455
if (ipf_nat_resolverule(softc, n) != 0) {
sys/netpfil/ipfilter/netinet/ip_nat.c
1460
if ((n->in_age[0] == 0) && (n->in_age[1] != 0)) {
sys/netpfil/ipfilter/netinet/ip_nat.c
1465
if (n->in_redir == (NAT_DIVERTUDP|NAT_MAP)) {
sys/netpfil/ipfilter/netinet/ip_nat.c
1471
n->in_dlocal = ipf_deliverlocal(softc, n->in_v[1],
sys/netpfil/ipfilter/netinet/ip_nat.c
1472
n->in_ifps[1], &n->in_ndstip6);
sys/netpfil/ipfilter/netinet/ip_nat.c
1478
n->in_next = NULL;
sys/netpfil/ipfilter/netinet/ip_nat.c
1479
n->in_pnext = softn->ipf_nat_list_tail;
sys/netpfil/ipfilter/netinet/ip_nat.c
1480
*n->in_pnext = n;
sys/netpfil/ipfilter/netinet/ip_nat.c
1481
softn->ipf_nat_list_tail = &n->in_next;
sys/netpfil/ipfilter/netinet/ip_nat.c
1482
n->in_use++;
sys/netpfil/ipfilter/netinet/ip_nat.c
1484
if (n->in_redir & NAT_REDIRECT) {
sys/netpfil/ipfilter/netinet/ip_nat.c
1485
n->in_flags &= ~IPN_NOTDST;
sys/netpfil/ipfilter/netinet/ip_nat.c
1486
switch (n->in_v[0])
sys/netpfil/ipfilter/netinet/ip_nat.c
1489
ipf_nat_addrdr(softn, n);
sys/netpfil/ipfilter/netinet/ip_nat.c
1493
ipf_nat6_addrdr(softn, n);
sys/netpfil/ipfilter/netinet/ip_nat.c
1502
if (n->in_redir & (NAT_MAP|NAT_MAPBLK)) {
sys/netpfil/ipfilter/netinet/ip_nat.c
1503
n->in_flags &= ~IPN_NOTSRC;
sys/netpfil/ipfilter/netinet/ip_nat.c
1504
switch (n->in_v[0])
sys/netpfil/ipfilter/netinet/ip_nat.c
1507
ipf_nat_addmap(softn, n);
sys/netpfil/ipfilter/netinet/ip_nat.c
1511
ipf_nat6_addmap(softn, n);
sys/netpfil/ipfilter/netinet/ip_nat.c
1520
if (n->in_age[0] != 0)
sys/netpfil/ipfilter/netinet/ip_nat.c
1521
n->in_tqehead[0] = ipf_addtimeoutqueue(softc,
sys/netpfil/ipfilter/netinet/ip_nat.c
1523
n->in_age[0]);
sys/netpfil/ipfilter/netinet/ip_nat.c
1525
if (n->in_age[1] != 0)
sys/netpfil/ipfilter/netinet/ip_nat.c
1526
n->in_tqehead[1] = ipf_addtimeoutqueue(softc,
sys/netpfil/ipfilter/netinet/ip_nat.c
1528
n->in_age[1]);
sys/netpfil/ipfilter/netinet/ip_nat.c
1530
MUTEX_INIT(&n->in_lock, "ipnat rule lock");
sys/netpfil/ipfilter/netinet/ip_nat.c
1532
n = NULL;
sys/netpfil/ipfilter/netinet/ip_nat.c
1555
ipnat_t *n)
sys/netpfil/ipfilter/netinet/ip_nat.c
1559
if ((n->in_ndst.na_atype == FRI_LOOKUP) &&
sys/netpfil/ipfilter/netinet/ip_nat.c
1560
(n->in_ndst.na_type != IPLT_DSTLIST)) {
sys/netpfil/ipfilter/netinet/ip_nat.c
1564
if ((n->in_nsrc.na_atype == FRI_LOOKUP) &&
sys/netpfil/ipfilter/netinet/ip_nat.c
1565
(n->in_nsrc.na_type != IPLT_DSTLIST)) {
sys/netpfil/ipfilter/netinet/ip_nat.c
1570
if (n->in_redir == NAT_BIMAP) {
sys/netpfil/ipfilter/netinet/ip_nat.c
1571
n->in_ndstaddr = n->in_osrcaddr;
sys/netpfil/ipfilter/netinet/ip_nat.c
1572
n->in_ndstmsk = n->in_osrcmsk;
sys/netpfil/ipfilter/netinet/ip_nat.c
1573
n->in_odstaddr = n->in_nsrcaddr;
sys/netpfil/ipfilter/netinet/ip_nat.c
1574
n->in_odstmsk = n->in_nsrcmsk;
sys/netpfil/ipfilter/netinet/ip_nat.c
1578
if (n->in_redir & NAT_REDIRECT)
sys/netpfil/ipfilter/netinet/ip_nat.c
1585
error = ipf_nat_nextaddrinit(softc, n->in_names, &n->in_osrc, 1,
sys/netpfil/ipfilter/netinet/ip_nat.c
1586
n->in_ifps[idx]);
sys/netpfil/ipfilter/netinet/ip_nat.c
1590
error = ipf_nat_nextaddrinit(softc, n->in_names, &n->in_odst, 1,
sys/netpfil/ipfilter/netinet/ip_nat.c
1591
n->in_ifps[idx]);
sys/netpfil/ipfilter/netinet/ip_nat.c
1595
error = ipf_nat_nextaddrinit(softc, n->in_names, &n->in_nsrc, 1,
sys/netpfil/ipfilter/netinet/ip_nat.c
1596
n->in_ifps[idx]);
sys/netpfil/ipfilter/netinet/ip_nat.c
1600
error = ipf_nat_nextaddrinit(softc, n->in_names, &n->in_ndst, 1,
sys/netpfil/ipfilter/netinet/ip_nat.c
1601
n->in_ifps[idx]);
sys/netpfil/ipfilter/netinet/ip_nat.c
1605
if (n->in_redir & NAT_DIVERTUDP)
sys/netpfil/ipfilter/netinet/ip_nat.c
1606
ipf_nat_builddivertmp(softn, n);
sys/netpfil/ipfilter/netinet/ip_nat.c
1623
ipf_nat_resolverule(ipf_main_softc_t *softc, ipnat_t *n)
sys/netpfil/ipfilter/netinet/ip_nat.c
1627
base = n->in_names;
sys/netpfil/ipfilter/netinet/ip_nat.c
1629
n->in_ifps[0] = ipf_resolvenic(softc, base + n->in_ifnames[0],
sys/netpfil/ipfilter/netinet/ip_nat.c
1630
n->in_v[0]);
sys/netpfil/ipfilter/netinet/ip_nat.c
1632
if (n->in_ifnames[1] == -1) {
sys/netpfil/ipfilter/netinet/ip_nat.c
1633
n->in_ifnames[1] = n->in_ifnames[0];
sys/netpfil/ipfilter/netinet/ip_nat.c
1634
n->in_ifps[1] = n->in_ifps[0];
sys/netpfil/ipfilter/netinet/ip_nat.c
1636
n->in_ifps[1] = ipf_resolvenic(softc, base + n->in_ifnames[1],
sys/netpfil/ipfilter/netinet/ip_nat.c
1637
n->in_v[1]);
sys/netpfil/ipfilter/netinet/ip_nat.c
1640
if (n->in_plabel != -1) {
sys/netpfil/ipfilter/netinet/ip_nat.c
1641
if (n->in_redir & NAT_REDIRECT)
sys/netpfil/ipfilter/netinet/ip_nat.c
1642
n->in_apr = ipf_proxy_lookup(softc->ipf_proxy_soft,
sys/netpfil/ipfilter/netinet/ip_nat.c
1643
n->in_pr[0],
sys/netpfil/ipfilter/netinet/ip_nat.c
1644
base + n->in_plabel);
sys/netpfil/ipfilter/netinet/ip_nat.c
1646
n->in_apr = ipf_proxy_lookup(softc->ipf_proxy_soft,
sys/netpfil/ipfilter/netinet/ip_nat.c
1647
n->in_pr[1],
sys/netpfil/ipfilter/netinet/ip_nat.c
1648
base + n->in_plabel);
sys/netpfil/ipfilter/netinet/ip_nat.c
1649
if (n->in_apr == NULL)
sys/netpfil/ipfilter/netinet/ip_nat.c
1670
ipf_nat_siocdelnat(ipf_main_softc_t *softc, ipf_nat_softc_t *softn, ipnat_t *n,
sys/netpfil/ipfilter/netinet/ip_nat.c
1677
ipf_nat_delrule(softc, softn, n, 1);
sys/netpfil/ipfilter/netinet/ip_nat.c
1704
nat_t *nat, *n;
sys/netpfil/ipfilter/netinet/ip_nat.c
1742
for (n = softn->ipf_nat_instances; n; n = n->nat_next)
sys/netpfil/ipfilter/netinet/ip_nat.c
1743
if (n == nat)
sys/netpfil/ipfilter/netinet/ip_nat.c
1745
if (n == NULL) {
sys/netpfil/ipfilter/netinet/ip_nat.c
1797
nat_t *n, *nat;
sys/netpfil/ipfilter/netinet/ip_nat.c
1836
for (n = softn->ipf_nat_instances; n; n = n->nat_next)
sys/netpfil/ipfilter/netinet/ip_nat.c
1837
if (n == nat)
sys/netpfil/ipfilter/netinet/ip_nat.c
1839
if (n == NULL) {
sys/netpfil/ipfilter/netinet/ip_nat.c
1929
nat_t *n, *nat;
sys/netpfil/ipfilter/netinet/ip_nat.c
1942
n = NULL;
sys/netpfil/ipfilter/netinet/ip_nat.c
2059
n = ipf_nat_inlookup(&fin, nat->nat_flags, fin.fin_p,
sys/netpfil/ipfilter/netinet/ip_nat.c
2063
n = ipf_nat6_inlookup(&fin, nat->nat_flags, fin.fin_p,
sys/netpfil/ipfilter/netinet/ip_nat.c
2072
if (n != NULL) {
sys/netpfil/ipfilter/netinet/ip_nat.c
2086
n = ipf_nat_outlookup(&fin, nat->nat_flags, fin.fin_p,
sys/netpfil/ipfilter/netinet/ip_nat.c
2091
n = ipf_nat6_outlookup(&fin, nat->nat_flags, fin.fin_p,
sys/netpfil/ipfilter/netinet/ip_nat.c
2100
if (n != NULL) {
sys/netpfil/ipfilter/netinet/ip_nat.c
2181
for (n = softn->ipf_nat_instances; n; n = n->nat_next)
sys/netpfil/ipfilter/netinet/ip_nat.c
2182
if (n->nat_fr == fr)
sys/netpfil/ipfilter/netinet/ip_nat.c
2185
if (n != NULL) {
sys/netpfil/ipfilter/netinet/ip_nat.c
2194
if (n == NULL) {
sys/netpfil/ipfilter/netinet/ip_nat.c
2480
ipnat_t *n;
sys/netpfil/ipfilter/netinet/ip_nat.c
2494
while ((n = softn->ipf_nat_list) != NULL) {
sys/netpfil/ipfilter/netinet/ip_nat.c
2495
ipf_nat_delrule(softc, softn, n, 0);
sys/netpfil/ipfilter/netinet/ip_nat.c
5868
ipnat_t *n;
sys/netpfil/ipfilter/netinet/ip_nat.c
5895
n = nat->nat_ptr;
sys/netpfil/ipfilter/netinet/ip_nat.c
5896
if (n != NULL) {
sys/netpfil/ipfilter/netinet/ip_nat.c
5897
if (n->in_v[1] == 4) {
sys/netpfil/ipfilter/netinet/ip_nat.c
5898
if (n->in_redir & NAT_MAP) {
sys/netpfil/ipfilter/netinet/ip_nat.c
5899
if ((n->in_nsrcaddr != 0) ||
sys/netpfil/ipfilter/netinet/ip_nat.c
5900
(n->in_nsrcmsk != 0xffffffff))
sys/netpfil/ipfilter/netinet/ip_nat.c
5902
} else if (n->in_redir & NAT_REDIRECT) {
sys/netpfil/ipfilter/netinet/ip_nat.c
5903
if ((n->in_ndstaddr != 0) ||
sys/netpfil/ipfilter/netinet/ip_nat.c
5904
(n->in_ndstmsk != 0xffffffff))
sys/netpfil/ipfilter/netinet/ip_nat.c
5909
if (n->in_v[1] == 4) {
sys/netpfil/ipfilter/netinet/ip_nat.c
5910
if (n->in_redir & NAT_MAP) {
sys/netpfil/ipfilter/netinet/ip_nat.c
5911
if (!IP6_ISZERO(&n->in_nsrcaddr) ||
sys/netpfil/ipfilter/netinet/ip_nat.c
5912
!IP6_ISONES(&n->in_nsrcmsk))
sys/netpfil/ipfilter/netinet/ip_nat.c
5914
} else if (n->in_redir & NAT_REDIRECT) {
sys/netpfil/ipfilter/netinet/ip_nat.c
5915
if (!IP6_ISZERO(&n->in_ndstaddr) ||
sys/netpfil/ipfilter/netinet/ip_nat.c
5916
!IP6_ISONES(&n->in_ndstmsk))
sys/netpfil/ipfilter/netinet/ip_nat.c
5973
for (n = softn->ipf_nat_list; (n != NULL); n = n->in_next) {
sys/netpfil/ipfilter/netinet/ip_nat.c
5974
char *base = n->in_names;
sys/netpfil/ipfilter/netinet/ip_nat.c
5976
if ((ifp == NULL) || (n->in_ifps[0] == ifp))
sys/netpfil/ipfilter/netinet/ip_nat.c
5977
n->in_ifps[0] = ipf_resolvenic(softc,
sys/netpfil/ipfilter/netinet/ip_nat.c
5978
base + n->in_ifnames[0],
sys/netpfil/ipfilter/netinet/ip_nat.c
5979
n->in_v[0]);
sys/netpfil/ipfilter/netinet/ip_nat.c
5980
if ((ifp == NULL) || (n->in_ifps[1] == ifp))
sys/netpfil/ipfilter/netinet/ip_nat.c
5981
n->in_ifps[1] = ipf_resolvenic(softc,
sys/netpfil/ipfilter/netinet/ip_nat.c
5982
base + n->in_ifnames[1],
sys/netpfil/ipfilter/netinet/ip_nat.c
5983
n->in_v[1]);
sys/netpfil/ipfilter/netinet/ip_nat.c
5985
if (n->in_redir & NAT_REDIRECT)
sys/netpfil/ipfilter/netinet/ip_nat.c
5990
if (((ifp == NULL) || (n->in_ifps[idx] == ifp)) &&
sys/netpfil/ipfilter/netinet/ip_nat.c
5991
(n->in_ifps[idx] != NULL &&
sys/netpfil/ipfilter/netinet/ip_nat.c
5992
n->in_ifps[idx] != (void *)-1)) {
sys/netpfil/ipfilter/netinet/ip_nat.c
5994
ipf_nat_nextaddrinit(softc, n->in_names, &n->in_osrc,
sys/netpfil/ipfilter/netinet/ip_nat.c
5995
0, n->in_ifps[idx]);
sys/netpfil/ipfilter/netinet/ip_nat.c
5996
ipf_nat_nextaddrinit(softc, n->in_names, &n->in_odst,
sys/netpfil/ipfilter/netinet/ip_nat.c
5997
0, n->in_ifps[idx]);
sys/netpfil/ipfilter/netinet/ip_nat.c
5998
ipf_nat_nextaddrinit(softc, n->in_names, &n->in_nsrc,
sys/netpfil/ipfilter/netinet/ip_nat.c
5999
0, n->in_ifps[idx]);
sys/netpfil/ipfilter/netinet/ip_nat.c
6000
ipf_nat_nextaddrinit(softc, n->in_names, &n->in_ndst,
sys/netpfil/ipfilter/netinet/ip_nat.c
6001
0, n->in_ifps[idx]);
sys/netpfil/ipfilter/netinet/ip_nat.c
6136
ipnat_t *n;
sys/netpfil/ipfilter/netinet/ip_nat.c
6138
n = *inp;
sys/netpfil/ipfilter/netinet/ip_nat.c
6140
n->in_use--;
sys/netpfil/ipfilter/netinet/ip_nat.c
6141
if (n->in_use > 0)
sys/netpfil/ipfilter/netinet/ip_nat.c
6144
if (n->in_apr != NULL)
sys/netpfil/ipfilter/netinet/ip_nat.c
6145
ipf_proxy_deref(n->in_apr);
sys/netpfil/ipfilter/netinet/ip_nat.c
6147
ipf_nat_rule_fini(softc, n);
sys/netpfil/ipfilter/netinet/ip_nat.c
6149
if (n->in_redir & NAT_REDIRECT) {
sys/netpfil/ipfilter/netinet/ip_nat.c
6150
if ((n->in_flags & IPN_PROXYRULE) == 0) {
sys/netpfil/ipfilter/netinet/ip_nat.c
6154
if (n->in_redir & (NAT_MAP|NAT_MAPBLK)) {
sys/netpfil/ipfilter/netinet/ip_nat.c
6155
if ((n->in_flags & IPN_PROXYRULE) == 0) {
sys/netpfil/ipfilter/netinet/ip_nat.c
6160
if (n->in_tqehead[0] != NULL) {
sys/netpfil/ipfilter/netinet/ip_nat.c
6161
if (ipf_deletetimeoutqueue(n->in_tqehead[0]) == 0) {
sys/netpfil/ipfilter/netinet/ip_nat.c
6162
ipf_freetimeoutqueue(softc, n->in_tqehead[0]);
sys/netpfil/ipfilter/netinet/ip_nat.c
6166
if (n->in_tqehead[1] != NULL) {
sys/netpfil/ipfilter/netinet/ip_nat.c
6167
if (ipf_deletetimeoutqueue(n->in_tqehead[1]) == 0) {
sys/netpfil/ipfilter/netinet/ip_nat.c
6168
ipf_freetimeoutqueue(softc, n->in_tqehead[1]);
sys/netpfil/ipfilter/netinet/ip_nat.c
6172
if ((n->in_flags & IPN_PROXYRULE) == 0) {
sys/netpfil/ipfilter/netinet/ip_nat.c
6176
MUTEX_DESTROY(&n->in_lock);
sys/netpfil/ipfilter/netinet/ip_nat.c
6178
KFREES(n, n->in_size);
sys/netpfil/ipfilter/netinet/ip_nat.c
626
ipf_nat_addrdr(ipf_nat_softc_t *softn, ipnat_t *n)
sys/netpfil/ipfilter/netinet/ip_nat.c
634
if (n->in_odstatype == FRI_NORMAL) {
sys/netpfil/ipfilter/netinet/ip_nat.c
635
k = count4bits(n->in_odstmsk);
sys/netpfil/ipfilter/netinet/ip_nat.c
637
j = (n->in_odstaddr & n->in_odstmsk);
sys/netpfil/ipfilter/netinet/ip_nat.c
648
n->in_rnext = NULL;
sys/netpfil/ipfilter/netinet/ip_nat.c
649
n->in_prnext = np;
sys/netpfil/ipfilter/netinet/ip_nat.c
650
n->in_hv[0] = hv;
sys/netpfil/ipfilter/netinet/ip_nat.c
651
n->in_use++;
sys/netpfil/ipfilter/netinet/ip_nat.c
652
*np = n;
sys/netpfil/ipfilter/netinet/ip_nat.c
666
ipf_nat_addmap(ipf_nat_softc_t *softn, ipnat_t *n)
sys/netpfil/ipfilter/netinet/ip_nat.c
674
if (n->in_osrcatype == FRI_NORMAL) {
sys/netpfil/ipfilter/netinet/ip_nat.c
675
k = count4bits(n->in_osrcmsk);
sys/netpfil/ipfilter/netinet/ip_nat.c
677
j = (n->in_osrcaddr & n->in_osrcmsk);
sys/netpfil/ipfilter/netinet/ip_nat.c
688
n->in_mnext = NULL;
sys/netpfil/ipfilter/netinet/ip_nat.c
689
n->in_pmnext = np;
sys/netpfil/ipfilter/netinet/ip_nat.c
690
n->in_hv[1] = rhv;
sys/netpfil/ipfilter/netinet/ip_nat.c
691
n->in_use++;
sys/netpfil/ipfilter/netinet/ip_nat.c
692
*np = n;
sys/netpfil/ipfilter/netinet/ip_nat.c
704
ipf_nat_delrdr(ipf_nat_softc_t *softn, ipnat_t *n)
sys/netpfil/ipfilter/netinet/ip_nat.c
706
if (n->in_odstatype == FRI_NORMAL) {
sys/netpfil/ipfilter/netinet/ip_nat.c
707
int k = count4bits(n->in_odstmsk);
sys/netpfil/ipfilter/netinet/ip_nat.c
712
if (n->in_rnext)
sys/netpfil/ipfilter/netinet/ip_nat.c
713
n->in_rnext->in_prnext = n->in_prnext;
sys/netpfil/ipfilter/netinet/ip_nat.c
714
*n->in_prnext = n->in_rnext;
sys/netpfil/ipfilter/netinet/ip_nat.c
715
n->in_use--;
sys/netpfil/ipfilter/netinet/ip_nat.c
727
ipf_nat_delmap(ipf_nat_softc_t *softn, ipnat_t *n)
sys/netpfil/ipfilter/netinet/ip_nat.c
729
if (n->in_osrcatype == FRI_NORMAL) {
sys/netpfil/ipfilter/netinet/ip_nat.c
730
int k = count4bits(n->in_osrcmsk);
sys/netpfil/ipfilter/netinet/ip_nat.c
735
if (n->in_mnext != NULL)
sys/netpfil/ipfilter/netinet/ip_nat.c
736
n->in_mnext->in_pmnext = n->in_pmnext;
sys/netpfil/ipfilter/netinet/ip_nat.c
737
*n->in_pmnext = n->in_mnext;
sys/netpfil/ipfilter/netinet/ip_nat.c
738
n->in_use--;
sys/netpfil/ipfilter/netinet/ip_nat.c
7606
int i, n, *x, e, p;
sys/netpfil/ipfilter/netinet/ip_nat.c
7609
n = array[0];
sys/netpfil/ipfilter/netinet/ip_nat.c
7612
for (; n > 0; x += 3 + x[2]) {
sys/netpfil/ipfilter/netinet/ip_nat.c
7617
n -= x[2] + 3;
sys/netpfil/ipfilter/netinet/ip_nat.c
7618
if (n < 0)
sys/netpfil/ipfilter/netinet/ip_nat.c
8332
ipnat_t *n)
sys/netpfil/ipfilter/netinet/ip_nat.c
8336
if ((n->in_flags & IPN_SIPRANGE) != 0)
sys/netpfil/ipfilter/netinet/ip_nat.c
8337
n->in_nsrcatype = FRI_RANGE;
sys/netpfil/ipfilter/netinet/ip_nat.c
8339
if ((n->in_flags & IPN_DIPRANGE) != 0)
sys/netpfil/ipfilter/netinet/ip_nat.c
8340
n->in_ndstatype = FRI_RANGE;
sys/netpfil/ipfilter/netinet/ip_nat.c
8342
if ((n->in_flags & IPN_SPLIT) != 0)
sys/netpfil/ipfilter/netinet/ip_nat.c
8343
n->in_ndstatype = FRI_SPLIT;
sys/netpfil/ipfilter/netinet/ip_nat.c
8345
if ((n->in_redir & (NAT_MAP|NAT_REWRITE|NAT_DIVERTUDP)) != 0)
sys/netpfil/ipfilter/netinet/ip_nat.c
8346
n->in_spnext = n->in_spmin;
sys/netpfil/ipfilter/netinet/ip_nat.c
8348
if ((n->in_redir & (NAT_REWRITE|NAT_DIVERTUDP)) != 0) {
sys/netpfil/ipfilter/netinet/ip_nat.c
8349
n->in_dpnext = n->in_dpmin;
sys/netpfil/ipfilter/netinet/ip_nat.c
8350
} else if (n->in_redir == NAT_REDIRECT) {
sys/netpfil/ipfilter/netinet/ip_nat.c
8351
n->in_dpnext = n->in_dpmin;
sys/netpfil/ipfilter/netinet/ip_nat.c
8354
n->in_stepnext = 0;
sys/netpfil/ipfilter/netinet/ip_nat.c
8356
switch (n->in_v[0])
sys/netpfil/ipfilter/netinet/ip_nat.c
8359
error = ipf_nat_ruleaddrinit(softc, softn, n);
sys/netpfil/ipfilter/netinet/ip_nat.c
8365
error = ipf_nat6_ruleaddrinit(softc, softn, n);
sys/netpfil/ipfilter/netinet/ip_nat.c
8374
if (n->in_redir == (NAT_DIVERTUDP|NAT_MAP)) {
sys/netpfil/ipfilter/netinet/ip_nat.c
8380
n->in_dlocal = ipf_deliverlocal(softc, n->in_v[1],
sys/netpfil/ipfilter/netinet/ip_nat.c
8381
n->in_ifps[1], &n->in_ndstip6);
sys/netpfil/ipfilter/netinet/ip_nat.c
8400
ipf_nat_rule_fini(ipf_main_softc_t *softc, ipnat_t *n)
sys/netpfil/ipfilter/netinet/ip_nat.c
8402
if (n->in_odst.na_atype == FRI_LOOKUP && n->in_odst.na_ptr != NULL)
sys/netpfil/ipfilter/netinet/ip_nat.c
8403
ipf_lookup_deref(softc, n->in_odst.na_type, n->in_odst.na_ptr);
sys/netpfil/ipfilter/netinet/ip_nat.c
8405
if (n->in_osrc.na_atype == FRI_LOOKUP && n->in_osrc.na_ptr != NULL)
sys/netpfil/ipfilter/netinet/ip_nat.c
8406
ipf_lookup_deref(softc, n->in_osrc.na_type, n->in_osrc.na_ptr);
sys/netpfil/ipfilter/netinet/ip_nat.c
8408
if (n->in_ndst.na_atype == FRI_LOOKUP && n->in_ndst.na_ptr != NULL)
sys/netpfil/ipfilter/netinet/ip_nat.c
8409
ipf_lookup_deref(softc, n->in_ndst.na_type, n->in_ndst.na_ptr);
sys/netpfil/ipfilter/netinet/ip_nat.c
8411
if (n->in_nsrc.na_atype == FRI_LOOKUP && n->in_nsrc.na_ptr != NULL)
sys/netpfil/ipfilter/netinet/ip_nat.c
8412
ipf_lookup_deref(softc, n->in_nsrc.na_type, n->in_nsrc.na_ptr);
sys/netpfil/ipfilter/netinet/ip_nat.c
8414
if (n->in_divmp != NULL)
sys/netpfil/ipfilter/netinet/ip_nat.c
8415
FREE_MB_T(n->in_divmp);
sys/netpfil/ipfilter/netinet/ip_nat.c
855
ipf_fix_outcksum(int cksum, u_short *sp, u_32_t n, u_32_t partial)
sys/netpfil/ipfilter/netinet/ip_nat.c
860
if (n == 0)
sys/netpfil/ipfilter/netinet/ip_nat.c
874
sum1 += (n);
sys/netpfil/ipfilter/netinet/ip_nat.c
894
ipf_fix_incksum(int cksum, u_short *sp, u_32_t n, u_32_t partial)
sys/netpfil/ipfilter/netinet/ip_nat.c
899
if (n == 0)
sys/netpfil/ipfilter/netinet/ip_nat.c
914
sum1 += ~(n) & 0xffff;
sys/netpfil/ipfilter/netinet/ip_nat.c
942
ipf_fix_datacksum(u_short *sp, u_32_t n)
sys/netpfil/ipfilter/netinet/ip_nat.c
947
if (n == 0)
sys/netpfil/ipfilter/netinet/ip_nat.c
951
sum1 += (n);
sys/netpfil/ipfilter/netinet/ip_nat.c
979
ipnat_t *nat, *nt, *n;
sys/netpfil/ipfilter/netinet/ip_nat6.c
150
ipnat_t *n)
sys/netpfil/ipfilter/netinet/ip_nat6.c
154
if (n->in_redir == NAT_BIMAP) {
sys/netpfil/ipfilter/netinet/ip_nat6.c
155
n->in_ndstip6 = n->in_osrcip6;
sys/netpfil/ipfilter/netinet/ip_nat6.c
156
n->in_ndstmsk6 = n->in_osrcmsk6;
sys/netpfil/ipfilter/netinet/ip_nat6.c
157
n->in_odstip6 = n->in_nsrcip6;
sys/netpfil/ipfilter/netinet/ip_nat6.c
158
n->in_odstmsk6 = n->in_nsrcmsk6;
sys/netpfil/ipfilter/netinet/ip_nat6.c
162
if (n->in_redir & NAT_REDIRECT)
sys/netpfil/ipfilter/netinet/ip_nat6.c
169
error = ipf_nat6_nextaddrinit(softc, n->in_names, &n->in_osrc, 1,
sys/netpfil/ipfilter/netinet/ip_nat6.c
170
n->in_ifps[idx]);
sys/netpfil/ipfilter/netinet/ip_nat6.c
174
error = ipf_nat6_nextaddrinit(softc, n->in_names, &n->in_odst, 1,
sys/netpfil/ipfilter/netinet/ip_nat6.c
175
n->in_ifps[idx]);
sys/netpfil/ipfilter/netinet/ip_nat6.c
179
error = ipf_nat6_nextaddrinit(softc, n->in_names, &n->in_nsrc, 1,
sys/netpfil/ipfilter/netinet/ip_nat6.c
180
n->in_ifps[idx]);
sys/netpfil/ipfilter/netinet/ip_nat6.c
184
error = ipf_nat6_nextaddrinit(softc, n->in_names, &n->in_ndst, 1,
sys/netpfil/ipfilter/netinet/ip_nat6.c
185
n->in_ifps[idx]);
sys/netpfil/ipfilter/netinet/ip_nat6.c
189
if (n->in_redir & NAT_DIVERTUDP)
sys/netpfil/ipfilter/netinet/ip_nat6.c
190
ipf_nat6_builddivertmp(softn, n);
sys/netpfil/ipfilter/netinet/ip_nat6.c
205
ipf_nat6_addrdr(ipf_nat_softc_t *softn, ipnat_t *n)
sys/netpfil/ipfilter/netinet/ip_nat6.c
213
if ((n->in_redir & NAT_BIMAP) == NAT_BIMAP) {
sys/netpfil/ipfilter/netinet/ip_nat6.c
214
k = count6bits(n->in_nsrcmsk6.i6);
sys/netpfil/ipfilter/netinet/ip_nat6.c
215
mask = &n->in_nsrcmsk6;
sys/netpfil/ipfilter/netinet/ip_nat6.c
216
IP6_AND(&n->in_odstip6, &n->in_odstmsk6, &j);
sys/netpfil/ipfilter/netinet/ip_nat6.c
219
} else if (n->in_odstatype == FRI_NORMAL) {
sys/netpfil/ipfilter/netinet/ip_nat6.c
220
k = count6bits(n->in_odstmsk6.i6);
sys/netpfil/ipfilter/netinet/ip_nat6.c
221
mask = &n->in_odstmsk6;
sys/netpfil/ipfilter/netinet/ip_nat6.c
222
IP6_AND(&n->in_odstip6, &n->in_odstmsk6, &j);
sys/netpfil/ipfilter/netinet/ip_nat6.c
234
n->in_rnext = NULL;
sys/netpfil/ipfilter/netinet/ip_nat6.c
235
n->in_prnext = np;
sys/netpfil/ipfilter/netinet/ip_nat6.c
236
n->in_hv[0] = hv;
sys/netpfil/ipfilter/netinet/ip_nat6.c
237
n->in_use++;
sys/netpfil/ipfilter/netinet/ip_nat6.c
238
*np = n;
sys/netpfil/ipfilter/netinet/ip_nat6.c
252
ipf_nat6_addmap(ipf_nat_softc_t *softn, ipnat_t *n)
sys/netpfil/ipfilter/netinet/ip_nat6.c
260
if (n->in_osrcatype == FRI_NORMAL) {
sys/netpfil/ipfilter/netinet/ip_nat6.c
261
k = count6bits(n->in_osrcmsk6.i6);
sys/netpfil/ipfilter/netinet/ip_nat6.c
262
mask = &n->in_osrcmsk6;
sys/netpfil/ipfilter/netinet/ip_nat6.c
263
IP6_AND(&n->in_osrcip6, &n->in_osrcmsk6, &j);
sys/netpfil/ipfilter/netinet/ip_nat6.c
275
n->in_mnext = NULL;
sys/netpfil/ipfilter/netinet/ip_nat6.c
276
n->in_pmnext = np;
sys/netpfil/ipfilter/netinet/ip_nat6.c
277
n->in_hv[1] = hv;
sys/netpfil/ipfilter/netinet/ip_nat6.c
278
n->in_use++;
sys/netpfil/ipfilter/netinet/ip_nat6.c
279
*np = n;
sys/netpfil/ipfilter/netinet/ip_nat6.c
291
ipf_nat6_delrdr(ipf_nat_softc_t *softn, ipnat_t *n)
sys/netpfil/ipfilter/netinet/ip_nat6.c
296
if ((n->in_redir & NAT_BIMAP) == NAT_BIMAP) {
sys/netpfil/ipfilter/netinet/ip_nat6.c
297
k = count6bits(n->in_nsrcmsk6.i6);
sys/netpfil/ipfilter/netinet/ip_nat6.c
298
mask = &n->in_nsrcmsk6;
sys/netpfil/ipfilter/netinet/ip_nat6.c
299
} else if (n->in_odstatype == FRI_NORMAL) {
sys/netpfil/ipfilter/netinet/ip_nat6.c
300
k = count6bits(n->in_odstmsk6.i6);
sys/netpfil/ipfilter/netinet/ip_nat6.c
301
mask = &n->in_odstmsk6;
sys/netpfil/ipfilter/netinet/ip_nat6.c
308
if (n->in_rnext != NULL)
sys/netpfil/ipfilter/netinet/ip_nat6.c
309
n->in_rnext->in_prnext = n->in_prnext;
sys/netpfil/ipfilter/netinet/ip_nat6.c
310
*n->in_prnext = n->in_rnext;
sys/netpfil/ipfilter/netinet/ip_nat6.c
311
n->in_use--;
sys/netpfil/ipfilter/netinet/ip_nat6.c
323
ipf_nat6_delmap(ipf_nat_softc_t *softn, ipnat_t *n)
sys/netpfil/ipfilter/netinet/ip_nat6.c
328
if (n->in_osrcatype == FRI_NORMAL) {
sys/netpfil/ipfilter/netinet/ip_nat6.c
329
k = count6bits(n->in_osrcmsk6.i6);
sys/netpfil/ipfilter/netinet/ip_nat6.c
330
mask = &n->in_osrcmsk6;
sys/netpfil/ipfilter/netinet/ip_nat6.c
337
if (n->in_mnext != NULL)
sys/netpfil/ipfilter/netinet/ip_nat6.c
338
n->in_mnext->in_pmnext = n->in_pmnext;
sys/netpfil/ipfilter/netinet/ip_nat6.c
339
*n->in_pmnext = n->in_mnext;
sys/netpfil/ipfilter/netinet/ip_nat6.c
340
n->in_use--;
sys/netpfil/ipfilter/netinet/ip_pool.c
1135
ip_pool_node_t *n, **next;
sys/netpfil/ipfilter/netinet/ip_pool.c
1137
for (next = &ipo->ipo_list; (n = *next) != NULL; )
sys/netpfil/ipfilter/netinet/ip_pool.c
1138
ipf_pool_remove_node(softc, softp, ipo, n);
sys/netpfil/ipfilter/netinet/ip_pool.c
1367
ip_pool_node_t *n;
sys/netpfil/ipfilter/netinet/ip_pool.c
1369
while ((n = softp->ipf_node_explist) != NULL) {
sys/netpfil/ipfilter/netinet/ip_pool.c
1374
if (n->ipn_die > softc->ipf_ticks)
sys/netpfil/ipfilter/netinet/ip_pool.c
1376
ipf_pool_remove_node(softc, softp, n->ipn_owner, n);
sys/netpfil/ipfilter/netinet/ip_pool.c
702
ipf_rdx_node_t *n;
sys/netpfil/ipfilter/netinet/ip_pool.c
704
n = ipo->ipo_head->lookup(ipo->ipo_head, addr, mask);
sys/netpfil/ipfilter/netinet/ip_pool.c
705
return (ip_pool_node_t *)n;
sys/netpfil/ipfilter/netinet/ip_pool.c
825
ip_pool_node_t *n;
sys/netpfil/ipfilter/netinet/ip_pool.c
828
for (n = softp->ipf_node_explist; n != NULL; n = n->ipn_dnext) {
sys/netpfil/ipfilter/netinet/ip_pool.c
829
if (x->ipn_die < n->ipn_die)
sys/netpfil/ipfilter/netinet/ip_pool.c
831
if (n->ipn_dnext == NULL) {
sys/netpfil/ipfilter/netinet/ip_pool.c
837
n->ipn_dnext = x;
sys/netpfil/ipfilter/netinet/ip_pool.c
838
x->ipn_pdnext = &n->ipn_dnext;
sys/netpfil/ipfilter/netinet/ip_pool.c
839
n = NULL;
sys/netpfil/ipfilter/netinet/ip_pool.c
847
} else if (n != NULL) {
sys/netpfil/ipfilter/netinet/ip_pool.c
848
x->ipn_dnext = n;
sys/netpfil/ipfilter/netinet/ip_pool.c
849
x->ipn_pdnext = n->ipn_pdnext;
sys/netpfil/ipfilter/netinet/ip_pool.c
850
n->ipn_pdnext = &x->ipn_dnext;
sys/netpfil/ipfilter/netinet/ip_scan.c
283
ipf_scan_matchstr(sinfo_t *sp, char *str, int n)
sys/netpfil/ipfilter/netinet/ip_scan.c
286
int i = n;
sys/netpfil/ipfilter/netinet/ip_scan.c
317
int i, j, k, n, ret = 0, flags;
sys/netpfil/ipfilter/netinet/ip_scan.c
342
n = MIN(cl, isc->ipsc_clen);
sys/netpfil/ipfilter/netinet/ip_scan.c
343
if ((n > 0) && (!maxm || (n >= maxm[1]))) {
sys/netpfil/ipfilter/netinet/ip_scan.c
345
is->is_sbuf[0], n)) {
sys/netpfil/ipfilter/netinet/ip_scan.c
348
if (n > j)
sys/netpfil/ipfilter/netinet/ip_scan.c
349
j = n;
sys/netpfil/ipfilter/netinet/ip_scan.c
359
n = MIN(cl, isc->ipsc_slen);
sys/netpfil/ipfilter/netinet/ip_scan.c
360
if ((n > 0) && (!maxm || (n >= maxm[1]))) {
sys/netpfil/ipfilter/netinet/ip_scan.c
362
is->is_sbuf[1], n)) {
sys/netpfil/ipfilter/netinet/ip_scan.c
365
if (n > k)
sys/netpfil/ipfilter/netinet/ip_scan.c
366
k = n;
sys/netpfil/ipfilter/netinet/ip_scan.c
382
int i, j, k, n, cl, sl, maxm[2];
sys/netpfil/ipfilter/netinet/ip_scan.c
386
for (cl = 0, n = is->is_smsk[0]; n & 1; n >>= 1)
sys/netpfil/ipfilter/netinet/ip_scan.c
388
for (sl = 0, n = is->is_smsk[1]; n & 1; n >>= 1)
sys/netpfil/ipfilter/netinet/ip_state.c
4921
u_int i, n, *x, rv, p;
sys/netpfil/ipfilter/netinet/ip_state.c
4925
n = array[0];
sys/netpfil/ipfilter/netinet/ip_state.c
4928
for (; n > 0; x += 3 + x[3], rv = 0) {
sys/netpfil/ipfilter/netinet/ip_state.c
4930
n -= e->ipfe_size;
sys/netpfil/ipfilter/netinet/ip_sync.c
323
ipf_sync_natorder(int way, nat_t *n)
sys/netpfil/ipfilter/netinet/ip_sync.c
326
n->nat_age = htonl(n->nat_age);
sys/netpfil/ipfilter/netinet/ip_sync.c
327
n->nat_flags = htonl(n->nat_flags);
sys/netpfil/ipfilter/netinet/ip_sync.c
328
n->nat_ipsumd = htonl(n->nat_ipsumd);
sys/netpfil/ipfilter/netinet/ip_sync.c
329
n->nat_use = htonl(n->nat_use);
sys/netpfil/ipfilter/netinet/ip_sync.c
330
n->nat_dir = htonl(n->nat_dir);
sys/netpfil/ipfilter/netinet/ip_sync.c
332
n->nat_age = ntohl(n->nat_age);
sys/netpfil/ipfilter/netinet/ip_sync.c
333
n->nat_flags = ntohl(n->nat_flags);
sys/netpfil/ipfilter/netinet/ip_sync.c
334
n->nat_ipsumd = ntohl(n->nat_ipsumd);
sys/netpfil/ipfilter/netinet/ip_sync.c
335
n->nat_use = ntohl(n->nat_use);
sys/netpfil/ipfilter/netinet/ip_sync.c
336
n->nat_dir = ntohl(n->nat_dir);
sys/netpfil/ipfilter/netinet/ip_sync.c
883
nat_t *n, *nat;
sys/netpfil/ipfilter/netinet/ip_sync.c
893
KMALLOC(n, nat_t *);
sys/netpfil/ipfilter/netinet/ip_sync.c
894
if (n == NULL) {
sys/netpfil/ipfilter/netinet/ip_sync.c
904
KFREE(n);
sys/netpfil/ipfilter/netinet/ip_sync.c
914
bzero((char *)n, offsetof(nat_t, nat_age));
sys/netpfil/ipfilter/netinet/ip_sync.c
915
bcopy((char *)&nat->nat_age, (char *)&n->nat_age,
sys/netpfil/ipfilter/netinet/ip_sync.c
916
sizeof(*n) - offsetof(nat_t, nat_age));
sys/netpfil/ipfilter/netinet/ip_sync.c
917
ipf_sync_natorder(0, n);
sys/netpfil/ipfilter/netinet/ip_sync.c
918
n->nat_sync = sl;
sys/netpfil/ipfilter/netinet/ip_sync.c
919
n->nat_rev = sl->sl_rev;
sys/netpfil/ipfilter/netinet/ip_sync.c
922
sl->sl_ipn = n;
sys/netpfil/ipfilter/netinet/ip_sync.c
931
(void) ipf_nat_insert(softc, softc->ipf_nat_soft, n);
sys/netpfil/ipfilter/netinet/ipf_rb.h
84
_t *n, *parent, **p, *tmp1, *gparent; \
sys/netpfil/ipfilter/netinet/ipf_rb.h
90
while ((n = *p) != &_n##_rb_zero) { \
sys/netpfil/ipfilter/netinet/ipf_rb.h
91
if (_cmp(node, n) < 0) \
sys/netpfil/ipfilter/netinet/ipf_rb.h
92
p = &n->_f.left; \
sys/netpfil/ipfilter/netinet/ipf_rb.h
94
p = &n->_f.right; \
sys/netpfil/ipfilter/netinet/ipf_rb.h
95
parent = n; \
sys/netpfil/ipfilter/netinet/radix_ipf.c
1364
add_addr(ipf_rdx_head_t *rnh, int n, int item)
sys/netpfil/ipfilter/netinet/radix_ipf.c
1382
printf("ADD %d/%d %s/%s\n", n, item, rn[0].name, rn[1].name);
sys/netpfil/ipfilter/netinet/radix_ipf.c
37
ipf_rdx_node_t n[2]);
sys/netpfil/ipfw/dn_heap.h
100
#define SET_HEAP_OFS(h, n) do { (h)->ofs = n; } while (0)
sys/netpfil/ipfw/dn_sched_qfq.c
77
int fls(unsigned int n)
sys/netpfil/ipfw/dn_sched_qfq.c
80
for (i = 0; n > 0; n >>= 1, i++)
sys/netpfil/ipfw/dn_sched_wf2q.c
116
idle_check(struct wf2qp_si *si, int n, int force)
sys/netpfil/ipfw/dn_sched_wf2q.c
119
while (n-- > 0 && h->elements > 0 &&
sys/netpfil/ipfw/ip_dn_io.c
779
struct mbuf *n;
sys/netpfil/ipfw/ip_dn_io.c
783
for (; m != NULL; m = n) {
sys/netpfil/ipfw/ip_dn_io.c
788
n = m->m_nextpkt;
sys/netpfil/ipfw/ip_dummynet.c
1112
int n = 0, space = sizeof(*o);
sys/netpfil/ipfw/ip_dummynet.c
1115
n++;
sys/netpfil/ipfw/ip_dummynet.c
1117
space += n * sizeof(uint32_t);
sys/netpfil/ipfw/ip_dummynet.c
1118
DX(3, "sched %d has %d flowsets", s->sch.sched_nr, n);
sys/netpfil/ipfw/ip_dummynet.c
1138
int n;
sys/netpfil/ipfw/ip_dummynet.c
1146
n = s->sch.sched_nr;
sys/netpfil/ipfw/ip_dummynet.c
1147
if (a->type == DN_SCH && n >= DN_MAX_ID)
sys/netpfil/ipfw/ip_dummynet.c
1149
if (a->type == DN_LINK && n <= DN_MAX_ID)
sys/netpfil/ipfw/ip_dummynet.c
1154
if (n < r[0] || n > r[1])
sys/netpfil/ipfw/ip_dummynet.c
1159
&s->link, "link", n))
sys/netpfil/ipfw/ip_dummynet.c
1168
&s->sch, "sched", n))
sys/netpfil/ipfw/ip_dummynet.c
1182
n = fs->fs.fs_nr;
sys/netpfil/ipfw/ip_dummynet.c
1183
if (n >= DN_MAX_ID)
sys/netpfil/ipfw/ip_dummynet.c
1187
if (n < r[0] || n > r[1])
sys/netpfil/ipfw/ip_dummynet.c
800
int n __unused = 0; /* only for stats */
sys/netpfil/ipfw/ip_dummynet.c
805
n++;
sys/netpfil/ipfw/ip_dummynet.c
808
ND("done %d flowsets", n);
sys/netpfil/ipfw/ip_fw_bpf.c
79
int n __diagused;
sys/netpfil/ipfw/ip_fw_bpf.c
93
n = snprintf(tap->name, sizeof(tap->name), "ipfw%u", rule);
sys/netpfil/ipfw/ip_fw_bpf.c
94
MPASS(n > 4 && n < sizeof("ipfw4294967295"));
sys/netpfil/ipfw/ip_fw_nat.c
1024
struct cfg_nat *n;
sys/netpfil/ipfw/ip_fw_nat.c
1040
LIST_FOREACH(n, &chain->nat, _next) {
sys/netpfil/ipfw/ip_fw_nat.c
1043
LIST_FOREACH(r, &n->redir_chain, _next) {
sys/netpfil/ipfw/ip_fw_nat.c
1061
LIST_FOREACH(n, &chain->nat, _next) {
sys/netpfil/ipfw/ip_fw_nat.c
1063
ucfg->id = n->id;
sys/netpfil/ipfw/ip_fw_nat.c
1064
ucfg->ip = n->ip;
sys/netpfil/ipfw/ip_fw_nat.c
1065
ucfg->redir_cnt = n->redir_cnt;
sys/netpfil/ipfw/ip_fw_nat.c
1066
ucfg->mode = n->mode;
sys/netpfil/ipfw/ip_fw_nat.c
1067
strlcpy(ucfg->if_name, n->if_name, sizeof(ucfg->if_name));
sys/netpfil/ipfw/ip_fw_nat.c
1069
LIST_FOREACH(r, &n->redir_chain, _next) {
sys/netpfil/ipfw/ip_fw_nat.c
158
del_redir_spool_cfg(struct cfg_nat *n, struct redir_chain *head)
sys/netpfil/ipfw/ip_fw_nat.c
174
LibAliasRedirectDelete(n->lib, r->alink[i]);
sys/netpfil/ipfw/ip_fw_sockopt.c
2547
uint32_t count, n, size;
sys/netpfil/ipfw/ip_fw_sockopt.c
2571
for (n = 0; n < count; n++) {
sys/netpfil/ipfw/ip_fw_sockopt.c
2574
sh = &ctl3_handlers[n];
sys/netpfil/ipfw/ip_fw_sockopt.c
3735
ipfw_objhash_alloc_idx(void *n, uint32_t *pidx)
sys/netpfil/ipfw/ip_fw_sockopt.c
3741
ni = (struct namedobj_instance *)n;
sys/netpfil/ipfw/ip_fw_sockopt.c
737
int i, n, ndyn, ofs;
sys/netpfil/ipfw/ip_fw_sockopt.c
770
n = 0;
sys/netpfil/ipfw/ip_fw_sockopt.c
784
n++;
sys/netpfil/ipfw/ip_fw_sockopt.c
794
map = swap_map(chain, map, chain->n_rules - n);
sys/netpfil/ipfw/ip_fw_sockopt.c
810
*ndel = n;
sys/netpfil/ipfw/ip_fw_table.c
2131
uint32_t count, n, size;
sys/netpfil/ipfw/ip_fw_table.c
2155
for (n = 1; n <= count; n++) {
sys/netpfil/ipfw/ip_fw_table.c
2158
ta = tcfg->algo[n];
sys/netpfil/ipfw/ip_fw_table_algo.c
4289
struct mac_radix_entry *n = (struct mac_radix_entry *)e;
sys/netpfil/ipfw/ip_fw_table_algo.c
4291
memcpy(tent->k.mac, n->sa.mac_addr.octet, ETHER_ADDR_LEN);
sys/netpfil/ipfw/ip_fw_table_algo.c
4292
tent->masklen = n->masklen;
sys/netpfil/ipfw/ip_fw_table_algo.c
4294
tent->v.kidx = n->value;
sys/netpfil/ipfw/ip_fw_table_algo.c
524
struct addr_radix_entry *n;
sys/netpfil/ipfw/ip_fw_table_algo.c
529
n = (struct addr_radix_entry *)e;
sys/netpfil/ipfw/ip_fw_table_algo.c
532
if (n->addr.sin_family == AF_INET) {
sys/netpfil/ipfw/ip_fw_table_algo.c
533
tent->k.addr.s_addr = n->addr.sin_addr.s_addr;
sys/netpfil/ipfw/ip_fw_table_algo.c
534
tent->masklen = n->masklen;
sys/netpfil/ipfw/ip_fw_table_algo.c
536
tent->v.kidx = n->value;
sys/netpfil/ipfw/nat64/nat64_translate.c
1088
n = m_get2(offset + plen + max_hdr, M_NOWAIT, MT_HEADER, M_PKTHDR);
sys/netpfil/ipfw/nat64/nat64_translate.c
1089
if (n == NULL) {
sys/netpfil/ipfw/nat64/nat64_translate.c
1094
m_move_pkthdr(n, m);
sys/netpfil/ipfw/nat64/nat64_translate.c
1095
M_ALIGN(n, offset + plen + max_hdr);
sys/netpfil/ipfw/nat64/nat64_translate.c
1096
n->m_len = n->m_pkthdr.len = offset + plen;
sys/netpfil/ipfw/nat64/nat64_translate.c
1100
eip6 = mtodo(n, offset + sizeof(struct icmp6_hdr));
sys/netpfil/ipfw/nat64/nat64_translate.c
1151
m_freem(n);
sys/netpfil/ipfw/nat64/nat64_translate.c
1165
icmp = mtodo(n, offset);
sys/netpfil/ipfw/nat64/nat64_translate.c
1172
in_cksum_skip(n, n->m_pkthdr.len, offset));
sys/netpfil/ipfw/nat64/nat64_translate.c
1173
return (n);
sys/netpfil/ipfw/nat64/nat64_translate.c
541
struct mbuf *n;
sys/netpfil/ipfw/nat64/nat64_translate.c
583
n = NULL;
sys/netpfil/ipfw/nat64/nat64_translate.c
594
n = m_split(m, len, M_NOWAIT);
sys/netpfil/ipfw/nat64/nat64_translate.c
595
if (n == NULL)
sys/netpfil/ipfw/nat64/nat64_translate.c
606
m = n;
sys/netpfil/ipfw/nat64/nat64_translate.c
613
if (n != NULL)
sys/netpfil/ipfw/nat64/nat64_translate.c
614
m_freem(n);
sys/netpfil/ipfw/nat64/nat64_translate.c
649
struct mbuf *n;
sys/netpfil/ipfw/nat64/nat64_translate.c
709
n = m_get2(sizeof(struct ip6_hdr) + plen + max_hdr, M_NOWAIT,
sys/netpfil/ipfw/nat64/nat64_translate.c
711
if (n == NULL) {
sys/netpfil/ipfw/nat64/nat64_translate.c
724
m_move_pkthdr(n, m);
sys/netpfil/ipfw/nat64/nat64_translate.c
725
M_ALIGN(n, sizeof(struct ip6_hdr) + plen + max_hdr);
sys/netpfil/ipfw/nat64/nat64_translate.c
727
n->m_len = n->m_pkthdr.len = sizeof(struct ip6_hdr) + plen;
sys/netpfil/ipfw/nat64/nat64_translate.c
728
oip6 = mtod(n, struct ip6_hdr *);
sys/netpfil/ipfw/nat64/nat64_translate.c
734
if (in6_selectsrc_addr(M_GETFIB(n), &ip6->ip6_src, 0,
sys/netpfil/ipfw/nat64/nat64_translate.c
735
n->m_pkthdr.rcvif, &oip6->ip6_src, NULL) != 0) {
sys/netpfil/ipfw/nat64/nat64_translate.c
739
m_freem(n);
sys/netpfil/ipfw/nat64/nat64_translate.c
749
icmp6 = mtodo(n, sizeof(struct ip6_hdr));
sys/netpfil/ipfw/nat64/nat64_translate.c
755
m_copydata(m, 0, len, mtodo(n, sizeof(struct ip6_hdr) +
sys/netpfil/ipfw/nat64/nat64_translate.c
757
icmp6->icmp6_cksum = in6_cksum(n, IPPROTO_ICMPV6,
sys/netpfil/ipfw/nat64/nat64_translate.c
760
V_nat64out->output_one(n, stats, logdata);
sys/netpfil/ipfw/nat64/nat64_translate.c
794
struct mbuf *n;
sys/netpfil/ipfw/nat64/nat64_translate.c
830
n = m_get2(sizeof(struct ip) + plen + max_hdr, M_NOWAIT,
sys/netpfil/ipfw/nat64/nat64_translate.c
832
if (n == NULL) {
sys/netpfil/ipfw/nat64/nat64_translate.c
837
m_move_pkthdr(n, m);
sys/netpfil/ipfw/nat64/nat64_translate.c
838
M_ALIGN(n, sizeof(struct ip) + plen + max_hdr);
sys/netpfil/ipfw/nat64/nat64_translate.c
840
n->m_len = n->m_pkthdr.len = sizeof(struct ip) + plen;
sys/netpfil/ipfw/nat64/nat64_translate.c
841
oip = mtod(n, struct ip *);
sys/netpfil/ipfw/nat64/nat64_translate.c
845
oip->ip_len = htons(n->m_pkthdr.len);
sys/netpfil/ipfw/nat64/nat64_translate.c
855
icmp = mtodo(n, sizeof(struct ip));
sys/netpfil/ipfw/nat64/nat64_translate.c
861
m_copydata(m, 0, len, mtodo(n, sizeof(struct ip) +
sys/netpfil/ipfw/nat64/nat64_translate.c
863
icmp->icmp_cksum = in_cksum_skip(n, sizeof(struct ip) + plen,
sys/netpfil/ipfw/nat64/nat64_translate.c
866
V_nat64out->output_one(n, stats, logdata);
sys/netpfil/ipfw/nat64/nat64_translate.c
906
struct mbuf *n;
sys/netpfil/ipfw/nat64/nat64lsn.c
193
#define HVAL(p, n, s) jenkins_hash32((const uint32_t *)(p), (n), (s))
sys/netpfil/ipfw/nat64/nat64lsn.c
246
#define FREEMASK_COPY(pg, n, out) \
sys/netpfil/ipfw/nat64/nat64lsn.c
247
(out) = ck_pr_load_64(FREEMASK_CHUNK((pg), (n)))
sys/netpfil/ipfw/nat64/nat64lsn.c
268
#define FREEMASK_COPY(pg, n, out) \
sys/netpfil/ipfw/nat64/nat64lsn.c
269
(out) = ck_pr_load_32(FREEMASK_CHUNK((pg), (n))) | \
sys/netpfil/ipfw/nat64/nat64lsn.c
270
((uint64_t)ck_pr_load_32(FREEMASK_CHUNK((pg), (n)) + 1) << 32)
sys/netpfil/ipfw/nat64/nat64lsn_control.c
554
#define FREEMASK_COPY(pg, n, out) (out) = *FREEMASK_CHUNK((pg), (n))
sys/netpfil/ipfw/nat64/nat64lsn_control.c
556
#define FREEMASK_COPY(pg, n, out) (out) = *FREEMASK_CHUNK((pg), (n)) | \
sys/netpfil/ipfw/nat64/nat64lsn_control.c
557
((uint64_t)*(FREEMASK_CHUNK((pg), (n)) + 1) << 32)
sys/netpfil/ipfw/test/test_dn_heap.c
129
int i, n, n2, n3;
sys/netpfil/ipfw/test/test_dn_heap.c
135
n = (argc > 1) ? atoi(argv[1]) : 0;
sys/netpfil/ipfw/test/test_dn_heap.c
136
if (n <= 0 || n > 1000000)
sys/netpfil/ipfw/test/test_dn_heap.c
137
n = 100;
sys/netpfil/ipfw/test/test_dn_heap.c
140
n = 1000000;
sys/netpfil/ipfw/test/test_dn_heap.c
143
heap_init(&h, n, -1);
sys/netpfil/ipfw/test/test_dn_heap.c
146
for (i=0; i < n; i++)
sys/netpfil/ipfw/test/test_dn_heap.c
147
heap_insert(&h, n3 ? n-i: random(), (void *)(100+i));
sys/netpfil/pf/if_pflog.c
164
uint8_t n = V_npflogifs;
sys/netpfil/pf/if_pflog.c
167
error = sysctl_handle_8(oidp, &n, 0, req);
sys/netpfil/pf/if_pflog.c
169
if (n != V_npflogifs) {
sys/netpfil/pf/if_pflog.c
171
if (n > V_npflogifs) {
sys/netpfil/pf/if_pflog.c
172
for (int i = V_npflogifs; i < n; i++) {
sys/netpfil/pf/if_pflog.c
176
for (int i = V_npflogifs - 1; i >= n; i--) {
sys/netpfil/pf/if_pflog.c
180
V_npflogifs = n;
sys/netpfil/pf/if_pfsync.c
2942
struct mbuf *m, *n;
sys/netpfil/pf/if_pfsync.c
2959
for (; m != NULL; m = n) {
sys/netpfil/pf/if_pfsync.c
2960
n = m->m_nextpkt;
sys/netpfil/pf/if_pfsync.c
541
int n = 0;
sys/netpfil/pf/if_pfsync.c
605
if (ntohl(sp->pfs_1301.rule) == n++)
sys/netpfil/pf/pf.c
1237
struct pf_ksrc_node *n;
sys/netpfil/pf/pf.c
1243
LIST_FOREACH(n, &(*sh)->nodes, entry)
sys/netpfil/pf/pf.c
1244
if (n->rule == rule && n->af == af && n->type == sn_type &&
sys/netpfil/pf/pf.c
1245
((af == AF_INET && n->addr.v4.s_addr == src->v4.s_addr) ||
sys/netpfil/pf/pf.c
1246
(af == AF_INET6 && bcmp(&n->addr, src, sizeof(*src)) == 0)))
sys/netpfil/pf/pf.c
1249
if (n == NULL && !returnlocked)
sys/netpfil/pf/pf.c
1252
return (n);
sys/netpfil/pf/pf.c
4063
struct mbuf *n = NULL;
sys/netpfil/pf/pf.c
4073
if ((n = m_split(m, off, M_NOWAIT)) == NULL)
sys/netpfil/pf/pf.c
4082
m_adj(n, olen);
sys/netpfil/pf/pf.c
4085
M_PREPEND(n, hlen, M_NOWAIT);
sys/netpfil/pf/pf.c
4086
if (n == NULL)
sys/netpfil/pf/pf.c
4092
ip4 = mtod(n, struct ip *);
sys/netpfil/pf/pf.c
4106
ip4->ip_sum = in_cksum(n, ip4->ip_hl << 2);
sys/netpfil/pf/pf.c
4109
ip6 = mtod(n, struct ip6_hdr *);
sys/netpfil/pf/pf.c
4133
mlen = n->m_pkthdr.len;
sys/netpfil/pf/pf.c
4134
m_cat(m, n);
sys/netpfil/pf/pf.c
4919
pf_match_addr(u_int8_t n, const struct pf_addr *a, const struct pf_addr *m,
sys/netpfil/pf/pf.c
4926
return (n == 0);
sys/netpfil/pf/pf.c
4932
return (n == 0);
sys/netpfil/pf/pf.c
4937
return (n != 0);
sys/netpfil/pf/pf_if.c
142
for (int n = 0; n < nkifs; n++) {
sys/netpfil/pf/pf_if.c
960
int n = 0;
sys/netpfil/pf/pf_if.c
967
if (*size <= n++)
sys/netpfil/pf/pf_if.c
974
*size = n;
sys/netpfil/pf/pf_if.c
982
int n;
sys/netpfil/pf/pf_if.c
990
n = strlen(filter);
sys/netpfil/pf/pf_if.c
991
if (n < 1 || n >= IFNAMSIZ)
sys/netpfil/pf/pf_if.c
993
if (filter[n-1] >= '0' && filter[n-1] <= '9')
sys/netpfil/pf/pf_ioctl.c
2694
pf_altq_get_nth_active(u_int32_t n)
sys/netpfil/pf/pf_ioctl.c
2701
if (nr == n)
sys/netpfil/pf/pf_ioctl.c
2707
if (nr == n)
sys/netpfil/pf/pf_ioctl.c
5727
int n;
sys/netpfil/pf/pf_ioctl.c
5734
n = pfr_table_count(&io->pfrio_table, io->pfrio_flags);
sys/netpfil/pf/pf_ioctl.c
5735
if (n < 0) {
sys/netpfil/pf/pf_ioctl.c
5740
io->pfrio_size = min(io->pfrio_size, n);
sys/netpfil/pf/pf_ioctl.c
5764
int n;
sys/netpfil/pf/pf_ioctl.c
5772
n = pfr_table_count(&io->pfrio_table, io->pfrio_flags);
sys/netpfil/pf/pf_ioctl.c
5773
if (n < 0) {
sys/netpfil/pf/pf_ioctl.c
5779
io->pfrio_size = min(io->pfrio_size, n);
sys/netpfil/pf/pf_ioctl.c
5842
int n;
sys/netpfil/pf/pf_ioctl.c
5850
n = pfr_table_count(&io->pfrio_table, io->pfrio_flags);
sys/netpfil/pf/pf_ioctl.c
5851
if (n < 0) {
sys/netpfil/pf/pf_ioctl.c
5857
io->pfrio_size = min(io->pfrio_size, n);
sys/netpfil/pf/pf_ioctl.c
6483
struct pf_ksrc_node *n;
sys/netpfil/pf/pf_ioctl.c
6490
LIST_FOREACH(n, &sh->nodes, entry)
sys/netpfil/pf/pf_ioctl.c
6509
LIST_FOREACH(n, &sh->nodes, entry) {
sys/netpfil/pf/pf_ioctl.c
6514
pf_src_node_copy(n, p);
sys/netpfil/pf/pf_nl.c
1795
struct pf_ksrc_node *n;
sys/netpfil/pf/pf_nl.c
1811
LIST_FOREACH(n, &sh->nodes, entry) {
sys/netpfil/pf/pf_nl.c
1820
nlattr_add_in6_addr(nw, PF_SN_ADDR, &n->addr.v6);
sys/netpfil/pf/pf_nl.c
1821
nlattr_add_in6_addr(nw, PF_SN_RADDR, &n->raddr.v6);
sys/netpfil/pf/pf_nl.c
1822
nlattr_add_u32(nw, PF_SN_RULE_NR, n->rule->nr);
sys/netpfil/pf/pf_nl.c
1823
nlattr_add_u64(nw, PF_SN_BYTES_IN, counter_u64_fetch(n->bytes[0]));
sys/netpfil/pf/pf_nl.c
1824
nlattr_add_u64(nw, PF_SN_BYTES_OUT, counter_u64_fetch(n->bytes[1]));
sys/netpfil/pf/pf_nl.c
1825
nlattr_add_u64(nw, PF_SN_PACKETS_IN, counter_u64_fetch(n->packets[0]));
sys/netpfil/pf/pf_nl.c
1826
nlattr_add_u64(nw, PF_SN_PACKETS_OUT, counter_u64_fetch(n->packets[1]));
sys/netpfil/pf/pf_nl.c
1827
nlattr_add_u32(nw, PF_SN_STATES, n->states);
sys/netpfil/pf/pf_nl.c
1828
nlattr_add_u32(nw, PF_SN_CONNECTIONS, n->conn);
sys/netpfil/pf/pf_nl.c
1829
nlattr_add_u8(nw, PF_SN_AF, n->af);
sys/netpfil/pf/pf_nl.c
1830
nlattr_add_u8(nw, PF_SN_RAF, n->raf);
sys/netpfil/pf/pf_nl.c
1831
nlattr_add_u8(nw, PF_SN_RULE_TYPE, n->ruletype);
sys/netpfil/pf/pf_nl.c
1833
nlattr_add_u64(nw, PF_SN_CREATION, secs - n->creation);
sys/netpfil/pf/pf_nl.c
1834
if (n->expire > secs)
sys/netpfil/pf/pf_nl.c
1835
nlattr_add_u64(nw, PF_SN_EXPIRE, n->expire - secs);
sys/netpfil/pf/pf_nl.c
1840
&n->conn_rate);
sys/netpfil/pf/pf_nl.c
1842
nlattr_add_u8(nw, PF_SN_NODE_TYPE, n->type);
sys/netpfil/pf/pf_nl.c
1997
int n;
sys/netpfil/pf/pf_nl.c
2008
n = pfr_table_count(&attrs.pfrio_table, attrs.pfrio_flags);
sys/netpfil/pf/pf_nl.c
2009
if (n < 0) {
sys/netpfil/pf/pf_nl.c
2014
pfrtstats = mallocarray(n,
sys/netpfil/pf/pf_nl.c
2023
&n, attrs.pfrio_flags | PFR_FLAG_USERIOCTL);
sys/netpfil/pf/pf_nl.c
2031
for (int i = 0; i < n; i++) {
sys/netpfil/pf/pf_nv.c
72
const uint64_t *n; \
sys/netpfil/pf/pf_nv.c
77
n = nvlist_get_number_array(nvl, name, &nitems); \
sys/netpfil/pf/pf_nv.c
83
if (n[i] > max) \
sys/netpfil/pf/pf_nv.c
85
array[i] = (type)n[i]; \
sys/netpfil/pf/pf_table.c
1347
int n, nn;
sys/netpfil/pf/pf_table.c
1354
n = nn = pfr_table_count(filter, flags);
sys/netpfil/pf/pf_table.c
1355
if (n < 0)
sys/netpfil/pf/pf_table.c
1357
if (n > *size) {
sys/netpfil/pf/pf_table.c
1358
*size = n;
sys/netpfil/pf/pf_table.c
1364
if (n-- <= 0)
sys/netpfil/pf/pf_table.c
1369
KASSERT(n == 0, ("%s: corruption detected (%d)", __func__, n));
sys/netpfil/pf/pf_table.c
1381
int n, nn;
sys/netpfil/pf/pf_table.c
1389
n = nn = pfr_table_count(filter, flags);
sys/netpfil/pf/pf_table.c
1390
if (n < 0)
sys/netpfil/pf/pf_table.c
1392
if (n > *size) {
sys/netpfil/pf/pf_table.c
1393
*size = n;
sys/netpfil/pf/pf_table.c
1400
if (n-- <= 0)
sys/netpfil/pf/pf_table.c
1427
KASSERT(n == 0, ("%s: corruption detected (%d)", __func__, n));
sys/netpfil/pf/pf_table.c
847
int rv, n = 0;
sys/netpfil/pf/pf_table.c
857
n++;
sys/netpfil/pf/pf_table.c
859
kt->pfrkt_cnt += n;
sys/netpfil/pf/pf_table.c
910
int n = 0;
sys/netpfil/pf/pf_table.c
914
n++;
sys/netpfil/pf/pf_table.c
916
kt->pfrkt_cnt -= n;
sys/nfs/nfsproto.h
610
#define FA4_SET(n, p) ((p)[(n)/32] |= (1 << ((n) % 32)))
sys/nfs/nfsproto.h
611
#define FA4_CLR(n, p) ((p)[(n)/32] &= ~(1 << ((n) % 32)))
sys/nfs/nfsproto.h
612
#define FA4_ISSET(n, p) ((p)[(n)/32] & (1 << ((n) % 32)))
sys/nfsclient/nfs.h
88
#define NFS_CMPFH(n, f, s) \
sys/nfsclient/nfs.h
89
((n)->n_fhsize == (s) && !bcmp((caddr_t)(n)->n_fhp, (caddr_t)(f), (s)))
sys/nfsserver/nfs.h
65
#define NFS_SRVMAXDATA(n) \
sys/nfsserver/nfs.h
66
(((n)->nd_flag & ND_NFSV3) ? (((n)->nd_nam2) ? \
sys/ofed/drivers/infiniband/core/ib_cq.c
55
int i, n, completed = 0;
sys/ofed/drivers/infiniband/core/ib_cq.c
62
while ((n = ib_poll_cq(cq, min_t(u32, batch,
sys/ofed/drivers/infiniband/core/ib_cq.c
64
for (i = 0; i < n; i++) {
sys/ofed/drivers/infiniband/core/ib_cq.c
73
completed += n;
sys/ofed/drivers/infiniband/core/ib_cq.c
75
if (n != batch || (budget != -1 && completed >= budget))
sys/ofed/drivers/infiniband/core/ib_umem.c
289
int n;
sys/ofed/drivers/infiniband/core/ib_umem.c
295
n = 0;
sys/ofed/drivers/infiniband/core/ib_umem.c
297
n += sg_dma_len(sg) >> umem->page_shift;
sys/ofed/drivers/infiniband/core/ib_umem.c
299
return n;
sys/ofed/drivers/infiniband/core/ib_umem_odp.c
55
static u64 node_start(struct umem_odp_node *n)
sys/ofed/drivers/infiniband/core/ib_umem_odp.c
58
container_of(n, struct ib_umem_odp, interval_tree);
sys/ofed/drivers/infiniband/core/ib_umem_odp.c
68
static u64 node_last(struct umem_odp_node *n)
sys/ofed/drivers/infiniband/core/ib_umem_odp.c
71
container_of(n, struct ib_umem_odp, interval_tree);
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_cm.c
761
struct ipoib_cm_rx *rx, *n;
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_cm.c
768
list_for_each_entry_safe(rx, n, &list, list) {
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_fs.c
161
loff_t n = *pos;
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_fs.c
167
while (n--) {
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_fs.c
49
int i, n;
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_fs.c
51
for (n = 0, i = 0; i < 8; ++i) {
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_fs.c
52
n += sprintf(buf + n, "%x",
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_fs.c
55
buf[n++] = ':';
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_fs.c
62
loff_t n = *pos;
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_fs.c
68
while (n--) {
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_ib.c
374
int n, i;
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_ib.c
376
n = ib_poll_cq(priv->send_cq, MAX_SEND_CQE, priv->send_wc);
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_ib.c
377
for (i = 0; i < n; ++i) {
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_ib.c
385
if (do_start && n != 0)
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_ib.c
388
return n == MAX_SEND_CQE;
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_ib.c
394
int n, i;
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_ib.c
399
n = ib_poll_cq(priv->recv_cq, IPOIB_NUM_WC, priv->ibwc);
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_ib.c
400
for (i = 0; i < n; i++) {
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_ib.c
412
if (n != IPOIB_NUM_WC)
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_ib.c
744
int i, n;
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_ib.c
748
n = ib_poll_cq(priv->recv_cq, IPOIB_NUM_WC, priv->ibwc);
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_ib.c
749
for (i = 0; i < n; ++i) {
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_ib.c
766
} while (n == IPOIB_NUM_WC);
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
339
struct rb_node *n = priv->path_tree.rb_node;
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
343
while (n) {
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
344
path = rb_entry(n, struct ipoib_path, rb_node);
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
350
n = n->rb_left;
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
352
n = n->rb_right;
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
363
struct rb_node **n = &priv->path_tree.rb_node;
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
368
while (*n) {
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
369
pn = *n;
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
375
n = &pn->rb_left;
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
377
n = &pn->rb_right;
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
382
rb_link_node(&path->rb_node, pn, n);
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
430
struct rb_node *n;
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
436
n = rb_first(&priv->path_tree);
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
438
while (n) {
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
439
path = rb_entry(n, struct ipoib_path, rb_node);
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
448
n = rb_next(n);
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_multicast.c
104
struct rb_node *n = priv->multicast_tree.rb_node;
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_multicast.c
106
while (n) {
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_multicast.c
110
mcast = rb_entry(n, struct ipoib_mcast, rb_node);
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_multicast.c
115
n = n->rb_left;
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_multicast.c
117
n = n->rb_right;
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_multicast.c
128
struct rb_node **n = &priv->multicast_tree.rb_node, *pn = NULL;
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_multicast.c
130
while (*n) {
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_multicast.c
134
pn = *n;
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_multicast.c
140
n = &pn->rb_left;
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_multicast.c
142
n = &pn->rb_right;
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_multicast.c
147
rb_link_node(&mcast->rb_node, pn, n);
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_multicast.c
884
struct rb_node *n;
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_multicast.c
890
n = rb_first(&priv->multicast_tree);
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_multicast.c
892
while (n) {
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_multicast.c
893
mcast = rb_entry(n, struct ipoib_mcast, rb_node);
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_multicast.c
908
n = rb_next(n);
sys/ofed/drivers/infiniband/ulp/sdp/sdp_bcopy.c
208
struct mbuf *n;
sys/ofed/drivers/infiniband/ulp/sdp/sdp_bcopy.c
215
for (n = mb; n != NULL; n = n->m_next)
sys/ofed/drivers/infiniband/ulp/sdp/sdp_bcopy.c
216
sbfree(&sk->so_snd, n);
sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c
1224
struct mbuf *m, *n = NULL;
sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c
1343
n = m;
sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c
1348
n->m_next = NULL;
sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c
1361
n->m_next = m;
sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c
1753
int error, n, i;
sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c
1762
n = sdp_count;
sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c
1763
n += imax(n / 8, 10);
sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c
1764
req->oldidx = 2 * (sizeof xig) + n * sizeof(struct xtcpcb);
sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c
1775
n = sdp_count;
sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c
1779
+ n * sizeof(struct xtcpcb));
sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c
1785
xig.xig_count = n;
sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c
1794
ssk != NULL && i < n; ssk = LIST_NEXT(ssk, list)) {
sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c
841
struct mbuf *n;
sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c
848
n = sb->sb_lastrecord;
sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c
852
if (n == NULL) {
sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c
863
for (ncnt = 0; n->m_next; n = n->m_next)
sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c
865
n = sb->sb_lastrecord;
sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c
872
if (M_WRITABLE(n) && ncnt + cnt < SDP_MAX_SEND_SGES &&
sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c
873
n->m_pkthdr.len + mb->m_pkthdr.len - SDP_HEAD_SIZE <
sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c
876
n->m_pkthdr.len += mb->m_pkthdr.len;
sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c
877
n->m_flags |= mb->m_flags & (M_PUSH | M_URG);
sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c
910
struct mbuf *n;
sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c
935
for (n = m, cnt = 0; n->m_next; n = n->m_next)
sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c
938
n = m_collapse(m, M_WAITOK, SDP_MAX_SEND_SGES);
sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c
939
if (n == NULL) {
sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c
943
m = n;
sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c
944
for (cnt = 0; n->m_next; n = n->m_next)
sys/ofed/drivers/infiniband/ulp/sdp/sdp_proc.c
208
static void sdpstats_seq_hist(struct seq_file *seq, char *str, u32 *h, int n,
sys/ofed/drivers/infiniband/ulp/sdp/sdp_proc.c
216
for (i = 0; i < n; i++) {
sys/ofed/drivers/infiniband/ulp/sdp/sdp_proc.c
226
for (i = 0; i < n; i++) {
sys/ofed/drivers/infiniband/ulp/sdp/sdp_proc.c
229
int val = is_log ? (i == n-1 ? 0 : 1<<i) : i;
sys/ofed/drivers/infiniband/ulp/sdp/sdp_rx.c
536
int n, i;
sys/ofed/drivers/infiniband/ulp/sdp/sdp_rx.c
541
n = ib_poll_cq(cq, SDP_NUM_WC, ibwc);
sys/ofed/drivers/infiniband/ulp/sdp/sdp_rx.c
542
for (i = 0; i < n; ++i) {
sys/ofed/drivers/infiniband/ulp/sdp/sdp_rx.c
553
} while (n == SDP_NUM_WC);
sys/ofed/drivers/infiniband/ulp/sdp/sdp_tx.c
283
int n, i;
sys/ofed/drivers/infiniband/ulp/sdp/sdp_tx.c
294
n = ib_poll_cq(ssk->tx_ring.cq, SDP_NUM_WC, ibwc);
sys/ofed/drivers/infiniband/ulp/sdp/sdp_tx.c
295
for (i = 0; i < n; ++i) {
sys/ofed/drivers/infiniband/ulp/sdp/sdp_tx.c
299
} while (n == SDP_NUM_WC);
sys/ofed/drivers/infiniband/ulp/sdp/sdp_zcopy.c
427
int n, j, k;
sys/ofed/drivers/infiniband/ulp/sdp/sdp_zcopy.c
467
n = 0;
sys/ofed/drivers/infiniband/ulp/sdp/sdp_zcopy.c
476
pages[n++] = ib_sg_dma_address(dev,
sys/ofed/drivers/infiniband/ulp/sdp/sdp_zcopy.c
484
fmr = ib_fmr_pool_map_phys(sdp_sk(sk)->sdp_dev->fmr_pool, pages, n, 0);
sys/ofed/include/rdma/ib_mad.h
190
#define IB_SA_COMP_MASK(n) ((__force ib_sa_comp_mask) cpu_to_be64(1ull << (n)))
sys/ofed/include/rdma/ib_verbs.h
3956
int n;
sys/ofed/include/rdma/ib_verbs.h
3958
n = ib_map_mr_sg(mr, sg, sg_nents, sg_offset, page_size);
sys/ofed/include/rdma/ib_verbs.h
3961
return n;
sys/ofed/include/rdma/rdma_vt.h
475
u32 n = hash_32(qpn, rdi->qp_dev->qp_table_bits);
sys/ofed/include/rdma/rdma_vt.h
477
for (qp = rcu_dereference(rdi->qp_dev->qp_table[n]); qp;
sys/ofed/include/rdma/rdmavt_mr.h
111
u16 n; /* current index: mr->map[m]->segs[n] */
sys/ofed/include/rdma/rdmavt_qp.h
449
unsigned n)
sys/ofed/include/rdma/rdmavt_qp.h
454
sizeof(struct rvt_sge)) * n);
sys/ofed/include/rdma/rdmavt_qp.h
461
static inline struct rvt_rwqe *rvt_get_rwqe_ptr(struct rvt_rq *rq, unsigned n)
sys/ofed/include/rdma/rdmavt_qp.h
466
rq->max_sge * sizeof(struct ib_sge)) * n);
sys/opencrypto/ktls_ocf.c
443
struct mbuf *n;
sys/opencrypto/ktls_ocf.c
496
for (n = m; n != NULL; n = n->m_next)
sys/opencrypto/ktls_ocf.c
502
for (i = 1, n = m; n != NULL; n = n->m_next) {
sys/opencrypto/ktls_ocf.c
503
if (n->m_len <= skip) {
sys/opencrypto/ktls_ocf.c
504
skip -= n->m_len;
sys/opencrypto/ktls_ocf.c
507
iov[i].iov_base = mtod(n, char *) + skip;
sys/opencrypto/ktls_ocf.c
508
iov[i].iov_len = n->m_len - skip;
sys/opencrypto/rmd160.c
72
#define ROL(n, x) (((x) << (n)) | ((x) >> (32-(n))))
sys/powerpc/aim/mmu_oea.c
1743
u_int hash, n;
sys/powerpc/aim/mmu_oea.c
1756
n = hash >> 5;
sys/powerpc/aim/mmu_oea.c
1759
if (moea_vsid_bitmap[n] & mask) { /* collision? */
sys/powerpc/aim/mmu_oea.c
1761
if (moea_vsid_bitmap[n] == 0xffffffff) {
sys/powerpc/aim/mmu_oea.c
1765
i = ffs(~moea_vsid_bitmap[n]) - 1;
sys/powerpc/aim/mmu_oea.c
1770
KASSERT(!(moea_vsid_bitmap[n] & mask),
sys/powerpc/aim/mmu_oea.c
1772
moea_vsid_bitmap[n] |= mask;
sys/powerpc/aim/mmu_oea.c
753
u_int n = pa >> ADDR_SR_SHFT;
sys/powerpc/aim/mmu_oea.c
755
battable[n].batl = BATL(pa, BAT_M, BAT_PP_RW);
sys/powerpc/aim/mmu_oea.c
756
battable[n].batu = BATU(pa, BAT_BL_256M, BAT_Vs);
sys/powerpc/aim/mmu_oea64.c
2411
u_int n;
sys/powerpc/aim/mmu_oea64.c
2424
n = hash >> 5;
sys/powerpc/aim/mmu_oea64.c
2427
if (moea64_vsid_bitmap[n] & mask) { /* collision? */
sys/powerpc/aim/mmu_oea64.c
2429
if (moea64_vsid_bitmap[n] == 0xffffffff) {
sys/powerpc/aim/mmu_oea64.c
2433
i = ffs(~moea64_vsid_bitmap[n]) - 1;
sys/powerpc/aim/mmu_oea64.c
2440
KASSERT(!(moea64_vsid_bitmap[n] & mask),
sys/powerpc/aim/mmu_oea64.c
2442
moea64_vsid_bitmap[n] |= mask;
sys/powerpc/aim/mmu_radix.c
894
allocpages(int n)
sys/powerpc/aim/mmu_radix.c
898
ret = moea64_bootstrap_alloc(n * PAGE_SIZE, PAGE_SIZE);
sys/powerpc/aim/mmu_radix.c
899
for (int i = 0; i < n; i++)
sys/powerpc/include/spr.h
435
#define SPR_MMCR1_P8_PMCNSEL_MASK(n) (0xffUL << ((3-(n))*8))
sys/powerpc/include/spr.h
436
#define SPR_MMCR1_P8_PMCNSEL(n, v) ((unsigned long)(v) << ((3-(n))*8))
sys/powerpc/include/spr.h
439
#define SPR_MMCR2_CNBIT(n, bit) ((bit) << (((5 - (n)) * 9) + 10))
sys/powerpc/include/spr.h
440
#define SPR_MMCR2_FCNS(n) SPR_MMCR2_CNBIT(n, 0x100ULL)
sys/powerpc/include/spr.h
441
#define SPR_MMCR2_FCNP0(n) SPR_MMCR2_CNBIT(n, 0x080ULL)
sys/powerpc/include/spr.h
442
#define SPR_MMCR2_FCNP1(n) SPR_MMCR2_CNBIT(n, 0x040ULL)
sys/powerpc/include/spr.h
443
#define SPR_MMCR2_FCNM1(n) SPR_MMCR2_CNBIT(n, 0x020ULL)
sys/powerpc/include/spr.h
444
#define SPR_MMCR2_FCNM0(n) SPR_MMCR2_CNBIT(n, 0x010ULL)
sys/powerpc/include/spr.h
445
#define SPR_MMCR2_FCNWAIT(n) SPR_MMCR2_CNBIT(n, 0x008ULL)
sys/powerpc/include/spr.h
446
#define SPR_MMCR2_FCNH(n) SPR_MMCR2_CNBIT(n, 0x004ULL)
sys/powerpc/include/spr.h
448
#define SPR_MMCR2_FCNHSP(n) \
sys/powerpc/include/spr.h
449
(SPR_MMCR2_FCNS(n) | SPR_MMCR2_FCNP0(n) | \
sys/powerpc/include/spr.h
450
SPR_MMCR2_FCNP1(n) | SPR_MMCR2_FCNH(n))
sys/powerpc/mpc85xx/fsl_diu.c
121
#define DIU_CTRLDESCL(n, m) 0x200 + (0x40 * n) + 0x4 * (m - 1)
sys/powerpc/mpc85xx/fsl_diu.c
122
#define DIU_CTRLDESCLn_1(n) DIU_CTRLDESCL(n, 1)
sys/powerpc/mpc85xx/fsl_diu.c
123
#define DIU_CTRLDESCLn_2(n) DIU_CTRLDESCL(n, 2)
sys/powerpc/mpc85xx/fsl_diu.c
124
#define DIU_CTRLDESCLn_3(n) DIU_CTRLDESCL(n, 3)
sys/powerpc/mpc85xx/fsl_diu.c
126
#define DIU_CTRLDESCLn_4(n) DIU_CTRLDESCL(n, 4)
sys/powerpc/mpc85xx/fsl_diu.c
131
#define DIU_CTRLDESCLn_5(n) DIU_CTRLDESCL(n, 5)
sys/powerpc/mpc85xx/fsl_diu.c
132
#define DIU_CTRLDESCLn_6(n) DIU_CTRLDESCL(n, 6)
sys/powerpc/mpc85xx/fsl_diu.c
133
#define DIU_CTRLDESCLn_7(n) DIU_CTRLDESCL(n, 7)
sys/powerpc/mpc85xx/fsl_diu.c
134
#define DIU_CTRLDESCLn_8(n) DIU_CTRLDESCL(n, 8)
sys/powerpc/mpc85xx/fsl_diu.c
135
#define DIU_CTRLDESCLn_9(n) DIU_CTRLDESCL(n, 9)
sys/powerpc/mpc85xx/fsl_espi.c
103
#define ESPI_CSMODE(n) (ESPI_SPMODE0 + n * 4)
sys/powerpc/mpc85xx/lbc.c
139
int n = 15;
sys/powerpc/mpc85xx/lbc.c
144
while (n < 32) {
sys/powerpc/mpc85xx/lbc.c
145
if (size == (1U << n))
sys/powerpc/mpc85xx/lbc.c
147
n++;
sys/powerpc/mpc85xx/lbc.c
150
if (n == 32)
sys/powerpc/mpc85xx/lbc.c
153
return (0xffff8000 << (n - 15));
sys/powerpc/mpc85xx/lbc.h
36
#define LBC85XX_BR(n) (0x0 + (8 * n)) /* Base register 0-7 */
sys/powerpc/mpc85xx/lbc.h
37
#define LBC85XX_OR(n) (0x4 + (8 * n)) /* Options register 0-7 */
sys/powerpc/mpc85xx/mpc85xx.c
112
law_write(uint32_t n, uint64_t bar, uint32_t sr)
sys/powerpc/mpc85xx/mpc85xx.c
116
ccsr_write4(OCP85XX_LAWBARH(n), bar >> 32);
sys/powerpc/mpc85xx/mpc85xx.c
117
ccsr_write4(OCP85XX_LAWBARL(n), bar);
sys/powerpc/mpc85xx/mpc85xx.c
118
ccsr_write4(OCP85XX_LAWSR_QORIQ(n), sr);
sys/powerpc/mpc85xx/mpc85xx.c
119
ccsr_read4(OCP85XX_LAWSR_QORIQ(n));
sys/powerpc/mpc85xx/mpc85xx.c
121
ccsr_write4(OCP85XX_LAWBAR(n), bar >> 12);
sys/powerpc/mpc85xx/mpc85xx.c
122
ccsr_write4(OCP85XX_LAWSR_85XX(n), sr);
sys/powerpc/mpc85xx/mpc85xx.c
123
ccsr_read4(OCP85XX_LAWSR_85XX(n));
sys/powerpc/mpc85xx/mpc85xx.c
137
law_read(uint32_t n, uint64_t *bar, uint32_t *sr)
sys/powerpc/mpc85xx/mpc85xx.c
141
*bar = (uint64_t)ccsr_read4(OCP85XX_LAWBARH(n)) << 32 |
sys/powerpc/mpc85xx/mpc85xx.c
142
ccsr_read4(OCP85XX_LAWBARL(n));
sys/powerpc/mpc85xx/mpc85xx.c
143
*sr = ccsr_read4(OCP85XX_LAWSR_QORIQ(n));
sys/powerpc/mpc85xx/mpc85xx.c
145
*bar = (uint64_t)ccsr_read4(OCP85XX_LAWBAR(n)) << 12;
sys/powerpc/mpc85xx/mpc85xx.c
146
*sr = ccsr_read4(OCP85XX_LAWSR_85XX(n));
sys/powerpc/mpc85xx/mpc85xx.h
73
#define OCP85XX_LAWBARH(n) (CCSRBAR_VA + 0xc00 + 0x10 * (n))
sys/powerpc/mpc85xx/mpc85xx.h
74
#define OCP85XX_LAWBARL(n) (CCSRBAR_VA + 0xc04 + 0x10 * (n))
sys/powerpc/mpc85xx/mpc85xx.h
75
#define OCP85XX_LAWSR_QORIQ(n) (CCSRBAR_VA + 0xc08 + 0x10 * (n))
sys/powerpc/mpc85xx/mpc85xx.h
76
#define OCP85XX_LAWBAR(n) (CCSRBAR_VA + 0xc08 + 0x10 * (n))
sys/powerpc/mpc85xx/mpc85xx.h
77
#define OCP85XX_LAWSR_85XX(n) (CCSRBAR_VA + 0xc10 + 0x10 * (n))
sys/powerpc/mpc85xx/mpc85xx.h
78
#define OCP85XX_LAWSR(n) (mpc85xx_is_qoriq() ? OCP85XX_LAWSR_QORIQ(n) : \
sys/powerpc/mpc85xx/mpc85xx.h
79
OCP85XX_LAWSR_85XX(n))
sys/powerpc/mpc85xx/pci_mpc85xx.c
89
#define REG_POTAR(n) (0x0c00 + 0x20 * (n))
sys/powerpc/mpc85xx/pci_mpc85xx.c
90
#define REG_POTEAR(n) (0x0c04 + 0x20 * (n))
sys/powerpc/mpc85xx/pci_mpc85xx.c
91
#define REG_POWBAR(n) (0x0c08 + 0x20 * (n))
sys/powerpc/mpc85xx/pci_mpc85xx.c
92
#define REG_POWAR(n) (0x0c10 + 0x20 * (n))
sys/powerpc/mpc85xx/pci_mpc85xx.c
94
#define REG_PITAR(n) (0x0e00 - 0x20 * (n))
sys/powerpc/mpc85xx/pci_mpc85xx.c
95
#define REG_PIWBAR(n) (0x0e08 - 0x20 * (n))
sys/powerpc/mpc85xx/pci_mpc85xx.c
96
#define REG_PIWBEAR(n) (0x0e0c - 0x20 * (n))
sys/powerpc/mpc85xx/pci_mpc85xx.c
97
#define REG_PIWAR(n) (0x0e10 - 0x20 * (n))
sys/powerpc/ofw/ofw_real.c
853
int n;
sys/powerpc/ofw/ofw_real.c
869
for (cp = args.args_n_results + (n = nargs); --n >= 0;)
sys/powerpc/ofw/ofw_real.c
881
for (cp = args.args_n_results + nargs + (n = OUT(args.nreturns)); --n > 0;)
sys/powerpc/ofw/ofw_syscons.c
789
ofwfb_copy(video_adapter_t *adp, vm_offset_t src, vm_offset_t dst, int n)
sys/powerpc/ofw/rtas.c
212
int n, result;
sys/powerpc/ofw/rtas.c
226
for (n = 0; n < nargs; n++)
sys/powerpc/ofw/rtas.c
227
args.args_n_results[n] = htobe32(va_arg(ap, cell_t));
sys/powerpc/ofw/rtas.c
251
for (n = nargs; n < nargs + nreturns; n++)
sys/powerpc/ofw/rtas.c
252
*va_arg(ap, cell_t *) = be32toh(args.args_n_results[n]);
sys/powerpc/powerpc/altivec.c
129
#define LVX(n) __asm ("lvx " #n ",0,%0" \
sys/powerpc/powerpc/altivec.c
130
:: "b"(&pcb->pcb_vec.vr[n]));
sys/powerpc/powerpc/altivec.c
62
#define STVX(n) __asm ("stvx %1,0,%0" \
sys/powerpc/powerpc/altivec.c
63
:: "b"(pcb->pcb_vec.vr[n]), "n"(n));
sys/powerpc/powerpc/clock.c
330
DELAY(int n)
sys/powerpc/powerpc/clock.c
337
ttb = tb + howmany((uint64_t)n * 1000000, ps_per_tick);
sys/powerpc/powerpc/fpu.c
164
#define LFP(n) __asm("lxvw4x " #n ", 0,%0" \
sys/powerpc/powerpc/fpu.c
165
:: "b"(&pcb->pcb_fpu.fpr[n]));
sys/powerpc/powerpc/fpu.c
173
#define LFP(n) __asm("lxvd2x " #n ", 0,%0" \
sys/powerpc/powerpc/fpu.c
174
:: "b"(&pcb->pcb_fpu.fpr[n]));
sys/powerpc/powerpc/fpu.c
186
#define LFP(n) __asm("lfd " #n ", 0(%0)" \
sys/powerpc/powerpc/fpu.c
187
:: "b"(&pcb->pcb_fpu.fpr[n].fpr));
sys/powerpc/powerpc/fpu.c
68
#define SFP(n) __asm("stxvw4x " #n ", 0,%0" \
sys/powerpc/powerpc/fpu.c
69
:: "b"(&pcb->pcb_fpu.fpr[n]));
sys/powerpc/powerpc/fpu.c
77
#define SFP(n) __asm("stxvd2x " #n ", 0,%0" \
sys/powerpc/powerpc/fpu.c
78
:: "b"(&pcb->pcb_fpu.fpr[n]));
sys/powerpc/powerpc/fpu.c
90
#define SFP(n) __asm("stfd " #n ", 0(%0)" \
sys/powerpc/powerpc/fpu.c
91
:: "b"(&pcb->pcb_fpu.fpr[n].fpr));
sys/powerpc/powerpc/intr_machdep.c
443
int n;
sys/powerpc/powerpc/intr_machdep.c
457
for (n = 0; n < npics; n++) {
sys/powerpc/powerpc/intr_machdep.c
458
if (piclist[n].dev != root_pic)
sys/powerpc/powerpc/intr_machdep.c
461
KASSERT(piclist[n].ipis != 0,
sys/powerpc/powerpc/intr_machdep.c
465
MAP_IRQ(piclist[n].node, piclist[n].irqs),
sys/powerpc/powerpc/trap.c
661
int error, n, narg, i;
sys/powerpc/powerpc/trap.c
670
n = NARGREG;
sys/powerpc/powerpc/trap.c
679
n -= 1;
sys/powerpc/powerpc/trap.c
690
n -= 2;
sys/powerpc/powerpc/trap.c
694
n -= 1;
sys/powerpc/powerpc/trap.c
708
for (i = 0; i < n; i++)
sys/powerpc/powerpc/trap.c
714
for (i = 0; i < n; i++)
sys/powerpc/powerpc/trap.c
718
if (narg > n)
sys/powerpc/powerpc/trap.c
719
error = copyin(MOREARGS(frame->fixreg[1]), sa->args + n,
sys/powerpc/powerpc/trap.c
720
(narg - n) * argsz);
sys/powerpc/powerpc/trap.c
725
if (SV_PROC_FLAG(p, SV_ILP32) && narg > n) {
sys/powerpc/powerpc/trap.c
728
for (i = narg; i >= n; i--)
sys/powerpc/powerpc/trap.c
729
sa->args[i] = ((uint32_t *)(&sa->args[n]))[i-n];
sys/powerpc/powerpc/trap.c
912
#define MSKNSHL(x, m, n) "(((" #x ") & " #m ") << " #n ")"
sys/powerpc/powerpc/trap.c
913
#define MSKNSHR(x, m, n) "(((" #x ") & " #m ") >> " #n ")"
sys/powerpc/powerpc/uio_machdep.c
107
n -= cnt;
sys/powerpc/powerpc/uio_machdep.c
59
uiomove_fromphys(vm_page_t ma[], vm_offset_t offset, int n, struct uio *uio)
sys/powerpc/powerpc/uio_machdep.c
78
while (n > 0 && uio->uio_resid) {
sys/powerpc/powerpc/uio_machdep.c
89
if (cnt > n)
sys/powerpc/powerpc/uio_machdep.c
90
cnt = n;
sys/riscv/include/cpufunc.h
132
#define rdhpmcounter(n) csr_read64(hpmcounter##n)
sys/riscv/riscv/uio_machdep.c
106
n -= cnt;
sys/riscv/riscv/uio_machdep.c
54
uiomove_fromphys(vm_page_t ma[], vm_offset_t offset, int n, struct uio *uio)
sys/riscv/riscv/uio_machdep.c
73
while (n > 0 && uio->uio_resid) {
sys/riscv/riscv/uio_machdep.c
84
if (cnt > n)
sys/riscv/riscv/uio_machdep.c
85
cnt = n;
sys/rpc/rpcsec_gss/rpcsec_gss_prot.c
107
uint32_t n;
sys/rpc/rpcsec_gss/rpcsec_gss_prot.c
110
n = htonl(v);
sys/rpc/rpcsec_gss/rpcsec_gss_prot.c
111
bcopy(&n, mtod(m, uint32_t *), sizeof(uint32_t));
sys/rpc/rpcsec_gss/rpcsec_gss_prot.c
189
uint32_t n;
sys/rpc/rpcsec_gss/rpcsec_gss_prot.c
198
bcopy(mtod(m, uint32_t *), &n, sizeof(uint32_t));
sys/rpc/rpcsec_gss/rpcsec_gss_prot.c
201
return (ntohl(n));
sys/rpc/rpcsec_gss/rpcsec_gss_prot.c
207
struct mbuf *n;
sys/rpc/rpcsec_gss/rpcsec_gss_prot.c
212
n = m_getptr(m, len, &off);
sys/rpc/rpcsec_gss/rpcsec_gss_prot.c
213
if (n) {
sys/rpc/rpcsec_gss/rpcsec_gss_prot.c
214
n->m_len = off;
sys/rpc/rpcsec_gss/rpcsec_gss_prot.c
215
if (n->m_next) {
sys/rpc/rpcsec_gss/rpcsec_gss_prot.c
216
m_freem(n->m_next);
sys/rpc/rpcsec_gss/rpcsec_gss_prot.c
217
n->m_next = NULL;
sys/rpc/svc_vc.c
663
size_t n = 0;
sys/rpc/svc_vc.c
667
while (n < sizeof(uint32_t) && m) {
sys/rpc/svc_vc.c
668
n += m->m_len;
sys/rpc/svc_vc.c
671
if (n < sizeof(uint32_t)) {
sys/rpc/svc_vc.c
672
so->so_rcv.sb_lowat = sizeof(uint32_t) - n;
sys/security/audit/bsm_token.c
124
au_to_arg32(char n, const char *text, u_int32_t v)
sys/security/audit/bsm_token.c
137
ADD_U_CHAR(dptr, n);
sys/security/audit/bsm_token.c
146
au_to_arg64(char n, const char *text, u_int64_t v)
sys/security/audit/bsm_token.c
159
ADD_U_CHAR(dptr, n);
sys/security/audit/bsm_token.c
168
au_to_arg(char n, const char *text, u_int32_t v)
sys/security/audit/bsm_token.c
171
return (au_to_arg32(n, text, v));
sys/security/audit/bsm_token.c
376
au_to_newgroups(u_int16_t n, gid_t *groups)
sys/security/audit/bsm_token.c
383
n * sizeof(u_int32_t));
sys/security/audit/bsm_token.c
386
ADD_U_INT16(dptr, n);
sys/security/audit/bsm_token.c
387
for (i = 0; i < n; i++)
sys/security/mac_ddb/mac_ddb.c
217
int n;
sys/security/mac_ddb/mac_ddb.c
219
n = strcmp(cmd->name, item.name);
sys/security/mac_ddb/mac_ddb.c
220
if (n != 0)
sys/security/mac_ddb/mac_ddb.c
221
return (n);
sys/security/mac_ddb/mac_ddb.c
236
int i, n;
sys/security/mac_ddb/mac_ddb.c
243
n = command_match(cmd, command_list[i]);
sys/security/mac_ddb/mac_ddb.c
244
if (n == 0) {
sys/security/mac_ddb/mac_ddb.c
248
} else if (n > 0) {
sys/security/mac_ddb/mac_ddb.c
261
n = command_match(cmd, show_command_list[i]);
sys/security/mac_ddb/mac_ddb.c
262
if (n == 0) {
sys/security/mac_ddb/mac_ddb.c
266
} else if (n > 0) {
sys/security/mac_ddb/mac_ddb.c
301
int i, n;
sys/security/mac_ddb/mac_ddb.c
309
n = command_match(cmd, show_command_list[i]);
sys/security/mac_ddb/mac_ddb.c
310
if (n == 0)
sys/security/mac_ddb/mac_ddb.c
313
else if (n > 0)
sys/security/mac_ddb/mac_ddb.c
319
n = command_match(cmd, command_list[i]);
sys/security/mac_ddb/mac_ddb.c
320
if (n == 0)
sys/security/mac_ddb/mac_ddb.c
323
else if (n > 0)
sys/security/mac_grantbylabel/mac_grantbylabel.c
61
#define GRANTBYLABEL_DEBUG(n, x) if (mac_grantbylabel_debug >= (n)) printf x
sys/security/mac_veriexec/mac_veriexec_internal.h
45
# define VERIEXEC_DEBUG(n, x) if (mac_veriexec_debug > (n)) printf x
sys/security/mac_veriexec/mac_veriexec_internal.h
47
# define VERIEXEC_DEBUG(n, x)
sys/sys/atomic_common.h
79
#define __atomic_load_generic(p, t, ut, n) \
sys/sys/atomic_common.h
81
t: __atomic_load_ ## n ## _relaxed(p), \
sys/sys/atomic_common.h
82
ut: __atomic_load_ ## n ## _relaxed(p))
sys/sys/atomic_common.h
83
#define __atomic_store_generic(p, v, t, ut, n) \
sys/sys/atomic_common.h
85
t: __atomic_store_ ## n ## _relaxed(p, v), \
sys/sys/atomic_common.h
86
ut: __atomic_store_ ## n ## _relaxed(p, v))
sys/sys/atomic_common.h
92
#define __atomic_load_generic(p, t, ut, n) \
sys/sys/atomic_common.h
93
__atomic_load_ ## n ## _relaxed(p)
sys/sys/atomic_common.h
94
#define __atomic_store_generic(p, v, t, ut, n) \
sys/sys/atomic_common.h
95
__atomic_store_ ## n ## _relaxed(p, v)
sys/sys/bitset.h
192
#define __BIT_CLR_ATOMIC(_s, n, p) \
sys/sys/bitset.h
193
atomic_clear_long(&(p)->__bits[__bitset_word(_s, n)], \
sys/sys/bitset.h
194
__bitset_mask((_s), n))
sys/sys/bitset.h
196
#define __BIT_SET_ATOMIC(_s, n, p) \
sys/sys/bitset.h
197
atomic_set_long(&(p)->__bits[__bitset_word(_s, n)], \
sys/sys/bitset.h
198
__bitset_mask((_s), n))
sys/sys/bitset.h
200
#define __BIT_SET_ATOMIC_ACQ(_s, n, p) \
sys/sys/bitset.h
201
atomic_set_acq_long(&(p)->__bits[__bitset_word(_s, n)], \
sys/sys/bitset.h
202
__bitset_mask((_s), n))
sys/sys/bitset.h
204
#define __BIT_TEST_CLR_ATOMIC(_s, n, p) \
sys/sys/bitset.h
206
&(p)->__bits[__bitset_word((_s), (n))], (n)) != 0)
sys/sys/bitset.h
208
#define __BIT_TEST_SET_ATOMIC(_s, n, p) \
sys/sys/bitset.h
210
&(p)->__bits[__bitset_word((_s), (n))], (n)) != 0)
sys/sys/bitset.h
316
#define __BITSET_FSET(n) \
sys/sys/bitset.h
317
[ 0 ... ((n) - 1) ] = (-1L)
sys/sys/bitset.h
327
#define BIT_CLR(_s, n, p) __BIT_CLR(_s, n, p)
sys/sys/bitset.h
328
#define BIT_CLR_ATOMIC(_s, n, p) __BIT_CLR_ATOMIC(_s, n, p)
sys/sys/bitset.h
342
#define BIT_ISSET(_s, n, p) __BIT_ISSET(_s, n, p)
sys/sys/bitset.h
349
#define BIT_SET(_s, n, p) __BIT_SET(_s, n, p)
sys/sys/bitset.h
350
#define BIT_SETOF(_s, n, p) __BIT_SETOF(_s, n, p)
sys/sys/bitset.h
351
#define BIT_SET_ATOMIC(_s, n, p) __BIT_SET_ATOMIC(_s, n, p)
sys/sys/bitset.h
352
#define BIT_SET_ATOMIC_ACQ(_s, n, p) __BIT_SET_ATOMIC_ACQ(_s, n, p)
sys/sys/bitset.h
354
#define BIT_TEST_CLR_ATOMIC(_s, n, p) __BIT_TEST_CLR_ATOMIC(_s, n, p)
sys/sys/bitset.h
355
#define BIT_TEST_SET_ATOMIC(_s, n, p) __BIT_TEST_SET_ATOMIC(_s, n, p)
sys/sys/bitset.h
368
#define BITSET_FSET(n) __BITSET_FSET(n)
sys/sys/bitset.h
41
#define __bitset_mask(_s, n) \
sys/sys/bitset.h
43
(__size_t)(n) : ((n) % _BITSET_BITS)))
sys/sys/bitset.h
45
#define __bitset_word(_s, n) \
sys/sys/bitset.h
47
0 : ((n) / _BITSET_BITS))
sys/sys/bitset.h
49
#define __BIT_CLR(_s, n, p) \
sys/sys/bitset.h
50
((p)->__bits[__bitset_word(_s, n)] &= ~__bitset_mask((_s), (n)))
sys/sys/bitset.h
54
#define __BIT_ISSET(_s, n, p) \
sys/sys/bitset.h
55
((((p)->__bits[__bitset_word(_s, n)] & __bitset_mask((_s), (n))) != 0))
sys/sys/bitset.h
57
#define __BIT_SET(_s, n, p) \
sys/sys/bitset.h
58
((p)->__bits[__bitset_word(_s, n)] |= __bitset_mask((_s), (n)))
sys/sys/bitset.h
72
#define __BIT_SETOF(_s, n, p) do { \
sys/sys/bitset.h
74
(p)->__bits[__bitset_word(_s, n)] = __bitset_mask((_s), (n)); \
sys/sys/blockcount.h
53
blockcount_acquire(blockcount_t *bc, u_int n)
sys/sys/blockcount.h
58
old = atomic_fetchadd_int(&bc->__count, n);
sys/sys/blockcount.h
59
KASSERT(old + n > old, ("%s: counter overflow %p", __func__, bc));
sys/sys/blockcount.h
61
atomic_add_int(&bc->__count, n);
sys/sys/blockcount.h
66
blockcount_release(blockcount_t *bc, u_int n)
sys/sys/blockcount.h
71
old = atomic_fetchadd_int(&bc->__count, -n);
sys/sys/blockcount.h
72
KASSERT(old >= n, ("%s: counter underflow %p", __func__, bc));
sys/sys/blockcount.h
73
if (_BLOCKCOUNT_COUNT(old) == n && _BLOCKCOUNT_WAITERS(old))
sys/sys/cdefs.h
159
#define __alloc_size2(n, x) __attribute__((__alloc_size__(n, x)))
sys/sys/counter.h
43
#define COUNTER_ARRAY_ALLOC(a, n, wait) do { \
sys/sys/counter.h
44
for (int _i = 0; _i < (n); _i++) \
sys/sys/counter.h
48
#define COUNTER_ARRAY_FREE(a, n) do { \
sys/sys/counter.h
49
for (int _i = 0; _i < (n); _i++) \
sys/sys/counter.h
53
#define COUNTER_ARRAY_COPY(a, dstp, n) do { \
sys/sys/counter.h
54
for (int _i = 0; _i < (n); _i++) \
sys/sys/counter.h
58
#define COUNTER_ARRAY_ZERO(a, n) do { \
sys/sys/counter.h
59
for (int _i = 0; _i < (n); _i++) \
sys/sys/cpuset.h
45
#define CPU_CLR(n, p) __BIT_CLR(CPU_SETSIZE, n, p)
sys/sys/cpuset.h
47
#define CPU_ISSET(n, p) __BIT_ISSET(CPU_SETSIZE, n, p)
sys/sys/cpuset.h
48
#define CPU_SET(n, p) __BIT_SET(CPU_SETSIZE, n, p)
sys/sys/cpuset.h
51
#define CPU_SETOF(n, p) __BIT_SETOF(CPU_SETSIZE, n, p)
sys/sys/cpuset.h
63
#define CPU_CLR_ATOMIC(n, p) __BIT_CLR_ATOMIC(CPU_SETSIZE, n, p)
sys/sys/cpuset.h
64
#define CPU_TEST_CLR_ATOMIC(n, p) __BIT_TEST_CLR_ATOMIC(CPU_SETSIZE, n, p)
sys/sys/cpuset.h
65
#define CPU_SET_ATOMIC(n, p) __BIT_SET_ATOMIC(CPU_SETSIZE, n, p)
sys/sys/cpuset.h
66
#define CPU_SET_ATOMIC_ACQ(n, p) __BIT_SET_ATOMIC_ACQ(CPU_SETSIZE, n, p)
sys/sys/cpuset.h
67
#define CPU_TEST_SET_ATOMIC(n, p) __BIT_TEST_SET_ATOMIC(CPU_SETSIZE, n, p)
sys/sys/cpuset.h
68
#define CPU_AND_ATOMIC(n, p) __BIT_AND_ATOMIC(CPU_SETSIZE, n, p)
sys/sys/cpuset.h
83
#define CPU_ISSET_S(n, _s, p) __BIT_ISSET((_s) * 8, n, p)
sys/sys/cpuset.h
84
#define CPU_SET_S(n, _s, p) __BIT_SET((_s) * 8, n, p)
sys/sys/cpuset.h
85
#define CPU_CLR_S(n, _s, p) __BIT_CLR((_s) * 8, n, p)
sys/sys/ctf.h
259
#define CTF_NAME_STID(n) ((n) >> 31)
sys/sys/ctf.h
260
#define CTF_NAME_OFFSET(n) ((n) & CTF_MAX_NAME)
sys/sys/domainset.h
44
#define DOMAINSET_CLR(n, p) __BIT_CLR(DOMAINSET_SETSIZE, n, p)
sys/sys/domainset.h
46
#define DOMAINSET_ISSET(n, p) __BIT_ISSET(DOMAINSET_SETSIZE, n, p)
sys/sys/domainset.h
47
#define DOMAINSET_SET(n, p) __BIT_SET(DOMAINSET_SETSIZE, n, p)
sys/sys/domainset.h
50
#define DOMAINSET_SETOF(n, p) __BIT_SETOF(DOMAINSET_SETSIZE, n, p)
sys/sys/domainset.h
60
#define DOMAINSET_CLR_ATOMIC(n, p) __BIT_CLR_ATOMIC(DOMAINSET_SETSIZE, n, p)
sys/sys/domainset.h
61
#define DOMAINSET_SET_ATOMIC(n, p) __BIT_SET_ATOMIC(DOMAINSET_SETSIZE, n, p)
sys/sys/domainset.h
62
#define DOMAINSET_SET_ATOMIC_ACQ(n, p) \
sys/sys/domainset.h
63
__BIT_SET_ATOMIC_ACQ(DOMAINSET_SETSIZE, n, p)
sys/sys/domainset.h
64
#define DOMAINSET_AND_ATOMIC(n, p) __BIT_AND_ATOMIC(DOMAINSET_SETSIZE, n, p)
sys/sys/filedesc.h
256
int _falloc_noinstall(struct thread *td, struct file **resultfp, u_int n);
sys/sys/filedesc.h
265
int fdallocn(struct thread *td, int minfd, int *fds, int n);
sys/sys/ioccom.h
61
#define _IO(g,n) _IOC(IOC_VOID, (g), (n), 0)
sys/sys/ioccom.h
62
#define _IOWINT(g,n) _IOC(IOC_VOID, (g), (n), sizeof(int))
sys/sys/ioccom.h
63
#define _IOR(g,n,t) _IOC(IOC_OUT, (g), (n), sizeof(t))
sys/sys/ioccom.h
64
#define _IOW(g,n,t) _IOC(IOC_IN, (g), (n), sizeof(t))
sys/sys/ioccom.h
66
#define _IOWR(g,n,t) _IOC(IOC_INOUT, (g), (n), sizeof(t))
sys/sys/libkern.h
191
ilog2_int(int n)
sys/sys/libkern.h
194
KASSERT(n != 0, ("ilog argument must be nonzero"));
sys/sys/libkern.h
195
return (8 * sizeof(n) - 1 - __builtin_clz((u_int)n));
sys/sys/libkern.h
199
ilog2_long(long n)
sys/sys/libkern.h
202
KASSERT(n != 0, ("ilog argument must be nonzero"));
sys/sys/libkern.h
203
return (8 * sizeof(n) - 1 - __builtin_clzl((u_long)n));
sys/sys/libkern.h
207
ilog2_long_long(long long n)
sys/sys/libkern.h
210
KASSERT(n != 0, ("ilog argument must be nonzero"));
sys/sys/libkern.h
211
return (8 * sizeof(n) - 1 -
sys/sys/libkern.h
212
__builtin_clzll((unsigned long long)n));
sys/sys/libkern.h
215
#define ilog2_var(n) \
sys/sys/libkern.h
216
_Generic((n), \
sys/sys/libkern.h
222
)(n)
sys/sys/libkern.h
224
#define ilog2_const(n) \
sys/sys/libkern.h
226
__builtin_clzll(n))
sys/sys/libkern.h
228
#define ilog2(n) (__builtin_constant_p(n) ? ilog2_const(n) : ilog2_var(n))
sys/sys/libkern.h
229
#define rounddown_pow_of_two(n) ((__typeof(n))1 << ilog2(n))
sys/sys/libkern.h
230
#define order_base_2(n) ilog2(2*(n)-1)
sys/sys/libkern.h
231
#define roundup_pow_of_two(n) ((__typeof(n))1 << order_base_2(n))
sys/sys/libkern.h
241
void *memchr(const void *s, int c, size_t n);
sys/sys/libkern.h
242
void *memcchr(const void *s, int c, size_t n);
sys/sys/lock.h
204
#define lock_delay_spin(n) do { \
sys/sys/lock.h
207
for (_i = (n); _i > 0; _i--) \
sys/sys/lock.h
289
#define WITNESS_SAVE_DECL(n) \
sys/sys/lock.h
290
const char * __CONCAT(n, __wf); \
sys/sys/lock.h
291
int __CONCAT(n, __wl)
sys/sys/lock.h
293
#define WITNESS_SAVE(lock, n) \
sys/sys/lock.h
294
witness_save((lock), &__CONCAT(n, __wf), &__CONCAT(n, __wl))
sys/sys/lock.h
296
#define WITNESS_RESTORE(lock, n) \
sys/sys/lock.h
297
witness_restore((lock), __CONCAT(n, __wf), __CONCAT(n, __wl))
sys/sys/lock.h
322
#define WITNESS_SAVE_DECL(n) (void)0
sys/sys/lock.h
323
#define WITNESS_SAVE(lock, n) (void)0
sys/sys/lock.h
324
#define WITNESS_RESTORE(lock, n) (void)0
sys/sys/mbuf.h
1523
struct mbuf *n = m->m_next;
sys/sys/mbuf.h
1536
return (n);
sys/sys/mbuf.h
1606
struct mbuf *m, *n;
sys/sys/mbuf.h
1608
n = mbufq_flush(mq);
sys/sys/mbuf.h
1609
while ((m = n) != NULL) {
sys/sys/mbuf.h
1610
n = STAILQ_NEXT(m, m_stailqpkt);
sys/sys/mman.h
114
#define MAP_ALIGNED(n) ((n) << MAP_ALIGNMENT_SHIFT)
sys/sys/module.h
181
#define MODULE_PNP_INFO(d, b, unique, t, n) \
sys/sys/module.h
187
.num_entry = n \
sys/sys/mutex.h
168
#define mtx_init(m, n, t, o) \
sys/sys/mutex.h
169
_mtx_init(&(m)->mtx_lock, n, t, o)
sys/sys/netexport.h
81
#define MNTEXP_LOCK(n) mtx_lock(&(n)->ne_mtx)
sys/sys/netexport.h
82
#define MNTEXP_UNLOCK(n) mtx_unlock(&(n)->ne_mtx)
sys/sys/netexport.h
83
#define MNTEXP_MTX(n) (&(n)->ne_mtx)
sys/sys/pcpu.h
103
#define DPCPU_DEFINE_STATIC(t, n) \
sys/sys/pcpu.h
104
t DPCPU_NAME(n) __section(DPCPU_SETNAME) __used
sys/sys/pcpu.h
106
#define DPCPU_DEFINE_STATIC(t, n) \
sys/sys/pcpu.h
107
static t DPCPU_NAME(n) __section(DPCPU_SETNAME) __used
sys/sys/pcpu.h
113
#define _DPCPU_PTR(b, n) \
sys/sys/pcpu.h
114
(__typeof(DPCPU_NAME(n))*)((b) + (uintptr_t)&DPCPU_NAME(n))
sys/sys/pcpu.h
115
#define _DPCPU_GET(b, n) (*_DPCPU_PTR(b, n))
sys/sys/pcpu.h
116
#define _DPCPU_SET(b, n, v) (*_DPCPU_PTR(b, n) = v)
sys/sys/pcpu.h
121
#define DPCPU_PTR(n) _DPCPU_PTR(PCPU_GET(dynamic), n)
sys/sys/pcpu.h
122
#define DPCPU_GET(n) (*DPCPU_PTR(n))
sys/sys/pcpu.h
123
#define DPCPU_SET(n, v) (*DPCPU_PTR(n) = v)
sys/sys/pcpu.h
128
#define DPCPU_ID_PTR(i, n) _DPCPU_PTR(dpcpu_off[(i)], n)
sys/sys/pcpu.h
129
#define DPCPU_ID_GET(i, n) (*DPCPU_ID_PTR(i, n))
sys/sys/pcpu.h
130
#define DPCPU_ID_SET(i, n, v) (*DPCPU_ID_PTR(i, n) = v)
sys/sys/pcpu.h
135
#define DPCPU_SUM(n) __extension__ \
sys/sys/pcpu.h
138
__typeof(*DPCPU_PTR(n)) sum; \
sys/sys/pcpu.h
142
sum += *DPCPU_ID_PTR(_i, n); \
sys/sys/pcpu.h
147
#define DPCPU_VARSUM(n, var) __extension__ \
sys/sys/pcpu.h
150
__typeof((DPCPU_PTR(n))->var) sum; \
sys/sys/pcpu.h
154
sum += (DPCPU_ID_PTR(_i, n))->var; \
sys/sys/pcpu.h
159
#define DPCPU_ZERO(n) do { \
sys/sys/pcpu.h
163
bzero(DPCPU_ID_PTR(_i, n), sizeof(*DPCPU_PTR(n))); \
sys/sys/pcpu.h
81
#define DPCPU_NAME(n) pcpu_entry_##n
sys/sys/pcpu.h
82
#define DPCPU_DECLARE(t, n) extern t DPCPU_NAME(n)
sys/sys/pcpu.h
84
#define DPCPU_DEFINE(t, n) \
sys/sys/pcpu.h
85
struct _hack; t DPCPU_NAME(n) __section(DPCPU_SETNAME) __used
sys/sys/qmath.h
327
#define Q_SIGNED(n) (Q_TC(n, -1) < 0)
sys/sys/qmath.h
333
#define Q_LTZ(n) (Q_SIGNED(n) && ((n) & Q_SRAWMASK(n)))
sys/sys/qmath.h
340
#define Q_ABS(n) (Q_LTZ(n) ? -(n) : (n))
sys/sys/refcount.h
118
refcount_acquire_if_gt(volatile u_int *count, u_int n)
sys/sys/refcount.h
124
if (old <= n)
sys/sys/refcount.h
141
refcount_releasen(volatile u_int *count, u_int n)
sys/sys/refcount.h
145
KASSERT(n < REFCOUNT_SATURATION_VALUE / 2,
sys/sys/refcount.h
146
("refcount_releasen: n=%u too large", n));
sys/sys/refcount.h
149
old = atomic_fetchadd_int(count, -n);
sys/sys/refcount.h
150
if (__predict_false(old < n || REFCOUNT_SATURATED(old))) {
sys/sys/refcount.h
154
if (old > n)
sys/sys/refcount.h
176
_refcount_release_if_##name(volatile u_int *count, u_int n) \
sys/sys/refcount.h
180
KASSERT(n > 0, ("%s: zero increment", __func__)); \
sys/sys/refcount.h
191
_refcount_release_if_cond(old > n, gt)
sys/sys/refcount.h
192
_refcount_release_if_cond(old == n, eq)
sys/sys/refcount.h
195
refcount_release_if_gt(volatile u_int *count, u_int n)
sys/sys/refcount.h
198
return (_refcount_release_if_gt(count, n));
sys/sys/refcount.h
85
refcount_acquiren(volatile u_int *count, u_int n)
sys/sys/refcount.h
89
KASSERT(n < REFCOUNT_SATURATION_VALUE / 2,
sys/sys/refcount.h
90
("refcount_acquiren: n=%u too large", n));
sys/sys/refcount.h
91
old = atomic_fetchadd_int(count, n);
sys/sys/resourcevar.h
175
void lim_freen(struct plimit *limp, int n);
sys/sys/rwlock.h
161
#define rw_init(rw, n) \
sys/sys/rwlock.h
162
_rw_init_flags(&(rw)->rw_lock, n, 0)
sys/sys/rwlock.h
163
#define rw_init_flags(rw, n, o) \
sys/sys/rwlock.h
164
_rw_init_flags(&(rw)->rw_lock, n, o)
sys/sys/select.h
103
#define __fdset_mask(n) ((__fd_mask)1 << ((n) % _NFDBITS))
sys/sys/select.h
104
#define FD_CLR(n, p) ((p)->__fds_bits[__fdset_idx(p, n)] &= ~__fdset_mask(n))
sys/sys/select.h
108
#define FD_ISSET(n, p) \
sys/sys/select.h
109
(((p)->__fds_bits[__fdset_idx(p, n)] & __fdset_mask(n)) != 0)
sys/sys/select.h
110
#define FD_SET(n, p) ((p)->__fds_bits[__fdset_idx(p, n)] |= __fdset_mask(n))
sys/sys/select.h
84
#define __fdset_idx_(p, n) ((n) / _NFDBITS)
sys/sys/select.h
86
#define __fdset_idx(p, n) __fdset_idx_(p, n)
sys/sys/sockbuf.h
230
void sbcompress(struct sockbuf *sb, struct mbuf *m, struct mbuf *n);
sys/sys/socket.h
591
#define CMSG_ALIGN(n) _ALIGN(n)
sys/sys/stats.h
68
#define VNET(n) n
sys/sys/stats.h
69
#define VNET_DEFINE(t, n) static t n __unused
sys/sys/systm.h
258
void *memmove(void * _Nonnull dest, const void * _Nonnull src, size_t n);
sys/sys/systm.h
264
size_t n);
sys/sys/systm.h
283
#define memmove(dest, src, n) SAN_INTERCEPTOR(memmove)((dest), (src), (n))
sys/sys/systm.h
292
#define memmove(dest, src, n) __builtin_memmove((dest), (src), (n))
sys/sys/systm.h
299
void *memmove_early(void * _Nonnull dest, const void * _Nonnull src, size_t n);
sys/sys/systm.h
411
#define casueword32(b, o, p, n) SAN_INTERCEPTOR(casueword32)((b), (o), (p), (n))
sys/sys/systm.h
412
#define casueword(b, o, p, n) SAN_INTERCEPTOR(casueword)((b), (o), (p), (n))
sys/sys/tty.h
201
int tty_putstrn(struct tty *tp, const char *p, size_t n);
sys/sys/ttycom.h
85
#define UIOCCMD(n) _IO('u', n) /* usr cntl op "n" */
sys/sys/ucred.h
247
void crextend(struct ucred *cr, int n);
sys/sys/uio.h
95
int uiomove(void *cp, int n, struct uio *uio);
sys/sys/uio.h
97
int uiomove_fromphys(struct vm_page *ma[], vm_offset_t offset, int n,
sys/sys/uio.h
99
int uiomove_nofault(void *cp, int n, struct uio *uio);
sys/teken/teken_subr.h
1146
unsigned int i, n;
sys/teken/teken_subr.h
1155
n = cmds[i];
sys/teken/teken_subr.h
1157
switch (n) {
sys/teken/teken_subr.h
1193
t->t_curattr.ta_fgcolor = n - 30;
sys/teken/teken_subr.h
1212
t->t_curattr.ta_bgcolor = n - 40;
sys/teken/teken_subr.h
1231
t->t_curattr.ta_fgcolor = (n - 90) + 8;
sys/teken/teken_subr.h
1241
t->t_curattr.ta_bgcolor = (n - 100) + 8;
sys/teken/teken_subr.h
1244
teken_printf("unsupported attribute %u\n", n);
sys/ufs/ufs/ufs_dirhash.c
66
#define BLKFREE2IDX(n) ((n) > DH_NFSTATS ? DH_NFSTATS : (n))
sys/vm/redzone.c
56
redzone_roundup(u_long n)
sys/vm/redzone.c
59
if (n < REDZONE_HSIZE)
sys/vm/redzone.c
60
n = REDZONE_HSIZE;
sys/vm/redzone.c
61
if (n <= 128)
sys/vm/redzone.c
63
else if (n <= 256)
sys/vm/redzone.c
65
else if (n <= 512)
sys/vm/redzone.c
67
else if (n <= 1024)
sys/vm/redzone.c
69
else if (n <= 2048)
sys/vm/swap_pager.c
1121
int n;
sys/vm/swap_pager.c
1126
for (i = 0; i < size; i += n) {
sys/vm/swap_pager.c
1127
n = MIN(size - i, INT_MAX);
sys/vm/swap_pager.c
1128
blk = swp_pager_getswapspace(&n);
sys/vm/swap_pager.c
1134
for (j = 0; j < n; ++j) {
sys/vm/swap_pager.c
1571
int i, j, n;
sys/vm/swap_pager.c
1587
for (i = 0; i < count; i += n) {
sys/vm/swap_pager.c
1589
n = min(count - i, nsw_cluster_max);
sys/vm/swap_pager.c
1601
blk = swp_pager_getswapspace(&n);
sys/vm/swap_pager.c
1607
for (j = 0; j < n; ++j)
sys/vm/swap_pager.c
1613
for (j = 0; j < n; ++j) {
sys/vm/swap_pager.c
1637
bp->b_bcount = PAGE_SIZE * n;
sys/vm/swap_pager.c
1638
bp->b_bufsize = PAGE_SIZE * n;
sys/vm/swap_pager.c
1640
for (j = 0; j < n; j++)
sys/vm/swap_pager.c
1642
bp->b_npages = n;
sys/vm/swap_pager.c
1660
for (j = 0; j < n; j++)
sys/vm/swap_pager.c
2951
int error, n;
sys/vm/swap_pager.c
2953
n = 0;
sys/vm/swap_pager.c
2957
if (n != name) {
sys/vm/swap_pager.c
2958
n++;
sys/vm/swap_pager.c
3428
int error, new, n;
sys/vm/swap_pager.c
3445
n = new - nsw_wcount_async_max;
sys/vm/swap_pager.c
3446
if (nsw_wcount_async + n >= 0) {
sys/vm/swap_pager.c
3447
nsw_wcount_async += n;
sys/vm/swap_pager.c
3448
nsw_wcount_async_max += n;
sys/vm/swap_pager.c
706
unsigned long n, n2;
sys/vm/swap_pager.c
740
n = maxswzone != 0 ? maxswzone / sizeof(struct swblk) :
sys/vm/swap_pager.c
746
n2 = n;
sys/vm/swap_pager.c
748
if (uma_zone_reserve_kva(swblk_zone, n))
sys/vm/swap_pager.c
754
n -= ((n + 2) / 3);
sys/vm/swap_pager.c
755
} while (n > 0);
sys/vm/swap_pager.c
762
n = uma_zone_get_max(swblk_zone);
sys/vm/swap_pager.c
764
if (n < n2)
sys/vm/swap_pager.c
766
n2, n);
sys/vm/swap_pager.c
768
swap_maxpages = n * SWAP_META_PAGES;
sys/vm/swap_pager.c
769
swzone = n * sizeof(struct swblk);
sys/vm/swap_pager.c
770
if (!uma_zone_reserve_kva(swpctrie_zone, n))
sys/vm/uma_core.c
2212
#define UMA_FRAC_FIXPT(n, d) \
sys/vm/uma_core.c
2213
((uint32_t)(((uint64_t)(n) << UMA_FIXPT_SHIFT) / (d)))
sys/vm/uma_core.c
249
#define BUCKET_SIZE(n) \
sys/vm/uma_core.c
250
(((sizeof(void *) * (n)) - sizeof(struct uma_bucket)) / sizeof(void *))
sys/vm/uma_int.h
528
#define ZDOM_GET(z, n) \
sys/vm/uma_int.h
529
(&((uma_zone_domain_t)&(z)->uz_cpu[mp_maxid + 1])[n])
sys/vm/vm_glue.c
612
int n;
sys/vm/vm_glue.c
618
for (n = 0; n < npages; ma[n++] = m) {
sys/vm/vm_glue.c
619
m = vm_page_grab_iter(obj, pindex + n,
sys/vm/vm_glue.c
623
m = vm_page_alloc_domain_iter(obj, pindex + n,
sys/vm/vm_glue.c
627
for (int i = 0; i < n; i++) {
sys/vm/vm_glue.c
635
return (n < npages ? ENOMEM : 0);
sys/vm/vm_object.c
1052
int curgeneration, n, pagerflags;
sys/vm/vm_object.c
1096
n = vm_object_page_clean_flush(&pages, p, pagerflags,
sys/vm/vm_object.c
1119
if (n == 0) {
sys/vm/vm_object.c
1120
n = 1;
sys/vm/vm_object.c
1124
n = 1;
sys/vm/vm_object.c
1127
np = vm_radix_iter_lookup_ge(&pages, pi + n);
sys/vm/vm_pageout.c
295
vm_page_t m, marker, n;
sys/vm/vm_pageout.c
306
m = n, ss->scanned++) {
sys/vm/vm_pageout.c
307
n = TAILQ_NEXT(m, plinks.q);
sys/vm/vm_pagequeue.h
302
#define VM_DOMAIN(n) (&vm_dom[(n)])
sys/vm/vm_pagequeue.h
303
#define VM_DOMAIN_EMPTY(n) (vm_dom[(n)].vmd_page_count == 0)
sys/vm/vm_pagequeue.h
311
#define vm_domain_free_assert_locked(n) \
sys/vm/vm_pagequeue.h
312
mtx_assert(vm_domain_free_lockptr((n)), MA_OWNED)
sys/vm/vm_pagequeue.h
313
#define vm_domain_free_assert_unlocked(n) \
sys/vm/vm_pagequeue.h
314
mtx_assert(vm_domain_free_lockptr((n)), MA_NOTOWNED)
sys/vm/vm_pagequeue.h
326
#define vm_domain_pageout_assert_locked(n) \
sys/vm/vm_pagequeue.h
327
mtx_assert(vm_domain_pageout_lockptr((n)), MA_OWNED)
sys/vm/vm_pagequeue.h
328
#define vm_domain_pageout_assert_unlocked(n) \
sys/vm/vm_pagequeue.h
329
mtx_assert(vm_domain_pageout_lockptr((n)), MA_NOTOWNED)
sys/vm/vm_pager.c
416
#define FIX(n) \
sys/vm/vm_pager.c
417
if (ops->pgo_##n == NULL) \
sys/vm/vm_pager.c
418
ops->pgo_##n = pagertab[base_type]->pgo_##n
sys/vm/vm_reserv.c
698
int i, index, n;
sys/vm/vm_reserv.c
810
n = ulmin(VM_LEVEL_0_NPAGES - index, npages);
sys/vm/vm_reserv.c
811
for (i = 0; i < n; i++)
sys/vm/vm_reserv.c
813
npages -= n;
sys/x86/cpufreq/powernow.c
558
int i, j, n;
sys/x86/cpufreq/powernow.c
564
for (n = 0, i = 0; i < npstates; ++i) {
sys/x86/cpufreq/powernow.c
581
j = n;
sys/x86/cpufreq/powernow.c
590
++n;
sys/x86/cpufreq/powernow.c
597
sc->powernow_max_states = n;
sys/x86/cpufreq/powernow.c
759
int i, j, n;
sys/x86/cpufreq/powernow.c
790
for (n = 0, i = 0; i < count; ++i) {
sys/x86/cpufreq/powernow.c
808
j = n;
sys/x86/cpufreq/powernow.c
817
++n;
sys/x86/cpufreq/powernow.c
820
sc->powernow_max_states = n;
sys/x86/include/specialreg.h
1270
#define MSR_P_STATE_CONFIG(n) (0xc0010064 + (n)) /* P-state Config */
sys/x86/include/specialreg.h
795
#define RTIT_CTL_MTC_FREQ(n) ((n) << RTIT_CTL_MTC_FREQ_S)
sys/x86/include/specialreg.h
801
#define RTIT_CTL_ADDR_CFG_S(n) (32 + (n) * 4)
sys/x86/include/specialreg.h
820
#define MSR_IA32_RTIT_ADDR_A(n) (0x580 + (n) * 2)
sys/x86/include/specialreg.h
821
#define MSR_IA32_RTIT_ADDR_B(n) (0x581 + (n) * 2)
sys/x86/isa/clock.c
230
i8254_delay(int n)
sys/x86/isa/clock.c
245
printf("DELAY(%d)...", n);
sys/x86/isa/clock.c
265
n -= 0; /* XXX actually guess no initial overhead */
sys/x86/isa/clock.c
270
if (n <= 0)
sys/x86/isa/clock.c
272
else if (n < 256)
sys/x86/isa/clock.c
279
ticks_left = ((u_int)n * 39099 + (1 << 15) - 1) >> 15;
sys/x86/isa/clock.c
287
ticks_left = ((u_int)n * (long long)i8254_freq + 999999)
sys/x86/isa/clock.c
321
getit_calls, (n + 5) / getit_calls);
sys/x86/x86/delay.c
109
DELAY(int n)
sys/x86/x86/delay.c
113
if (delay_tc(n)) {
sys/x86/x86/delay.c
118
init_ops.early_delay(n);
sys/x86/x86/delay.c
51
delay_tsc(int n)
sys/x86/x86/delay.c
61
end = now + tsc_freq * n / 1000000;
sys/x86/x86/delay.c
70
delay_tc(int n)
sys/x86/x86/delay.c
84
delay_tsc(n);
sys/x86/x86/delay.c
94
end = freq * n / 1000000;
sys/xdr/xdr_mbuf.c
216
struct mbuf *n;
sys/xdr/xdr_mbuf.c
233
n = m_getcl(M_WAITOK, m->m_type, 0);
sys/xdr/xdr_mbuf.c
235
n = m_get(M_WAITOK, m->m_type);
sys/xdr/xdr_mbuf.c
236
m->m_next = n;
sys/xen/blkif.h
115
int i, n = BLKIF_MAX_SEGMENTS_PER_REQUEST;
sys/xen/blkif.h
122
if (n > dst->nr_segments)
sys/xen/blkif.h
123
n = dst->nr_segments;
sys/xen/blkif.h
124
for (i = 0; i < n; i++)
sys/xen/blkif.h
130
int i, n = BLKIF_MAX_SEGMENTS_PER_REQUEST;
sys/xen/blkif.h
137
if (n > dst->nr_segments)
sys/xen/blkif.h
138
n = dst->nr_segments;
sys/xen/blkif.h
139
for (i = 0; i < n; i++)
tests/sys/aio/aio_test.c
826
int mdctl_fd, n, unit;
tests/sys/aio/aio_test.c
835
n = readlink(MDUNIT_LINK, buf, sizeof(buf) - 1);
tests/sys/aio/aio_test.c
836
if (n > 0) {
tests/sys/aio/aio_test.c
837
buf[n] = '\0';
tests/sys/cddl/zfs/bin/file_check.c
41
long i, n;
tests/sys/cddl/zfs/bin/file_check.c
70
if ((n = read(bigfd, &bigbuffer, bigbuffersize)) == -1) {
tests/sys/cddl/zfs/bin/file_check.c
71
(void) printf("read failed (%ld), %d\n", n, errno);
tests/sys/cddl/zfs/bin/file_check.c
75
for (i = 0; i < n; i++) {
tests/sys/cddl/zfs/bin/file_check.c
83
read_count += n;
tests/sys/cddl/zfs/bin/file_check.c
84
} while (n == bigbuffersize);
tests/sys/cddl/zfs/bin/file_write.c
197
ssize_t n;
tests/sys/cddl/zfs/bin/file_write.c
199
if ((n = write(bigfd, &bigbuffer, block_size)) == -1) {
tests/sys/cddl/zfs/bin/file_write.c
202
"error: %s[%d]\n", (long)n, good_writes,
tests/sys/cddl/zfs/tests/threadsappend/threadsappend.c
63
int i = 0, n = *(int *)data;
tests/sys/cddl/zfs/tests/threadsappend/threadsappend.c
66
(void) memset(buf, n, sizeof (buf));
tests/sys/fifo/fifo_kqueue.c
224
ssize_t bytes, i, n;
tests/sys/fifo/fifo_kqueue.c
237
while ((n = write(p[1], &c, 1)) == 1)
tests/sys/fifo/fifo_kqueue.c
239
ATF_REQUIRE(n < 0);
tests/sys/fifo/fifo_kqueue.c
265
n = read(p[0], &c, 1);
tests/sys/fifo/fifo_kqueue.c
266
ATF_REQUIRE(n < 0);
tests/sys/geom/class/eli/unaligned_io.c
103
n = pread(fd, buf1, iosz, 0);
tests/sys/geom/class/eli/unaligned_io.c
104
if (n < 0 || (size_t)n != iosz)
tests/sys/geom/class/eli/unaligned_io.c
107
n = pread(fd, buf2 + i, iosz, 0);
tests/sys/geom/class/eli/unaligned_io.c
108
if (n < 0 || (size_t)n != iosz)
tests/sys/geom/class/eli/unaligned_io.c
120
n = pwrite(fd, buf1 + i, iosz, 0);
tests/sys/geom/class/eli/unaligned_io.c
121
if (n < 0 || (size_t)n != iosz)
tests/sys/geom/class/eli/unaligned_io.c
123
n = pread(fd, buf2, iosz, 0);
tests/sys/geom/class/eli/unaligned_io.c
124
if (n < 0 || (size_t)n != iosz)
tests/sys/geom/class/eli/unaligned_io.c
54
ssize_t n;
tests/sys/geom/class/eli/unaligned_io.c
87
n = pwrite(fd, buf1, bufsz, 0);
tests/sys/geom/class/eli/unaligned_io.c
88
if (n < 0 || (size_t)n != bufsz)
tests/sys/kern/copy_file_range.c
123
ssize_t n;
tests/sys/kern/copy_file_range.c
142
n = copy_file_range(fd1, &off1, fd2, &off2, sb.st_size, 0);
tests/sys/kern/copy_file_range.c
143
ATF_REQUIRE(n >= 0);
tests/sys/kern/copy_file_range.c
144
ATF_REQUIRE_EQ(off1, ooff1 + n);
tests/sys/kern/copy_file_range.c
145
ATF_REQUIRE_EQ(off2, ooff2 + n);
tests/sys/kern/copy_file_range.c
146
} while (n != 0);
tests/sys/kern/copy_file_range.c
170
ssize_t n;
tests/sys/kern/copy_file_range.c
198
n = copy_file_range(fd1, NULL, fd2, NULL, SSIZE_MAX, 0);
tests/sys/kern/copy_file_range.c
199
ATF_REQUIRE(n >= 0);
tests/sys/kern/copy_file_range.c
200
} while (n != 0);
tests/sys/kern/copy_file_range.c
39
ssize_t n;
tests/sys/kern/copy_file_range.c
44
n = write(fd, buf, sizeof(buf) < sz ? sizeof(buf) : sz);
tests/sys/kern/copy_file_range.c
45
ATF_REQUIRE(n > 0);
tests/sys/kern/copy_file_range.c
47
sz -= n;
tests/sys/kern/fdgrowtable_test.c
81
openfiles(int n)
tests/sys/kern/fdgrowtable_test.c
87
for (i = 0; i < n; i++)
tests/sys/kern/getdirentries_test.c
28
int dd, n;
tests/sys/kern/getdirentries_test.c
36
for (n = 0, d = (struct dirent *)dbuf;
tests/sys/kern/getdirentries_test.c
38
d = (struct dirent *)((char *)d + d->d_reclen), n++)
tests/sys/kern/getdirentries_test.c
41
ATF_CHECK_EQ(2, n);
tests/sys/kern/inotify_test.c
101
ATF_REQUIRE((size_t)n >= sizeof(*ev));
tests/sys/kern/inotify_test.c
102
ATF_REQUIRE((size_t)n == sizeof(*ev) + ev->len);
tests/sys/kern/inotify_test.c
103
ATF_REQUIRE((size_t)n == evsz);
tests/sys/kern/inotify_test.c
268
int fd, fd1, ifd, n, wd;
tests/sys/kern/inotify_test.c
287
ATF_REQUIRE(ioctl(ifd, FIONREAD, &n) == 0);
tests/sys/kern/inotify_test.c
288
ATF_REQUIRE(n == 0);
tests/sys/kern/inotify_test.c
564
ssize_t n;
tests/sys/kern/inotify_test.c
572
n = write(fd, "test", 4);
tests/sys/kern/inotify_test.c
573
ATF_REQUIRE(n == 4);
tests/sys/kern/inotify_test.c
577
n = read(fd, buf, sizeof(buf));
tests/sys/kern/inotify_test.c
578
ATF_REQUIRE(n == 4);
tests/sys/kern/inotify_test.c
586
n = copy_file_range(fd, NULL, fd1, NULL, 4, 0);
tests/sys/kern/inotify_test.c
587
ATF_REQUIRE(n == 4);
tests/sys/kern/inotify_test.c
727
ssize_t n;
tests/sys/kern/inotify_test.c
746
n = write(fd, &b, sizeof(b));
tests/sys/kern/inotify_test.c
747
ATF_REQUIRE(n == sizeof(b));
tests/sys/kern/inotify_test.c
76
int n;
tests/sys/kern/inotify_test.c
78
ATF_REQUIRE(ioctl(fd, FIONREAD, &n) == 0);
tests/sys/kern/inotify_test.c
79
ATF_REQUIRE(n == 0);
tests/sys/kern/inotify_test.c
89
ssize_t n;
tests/sys/kern/inotify_test.c
98
n = read(ifd, ev, evsz);
tests/sys/kern/inotify_test.c
99
ATF_REQUIRE_MSG(n >= 0, "failed to read event %s: %s",
tests/sys/kern/jaildesc.c
169
int desc, jid, n;
tests/sys/kern/jaildesc.c
173
n = 0;
tests/sys/kern/jaildesc.c
174
iov[n].iov_base = __DECONST(void *, "name");
tests/sys/kern/jaildesc.c
175
iov[n++].iov_len = strlen("name") + 1;
tests/sys/kern/jaildesc.c
176
iov[n].iov_base = namebuf;
tests/sys/kern/jaildesc.c
177
iov[n++].iov_len = sizeof(namebuf);
tests/sys/kern/jaildesc.c
178
iov[n].iov_base = __DECONST(void *, "desc");
tests/sys/kern/jaildesc.c
179
iov[n++].iov_len = strlen("desc") + 1;
tests/sys/kern/jaildesc.c
180
iov[n].iov_base = &desc;
tests/sys/kern/jaildesc.c
181
iov[n++].iov_len = sizeof(desc);
tests/sys/kern/jaildesc.c
182
jid = jail_get(iov, n, JAIL_GET_DESC);
tests/sys/kern/jaildesc.c
244
int desc, error, jid, n;
tests/sys/kern/jaildesc.c
250
n = 0;
tests/sys/kern/jaildesc.c
251
iov[n].iov_base = __DECONST(void *, "name");
tests/sys/kern/jaildesc.c
252
iov[n++].iov_len = sizeof("name");
tests/sys/kern/jaildesc.c
253
iov[n].iov_base = namebuf;
tests/sys/kern/jaildesc.c
254
iov[n++].iov_len = strlen(namebuf) + 1;
tests/sys/kern/jaildesc.c
255
jid = jail_get(iov, n, 0);
tests/sys/kern/jaildesc.c
267
n = 0;
tests/sys/kern/jaildesc.c
268
iov[n].iov_base = __DECONST(void *, "name");
tests/sys/kern/jaildesc.c
269
iov[n++].iov_len = sizeof("name");
tests/sys/kern/jaildesc.c
270
iov[n].iov_base = namebuf;
tests/sys/kern/jaildesc.c
271
iov[n++].iov_len = strlen(namebuf) + 1;
tests/sys/kern/jaildesc.c
272
iov[n].iov_base = __DECONST(void *, "desc");
tests/sys/kern/jaildesc.c
273
iov[n++].iov_len = sizeof("desc");
tests/sys/kern/jaildesc.c
274
iov[n].iov_base = &desc;
tests/sys/kern/jaildesc.c
275
iov[n++].iov_len = sizeof(desc);
tests/sys/kern/jaildesc.c
276
ATF_REQUIRE_MSG(jail_get(iov, n, JAIL_GET_DESC) == -1,
tests/sys/kern/jaildesc.c
278
ATF_REQUIRE_MSG(jail_get(iov, n, JAIL_OWN_DESC) == -1,
tests/sys/kern/jaildesc.c
358
int desc, i, n;
tests/sys/kern/jaildesc.c
367
n = 0;
tests/sys/kern/jaildesc.c
368
iov[n].iov_base = __DECONST(void *, "name");
tests/sys/kern/jaildesc.c
369
iov[n++].iov_len = strlen("name") + 1;
tests/sys/kern/jaildesc.c
370
iov[n].iov_base = namebuf;
tests/sys/kern/jaildesc.c
371
iov[n++].iov_len = sizeof(namebuf);
tests/sys/kern/jaildesc.c
372
iov[n].iov_base = __DECONST(void *, "desc");
tests/sys/kern/jaildesc.c
373
iov[n++].iov_len = strlen("desc") + 1;
tests/sys/kern/jaildesc.c
374
iov[n].iov_base = &desc;
tests/sys/kern/jaildesc.c
375
iov[n++].iov_len = sizeof(desc);
tests/sys/kern/jaildesc.c
376
if (jail_get(iov, n, JAIL_AT_DESC) != -1)
tests/sys/kern/jaildesc.c
67
int desc, jid, n;
tests/sys/kern/jaildesc.c
70
n = 0;
tests/sys/kern/jaildesc.c
71
iov[n].iov_base = __DECONST(void *, "name");
tests/sys/kern/jaildesc.c
72
iov[n++].iov_len = strlen("name") + 1;
tests/sys/kern/jaildesc.c
73
iov[n].iov_base = __DECONST(void *, name);
tests/sys/kern/jaildesc.c
74
iov[n++].iov_len = strlen(name) + 1;
tests/sys/kern/jaildesc.c
75
iov[n].iov_base = __DECONST(void *, "path");
tests/sys/kern/jaildesc.c
76
iov[n++].iov_len = strlen("path") + 1;
tests/sys/kern/jaildesc.c
77
iov[n].iov_base = __DECONST(void *, "/");
tests/sys/kern/jaildesc.c
78
iov[n++].iov_len = strlen("/") + 1;
tests/sys/kern/jaildesc.c
79
iov[n].iov_base = __DECONST(void *, "persist");
tests/sys/kern/jaildesc.c
80
iov[n++].iov_len = strlen("persist") + 1;
tests/sys/kern/jaildesc.c
81
iov[n].iov_base = NULL;
tests/sys/kern/jaildesc.c
82
iov[n++].iov_len = 0;
tests/sys/kern/jaildesc.c
83
iov[n].iov_base = __DECONST(void *, "desc");
tests/sys/kern/jaildesc.c
84
iov[n++].iov_len = strlen("desc") + 1;
tests/sys/kern/jaildesc.c
85
iov[n].iov_base = &desc;
tests/sys/kern/jaildesc.c
86
iov[n++].iov_len = sizeof(desc);
tests/sys/kern/jaildesc.c
87
jid = jail_set(iov, n, JAIL_CREATE | JAIL_OWN_DESC);
tests/sys/kern/kern_descrip_test.c
116
openfiles(size_t n)
tests/sys/kern/kern_descrip_test.c
128
openfiles2(n / PARALLEL);
tests/sys/kern/kern_descrip_test.c
186
int n, oldmaxfiles;
tests/sys/kern/kern_descrip_test.c
189
if ((n = readlink(VALUE, buf, sizeof(buf))) > 0) {
tests/sys/kern/kern_descrip_test.c
190
buf[MIN((size_t)n, sizeof(buf) - 1)] = '\0';
tests/sys/kern/kern_descrip_test.c
92
openfiles2(size_t n)
tests/sys/kern/kern_descrip_test.c
98
for (i = 0; i < n; i++) {
tests/sys/kern/ktls_test.c
2873
ssize_t n;
tests/sys/kern/ktls_test.c
2894
n = sendto(s, buf, sizeof(buf), 0, (struct sockaddr *)&dst,
tests/sys/kern/ktls_test.c
2898
ATF_REQUIRE_ERRNO(EACCES, n == -1);
tests/sys/kern/ktrace_test.c
145
ssize_t n;
tests/sys/kern/ktrace_test.c
152
ATF_REQUIRE((n = read(fd, &header, sizeof(header))) != -1);
tests/sys/kern/ktrace_test.c
153
ATF_REQUIRE_EQ(n, sizeof(header));
tests/sys/kern/ktrace_test.c
157
ATF_REQUIRE((n = read(fd, v + i,
tests/sys/kern/ktrace_test.c
159
ATF_REQUIRE_EQ(n, sizeof(*v));
tests/sys/kern/ktrace_test.c
549
ssize_t n;
tests/sys/kern/ktrace_test.c
569
n = read(fd, &header, sizeof(header));
tests/sys/kern/ktrace_test.c
570
ATF_REQUIRE(n >= 0);
tests/sys/kern/ktrace_test.c
571
ATF_REQUIRE_EQ((size_t)n, sizeof(header));
tests/sys/kern/ktrace_test.c
576
n = read(fd, syscall, header.ktr_len);
tests/sys/kern/ktrace_test.c
577
ATF_REQUIRE(n >= 0);
tests/sys/kern/ktrace_test.c
578
ATF_REQUIRE_EQ(n, header.ktr_len);
tests/sys/kern/ktrace_test.c
583
n = read(fd, &header, sizeof(header));
tests/sys/kern/ktrace_test.c
584
ATF_REQUIRE(n >= 0);
tests/sys/kern/ktrace_test.c
585
ATF_REQUIRE_EQ((size_t)n, sizeof(header));
tests/sys/kern/ktrace_test.c
590
n = read(fd, syscall, header.ktr_len);
tests/sys/kern/ktrace_test.c
591
ATF_REQUIRE(n >= 0);
tests/sys/kern/ktrace_test.c
592
ATF_REQUIRE_EQ(n, header.ktr_len);
tests/sys/kern/pipe/pipe_kqueue_test.c
244
ssize_t bytes, n;
tests/sys/kern/pipe/pipe_kqueue_test.c
254
while ((n = write(p[1], &c, 1)) == 1)
tests/sys/kern/pipe/pipe_kqueue_test.c
256
ATF_REQUIRE(n < 0);
tests/sys/kern/pipe/pipe_kqueue_test.c
297
ssize_t bytes, n;
tests/sys/kern/pipe/pipe_kqueue_test.c
326
while ((n = write(p[1], &c, 1)) == 1)
tests/sys/kern/pipe/pipe_kqueue_test.c
328
ATF_REQUIRE(n < 0);
tests/sys/kern/pipe/pipe_reverse2_test.c
41
int n;
tests/sys/kern/pipe/pipe_reverse2_test.c
48
n = select(pip[1] + 1, NULL, &set, NULL, &(struct timeval){ 0, 0 });
tests/sys/kern/pipe/pipe_reverse2_test.c
49
if (n != 1)
tests/sys/kern/pipe/pipe_reverse2_test.c
52
n = write(pip[0], "x", 1);
tests/sys/kern/pipe/pipe_reverse2_test.c
53
if (n != 1)
tests/sys/kern/pipe/pipe_reverse2_test.c
58
n = select(pip[1] + 1, NULL, &set, NULL, &(struct timeval){ 0, 0 });
tests/sys/kern/pipe/pipe_reverse2_test.c
59
if (n != 1)
tests/sys/kern/ptrace_test.c
483
ssize_t n;
tests/sys/kern/ptrace_test.c
499
n = read(gcpipe[0], &status, sizeof(status));
tests/sys/kern/ptrace_test.c
500
} while (n == -1 && errno == EINTR);
tests/sys/kern/sigsys.c
83
int n, oldval;
tests/sys/kern/sigsys.c
86
if ((n = readlink(SAVEDVALUE, buf, sizeof(buf))) > 0) {
tests/sys/kern/sigsys.c
87
buf[MIN((size_t)n, sizeof(buf) - 1)] = '\0';
tests/sys/kern/socket_accf.c
233
int n, l;
tests/sys/kern/socket_accf.c
248
ATF_REQUIRE((n = socket(PF_INET, SOCK_STREAM, 0)) > 0);
tests/sys/kern/socket_accf.c
249
ATF_REQUIRE(setsockopt(n, SOL_SOCKET, SO_ACCEPTFILTER, &dfa,
tests/sys/kern/socket_msg_waitall.c
101
n = send(cs, msg, msglen, 0);
tests/sys/kern/socket_msg_waitall.c
102
ATF_REQUIRE_MSG(n == (ssize_t)msglen,
tests/sys/kern/socket_msg_waitall.c
42
ssize_t n;
tests/sys/kern/socket_msg_waitall.c
51
n = recv(s, buf, buflen, MSG_WAITALL);
tests/sys/kern/socket_msg_waitall.c
52
ATF_REQUIRE_MSG(n == (ssize_t)p->msglen,
tests/sys/kern/socket_msg_waitall.c
53
"recv: got %zd expected %zd", n, (ssize_t)p->msglen);
tests/sys/kern/socket_msg_waitall.c
95
ssize_t n;
tests/sys/kern/socket_splice.c
131
off_t n;
tests/sys/kern/socket_splice.c
135
len = sizeof(n);
tests/sys/kern/socket_splice.c
136
error = getsockopt(sd, SOL_SOCKET, SO_SPLICE, &n, &len);
tests/sys/kern/socket_splice.c
138
ATF_REQUIRE_MSG(len == sizeof(n), "unexpected length: %d", len);
tests/sys/kern/socket_splice.c
139
return (n);
tests/sys/kern/socket_splice.c
145
#define check_nspliced(sd, n) do { \
tests/sys/kern/socket_splice.c
149
ATF_REQUIRE_MSG(sofar == (off_t)n, "spliced %jd bytes, expected %jd", \
tests/sys/kern/socket_splice.c
150
(intmax_t)sofar, (intmax_t)n); \
tests/sys/kern/socket_splice.c
266
ssize_t n;
tests/sys/kern/socket_splice.c
276
n = write(sc.left[0], &c, 1);
tests/sys/kern/socket_splice.c
277
ATF_REQUIRE_MSG(n == 1, "write failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
278
n = read(sc.right[1], &c, 1);
tests/sys/kern/socket_splice.c
279
ATF_REQUIRE_MSG(n == 1, "read failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
286
n = write(sc.right[1], &c, 1);
tests/sys/kern/socket_splice.c
287
ATF_REQUIRE_MSG(n == 1, "write failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
288
n = read(sc.left[0], &c, 1);
tests/sys/kern/socket_splice.c
289
ATF_REQUIRE_MSG(n == 1, "read failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
326
off_t n;
tests/sys/kern/socket_splice.c
360
n = -1;
tests/sys/kern/socket_splice.c
361
error = getsockopt(left[1], SOL_SOCKET, SO_SPLICE, &n,
tests/sys/kern/socket_splice.c
362
&(socklen_t){ sizeof(n) });
tests/sys/kern/socket_splice.c
364
ATF_REQUIRE(n == 0);
tests/sys/kern/socket_splice.c
477
ssize_t n;
tests/sys/kern/socket_splice.c
496
n = write(sc.left[0], &b, 1);
tests/sys/kern/socket_splice.c
497
ATF_REQUIRE_MSG(n == 1, "write failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
498
n = read(sc.right[1], &b, 1);
tests/sys/kern/socket_splice.c
499
ATF_REQUIRE_MSG(n == 1, "read failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
507
n = write(sc.right[1], &b, 1);
tests/sys/kern/socket_splice.c
508
ATF_REQUIRE_MSG(n == 1, "write failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
509
n = read(sc.left[0], &b, 1);
tests/sys/kern/socket_splice.c
510
ATF_REQUIRE_MSG(n == 1, "read failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
524
ssize_t n;
tests/sys/kern/socket_splice.c
530
for (size_t total = sizeof(buf); total > 0; total -= n) {
tests/sys/kern/socket_splice.c
531
n = write(sc.left[0], buf, total);
tests/sys/kern/socket_splice.c
532
ATF_REQUIRE_MSG(n > 0, "write failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
534
for (size_t total = sizeof(buf); total > 0; total -= n) {
tests/sys/kern/socket_splice.c
535
n = read(sc.right[1], buf, sizeof(buf));
tests/sys/kern/socket_splice.c
536
ATF_REQUIRE_MSG(n > 0, "read failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
544
n = write(sc.left[0], &b, 1);
tests/sys/kern/socket_splice.c
545
ATF_REQUIRE_MSG(n == 1, "write failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
546
n = read(sc.right[1], &b, 1);
tests/sys/kern/socket_splice.c
547
ATF_REQUIRE_MSG(n == 1, "read failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
555
n = write(sc.left[0], &b, 1);
tests/sys/kern/socket_splice.c
556
ATF_REQUIRE_MSG(n == 1, "write failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
557
n = read(sc.left[1], &b, 1);
tests/sys/kern/socket_splice.c
558
ATF_REQUIRE_MSG(n == 1, "write failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
573
ssize_t n;
tests/sys/kern/socket_splice.c
582
for (size_t total = sizeof(buf); total > 0; total -= n) {
tests/sys/kern/socket_splice.c
583
n = write(sc.left[0], buf, total);
tests/sys/kern/socket_splice.c
584
ATF_REQUIRE_MSG(n > 0, "write failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
586
for (size_t total = sizeof(buf); total > 0; total -= n) {
tests/sys/kern/socket_splice.c
587
n = read(sc.right[1], buf, sizeof(buf));
tests/sys/kern/socket_splice.c
588
ATF_REQUIRE_MSG(n > 0, "read failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
603
n = write(sc.left[0], &b, 1);
tests/sys/kern/socket_splice.c
604
ATF_REQUIRE_MSG(n == 1, "write failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
605
n = read(sc.left[1], &b, 1);
tests/sys/kern/socket_splice.c
606
ATF_REQUIRE_MSG(n == 1, "write failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
674
ssize_t n;
tests/sys/kern/socket_splice.c
692
n = write(sd[0], &c, 1);
tests/sys/kern/socket_splice.c
693
if (n != 1)
tests/sys/kern/socket_splice.c
696
n = write(sd[1], &c, 1);
tests/sys/kern/socket_splice.c
697
if (n != 1)
tests/sys/kern/socket_splice.c
727
ssize_t n;
tests/sys/kern/socket_splice.c
734
n = write(sc.left[0], buf, sizeof(buf));
tests/sys/kern/socket_splice.c
735
if (n < 0) {
tests/sys/kern/socket_splice.c
736
ATF_REQUIRE_ERRNO(EAGAIN, n == -1);
tests/sys/kern/socket_splice.c
739
sofar += n;
tests/sys/kern/socket_splice.c
743
n = read(sc.right[1], buf, sizeof(buf));
tests/sys/kern/socket_splice.c
744
if (n < 0) {
tests/sys/kern/socket_splice.c
745
ATF_REQUIRE_ERRNO(EAGAIN, n == -1);
tests/sys/kern/socket_splice.c
748
for (size_t i = 0; i < (size_t)n; i++)
tests/sys/kern/socket_splice.c
750
sofar -= n;
tests/sys/kern/socket_splice.c
761
ssize_t n;
tests/sys/kern/socket_splice.c
768
n = write(sc.left[0], &c, 1);
tests/sys/kern/socket_splice.c
769
ATF_REQUIRE_MSG(n == 1, "write failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
770
n = read(sc.right[1], &c, 1);
tests/sys/kern/socket_splice.c
771
ATF_REQUIRE_MSG(n == 1, "read failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
778
n = write(sc.right[1], &c, 1);
tests/sys/kern/socket_splice.c
779
ATF_REQUIRE_MSG(n == 1, "write failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
780
n = read(sc.left[0], &c, 1);
tests/sys/kern/socket_splice.c
781
ATF_REQUIRE_MSG(n == 1, "read failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
799
n = write(sc.left[0], &c, 1);
tests/sys/kern/socket_splice.c
800
ATF_REQUIRE_MSG(n == 1, "write failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
801
n = read(sc.right[1], &c, 1);
tests/sys/kern/socket_splice.c
802
ATF_REQUIRE_MSG(n == 1, "read failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
809
n = write(sc.right[1], &c, 1);
tests/sys/kern/socket_splice.c
810
ATF_REQUIRE_MSG(n == 1, "write failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
811
n = read(sc.left[0], &c, 1);
tests/sys/kern/socket_splice.c
812
ATF_REQUIRE_MSG(n == 1, "read failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
832
ssize_t n;
tests/sys/kern/socket_splice.c
849
n = write(xfer->fd, buf, MIN(sz, xfer->bytes));
tests/sys/kern/socket_splice.c
850
if (n < 0) {
tests/sys/kern/socket_splice.c
851
ATF_REQUIRE_ERRNO(EAGAIN, n == -1);
tests/sys/kern/socket_splice.c
854
ATF_REQUIRE(xfer->bytes >= (size_t)n);
tests/sys/kern/socket_splice.c
855
xfer->bytes -= n;
tests/sys/kern/socket_splice.c
858
n = read(xfer->fd, buf, sz);
tests/sys/kern/socket_splice.c
859
if (n < 0) {
tests/sys/kern/socket_splice.c
860
ATF_REQUIRE_ERRNO(EAGAIN, n == -1);
tests/sys/kern/socket_splice.c
863
ATF_REQUIRE(resid >= (size_t)n);
tests/sys/kern/socket_splice.c
864
resid -= n;
tests/sys/kern/socket_splice.c
928
ssize_t n;
tests/sys/kern/socket_splice.c
945
n = write(sd4[0], &b, 1);
tests/sys/kern/socket_splice.c
946
ATF_REQUIRE_MSG(n == 1, "write failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
947
n = read(sd6[1], &b, 1);
tests/sys/kern/socket_splice.c
948
ATF_REQUIRE_MSG(n == 1, "read failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
952
n = write(sd6[1], &b, 1);
tests/sys/kern/socket_splice.c
953
ATF_REQUIRE_MSG(n == 1, "write failed: %s", strerror(errno));
tests/sys/kern/socket_splice.c
954
n = read(sd4[0], &b, 1);
tests/sys/kern/socket_splice.c
955
ATF_REQUIRE_MSG(n == 1, "read failed: %s", strerror(errno));
tests/sys/kern/ssl_sendfile.c
302
int n;
tests/sys/kern/ssl_sendfile.c
308
while (nread < FSIZE && (n = SSL_read_b(c.cln, buf, sizeof(buf))) > 0) {
tests/sys/kern/ssl_sendfile.c
309
ATF_REQUIRE(memcmp((char *)c.mfd + nread, buf, n) == 0);
tests/sys/kern/ssl_sendfile.c
310
nread += n;
tests/sys/kern/ssl_sendfile.c
329
size_t size, n, nread, expect;
tests/sys/kern/ssl_sendfile.c
337
(n = SSL_read_b(c.cln, buf, sizeof(buf))) > 0) {
tests/sys/kern/ssl_sendfile.c
339
n) == 0);
tests/sys/kern/ssl_sendfile.c
340
nread += n;
tests/sys/kern/ssl_sendfile.c
356
int n;
tests/sys/kern/ssl_sendfile.c
373
while (nread < TRUNC && (n = SSL_read_b(c.cln, buf, sizeof(buf))) > 0) {
tests/sys/kern/ssl_sendfile.c
374
ATF_REQUIRE(memcmp((char *)c.mfd + nread, buf, n) == 0);
tests/sys/kern/ssl_sendfile.c
375
nread += n;
tests/sys/kern/ssl_sendfile.c
391
int n;
tests/sys/kern/ssl_sendfile.c
414
while (nread < FSIZE && (n = SSL_read_b(c.cln, buf,
tests/sys/kern/ssl_sendfile.c
416
ATF_REQUIRE(memcmp((char *)c.mfd + nread, buf, n) == 0);
tests/sys/kern/ssl_sendfile.c
417
nread += n;
tests/sys/kern/ssl_sendfile.c
422
while (nread < GROW && (n = SSL_read_b(c.cln, buf, sizeof(buf))) > 0) {
tests/sys/kern/ssl_sendfile.c
423
ATF_REQUIRE(memcmp((char *)map + nread, buf, n) == 0);
tests/sys/kern/ssl_sendfile.c
424
nread += n;
tests/sys/kern/ssl_sendfile.c
460
int n;
tests/sys/kern/ssl_sendfile.c
487
(n = SSL_read_b(c.cln, buf, sizeof(buf))) > 0) {
tests/sys/kern/ssl_sendfile.c
488
ATF_REQUIRE(memcmp((char *)c.mfd + nread, buf, n) == 0);
tests/sys/kern/ssl_sendfile.c
489
nread += n;
tests/sys/kern/unix_passfd_test.c
116
int mib[4], n, rc;
tests/sys/kern/unix_passfd_test.c
118
len = sizeof(n);
tests/sys/kern/unix_passfd_test.c
124
rc = sysctl(mib, 4, &n, &len, NULL, 0);
tests/sys/kern/unix_passfd_test.c
126
return (n);
tests/sys/netgraph/util.c
118
struct ngm_name n;
tests/sys/netgraph/util.c
120
strncpy(n.name, name, sizeof(n.name));
tests/sys/netgraph/util.c
124
&n, sizeof(n)));
tests/sys/netgraph/util.c
241
ng_errors(ng_error_t n)
tests/sys/netgraph/util.c
245
error_handling = n;
tests/sys/netgraph/util.h
66
#define ng_name(p,n) \
tests/sys/netgraph/util.h
67
_ng_name(p,n,__FILE__,__LINE__)
tests/sys/netinet/fibs_multibind_test.c
334
ssize_t n;
tests/sys/netinet/fibs_multibind_test.c
370
n = sendto(cs1, &b, sizeof(b), 0, (struct sockaddr *)&ss, sslen);
tests/sys/netinet/fibs_multibind_test.c
371
ATF_REQUIRE_MSG(n == 1, "sendto failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
372
n = recv(ss1, &b, sizeof(b), 0);
tests/sys/netinet/fibs_multibind_test.c
373
ATF_REQUIRE(n == 1);
tests/sys/netinet/fibs_multibind_test.c
378
n = sendto(cs2, &b, sizeof(b), 0, (struct sockaddr *)&ss, sslen);
tests/sys/netinet/fibs_multibind_test.c
379
ATF_REQUIRE_MSG(n == 1, "sendto failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
381
n = recv(ss1, &b, sizeof(b), MSG_DONTWAIT);
tests/sys/netinet/fibs_multibind_test.c
382
ATF_REQUIRE_ERRNO(EWOULDBLOCK, n == -1);
tests/sys/netinet/fibs_multibind_test.c
389
n = sendto(cs1, &b, sizeof(b), 0, (struct sockaddr *)&ss, sslen);
tests/sys/netinet/fibs_multibind_test.c
390
ATF_REQUIRE_MSG(n == 1, "sendto failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
391
n = recv(ss1, &b, sizeof(b), 0);
tests/sys/netinet/fibs_multibind_test.c
392
ATF_REQUIRE(n == 1);
tests/sys/netinet/fibs_multibind_test.c
396
n = sendto(cs2, &b, sizeof(b), 0, (struct sockaddr *)&ss, sslen);
tests/sys/netinet/fibs_multibind_test.c
397
ATF_REQUIRE_MSG(n == 1, "sendto failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
398
n = recv(ss2, &b, sizeof(b), 0);
tests/sys/netinet/fibs_multibind_test.c
399
ATF_REQUIRE(n == 1);
tests/sys/netinet/fibs_multibind_test.c
416
ssize_t n;
tests/sys/netinet/fibs_multibind_test.c
422
n = sendto(s, &icmp, sizeof(icmp), 0, sa, salen);
tests/sys/netinet/fibs_multibind_test.c
423
ATF_REQUIRE_MSG(n == (ssize_t)sizeof(icmp), "sendto failed: %s",
tests/sys/netinet/fibs_multibind_test.c
436
ssize_t n;
tests/sys/netinet/fibs_multibind_test.c
443
n = sendto(s, &icmp6, sizeof(icmp6), 0, sa, salen);
tests/sys/netinet/fibs_multibind_test.c
444
ATF_REQUIRE_MSG(n == (ssize_t)sizeof(icmp6), "sendto failed: %s",
tests/sys/netinet/fibs_multibind_test.c
455
ssize_t n;
tests/sys/netinet/fibs_multibind_test.c
490
n = recv(s[i], b, sizeof(b), 0);
tests/sys/netinet/fibs_multibind_test.c
491
ATF_REQUIRE_MSG(n > 0, "recv failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
492
ATF_REQUIRE_MSG(n == (ssize_t)sz,
tests/sys/netinet/fibs_multibind_test.c
493
"short packet received: %zd", n);
tests/sys/netinet/fibs_multibind_test.c
497
n = recv(s[i], b, sizeof(b), 0);
tests/sys/netinet/fibs_multibind_test.c
498
ATF_REQUIRE_MSG(n > 0,
tests/sys/netinet/fibs_multibind_test.c
500
ATF_REQUIRE_MSG(n == (ssize_t)sz,
tests/sys/netinet/fibs_multibind_test.c
501
"short packet received: %zd", n);
tests/sys/netinet/fibs_multibind_test.c
505
n = recv(s[1 - i], b, sizeof(b), MSG_DONTWAIT);
tests/sys/netinet/fibs_multibind_test.c
506
printf("n = %zd i = %d\n", n, i);
tests/sys/netinet/fibs_multibind_test.c
507
ATF_REQUIRE_ERRNO(EWOULDBLOCK, n == -1);
tests/sys/netinet/fibs_multibind_test.c
620
ssize_t n;
tests/sys/netinet/fibs_multibind_test.c
666
n = sendto(cs, &b, sizeof(b), 0, (struct sockaddr *)&ss, sslen);
tests/sys/netinet/fibs_multibind_test.c
667
ATF_REQUIRE_MSG(n == 1, "sendto failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
681
n = recv(rs, &b, sizeof(b), 0);
tests/sys/netinet/fibs_multibind_test.c
682
ATF_REQUIRE(n == 1);
tests/sys/netinet/fibs_multibind_test.c
694
n = sendto(cs, &b, sizeof(b), 0, (struct sockaddr *)&ss, sslen);
tests/sys/netinet/fibs_multibind_test.c
695
ATF_REQUIRE_MSG(n == 1, "sendto failed: %s", strerror(errno));
tests/sys/netinet/fibs_multibind_test.c
698
n = recv(s[2], &b, sizeof(b), 0);
tests/sys/netinet/fibs_multibind_test.c
699
ATF_REQUIRE(n == 1);
tests/sys/netinet/ip6_mrouted.c
104
int n;
tests/sys/netinet/ip6_mrouted.c
106
n = kevent(kq, NULL, 0, &ev, 1, NULL);
tests/sys/netinet/ip6_mrouted.c
107
if (n < 0) {
tests/sys/netinet/ip6_mrouted.c
112
if (n == 0)
tests/sys/netinet/ip6_mrouted.c
114
assert(n == 1);
tests/sys/netinet/ip6_v4mapped_test.c
332
ssize_t n;
tests/sys/netinet/ip6_v4mapped_test.c
371
n = sendto(s, &ch, 1, 0, (struct sockaddr *)&sin6, sizeof(sin6));
tests/sys/netinet/ip6_v4mapped_test.c
372
ATF_REQUIRE_ERRNO(EINVAL, n == -1);
tests/sys/netinet/ip6_v4mapped_test.c
380
n = sendto(s, &ch, 1, 0, (struct sockaddr *)&sin6, sizeof(sin6));
tests/sys/netinet/ip6_v4mapped_test.c
381
ATF_REQUIRE_MSG(n == 1, "sendto() failed: %s", strerror(errno));
tests/sys/netinet/ip6_v4mapped_test.c
384
n = recv(ls, &ch, 1, 0);
tests/sys/netinet/ip6_v4mapped_test.c
385
ATF_REQUIRE_MSG(n == 1, "recv() failed: %s", strerror(errno));
tests/sys/netinet/ip_reass_test.c
124
ssize_t n;
tests/sys/netinet/ip_reass_test.c
128
n = write(bpffd, packet, len);
tests/sys/netinet/ip_reass_test.c
129
ATF_REQUIRE_MSG(n >= 0, "packet write failed: %s", strerror(errno));
tests/sys/netinet/ip_reass_test.c
130
ATF_REQUIRE_MSG((size_t)n == len, "wrote %zd bytes instead of %zu",
tests/sys/netinet/ip_reass_test.c
131
n, len);
tests/sys/netinet/libalias/perf.c
48
#define timevaldiff(n, o) (float) \
tests/sys/netinet/libalias/perf.c
49
(((n).tv_sec - (o).tv_sec)*1000000l + \
tests/sys/netinet/libalias/perf.c
50
((n).tv_usec - (o).tv_usec))
tests/sys/netinet/so_reuseport_lb_test.c
255
ssize_t n;
tests/sys/netinet/so_reuseport_lb_test.c
269
n = write(cs, &b, sizeof(b));
tests/sys/netinet/so_reuseport_lb_test.c
270
ATF_REQUIRE_MSG(n >= 0, "write() failed: %s", strerror(errno));
tests/sys/netinet/so_reuseport_lb_test.c
271
ATF_REQUIRE(n == 1);
tests/sys/netinet/so_reuseport_lb_test.c
283
ssize_t n;
tests/sys/netinet/so_reuseport_lb_test.c
297
n = read(s, &b, sizeof(b));
tests/sys/netinet/so_reuseport_lb_test.c
298
ATF_REQUIRE_MSG(n >= 0, "read() failed: %s",
tests/sys/netinet/so_reuseport_lb_test.c
300
ATF_REQUIRE(n == 1);
tests/sys/netinet/so_reuseport_lb_test.c
574
ssize_t n;
tests/sys/netinet/so_reuseport_lb_test.c
611
n = sendto(s2, &ch, sizeof(ch), 0, (struct sockaddr *)&sin,
tests/sys/netinet/so_reuseport_lb_test.c
613
ATF_REQUIRE(n == 1);
tests/sys/netinet/so_reuseport_lb_test.c
624
n = sendto(s3, &ch, sizeof(ch), 0, (struct sockaddr *)&sin,
tests/sys/netinet/so_reuseport_lb_test.c
626
ATF_REQUIRE(n == 1);
tests/sys/netinet/so_reuseport_lb_test.c
646
ssize_t n;
tests/sys/netinet/so_reuseport_lb_test.c
683
n = sendto(s2, &ch, sizeof(ch), 0, (struct sockaddr *)&sin6,
tests/sys/netinet/so_reuseport_lb_test.c
685
ATF_REQUIRE(n == 1);
tests/sys/netinet/so_reuseport_lb_test.c
696
n = sendto(s3, &ch, sizeof(ch), 0, (struct sockaddr *)&sin6,
tests/sys/netinet/so_reuseport_lb_test.c
698
ATF_REQUIRE(n == 1);
tests/sys/netinet/udp_io.c
113
u_int n;
tests/sys/netinet/udp_io.c
120
n = (arc4random() % sizeof(sbuf)) + 1;
tests/sys/netinet/udp_io.c
121
iov.iov_len = n;
tests/sys/netinet/udp_io.c
122
ATF_REQUIRE(recvmsg(s[0], &msg, MSG_PEEK) == (ssize_t)n);
tests/sys/netinet/udp_io.c
123
if (n < sizeof(sbuf))
tests/sys/netinet/udp_io.c
127
ATF_REQUIRE(strncmp(sbuf, rbuf, n) == 0);
tests/sys/netinet/udp_io.c
78
u_int n;
tests/sys/netinet/udp_io.c
83
n = (arc4random() % (sizeof(sbuf) - 1)) + 1;
tests/sys/netinet/udp_io.c
85
iov.iov_len = n;
tests/sys/netinet/udp_io.c
86
ATF_REQUIRE(recvmsg(s[0], &msg, 0) == (ssize_t)n);
tests/sys/netinet/udp_io.c
88
ATF_REQUIRE(strncmp(sbuf, rbuf, n) == 0);
tests/sys/netmap/ctrl-api-test.c
1835
randomize(void *dst, size_t n)
tests/sys/netmap/ctrl-api-test.c
1840
for (i = 0; i < n; i++)
tests/sys/netpfil/common/divapp.c
100
ssize_t n;
tests/sys/netpfil/common/divapp.c
102
n = sendto(c->fd, c->pkt, c->pkt_n, 0,
tests/sys/netpfil/common/divapp.c
104
if (n == -1)
tests/sys/netpfil/common/divapp.c
106
if (n != c->pkt_n)
tests/sys/netpfil/common/divapp.c
108
n, c->pkt_n);
tests/sys/pmc/pmc_detach_test.c
149
int i, n;
tests/sys/pmc/pmc_detach_test.c
155
for (n = 0; n < 3; n++)
tests/sys/pmc/pmc_detach_test.c
156
ATF_REQUIRE(pthread_create(&th[n], NULL, spinner, NULL) == 0);
tests/sys/pmc/pmc_detach_test.c
168
for (i = 0; i < n; i++)
tests/sys/sound/sndstat.c
228
int fd, rc, pchan, rchan, n;
tests/sys/sound/sndstat.c
311
NV(bool, FROM_USER, n);
tests/sys/sound/sndstat.c
312
ATF_CHECK(n);
tests/sys/sound/sndstat.c
342
NV(number, PLAY, MIN_RATE, n);
tests/sys/sound/sndstat.c
343
ATF_CHECK(n == UDEV_MIN_RATE);
tests/sys/sound/sndstat.c
345
NV(number, PLAY, MAX_RATE, n);
tests/sys/sound/sndstat.c
346
ATF_CHECK(n == UDEV_MAX_RATE);
tests/sys/sound/sndstat.c
348
NV(number, PLAY, FORMATS, n);
tests/sys/sound/sndstat.c
349
ATF_CHECK(n == UDEV_FORMATS);
tests/sys/sound/sndstat.c
351
NV(number, PLAY, MIN_CHN, n);
tests/sys/sound/sndstat.c
352
ATF_CHECK(n == UDEV_MIN_CHN);
tests/sys/sound/sndstat.c
354
NV(number, PLAY, MAX_CHN, n);
tests/sys/sound/sndstat.c
355
ATF_CHECK(n == UDEV_MAX_CHN);
tests/sys/sound/sndstat.c
358
NV(number, REC, MIN_RATE, n);
tests/sys/sound/sndstat.c
359
ATF_CHECK(n == UDEV_MIN_RATE);
tests/sys/sound/sndstat.c
361
NV(number, REC, MAX_RATE, n);
tests/sys/sound/sndstat.c
362
ATF_CHECK(n == UDEV_MAX_RATE);
tests/sys/sound/sndstat.c
364
NV(number, REC, FORMATS, n);
tests/sys/sound/sndstat.c
365
ATF_CHECK(n == UDEV_FORMATS);
tests/sys/sound/sndstat.c
367
NV(number, REC, MIN_CHN, n);
tests/sys/sound/sndstat.c
368
ATF_CHECK(n == UDEV_MIN_CHN);
tests/sys/sound/sndstat.c
370
NV(number, REC, MAX_CHN, n);
tests/sys/sound/sndstat.c
371
ATF_CHECK(n == UDEV_MAX_CHN);
tools/build/bootstrap-m4/inittokenizer.c
1588
yy_size_t n;
tools/build/bootstrap-m4/inittokenizer.c
1592
n = (yy_size_t) (_yybytes_len + 2);
tools/build/bootstrap-m4/inittokenizer.c
1593
buf = (char *) yyalloc( n );
tools/build/bootstrap-m4/inittokenizer.c
1602
b = yy_scan_buffer( buf, n );
tools/build/bootstrap-m4/inittokenizer.c
1627
#define yyless(n) \
tools/build/bootstrap-m4/inittokenizer.c
1631
int yyless_macro_arg = (n); \
tools/build/bootstrap-m4/inittokenizer.c
167
#define YY_LESS_LINENO(n)
tools/build/bootstrap-m4/inittokenizer.c
171
#define yyless(n) \
tools/build/bootstrap-m4/inittokenizer.c
175
int yyless_macro_arg = (n); \
tools/build/bootstrap-m4/inittokenizer.c
1776
static void yy_flex_strncpy (char* s1, const char * s2, int n )
tools/build/bootstrap-m4/inittokenizer.c
1780
for ( i = 0; i < n; ++i )
tools/build/bootstrap-m4/inittokenizer.c
1788
int n;
tools/build/bootstrap-m4/inittokenizer.c
1789
for ( n = 0; s[n]; ++n )
tools/build/bootstrap-m4/inittokenizer.c
1792
return n;
tools/build/bootstrap-m4/inittokenizer.c
609
int n; \
tools/build/bootstrap-m4/inittokenizer.c
610
for ( n = 0; n < max_size && \
tools/build/bootstrap-m4/inittokenizer.c
611
(c = getc( yyin )) != EOF && c != '\n'; ++n ) \
tools/build/bootstrap-m4/inittokenizer.c
612
buf[n] = (char) c; \
tools/build/bootstrap-m4/inittokenizer.c
614
buf[n++] = (char) c; \
tools/build/bootstrap-m4/inittokenizer.c
617
result = n; \
tools/build/cross-build/include/common/sys/cdefs.h
86
#define __alloc_size2(n, x) __attribute__((__alloc_size__(n, x)))
tools/regression/aio/aiop/aiop.c
132
int i, n;
tools/regression/aio/aiop/aiop.c
205
n = a - aio;
tools/regression/aio/aiop/aiop.c
206
assert(n < aio_len);
tools/regression/aio/aiop/aiop.c
207
assert(n >= 0);
tools/regression/aio/aiop/aiop.c
210
set_aio(aio + n, choose_aio(iowhat), fd, offset, io_size, abuf[n]);
tools/regression/environ/envctl.c
103
int n, varlen;
tools/regression/environ/envctl.c
108
for (n = 0; environ[n] != NULL; n++)
tools/regression/environ/envctl.c
110
newenviron = malloc(sizeof(char *) * (n + 1));
tools/regression/environ/envctl.c
112
for (; n >= 0; n--) {
tools/regression/environ/envctl.c
113
newenviron[n] = environ[n];
tools/regression/environ/envctl.c
114
if (newenviron[n] != NULL &&
tools/regression/environ/envctl.c
115
strncmp(newenviron[n], var, varlen) == 0 &&
tools/regression/environ/envctl.c
116
newenviron[n][varlen] == '=')
tools/regression/environ/envctl.c
117
newenviron[n] += strlen(newenviron[n]);
tools/regression/fsx/fsx.c
358
unsigned n = 0;
tools/regression/fsx/fsx.c
370
if (n == 0) {
tools/regression/fsx/fsx.c
376
n++;
tools/regression/fsx/fsx.c
383
if (n) {
tools/regression/fsx/fsx.c
384
prt("\t0x%5x\n", n);
tools/regression/gaithrstress/gaithrstress.c
153
size_t n;
tools/regression/gaithrstress/gaithrstress.c
166
n = nrandwords;
tools/regression/gaithrstress/gaithrstress.c
173
if (++nrandwords == n)
tools/regression/gaithrstress/gaithrstress.c
176
nrandwords = n;
tools/regression/geom/ConfCmp/ConfCmp.c
219
print_tree(struct node *np, int n)
tools/regression/geom/ConfCmp/ConfCmp.c
223
indent(n); printf("%s id=%s ref=%s\n", np->name, np->id, np->ref);
tools/regression/geom/ConfCmp/ConfCmp.c
225
print_tree(np1, n + 2);
tools/regression/geom/ConfCmp/ConfCmp.c
232
int n;
tools/regression/geom/ConfCmp/ConfCmp.c
238
n = 0;
tools/regression/geom/ConfCmp/ConfCmp.c
248
n++;
tools/regression/geom/ConfCmp/ConfCmp.c
253
} while (n);
tools/regression/geom/ConfCmp/ConfCmp.c
92
indent(int n)
tools/regression/geom/ConfCmp/ConfCmp.c
95
printf("%*.*s", n, n, "");
tools/regression/include/tgmath/tgmath.c
147
float (scalbnf)(float x, int n) { n_float++; }
tools/regression/include/tgmath/tgmath.c
148
double (scalbn)(double x, int n) { n_double++; }
tools/regression/include/tgmath/tgmath.c
149
long double (scalbnl)(long double x, int n) { n_long_double++; }
tools/regression/include/tgmath/tgmath.c
150
float (scalblnf)(float x, long n) { n_float++; }
tools/regression/include/tgmath/tgmath.c
151
double (scalbln)(double x, long n) { n_double++; }
tools/regression/include/tgmath/tgmath.c
152
long double (scalblnl)(long double x, long n) { n_long_double++; }
tools/regression/net80211/ccmp/test_ccmp.c
524
#define TEST(n,name,cipher,keyix,pn) { \
tools/regression/net80211/ccmp/test_ccmp.c
526
test##n##_key, sizeof(test##n##_key), \
tools/regression/net80211/ccmp/test_ccmp.c
527
test##n##_plaintext, sizeof(test##n##_plaintext), \
tools/regression/net80211/ccmp/test_ccmp.c
528
test##n##_encrypted, sizeof(test##n##_encrypted) \
tools/regression/net80211/tkip/test_tkip.c
111
#define TEST(n,name,cipher,keyix,pn) { \
tools/regression/net80211/tkip/test_tkip.c
113
test##n##_key, sizeof(test##n##_key), \
tools/regression/net80211/tkip/test_tkip.c
114
test##n##_phase1, sizeof(test##n##_phase1), \
tools/regression/net80211/tkip/test_tkip.c
115
test##n##_phase2, sizeof(test##n##_phase2), \
tools/regression/net80211/tkip/test_tkip.c
116
test##n##_plaintext, sizeof(test##n##_plaintext), \
tools/regression/net80211/tkip/test_tkip.c
117
test##n##_encrypted, sizeof(test##n##_encrypted) \
tools/regression/net80211/wep/test_wep.c
129
#define TEST(n,name,cipher,keyix,iv0,iv1,iv2,iv3) { \
tools/regression/net80211/wep/test_wep.c
131
test##n##_key, sizeof(test##n##_key), \
tools/regression/net80211/wep/test_wep.c
132
test##n##_plaintext, sizeof(test##n##_plaintext), \
tools/regression/net80211/wep/test_wep.c
133
test##n##_encrypted, sizeof(test##n##_encrypted) \
tools/regression/p1003_1b/yield.c
52
static void buzz(int n)
tools/regression/p1003_1b/yield.c
68
int nslaves, n;
tools/regression/p1003_1b/yield.c
83
n = nslaves = 10;
tools/regression/p1003_1b/yield.c
90
n = nslaves = atoi(argv[1]);
tools/regression/rpcsec_gss/rpctest.c
57
int i, len, n;
tools/regression/rpcsec_gss/rpctest.c
63
n = len;
tools/regression/rpcsec_gss/rpctest.c
64
if (n > 16)
tools/regression/rpcsec_gss/rpctest.c
65
n = 16;
tools/regression/rpcsec_gss/rpctest.c
66
for (i = 0; i < n; i++)
tools/regression/rpcsec_gss/rpctest.c
71
for (i = 0; i < n; i++)
tools/regression/rpcsec_gss/rpctest.c
74
len -= n;
tools/regression/rpcsec_gss/rpctest.c
75
p += n;
tools/regression/tls/ttls4/ttls4.c
13
int __thread n;
tools/regression/tls/ttls4/ttls4.c
18
if (n != 0) {
tools/regression/tls/ttls4/ttls4.c
19
printf("bug, n == %d \n", n);
tools/regression/tls/ttls4/ttls4.c
22
n = 1;
tools/test/arc4random/biastest.c
130
long long histogram[UCHAR_MAX + 1] = { 0 }, sum, n, median;
tools/test/arc4random/biastest.c
147
n = 0;
tools/test/arc4random/biastest.c
157
n += sample[i];
tools/test/arc4random/biastest.c
158
if (median == threshold && n > tries / 2)
tools/test/arc4random/biastest.c
196
n = 0;
tools/test/arc4random/biastest.c
199
n += histogram[i];
tools/test/arc4random/biastest.c
200
if (n >= threshold / 2) {
tools/test/stress2/lib/options.c
250
int i, n;
tools/test/stress2/lib/options.c
254
if ((n = readlink(path, buf, sizeof(buf) -1)) < 0) {
tools/test/stress2/lib/options.c
257
if ((n = readlink(path, buf, sizeof(buf) -1)) > 0)
tools/test/stress2/lib/options.c
260
if (n < 0)
tools/test/stress2/lib/options.c
264
buf[n] = '\0';
tools/test/stress2/lib/resources.c
107
int mib[16], n;
tools/test/stress2/lib/resources.c
116
for (n = 0; ; ++n) {
tools/test/stress2/lib/resources.c
117
mib[mibsize] = n;
tools/test/stress2/testcases/mkfifo/mkfifo.c
49
int *buf, fd, n;
tools/test/stress2/testcases/mkfifo/mkfifo.c
56
n = 0;
tools/test/stress2/testcases/mkfifo/mkfifo.c
62
if ((n = read(fd, buf, bufsize)) < 0)
tools/test/stress2/testcases/socket/socket.c
50
int n, *buf;
tools/test/stress2/testcases/socket/socket.c
55
if ((n = read(sv[0], buf, bufsize)) < 0)
tools/test/stress2/testcases/socket/socket.c
57
if (n == 0) break;
tools/test/stress2/testcases/tcp/tcp.c
55
int n, *buf;
tools/test/stress2/testcases/tcp/tcp.c
91
if ((n = read(msgsock, buf, bufsize)) < 0)
tools/test/stress2/testcases/tcp/tcp.c
93
if (n == 0) break;
tools/test/stress2/testcases/udp/udp.c
100
n = write(f, buf, bufsize);
tools/test/stress2/testcases/udp/udp.c
101
if (n == -1 && errno == ENOBUFS)
tools/test/stress2/testcases/udp/udp.c
103
if (n == -1 && errno == ECONNREFUSED)
tools/test/stress2/testcases/udp/udp.c
105
if (n == -1)
tools/test/stress2/testcases/udp/udp.c
107
if (n == 0) break;
tools/test/stress2/testcases/udp/udp.c
62
int f, i, n;
tools/test/stress2/tools/lsholes.c
45
int fd, n;
tools/test/stress2/tools/lsholes.c
62
n = 1;
tools/test/stress2/tools/lsholes.c
76
n, (intmax_t)data, siz);
tools/test/stress2/tools/lsholes.c
77
n++;
tools/test/stress2/tools/lsholes.c
83
n, (intmax_t)hole, siz);
tools/test/stress2/tools/lsholes.c
84
n++;
tools/test/stress2/tools/lsholes.c
90
n, (intmax_t)hole, siz);
tools/test/stress2/tools/lsholes.c
91
n++;
tools/test/stress2/tools/lsholes.c
98
n, (intmax_t)hole, 0L);
tools/test/stress2/tools/swap.c
78
int mib[16], n;
tools/test/stress2/tools/swap.c
87
for (n = 0; ; ++n) {
tools/test/stress2/tools/swap.c
88
mib[mibsize] = n;
tools/tools/ath/ath_ee_9287_print/9287.c
184
int i, n;
tools/tools/ath/ath_ee_9287_print/9287.c
197
for (n = 0; n < AR9287_MAX_CHAINS; n++) {
tools/tools/ath/ath_ee_9287_print/9287.c
198
printf(" Chain %d:\n", n);
tools/tools/ath/ath_ee_9287_print/9287.c
199
eeprom_9287_print_caldata_oploop((void *)&eep->ee_base.calPierData2G[n][i]);
tools/tools/ath/ath_ee_v14_print/ath_ee_v14_print.c
254
int i, n;
tools/tools/ath/ath_ee_v14_print/ath_ee_v14_print.c
267
for (n = 0; n < AR5416_MAX_CHAINS; n++) {
tools/tools/ath/ath_ee_v14_print/ath_ee_v14_print.c
268
printf(" Chain %d:\n", n);
tools/tools/ath/ath_ee_v14_print/ath_ee_v14_print.c
270
eeprom_v14_print_caldata_perfreq_op_loop((void *) (&eep->ee_base.calPierData2G[n][i]));
tools/tools/ath/ath_ee_v14_print/ath_ee_v14_print.c
272
eeprom_v14_print_caldata_perfreq(&eep->ee_base.calPierData2G[n][i]);
tools/tools/ath/ath_ee_v14_print/ath_ee_v14_print.c
288
for (n = 0; n < AR5416_MAX_CHAINS; n++) {
tools/tools/ath/ath_ee_v14_print/ath_ee_v14_print.c
289
printf(" Chain %d:\n", n);
tools/tools/ath/ath_ee_v14_print/ath_ee_v14_print.c
291
eeprom_v14_print_caldata_perfreq_op_loop((void *) (&eep->ee_base.calPierData5G[n][i]));
tools/tools/ath/ath_ee_v14_print/ath_ee_v14_print.c
293
eeprom_v14_print_caldata_perfreq(&eep->ee_base.calPierData5G[n][i]);
tools/tools/ath/ath_ee_v4k_print/v4k.c
166
int i, n;
tools/tools/ath/ath_ee_v4k_print/v4k.c
179
for (n = 0; n < AR5416_4K_MAX_CHAINS; n++) {
tools/tools/ath/ath_ee_v4k_print/v4k.c
180
printf(" Chain %d:\n", n);
tools/tools/ath/ath_ee_v4k_print/v4k.c
181
eeprom_v4k_print_caldata_perfreq(&eep->ee_base.calPierData2G[n][i]);
tools/tools/ath/athdecode/main.c
411
int tmp, n;
tools/tools/ath/athdecode/main.c
414
n = *p++;
tools/tools/ath/athdecode/main.c
415
if (r->val & (1 << (n - 1))) {
tools/tools/ath/athdecode/main.c
417
for (; (n = *p) > ' '; ++p)
tools/tools/ath/athdecode/main.c
418
putc(n, fd);
tools/tools/ath/athpow/athpow.c
137
printPcdacTable(FILE *fd, u_int16_t pcdac[], u_int n)
tools/tools/ath/athpow/athpow.c
139
int i, halfRates = n/2;
tools/tools/ath/athpow/athpow.c
148
printPowerPerRate(FILE *fd, u_int16_t ratesArray[], u_int n)
tools/tools/ath/athpow/athpow.c
156
int i, halfRates = n/2;
tools/tools/ath/athpow/athpow.c
60
static void printPcdacTable(FILE *fd, u_int16_t pcdac[], u_int n);
tools/tools/ath/athpow/athpow.c
61
static void printPowerPerRate(FILE *fd, u_int16_t ratesArray[], u_int n);
tools/tools/ath/athprom/athprom.c
490
#define strneq(a,b,n) (strncasecmp(a,b,n) == 0)
tools/tools/ath/athrd/athrd.c
794
int n = 1;
tools/tools/ath/athrd/athrd.c
919
if ((n++ % (showchannels ? 7 : 6)) == 0)
tools/tools/ath/athregs/dumpregs.c
628
u_int n = sizeof(HAL_REGRANGE) + sizeof(u_int32_t); /* reg range + first */
tools/tools/ath/athregs/dumpregs.c
636
n += regs[i].end - regs[i].start;
tools/tools/ath/athregs/dumpregs.c
638
space += n;
tools/tools/ath/athsurvey/athsurvey.c
154
n == 0 ? 0.0 : (float) (avg_tx / n) / 100.0,
tools/tools/ath/athsurvey/athsurvey.c
155
n == 0 ? 0.0 : (float) (avg_rx / n) / 100.0,
tools/tools/ath/athsurvey/athsurvey.c
156
n == 0 ? 0.0 : (float) (avg_cc / n) / 100.0,
tools/tools/ath/athsurvey/athsurvey.c
157
n == 0 ? 0.0 : (float) (avg_cext / n) / 100.0);
tools/tools/ath/athsurvey/athsurvey.c
81
int n = 0;
tools/tools/ath/athsurvey/athsurvey.c
91
n++;
tools/tools/cxgbtool/cxgbtool.c
1695
int n;
tools/tools/cxgbtool/cxgbtool.c
1713
n = read(STDIN_FILENO, buf, sizeof(buf) - 1);
tools/tools/cxgbtool/cxgbtool.c
1714
if (n <= 0)
tools/tools/cxgbtool/cxgbtool.c
1717
if (buf[--n] != '\n')
tools/tools/cxgbtool/cxgbtool.c
1720
buf[n] = 0;
tools/tools/cxgbtool/cxgbtool.c
776
unsigned int n = 1, qset, qnum;
tools/tools/cxgbtool/cxgbtool.c
787
if (argc == start_arg + 4 && get_int_arg(argv[start_arg + 3], &n))
tools/tools/cxgbtool/cxgbtool.c
795
for (; n--; desc.idx++) {
tools/tools/drm/radeon/mkregtable/mkregtable.c
403
#define list_for_each_safe(pos, n, head) \
tools/tools/drm/radeon/mkregtable/mkregtable.c
404
for (pos = (head)->next, n = pos->next; pos != (head); \
tools/tools/drm/radeon/mkregtable/mkregtable.c
405
pos = n, n = pos->next)
tools/tools/drm/radeon/mkregtable/mkregtable.c
413
#define list_for_each_prev_safe(pos, n, head) \
tools/tools/drm/radeon/mkregtable/mkregtable.c
414
for (pos = (head)->prev, n = pos->prev; \
tools/tools/drm/radeon/mkregtable/mkregtable.c
416
pos = n, n = pos->prev)
tools/tools/drm/radeon/mkregtable/mkregtable.c
498
#define list_for_each_entry_safe(pos, n, head, member) \
tools/tools/drm/radeon/mkregtable/mkregtable.c
500
n = list_entry(pos->member.next, typeof(*pos), member); \
tools/tools/drm/radeon/mkregtable/mkregtable.c
502
pos = n, n = list_entry(n->member.next, typeof(*n), member))
tools/tools/drm/radeon/mkregtable/mkregtable.c
514
#define list_for_each_entry_safe_continue(pos, n, head, member) \
tools/tools/drm/radeon/mkregtable/mkregtable.c
516
n = list_entry(pos->member.next, typeof(*pos), member); \
tools/tools/drm/radeon/mkregtable/mkregtable.c
518
pos = n, n = list_entry(n->member.next, typeof(*n), member))
tools/tools/drm/radeon/mkregtable/mkregtable.c
530
#define list_for_each_entry_safe_from(pos, n, head, member) \
tools/tools/drm/radeon/mkregtable/mkregtable.c
531
for (n = list_entry(pos->member.next, typeof(*pos), member); \
tools/tools/drm/radeon/mkregtable/mkregtable.c
533
pos = n, n = list_entry(n->member.next, typeof(*n), member))
tools/tools/drm/radeon/mkregtable/mkregtable.c
545
#define list_for_each_entry_safe_reverse(pos, n, head, member) \
tools/tools/drm/radeon/mkregtable/mkregtable.c
547
n = list_entry(pos->member.prev, typeof(*pos), member); \
tools/tools/drm/radeon/mkregtable/mkregtable.c
549
pos = n, n = list_entry(n->member.prev, typeof(*n), member))
tools/tools/drm/radeon/mkregtable/mkregtable.c
591
unsigned nlloop, i, j, n, c, id;
tools/tools/drm/radeon/mkregtable/mkregtable.c
598
n = 4;
tools/tools/drm/radeon/mkregtable/mkregtable.c
599
if (n > c)
tools/tools/drm/radeon/mkregtable/mkregtable.c
600
n = c;
tools/tools/drm/radeon/mkregtable/mkregtable.c
601
c -= n;
tools/tools/drm/radeon/mkregtable/mkregtable.c
602
for (j = 0; j < n; j++) {
tools/tools/fib_multibind/sink.c
200
int n;
tools/tools/fib_multibind/sink.c
202
n = kevent(sc.kq, NULL, 0, &kev, 1, NULL);
tools/tools/fib_multibind/sink.c
203
if (n == -1)
tools/tools/fib_multibind/sink.c
205
if (n == 0)
tools/tools/indent_wrapper/indent_wrapper.c
195
uint64_t n;
tools/tools/indent_wrapper/indent_wrapper.c
210
n = x - y;
tools/tools/indent_wrapper/indent_wrapper.c
213
for (n = y; n < sa; n++) {
tools/tools/indent_wrapper/indent_wrapper.c
214
char ch = peek_block(pa, n) & 0xFF;
tools/tools/indent_wrapper/indent_wrapper.c
225
for (n = y; n < sb; n++) {
tools/tools/indent_wrapper/indent_wrapper.c
226
char ch = peek_block(pb, n) & 0xFF;
tools/tools/indent_wrapper/indent_wrapper.c
235
for (n = y; n != x; n++) {
tools/tools/indent_wrapper/indent_wrapper.c
236
if ((peek_block(pa, n) & 0xFF) == '\t')
tools/tools/mctest/mctest.cc
160
int n = 0;
tools/tools/mctest/mctest.cc
169
while (n < number) {
tools/tools/mctest/mctest.cc
183
if (n % clients == client) {
tools/tools/mctest/mctest.cc
192
n++;
tools/tools/mctest/mctest.cc
196
if (n < number)
tools/tools/mctest/mctest.cc
197
cout << "Missed " << number - n << " packets." << endl;
tools/tools/mctest/mctest.cc
236
int sock, n =0;
tools/tools/mctest/mctest.cc
265
while (n < args->number) {
tools/tools/mctest/mctest.cc
273
n++;
tools/tools/mctest/mctest.cc
278
if (n < args->number)
tools/tools/mctest/mctest.cc
279
cout << "Missed " << args->number - n << " packets." << endl;
tools/tools/net80211/w00t/libw00t/w00t.c
186
#define BIT(n) (1<<(n))
tools/tools/net80211/wesside/wesside/aircrack-ptw-lib.c
139
memcpy(state->s, &rc4initial, n);
tools/tools/net80211/wesside/wesside/aircrack-ptw-lib.c
141
for (i = 0; i < n; i++) {
tools/tools/net80211/wesside/wesside/aircrack-ptw-lib.c
142
j = (j + state->s[i] + key[i % keylen]) % n;
tools/tools/net80211/wesside/wesside/aircrack-ptw-lib.c
186
uint8_t state[n];
tools/tools/net80211/wesside/wesside/aircrack-ptw-lib.c
193
memcpy(state, rc4initial, n);
tools/tools/net80211/wesside/wesside/aircrack-ptw-lib.c
239
static void getdrv(PTW_tableentry orgtable[][n], int keylen, double * normal, double * ausreiser) {
tools/tools/net80211/wesside/wesside/aircrack-ptw-lib.c
248
for (i = 0; i < n; i++) {
tools/tools/net80211/wesside/wesside/aircrack-ptw-lib.c
251
e = numvotes/n;
tools/tools/net80211/wesside/wesside/aircrack-ptw-lib.c
259
for (j = 0; j < n; j++) {
tools/tools/net80211/wesside/wesside/aircrack-ptw-lib.c
265
for (j = 0; j < n; j++) {
tools/tools/net80211/wesside/wesside/aircrack-ptw-lib.c
283
static int doRound(PTW_tableentry sortedtable[][n], int keybyte, int fixat, uint8_t fixvalue, int * searchborders, uint8_t * key, int keylen, PTW_attackstate * state, uint8_t sum, int * strongbytes) {
tools/tools/net80211/wesside/wesside/aircrack-ptw-lib.c
317
static int doComputation(PTW_attackstate * state, uint8_t * key, int keylen, PTW_tableentry table[][n], sorthelper * sh2, int * strongbytes, int keylimit) {
tools/tools/net80211/wesside/wesside/aircrack-ptw-lib.c
373
PTW_tableentry (*table)[n] = alloca(sizeof(PTW_tableentry) * n * keylen);
tools/tools/net80211/wesside/wesside/aircrack-ptw-lib.c
378
memcpy(table, state->table, sizeof(PTW_tableentry) * n * keylen);
tools/tools/net80211/wesside/wesside/aircrack-ptw-lib.c
382
qsort(&table[i][0], n, sizeof(PTW_tableentry), &compare);
tools/tools/net80211/wesside/wesside/aircrack-ptw-lib.c
386
sorthelper (* sh)[n-1] = alloca(sizeof(sorthelper) * (n-1) * keylen);
tools/tools/net80211/wesside/wesside/aircrack-ptw-lib.c
394
for (j = 1; j < n; j++) {
tools/tools/net80211/wesside/wesside/aircrack-ptw-lib.c
400
qsort(sh, (n-1)*keylen, sizeof(sorthelper), &comparesorthelper);
tools/tools/net80211/wesside/wesside/aircrack-ptw-lib.c
45
uint8_t s[n];
tools/tools/net80211/wesside/wesside/aircrack-ptw-lib.c
473
for (k = 0; k < n; k++) {
tools/tools/net80211/wesside/wesside/wesside.c
2296
#define BIT(n) (1<<(n))
tools/tools/net80211/wesside/wesside/wesside.c
659
unsigned short* n;
tools/tools/net80211/wesside/wesside/wesside.c
665
n = (unsigned short*) ((unsigned char*) wh + sizeof(*wh));
tools/tools/net80211/wesside/wesside/wesside.c
666
n++;
tools/tools/net80211/wesside/wesside/wesside.c
667
*n = 1;
tools/tools/net80211/wlaninject/wlaninject.c
467
#define BIT(n) (1<<(n))
tools/tools/net80211/wlantxtime/wlantxtime.c
319
#define HT_LTF(n) ((n) * 4)
tools/tools/net80211/wlanwatch/wlanwatch.c
143
static int first = 1, n;
tools/tools/net80211/wlanwatch/wlanwatch.c
228
if ((n = snprintf(cp, cpe - cp, " %x", *s)) > 0)
tools/tools/net80211/wlanwatch/wlanwatch.c
229
cp += n;
tools/tools/net80211/wlanwatch/wlanwatch.c
83
int n, s;
tools/tools/net80211/wlanwatch/wlanwatch.c
93
n = read(s, msg, 2048);
tools/tools/net80211/wlanwatch/wlanwatch.c
94
print_rtmsg((struct rt_msghdr *)msg, n);
tools/tools/net80211/wlanwds/wlanwds.c
185
ssize_t n = read(s, msg, sizeof(msg));
tools/tools/net80211/wlanwds/wlanwds.c
186
handle_rtmsg((struct rt_msghdr *)msg, n);
tools/tools/netmap/lb.c
1067
c->oq_n = ports[i].oq->n;
tools/tools/netmap/lb.c
1073
counters_buf.freeq_n = freeq->n;
tools/tools/netmap/lb.c
1083
freeq_n = freeq->n;
tools/tools/netmap/lb.c
114
uint32_t n;
tools/tools/netmap/lb.c
123
return q->n >= q->size;
tools/tools/netmap/lb.c
129
return q->n <= 0;
tools/tools/netmap/lb.c
140
q->n++;
tools/tools/netmap/lb.c
154
q->n--;
tools/tools/netmap/lb.c
366
while (q->n) {
tools/tools/netmap/lb.c
581
uint32_t max = lp->oq->n;
tools/tools/netmap/lb.c
586
if (cp->oq->n > max) {
tools/tools/netmap/lb.c
588
max = cp->oq->n;
tools/tools/netmap/lb.c
599
for (j = 0; lp->oq->n > NETMAP_MAX_FRAGS && j < BUF_REVOKE; j++) {
tools/tools/netmap/lb.c
791
if (freeq->n != extra_bufs) {
tools/tools/netmap/lb.c
793
extra_bufs, freeq->n);
tools/tools/netmap/lb.c
986
if (q->n < lim)
tools/tools/netmap/lb.c
987
lim = q->n;
tools/tools/netmap/nmreplay.c
1433
n nanoseconds
tools/tools/netmap/pkt-gen.c
1263
u_int n, sent, head = ring->head;
tools/tools/netmap/pkt-gen.c
1268
n = nm_ring_space(ring);
tools/tools/netmap/pkt-gen.c
127
ether_ntoa(const struct ether_addr *n)
tools/tools/netmap/pkt-gen.c
1281
for (sent = 0; sent < count && n >= frags; sent++, n--) {
tools/tools/netmap/pkt-gen.c
1312
n -= (frags - 1);
tools/tools/netmap/pkt-gen.c
133
n->octet[0], n->octet[1], n->octet[2],
tools/tools/netmap/pkt-gen.c
134
n->octet[3], n->octet[4], n->octet[5]);
tools/tools/netmap/pkt-gen.c
1393
uint64_t sent = 0, n = targ->g->npackets;
tools/tools/netmap/pkt-gen.c
1421
while (!targ->cancel && (n == 0 || sent < n)) {
tools/tools/netmap/pkt-gen.c
1435
if (n > 0 && n - sent < limit)
tools/tools/netmap/pkt-gen.c
1436
limit = n - sent;
tools/tools/netmap/pkt-gen.c
1589
uint64_t sent = 0, n = targ->g->npackets;
tools/tools/netmap/pkt-gen.c
1595
if (n > 0)
tools/tools/netmap/pkt-gen.c
1597
(unsigned long long)n);
tools/tools/netmap/pkt-gen.c
1603
while (!targ->cancel && (n == 0 || sent < n)) {
tools/tools/netmap/pkt-gen.c
1683
uint64_t n = targ->g->npackets / targ->g->nthreads;
tools/tools/netmap/pkt-gen.c
1716
for (i = 0; !targ->cancel && (n == 0 || sent < n); i++) {
tools/tools/netmap/pkt-gen.c
1731
for (i = 0; !targ->cancel && (n == 0 || sent < n); i++) {
tools/tools/netmap/pkt-gen.c
1773
while (!targ->cancel && (n == 0 || sent < n)) {
tools/tools/netmap/pkt-gen.c
1813
if (n > 0 && n == sent)
tools/tools/netmap/pkt-gen.c
1816
if (n > 0 && n - sent < limit)
tools/tools/netmap/pkt-gen.c
1817
limit = n - sent;
tools/tools/netmap/pkt-gen.c
1894
u_int head, rx, n;
tools/tools/netmap/pkt-gen.c
1902
n = nm_ring_space(ring);
tools/tools/netmap/pkt-gen.c
1903
if (n < limit)
tools/tools/netmap/pkt-gen.c
1904
limit = n;
tools/tools/netmap/pkt-gen.c
1931
uint64_t n = targ->g->npackets / targ->g->nthreads;
tools/tools/netmap/pkt-gen.c
1959
while (!targ->cancel && (n == 0 || targ->ctr.pkts < n)) {
tools/tools/netmap/pkt-gen.c
1971
while (!targ->cancel && (n == 0 || targ->ctr.pkts < n)) {
tools/tools/netmap/pkt-gen.c
1982
while (!targ->cancel && (n == 0 || targ->ctr.pkts < n)) {
tools/tools/netmap/pkt_hash.h
48
#define HTONS(n) (((((unsigned short)(n) & 0xFF)) << 8) | \
tools/tools/netmap/pkt_hash.h
49
(((unsigned short)(n) & 0xFF00) >> 8))
tools/tools/netmap/pkt_hash.h
50
#define NTOHS(n) (((((unsigned short)(n) & 0xFF)) << 8) | \
tools/tools/netmap/pkt_hash.h
51
(((unsigned short)(n) & 0xFF00) >> 8))
tools/tools/netmap/pkt_hash.h
53
#define HTONL(n) (((((unsigned long)(n) & 0xFF)) << 24) | \
tools/tools/netmap/pkt_hash.h
54
((((unsigned long)(n) & 0xFF00)) << 8) | \
tools/tools/netmap/pkt_hash.h
55
((((unsigned long)(n) & 0xFF0000)) >> 8) | \
tools/tools/netmap/pkt_hash.h
56
((((unsigned long)(n) & 0xFF000000)) >> 24))
tools/tools/netmap/pkt_hash.h
58
#define NTOHL(n) (((((unsigned long)(n) & 0xFF)) << 24) | \
tools/tools/netmap/pkt_hash.h
59
((((unsigned long)(n) & 0xFF00)) << 8) | \
tools/tools/netmap/pkt_hash.h
60
((((unsigned long)(n) & 0xFF0000)) >> 8) | \
tools/tools/netmap/pkt_hash.h
61
((((unsigned long)(n) & 0xFF000000)) >> 24))
tools/tools/netrate/netreceive/netreceive.c
48
static int round_to(int n, int l)
tools/tools/netrate/netreceive/netreceive.c
50
return ((n + l - 1)/l)*l;
tools/tools/netrate/netsend/netsend.c
148
uint64_t n, ns;
tools/tools/netrate/netsend/netsend.c
264
n = send_calls - send_errors;
tools/tools/netrate/netsend/netsend.c
265
if (n > 0) {
tools/tools/netrate/netsend/netsend.c
268
n = ns / n;
tools/tools/netrate/netsend/netsend.c
270
printf("time/packet: %u ns\n", (u_int)n);
tools/tools/so_splice/pingpong.c
131
ssize_t n;
tools/tools/so_splice/pingpong.c
141
n = write(s, buf, len);
tools/tools/so_splice/pingpong.c
142
if (n < 0)
tools/tools/so_splice/pingpong.c
144
n = read(s, buf, len);
tools/tools/so_splice/pingpong.c
145
if (n < 0)
tools/tools/so_splice/pingpong.c
147
if ((size_t)n < len)
tools/tools/so_splice/pingpong.c
172
ssize_t n;
tools/tools/so_splice/pingpong.c
179
n = read(cs, buf, sizeof(buf));
tools/tools/so_splice/pingpong.c
180
if (n < 0) {
tools/tools/so_splice/pingpong.c
185
if (n == 0)
tools/tools/so_splice/pingpong.c
187
memset(buf, 'b', n);
tools/tools/so_splice/pingpong.c
188
n = write(cs, buf, n);
tools/tools/so_splice/pingpong.c
189
if (n < 0)
tools/tools/so_splice/proxy.c
101
if (n == 0)
tools/tools/so_splice/proxy.c
105
resid = n;
tools/tools/so_splice/proxy.c
107
n = write(ws, data, resid);
tools/tools/so_splice/proxy.c
108
if (n == -1) {
tools/tools/so_splice/proxy.c
115
assert(n > 0);
tools/tools/so_splice/proxy.c
116
data += n;
tools/tools/so_splice/proxy.c
117
resid -= n;
tools/tools/so_splice/proxy.c
83
ssize_t n, resid;
tools/tools/so_splice/proxy.c
95
n = read(rs, buf, sc->bufsz);
tools/tools/so_splice/proxy.c
96
if (n == -1) {
tools/tools/usbtest/usb_control_ep_test.c
614
int n;
tools/tools/usbtest/usb_control_ep_test.c
635
for (n = 0; n != config->num_interface; n++) {
tools/tools/usbtest/usb_control_ep_test.c
637
libusb20_dev_detach_kernel_driver(pdev, n);
tools/tools/usbtest/usb_control_ep_test.c
644
for (m = 0; m != config->interface[n].num_altsetting; m++) {
tools/tools/usbtest/usb_control_ep_test.c
648
if (libusb20_dev_set_alt_index(pdev, n, m + 1)) {
tools/tools/usbtest/usb_control_ep_test.c
649
printf("ERROR on interface %d alt %d\n", n, m + 1);
tools/tools/usbtest/usb_control_ep_test.c
658
if (libusb20_dev_set_alt_index(pdev, n, 0)) {
tools/tools/usbtest/usb_control_ep_test.c
659
printf("ERROR on interface %d alt %d\n", n, 0);
tools/tools/usbtest/usb_modem_test.c
149
uint32_t n;
tools/tools/usbtest/usb_modem_test.c
151
for (n = 0; n != len; n++) {
tools/tools/usbtest/usb_modem_test.c
152
modem_out_state(buf + n);
tools/tools/usbtest/usb_modem_test.c
161
uint32_t n;
tools/tools/usbtest/usb_modem_test.c
163
for (n = 0; n != len; n++) {
tools/tools/usbtest/usb_modem_test.c
164
modem_in_state(buf[n], n);
tools/tools/zfsboottest/zfsboottest.c
100
return (n);
tools/tools/zfsboottest/zfsboottest.c
116
ssize_t n;
tools/tools/zfsboottest/zfsboottest.c
202
n = sb.st_size - off;
tools/tools/zfsboottest/zfsboottest.c
203
n = n > sizeof(buf) ? sizeof(buf) : n;
tools/tools/zfsboottest/zfsboottest.c
204
n = zfs_read(spa, &dn, buf, n, off);
tools/tools/zfsboottest/zfsboottest.c
205
if (n < 0) {
tools/tools/zfsboottest/zfsboottest.c
211
MD5Update(&ctx, buf, n);
tools/tools/zfsboottest/zfsboottest.c
212
off += n;
tools/tools/zfsboottest/zfsboottest.c
89
size_t n;
tools/tools/zfsboottest/zfsboottest.c
92
n = size;
tools/tools/zfsboottest/zfsboottest.c
93
if (off + n > zp->zp_size)
tools/tools/zfsboottest/zfsboottest.c
94
n = zp->zp_size - off;
tools/tools/zfsboottest/zfsboottest.c
96
rc = dnode_read(spa, dn, off, buf, n);
usr.bin/apply/apply.c
100
for (n = 0, p = argv[0]; *p != '\0'; ++p)
usr.bin/apply/apply.c
103
if (p[0] - '0' > n)
usr.bin/apply/apply.c
104
n = p[0] - '0';
usr.bin/apply/apply.c
130
if (n == 0) {
usr.bin/apply/apply.c
154
nargs = n;
usr.bin/apply/apply.c
60
int ch, debug, i, magic, n, nargs, rval;
usr.bin/ar/acpyacc.y
600
int i, n;
usr.bin/ar/acpyacc.y
602
n = arscp_mlist_len(list);
usr.bin/ar/acpyacc.y
603
argv = malloc(n * sizeof(*argv));
usr.bin/ar/acpyacc.y
608
for(i = n - 1; i >= 0; i--, list = list->next) {
usr.bin/ar/acpyacc.y
614
bsdar->argc = n;
usr.bin/ar/write.c
738
size_t n, shstrndx;
usr.bin/ar/write.c
797
n = 0;
usr.bin/ar/write.c
798
while (n < shdr.sh_size &&
usr.bin/basename/basename.c
107
size_t n;
usr.bin/basename/basename.c
113
for (r = p; r < q; r += n) {
usr.bin/basename/basename.c
114
n = mbrlen(r, MB_LEN_MAX, &mbs);
usr.bin/basename/basename.c
115
if (n == (size_t)-1 || n == (size_t)-2) {
usr.bin/basename/basename.c
117
n = 1;
usr.bin/bintrans/uudecode.c
188
size_t n, m;
usr.bin/bintrans/uudecode.c
214
n = strlen(q);
usr.bin/bintrans/uudecode.c
215
while (n > 0 && (q[n-1] == '\n' || q[n-1] == '\r'))
usr.bin/bintrans/uudecode.c
216
q[--n] = '\0';
usr.bin/bintrans/uudecode.c
218
if (n > 0)
usr.bin/bintrans/uudecode.c
242
n = strlen(pw->pw_dir);
usr.bin/bintrans/uudecode.c
243
if (buf + n > p) {
usr.bin/bintrans/uudecode.c
246
if (sizeof(buf) < n + m) {
usr.bin/bintrans/uudecode.c
251
p = memmove(buf + n, p, m);
usr.bin/bintrans/uudecode.c
253
q = memcpy(p - n, pw->pw_dir, n);
usr.bin/bintrans/uudecode.c
326
size_t n;
usr.bin/bintrans/uudecode.c
328
n = strlen(end);
usr.bin/bintrans/uudecode.c
329
if (strncmp(ptr, end, n) != 0 ||
usr.bin/bintrans/uudecode.c
330
strspn(ptr + n, " \t\r\n") != strlen(ptr + n)) {
usr.bin/bintrans/uudecode.c
433
int n, count, count4;
usr.bin/bintrans/uudecode.c
467
n = b64_pton(inbuf, outbuf, sizeof(outbuf));
usr.bin/bintrans/uudecode.c
469
if (n < 0)
usr.bin/bintrans/uudecode.c
471
fwrite(outbuf, 1, n, outfp);
usr.bin/bintrans/uuencode.c
168
size_t n;
usr.bin/bintrans/uuencode.c
174
while ((n = fread(buf, 1, sizeof(buf), stdin))) {
usr.bin/bintrans/uuencode.c
175
rv = b64_ntop(buf, n, buf2, nitems(buf2));
usr.bin/bintrans/uuencode.c
203
int ch, n;
usr.bin/bintrans/uuencode.c
209
while ((n = fread(buf, 1, 45, stdin))) {
usr.bin/bintrans/uuencode.c
210
ch = ENC(n);
usr.bin/bintrans/uuencode.c
213
for (p = buf; n > 0; n -= 3, p += 3) {
usr.bin/bintrans/uuencode.c
215
if (n < 3) {
usr.bin/bintrans/uuencode.c
217
if (n < 2)
usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c
263
service, &channel, &n) != 0)
usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c
264
errc(1, n, "Could not obtain RFCOMM channel");
usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c
302
n = select(max(amaster, s) + 1, &rfd, NULL, NULL, NULL);
usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c
303
if (n < 0) {
usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c
312
if (n == 0)
usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c
316
n = sppd_read(amaster, buf, sizeof(buf));
usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c
317
if (n < 0) {
usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c
323
if (n == 0)
usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c
326
if (sppd_write(s, buf, n) < 0) {
usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c
329
s, n, strerror(errno));
usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c
335
n = sppd_read(s, buf, sizeof(buf));
usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c
336
if (n < 0) {
usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c
342
if (n == 0)
usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c
345
if (sppd_write(fd, buf, n) < 0) {
usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c
348
fd, n, strerror(errno));
usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c
395
int n;
usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c
398
n = read(fd, buffer, size);
usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c
399
if (n < 0) {
usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c
406
return (n);
usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c
413
int n, wrote;
usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c
416
n = write(fd, buffer, size);
usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c
417
switch (n) {
usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c
428
wrote += n;
usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c
429
buffer += n;
usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c
430
size -= n;
usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c
80
int n, background, channel, service,
usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c
93
while ((n = getopt(argc, argv, "a:bc:thS")) != -1) {
usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c
94
switch (n) {
usr.bin/bsdiff/bsdiff/divsufsort64.h
112
saidx64_t n, saidx64_t *idx);
usr.bin/bsdiff/bsdiff/divsufsort64.h
127
saidx64_t n, saidx64_t idx);
usr.bin/bsdiff/bsdiff/divsufsort64.h
139
sufcheck64(const sauchar_t *T, const saidx64_t *SA, saidx64_t n, saint_t verbose);
usr.bin/bsdiff/bsdiff/divsufsort64.h
76
divsufsort64(const sauchar_t *T, saidx64_t *SA, saidx64_t n);
usr.bin/bsdiff/bsdiff/divsufsort64.h
88
divbwt64(const sauchar_t *T, sauchar_t *U, saidx64_t *A, saidx64_t n);
usr.bin/calendar/parsedata.c
1008
n = nsequences + i;
usr.bin/calendar/parsedata.c
1009
if (n->len == 0)
usr.bin/calendar/parsedata.c
1011
if (strncasecmp(s, n->name, n->len) == 0) {
usr.bin/calendar/parsedata.c
882
struct fixs *n;
usr.bin/calendar/parsedata.c
886
n = fnmonths + i;
usr.bin/calendar/parsedata.c
887
if (strncasecmp(s, n->name, n->len) == 0) {
usr.bin/calendar/parsedata.c
888
*len = n->len;
usr.bin/calendar/parsedata.c
889
*month = n->name;
usr.bin/calendar/parsedata.c
895
n = nmonths + i;
usr.bin/calendar/parsedata.c
896
if (strncasecmp(s, n->name, n->len) == 0) {
usr.bin/calendar/parsedata.c
897
*len = n->len;
usr.bin/calendar/parsedata.c
898
*month = n->name;
usr.bin/calendar/parsedata.c
933
struct fixs *n;
usr.bin/calendar/parsedata.c
937
n = fndays + i;
usr.bin/calendar/parsedata.c
938
if (strncasecmp(s, n->name, n->len) == 0) {
usr.bin/calendar/parsedata.c
939
*len = n->len;
usr.bin/calendar/parsedata.c
940
*dow = n->name;
usr.bin/calendar/parsedata.c
946
n = ndays + i;
usr.bin/calendar/parsedata.c
947
if (strncasecmp(s, n->name, n->len) == 0) {
usr.bin/calendar/parsedata.c
948
*len = n->len;
usr.bin/calendar/parsedata.c
949
*dow = n->name;
usr.bin/calendar/parsedata.c
990
struct fixs *n;
usr.bin/chat/chat.c
1142
echo_stderr(int n)
usr.bin/chat/chat.c
1147
switch (n) {
usr.bin/chat/chat.c
1159
s = character(n);
usr.bin/chat/chat.c
1203
int n, abort_len, report_len;
usr.bin/chat/chat.c
1230
for (n = 0; n < n_reports; ++n) {
usr.bin/chat/chat.c
1231
if ((report_string[n] != (char*) NULL) &&
usr.bin/chat/chat.c
1232
s - temp >= (report_len = strlen(report_string[n])) &&
usr.bin/chat/chat.c
1233
strncmp(s - report_len, report_string[n], report_len) == 0) {
usr.bin/chat/chat.c
1238
strcat (report_buffer, report_string[n]);
usr.bin/chat/chat.c
1240
report_string[n] = (char *) NULL;
usr.bin/chat/chat.c
1272
for (n = 0; n < n_aborts; ++n) {
usr.bin/chat/chat.c
1273
if (s - temp >= (abort_len = strlen(abort_string[n])) &&
usr.bin/chat/chat.c
1274
strncmp(s - abort_len, abort_string[n], abort_len) == 0) {
usr.bin/chat/chat.c
1283
exit_code = n + 4;
usr.bin/chat/chat.c
1284
strcpy(fail_reason = fail_buffer, abort_string[n]);
usr.bin/chat/chat.c
1340
int c, i, n;
usr.bin/chat/chat.c
1437
n = prec;
usr.bin/chat/chat.c
1439
n = strlen((char *)p);
usr.bin/chat/chat.c
1440
if (prec > 0 && prec < n)
usr.bin/chat/chat.c
1441
n = prec;
usr.bin/chat/chat.c
1443
while (n > 0 && buflen > 0) {
usr.bin/chat/chat.c
1445
--n;
usr.bin/chat/chat.c
1512
if ((n = width - len) > 0) {
usr.bin/chat/chat.c
1513
buflen -= n;
usr.bin/chat/chat.c
1514
for (; n > 0; --n)
usr.bin/comm/comm.c
183
size_t n;
usr.bin/comm/comm.c
186
if ((n = mbstowcs(NULL, str, 0)) == (size_t)-1)
usr.bin/comm/comm.c
188
if (SIZE_MAX / sizeof(*buf) < n + 1)
usr.bin/comm/comm.c
190
if ((buf = malloc((n + 1) * sizeof(*buf))) == NULL)
usr.bin/comm/comm.c
192
if (mbstowcs(buf, str, n + 1) != n)
usr.bin/comm/comm.c
206
ssize_t n;
usr.bin/comm/comm.c
212
if ((n = getline(bufp, buflenp, fp)) < 0)
usr.bin/comm/comm.c
214
if (n > 0 && offset != NULL && (*bufp)[n - 1] == '\n')
usr.bin/comm/comm.c
215
(*bufp)[n - 1] = '\0';
usr.bin/csplit/csplit.c
295
toomuch(FILE *ofp, long n)
usr.bin/csplit/csplit.c
314
if (n == 0)
usr.bin/csplit/csplit.c
318
lineno -= n;
usr.bin/csplit/csplit.c
336
if (buf[nread - i] == '\n' && n-- == 0)
usr.bin/csplit/csplit.c
340
} while (n > 0);
usr.bin/ctlstat/ctlstat.c
334
int iotype, i, n;
usr.bin/ctlstat/ctlstat.c
337
for (i = n = 0; i < ctx->cur_items;i++) {
usr.bin/ctlstat/ctlstat.c
356
if (++n >= ctx->numdevs)
usr.bin/ctlstat/ctlstat.c
363
int iotype, i, n;
usr.bin/ctlstat/ctlstat.c
367
for (i = n = 0; i < ctx->cur_items; i++) {
usr.bin/ctlstat/ctlstat.c
390
if (++n >= ctx->numdevs)
usr.bin/ctlstat/ctlstat.c
399
for (i = n = 0; i < ctx->cur_items; i++) { \
usr.bin/ctlstat/ctlstat.c
425
for (i = n = 0; i < ctx->cur_items; i++) { \
usr.bin/ctlstat/ctlstat.c
553
int iotype, i, n, retval;
usr.bin/ctlstat/ctlstat.c
621
int i, j, n;
usr.bin/ctlstat/ctlstat.c
659
n = 3;
usr.bin/ctlstat/ctlstat.c
661
for (i = n = 0; i < min(ctl_stat_bits,
usr.bin/ctlstat/ctlstat.c
678
if (++n >= ctx->numdevs)
usr.bin/ctlstat/ctlstat.c
685
for (i = 0; i < n; i++)
usr.bin/ctlstat/ctlstat.c
769
for (i = n = 0; i < min(ctl_stat_bits, ctx->cur_items); i++) {
usr.bin/ctlstat/ctlstat.c
800
if (++n >= ctx->numdevs)
usr.bin/cut/cut.c
216
needpos(size_t n)
usr.bin/cut/cut.c
222
if (n > npos) {
usr.bin/cut/cut.c
225
npos = n;
usr.bin/cut/cut.c
226
while (n > npos)
usr.bin/cut/cut.c
74
size_t n;
usr.bin/cut/cut.c
93
n = mbrtowc(&dchar, optarg, MB_LEN_MAX, NULL);
usr.bin/cut/cut.c
94
if (dchar == '\0' || n != strlen(optarg))
usr.bin/diff/diffreg.c
1743
print_space(int nc, int n, int flags)
usr.bin/diff/diffreg.c
1748
newcol = nc + n;
usr.bin/diff/diffreg.c
610
equiv(struct line *a, int n, struct line *b, int m, int *c)
usr.bin/diff/diffreg.c
615
while (i <= n && j <= m) {
usr.bin/diff/diffreg.c
623
while (i <= n)
usr.bin/diff/diffreg.c
638
stone(int *a, int n, int *b, int *c, int flags)
usr.bin/diff/diffreg.c
647
sq = sqrt(n);
usr.bin/diff/diffreg.c
653
for (i = 1; i <= n; i++) {
usr.bin/diff/diffreg.c
867
sort(struct line *a, int n)
usr.bin/diff/diffreg.c
872
if (n == 0)
usr.bin/diff/diffreg.c
874
for (j = 1; j <= n; j *= 2)
usr.bin/diff/diffreg.c
877
k = n - m;
usr.bin/diff3/diff3.c
1105
n = readin(fd23[0], &d23);
usr.bin/diff3/diff3.c
1110
merge(m, n);
usr.bin/diff3/diff3.c
346
get_line(FILE *b, size_t *n)
usr.bin/diff3/diff3.c
361
if (n != NULL)
usr.bin/diff3/diff3.c
362
*n = len;
usr.bin/diff3/diff3.c
571
size_t j, n;
usr.bin/diff3/diff3.c
574
for (n = 0; cline[i] < from - 1; n += j) {
usr.bin/diff3/diff3.c
581
return ((int) n);
usr.bin/diff3/diff3.c
683
edscript(int n)
usr.bin/diff3/diff3.c
688
for (; n > 0; n--) {
usr.bin/diff3/diff3.c
689
new = &de[n].new;
usr.bin/diff3/diff3.c
690
old = &de[n].old;
usr.bin/diff3/diff3.c
693
if (de[n].type == DIFF_TYPE1) {
usr.bin/diff3/diff3.c
703
if (!oflag || !overlap[n]) {
usr.bin/diff3/diff3.c
710
if (!oflag || !overlap[n]) {
usr.bin/diff3/diff3.c
733
Ascript(int n)
usr.bin/diff3/diff3.c
741
for (; n > 0; n--) {
usr.bin/diff3/diff3.c
742
new = &de[n].new;
usr.bin/diff3/diff3.c
743
old = &de[n].old;
usr.bin/diff3/diff3.c
747
if (de[n].type == DIFF_TYPE2) {
usr.bin/diff3/diff3.c
748
if (!oflag || !overlap[n]) {
usr.bin/diff3/diff3.c
752
startmark = new->to - 1 + de_delta[n];
usr.bin/diff3/diff3.c
767
} else if (de[n].type == DIFF_TYPE3) {
usr.bin/diff3/diff3.c
770
if (!oflag || !overlap[n]) {
usr.bin/diff3/diff3.c
789
if (!oflag || !overlap[n]) {
usr.bin/diff3/diff3.c
820
int n;
usr.bin/diff3/diff3.c
825
for (n = 1; n <= i; n++) {
usr.bin/diff3/diff3.c
826
new = &de[n].new;
usr.bin/diff3/diff3.c
827
old = &de[n].old;
usr.bin/diff3/diff3.c
833
if (de[n].type == DIFF_TYPE1)
usr.bin/diff3/diff3.c
835
else if (de[n].type == DIFF_TYPE2)
usr.bin/diff3/diff3.c
836
r.to = new->from + de_delta[n];
usr.bin/diff3/diff3.c
841
switch (de[n].type) {
usr.bin/diff3/diff3.c
853
if (!oflag || !overlap[n]) {
usr.bin/diff3/diff3.c
882
if (de[n].type == DIFF_TYPE2)
usr.bin/diff3/diff3.c
883
r.from = new->to + de_delta[n];
usr.bin/diff3/diff3.c
958
int ch, nblabels, m, n;
usr.bin/dtc/checking.cc
117
checker::visit_node(device_tree *tree, const node_ptr &n)
usr.bin/dtc/checking.cc
119
path.push_back(std::make_pair(n->name, n->unit_address));
usr.bin/dtc/checking.cc
121
if (!check_node(tree, n))
usr.bin/dtc/checking.cc
126
for (auto i=n->property_begin(), e=n->property_end() ; i!=e ; ++i)
usr.bin/dtc/checking.cc
128
if (!check_property(tree, n, *i))
usr.bin/dtc/checking.cc
134
for (node::child_iterator i=n->child_begin(), e=n->child_end() ; i!=e ;
usr.bin/dtc/checking.cc
164
property_checker::check_property(device_tree *tree, const node_ptr &n, property_ptr p)
usr.bin/dtc/checking.cc
168
if (!check(tree, n, p))
usr.bin/dtc/checking.cc
50
virtual bool check_node(device_tree *, const node_ptr &n)
usr.bin/dtc/checking.cc
52
auto &deleted = n->deleted_child_nodes();
usr.bin/dtc/checking.cc
78
virtual bool check_node(device_tree *, const node_ptr &n)
usr.bin/dtc/checking.cc
82
if (n->child_begin() == n->child_end())
usr.bin/dtc/checking.cc
88
for (auto i=n->property_begin(), e=n->property_end() ; i!=e ; ++i)
usr.bin/dtc/checking.hh
127
virtual bool check_property(device_tree *tree, const node_ptr &n, property_ptr p);
usr.bin/dtc/checking.hh
137
virtual bool check(device_tree *tree, const node_ptr &n, property_ptr p) = 0;
usr.bin/dtc/checking.hh
152
virtual bool check(device_tree *tree, const node_ptr &n, property_ptr p) = 0;
usr.bin/dtc/checking.hh
244
virtual bool check(device_tree *tree, const node_ptr &n, property_ptr p);
usr.bin/dtc/checking.hh
68
bool visit_node(device_tree *tree, const node_ptr &n);
usr.bin/dtc/fdt.cc
1054
std::string &&n,
usr.bin/dtc/fdt.cc
1059
std::move(n),
usr.bin/dtc/fdt.cc
1065
node_ptr n{std::make_shared<constructable_node>(input,
usr.bin/dtc/fdt.cc
1071
if (!n->valid)
usr.bin/dtc/fdt.cc
1073
n = 0;
usr.bin/dtc/fdt.cc
1075
return n;
usr.bin/dtc/fdt.cc
1081
node_ptr n(new node(structs, strings));
usr.bin/dtc/fdt.cc
1082
if (!n->valid)
usr.bin/dtc/fdt.cc
1084
n = 0;
usr.bin/dtc/fdt.cc
1086
return n;
usr.bin/dtc/fdt.cc
1238
device_tree::collect_names_recursive(node_ptr parent, node_ptr n, node_path &path)
usr.bin/dtc/fdt.cc
1240
path.push_back(std::make_pair(n->name, n->unit_address));
usr.bin/dtc/fdt.cc
1241
for (const string &name : n->labels)
usr.bin/dtc/fdt.cc
1248
node_names.insert(std::make_pair(name, n));
usr.bin/dtc/fdt.cc
1268
for (auto &c : n->child_nodes())
usr.bin/dtc/fdt.cc
1270
collect_names_recursive(n, c, path);
usr.bin/dtc/fdt.cc
1274
for (auto &p : n->properties())
usr.bin/dtc/fdt.cc
1292
fprintf(stderr, "Invalid phandle value for node %s. Should be a 4-byte value.\n", n->name.c_str());
usr.bin/dtc/fdt.cc
1298
used_phandles.insert(std::make_pair(phandle, n));
usr.bin/dtc/fdt.cc
1318
device_tree::assign_phandle(node_ptr n, uint32_t &phandle)
usr.bin/dtc/fdt.cc
1321
property_ptr p = n->get_property("phandle");
usr.bin/dtc/fdt.cc
1324
p = n->get_property("linux,phandle");
usr.bin/dtc/fdt.cc
1349
n->add_property(p);
usr.bin/dtc/fdt.cc
1355
n->add_property(p);
usr.bin/dtc/fdt.cc
1363
device_tree::assign_phandles(node_ptr n, uint32_t &next)
usr.bin/dtc/fdt.cc
1365
if (!n->labels.empty())
usr.bin/dtc/fdt.cc
1367
assign_phandle(n, next);
usr.bin/dtc/fdt.cc
1370
for (auto &c : n->child_nodes())
usr.bin/dtc/fdt.cc
1406
root->visit([&](node &n, node *) {
usr.bin/dtc/fdt.cc
1407
for (auto &p : n.properties())
usr.bin/dtc/fdt.cc
1515
auto mark_referenced_nodes_used = [&](node &n)
usr.bin/dtc/fdt.cc
1517
for (auto &p : n.properties())
usr.bin/dtc/fdt.cc
1557
root->visit([&](node &n, node *) {
usr.bin/dtc/fdt.cc
1558
if (!n.omit_if_no_ref || (write_symbols && !n.labels.empty()))
usr.bin/dtc/fdt.cc
1560
mark_referenced_nodes_used(n);
usr.bin/dtc/fdt.cc
1570
for (auto &n : previously_referenced_nodes)
usr.bin/dtc/fdt.cc
1572
mark_referenced_nodes_used(*n);
usr.bin/dtc/fdt.cc
1580
root->visit([&](node &n, node *) {
usr.bin/dtc/fdt.cc
1583
for (auto &cn : n.child_nodes())
usr.bin/dtc/fdt.cc
1595
n.delete_children_if([](node_ptr &nx) {
usr.bin/dtc/fdt.cc
1651
node_ptr n;
usr.bin/dtc/fdt.cc
1686
n = node::parse(input, *this, string(), string_set(), string(), &defines);
usr.bin/dtc/fdt.cc
1707
n = node::parse(input, *this, std::move(name), string_set(), string(), &defines);
usr.bin/dtc/fdt.cc
1708
if (n)
usr.bin/dtc/fdt.cc
1710
n->name_is_path_reference = name_is_path_reference;
usr.bin/dtc/fdt.cc
1717
if (n)
usr.bin/dtc/fdt.cc
1719
roots.push_back(std::move(n));
usr.bin/dtc/fdt.cc
2206
node_ptr n = local_fixups;
usr.bin/dtc/fdt.cc
2215
for (auto &c : n->child_nodes())
usr.bin/dtc/fdt.cc
2221
n = c;
usr.bin/dtc/fdt.cc
2235
n->add_child(node::create_special_node(path, symbols));
usr.bin/dtc/fdt.cc
2236
n = *(--(n->child_end()));
usr.bin/dtc/fdt.cc
2239
assert(n);
usr.bin/dtc/fdt.cc
2244
property_ptr prop = n->get_property(key);
usr.bin/dtc/fdt.cc
2250
n->add_property(prop);
usr.bin/dtc/fdt.cc
738
string n = input.parse_node_or_property_name(is_property);
usr.bin/dtc/fdt.cc
739
if (n.empty())
usr.bin/dtc/fdt.cc
741
if (n.empty())
usr.bin/dtc/fdt.cc
747
return n;
usr.bin/dtc/fdt.cc
854
node::node(const string &n,
usr.bin/dtc/fdt.cc
856
: name(n)
usr.bin/dtc/fdt.cc
870
constructable_node(const string &n, const std::vector<property_ptr> &p) : node(n, p) {}
usr.bin/dtc/fdt.cc
872
node_ptr n{std::make_shared<constructable_node>(name, props)};
usr.bin/dtc/fdt.cc
873
return n;
usr.bin/dtc/fdt.cc
878
string &&n,
usr.bin/dtc/fdt.cc
882
: labels(l), name(n), unit_address(a), valid(true)
usr.bin/dtc/fdt.hh
472
child_range(node &nd) : n(nd) {}
usr.bin/dtc/fdt.hh
473
child_iterator begin() { return n.child_begin(); }
usr.bin/dtc/fdt.hh
474
child_iterator end() { return n.child_end(); }
usr.bin/dtc/fdt.hh
476
node &n;
usr.bin/dtc/fdt.hh
483
property_range(node &nd) : n(nd) {}
usr.bin/dtc/fdt.hh
484
property_vector::iterator begin() { return n.property_begin(); }
usr.bin/dtc/fdt.hh
485
property_vector::iterator end() { return n.property_end(); }
usr.bin/dtc/fdt.hh
487
node &n;
usr.bin/dtc/fdt.hh
530
std::string &&n,
usr.bin/dtc/fdt.hh
537
node(const std::string &n, const std::vector<property_ptr> &p);
usr.bin/dtc/fdt.hh
659
inline void add_child(node_ptr &&n)
usr.bin/dtc/fdt.hh
661
children.push_back(std::move(n));
usr.bin/dtc/fdt.hh
875
void collect_names_recursive(node_ptr parent, node_ptr n, node_path &path);
usr.bin/dtc/fdt.hh
881
property_ptr assign_phandle(node_ptr n, uint32_t &next);
usr.bin/dtc/fdt.hh
887
void assign_phandles(node_ptr n, uint32_t &next);
usr.bin/dtc/input_buffer.cc
92
static string n = "<standard input>";
usr.bin/dtc/input_buffer.cc
93
return n;
usr.bin/elfdump/elfdump.c
1077
char *n, *s;
usr.bin/elfdump/elfdump.c
1083
n = (char *)e + offset;
usr.bin/elfdump/elfdump.c
1085
while (n < ((char *)e + offset + size)) {
usr.bin/elfdump/elfdump.c
1086
namesz = elf_get_word(e, n, N_NAMESZ);
usr.bin/elfdump/elfdump.c
1087
descsz = elf_get_word(e, n, N_DESCSZ);
usr.bin/elfdump/elfdump.c
1088
type = elf_get_word(e, n, N_TYPE);
usr.bin/elfdump/elfdump.c
1093
s = n + sizeof(Elf_Note);
usr.bin/elfdump/elfdump.c
1094
desc = elf_get_word(e, n + sizeof(Elf_Note) + namesz, 0);
usr.bin/elfdump/elfdump.c
1096
n += sizeof(Elf_Note) + namesz + descsz;
usr.bin/expand/expand.c
114
for (n = 0; n < nstops; n++)
usr.bin/expand/expand.c
115
if (tabstops[n] > column)
usr.bin/expand/expand.c
117
if (n == nstops) {
usr.bin/expand/expand.c
122
while (column < tabstops[n]) {
usr.bin/expand/expand.c
56
int n;
usr.bin/factor/factor.c
385
int n = 0;
usr.bin/factor/factor.c
393
n = BN_hex2bn(val, ++p);
usr.bin/factor/factor.c
395
n = is_hex_str(p) ? BN_hex2bn(val, p) : BN_dec2bn(val, p);
usr.bin/factor/factor.c
397
if (n == 0)
usr.bin/fmt/fmt.c
506
size_t n = np;
usr.bin/fmt/fmt.c
508
while (n < length) {
usr.bin/fmt/fmt.c
512
while (n + word_length < length &&
usr.bin/fmt/fmt.c
513
line[n + word_length] != ' ')
usr.bin/fmt/fmt.c
516
while (n + space_length < length &&
usr.bin/fmt/fmt.c
517
line[n + space_length] == ' ')
usr.bin/fmt/fmt.c
521
line + n, word_length,
usr.bin/fmt/fmt.c
523
n += space_length;
usr.bin/fmt/fmt.c
540
size_t n = 0;
usr.bin/fmt/fmt.c
542
while (n < length && *line++ == ' ')
usr.bin/fmt/fmt.c
543
++n;
usr.bin/fmt/fmt.c
544
return n;
usr.bin/gcore/elfcore.c
184
ssize_t n, old_len;
usr.bin/gcore/elfcore.c
231
n = write(fd, hdr, segoff);
usr.bin/gcore/elfcore.c
232
if (n == -1)
usr.bin/gcore/elfcore.c
234
if (n < segoff)
usr.bin/getaddrinfo/getaddrinfo.c
226
const char *const *table, size_t n)
usr.bin/getaddrinfo/getaddrinfo.c
232
assert((uintmax_t)n <= (uintmax_t)INT_MAX);
usr.bin/getaddrinfo/getaddrinfo.c
247
for (i = 0; i < n; i++)
usr.bin/getaddrinfo/getaddrinfo.c
250
if (i == n)
usr.bin/getaddrinfo/getaddrinfo.c
264
int n;
usr.bin/getaddrinfo/getaddrinfo.c
272
n = printf("%s", socket_types[ai->ai_socktype]);
usr.bin/getaddrinfo/getaddrinfo.c
274
n = printf("%d", ai->ai_socktype);
usr.bin/getaddrinfo/getaddrinfo.c
275
if (n < 0)
usr.bin/getaddrinfo/getaddrinfo.c
282
n = printf(" %s", address_families[ai->ai_family]);
usr.bin/getaddrinfo/getaddrinfo.c
284
n = printf(" %d", ai->ai_family);
usr.bin/getaddrinfo/getaddrinfo.c
285
if (n < 0)
usr.bin/getaddrinfo/getaddrinfo.c
291
n = printf(" %d", ai->ai_protocol);
usr.bin/getaddrinfo/getaddrinfo.c
293
n = printf(" %s", protoent->p_name);
usr.bin/getaddrinfo/getaddrinfo.c
294
if (n < 0)
usr.bin/getaddrinfo/getaddrinfo.c
301
n = sockaddr_snprintf(buf, sizeof(buf), " %a %p",
usr.bin/getaddrinfo/getaddrinfo.c
306
n = sockaddr_snprintf(buf, sizeof(buf),
usr.bin/getaddrinfo/getaddrinfo.c
317
if (n < 0) {
usr.bin/getaddrinfo/getaddrinfo.c
321
if (sizeof(buf) <= (size_t)n)
usr.bin/grdc/grdc.c
101
n = 0;
usr.bin/grdc/grdc.c
103
if (timer && n == 0)
usr.bin/grdc/grdc.c
152
end.tv_sec += n;
usr.bin/grdc/grdc.c
173
n = end.tv_sec - now.tv_sec;
usr.bin/grdc/grdc.c
174
if (n <= 0)
usr.bin/grdc/grdc.c
176
hour = (n / 3600) % 100;
usr.bin/grdc/grdc.c
177
minute = (n / 60) % 60;
usr.bin/grdc/grdc.c
178
second = n % 60;
usr.bin/grdc/grdc.c
232
n -= now.tv_sec - prev_sec;
usr.bin/grdc/grdc.c
241
} while (n);
usr.bin/grdc/grdc.c
250
set(int t, int n)
usr.bin/grdc/grdc.c
254
m = 7<<n;
usr.bin/grdc/grdc.c
256
next[i] |= ((disp[t]>>(4-i)*3)&07)<<n;
usr.bin/grdc/grdc.c
64
int n;
usr.bin/grdc/grdc.c
94
n = atoi(*argv) + 1;
usr.bin/grdc/grdc.c
95
if (n < 1) {
usr.bin/grep/util.c
445
size_t idx, n, ofs, stringlen;
usr.bin/grep/util.c
459
for (n = 0; ofs < stringlen;) {
usr.bin/grep/util.c
470
++n;
usr.bin/grep/util.c
483
if (n > 0 && nmatch > 0)
usr.bin/grep/util.c
484
for (n = idx; n < nmatch; ++n)
usr.bin/grep/util.c
485
pmatch[n].rm_so = pmatch[n].rm_eo = -1;
usr.bin/grep/util.c
487
return (n > 0 ? 0 : REG_NOMATCH);
usr.bin/grep/util.c
504
size_t n;
usr.bin/grep/util.c
518
n = mbrtowc(&wc, &dat[offset], MB_CUR_MAX, &mbstate);
usr.bin/grep/util.c
519
return (n == (size_t)-1 || n == (size_t)-2 || iswword(wc));
usr.bin/gzip/unbzip2.c
104
ssize_t n;
usr.bin/gzip/unbzip2.c
106
n = write(out, outbuf, BUFLEN - bzs.avail_out);
usr.bin/gzip/unbzip2.c
107
if (n < 0)
usr.bin/gzip/unbzip2.c
109
bytes_out += n;
usr.bin/gzip/unbzip2.c
70
ssize_t n;
usr.bin/gzip/unbzip2.c
72
n = read(in, inbuf, BUFLEN);
usr.bin/gzip/unbzip2.c
73
if (n < 0)
usr.bin/gzip/unbzip2.c
75
if (n == 0)
usr.bin/gzip/unbzip2.c
77
infile_newdata(n);
usr.bin/gzip/unbzip2.c
79
bzs.avail_in = n;
usr.bin/gzip/unbzip2.c
81
*bytes_in += n;
usr.bin/hexdump/display.c
234
int n;
usr.bin/hexdump/display.c
279
n = fread((char *)curp + nread, sizeof(u_char),
usr.bin/hexdump/display.c
281
if (!n) {
usr.bin/hexdump/display.c
289
length -= n;
usr.bin/hexdump/display.c
290
if (!(need -= n)) {
usr.bin/hexdump/display.c
312
nread += n;
usr.bin/hexdump/display.c
319
size_t n, nread;
usr.bin/hexdump/display.c
329
n = nread;
usr.bin/hexdump/display.c
330
while (n-- > 0) {
usr.bin/hexdump/odsyntax.c
361
unsigned long long n;
usr.bin/hexdump/odsyntax.c
404
n = (1ULL << (8 * isize)) - 1;
usr.bin/hexdump/odsyntax.c
406
while (n != 0) {
usr.bin/hexdump/odsyntax.c
408
n >>= (fchar == 'x') ? 4 : 3;
usr.bin/iconv/iconv.c
142
do_list(unsigned int n, const char * const *list, void *data __unused)
usr.bin/iconv/iconv.c
146
for(i = 0; i < n; i++) {
usr.bin/iconv/iconv.c
148
if (i < n - 1)
usr.bin/join/join.c
358
size_t n;
usr.bin/join/join.c
363
n = mbrtowc(&c, s, MB_LEN_MAX, NULL);
usr.bin/join/join.c
364
if (n == (size_t)-1 || n == (size_t)-2)
usr.bin/join/join.c
366
s += n;
usr.bin/join/join.c
373
s[-n] = '\0';
usr.bin/join/join.c
411
size_t n;
usr.bin/join/join.c
413
if ((n = mbsrtowcs(NULL, &s, 0, NULL)) == (size_t)-1)
usr.bin/join/join.c
415
if ((wcs = malloc((n + 1) * sizeof(*wcs))) == NULL)
usr.bin/join/join.c
417
mbsrtowcs(wcs, &s, n + 1, NULL);
usr.bin/jot/jot.c
166
n = getprec(argv[2]);
usr.bin/jot/jot.c
176
if (n > prec) /* maximum precision */
usr.bin/jot/jot.c
177
prec = n;
usr.bin/jot/jot.c
91
int n = 0;
usr.bin/kdump/kdump.c
1668
int n, i;
usr.bin/kdump/kdump.c
1683
for (n = 0; n < len; n += width) {
usr.bin/kdump/kdump.c
1684
for (i = n; i < n + width; i++) {
usr.bin/kdump/kdump.c
1697
for (i = n; i < n + width; i++) {
usr.bin/kdump/kdump.c
1909
#define check_sockaddr_len(n) \
usr.bin/kdump/kdump.c
1910
if (sa_##n.s##n##_len < sizeof(struct sockaddr_##n)) { \
usr.bin/kdump/kdump.h
37
#define _print_number64(first,i,n,c,d) do { \
usr.bin/kdump/kdump.h
42
(n)--; \
usr.bin/kdump/kdump.h
54
(n) -= quad_slots; \
usr.bin/kdump/kdump.h
58
#define _print_number(i,n,c,d) do { \
usr.bin/kdump/kdump.h
64
n--; \
usr.bin/kdump/kdump.h
68
#define print_number(i,n,c) _print_number(i,n,c,decimal)
usr.bin/kdump/kdump.h
69
#define print_decimal_number(i,n,c) _print_number(i,n,c,true)
usr.bin/kdump/kdump.h
70
#define print_number64(first,i,n,c) _print_number64(first,i,n,c,decimal)
usr.bin/kdump/kdump.h
71
#define print_decimal_number64(first,i,n,c) _print_number64(first,i,n,c,true)
usr.bin/ktrace/ktrace.c
170
intmax_t n;
usr.bin/ktrace/ktrace.c
190
n = strtoimax(p, &e, 10);
usr.bin/ktrace/ktrace.c
197
if (*e != '\0' || n < 1 || errno == ERANGE ||
usr.bin/ktrace/ktrace.c
198
n > (intmax_t)INT_MAX || n > -(intmax_t)INT_MIN) {
usr.bin/ktrace/ktrace.c
202
pid = n;
usr.bin/lex/initscan.c
166
#define YY_LESS_LINENO(n)
usr.bin/lex/initscan.c
170
#define yyless(n) \
usr.bin/lex/initscan.c
174
int yyless_macro_arg = (n); \
usr.bin/lex/initscan.c
2112
int n; \
usr.bin/lex/initscan.c
2113
for ( n = 0; n < max_size && \
usr.bin/lex/initscan.c
2114
(c = getc( yyin )) != EOF && c != '\n'; ++n ) \
usr.bin/lex/initscan.c
2115
buf[n] = (char) c; \
usr.bin/lex/initscan.c
2117
buf[n++] = (char) c; \
usr.bin/lex/initscan.c
2120
result = n; \
usr.bin/lex/initscan.c
4929
yy_size_t n;
usr.bin/lex/initscan.c
4933
n = (yy_size_t) (_yybytes_len + 2);
usr.bin/lex/initscan.c
4934
buf = (char *) yyalloc( n );
usr.bin/lex/initscan.c
4943
b = yy_scan_buffer( buf, n );
usr.bin/lex/initscan.c
5001
#define yyless(n) \
usr.bin/lex/initscan.c
5005
int yyless_macro_arg = (n); \
usr.bin/lex/initscan.c
5158
static void yy_flex_strncpy (char* s1, const char * s2, int n )
usr.bin/lex/initscan.c
5162
for ( i = 0; i < n; ++i )
usr.bin/lex/initscan.c
5170
int n;
usr.bin/lex/initscan.c
5171
for ( n = 0; s[n]; ++n )
usr.bin/lex/initscan.c
5174
return n;
usr.bin/localedef/charmap.c
254
charmap_t *n = NULL;
usr.bin/localedef/charmap.c
264
if ((n = calloc(1, sizeof (*n))) == NULL) {
usr.bin/localedef/charmap.c
268
n->wc = wc;
usr.bin/localedef/charmap.c
269
RB_INSERT(cmap_wc, &cmap_wc, n);
usr.bin/localedef/charmap.c
279
if ((n == NULL) && ((n = calloc(1, sizeof (*n))) == NULL)) {
usr.bin/localedef/charmap.c
283
n->wc = wc;
usr.bin/localedef/charmap.c
284
n->name = sym;
usr.bin/localedef/charmap.c
286
RB_INSERT(cmap_sym, &cmap_sym, n);
usr.bin/localedef/charmap.c
376
charmap_t *n;
usr.bin/localedef/charmap.c
379
n = RB_FIND(cmap_sym, &cmap_sym, &srch);
usr.bin/localedef/charmap.c
380
if (n && n->wc != (wchar_t)-1) {
usr.bin/localedef/charmap.c
382
*wc = n->wc;
usr.bin/localedef/collate.c
1082
wsncpy(wchar_t *s1, const wchar_t *s2, size_t n)
usr.bin/localedef/collate.c
1086
n++;
usr.bin/localedef/collate.c
1087
while (--n > 0 && (*s1++ = htote(*s2++)) != 0)
usr.bin/localedef/collate.c
1089
if (n > 0)
usr.bin/localedef/collate.c
1090
while (--n > 0)
usr.bin/localedef/collate.c
1114
int i, j, n;
usr.bin/localedef/collate.c
1214
RB_COUNT(temp, substs, &substs[i], n);
usr.bin/localedef/collate.c
1215
subst_count[i] = n;
usr.bin/localedef/collate.c
1216
if ((st = calloc(n, sizeof(collate_subst_t))) == NULL) {
usr.bin/localedef/collate.c
1220
n = 0;
usr.bin/localedef/collate.c
1222
if ((st[n].key = resolve_pri(sb->key)) < 0) {
usr.bin/localedef/collate.c
1226
if (st[n].key != (n | COLLATE_SUBST_PRIORITY)) {
usr.bin/localedef/collate.c
1229
st[n].key = htote(st[n].key);
usr.bin/localedef/collate.c
1231
st[n].pri[j] = htote(get_weight(sb->ref[j],
usr.bin/localedef/collate.c
1234
n++;
usr.bin/localedef/collate.c
1236
if (n != subst_count[i])
usr.bin/localedef/collate.c
1251
n = 0;
usr.bin/localedef/collate.c
1253
(void) wsncpy(chain[n].str, ce->expand, COLLATE_STR_LEN);
usr.bin/localedef/collate.c
1255
chain[n].pri[i] = htote(get_weight(ce->ref[i], i));
usr.bin/localedef/collate.c
1257
n++;
usr.bin/localedef/collate.c
1259
if (n != chain_count)
usr.bin/localedef/collate.c
1265
RB_NUMNODES(collchar_t, collchars, &collchars, n);
usr.bin/localedef/collate.c
1266
large = calloc(n, sizeof(collate_large_t));
usr.bin/localedef/monetary.c
160
add_monetary_group(int n)
usr.bin/localedef/monetary.c
165
(void) asprintf(&s, "%d", n);
usr.bin/localedef/monetary.c
167
(void) asprintf(&s, "%s;%d", mon.mon_grouping, n);
usr.bin/localedef/monetary.c
90
add_monetary_num(int n)
usr.bin/localedef/monetary.c
94
(void) asprintf(&str, "%d", n);
usr.bin/localedef/numeric.c
86
add_numeric_group(int n)
usr.bin/localedef/numeric.c
91
(void) asprintf(&s, "%d", n);
usr.bin/localedef/numeric.c
93
(void) asprintf(&s, "%s;%d", numeric.grouping, n);
usr.bin/localedef/wide.c
181
towide_none(wchar_t *c, const char *mb, unsigned n __unused)
usr.bin/localedef/wide.c
207
towide_utf8(wchar_t *wc, const char *mb, unsigned n)
usr.bin/localedef/wide.c
241
if (nb > (int)n) {
usr.bin/localedef/wide.c
312
towide_dbcs(wchar_t *wc, const char *mb, unsigned n)
usr.bin/localedef/wide.c
323
if (n < 2) {
usr.bin/localedef/wide.c
344
int n = 0, c;
usr.bin/localedef/wide.c
347
n = 4;
usr.bin/localedef/wide.c
349
n = 3;
usr.bin/localedef/wide.c
351
n = 2;
usr.bin/localedef/wide.c
353
n = 1;
usr.bin/localedef/wide.c
355
c = n;
usr.bin/localedef/wide.c
356
while (n) {
usr.bin/localedef/wide.c
357
n--;
usr.bin/localedef/wide.c
358
s[n] = wc & 0xff;
usr.bin/localedef/wide.c
371
towide_big5(wchar_t *wc, const char *mb, unsigned n)
usr.bin/localedef/wide.c
373
return (towide_dbcs(wc, mb, n));
usr.bin/localedef/wide.c
381
towide_gbk(wchar_t *wc, const char *mb, unsigned n)
usr.bin/localedef/wide.c
383
return (towide_dbcs(wc, mb, n));
usr.bin/localedef/wide.c
391
towide_gb2312(wchar_t *wc, const char *mb, unsigned n)
usr.bin/localedef/wide.c
393
return (towide_dbcs(wc, mb, n));
usr.bin/localedef/wide.c
402
towide_gb18030(wchar_t *wc, const char *mb, unsigned n)
usr.bin/localedef/wide.c
413
if (n < 2) {
usr.bin/localedef/wide.c
423
if (n < 4) {
usr.bin/localedef/wide.c
445
towide_mskanji(wchar_t *wc, const char *mb, unsigned n)
usr.bin/localedef/wide.c
457
if (n < 2) {
usr.bin/localedef/wide.c
478
towide_euc_impl(wchar_t *wc, const char *mb, unsigned n,
usr.bin/localedef/wide.c
511
if ((int)n < width) {
usr.bin/localedef/wide.c
535
towide_euccn(wchar_t *wc, const char *mb, unsigned n)
usr.bin/localedef/wide.c
537
return (towide_euc_impl(wc, mb, n, 0x8e, 4, 0, 0));
usr.bin/localedef/wide.c
549
towide_eucjp(wchar_t *wc, const char *mb, unsigned n)
usr.bin/localedef/wide.c
551
return (towide_euc_impl(wc, mb, n, 0x8e, 2, 0x8f, 3));
usr.bin/localedef/wide.c
563
towide_euckr(wchar_t *wc, const char *mb, unsigned n)
usr.bin/localedef/wide.c
565
return (towide_euc_impl(wc, mb, n, 0, 0, 0, 0));
usr.bin/localedef/wide.c
577
towide_euctw(wchar_t *wc, const char *mb, unsigned n)
usr.bin/localedef/wide.c
579
return (towide_euc_impl(wc, mb, n, 0x8e, 4, 0, 0));
usr.bin/login/login.c
791
size_t n;
usr.bin/login/login.c
799
n = strlen(*pp);
usr.bin/login/login.c
800
if (s[n] == '=' && strncmp(s, *pp, n) == 0)
usr.bin/m4/eval.c
125
int c, n;
usr.bin/m4/eval.c
132
for (n = 0; n < argc; n++)
usr.bin/m4/eval.c
133
printf("argv[%d] = %s\n", n, argv[n]);
usr.bin/m4/eval.c
231
n = strtonum(argv[2], INT_MIN, INT_MAX-1, &errstr);
usr.bin/m4/eval.c
235
pbnum(n + 1);
usr.bin/m4/eval.c
244
n = strtonum(argv[2], INT_MIN+1, INT_MAX, &errstr);
usr.bin/m4/eval.c
248
pbnum(n - 1);
usr.bin/m4/eval.c
336
for (n = argc - 1; n > 3; n--) {
usr.bin/m4/eval.c
338
pbstr(argv[n]);
usr.bin/m4/eval.c
350
n = strtonum(argv[2], INT_MIN, INT_MAX, &errstr);
usr.bin/m4/eval.c
354
if (n != 0) {
usr.bin/m4/eval.c
355
dodivert(n);
usr.bin/m4/eval.c
380
for (n = 2; n < argc; n++)
usr.bin/m4/eval.c
381
macro_undefine(argv[n]);
usr.bin/m4/eval.c
390
for (n = 2; n < argc; n++)
usr.bin/m4/eval.c
391
macro_popdef(argv[n]);
usr.bin/m4/eval.c
448
for (n = 2; n < argc; n++)
usr.bin/m4/eval.c
449
fprintf(stderr, "%s ", argv[n]);
usr.bin/m4/eval.c
481
for (n = argc - 1; n >= 2; n--)
usr.bin/m4/eval.c
482
dodefn(argv[n]);
usr.bin/m4/eval.c
528
int n;
usr.bin/m4/eval.c
560
for (n = argc - 1; n > 2; n--) {
usr.bin/m4/eval.c
561
pbstr(argv[n]);
usr.bin/m4/eval.c
569
for (n = argc - 1; n > 2; n--) {
usr.bin/m4/eval.c
571
pbstr(argv[n]);
usr.bin/m4/eval.c
669
int n;
usr.bin/m4/eval.c
673
for (n = 2; n < argc; n++)
usr.bin/m4/eval.c
674
if ((p = lookup_macro_definition(argv[n])) != NULL)
usr.bin/m4/eval.c
675
dump_one_def(argv[n], p);
usr.bin/m4/eval.c
686
int n;
usr.bin/m4/eval.c
689
for (n = 2; n < argc; n++)
usr.bin/m4/eval.c
690
mark_traced(argv[n], on);
usr.bin/m4/eval.c
817
dodivert(int n)
usr.bin/m4/eval.c
821
oindex = n;
usr.bin/m4/eval.c
822
if (n >= maxout) {
usr.bin/m4/eval.c
824
resizedivs(n + 10);
usr.bin/m4/eval.c
826
n = 0; /* bitbucket */
usr.bin/m4/eval.c
829
if (n < 0)
usr.bin/m4/eval.c
830
n = 0; /* bitbucket */
usr.bin/m4/eval.c
831
if (outfile[n] == NULL) {
usr.bin/m4/eval.c
836
(outfile[n] = fdopen(fd, "w+")) == NULL)
usr.bin/m4/eval.c
839
active = outfile[n];
usr.bin/m4/eval.c
850
int n;
usr.bin/m4/eval.c
855
n = strtonum(argv[ind], 1, INT_MAX, &errstr);
usr.bin/m4/eval.c
860
if (n < maxout && outfile[n] != NULL)
usr.bin/m4/eval.c
861
getdiv(n);
usr.bin/m4/eval.c
866
for (n = 1; n < maxout; n++)
usr.bin/m4/eval.c
867
if (outfile[n] != NULL)
usr.bin/m4/eval.c
868
getdiv(n);
usr.bin/m4/gnum4.c
162
ndptr n;
usr.bin/m4/gnum4.c
165
n = lookup(argv[2]);
usr.bin/m4/gnum4.c
166
if (n == NULL || (p = macro_getdef(n)) == NULL)
usr.bin/m4/gnum4.c
170
eval(argv+1, argc-1, p->type, is_traced(n));
usr.bin/m4/gnum4.c
208
addchars(const char *c, size_t n)
usr.bin/m4/gnum4.c
210
if (n == 0)
usr.bin/m4/gnum4.c
212
while (current + n > bufsize) {
usr.bin/m4/gnum4.c
222
memcpy(buffer+current, c, n);
usr.bin/m4/gnum4.c
223
current += n;
usr.bin/m4/gnum4.c
280
add_sub(int n, const char *string, regex_t *re, regmatch_t *pm)
usr.bin/m4/gnum4.c
282
if (n > (int)re->re_nsub)
usr.bin/m4/gnum4.c
283
m4_warnx("No subexpression %d", n);
usr.bin/m4/gnum4.c
286
else if (pm[n].rm_so != -1 &&
usr.bin/m4/gnum4.c
287
pm[n].rm_eo != -1) {
usr.bin/m4/gnum4.c
288
addchars(string + pm[n].rm_so,
usr.bin/m4/gnum4.c
289
pm[n].rm_eo - pm[n].rm_so);
usr.bin/m4/gnum4.c
76
struct path_entry *n;
usr.bin/m4/gnum4.c
78
n = malloc(sizeof(struct path_entry));
usr.bin/m4/gnum4.c
79
if (!n)
usr.bin/m4/gnum4.c
81
n->name = xstrdup(dirname);
usr.bin/m4/gnum4.c
82
n->next = 0;
usr.bin/m4/gnum4.c
83
return n;
usr.bin/m4/gnum4.c
89
struct path_entry *n;
usr.bin/m4/gnum4.c
91
n = new_path_entry(dirname);
usr.bin/m4/gnum4.c
94
last->next = n;
usr.bin/m4/gnum4.c
95
last = n;
usr.bin/m4/gnum4.c
98
last = first = n;
usr.bin/m4/look.c
140
ndptr n;
usr.bin/m4/look.c
144
n = ohash_find(&macros, i);
usr.bin/m4/look.c
145
if (n == NULL) {
usr.bin/m4/look.c
146
n = ohash_create_entry(&macro_info, name, &end);
usr.bin/m4/look.c
147
ohash_insert(&macros, i, n);
usr.bin/m4/look.c
148
n->trace_flags = FLAG_NO_TRACE;
usr.bin/m4/look.c
149
n->builtin_type = MACROTYPE;
usr.bin/m4/look.c
150
n->d = NULL;
usr.bin/m4/look.c
152
return n;
usr.bin/m4/look.c
158
ndptr n = create_entry(name);
usr.bin/m4/look.c
160
if (n->d != NULL) {
usr.bin/m4/look.c
161
if (n->d->defn != null)
usr.bin/m4/look.c
162
free_definition(n->d->defn);
usr.bin/m4/look.c
164
n->d = xalloc(sizeof(struct macro_definition), NULL);
usr.bin/m4/look.c
165
n->d->next = NULL;
usr.bin/m4/look.c
167
setup_definition(n->d, defn, name);
usr.bin/m4/look.c
173
ndptr n;
usr.bin/m4/look.c
176
n = create_entry(name);
usr.bin/m4/look.c
178
d->next = n->d;
usr.bin/m4/look.c
179
n->d = d;
usr.bin/m4/look.c
180
setup_definition(n->d, defn, name);
usr.bin/m4/look.c
186
ndptr n = lookup(name);
usr.bin/m4/look.c
188
if (n != NULL) {
usr.bin/m4/look.c
191
for (r = n->d; r != NULL; r = r2) {
usr.bin/m4/look.c
197
n->d = NULL;
usr.bin/m4/look.c
204
ndptr n = lookup(name);
usr.bin/m4/look.c
206
if (n != NULL) {
usr.bin/m4/look.c
207
struct macro_definition *r = n->d;
usr.bin/m4/look.c
209
n->d = r->next;
usr.bin/m4/look.c
220
ndptr n;
usr.bin/m4/look.c
223
for (n = ohash_first(&macros, &i); n != NULL;
usr.bin/m4/look.c
224
n = ohash_next(&macros, &i))
usr.bin/m4/look.c
225
if (n->d != NULL)
usr.bin/m4/look.c
226
f(n->name, n->d);
usr.bin/m4/look.c
232
ndptr n;
usr.bin/m4/look.c
242
n = create_entry(name2);
usr.bin/m4/look.c
243
n->builtin_type = type;
usr.bin/m4/look.c
244
n->d = xalloc(sizeof(struct macro_definition), NULL);
usr.bin/m4/look.c
245
n->d->defn = name2;
usr.bin/m4/look.c
246
n->d->type = type;
usr.bin/m4/look.c
247
n->d->next = NULL;
usr.bin/m4/look.c
71
hash_calloc(size_t n, size_t s, void *u __unused)
usr.bin/m4/look.c
73
void *storage = xcalloc(n, s, "hash alloc");
usr.bin/m4/main.c
190
int n;
usr.bin/m4/main.c
305
for (n = 1; n < maxout; n++) /* default wrap-up: undivert */
usr.bin/m4/main.c
306
if (outfile[n] != NULL)
usr.bin/m4/main.c
307
getdiv(n);
usr.bin/m4/misc.c
102
size_t n;
usr.bin/m4/misc.c
104
n = strlen(s);
usr.bin/m4/misc.c
105
while (endpbb - bp <= (long)n)
usr.bin/m4/misc.c
107
while (n > 0)
usr.bin/m4/misc.c
108
*bp++ = s[--n];
usr.bin/m4/misc.c
115
pbnum(int n)
usr.bin/m4/misc.c
117
pbnumbase(n, 10, 0);
usr.bin/m4/misc.c
121
pbnumbase(int n, int base, int d)
usr.bin/m4/misc.c
134
num = (n < 0) ? -n : n;
usr.bin/m4/misc.c
143
if (n < 0)
usr.bin/m4/misc.c
151
pbunsigned(unsigned long n)
usr.bin/m4/misc.c
154
pushback(n % 10 + '0');
usr.bin/m4/misc.c
155
} while ((n /= 10) > 0);
usr.bin/m4/misc.c
226
getdiv(int n)
usr.bin/m4/misc.c
230
if (active == outfile[n])
usr.bin/m4/misc.c
232
rewind(outfile[n]);
usr.bin/m4/misc.c
233
while ((c = getc(outfile[n])) != EOF)
usr.bin/m4/misc.c
235
(void) fclose(outfile[n]);
usr.bin/m4/misc.c
236
outfile[n] = NULL;
usr.bin/m4/misc.c
253
int n;
usr.bin/m4/misc.c
255
for (n = 0; n < maxout; n++)
usr.bin/m4/misc.c
256
if (outfile[n] != NULL) {
usr.bin/m4/misc.c
257
(void) fclose(outfile[n]);
usr.bin/m4/misc.c
282
resizedivs(int n)
usr.bin/m4/misc.c
286
outfile = xreallocarray(outfile, n, sizeof(FILE *),
usr.bin/m4/misc.c
287
"too many diverts %d", n);
usr.bin/m4/misc.c
288
for (i = maxout; i < n; i++)
usr.bin/m4/misc.c
290
maxout = n;
usr.bin/m4/misc.c
294
xalloc(size_t n, const char *fmt, ...)
usr.bin/m4/misc.c
296
void *p = malloc(n);
usr.bin/m4/misc.c
313
xcalloc(size_t n, size_t s, const char *fmt, ...)
usr.bin/m4/misc.c
315
void *p = calloc(n, s);
usr.bin/m4/misc.c
332
xrealloc(void *old, size_t n, const char *fmt, ...)
usr.bin/m4/misc.c
334
char *p = realloc(old, n);
usr.bin/m4/stdd.h
52
#define STREQN(a, b, n) ((a)[0] == (b)[0] && strncmp(a, b, n) == 0)
usr.bin/mail/cmd1.c
52
int n, mesg, flag, size;
usr.bin/mail/cmd1.c
56
n = msgvec[0];
usr.bin/mail/cmd1.c
57
if (n != 0)
usr.bin/mail/cmd1.c
58
screen = (n-1)/size;
usr.bin/mail/cmd1.c
68
if (dot != &message[n-1])
usr.bin/mail/cmd2.c
398
clob1(int n)
usr.bin/mail/cmd2.c
403
if (n <= 0)
usr.bin/mail/cmd2.c
407
clob1(n - 1);
usr.bin/mail/cmd3.c
109
n -= strlen(lastbang);
usr.bin/mail/cmd3.c
114
if (--n <= 1)
usr.bin/mail/cmd3.c
120
if (--n <= 1)
usr.bin/mail/cmd3.c
92
int n, changed = 0;
usr.bin/mail/cmd3.c
96
n = sizeof(bangbuf);
usr.bin/mail/cmd3.c
99
if (n < (int)strlen(lastbang)) {
usr.bin/mail/fio.c
181
int n;
usr.bin/mail/fio.c
186
n = strlen(linebuf);
usr.bin/mail/fio.c
187
if (n > 0 && linebuf[n - 1] == '\n')
usr.bin/mail/fio.c
188
linebuf[--n] = '\0';
usr.bin/mail/fio.c
189
if (n > 0 && linebuf[n - 1] == '\r')
usr.bin/mail/fio.c
190
linebuf[--n] = '\0';
usr.bin/mail/fio.c
191
return (n);
usr.bin/mail/lex.c
196
int n, eofloop = 0;
usr.bin/mail/lex.c
224
n = 0;
usr.bin/mail/lex.c
226
if (readline(input, &linebuf[n],
usr.bin/mail/lex.c
227
sizeof(linebuf) - n) < 0) {
usr.bin/mail/lex.c
228
if (n == 0)
usr.bin/mail/lex.c
229
n = -1;
usr.bin/mail/lex.c
232
if ((n = strlen(linebuf)) == 0)
usr.bin/mail/lex.c
234
n--;
usr.bin/mail/lex.c
235
if (linebuf[n] != '\\')
usr.bin/mail/lex.c
237
linebuf[n++] = ' ';
usr.bin/mail/lex.c
240
if (n < 0) {
usr.bin/mail/lex.c
597
int u, n, mdot, d, s;
usr.bin/mail/lex.c
612
for (mp = &message[0], n = 0, u = 0; mp < &message[msgCount]; mp++) {
usr.bin/mail/lex.c
614
n++;
usr.bin/mail/lex.c
636
if (n > 0)
usr.bin/mail/lex.c
637
printf(" %d new", n);
usr.bin/mail/lex.c
638
if (u-n > 0)
usr.bin/mail/names.c
203
int n;
usr.bin/mail/names.c
237
n = 0;
usr.bin/mail/names.c
251
n++;
usr.bin/mail/names.c
257
while(n >= 0) {
usr.bin/mail/names.c
259
n--;
usr.bin/mail/names.c
548
struct name *n;
usr.bin/mail/names.c
551
n = np;
usr.bin/mail/names.c
552
if ((t = count(n)) == 0)
usr.bin/mail/names.c
576
for (; n != NULL; n = n->n_flink)
usr.bin/mail/names.c
577
if ((n->n_type & GDEL) == 0)
usr.bin/mail/names.c
578
*ap++ = n->n_name;
usr.bin/mididump/mididump.c
43
#define NOTE2OCTAVE(n) (n / 12 - 1)
usr.bin/mididump/mididump.c
44
#define NOTE2FREQ(n) (440 * pow(2.0f, ((float)n - 69) / 12))
usr.bin/ministat/ministat.c
144
size_t n;
usr.bin/ministat/ministat.c
166
if (ds->n >= ds->lpoints) {
usr.bin/ministat/ministat.c
171
memcpy(ds->points, dp, sizeof *dp * ds->n);
usr.bin/ministat/ministat.c
174
ds->points[ds->n++] = a;
usr.bin/ministat/ministat.c
189
return (ds->points[ds->n -1]);
usr.bin/ministat/ministat.c
196
return(ds->sy / ds->n);
usr.bin/ministat/ministat.c
202
const size_t m = ds->n / 2;
usr.bin/ministat/ministat.c
204
if ((ds->n % 2) == 0)
usr.bin/ministat/ministat.c
217
for (z = 0; z < ds->n; z++)
usr.bin/ministat/ministat.c
221
return (ds->syy / (ds->n - 1.0));
usr.bin/ministat/ministat.c
243
ds->n, Min(ds), Max(ds), Median(ds), Avg(ds), Stddev(ds));
usr.bin/ministat/ministat.c
254
z = ds->n + rs->n - 2;
usr.bin/ministat/ministat.c
259
spool = (ds->n - 1) * Var(ds) + (rs->n - 1) * Var(rs);
usr.bin/ministat/ministat.c
260
spool /= ds->n + rs->n - 2;
usr.bin/ministat/ministat.c
262
s = spool * sqrt(1.0 / ds->n + 1.0 / rs->n);
usr.bin/ministat/ministat.c
266
re = (ds->n - 1) * Var(ds) + (rs->n - 1) * Var(rs) *
usr.bin/ministat/ministat.c
268
re *= (ds->n + rs->n) / (ds->n * rs->n * (ds->n + rs->n - 2.0));
usr.bin/ministat/ministat.c
344
size_t n;
usr.bin/ministat/ministat.c
372
for (n = 0; n < ds->n; n++) {
usr.bin/ministat/ministat.c
373
x = (ds->points[n] - pl->x0) / pl->dx;
usr.bin/ministat/ministat.c
392
for (n = 0; n < ds->n; n++) {
usr.bin/ministat/ministat.c
393
x = (ds->points[n] - pl->x0) / pl->dx;
usr.bin/ministat/ministat.c
484
ReadSet(FILE *f, const char *n, int column, const char *delim)
usr.bin/ministat/ministat.c
493
s->name = strdup(n);
usr.bin/ministat/ministat.c
514
t, line, n);
usr.bin/ministat/ministat.c
518
if (s->n < 3) {
usr.bin/ministat/ministat.c
520
"Dataset %s must contain at least 3 data points\n", n);
usr.bin/ministat/ministat.c
523
qsort(s->points, s->n, sizeof *s->points, dbl_cmp);
usr.bin/mkcsmapper/yacc.y
553
u_int32_t m, n;
usr.bin/mkcsmapper/yacc.y
559
n = end & ~rowcol_mask;
usr.bin/mkcsmapper/yacc.y
560
if (m != n)
usr.bin/mkcsmapper/yacc.y
570
n = end & rowcol_mask;
usr.bin/mkcsmapper/yacc.y
572
if (n < p->begin || n > p->end)
usr.bin/mkcsmapper/yacc.y
583
u_int32_t n;
usr.bin/mkcsmapper/yacc.y
588
n = ((lz->begin >> i) & rowcol_mask) - p->begin;
usr.bin/mkcsmapper/yacc.y
589
ofs = (ofs * p->width) + n;
usr.bin/mkcsmapper/yacc.y
591
n = lz->width;
usr.bin/mkcsmapper/yacc.y
592
while (n-- > 0) {
usr.bin/mkimg/bsd.c
103
n = part->index + ((part->index >= BSD_PART_RAW) ? 1 : 0);
usr.bin/mkimg/bsd.c
104
dp = &d->d_partitions[n];
usr.bin/mkimg/bsd.c
71
int bsdparts, error, n;
usr.bin/mkimg/image.c
93
size_t n, max;
usr.bin/mkimg/image.c
98
for (n = 0; n < max; n++) {
usr.bin/mkimg/image.c
99
if (p[n] != 0UL)
usr.bin/mkimg/mkimg.h
68
round_block(lba_t n)
usr.bin/mkimg/mkimg.h
71
return ((n + b - 1) & ~(b - 1));
usr.bin/mkimg/mkimg.h
75
round_cylinder(lba_t n)
usr.bin/mkimg/mkimg.h
78
u_int r = n % cyl;
usr.bin/mkimg/mkimg.h
79
return ((r == 0) ? n : n + cyl - r);
usr.bin/mkimg/mkimg.h
83
round_track(lba_t n)
usr.bin/mkimg/mkimg.h
85
u_int r = n % nsecs;
usr.bin/mkimg/mkimg.h
86
return ((r == 0) ? n : n + nsecs - r);
usr.bin/mkimg/qcow.c
137
uint64_t n, imagesz, nclstrs, ofs, ofsflags;
usr.bin/mkimg/qcow.c
156
n = clstr_rcblks + clstr_rctblsz;
usr.bin/mkimg/qcow.c
157
clstr_rcblks = round_clstr((nclstrs + n) * 2) >> clstr_log2sz;
usr.bin/mkimg/qcow.c
159
} while (n < (clstr_rcblks + clstr_rctblsz));
usr.bin/mkimg/qcow.c
223
for (n = 0; n < clstr_imgsz; n++) {
usr.bin/mkimg/qcow.c
224
blk = n * blk_clstrsz;
usr.bin/mkimg/qcow.c
227
l1idx = n >> (clstr_log2sz - 3);
usr.bin/mkimg/qcow.c
243
n = clstr_rcblks;
usr.bin/mkimg/qcow.c
244
clstr_rcblks = round_clstr((nclstrs + n) * 2) >> clstr_log2sz;
usr.bin/mkimg/qcow.c
245
} while (n < clstr_rcblks);
usr.bin/mkimg/qcow.c
253
for (n = 0; n < clstr_rcblks; n++) {
usr.bin/mkimg/qcow.c
254
be64enc(rctbl + n, ofs);
usr.bin/mkimg/qcow.c
303
for (n = 0; n < nclstrs; n++)
usr.bin/mkimg/qcow.c
304
be16enc(rcblk + n, 1);
usr.bin/mkimg/qcow.c
314
for (n = 0; n < clstr_imgsz; n++) {
usr.bin/mkimg/qcow.c
315
blk = n * blk_clstrsz;
usr.bin/mkimg/vmdk.c
118
int error, desc_len, n, ngrains, ngts;
usr.bin/mkimg/vmdk.c
129
n = asprintf(&desc, desc_fmt, 1 /*version*/, 0 /*CID*/,
usr.bin/mkimg/vmdk.c
132
if (n == -1)
usr.bin/mkimg/vmdk.c
135
desc_len = (n + VMDK_SECTOR_SIZE - 1) & ~(VMDK_SECTOR_SIZE - 1);
usr.bin/mkimg/vmdk.c
137
memset(desc + n, 0, desc_len - n);
usr.bin/mkimg/vmdk.c
157
for (n = 0; n < ngts; n++) {
usr.bin/mkimg/vmdk.c
158
le32enc(gd + n, sec);
usr.bin/mkimg/vmdk.c
170
for (n = 0; n < ngts; n++) {
usr.bin/mkimg/vmdk.c
171
le32enc(rgd + n, sec);
usr.bin/mkimg/vmdk.c
195
for (n = 0; n < ngrains; n++) {
usr.bin/mkimg/vmdk.c
196
blkofs = n * blkcnt;
usr.bin/mkimg/vmdk.c
198
le32enc(gt + n, cursec);
usr.bin/mkimg/vmdk.c
241
for (n = 0; n < ngrains; n++) {
usr.bin/mkimg/vmdk.c
242
blkofs = n * blkcnt;
usr.bin/morse/morse.c
594
char *n, *p, *s;
usr.bin/morse/morse.c
609
n = strpbrk(p, WHITESPACE);
usr.bin/morse/morse.c
610
if (n == NULL) {
usr.bin/morse/morse.c
618
*n = '\0';
usr.bin/morse/morse.c
619
n++;
usr.bin/morse/morse.c
621
p = n;
usr.bin/msgs/msgs.c
727
int n, cmsg, fd;
usr.bin/msgs/msgs.c
735
if ((n = strlen(inbuf)) > 0 && inbuf[n - 1] == '\n')
usr.bin/msgs/msgs.c
736
inbuf[n - 1] = '\0';
usr.bin/msgs/msgs.c
764
for (n=0; in[n] > ' '; n++) { /* sizeof fname? */
usr.bin/msgs/msgs.c
765
fname[n] = in[n];
usr.bin/msgs/msgs.c
767
fname[n] = '\0';
usr.bin/msgs/msgs.c
793
while ((n = fread(inbuf, 1, sizeof inbuf, cpfrom)))
usr.bin/msgs/msgs.c
794
fwrite(inbuf, 1, n, cpto);
usr.bin/ncal/ncal.c
529
int n; /* number of lines to print */
usr.bin/ncal/ncal.c
536
n = sizeof(switches) / sizeof(struct djswitch);
usr.bin/ncal/ncal.c
537
m = (n + 1) / 2;
usr.bin/ncal/ncal.c
538
n /= 2;
usr.bin/ncal/ncal.c
539
for (p = switches; p != switches + n; p++)
usr.bin/ncal/ncal.c
541
if (m != n)
usr.bin/netstat/ipsec.c
260
#define p(f, n, m) if (ahstat->f || sflag <= 1) \
usr.bin/netstat/ipsec.c
261
xo_emit("\t{:" n "/%ju} {N:/" m "}\n", \
usr.bin/netstat/ipsec.c
263
#define hist(f, n, t, c) \
usr.bin/netstat/ipsec.c
264
ipsec_hist_new((f), sizeof(f)/sizeof(f[0]), (n), (t), (c))
usr.bin/netstat/ipsec.c
319
#define p(f, n, m) if (espstat->f || sflag <= 1) \
usr.bin/netstat/ipsec.c
320
xo_emit("\t{:" n "/%ju} {N:/" m "}\n", \
usr.bin/netstat/ipsec.c
322
#define hist(f, n, t, c) \
usr.bin/netstat/ipsec.c
323
ipsec_hist_new((f), sizeof(f)/sizeof(f[0]), (n), (t), (c));
usr.bin/netstat/ipsec.c
380
#define p(f, n, m) if (ipcompstat->f || sflag <= 1) \
usr.bin/netstat/ipsec.c
381
xo_emit("\t{:" n "/%ju} {N:/" m "}\n", \
usr.bin/netstat/ipsec.c
383
#define hist(f, n, t, c) \
usr.bin/netstat/ipsec.c
384
ipsec_hist_new((f), sizeof(f)/sizeof(f[0]), (n), (t), (c));
usr.bin/netstat/main.c
827
size_t i, n;
usr.bin/netstat/main.c
837
n = size / sizeof(uint64_t);
usr.bin/netstat/main.c
838
if ((counters = malloc(n * sizeof(u_long))) == NULL)
usr.bin/netstat/main.c
840
if (kread(addr, counters, n * sizeof(u_long)) < 0) {
usr.bin/netstat/main.c
846
for (i = 0; i < n; i++)
usr.bin/netstat/main.c
854
plural(uintmax_t n)
usr.bin/netstat/main.c
856
return (n != 1 ? "s" : "");
usr.bin/netstat/main.c
860
plurales(uintmax_t n)
usr.bin/netstat/main.c
862
return (n != 1 ? "es" : "");
usr.bin/netstat/main.c
866
pluralies(uintmax_t n)
usr.bin/netstat/main.c
868
return (n != 1 ? "ies" : "y");
usr.bin/patch/pch.c
1260
LINENUM n;
usr.bin/patch/pch.c
1296
n = p_end - i + 1;
usr.bin/patch/pch.c
1298
n = -i;
usr.bin/patch/pch.c
1299
p_efake += n;
usr.bin/patch/pch.c
1300
p_bfake += n;
usr.bin/patch/pch.c
1302
for (n = 0; i <= p_end; i++, n++) {
usr.bin/patch/pch.c
1303
p_line[n] = tp_line[i];
usr.bin/patch/pch.c
1304
p_char[n] = tp_char[i];
usr.bin/patch/pch.c
1305
if (p_char[n] == '+')
usr.bin/patch/pch.c
1306
p_char[n] = '-';
usr.bin/patch/pch.c
1307
p_len[n] = tp_len[i];
usr.bin/patch/pch.c
1311
p_line[n] = tp_line[i];
usr.bin/patch/pch.c
1312
p_char[n] = tp_char[i];
usr.bin/patch/pch.c
1313
p_len[n] = tp_len[i];
usr.bin/patch/pch.c
1314
n++;
usr.bin/patch/pch.c
1333
for (i = 0; n <= p_end; i++, n++) {
usr.bin/patch/pch.c
1334
p_line[n] = tp_line[i];
usr.bin/patch/pch.c
1335
p_char[n] = tp_char[i];
usr.bin/patch/pch.c
1336
if (p_char[n] == '-')
usr.bin/patch/pch.c
1337
p_char[n] = '+';
usr.bin/patch/pch.c
1338
p_len[n] = tp_len[i];
usr.bin/patch/pch.c
1620
size_t n;
usr.bin/patch/pch.c
1623
for (n = 0, cp = path; (cp = strchr(cp, '/')) != NULL; n++) {
usr.bin/patch/pch.c
1628
return n;
usr.bin/primes/spsp.c
108
uint64_t n = _n;
usr.bin/primes/spsp.c
117
if (!spsp(n, 2))
usr.bin/primes/spsp.c
119
if (n < 2047ULL)
usr.bin/primes/spsp.c
123
if (!spsp(n, 3))
usr.bin/primes/spsp.c
125
if (n < 1373653ULL)
usr.bin/primes/spsp.c
129
if (!spsp(n, 5))
usr.bin/primes/spsp.c
131
if (n < 25326001ULL)
usr.bin/primes/spsp.c
135
if (!spsp(n, 7))
usr.bin/primes/spsp.c
137
if (n < 3215031751ULL)
usr.bin/primes/spsp.c
147
if (!spsp(n, 11))
usr.bin/primes/spsp.c
149
if (n < 2152302898747ULL)
usr.bin/primes/spsp.c
153
if (!spsp(n, 13))
usr.bin/primes/spsp.c
155
if (n < 3474749660383ULL)
usr.bin/primes/spsp.c
159
if (!spsp(n, 17))
usr.bin/primes/spsp.c
161
if (n < 341550071728321ULL)
usr.bin/primes/spsp.c
165
if (!spsp(n, 19))
usr.bin/primes/spsp.c
167
if (n < 341550071728321ULL)
usr.bin/primes/spsp.c
177
if (!spsp(n, 23))
usr.bin/primes/spsp.c
179
if (n < 3825123056546413051)
usr.bin/primes/spsp.c
189
if (!spsp(n, 29))
usr.bin/primes/spsp.c
191
if (!spsp(n, 31))
usr.bin/primes/spsp.c
193
if (!spsp(n, 37))
usr.bin/primes/spsp.c
34
mulmod(uint64_t a, uint64_t b, uint64_t n)
usr.bin/primes/spsp.c
37
uint64_t an = a % n;
usr.bin/primes/spsp.c
42
if ((x < an) || (x >= n))
usr.bin/primes/spsp.c
43
x -= n;
usr.bin/primes/spsp.c
46
an = an + an - n;
usr.bin/primes/spsp.c
47
else if (an + an >= n)
usr.bin/primes/spsp.c
48
an = an + an - n;
usr.bin/primes/spsp.c
59
powmod(uint64_t a, uint64_t r, uint64_t n)
usr.bin/primes/spsp.c
65
x = mulmod(a, x, n);
usr.bin/primes/spsp.c
66
a = mulmod(a, a, n);
usr.bin/primes/spsp.c
75
spsp(uint64_t n, uint64_t p)
usr.bin/primes/spsp.c
78
uint64_t r = n - 1;
usr.bin/primes/spsp.c
88
x = powmod(p, r, n);
usr.bin/primes/spsp.c
94
if (x == n - 1)
usr.bin/primes/spsp.c
96
x = powmod(x, 2, n);
usr.bin/random/randomize_fd.c
182
n = rand_node_allocate();
usr.bin/random/randomize_fd.c
185
n->len = slen + 2;
usr.bin/random/randomize_fd.c
186
n->cp = (u_char *)malloc(slen + 2);
usr.bin/random/randomize_fd.c
187
if (n->cp == NULL)
usr.bin/random/randomize_fd.c
190
memmove(n->cp, &buf[bufc], slen);
usr.bin/random/randomize_fd.c
191
n->cp[slen] = buf[i];
usr.bin/random/randomize_fd.c
192
n->cp[slen + 1] = '\0';
usr.bin/random/randomize_fd.c
195
rand_node_append(n);
usr.bin/random/randomize_fd.c
214
for (j = 0, prev = n = rand_root; n != NULL; j++, prev = n, n = n->next) {
usr.bin/random/randomize_fd.c
216
if (n->cp == NULL)
usr.bin/random/randomize_fd.c
221
(int)n->len - 1, n->cp);
usr.bin/random/randomize_fd.c
226
if (n == rand_root)
usr.bin/random/randomize_fd.c
227
rand_root = n->next;
usr.bin/random/randomize_fd.c
228
if (n == rand_tail)
usr.bin/random/randomize_fd.c
231
prev->next = n->next;
usr.bin/random/randomize_fd.c
232
rand_node_free(n);
usr.bin/random/randomize_fd.c
48
struct rand_node *n;
usr.bin/random/randomize_fd.c
50
n = (struct rand_node *)malloc(sizeof(struct rand_node));
usr.bin/random/randomize_fd.c
51
if (n == NULL)
usr.bin/random/randomize_fd.c
54
n->len = 0;
usr.bin/random/randomize_fd.c
55
n->cp = NULL;
usr.bin/random/randomize_fd.c
56
n->next = NULL;
usr.bin/random/randomize_fd.c
57
return(n);
usr.bin/random/randomize_fd.c
61
rand_node_free(struct rand_node *n)
usr.bin/random/randomize_fd.c
63
if (n != NULL) {
usr.bin/random/randomize_fd.c
64
if (n->cp != NULL)
usr.bin/random/randomize_fd.c
65
free(n->cp);
usr.bin/random/randomize_fd.c
67
free(n);
usr.bin/random/randomize_fd.c
72
rand_node_free_rec(struct rand_node *n)
usr.bin/random/randomize_fd.c
74
if (n != NULL) {
usr.bin/random/randomize_fd.c
75
if (n->next != NULL)
usr.bin/random/randomize_fd.c
76
rand_node_free_rec(n->next);
usr.bin/random/randomize_fd.c
78
rand_node_free(n);
usr.bin/random/randomize_fd.c
83
rand_node_append(struct rand_node *n)
usr.bin/random/randomize_fd.c
86
rand_root = rand_tail = n;
usr.bin/random/randomize_fd.c
88
rand_tail->next = n;
usr.bin/random/randomize_fd.c
89
rand_tail = n;
usr.bin/random/randomize_fd.c
99
struct rand_node *n, *prev;
usr.bin/rs/rs.cc
186
int n;
usr.bin/rs/rs.cc
191
n = (flags & ONEOSEPONLY ? 1 : colwidths[col] - (p - s));
usr.bin/rs/rs.cc
193
while (n-- > 0)
usr.bin/rs/rs.cc
197
while (n-- > 0)
usr.bin/rs/rs.cc
213
size_t colw, max, n, orig_size, padto;
usr.bin/rs/rs.cc
252
if ((n = strlen(*it++)) > max)
usr.bin/rs/rs.cc
253
max = n;
usr.bin/rs/rs.cc
260
if ((n = strlen(elem[j])) > max)
usr.bin/rs/rs.cc
261
max = n;
usr.bin/rwho/rwho.c
148
for (n = cc / sizeof(struct whoent); n > 0; n--) {
usr.bin/rwho/rwho.c
85
int f, n, i;
usr.bin/script/script.c
113
int aflg, Fflg, kflg, pflg, wflg, ch, k, n, fcm;
usr.bin/script/script.c
318
n = pselect(master + 1, &rfd, &wfd, NULL, tvp, pselmask);
usr.bin/script/script.c
319
if (n < 0 && errno != EINTR)
usr.bin/script/script.c
328
if (n > 0 && FD_ISSET(STDIN_FILENO, &rfd)) {
usr.bin/script/script.c
349
if (n > 0 && FD_ISSET(master, &wfd)) {
usr.bin/script/script.c
376
if (n > 0 && FD_ISSET(master, &rfd)) {
usr.bin/sdiff/sdiff.c
714
size_t file1start, file1end, file2start, file2end, n;
usr.bin/sdiff/sdiff.c
863
n = file2end - file2start + 1;
usr.bin/sdiff/sdiff.c
867
n = file1end - file1start + 1 + 1 + file2end - file2start + 1;
usr.bin/sdiff/sdiff.c
871
n = file1end - file1start + 1;
usr.bin/sdiff/sdiff.c
879
while (n--) {
usr.bin/sed/compile.c
627
#define ADVANCE_N(s, n) \
usr.bin/sed/compile.c
630
while (*(adv + (n) - 1) != '\0') { \
usr.bin/sed/compile.c
631
*adv = *(adv + (n)); \
usr.bin/sed/compile.c
682
s->n = 1; /* Default */
usr.bin/sed/compile.c
695
s->n = 0;
usr.bin/sed/compile.c
720
s->n = nval;
usr.bin/sed/defs.h
61
int n; /* Occurrence to subst. */
usr.bin/sed/main.c
212
cu_fgets(char *buf, int n, int *more)
usr.bin/sed/main.c
255
if ((p = fgets(buf, n, f)) != NULL) {
usr.bin/sed/main.c
272
if (n-- <= 1) {
usr.bin/sed/process.c
386
int lastempty, n;
usr.bin/sed/process.c
404
n = cp->u.s->n;
usr.bin/sed/process.c
409
if (n <= 1 && (match[0].rm_so > le))
usr.bin/sed/process.c
415
if (n <= 1) {
usr.bin/sed/process.c
418
if (n == 1)
usr.bin/sed/process.c
419
n = -1;
usr.bin/sed/process.c
425
n--;
usr.bin/sed/process.c
449
} while (n >= 0 && slen >= 0 &&
usr.bin/sed/process.c
453
if (n > 0)
usr.bin/sockstat/main.c
1327
int n, len;
usr.bin/sockstat/main.c
1333
for (xf = files, n = 0; n < nfiles; ++n, ++xf) {
usr.bin/sockstat/main.c
1604
int n;
usr.bin/sockstat/main.c
1673
for (xf = files, n = 0; n < nfiles; ++n, ++xf) {
usr.bin/sort/bwstring.c
341
size_t n = mb_cur_max;
usr.bin/sort/bwstring.c
343
if (n > len - cptr)
usr.bin/sort/bwstring.c
344
n = len - cptr;
usr.bin/sort/bwstring.c
345
charlen = mbrlen(s + cptr, n, &mbs);
usr.bin/sort/bwstring.c
357
n = mbrtowc(ret->wdata.str + (chars++),
usr.bin/sort/bwstring.c
359
if ((n == (size_t)-1) || (n == (size_t)-2))
usr.bin/sort/file.c
1354
merge_sub_lists(struct sort_list **sl, size_t n, FILE* f_out)
usr.bin/sort/file.c
1362
for (i = 0; i < n; i++)
usr.bin/sort/file.c
1371
sub_list_sink(sl, 0, n);
usr.bin/sort/file.c
1379
merge_list_parts(struct sort_list **parts, size_t n, const char *fn)
usr.bin/sort/file.c
1385
merge_sub_lists(parts, n, f_out);
usr.bin/sort/radixsort.c
100
sort_left_dec(size_t n)
usr.bin/sort/radixsort.c
103
sort_left -= n;
usr.bin/sort/radixsort.c
126
#define sort_left_dec(n)
usr.bin/sort/radixsort.c
480
size_t n;
usr.bin/sort/radixsort.c
485
n = sln - i - 1;
usr.bin/sort/radixsort.c
486
slc = sl->sublevels[n];
usr.bin/sort/radixsort.c
496
sl->sublevels[n] = NULL;
usr.bin/sort/radixsort.c
610
size_t n;
usr.bin/sort/radixsort.c
614
n = sl->sln - i - 1;
usr.bin/sort/radixsort.c
615
slc = sl->sublevels[n];
usr.bin/sort/radixsort.c
622
sl->sublevels[n] = NULL;
usr.bin/sort/sort.h
45
#define getstr(n) nlsstr[n]
usr.bin/su/su.c
581
size_t n;
usr.bin/su/su.c
588
n = strlen(*pp);
usr.bin/su/su.c
589
if (s[n] == '=' && strncmp(s, *pp, n) == 0)
usr.bin/systat/fetch.c
104
if (sysctlnametomib(n, mib, &mibsz) == -1) {
usr.bin/systat/fetch.c
94
sysctl_dynread(const char *n, size_t *szp)
usr.bin/systat/ifstat.c
231
u_int n, i;
usr.bin/systat/ifstat.c
233
n = getifnum();
usr.bin/systat/ifstat.c
234
if (n <= 0)
usr.bin/systat/ifstat.c
239
for (i = 0; i < n; i++) {
usr.bin/systat/ifstat.c
93
#define IFSTAT_ERR(n, s) do { \
usr.bin/systat/ifstat.c
96
err((n), (s)); \
usr.bin/systat/iolat.c
125
int n = *nbuckets, i;
usr.bin/systat/iolat.c
128
memset(buckets, 0, n * sizeof(buckets[0]));
usr.bin/systat/iolat.c
129
for (i = 0; (v = strsep(&str, delim)) != NULL && i < n; i++) {
usr.bin/systat/iolat.c
132
if (i < n)
usr.bin/systat/iolat.c
134
return (i < n);
usr.bin/systat/keyboard.c
106
if (n < 0 && errno != EINTR)
usr.bin/systat/keyboard.c
52
int ch, n;
usr.bin/systat/keyboard.c
86
n = select(STDIN_FILENO + 1, &rfds, NULL, NULL, &tm);
usr.bin/systat/keyboard.c
88
if (n > 0) {
usr.bin/systat/main.c
377
int i, n;
usr.bin/systat/main.c
379
n = 0;
usr.bin/systat/main.c
385
mvprintw(2 + ++n, 10, "%s", n_list[i].n_name);
usr.bin/systat/vmstat.c
624
putint(int n, int l, int lc, int w)
usr.bin/systat/vmstat.c
627
do_putuint64(n, l, lc, w, SI);
usr.bin/systat/vmstat.c
631
do_putuint64(uint64_t n, int l, int lc, int w, int div)
usr.bin/systat/vmstat.c
643
if (n == 0) {
usr.bin/systat/vmstat.c
648
snr = snprintf(b, sizeof(b), "%*ju", w, (uintmax_t)n);
usr.bin/systat/vmstat.c
650
humanize_number(lbuf, w, n, "", HN_AUTOSCALE,
usr.bin/tail/forward.c
265
int i, n = 0;
usr.bin/tail/forward.c
285
EV_SET(&ev[n], fileno(file->fp), EVFILT_VNODE,
usr.bin/tail/forward.c
288
n++;
usr.bin/tail/forward.c
290
EV_SET(&ev[n], fileno(file->fp), EVFILT_READ,
usr.bin/tail/forward.c
292
n++;
usr.bin/tail/forward.c
295
if (kevent(kq, ev, n, NULL, 0, &ts) < 0) {
usr.bin/tail/forward.c
307
int active, ev_change, i, n;
usr.bin/tail/forward.c
412
n = kevent(kq, NULL, 0, ev, 1, Fflag ? &ts : NULL);
usr.bin/tail/forward.c
413
if (n < 0 && errno != EINTR)
usr.bin/tail/forward.c
415
} while (n < 0);
usr.bin/tail/forward.c
416
if (n == 0) {
usr.bin/tail/misc.c
73
int n;
usr.bin/tail/misc.c
81
n = (mip->mapoff + mip->maplen) - startoff;
usr.bin/tail/misc.c
82
if (n > len)
usr.bin/tail/misc.c
83
n = len;
usr.bin/tail/misc.c
84
WR(mip->start + (startoff - mip->mapoff), n);
usr.bin/tail/misc.c
85
startoff += n;
usr.bin/tail/misc.c
86
len -= n;
usr.bin/tee/tee.c
111
n = rval;
usr.bin/tee/tee.c
114
if ((wval = write(p->fd, bp, n)) == -1) {
usr.bin/tee/tee.c
120
} while (n -= wval);
usr.bin/tee/tee.c
65
int append, ch, exitval, fd, n, oflags, rval, wval;
usr.bin/tftp/main.c
424
int fd, n;
usr.bin/tftp/main.c
441
for (n = 1; n < argc - 1; n++)
usr.bin/tftp/main.c
442
if (strchr(argv[n], ':')) {
usr.bin/tftp/main.c
484
for (n = 1; n < argc - 1; n++) {
usr.bin/tftp/main.c
485
if (asprintf(&path, "%s/%s", targ, tail(argv[n])) < 0)
usr.bin/tftp/main.c
488
fd = open(argv[n], O_RDONLY);
usr.bin/tftp/main.c
490
warn("%s", argv[n]);
usr.bin/tftp/main.c
496
warn("%s", argv[n]);
usr.bin/tftp/main.c
505
argv[n], hostname, path, mode);
usr.bin/tftp/main.c
531
int fd, n;
usr.bin/tftp/main.c
545
for (n = 1; n < argc ; n++)
usr.bin/tftp/main.c
546
if (strrchr(argv[n], ':') == 0) {
usr.bin/tftp/main.c
548
"no host given for file '%s'\n", argv[n]);
usr.bin/tftp/main.c
553
for (n = 1; n < argc ; n++) {
usr.bin/tftp/main.c
554
src = strrchr(argv[n], ':');
usr.bin/tftp/main.c
556
src = argv[n];
usr.bin/tftp/main.c
561
lcp = argv[n];
usr.bin/tftp/tftp.c
106
n = receive_packet(peer, recvbuffer,
usr.bin/tftp/tftp.c
110
if (n >= 0) {
usr.bin/tftp/tftp.c
117
if (n == RP_TIMEOUT) {
usr.bin/tftp/tftp.c
146
parse_options(peer, rp->th_stuff, n + 2);
usr.bin/tftp/tftp.c
174
int n, i, ret = 0;
usr.bin/tftp/tftp.c
198
n = send_rrq(peer, name, mode);
usr.bin/tftp/tftp.c
199
if (n > 0) {
usr.bin/tftp/tftp.c
208
n = receive_packet(peer, recvbuffer,
usr.bin/tftp/tftp.c
212
if (n >= 0) {
usr.bin/tftp/tftp.c
219
if (n == RP_TIMEOUT) {
usr.bin/tftp/tftp.c
253
parse_options(peer, rp->th_stuff, n + 2);
usr.bin/tftp/tftp.c
255
n = send_ack(peer, 0);
usr.bin/tftp/tftp.c
256
if (n > 0) {
usr.bin/tftp/tftp.c
265
if (tftp_receive(peer, &block, &tftp_stats, rp, n) != 0)
usr.bin/tftp/tftp.c
71
int n, i, ret = 0;
usr.bin/tftp/tftp.c
96
n = send_wrq(peer, name, mode);
usr.bin/tftp/tftp.c
97
if (n > 0) {
usr.bin/tip/libacu/courier.c
192
int nc, nl, n;
usr.bin/tip/libacu/courier.c
208
n = read(FD, &c, 1);
usr.bin/tip/libacu/courier.c
210
if (n <= 0)
usr.bin/tip/libacu/courier.c
304
cour_write(int fd, char *cp, int n)
usr.bin/tip/libacu/courier.c
308
write(1, cp, n);
usr.bin/tip/libacu/courier.c
312
for ( ; n-- ; cp++) {
usr.bin/tip/libacu/courier.c
323
int n = 0;
usr.bin/tip/libacu/courier.c
326
if (ioctl(FD, FIONREAD, &n) < 0)
usr.bin/tip/libacu/courier.c
328
if (n <= 0)
usr.bin/tip/libacu/courier.c
330
if (read(FD, buf, n) != n)
usr.bin/tip/libacu/courier.c
332
write(1, buf, n);
usr.bin/tip/libacu/t3000.c
207
int nc, nl, n;
usr.bin/tip/libacu/t3000.c
223
n = read(FD, &c, 1);
usr.bin/tip/libacu/t3000.c
225
if (n <= 0)
usr.bin/tip/libacu/t3000.c
322
t3000_write(int fd, char *cp, int n)
usr.bin/tip/libacu/t3000.c
326
write(1, cp, n);
usr.bin/tip/libacu/t3000.c
330
for ( ; n-- ; cp++) {
usr.bin/tip/libacu/t3000.c
341
int n = 0;
usr.bin/tip/libacu/t3000.c
344
if (ioctl(FD, FIONREAD, &n) < 0)
usr.bin/tip/libacu/t3000.c
346
if (n <= 0)
usr.bin/tip/libacu/t3000.c
348
if (read(FD, buf, n) != n)
usr.bin/tip/libacu/t3000.c
350
write(1, buf, n);
usr.bin/tip/libacu/ventel.c
60
#define DELAY(n) do { long N = (n); while (--N > 0); } while (0)
usr.bin/tip/libacu/ventel.c
61
#define busyloop(n) do { DELAY(n); } while (0)
usr.bin/tip/tip/cmds.c
705
int n = 0;
usr.bin/tip/tip/cmds.c
716
parg++, n++;
usr.bin/tip/tip/cmds.c
719
} while (*p && n < num);
usr.bin/tip/tip/cmds.c
721
return(n);
usr.bin/tip/tip/tip.c
572
parwrite(int fd, char *buf, size_t n)
usr.bin/tip/tip/tip.c
579
for (i = 0; i < n; i++) {
usr.bin/tip/tip/tip.c
583
if (write(fd, buf, n) < 0) {
usr.bin/tip/tip/tip.h
159
#define setnumber(v,n) do { (v) = (char *)(intptr_t)(n); } while (0)
usr.bin/tip/tip/tip.h
160
#define setboolean(v,n) do { (v) = (char *)(intptr_t)(n); } while (0)
usr.bin/tip/tip/tip.h
161
#define setcharacter(v,n) do { (v) = (char *)(intptr_t)(n); } while (0)
usr.bin/top/commands.c
378
int n;
usr.bin/top/commands.c
382
for (n = 1; n < sys_nsig; n++) {
usr.bin/top/commands.c
383
if (!strcasecmp(sys_signame[n], sig))
usr.bin/top/commands.c
384
return (n);
usr.bin/top/machine.c
1678
int n;
usr.bin/top/machine.c
1688
n = kvm_getswapinfo(kd, swapary, 1, 0);
usr.bin/top/machine.c
1689
if (n < 0 || swapary[0].ksw_total == 0)
usr.bin/top/machine.c
1707
n = (int)(swapary[0].ksw_used * 100.0 / swapary[0].ksw_total);
usr.bin/top/machine.c
1708
return (n);
usr.bin/tr/str.c
240
int n, cnt, *p;
usr.bin/tr/str.c
280
n = p - s->set;
usr.bin/tr/str.c
284
if (n > 1)
usr.bin/tr/str.c
285
mergesort(s->set, n, sizeof(*(s->set)), charcoll);
usr.bin/tr/tr.c
324
n = p - carray;
usr.bin/tr/tr.c
325
if (Cflag && n > 1)
usr.bin/tr/tr.c
326
(void)mergesort(carray, n, sizeof(*carray), charcoll);
usr.bin/tr/tr.c
330
for (cnt = 0; cnt < n; cnt++) {
usr.bin/tr/tr.c
64
int n, *p;
usr.bin/tsort/tsort.c
105
int c, n;
usr.bin/tsort/tsort.c
141
for (b = bufs, n = 2; --n >= 0; b++)
usr.bin/tsort/tsort.c
145
for (n = 0, c = getc(fp);;) {
usr.bin/tsort/tsort.c
152
b = &bufs[n];
usr.bin/tsort/tsort.c
163
if (n)
usr.bin/tsort/tsort.c
165
n = !n;
usr.bin/tsort/tsort.c
168
if (n)
usr.bin/tsort/tsort.c
230
NODE *n;
usr.bin/tsort/tsort.c
241
memcpy(&n, data.data, sizeof(n));
usr.bin/tsort/tsort.c
242
return (n);
usr.bin/tsort/tsort.c
250
if ((n = malloc(sizeof(NODE) + key.size)) == NULL)
usr.bin/tsort/tsort.c
253
n->n_narcs = 0;
usr.bin/tsort/tsort.c
254
n->n_arcsize = 0;
usr.bin/tsort/tsort.c
255
n->n_arcs = NULL;
usr.bin/tsort/tsort.c
256
n->n_refcnt = 0;
usr.bin/tsort/tsort.c
257
n->n_flags = 0;
usr.bin/tsort/tsort.c
258
memcpy(n->n_name, name, key.size);
usr.bin/tsort/tsort.c
261
if ((n->n_next = graph) != NULL)
usr.bin/tsort/tsort.c
262
graph->n_prevp = &n->n_next;
usr.bin/tsort/tsort.c
263
n->n_prevp = &graph;
usr.bin/tsort/tsort.c
264
graph = n;
usr.bin/tsort/tsort.c
267
data.data = &n;
usr.bin/tsort/tsort.c
268
data.size = sizeof(n);
usr.bin/tsort/tsort.c
271
return (n);
usr.bin/tsort/tsort.c
281
NODE *n;
usr.bin/tsort/tsort.c
283
for (n = graph; n != NULL; n = n->n_next)
usr.bin/tsort/tsort.c
284
n->n_flags &= ~NF_NODEST;
usr.bin/tsort/tsort.c
291
NODE *n, *next;
usr.bin/tsort/tsort.c
301
for (cnt = 0, n = graph; n != NULL; n = next) {
usr.bin/tsort/tsort.c
302
next = n->n_next;
usr.bin/tsort/tsort.c
303
if (n->n_refcnt == 0) {
usr.bin/tsort/tsort.c
304
remove_node(n);
usr.bin/tsort/tsort.c
319
for (cnt = 0, n = graph; n != NULL; n = n->n_next)
usr.bin/tsort/tsort.c
326
for (n = graph; n != NULL; n = n->n_next)
usr.bin/tsort/tsort.c
327
if (!(n->n_flags & NF_ACYCLIC)) {
usr.bin/tsort/tsort.c
328
if ((cnt = find_cycle(n, n, 0, 0))) {
usr.bin/tsort/tsort.c
335
remove_node(n);
usr.bin/tsort/tsort.c
340
n->n_flags |= NF_ACYCLIC;
usr.bin/tsort/tsort.c
345
if (n == NULL)
usr.bin/tsort/tsort.c
352
remove_node(NODE *n)
usr.bin/tsort/tsort.c
357
(void)printf("%s\n", n->n_name);
usr.bin/tsort/tsort.c
358
for (np = n->n_arcs, i = n->n_narcs; --i >= 0; np++)
usr.bin/tsort/tsort.c
360
n->n_narcs = 0;
usr.bin/tsort/tsort.c
361
*n->n_prevp = n->n_next;
usr.bin/tsort/tsort.c
362
if (n->n_next)
usr.bin/tsort/tsort.c
363
n->n_next->n_prevp = n->n_prevp;
usr.bin/uname/uname.c
239
size_t n;
usr.bin/uname/uname.c
243
n = NATIVE_LENGTH;
usr.bin/uname/uname.c
244
for (; n--; ++p)
usr.bin/uname/uname.c
246
if (n > 1)
usr.bin/unexpand/unexpand.c
106
int dcol, doneline, limit, n, ocol, width;
usr.bin/unexpand/unexpand.c
123
for (n = 0; n < nstops &&
usr.bin/unexpand/unexpand.c
124
tabstops[n] - 1 < dcol; n++)
usr.bin/unexpand/unexpand.c
126
if (n < nstops - 1 && tabstops[n] - 1 < limit) {
usr.bin/unexpand/unexpand.c
127
dcol = tabstops[n];
usr.bin/unexpand/unexpand.c
145
for (n = 0; n < nstops && tabstops[n] - 1 < ocol; n++)
usr.bin/unexpand/unexpand.c
147
while (ocol < dcol && n < nstops && ocol < limit) {
usr.bin/unexpand/unexpand.c
149
ocol = tabstops[n++];
usr.bin/uniq/uniq.c
253
size_t n;
usr.bin/uniq/uniq.c
256
if ((n = mbstowcs(NULL, str, 0)) == (size_t)-1)
usr.bin/uniq/uniq.c
258
if (SIZE_MAX / sizeof(*buf) < n + 1)
usr.bin/uniq/uniq.c
260
if ((buf = malloc((n + 1) * sizeof(*buf))) == NULL)
usr.bin/uniq/uniq.c
262
if (mbstowcs(buf, str, n + 1) != n)
usr.bin/uniq/uniq.c
265
if (n > 0 && buf[n - 1] == L'\n')
usr.bin/uniq/uniq.c
266
buf[n - 1] = L'\0';
usr.bin/usbhidaction/usbhidaction.c
183
n = read(fd, buf, sz);
usr.bin/usbhidaction/usbhidaction.c
185
printf("read %d bytes:", n);
usr.bin/usbhidaction/usbhidaction.c
186
for (i = 0; i < n; i++)
usr.bin/usbhidaction/usbhidaction.c
190
if (n < 0) {
usr.bin/usbhidaction/usbhidaction.c
197
if (n != sz) {
usr.bin/usbhidaction/usbhidaction.c
469
int n, r;
usr.bin/usbhidaction/usbhidaction.c
476
n = strtol(p, &p, 10) - 1;
usr.bin/usbhidaction/usbhidaction.c
477
if (n >= 0 && n < argc) {
usr.bin/usbhidaction/usbhidaction.c
478
strncpy(q, argv[n], len);
usr.bin/usbhidaction/usbhidaction.c
89
int fd, fp, ch, n, val, i;
usr.bin/vtfontcvt/vtfontcvt.c
294
int i, n = 0;
usr.bin/vtfontcvt/vtfontcvt.c
301
n = sizeof(s_list) / sizeof(s_list[0]);
usr.bin/vtfontcvt/vtfontcvt.c
305
n = sizeof(c_list) / sizeof(c_list[0]);
usr.bin/vtfontcvt/vtfontcvt.c
309
for (i = 0; i < n; i++) {
usr.bin/whois/whois.c
371
int n;
usr.bin/whois/whois.c
373
n = poll(fds, i, timeout);
usr.bin/whois/whois.c
374
if (n == 0) {
usr.bin/whois/whois.c
384
} else if (n < 0) {
usr.bin/write/write.c
316
done(int n __unused)
usr.sbin/acpi/acpidump/acpi.c
874
acpi_print_hest_notify(ACPI_HEST_NOTIFY *n)
usr.sbin/acpi/acpidump/acpi.c
877
printf("\t\tType=%d\n", n->Type);
usr.sbin/acpi/acpidump/acpi.c
878
printf("\t\tLength=%d\n", n->Length);
usr.sbin/acpi/acpidump/acpi.c
879
printf("\t\tConfigWriteEnable=%04x\n", n->ConfigWriteEnable);
usr.sbin/acpi/acpidump/acpi.c
880
printf("\t\tPollInterval=%d\n", n->PollInterval);
usr.sbin/acpi/acpidump/acpi.c
881
printf("\t\tVector=%d\n", n->Vector);
usr.sbin/acpi/acpidump/acpi.c
882
printf("\t\tPollingThresholdValue=%d\n", n->PollingThresholdValue);
usr.sbin/acpi/acpidump/acpi.c
883
printf("\t\tPollingThresholdWindow=%d\n", n->PollingThresholdWindow);
usr.sbin/acpi/acpidump/acpi.c
884
printf("\t\tErrorThresholdValue=%d\n", n->ErrorThresholdValue);
usr.sbin/acpi/acpidump/acpi.c
885
printf("\t\tErrorThresholdWindow=%d\n", n->ErrorThresholdWindow);
usr.sbin/apmd/apmd.c
256
int n;
usr.sbin/apmd/apmd.c
259
bit_ffs(tmp, EVENT_MAX, &n);
usr.sbin/apmd/apmd.c
260
if (n < 0)
usr.sbin/apmd/apmd.c
262
p = events[n].cmdlist;
usr.sbin/apmd/apmd.c
270
events[n].cmdlist = q;
usr.sbin/apmd/apmd.c
272
bit_clear(tmp, n);
usr.sbin/arp/arp.c
630
int n = sdl->sdl_nlen > 0 ? sdl->sdl_nlen + 1 : 0;
usr.sbin/arp/arp.c
632
xo_emit("{:mac-address/%s}", link_ntoa(sdl) + n);
usr.sbin/autofs/automount.c
143
mount_if_not_already(const struct node *n, const char *map, const char *options,
usr.sbin/autofs/automount.c
155
mountpoint = node_path(n);
usr.sbin/autofs/automount.c
186
struct node *n, *n2;
usr.sbin/autofs/automount.c
202
n = node_find(root, mntbuf[i].f_mntonname);
usr.sbin/autofs/automount.c
203
if (n != NULL) {
usr.sbin/autofs/automount.c
216
TAILQ_FOREACH(n, &root->n_children, n_next) {
usr.sbin/autofs/automount.c
217
if (!node_is_direct_map(n)) {
usr.sbin/autofs/automount.c
218
mount_if_not_already(n, n->n_map, n->n_options,
usr.sbin/autofs/automount.c
219
n->n_key, mntbuf, nitems);
usr.sbin/autofs/automount.c
223
TAILQ_FOREACH(n2, &n->n_children, n_next) {
usr.sbin/autofs/automount.c
224
mount_if_not_already(n2, n->n_map, n->n_options,
usr.sbin/autofs/common.c
163
struct node *n;
usr.sbin/autofs/common.c
165
n = calloc(1, sizeof(*n));
usr.sbin/autofs/common.c
166
if (n == NULL)
usr.sbin/autofs/common.c
169
n->n_key = checked_strdup("/");
usr.sbin/autofs/common.c
170
n->n_options = checked_strdup("");
usr.sbin/autofs/common.c
172
TAILQ_INIT(&n->n_children);
usr.sbin/autofs/common.c
174
return (n);
usr.sbin/autofs/common.c
181
struct node *n;
usr.sbin/autofs/common.c
183
n = calloc(1, sizeof(*n));
usr.sbin/autofs/common.c
184
if (n == NULL)
usr.sbin/autofs/common.c
187
TAILQ_INIT(&n->n_children);
usr.sbin/autofs/common.c
190
n->n_key = key;
usr.sbin/autofs/common.c
192
n->n_options = options;
usr.sbin/autofs/common.c
194
n->n_options = strdup("");
usr.sbin/autofs/common.c
195
n->n_location = location;
usr.sbin/autofs/common.c
197
n->n_config_file = config_file;
usr.sbin/autofs/common.c
199
n->n_config_line = config_line;
usr.sbin/autofs/common.c
202
n->n_parent = parent;
usr.sbin/autofs/common.c
203
TAILQ_INSERT_TAIL(&parent->n_children, n, n_next);
usr.sbin/autofs/common.c
205
return (n);
usr.sbin/autofs/common.c
212
struct node *n;
usr.sbin/autofs/common.c
214
n = calloc(1, sizeof(*n));
usr.sbin/autofs/common.c
215
if (n == NULL)
usr.sbin/autofs/common.c
218
TAILQ_INIT(&n->n_children);
usr.sbin/autofs/common.c
221
n->n_key = key;
usr.sbin/autofs/common.c
223
n->n_options = options;
usr.sbin/autofs/common.c
225
n->n_options = strdup("");
usr.sbin/autofs/common.c
226
n->n_map = map;
usr.sbin/autofs/common.c
228
n->n_config_file = config_file;
usr.sbin/autofs/common.c
230
n->n_config_line = config_line;
usr.sbin/autofs/common.c
233
n->n_parent = parent;
usr.sbin/autofs/common.c
234
TAILQ_INSERT_TAIL(&parent->n_children, n, n_next);
usr.sbin/autofs/common.c
236
return (n);
usr.sbin/autofs/common.c
243
struct node *n;
usr.sbin/autofs/common.c
248
n = node_new(parent, o->n_key, o->n_options, o->n_location,
usr.sbin/autofs/common.c
252
node_duplicate(child, n);
usr.sbin/autofs/common.c
254
return (n);
usr.sbin/autofs/common.c
258
node_delete(struct node *n)
usr.sbin/autofs/common.c
262
assert (n != NULL);
usr.sbin/autofs/common.c
264
TAILQ_FOREACH_SAFE(child, &n->n_children, n_next, tmp)
usr.sbin/autofs/common.c
267
if (n->n_parent != NULL)
usr.sbin/autofs/common.c
268
TAILQ_REMOVE(&n->n_parent->n_children, n, n_next);
usr.sbin/autofs/common.c
270
free(n);
usr.sbin/autofs/common.c
278
node_move_after(struct node *n, struct node *previous)
usr.sbin/autofs/common.c
281
TAILQ_REMOVE(&n->n_parent->n_children, n, n_next);
usr.sbin/autofs/common.c
282
n->n_parent = previous->n_parent;
usr.sbin/autofs/common.c
283
TAILQ_INSERT_AFTER(&previous->n_parent->n_children, previous, n, n_next);
usr.sbin/autofs/common.c
289
struct node *n, *n2, *tmp, *tmp2, *tmproot;
usr.sbin/autofs/common.c
292
TAILQ_FOREACH_SAFE(n, &root->n_children, n_next, tmp) {
usr.sbin/autofs/common.c
293
if (n->n_key[0] != '+')
usr.sbin/autofs/common.c
305
yyin = auto_popen(AUTO_INCLUDE_PATH, n->n_key + 1, NULL);
usr.sbin/autofs/common.c
310
parse_master_yyin(tmproot, n->n_key);
usr.sbin/autofs/common.c
312
parse_map_yyin(tmproot, n->n_key, NULL);
usr.sbin/autofs/common.c
318
n->n_key);
usr.sbin/autofs/common.c
327
node_move_after(n2, n);
usr.sbin/autofs/common.c
330
node_delete(n);
usr.sbin/autofs/common.c
398
node_expand_ampersand(struct node *n, const char *key)
usr.sbin/autofs/common.c
402
if (n->n_location != NULL) {
usr.sbin/autofs/common.c
404
if (n->n_parent != NULL &&
usr.sbin/autofs/common.c
405
strcmp(n->n_parent->n_key, "*") != 0) {
usr.sbin/autofs/common.c
406
n->n_location = expand_ampersand(n->n_location,
usr.sbin/autofs/common.c
407
n->n_parent->n_key);
usr.sbin/autofs/common.c
410
n->n_location = expand_ampersand(n->n_location, key);
usr.sbin/autofs/common.c
414
TAILQ_FOREACH(child, &n->n_children, n_next)
usr.sbin/autofs/common.c
422
node_expand_wildcard(struct node *n, const char *key)
usr.sbin/autofs/common.c
428
if (strcmp(n->n_key, "*") == 0) {
usr.sbin/autofs/common.c
429
expanded = node_duplicate(n, NULL);
usr.sbin/autofs/common.c
431
node_move_after(expanded, n);
usr.sbin/autofs/common.c
434
TAILQ_FOREACH(child, &n->n_children, n_next)
usr.sbin/autofs/common.c
439
node_expand_defined(struct node *n)
usr.sbin/autofs/common.c
444
if (n->n_location != NULL) {
usr.sbin/autofs/common.c
445
n->n_location = defined_expand(n->n_location);
usr.sbin/autofs/common.c
446
if (n->n_location == NULL) {
usr.sbin/autofs/common.c
448
node_path(n));
usr.sbin/autofs/common.c
453
TAILQ_FOREACH(child, &n->n_children, n_next) {
usr.sbin/autofs/common.c
463
node_is_direct_key(const struct node *n)
usr.sbin/autofs/common.c
466
if (n->n_parent != NULL && n->n_parent->n_parent == NULL &&
usr.sbin/autofs/common.c
467
strcmp(n->n_key, "/-") == 0) {
usr.sbin/autofs/common.c
475
node_is_direct_map(const struct node *n)
usr.sbin/autofs/common.c
479
assert(n->n_parent != NULL);
usr.sbin/autofs/common.c
480
if (n->n_parent->n_parent == NULL)
usr.sbin/autofs/common.c
482
n = n->n_parent;
usr.sbin/autofs/common.c
485
return (node_is_direct_key(n));
usr.sbin/autofs/common.c
489
node_has_wildcards(const struct node *n)
usr.sbin/autofs/common.c
493
TAILQ_FOREACH(child, &n->n_children, n_next) {
usr.sbin/autofs/common.c
502
node_expand_maps(struct node *n, bool indirect)
usr.sbin/autofs/common.c
506
TAILQ_FOREACH_SAFE(child, &n->n_children, n_next, tmp) {
usr.sbin/autofs/common.c
534
node_expand_direct_maps(struct node *n)
usr.sbin/autofs/common.c
537
node_expand_maps(n, false);
usr.sbin/autofs/common.c
541
node_expand_indirect_maps(struct node *n)
usr.sbin/autofs/common.c
544
node_expand_maps(n, true);
usr.sbin/autofs/common.c
548
node_path_x(const struct node *n, char *x)
usr.sbin/autofs/common.c
552
if (n->n_parent == NULL)
usr.sbin/autofs/common.c
559
if (node_is_direct_key(n) && x[0] != '\0')
usr.sbin/autofs/common.c
562
assert(n->n_key[0] != '\0');
usr.sbin/autofs/common.c
563
path = concat(n->n_key, '/', x);
usr.sbin/autofs/common.c
566
return (node_path_x(n->n_parent, path));
usr.sbin/autofs/common.c
574
node_path(const struct node *n)
usr.sbin/autofs/common.c
579
path = node_path_x(n, checked_strdup(""));
usr.sbin/autofs/common.c
592
node_options_x(const struct node *n, char *x)
usr.sbin/autofs/common.c
596
if (n == NULL)
usr.sbin/autofs/common.c
599
options = concat(x, ',', n->n_options);
usr.sbin/autofs/common.c
602
return (node_options_x(n->n_parent, options));
usr.sbin/autofs/common.c
611
node_options(const struct node *n)
usr.sbin/autofs/common.c
614
return (node_options_x(n, checked_strdup("")));
usr.sbin/autofs/common.c
618
node_print_indent(const struct node *n, const char *cmdline_options,
usr.sbin/autofs/common.c
624
path = node_path(n);
usr.sbin/autofs/common.c
625
tmp = node_options(n);
usr.sbin/autofs/common.c
636
first_child = TAILQ_FIRST(&n->n_children);
usr.sbin/autofs/common.c
639
assert(n->n_location == NULL || n->n_map == NULL);
usr.sbin/autofs/common.c
648
n->n_location != NULL ? n->n_location : n->n_map != NULL ? n->n_map : "",
usr.sbin/autofs/common.c
649
node_is_direct_map(n) ? "direct" : "indirect",
usr.sbin/autofs/common.c
651
n->n_config_file, n->n_config_line);
usr.sbin/autofs/common.c
657
TAILQ_FOREACH(child, &n->n_children, n_next)
usr.sbin/autofs/common.c
667
node_print(const struct node *n, const char *cmdline_options)
usr.sbin/autofs/common.c
671
TAILQ_FOREACH(child, &n->n_children, n_next)
usr.sbin/autofs/common.h
79
bool node_is_direct_map(const struct node *n);
usr.sbin/autofs/common.h
80
bool node_has_wildcards(const struct node *n);
usr.sbin/autofs/common.h
81
char *node_path(const struct node *n);
usr.sbin/autofs/common.h
82
char *node_options(const struct node *n);
usr.sbin/autofs/common.h
86
void node_expand_indirect_maps(struct node *n);
usr.sbin/autofs/common.h
87
void node_print(const struct node *n, const char *cmdline_options);
usr.sbin/bhyve/block_if.c
235
ssize_t n;
usr.sbin/bhyve/block_if.c
248
if ((n = preadv(bc->bc_fd, br->br_iov, br->br_iovcnt,
usr.sbin/bhyve/block_if.c
252
br->br_resid -= n;
usr.sbin/bhyve/block_if.c
259
n = pread(bc->bc_fd, buf, len, br->br_offset + off);
usr.sbin/bhyve/block_if.c
260
if (n < 0) {
usr.sbin/bhyve/block_if.c
264
len = (size_t)n;
usr.sbin/bhyve/block_if.c
289
if ((n = pwritev(bc->bc_fd, br->br_iov, br->br_iovcnt,
usr.sbin/bhyve/block_if.c
293
br->br_resid -= n;
usr.sbin/bhyve/block_if.c
316
n = pwrite(bc->bc_fd, buf, len, br->br_offset + off);
usr.sbin/bhyve/block_if.c
317
if (n < 0) {
usr.sbin/bhyve/block_if.c
321
off += n;
usr.sbin/bhyve/block_if.c
322
br->br_resid -= n;
usr.sbin/bhyve/gdb.c
2063
int n;
usr.sbin/bhyve/gdb.c
2065
if (ioctl(fd, FIONREAD, &n) == -1) {
usr.sbin/bhyve/gdb.c
2069
assert(n >= 0);
usr.sbin/bhyve/gdb.c
2070
pending = n;
usr.sbin/bhyve/hdac_reg.h
100
#define _HDAC_OSDBDPL(n, iss, oss) (0x18 + _HDAC_OSDOFFSET(n, iss, oss))
usr.sbin/bhyve/hdac_reg.h
101
#define _HDAC_OSDBDPU(n, iss, oss) (0x1c + _HDAC_OSDOFFSET(n, iss, oss))
usr.sbin/bhyve/hdac_reg.h
103
#define _HDAC_BSDOFFSET(n, iss, oss) \
usr.sbin/bhyve/hdac_reg.h
104
(0x80 + ((iss) * 0x20) + ((oss) * 0x20) + ((n) * 0x20))
usr.sbin/bhyve/hdac_reg.h
105
#define _HDAC_BSDCTL(n, iss, oss) (0x00 + _HDAC_BSDOFFSET(n, iss, oss))
usr.sbin/bhyve/hdac_reg.h
106
#define _HDAC_BSDSTS(n, iss, oss) (0x03 + _HDAC_BSDOFFSET(n, iss, oss))
usr.sbin/bhyve/hdac_reg.h
107
#define _HDAC_BSDPICB(n, iss, oss) (0x04 + _HDAC_BSDOFFSET(n, iss, oss))
usr.sbin/bhyve/hdac_reg.h
108
#define _HDAC_BSDCBL(n, iss, oss) (0x08 + _HDAC_BSDOFFSET(n, iss, oss))
usr.sbin/bhyve/hdac_reg.h
109
#define _HDAC_BSDLVI(n, iss, oss) (0x0c + _HDAC_BSDOFFSET(n, iss, oss))
usr.sbin/bhyve/hdac_reg.h
110
#define _HDAC_BSDFIFOD(n, iss, oss) (0x10 + _HDAC_BSDOFFSET(n, iss, oss))
usr.sbin/bhyve/hdac_reg.h
111
#define _HDAC_BSDFMT(n, iss, oss) (0x12 + _HDAC_BSDOFFSET(n, iss, oss))
usr.sbin/bhyve/hdac_reg.h
112
#define _HDAC_BSDBDPL(n, iss, oss) (0x18 + _HDAC_BSDOFFSET(n, iss, oss))
usr.sbin/bhyve/hdac_reg.h
113
#define _HDAC_BSDBDBU(n, iss, oss) (0x1c + _HDAC_BSDOFFSET(n, iss, oss))
usr.sbin/bhyve/hdac_reg.h
156
#define HDAC_STATESTS_SDIWAKE(statests, n) \
usr.sbin/bhyve/hdac_reg.h
158
HDAC_STATESTS_SDIWAKE_SHIFT) >> (n)) & 0x0001)
usr.sbin/bhyve/hdac_reg.h
81
#define _HDAC_ISDOFFSET(n, iss, oss) (0x80 + ((n) * 0x20))
usr.sbin/bhyve/hdac_reg.h
82
#define _HDAC_ISDCTL(n, iss, oss) (0x00 + _HDAC_ISDOFFSET(n, iss, oss))
usr.sbin/bhyve/hdac_reg.h
83
#define _HDAC_ISDSTS(n, iss, oss) (0x03 + _HDAC_ISDOFFSET(n, iss, oss))
usr.sbin/bhyve/hdac_reg.h
84
#define _HDAC_ISDPICB(n, iss, oss) (0x04 + _HDAC_ISDOFFSET(n, iss, oss))
usr.sbin/bhyve/hdac_reg.h
85
#define _HDAC_ISDCBL(n, iss, oss) (0x08 + _HDAC_ISDOFFSET(n, iss, oss))
usr.sbin/bhyve/hdac_reg.h
86
#define _HDAC_ISDLVI(n, iss, oss) (0x0c + _HDAC_ISDOFFSET(n, iss, oss))
usr.sbin/bhyve/hdac_reg.h
87
#define _HDAC_ISDFIFOD(n, iss, oss) (0x10 + _HDAC_ISDOFFSET(n, iss, oss))
usr.sbin/bhyve/hdac_reg.h
88
#define _HDAC_ISDFMT(n, iss, oss) (0x12 + _HDAC_ISDOFFSET(n, iss, oss))
usr.sbin/bhyve/hdac_reg.h
89
#define _HDAC_ISDBDPL(n, iss, oss) (0x18 + _HDAC_ISDOFFSET(n, iss, oss))
usr.sbin/bhyve/hdac_reg.h
90
#define _HDAC_ISDBDPU(n, iss, oss) (0x1c + _HDAC_ISDOFFSET(n, iss, oss))
usr.sbin/bhyve/hdac_reg.h
92
#define _HDAC_OSDOFFSET(n, iss, oss) (0x80 + ((iss) * 0x20) + ((n) * 0x20))
usr.sbin/bhyve/hdac_reg.h
93
#define _HDAC_OSDCTL(n, iss, oss) (0x00 + _HDAC_OSDOFFSET(n, iss, oss))
usr.sbin/bhyve/hdac_reg.h
94
#define _HDAC_OSDSTS(n, iss, oss) (0x03 + _HDAC_OSDOFFSET(n, iss, oss))
usr.sbin/bhyve/hdac_reg.h
95
#define _HDAC_OSDPICB(n, iss, oss) (0x04 + _HDAC_OSDOFFSET(n, iss, oss))
usr.sbin/bhyve/hdac_reg.h
96
#define _HDAC_OSDCBL(n, iss, oss) (0x08 + _HDAC_OSDOFFSET(n, iss, oss))
usr.sbin/bhyve/hdac_reg.h
97
#define _HDAC_OSDLVI(n, iss, oss) (0x0c + _HDAC_OSDOFFSET(n, iss, oss))
usr.sbin/bhyve/hdac_reg.h
98
#define _HDAC_OSDFIFOD(n, iss, oss) (0x10 + _HDAC_OSDOFFSET(n, iss, oss))
usr.sbin/bhyve/hdac_reg.h
99
#define _HDAC_OSDFMT(n, iss, oss) (0x12 + _HDAC_OSDOFFSET(n, iss, oss))
usr.sbin/bhyve/net_backend_slirp.c
214
ssize_t n;
usr.sbin/bhyve/net_backend_slirp.c
220
n = recv(priv->s, priv->buf, priv->mtu, MSG_PEEK | MSG_DONTWAIT);
usr.sbin/bhyve/net_backend_slirp.c
221
if (n < 0)
usr.sbin/bhyve/net_backend_slirp.c
223
return (n);
usr.sbin/bhyve/net_backend_slirp.c
231
ssize_t n;
usr.sbin/bhyve/net_backend_slirp.c
240
n = recvmsg(priv->s, &hdr, MSG_DONTWAIT);
usr.sbin/bhyve/net_backend_slirp.c
241
if (n < 0) {
usr.sbin/bhyve/net_backend_slirp.c
246
assert((size_t)n <= priv->mtu);
usr.sbin/bhyve/net_backend_slirp.c
247
return (n);
usr.sbin/bhyve/pci_e82545.c
838
int left, lim, maxpktsz, maxpktdesc, bufsz, i, n, size;
usr.sbin/bhyve/pci_e82545.c
869
for (lim = size / 4; lim > 0 && left >= maxpktdesc; lim -= n) {
usr.sbin/bhyve/pci_e82545.c
893
n = (len + bufsz - 1) / bufsz;
usr.sbin/bhyve/pci_e82545.c
896
len, n, head);
usr.sbin/bhyve/pci_e82545.c
908
n = 0;
usr.sbin/bhyve/pci_e82545.c
914
for (i = 0; i < n - 1; i++) {
usr.sbin/bhyve/pci_e82545.c
939
head = (head + n) % size;
usr.sbin/bhyve/pci_e82545.c
940
left -= n;
usr.sbin/bhyve/pci_hda.c
226
#define HDAC_ISTREAM(n, iss, oss) \
usr.sbin/bhyve/pci_hda.c
227
[_HDAC_ISDCTL(n, iss, oss)] = hda_set_sdctl, \
usr.sbin/bhyve/pci_hda.c
228
[_HDAC_ISDCTL(n, iss, oss) + 2] = hda_set_sdctl2, \
usr.sbin/bhyve/pci_hda.c
229
[_HDAC_ISDSTS(n, iss, oss)] = hda_set_sdsts, \
usr.sbin/bhyve/pci_hda.c
231
#define HDAC_OSTREAM(n, iss, oss) \
usr.sbin/bhyve/pci_hda.c
232
[_HDAC_OSDCTL(n, iss, oss)] = hda_set_sdctl, \
usr.sbin/bhyve/pci_hda.c
233
[_HDAC_OSDCTL(n, iss, oss) + 2] = hda_set_sdctl2, \
usr.sbin/bhyve/pci_hda.c
234
[_HDAC_OSDSTS(n, iss, oss)] = hda_set_sdsts, \
usr.sbin/bhyve/pci_virtio_9p.c
150
size_t n = preq->vsr_niov - preq->vsr_respidx;
usr.sbin/bhyve/pci_virtio_9p.c
153
n * sizeof(struct iovec));
usr.sbin/bhyve/pci_virtio_9p.c
154
*niov = n;
usr.sbin/bhyve/pci_virtio_9p.c
196
int n;
usr.sbin/bhyve/pci_virtio_9p.c
201
n = vq_getchain(vq, iov, VT9P_MAX_IOV, &req);
usr.sbin/bhyve/pci_virtio_9p.c
202
assert(n >= 1 && n <= VT9P_MAX_IOV);
usr.sbin/bhyve/pci_virtio_9p.c
207
preq->vsr_niov = n;
usr.sbin/bhyve/pci_virtio_9p.c
210
for (int i = 0; i < n; i++) {
usr.sbin/bhyve/pci_virtio_block.c
302
int i, n;
usr.sbin/bhyve/pci_virtio_block.c
310
n = vq_getchain(vq, iov, BLOCKIF_IOV_MAX + 2, &req);
usr.sbin/bhyve/pci_virtio_block.c
320
assert(n >= 2 && n <= BLOCKIF_IOV_MAX + 2);
usr.sbin/bhyve/pci_virtio_block.c
326
memcpy(&io->io_req.br_iov, &iov[1], sizeof(struct iovec) * (n - 2));
usr.sbin/bhyve/pci_virtio_block.c
327
io->io_req.br_iovcnt = n - 2;
usr.sbin/bhyve/pci_virtio_block.c
329
io->io_status = (uint8_t *)iov[--n].iov_base;
usr.sbin/bhyve/pci_virtio_block.c
331
assert(iov[n].iov_len == 1);
usr.sbin/bhyve/pci_virtio_block.c
347
assert(n == (writeop ? req.readable : req.writable));
usr.sbin/bhyve/pci_virtio_block.c
350
for (i = 1; i < n; i++) {
usr.sbin/bhyve/pci_virtio_console.c
416
int len, n;
usr.sbin/bhyve/pci_virtio_console.c
439
n = vq_getchain(vq, &iov, 1, &req);
usr.sbin/bhyve/pci_virtio_console.c
440
assert(n == 1);
usr.sbin/bhyve/pci_virtio_console.c
441
len = readv(sock->vss_conn_fd, &iov, n);
usr.sbin/bhyve/pci_virtio_console.c
573
int n;
usr.sbin/bhyve/pci_virtio_console.c
583
n = vq_getchain(vq, &iov, 1, &req);
usr.sbin/bhyve/pci_virtio_console.c
584
assert(n == 1);
usr.sbin/bhyve/pci_virtio_console.c
607
int n;
usr.sbin/bhyve/pci_virtio_console.c
613
n = vq_getchain(vq, iov, 1, &req);
usr.sbin/bhyve/pci_virtio_console.c
614
assert(n == 1);
usr.sbin/bhyve/pci_virtio_input.c
192
const int n = vq_getchain(vq, &iov, 1, &req);
usr.sbin/bhyve/pci_virtio_input.c
193
if (n <= 0) {
usr.sbin/bhyve/pci_virtio_input.c
194
WPRINTF(("%s: invalid descriptor: %d", __func__, n));
usr.sbin/bhyve/pci_virtio_input.c
527
const int n = vq_getchain(vq, &iov, 1, &req);
usr.sbin/bhyve/pci_virtio_input.c
528
if (n <= 0) {
usr.sbin/bhyve/pci_virtio_input.c
529
WPRINTF(("%s: invalid descriptor: %d", __func__, n));
usr.sbin/bhyve/pci_virtio_input.c
532
if (n != 1) {
usr.sbin/bhyve/pci_virtio_input.c
535
__func__, n));
usr.sbin/bhyve/pci_virtio_net.c
286
int n = vq_getchain(vq, riov, VTNET_MAXSEGS - riov_len,
usr.sbin/bhyve/pci_virtio_net.c
290
if (n == 0) {
usr.sbin/bhyve/pci_virtio_net.c
314
assert(n >= 1 && riov_len + n <= VTNET_MAXSEGS);
usr.sbin/bhyve/pci_virtio_net.c
315
riov_len += n;
usr.sbin/bhyve/pci_virtio_net.c
320
info[n_chains].len = (uint32_t)count_iov(riov, n);
usr.sbin/bhyve/pci_virtio_net.c
322
riov += n;
usr.sbin/bhyve/pci_virtio_net.c
436
int n;
usr.sbin/bhyve/pci_virtio_net.c
442
n = vq_getchain(vq, iov, VTNET_MAXSEGS, &req);
usr.sbin/bhyve/pci_virtio_net.c
443
assert(n >= 1 && n <= VTNET_MAXSEGS);
usr.sbin/bhyve/pci_virtio_net.c
451
siov = iov_trim_hdr(siov, &n, sc->vhdrlen);
usr.sbin/bhyve/pci_virtio_net.c
458
len = netbe_send(sc->vsc_be, siov, n);
usr.sbin/bhyve/pci_virtio_rnd.c
110
int len, n;
usr.sbin/bhyve/pci_virtio_rnd.c
120
n = vq_getchain(vq, &iov, 1, &req);
usr.sbin/bhyve/pci_virtio_rnd.c
121
assert(n == 1);
usr.sbin/bhyve/pci_virtio_scsi.c
1110
size_t n;
usr.sbin/bhyve/pci_virtio_scsi.c
1126
n = strcspn(opts, ",=");
usr.sbin/bhyve/pci_virtio_scsi.c
1129
if (opts[n] == ',' || opts[n] == '\0') {
usr.sbin/bhyve/pci_virtio_scsi.c
1130
char *tmp = strndup(opts, n);
usr.sbin/bhyve/pci_virtio_scsi.c
1138
opts += n;
usr.sbin/bhyve/pci_virtio_scsi.c
759
int n, numseg;
usr.sbin/bhyve/pci_virtio_scsi.c
770
n = vq_getchain(vq, req->vsr_iov, numseg, &vireq);
usr.sbin/bhyve/pci_virtio_scsi.c
771
assert(n >= 1 && n <= numseg);
usr.sbin/bhyve/pci_virtio_scsi.c
922
int n;
usr.sbin/bhyve/pci_virtio_scsi.c
925
n = vq_getchain(vq, iov, numseg, &req);
usr.sbin/bhyve/pci_virtio_scsi.c
926
assert(n >= 1 && n <= numseg);
usr.sbin/bhyve/pci_virtio_scsi.c
928
bufsize = iov_to_buf(iov, n, &buf);
usr.sbin/bhyve/pci_virtio_scsi.c
930
buf_to_iov((uint8_t *)buf, bufsize, iov, n);
usr.sbin/bhyve/pci_xhci.c
293
#define XHCI_PORTREG_PTR(x,n) &((x)->portregs[(n) - 1])
usr.sbin/bhyve/pci_xhci.c
294
#define XHCI_DEVINST_PTR(x,n) ((x)->devices[(n) - 1])
usr.sbin/bhyve/pci_xhci.c
295
#define XHCI_SLOTDEV_PTR(x,n) ((x)->slots[(n) - 1])
usr.sbin/bhyve/pci_xhci.h
169
#define XHCI_INCTX_0_DROP_MASK(n) (1U << (n))
usr.sbin/bhyve/pci_xhci.h
171
#define XHCI_INCTX_1_ADD_MASK(n) (1U << (n))
usr.sbin/bhyve/slirp/slirp-helper.c
103
ssize_t n;
usr.sbin/bhyve/slirp/slirp-helper.c
108
n = send(priv->sock, buf, len, MSG_EOR);
usr.sbin/bhyve/slirp/slirp-helper.c
109
if (n < 0) {
usr.sbin/bhyve/slirp/slirp-helper.c
111
return (n);
usr.sbin/bhyve/slirp/slirp-helper.c
113
assert((size_t)n == len);
usr.sbin/bhyve/slirp/slirp-helper.c
115
return (n);
usr.sbin/bhyve/slirp/slirp-helper.c
271
ssize_t n;
usr.sbin/bhyve/slirp/slirp-helper.c
276
n = read(priv->wakeup[0], &b, 1);
usr.sbin/bhyve/slirp/slirp-helper.c
277
} while (n == 1);
usr.sbin/bhyve/slirp/slirp-helper.c
278
if (n != -1 || errno != EAGAIN)
usr.sbin/bhyve/slirp/slirp-helper.c
289
ssize_t n;
usr.sbin/bhyve/slirp/slirp-helper.c
292
n = recv(priv->sock, priv->buf, priv->mtu,
usr.sbin/bhyve/slirp/slirp-helper.c
294
if (n < 0) {
usr.sbin/bhyve/slirp/slirp-helper.c
299
slirp_input_p(priv->slirp, priv->buf, (int)n);
usr.sbin/bhyve/slirp/slirp-helper.c
300
} while (n >= 0);
usr.sbin/bhyve/smbiostbl.c
1010
uint16_t n;
usr.sbin/bhyve/smbiostbl.c
1034
n = 0;
usr.sbin/bhyve/smbiostbl.c
1047
err = (*initializer)(entry, strings, curaddr, &endaddr, &n);
usr.sbin/bhyve/smbiostbl.c
1059
smbios_ep_finalizer(smbios_ep, curaddr - ststartaddr, n, maxssize);
usr.sbin/bhyve/smbiostbl.c
387
uint16_t *n);
usr.sbin/bhyve/smbiostbl.c
491
uint16_t *n);
usr.sbin/bhyve/smbiostbl.c
500
uint16_t *n);
usr.sbin/bhyve/smbiostbl.c
516
uint16_t *n);
usr.sbin/bhyve/smbiostbl.c
557
uint16_t *n);
usr.sbin/bhyve/smbiostbl.c
572
uint16_t *n);
usr.sbin/bhyve/smbiostbl.c
587
uint16_t *n);
usr.sbin/bhyve/smbiostbl.c
632
uint16_t *n)
usr.sbin/bhyve/smbiostbl.c
638
entry->handle = *n + 1;
usr.sbin/bhyve/smbiostbl.c
670
(*n)++;
usr.sbin/bhyve/smbiostbl.c
679
uint16_t *n)
usr.sbin/bhyve/smbiostbl.c
685
curaddr, endaddr, n);
usr.sbin/bhyve/smbiostbl.c
737
uint16_t *n)
usr.sbin/bhyve/smbiostbl.c
747
curaddr, endaddr, n);
usr.sbin/bhyve/smbiostbl.c
854
char **endaddr, uint16_t *n)
usr.sbin/bhyve/smbiostbl.c
863
endaddr, n);
usr.sbin/bhyve/smbiostbl.c
87
uint16_t *n);
usr.sbin/bhyve/smbiostbl.c
880
uint16_t *n)
usr.sbin/bhyve/smbiostbl.c
884
type16_handle = *n;
usr.sbin/bhyve/smbiostbl.c
886
curaddr, endaddr, n);
usr.sbin/bhyve/smbiostbl.c
897
uint16_t *n)
usr.sbin/bhyve/smbiostbl.c
903
curaddr, endaddr, n);
usr.sbin/bhyve/smbiostbl.c
941
uint16_t *n)
usr.sbin/bhyve/smbiostbl.c
946
curaddr, endaddr, n);
usr.sbin/bhyve/smbiostbl.c
955
curaddr, endaddr, n);
usr.sbin/bhyve/sockstream.c
41
ssize_t n;
usr.sbin/bhyve/sockstream.c
46
n = read(fd, p + len, nbytes - len);
usr.sbin/bhyve/sockstream.c
47
if (n == 0)
usr.sbin/bhyve/sockstream.c
50
if (n < 0) {
usr.sbin/bhyve/sockstream.c
53
return (n);
usr.sbin/bhyve/sockstream.c
55
len += n;
usr.sbin/bhyve/sockstream.c
65
ssize_t n;
usr.sbin/bhyve/sockstream.c
70
n = write(fd, p + len, nbytes - len);
usr.sbin/bhyve/sockstream.c
71
if (n == 0)
usr.sbin/bhyve/sockstream.c
73
if (n < 0) {
usr.sbin/bhyve/sockstream.c
76
return (n);
usr.sbin/bhyve/sockstream.c
78
len += n;
usr.sbin/bhyveload/bhyveload.c
146
int n;
usr.sbin/bhyveload/bhyveload.c
148
if (ioctl(consin_fd, FIONREAD, &n) >= 0)
usr.sbin/bhyveload/bhyveload.c
149
return (n > 0);
usr.sbin/bhyveload/bhyveload.c
327
ssize_t n;
usr.sbin/bhyveload/bhyveload.c
331
n = pread(disk_fd[unit], to, size, from);
usr.sbin/bhyveload/bhyveload.c
332
if (n < 0)
usr.sbin/bhyveload/bhyveload.c
334
*resid = size - n;
usr.sbin/bhyveload/bhyveload.c
342
ssize_t n;
usr.sbin/bhyveload/bhyveload.c
346
n = pwrite(disk_fd[unit], src, size, offset);
usr.sbin/bhyveload/bhyveload.c
347
if (n < 0)
usr.sbin/bhyveload/bhyveload.c
349
*resid = size - n;
usr.sbin/bluetooth/ath3kfw/main.c
250
int n;
usr.sbin/bluetooth/ath3kfw/main.c
267
while ((n = getopt(argc, argv, "Dd:f:hIm:p:v:")) != -1) {
usr.sbin/bluetooth/ath3kfw/main.c
268
switch (n) {
usr.sbin/bluetooth/bthidd/kbd.c
438
int32_t i, *b, *eob, n, buf[64];
usr.sbin/bluetooth/bthidd/kbd.c
446
n = kbd_xlate(i, make, b, eob);
usr.sbin/bluetooth/bthidd/kbd.c
447
if (n == -1) {
usr.sbin/bluetooth/bthidd/kbd.c
453
b += n;
usr.sbin/bluetooth/bthidd/kbd.c
470
#define PUT(c, n, b, eob) \
usr.sbin/bluetooth/bthidd/kbd.c
476
(n) ++; \
usr.sbin/bluetooth/bthidd/kbd.c
482
int32_t c, n;
usr.sbin/bluetooth/bthidd/kbd.c
484
n = 0;
usr.sbin/bluetooth/bthidd/kbd.c
498
PUT(0xe0, n, b, eob);
usr.sbin/bluetooth/bthidd/kbd.c
499
PUT(0x46, n, b, eob);
usr.sbin/bluetooth/bthidd/kbd.c
500
PUT(0xe0, n, b, eob);
usr.sbin/bluetooth/bthidd/kbd.c
501
PUT(0xc6, n, b, eob);
usr.sbin/bluetooth/bthidd/kbd.c
504
PUT(0xe1, n, b, eob);
usr.sbin/bluetooth/bthidd/kbd.c
505
PUT(0x1d, n, b, eob);
usr.sbin/bluetooth/bthidd/kbd.c
506
PUT(0x45, n, b, eob);
usr.sbin/bluetooth/bthidd/kbd.c
507
PUT(0xe1, n, b, eob);
usr.sbin/bluetooth/bthidd/kbd.c
508
PUT(0x9d, n, b, eob);
usr.sbin/bluetooth/bthidd/kbd.c
509
PUT(0xc5, n, b, eob);
usr.sbin/bluetooth/bthidd/kbd.c
513
return (n);
usr.sbin/bluetooth/bthidd/kbd.c
521
PUT(0xe0, n, b, eob);
usr.sbin/bluetooth/bthidd/kbd.c
523
PUT((c & CODEMASK), n, b, eob);
usr.sbin/bluetooth/bthidd/kbd.c
526
PUT(0xe0, n, b, eob);
usr.sbin/bluetooth/bthidd/kbd.c
528
PUT((0x80|(c & CODEMASK)), n, b, eob);
usr.sbin/bluetooth/bthidd/kbd.c
531
return (n);
usr.sbin/bluetooth/bthidd/server.c
181
int32_t n, fd;
usr.sbin/bluetooth/bthidd/server.c
192
n = select(srv->maxfd + 1, &rfdset, &wfdset, NULL, &tv);
usr.sbin/bluetooth/bthidd/server.c
193
if (n < 0) {
usr.sbin/bluetooth/bthidd/server.c
204
for (fd = 0; fd < srv->maxfd + 1 && n > 0; fd ++) {
usr.sbin/bluetooth/bthidd/server.c
206
n --;
usr.sbin/bluetooth/bthidd/server.c
213
n --;
usr.sbin/bluetooth/btpand/btpand.c
268
int n = strlen(p);
usr.sbin/bluetooth/btpand/btpand.c
288
"", p, n, "", p, n, "");
usr.sbin/bluetooth/btpand/btpand.c
290
for (n = 0; n < __arraycount(services); n++)
usr.sbin/bluetooth/btpand/btpand.c
291
fprintf(stderr, "\t%s\t%s\n", services[n].name, services[n].desc);
usr.sbin/bluetooth/btpand/channel.c
82
int n;
usr.sbin/bluetooth/btpand/channel.c
95
n = 1;
usr.sbin/bluetooth/btpand/channel.c
96
if (ioctl(fd, FIONBIO, &n) == -1) {
usr.sbin/bluetooth/btpand/client.c
105
len = sizeof(n);
usr.sbin/bluetooth/btpand/client.c
106
if (getsockopt(fd, SOL_SOCKET, SO_RCVBUF, &n, &len) == -1) {
usr.sbin/bluetooth/btpand/client.c
110
if (n < (mru * 10)) {
usr.sbin/bluetooth/btpand/client.c
111
n = mru * 10;
usr.sbin/bluetooth/btpand/client.c
112
if (setsockopt(fd, SOL_SOCKET, SO_RCVBUF, &n, sizeof(n)) == -1)
usr.sbin/bluetooth/btpand/client.c
113
log_info("Could not increase SO_RCVBUF (from %d)", n);
usr.sbin/bluetooth/btpand/client.c
126
len = sizeof(n);
usr.sbin/bluetooth/btpand/client.c
127
if (getsockopt(fd, SOL_SOCKET, SO_SNDBUF, &n, &len) == -1) {
usr.sbin/bluetooth/btpand/client.c
132
if (n < (mtu * 2)) {
usr.sbin/bluetooth/btpand/client.c
133
n = mtu * 2;
usr.sbin/bluetooth/btpand/client.c
134
if (setsockopt(fd, SOL_SOCKET, SO_SNDBUF, &n, sizeof(n)) == -1) {
usr.sbin/bluetooth/btpand/client.c
135
log_err("Could not set socket send buffer size (%d): %m", n);
usr.sbin/bluetooth/btpand/client.c
140
n = mtu;
usr.sbin/bluetooth/btpand/client.c
141
if (setsockopt(fd, SOL_SOCKET, SO_SNDLOWAT, &n, sizeof(n)) == -1) {
usr.sbin/bluetooth/btpand/client.c
142
log_err("Could not set socket low water mark (%d): %m", n);
usr.sbin/bluetooth/btpand/client.c
52
int fd, n;
usr.sbin/bluetooth/btpand/server.c
158
int fd, n;
usr.sbin/bluetooth/btpand/server.c
166
n = 1;
usr.sbin/bluetooth/btpand/server.c
167
if (ioctl(fd, FIONBIO, &n) == -1) {
usr.sbin/bluetooth/btpand/server.c
185
len = sizeof(n);
usr.sbin/bluetooth/btpand/server.c
186
if (getsockopt(fd, SOL_SOCKET, SO_RCVBUF, &n, &len) == -1) {
usr.sbin/bluetooth/btpand/server.c
191
if (n < (mru * 10)) {
usr.sbin/bluetooth/btpand/server.c
192
n = mru * 10;
usr.sbin/bluetooth/btpand/server.c
193
if (setsockopt(fd, SOL_SOCKET, SO_RCVBUF, &n, sizeof(n)) == -1)
usr.sbin/bluetooth/btpand/server.c
194
log_info("Could not increase SO_RCVBUF (from %d)", n);
usr.sbin/bluetooth/btpand/server.c
209
len = sizeof(n);
usr.sbin/bluetooth/btpand/server.c
210
if (getsockopt(fd, SOL_SOCKET, SO_SNDBUF, &n, &len) == -1) {
usr.sbin/bluetooth/btpand/server.c
216
if (n < (mtu * 2)) {
usr.sbin/bluetooth/btpand/server.c
217
n = mtu * 2;
usr.sbin/bluetooth/btpand/server.c
218
if (setsockopt(fd, SOL_SOCKET, SO_SNDBUF, &n, sizeof(n)) == -1) {
usr.sbin/bluetooth/btpand/server.c
219
log_err("Could not set socket send buffer size (%d): %m", n);
usr.sbin/bluetooth/btpand/server.c
225
n = mtu;
usr.sbin/bluetooth/btpand/server.c
226
if (setsockopt(fd, SOL_SOCKET, SO_SNDLOWAT, &n, sizeof(n)) == -1) {
usr.sbin/bluetooth/btpand/server.c
227
log_err("Could not set socket low water mark (%d): %m", n);
usr.sbin/bluetooth/hccontrol/adv_data.c
105
&advdata[n],
usr.sbin/bluetooth/hccontrol/adv_data.c
114
&advdata[n],
usr.sbin/bluetooth/hccontrol/adv_data.c
123
&advdata[n],
usr.sbin/bluetooth/hccontrol/adv_data.c
130
(int8_t)advdata[n]);
usr.sbin/bluetooth/hccontrol/adv_data.c
137
&advdata[n],
usr.sbin/bluetooth/hccontrol/adv_data.c
146
&advdata[n],
usr.sbin/bluetooth/hccontrol/adv_data.c
155
&advdata[n],
usr.sbin/bluetooth/hccontrol/adv_data.c
163
advdata[n]|advdata[n+1]<<8));
usr.sbin/bluetooth/hccontrol/adv_data.c
168
&advdata[n+2],
usr.sbin/bluetooth/hccontrol/adv_data.c
178
&advdata[n],
usr.sbin/bluetooth/hccontrol/adv_data.c
182
n += datalen;
usr.sbin/bluetooth/hccontrol/adv_data.c
50
int n=0;
usr.sbin/bluetooth/hccontrol/adv_data.c
52
for (n = 0; n < len+1; n++) {
usr.sbin/bluetooth/hccontrol/adv_data.c
53
fprintf(stdout, "%02x ", advdata[n]);
usr.sbin/bluetooth/hccontrol/adv_data.c
60
int n=0;
usr.sbin/bluetooth/hccontrol/adv_data.c
61
while(n < len)
usr.sbin/bluetooth/hccontrol/adv_data.c
64
uint8_t datalen = advdata[n];
usr.sbin/bluetooth/hccontrol/adv_data.c
65
uint8_t datatype = advdata[++n];
usr.sbin/bluetooth/hccontrol/adv_data.c
67
++n;
usr.sbin/bluetooth/hccontrol/adv_data.c
75
&advdata[n],
usr.sbin/bluetooth/hccontrol/adv_data.c
85
&advdata[n],
usr.sbin/bluetooth/hccontrol/adv_data.c
95
&advdata[n],
usr.sbin/bluetooth/hccontrol/hccontrol.c
65
int n;
usr.sbin/bluetooth/hccontrol/hccontrol.c
68
while ((n = getopt(argc, argv, "n:Nvh")) != -1) {
usr.sbin/bluetooth/hccontrol/hccontrol.c
69
switch (n) {
usr.sbin/bluetooth/hccontrol/hccontrol.c
94
n = do_hci_command(node, argc, argv);
usr.sbin/bluetooth/hccontrol/hccontrol.c
96
return (n);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1005
int n,
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1010
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1013
(char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1047
int n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1052
if (sscanf(argv[0], "%x", &n) != 1)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1055
cp.settings = (uint16_t) n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1064
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1068
(char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1085
int n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1087
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1090
(char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1111
int n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1116
if (sscanf(argv[0], "%d", &n) != 1 || n < 0 || n > 0xff)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1119
cp.counter = (uint8_t) n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1127
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1131
(char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1148
int n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1151
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1154
(char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
116
int n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
118
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1181
int n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1186
if (sscanf(argv[0], "%d", &n) != 1 || n < 0 || n > 4)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1189
cp.hold_mode_activity = (uint8_t) n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1197
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1201
(char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
121
(char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1218
int n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1220
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1223
(char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1244
int n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1249
if (sscanf(argv[0], "%d", &n) != 1 || n < 0 || n > 1)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1252
cp.flow_control = (uint8_t) n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1260
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1264
(char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1282
int n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1287
if (sscanf(argv[0], "%d", &n) != 1 || n <= 0 || n > 0x0eff)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1290
cp.con_handle = (uint16_t) (n & 0x0fff);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1299
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1303
(char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1327
int n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1332
if (sscanf(argv[0], "%d", &n) != 1 || n <= 0 || n > 0x0eff)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1335
cp.con_handle = (uint16_t) (n & 0x0fff);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1339
if (sscanf(argv[1], "%d", &n) != 1 || n < 0 || n > 0xffff)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1342
cp.timeout = (uint16_t) (n & 0x0fff);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1351
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1355
(char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1372
int n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1374
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1377
(char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1398
int n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1403
if (sscanf(argv[0], "%d", &n) != 1 || n < 0 || n > 2)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1406
cp.page_scan_period_mode = (n & 0xff);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1414
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1418
(char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
142
int n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1435
int n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1437
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1440
(char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1460
int n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1465
if (sscanf(argv[0], "%d", &n) != 1 || n < 0 || n > 3)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1468
cp.page_scan_mode = (n & 0xff);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
147
if (sscanf(argv[0], "%d", &n) != 1 || n < 0 || n > 1)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1476
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1480
(char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1496
int n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1497
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
150
cp.pin_type = (uint8_t) n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1500
(char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1521
int n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1527
if (sscanf(argv[1], "%d", &n) != 1 || (n != 0 && n != 1)){
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1528
printf("-ARGC2: %d\n", n);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1531
cp.simultaneous_le_host = (n &1);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1534
if (sscanf(argv[0], "%d", &n) != 1 || (n != 0 && n != 1)){
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1535
printf("+ARGC1: %d\n", n);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1539
cp.le_supported_host = (n &1);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1548
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1552
(char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
158
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
162
(char *) &rp , &n) == ERROR)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
192
int n, n1;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
225
n = sizeof(event);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
226
if (hci_recv(s, (char *) &event, &n) != OK)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
229
if (n <= sizeof(event.hdr)) {
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
269
for (n = 0; n < event.ep.key.num_keys; n++) {
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
271
n + 1, hci_bdaddr2str(&k->bdaddr));
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
301
int32_t n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
329
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
333
(char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
354
int32_t n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
377
n = sizeof(cp);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
381
(char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
401
int n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
414
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
418
(char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
435
int n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
437
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
440
(char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
459
int n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
461
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
464
(char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
486
int n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
491
if (sscanf(argv[0], "%d", &n) != 1 || n < 1 || n > 0xb540)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
494
cp.timeout = (uint16_t) n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
503
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
507
(char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
524
int n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
526
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
529
(char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
551
int n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
556
if (sscanf(argv[0], "%d", &n) != 1 || n < 1 || n > 0xffff)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
559
cp.timeout = (uint16_t) n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
568
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
572
(char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
589
int n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
591
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
594
(char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
615
int n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
620
if (sscanf(argv[0], "%d", &n) != 1 || n < 0 || n > 3)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
623
cp.scan_enable = (uint8_t) n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
630
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
634
(char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
651
int n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
653
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
656
(char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
682
int n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
688
if (sscanf(argv[0], "%d", &n) != 1 || n < 0x12 || n > 0x1000)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
691
cp.page_scan_interval = (uint16_t) n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
694
if (sscanf(argv[1], "%d", &n) != 1 || n < 0x12 || n > 0x1000)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
697
cp.page_scan_window = (uint16_t) n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
711
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
715
(char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
732
int n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
734
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
737
(char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
763
int n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
769
if (sscanf(argv[0], "%d", &n) != 1 || n < 0x12 || n > 0x1000)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
772
cp.inquiry_scan_interval = (uint16_t) n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
775
if (sscanf(argv[1], "%d", &n) != 1 || n < 0x12 || n > 0x1000)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
778
cp.inquiry_scan_window = (uint16_t) n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
793
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
797
(char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
814
int n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
816
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
819
(char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
840
int n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
845
if (sscanf(argv[0], "%d", &n) != 1 || n < 0 || n > 1)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
848
cp.auth_enable = (uint8_t) n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
856
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
860
(char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
877
int n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
879
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
882
(char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
903
int n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
908
if (sscanf(argv[0], "%d", &n) != 1 || n < 0 || n > 2)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
911
cp.encryption_mode = (uint8_t) n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
919
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
923
(char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
940
int n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
942
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
945
(char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
95
int n;
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
97
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
99
NG_HCI_OCF_RESET), (char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/info.c
111
int n;
usr.sbin/bluetooth/hccontrol/info.c
114
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/info.c
117
(char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/info.c
127
for (n = 0; n < sizeof(rp.features); n++)
usr.sbin/bluetooth/hccontrol/info.c
128
fprintf(stdout, "%#02x ", rp.features[n]);
usr.sbin/bluetooth/hccontrol/info.c
140
int n;
usr.sbin/bluetooth/hccontrol/info.c
142
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/info.c
145
(char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/info.c
171
int n;
usr.sbin/bluetooth/hccontrol/info.c
173
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/info.c
176
(char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/info.c
196
int n;
usr.sbin/bluetooth/hccontrol/info.c
198
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/info.c
200
NG_HCI_OCF_READ_BDADDR), (char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/info.c
45
int n;
usr.sbin/bluetooth/hccontrol/info.c
47
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/info.c
49
NG_HCI_OCF_READ_LOCAL_VER), (char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/info.c
79
int n;
usr.sbin/bluetooth/hccontrol/info.c
82
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/info.c
85
(char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/info.c
95
for (n = 0; n < sizeof(rp.features); n++) {
usr.sbin/bluetooth/hccontrol/info.c
96
if (n % 8 == 0)
usr.sbin/bluetooth/hccontrol/info.c
98
fprintf(stdout, "%#02x ", rp.features[n]);
usr.sbin/bluetooth/hccontrol/le.c
1033
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/le.c
1036
(void *)&cp, sizeof(cp), (void *)&rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/le.c
1112
int n;
usr.sbin/bluetooth/hccontrol/le.c
1119
if (sscanf(argv[0], "%d", &n) != 1 || n <= 0 || n > 0x0eff)
usr.sbin/bluetooth/hccontrol/le.c
1122
cp.connection_handle = (uint16_t) (n & 0x0fff);
usr.sbin/bluetooth/hccontrol/le.c
1130
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/le.c
1133
(void *)&cp, sizeof(cp), (void *)&rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/le.c
1157
int n, bufsize;
usr.sbin/bluetooth/hccontrol/le.c
1166
if (sscanf(argv[0], "%d", &n) != 1 || n <= 0 || n > 0x0eff)
usr.sbin/bluetooth/hccontrol/le.c
1169
cp.connection_handle = (uint16_t) (n & 0x0fff);
usr.sbin/bluetooth/hccontrol/le.c
1177
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/le.c
1180
(void *)&cp, sizeof(cp), (void *)&rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/le.c
122
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/le.c
1231
int n;
usr.sbin/bluetooth/hccontrol/le.c
1233
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/le.c
1237
(void *)&rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/le.c
126
(void *)&cp, sizeof(cp), (void *)&rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/le.c
143
int n, enable = 0;
usr.sbin/bluetooth/hccontrol/le.c
153
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/le.c
159
(void *)&rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/le.c
252
int n;
usr.sbin/bluetooth/hccontrol/le.c
261
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/le.c
265
(void *)&rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/le.c
281
int n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/le.c
293
(void *)&rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/le.c
318
int n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/le.c
323
(void *)&rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/le.c
342
int i, n;
usr.sbin/bluetooth/hccontrol/le.c
344
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/le.c
352
(void *)&semc, sizeof(semc), (void *)&rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/le.c
369
int i, n;
usr.sbin/bluetooth/hccontrol/le.c
371
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/le.c
379
(void *)&semc, sizeof(semc), (void *)&rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/le.c
426
int n, enable = 0;
usr.sbin/bluetooth/hccontrol/le.c
436
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/le.c
440
(void *)&cp, sizeof(cp), (void *)&rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/le.c
459
int n, ch;
usr.sbin/bluetooth/hccontrol/le.c
515
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/le.c
518
(void *)&cp, sizeof(cp), (void *)&rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/le.c
534
int n;
usr.sbin/bluetooth/hccontrol/le.c
536
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/le.c
540
(void *)&rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/le.c
560
int n, len;
usr.sbin/bluetooth/hccontrol/le.c
562
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/le.c
574
(void *)&cp, sizeof(cp), (void *)&rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/le.c
593
int n, ch;
usr.sbin/bluetooth/hccontrol/le.c
618
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/le.c
620
(void *)&rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/le.c
647
int n, bufsize, scancount, numscans;
usr.sbin/bluetooth/hccontrol/le.c
687
n = sizeof(scan_param_rp);
usr.sbin/bluetooth/hccontrol/le.c
692
(void *)&scan_param_rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/le.c
703
n = sizeof(scan_enable_rp);
usr.sbin/bluetooth/hccontrol/le.c
709
(void *)&scan_enable_rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/le.c
741
n = sizeof(scan_enable_rp);
usr.sbin/bluetooth/hccontrol/le.c
746
(void *)&scan_enable_rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/le.c
794
int n;
usr.sbin/bluetooth/hccontrol/le.c
796
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/le.c
800
(void *)&rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/le.c
819
int n;
usr.sbin/bluetooth/hccontrol/le.c
821
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/le.c
825
(void *)&rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/le.c
83
int n;
usr.sbin/bluetooth/hccontrol/le.c
844
int n;
usr.sbin/bluetooth/hccontrol/le.c
850
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/le.c
884
(void *)&cp, sizeof(cp), (void *)&rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/le.c
903
int n;
usr.sbin/bluetooth/hccontrol/le.c
909
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/le.c
943
(void *)&cp, sizeof(cp), (void *)&rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/le.c
965
int n, scancount, bufsize;
usr.sbin/bluetooth/hccontrol/link_control.c
149
hci_inquiry_response(int n, uint8_t **b)
usr.sbin/bluetooth/hccontrol/link_control.c
153
fprintf(stdout, "Inquiry result #%d\n", n);
usr.sbin/bluetooth/hccontrol/link_control.c
294
int n;
usr.sbin/bluetooth/hccontrol/link_control.c
307
if (sscanf(argv[1], "%d", &n) != 1 || n <= 0x00 || n > 0xff)
usr.sbin/bluetooth/hccontrol/link_control.c
310
cp.reason = (uint8_t) (n & 0xff);
usr.sbin/bluetooth/hccontrol/link_control.c
314
if (sscanf(argv[0], "%d", &n) != 1 || n <= 0 || n > 0x0eff)
usr.sbin/bluetooth/hccontrol/link_control.c
317
cp.con_handle = (uint16_t) (n & 0x0fff);
usr.sbin/bluetooth/hccontrol/link_control.c
326
n = sizeof(b);
usr.sbin/bluetooth/hccontrol/link_control.c
329
(char const *) &cp, sizeof(cp), b, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/link_control.c
337
n = sizeof(b);
usr.sbin/bluetooth/hccontrol/link_control.c
338
if (hci_recv(s, b, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/link_control.c
340
if (n < sizeof(*e)) {
usr.sbin/bluetooth/hccontrol/link_control.c
368
int n;
usr.sbin/bluetooth/hccontrol/link_control.c
381
if (sscanf(argv[1], "%x", &n) != 1)
usr.sbin/bluetooth/hccontrol/link_control.c
384
n &= (NG_HCI_PKT_HV1 | NG_HCI_PKT_HV2 | NG_HCI_PKT_HV3);
usr.sbin/bluetooth/hccontrol/link_control.c
385
if (n == 0)
usr.sbin/bluetooth/hccontrol/link_control.c
388
cp.pkt_type = (uint16_t) (n & 0x0fff);
usr.sbin/bluetooth/hccontrol/link_control.c
393
if (sscanf(argv[0], "%d", &n) != 1 || n <= 0 || n > 0x0eff)
usr.sbin/bluetooth/hccontrol/link_control.c
396
cp.con_handle = (uint16_t) (n & 0x0fff);
usr.sbin/bluetooth/hccontrol/link_control.c
40
static void hci_inquiry_response (int n, uint8_t **b);
usr.sbin/bluetooth/hccontrol/link_control.c
405
n = sizeof(b);
usr.sbin/bluetooth/hccontrol/link_control.c
408
(char const *) &cp, sizeof(cp), b, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/link_control.c
416
n = sizeof(b);
usr.sbin/bluetooth/hccontrol/link_control.c
417
if (hci_recv(s, b, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/link_control.c
419
if (n < sizeof(*e)) {
usr.sbin/bluetooth/hccontrol/link_control.c
449
int n;
usr.sbin/bluetooth/hccontrol/link_control.c
457
if (sscanf(argv[0], "%d", &n) != 1 || n <= 0 || n > 0x0eff)
usr.sbin/bluetooth/hccontrol/link_control.c
460
cp.con_handle = (uint16_t) (n & 0x0fff);
usr.sbin/bluetooth/hccontrol/link_control.c
464
if (sscanf(argv[1], "%x", &n) != 1)
usr.sbin/bluetooth/hccontrol/link_control.c
467
cp.pkt_type = (uint16_t) (n & 0xffff);
usr.sbin/bluetooth/hccontrol/link_control.c
476
n = sizeof(b);
usr.sbin/bluetooth/hccontrol/link_control.c
479
(char const *) &cp, sizeof(cp), b, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/link_control.c
487
n = sizeof(b);
usr.sbin/bluetooth/hccontrol/link_control.c
488
if (hci_recv(s, b, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/link_control.c
490
if (n < sizeof(*e)) {
usr.sbin/bluetooth/hccontrol/link_control.c
610
int n;
usr.sbin/bluetooth/hccontrol/link_control.c
620
if (sscanf(argv[0], "%d", &n) != 1 || n < 0 || n > 0x0eff)
usr.sbin/bluetooth/hccontrol/link_control.c
623
cp.con_handle = (n & 0x0fff);
usr.sbin/bluetooth/hccontrol/link_control.c
632
n = sizeof(b);
usr.sbin/bluetooth/hccontrol/link_control.c
635
(char const *) &cp, sizeof(cp), b, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/link_control.c
643
n = sizeof(b);
usr.sbin/bluetooth/hccontrol/link_control.c
644
if (hci_recv(s, b, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/link_control.c
647
if (n < sizeof(*e)) {
usr.sbin/bluetooth/hccontrol/link_control.c
665
for (n = 0; n < sizeof(ep->features); n++)
usr.sbin/bluetooth/hccontrol/link_control.c
666
fprintf(stdout, "%#02x ", ep->features[n]);
usr.sbin/bluetooth/hccontrol/link_control.c
679
int n;
usr.sbin/bluetooth/hccontrol/link_control.c
688
if (sscanf(argv[0], "%d", &n) != 1 || n < 0 || n > 0x0eff)
usr.sbin/bluetooth/hccontrol/link_control.c
691
cp.con_handle = (n & 0x0fff);
usr.sbin/bluetooth/hccontrol/link_control.c
700
n = sizeof(b);
usr.sbin/bluetooth/hccontrol/link_control.c
703
(char const *) &cp, sizeof(cp), b, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/link_control.c
711
n = sizeof(b);
usr.sbin/bluetooth/hccontrol/link_control.c
712
if (hci_recv(s, b, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/link_control.c
715
if (n < sizeof(*e)) {
usr.sbin/bluetooth/hccontrol/link_control.c
751
int n;
usr.sbin/bluetooth/hccontrol/link_control.c
760
if (sscanf(argv[0], "%d", &n) != 1 || n < 0 || n > 0x0eff)
usr.sbin/bluetooth/hccontrol/link_control.c
763
cp.con_handle = (n & 0x0fff);
usr.sbin/bluetooth/hccontrol/link_control.c
772
n = sizeof(b);
usr.sbin/bluetooth/hccontrol/link_control.c
775
(char const *) &cp, sizeof(cp), b, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/link_control.c
783
n = sizeof(b);
usr.sbin/bluetooth/hccontrol/link_control.c
784
if (hci_recv(s, b, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/link_control.c
787
if (n < sizeof(*e)) {
usr.sbin/bluetooth/hccontrol/link_policy.c
162
int n;
usr.sbin/bluetooth/hccontrol/link_policy.c
168
if (sscanf(argv[0], "%d", &n) != 1 || n <= 0 || n > 0x0eff)
usr.sbin/bluetooth/hccontrol/link_policy.c
171
cp.con_handle = (uint16_t) (n & 0x0fff);
usr.sbin/bluetooth/hccontrol/link_policy.c
180
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/link_policy.c
184
(char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/link_policy.c
205
int n;
usr.sbin/bluetooth/hccontrol/link_policy.c
211
if (sscanf(argv[0], "%d", &n) != 1 || n <= 0 || n > 0x0eff)
usr.sbin/bluetooth/hccontrol/link_policy.c
214
cp.con_handle = (uint16_t) (n & 0x0fff);
usr.sbin/bluetooth/hccontrol/link_policy.c
218
if (sscanf(argv[1], "%x", &n) != 1)
usr.sbin/bluetooth/hccontrol/link_policy.c
221
cp.settings = (uint16_t) (n & 0x0ffff);
usr.sbin/bluetooth/hccontrol/link_policy.c
230
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/link_policy.c
234
(char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/link_policy.c
46
int n;
usr.sbin/bluetooth/hccontrol/link_policy.c
52
if (sscanf(argv[0], "%d", &n) != 1 || n <= 0 || n > 0x0eff)
usr.sbin/bluetooth/hccontrol/link_policy.c
55
cp.con_handle = (uint16_t) (n & 0x0fff);
usr.sbin/bluetooth/hccontrol/link_policy.c
64
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/link_policy.c
68
(char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/node.c
156
int n;
usr.sbin/bluetooth/hccontrol/node.c
164
for (n = 0; n < nitems(r.features); n++)
usr.sbin/bluetooth/hccontrol/node.c
165
fprintf(stdout, "%#02x ", r.features[n]);
usr.sbin/bluetooth/hccontrol/node.c
219
int n, error = OK;
usr.sbin/bluetooth/hccontrol/node.c
245
for (n = 0; n < r.num_entries; n++) {
usr.sbin/bluetooth/hccontrol/node.c
246
uint8_t addrtype = r.entries[n].addrtype;
usr.sbin/bluetooth/hccontrol/node.c
256
hci_bdaddr2str(&r.entries[n].bdaddr),
usr.sbin/bluetooth/hccontrol/node.c
257
r.entries[n].features[0], r.entries[n].features[1],
usr.sbin/bluetooth/hccontrol/node.c
258
r.entries[n].features[2], r.entries[n].features[3],
usr.sbin/bluetooth/hccontrol/node.c
259
r.entries[n].features[4], r.entries[n].features[5],
usr.sbin/bluetooth/hccontrol/node.c
260
r.entries[n].features[6], r.entries[n].features[7],
usr.sbin/bluetooth/hccontrol/node.c
261
r.entries[n].clock_offset, r.entries[n].page_scan_mode,
usr.sbin/bluetooth/hccontrol/node.c
262
r.entries[n].page_scan_rep_mode);
usr.sbin/bluetooth/hccontrol/node.c
263
print_adv_data(r.entries[n].extinq_size,
usr.sbin/bluetooth/hccontrol/node.c
264
r.entries[n].extinq_data);
usr.sbin/bluetooth/hccontrol/node.c
278
int n, error = OK;
usr.sbin/bluetooth/hccontrol/node.c
304
for (n = 0; n < r.num_connections; n++) {
usr.sbin/bluetooth/hccontrol/node.c
315
hci_bdaddr2str(&r.connections[n].bdaddr),
usr.sbin/bluetooth/hccontrol/node.c
316
r.connections[n].con_handle,
usr.sbin/bluetooth/hccontrol/node.c
317
(r.connections[n].link_type == NG_HCI_LINK_ACL)?
usr.sbin/bluetooth/hccontrol/node.c
319
r.connections[n].mode,
usr.sbin/bluetooth/hccontrol/node.c
320
(r.connections[n].role == NG_HCI_ROLE_MASTER)?
usr.sbin/bluetooth/hccontrol/node.c
322
hci_encrypt2str(r.connections[n].encryption_mode, 1),
usr.sbin/bluetooth/hccontrol/node.c
323
r.connections[n].pending,
usr.sbin/bluetooth/hccontrol/node.c
324
r.connections[n].queue_len,
usr.sbin/bluetooth/hccontrol/node.c
325
hci_con_state2str(r.connections[n].state));
usr.sbin/bluetooth/hccontrol/send_recv.c
151
int n;
usr.sbin/bluetooth/hccontrol/send_recv.c
164
n = select(s + 1, &rfd, NULL, NULL, &tv);
usr.sbin/bluetooth/hccontrol/send_recv.c
165
if (n <= 0) {
usr.sbin/bluetooth/hccontrol/send_recv.c
166
if (n < 0) {
usr.sbin/bluetooth/hccontrol/send_recv.c
177
n = recv(s, buffer, *size, 0);
usr.sbin/bluetooth/hccontrol/send_recv.c
178
if (n < 0)
usr.sbin/bluetooth/hccontrol/send_recv.c
181
*size = n;
usr.sbin/bluetooth/hccontrol/send_recv.c
49
int n;
usr.sbin/bluetooth/hccontrol/send_recv.c
73
n = sizeof(buffer);
usr.sbin/bluetooth/hccontrol/send_recv.c
74
if (hci_recv(s, buffer, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/send_recv.c
77
if (n < sizeof(*e)) {
usr.sbin/bluetooth/hccontrol/send_recv.c
97
n -= (sizeof(*e) + sizeof(*cc));
usr.sbin/bluetooth/hccontrol/send_recv.c
98
if (n < *rp_size)
usr.sbin/bluetooth/hccontrol/send_recv.c
99
*rp_size = n;
usr.sbin/bluetooth/hccontrol/status.c
105
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/status.c
109
(char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/status.c
127
int n;
usr.sbin/bluetooth/hccontrol/status.c
132
if (sscanf(argv[0], "%d", &n) != 1 || n <= 0 || n > 0x0eff)
usr.sbin/bluetooth/hccontrol/status.c
135
cp.con_handle = (uint16_t) (n & 0x0fff);
usr.sbin/bluetooth/hccontrol/status.c
144
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/status.c
148
(char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/status.c
169
int n;
usr.sbin/bluetooth/hccontrol/status.c
174
if (sscanf(argv[0], "%d", &n) != 1 || n <= 0 || n > 0x0eff)
usr.sbin/bluetooth/hccontrol/status.c
177
cp.con_handle = (uint16_t) (n & 0x0fff);
usr.sbin/bluetooth/hccontrol/status.c
186
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/status.c
190
(char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/status.c
46
int n;
usr.sbin/bluetooth/hccontrol/status.c
51
if (sscanf(argv[0], "%d", &n) != 1 || n <= 0 || n > 0x0eff)
usr.sbin/bluetooth/hccontrol/status.c
54
cp.con_handle = (uint16_t) (n & 0x0fff);
usr.sbin/bluetooth/hccontrol/status.c
63
n = sizeof(rp);
usr.sbin/bluetooth/hccontrol/status.c
67
(char *) &rp, &n) == ERROR)
usr.sbin/bluetooth/hccontrol/status.c
88
int n;
usr.sbin/bluetooth/hccontrol/status.c
93
if (sscanf(argv[0], "%d", &n) != 1 || n <= 0 || n > 0x0eff)
usr.sbin/bluetooth/hccontrol/status.c
96
cp.con_handle = (uint16_t) (n & 0x0fff);
usr.sbin/bluetooth/hccontrol/util.c
133
int n;
usr.sbin/bluetooth/hccontrol/util.c
137
for (n = 0; n < SIZE(t); n++) {
usr.sbin/bluetooth/hccontrol/util.c
142
if (mode & (1 << n))
usr.sbin/bluetooth/hccontrol/util.c
143
strncat(buffer, t[n], size - len);
usr.sbin/bluetooth/hccontrol/util.c
2897
int n, i, len0, len1;
usr.sbin/bluetooth/hccontrol/util.c
2903
for (n = 0; n < SIZE(t); n++) {
usr.sbin/bluetooth/hccontrol/util.c
2904
for (i = 0; i < SIZE(t[n]); i++) {
usr.sbin/bluetooth/hccontrol/util.c
2909
if (commands[n] & (1 << i)) {
usr.sbin/bluetooth/hccontrol/util.c
2910
if (len1 + strlen(t[n][i]) > 60) {
usr.sbin/bluetooth/hccontrol/util.c
2915
len1 += strlen(t[n][i]);
usr.sbin/bluetooth/hccontrol/util.c
2916
strncat(buffer, t[n][i], size - len0);
usr.sbin/bluetooth/hccontrol/util.c
3012
int n, i, len0, len1;
usr.sbin/bluetooth/hccontrol/util.c
3018
for (n = 0; n < SIZE(t); n++) {
usr.sbin/bluetooth/hccontrol/util.c
3019
for (i = 0; i < SIZE(t[n]); i++) {
usr.sbin/bluetooth/hccontrol/util.c
3024
if (features[n] & (1 << i)) {
usr.sbin/bluetooth/hccontrol/util.c
3025
if (len1 + strlen(t[n][i]) > 60) {
usr.sbin/bluetooth/hccontrol/util.c
3030
len1 += strlen(t[n][i]);
usr.sbin/bluetooth/hccontrol/util.c
3031
strncat(buffer, t[n][i], size - len0);
usr.sbin/bluetooth/hccontrol/util.c
3126
int n, i, len0, len1;
usr.sbin/bluetooth/hccontrol/util.c
3132
for (n = 0; n < SIZE(t); n++) {
usr.sbin/bluetooth/hccontrol/util.c
3133
for (i = 0; i < SIZE(t[n]); i++) {
usr.sbin/bluetooth/hccontrol/util.c
3138
if (features[n] & (1 << i)) {
usr.sbin/bluetooth/hccontrol/util.c
3139
if (len1 + strlen(t[n][i]) > 60) {
usr.sbin/bluetooth/hccontrol/util.c
3144
len1 += strlen(t[n][i]);
usr.sbin/bluetooth/hccontrol/util.c
3145
strncat(buffer, t[n][i], size - len0);
usr.sbin/bluetooth/hccontrol/util.c
3330
int n, i, len0, len1;
usr.sbin/bluetooth/hccontrol/util.c
3336
for (n = 0; n < 5; n++) {
usr.sbin/bluetooth/hccontrol/util.c
3337
fprintf(stdout, "%02x ", map[n]);
usr.sbin/bluetooth/hccontrol/util.c
3343
if (map[n] & (1 << i)) {
usr.sbin/bluetooth/hccontrol/util.c
3354
(n * 8 + i));
usr.sbin/bluetooth/hcsecd/hcsecd.c
157
n = recvfrom(sock, buffer, sizeof(buffer), 0,
usr.sbin/bluetooth/hcsecd/hcsecd.c
159
if (n < 0) {
usr.sbin/bluetooth/hcsecd/hcsecd.c
70
int n, detach, sock;
usr.sbin/bluetooth/hcsecd/hcsecd.c
80
while ((n = getopt(argc, argv, "df:h")) != -1) {
usr.sbin/bluetooth/hcsecd/hcsecd.c
81
switch (n) {
usr.sbin/bluetooth/iwmbtfw/main.c
711
int n;
usr.sbin/bluetooth/iwmbtfw/main.c
717
while ((n = getopt(argc, argv, "Dd:f:hI")) != -1) {
usr.sbin/bluetooth/iwmbtfw/main.c
718
switch (n) {
usr.sbin/bluetooth/l2control/l2cap.c
141
int n, error = OK;
usr.sbin/bluetooth/l2control/l2cap.c
160
for (n = 0; n < r.num_connections; n++) {
usr.sbin/bluetooth/l2control/l2cap.c
167
bdaddrpr(&r.connections[n].remote),
usr.sbin/bluetooth/l2control/l2cap.c
168
r.connections[n].con_handle,
usr.sbin/bluetooth/l2control/l2cap.c
169
((r.connections[n].flags & NG_L2CAP_CON_OUTGOING)? 'O' : 'I'),
usr.sbin/bluetooth/l2control/l2cap.c
170
((r.connections[n].flags & NG_L2CAP_CON_LP_TIMO)? 'L' : ' '),
usr.sbin/bluetooth/l2control/l2cap.c
171
((r.connections[n].flags & NG_L2CAP_CON_AUTO_DISCON_TIMO)? 'D' : ' '),
usr.sbin/bluetooth/l2control/l2cap.c
172
((r.connections[n].flags & NG_L2CAP_CON_TX)? 'T' : ' '),
usr.sbin/bluetooth/l2control/l2cap.c
173
((r.connections[n].flags & NG_L2CAP_CON_RX)? 'R' : ' '),
usr.sbin/bluetooth/l2control/l2cap.c
174
r.connections[n].pending,
usr.sbin/bluetooth/l2control/l2cap.c
175
con_state2str(r.connections[n].state));
usr.sbin/bluetooth/l2control/l2cap.c
199
int n, error = OK;
usr.sbin/bluetooth/l2control/l2cap.c
218
for (n = 0; n < r.num_channels; n++) {
usr.sbin/bluetooth/l2control/l2cap.c
224
bdaddrpr(&r.channels[n].remote),
usr.sbin/bluetooth/l2control/l2cap.c
225
r.channels[n].scid, r.channels[n].dcid,
usr.sbin/bluetooth/l2control/l2cap.c
226
r.channels[n].psm, r.channels[n].imtu,
usr.sbin/bluetooth/l2control/l2cap.c
227
r.channels[n].omtu,
usr.sbin/bluetooth/l2control/l2cap.c
228
ch_state2str(r.channels[n].state));
usr.sbin/bluetooth/l2control/l2control.c
58
int n;
usr.sbin/bluetooth/l2control/l2control.c
64
while ((n = getopt(argc, argv, "a:nh")) != -1) {
usr.sbin/bluetooth/l2control/l2control.c
65
switch (n) {
usr.sbin/bluetooth/l2ping/l2ping.c
184
for (n = 0; n < echo_size; ) {
usr.sbin/bluetooth/l2ping/l2ping.c
185
int32_t avail = min(echo_size - n, PATTERN_SIZE);
usr.sbin/bluetooth/l2ping/l2ping.c
187
memcpy(echo_data + n, pattern, avail);
usr.sbin/bluetooth/l2ping/l2ping.c
188
n += avail;
usr.sbin/bluetooth/l2ping/l2ping.c
192
for (n = 0; count == -1 || count > 0; n ++) {
usr.sbin/bluetooth/l2ping/l2ping.c
201
*((int32_t *) echo_data) = htonl(n);
usr.sbin/bluetooth/l2ping/l2ping.c
69
int32_t n, s, count, wait, flood, echo_size, numeric;
usr.sbin/bluetooth/l2ping/l2ping.c
94
while ((n = getopt(argc, argv, "a:c:fi:nS:s:h")) != -1) {
usr.sbin/bluetooth/l2ping/l2ping.c
95
switch (n) {
usr.sbin/bluetooth/rtlbtfw/main.c
315
int n;
usr.sbin/bluetooth/rtlbtfw/main.c
328
while ((n = getopt(argc, argv, "Dd:f:hIm:p:v:")) != -1) {
usr.sbin/bluetooth/rtlbtfw/main.c
329
switch (n) {
usr.sbin/bluetooth/sdpcontrol/sdpcontrol.c
58
int n, local;
usr.sbin/bluetooth/sdpcontrol/sdpcontrol.c
65
while ((n = getopt(argc, argv, "a:c:lh")) != -1) {
usr.sbin/bluetooth/sdpcontrol/sdpcontrol.c
66
switch (n) {
usr.sbin/bluetooth/sdpcontrol/search.c
533
int32_t n, type, value;
usr.sbin/bluetooth/sdpcontrol/search.c
539
n = strtoul(argv[0], &ep, 16);
usr.sbin/bluetooth/sdpcontrol/search.c
619
service = (uint16_t) n;
usr.sbin/bluetooth/sdpcontrol/search.c
627
for (n = 0; n < values_len; n ++) {
usr.sbin/bluetooth/sdpcontrol/search.c
628
values[n].flags = SDP_ATTR_INVALID;
usr.sbin/bluetooth/sdpcontrol/search.c
629
values[n].attr = 0;
usr.sbin/bluetooth/sdpcontrol/search.c
630
values[n].vlen = BSIZE;
usr.sbin/bluetooth/sdpcontrol/search.c
631
values[n].value = buffer[n];
usr.sbin/bluetooth/sdpcontrol/search.c
635
n = sdp_search(xs, 1, &service, attrs_len, attrs, values_len, values);
usr.sbin/bluetooth/sdpcontrol/search.c
636
if (n != 0)
usr.sbin/bluetooth/sdpcontrol/search.c
640
for (n = 0; n < values_len; n ++) {
usr.sbin/bluetooth/sdpcontrol/search.c
641
if (values[n].flags != SDP_ATTR_OK)
usr.sbin/bluetooth/sdpcontrol/search.c
644
switch (values[n].attr) {
usr.sbin/bluetooth/sdpcontrol/search.c
647
if (values[n].vlen == 5) {
usr.sbin/bluetooth/sdpcontrol/search.c
648
SDP_GET8(type, values[n].value);
usr.sbin/bluetooth/sdpcontrol/search.c
650
SDP_GET32(value, values[n].value);
usr.sbin/bluetooth/sdpcontrol/search.c
660
values[n].vlen);
usr.sbin/bluetooth/sdpcontrol/search.c
665
print_service_class_id_list(values[n].value,
usr.sbin/bluetooth/sdpcontrol/search.c
666
values[n].value + values[n].vlen);
usr.sbin/bluetooth/sdpcontrol/search.c
671
print_protocol_descriptor_list(values[n].value,
usr.sbin/bluetooth/sdpcontrol/search.c
672
values[n].value + values[n].vlen);
usr.sbin/bluetooth/sdpcontrol/search.c
677
print_bluetooth_profile_descriptor_list(values[n].value,
usr.sbin/bluetooth/sdpcontrol/search.c
678
values[n].value + values[n].vlen);
usr.sbin/bluetooth/sdpcontrol/search.c
683
values[n].attr);
usr.sbin/bluetooth/sdpd/server.c
252
int32_t n, fd;
usr.sbin/bluetooth/sdpd/server.c
258
n = select(srv->maxfd + 1, &fdset, NULL, NULL, NULL);
usr.sbin/bluetooth/sdpd/server.c
259
if (n < 0) {
usr.sbin/bluetooth/sdpd/server.c
270
for (fd = 0; fd < srv->maxfd + 1 && n > 0; fd ++) {
usr.sbin/bluetooth/sdpd/server.c
275
n --;
usr.sbin/boot0cfg/boot0cfg.c
319
ssize_t n;
usr.sbin/boot0cfg/boot0cfg.c
323
if ((n = read(fd, buf, MBRSIZE)) == -1)
usr.sbin/boot0cfg/boot0cfg.c
325
if (n != MBRSIZE)
usr.sbin/boot0cfg/boot0cfg.c
338
(n = read(fd, *mbr, mbr_size)) == -1)
usr.sbin/boot0cfg/boot0cfg.c
340
if (n != mbr_size)
usr.sbin/boot0cfg/boot0cfg.c
386
ssize_t n;
usr.sbin/boot0cfg/boot0cfg.c
391
n = write(fd, mbr, mbr_size);
usr.sbin/boot0cfg/boot0cfg.c
393
if (n != mbr_size)
usr.sbin/boot0cfg/boot0cfg.c
424
n = write(fd, mbr, mbr_size);
usr.sbin/boot0cfg/boot0cfg.c
426
if (n != mbr_size)
usr.sbin/bsdinstall/partedit/part_wizard.c
133
int i, button, fd, selected, n = 0;
usr.sbin/bsdinstall/partedit/part_wizard.c
174
disks = realloc(disks, (++n)*sizeof(disks[0]));
usr.sbin/bsdinstall/partedit/part_wizard.c
175
disks[n-1].name = pp->lg_name;
usr.sbin/bsdinstall/partedit/part_wizard.c
189
disks[n-1].prefix = "";
usr.sbin/bsdinstall/partedit/part_wizard.c
190
disks[n-1].on = false;
usr.sbin/bsdinstall/partedit/part_wizard.c
191
disks[n-1].depth = 0;
usr.sbin/bsdinstall/partedit/part_wizard.c
192
disks[n-1].desc = strdup(diskdesc);
usr.sbin/bsdinstall/partedit/part_wizard.c
193
disks[n-1].bottomdesc = "";
usr.sbin/bsdinstall/partedit/part_wizard.c
198
if (n > 1) {
usr.sbin/bsdinstall/partedit/part_wizard.c
202
n, disks, &selected);
usr.sbin/bsdinstall/partedit/part_wizard.c
206
} else if (n == 1) {
usr.sbin/bsdinstall/partedit/part_wizard.c
212
for (i = 0; i < n; i++)
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
1056
int n = 128;
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
1069
len = n * sizeof(struct ifbreq);
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
1092
n += 64;
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
1105
int n = 128;
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
1118
len = n * sizeof(struct ifbpstpreq);
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
1142
n += 64;
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
1315
int n = 128;
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
1328
len = n * sizeof(struct ifbareq);
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
1351
n += 64;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpimport.c
384
size_t n = 0;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpimport.c
395
if (n == sizeof(nexttok) - 1) {
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpimport.c
396
nexttok[n++] = '\0';
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpimport.c
400
nexttok[n++] = c;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpimport.c
402
nexttok[n++] = '\0';
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpimport.c
410
size_t n = 0;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpimport.c
411
nexttok[n++] = c;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpimport.c
418
if (n == sizeof(nexttok) - 1) {
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpimport.c
419
nexttok[n++] = '\0';
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpimport.c
423
nexttok[n++] = c;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpimport.c
425
nexttok[n++] = '\0';
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpimport.c
434
size_t n = 0;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpimport.c
435
nexttok[n++] = c;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpimport.c
442
if (n == sizeof(nexttok) - 1) {
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpimport.c
443
nexttok[n++] = '\0';
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpimport.c
447
nexttok[n++] = c;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpimport.c
449
nexttok[n++] = '\0';
usr.sbin/btxld/btxld.c
327
unsigned int fmt, x, n, i;
usr.sbin/btxld/btxld.c
365
for (n = i = 0; i < le16toh(ee->e_phnum); i++) {
usr.sbin/btxld/btxld.c
369
switch (n++) {
usr.sbin/btxld/btxld.c
445
size_t n;
usr.sbin/btxld/btxld.c
448
if ((n = sizeof(buf)) > nbyte)
usr.sbin/btxld/btxld.c
449
n = nbyte;
usr.sbin/btxld/btxld.c
450
if (readx(fdi, buf, n, offset) != n)
usr.sbin/btxld/btxld.c
452
writex(fdo, buf, n);
usr.sbin/btxld/btxld.c
453
nbyte -= n;
usr.sbin/btxld/btxld.c
464
ssize_t n;
usr.sbin/btxld/btxld.c
468
if ((n = read(fd, buf, nbyte)) == -1)
usr.sbin/btxld/btxld.c
470
return n;
usr.sbin/btxld/btxld.c
479
ssize_t n;
usr.sbin/btxld/btxld.c
481
if ((n = write(fd, buf, nbyte)) == -1)
usr.sbin/btxld/btxld.c
483
if ((size_t)n != nbyte)
usr.sbin/cdcontrol/cdcontrol.c
157
char n;
usr.sbin/cdcontrol/cdcontrol.c
166
n = toupper(*s);
usr.sbin/cdcontrol/cdcontrol.c
168
n = *s;
usr.sbin/cdcontrol/cdcontrol.c
169
putchar(n);
usr.sbin/cdcontrol/cdcontrol.c
474
unsigned int n;
usr.sbin/cdcontrol/cdcontrol.c
482
n = h.ending_track - h.starting_track + 1;
usr.sbin/cdcontrol/cdcontrol.c
483
rc = read_toc_entrys ((n + 1) * sizeof (struct cd_toc_entry));
usr.sbin/cdcontrol/cdcontrol.c
491
return play_blocks (0, msf2lba (toc_buffer[n].addr.msf.minute,
usr.sbin/cdcontrol/cdcontrol.c
492
toc_buffer[n].addr.msf.second,
usr.sbin/cdcontrol/cdcontrol.c
493
toc_buffer[n].addr.msf.frame));
usr.sbin/cdcontrol/cdcontrol.c
495
return play_blocks (0, ntohl(toc_buffer[n].addr.lba));
usr.sbin/cdcontrol/cdcontrol.c
508
len = msf2lba (toc_buffer[n].addr.msf.minute,
usr.sbin/cdcontrol/cdcontrol.c
509
toc_buffer[n].addr.msf.second,
usr.sbin/cdcontrol/cdcontrol.c
510
toc_buffer[n].addr.msf.frame) - blk;
usr.sbin/cdcontrol/cdcontrol.c
512
len = ntohl(toc_buffer[n].addr.lba) - blk;
usr.sbin/cdcontrol/cdcontrol.c
597
else if (tr1 > n)
usr.sbin/cdcontrol/cdcontrol.c
598
tr1 = n;
usr.sbin/cdcontrol/cdcontrol.c
649
tr2 = n;
usr.sbin/cdcontrol/cdcontrol.c
651
m2 = toc_buffer[n].addr.msf.minute;
usr.sbin/cdcontrol/cdcontrol.c
652
s2 = toc_buffer[n].addr.msf.second;
usr.sbin/cdcontrol/cdcontrol.c
653
f2 = toc_buffer[n].addr.msf.frame;
usr.sbin/cdcontrol/cdcontrol.c
655
lba2msf(ntohl(toc_buffer[n].addr.lba),
usr.sbin/cdcontrol/cdcontrol.c
662
} else if (tr2 > n) {
usr.sbin/cdcontrol/cdcontrol.c
663
tr2 = n;
usr.sbin/cdcontrol/cdcontrol.c
691
tm = toc_buffer[n].addr.msf.minute;
usr.sbin/cdcontrol/cdcontrol.c
692
ts = toc_buffer[n].addr.msf.second;
usr.sbin/cdcontrol/cdcontrol.c
693
tf = toc_buffer[n].addr.msf.frame;
usr.sbin/cdcontrol/cdcontrol.c
695
lba2msf(ntohl(toc_buffer[n].addr.lba),
usr.sbin/cdcontrol/cdcontrol.c
697
if ((tr2 < n)
usr.sbin/cdcontrol/cdcontrol.c
720
m2 = toc_buffer[n].addr.msf.minute;
usr.sbin/cdcontrol/cdcontrol.c
721
s2 = toc_buffer[n].addr.msf.second;
usr.sbin/cdcontrol/cdcontrol.c
722
f2 = toc_buffer[n].addr.msf.frame;
usr.sbin/cdcontrol/cdcontrol.c
724
lba2msf(ntohl(toc_buffer[n].addr.lba),
usr.sbin/cdcontrol/cdcontrol.c
746
end = n;
usr.sbin/cdcontrol/cdcontrol.c
758
int dir, junk, n, off, rc, trk;
usr.sbin/cdcontrol/cdcontrol.c
765
n = h.ending_track - h.starting_track + 1;
usr.sbin/cdcontrol/cdcontrol.c
782
return (play_track (trk, 1, n, 1));
usr.sbin/cdcontrol/cdcontrol.c
883
dbprog_sum(int n)
usr.sbin/cdcontrol/cdcontrol.c
890
sprintf(buf, "%u", n);
usr.sbin/cdcontrol/cdcontrol.c
917
n = 0;
usr.sbin/cdcontrol/cdcontrol.c
933
n += dbprog_sum((TC_MM(i) * 60) + TC_SS(i));
usr.sbin/cdcontrol/cdcontrol.c
939
return((n % 0xff) << 24 | t << 8 | ntr);
usr.sbin/cdcontrol/cdcontrol.c
961
int rc, i, n;
usr.sbin/cdcontrol/cdcontrol.c
976
n = h.ending_track - h.starting_track + 1;
usr.sbin/cdcontrol/cdcontrol.c
977
rc = read_toc_entrys ((n + 1) * sizeof (struct cd_toc_entry));
usr.sbin/cdcontrol/cdcontrol.c
986
for (i = 0; i < n; i++) {
usr.sbin/cdcontrol/cdcontrol.c
990
printf ("%5d ", toc_buffer[n].track);
usr.sbin/cdcontrol/cdcontrol.c
991
prtrack (toc_buffer + n, 1);
usr.sbin/certctl/certctl.c
156
unsigned int i, n;
usr.sbin/certctl/certctl.c
158
for (p = str, n = 1; *p; p++) {
usr.sbin/certctl/certctl.c
160
n++;
usr.sbin/certctl/certctl.c
162
if ((paths = calloc(n + 1, sizeof(*paths))) == NULL)
usr.sbin/certctl/certctl.c
164
for (p = q = str, i = 0; i < n; i++, p = q + 1) {
usr.sbin/certctl/certctl.c
190
unsigned int i, n;
usr.sbin/certctl/certctl.c
192
for (n = 0; templates[n] != NULL; n++)
usr.sbin/certctl/certctl.c
194
if ((paths = calloc(n + 1, sizeof(*paths))) == NULL)
usr.sbin/certctl/certctl.c
196
for (i = 0; i < n; i++)
usr.sbin/certctl/certctl.c
645
unsigned int i, n;
usr.sbin/certctl/certctl.c
649
for (i = n = 0; trusted_paths[i] != NULL; i++) {
usr.sbin/certctl/certctl.c
652
n += ret;
usr.sbin/certctl/certctl.c
655
info("%d trusted certificates found", n);
usr.sbin/certctl/certctl.c
656
return (n);
usr.sbin/certctl/certctl.c
668
unsigned int i, n;
usr.sbin/certctl/certctl.c
672
for (i = n = 0; untrusted_paths[i] != NULL; i++) {
usr.sbin/certctl/certctl.c
675
n += ret;
usr.sbin/certctl/certctl.c
684
n += ret;
usr.sbin/certctl/certctl.c
691
info("%d untrusted certificates found", n);
usr.sbin/certctl/certctl.c
692
return (n);
usr.sbin/certctl/certctl.c
866
unsigned int n;
usr.sbin/certctl/certctl.c
879
n = 0;
usr.sbin/certctl/certctl.c
883
n += ret;
usr.sbin/certctl/certctl.c
885
if (n == 0) {
usr.sbin/certctl/certctl.c
891
warnx("%u new trusted certificate%s found", n, n > 1 ? "s" : "");
usr.sbin/certctl/certctl.c
935
unsigned int n;
usr.sbin/certctl/certctl.c
948
n = 0;
usr.sbin/certctl/certctl.c
952
n += ret;
usr.sbin/certctl/certctl.c
954
if (n == 0) {
usr.sbin/certctl/certctl.c
960
warnx("%u new untrusted certificate%s found", n, n > 1 ? "s" : "");
usr.sbin/chkgrp/chkgrp.c
127
warnx("%s: line %d: missing field(s)", gfn, n);
usr.sbin/chkgrp/chkgrp.c
137
gfn, n, *cp);
usr.sbin/chkgrp/chkgrp.c
146
gfn, n, *cp);
usr.sbin/chkgrp/chkgrp.c
153
warnx("%s: line %d: too many fields", gfn, n);
usr.sbin/chkgrp/chkgrp.c
161
gfn, n, k+1);
usr.sbin/chkgrp/chkgrp.c
168
warnx("%s: line %d: group id is not numeric", gfn, n);
usr.sbin/chkgrp/chkgrp.c
176
warnx("%s: line %d: strtoul failed", gfn, n);
usr.sbin/chkgrp/chkgrp.c
179
gfn, n, (uintmax_t)gid, (uintmax_t)GID_MAX);
usr.sbin/chkgrp/chkgrp.c
186
err(EX_IOERR, "%s: line %d", gfn, n);
usr.sbin/chkgrp/chkgrp.c
60
int n = 0, k, e = 0;
usr.sbin/chkgrp/chkgrp.c
90
while (++n) {
usr.sbin/chkgrp/chkgrp.c
94
warnx("%s: line %d: no newline character", gfn, n);
usr.sbin/cron/crontab/crontab.c
251
char n[MAX_FNAME];
usr.sbin/cron/crontab/crontab.c
255
(void) snprintf(n, sizeof(n), CRON_TAB(User));
usr.sbin/cron/crontab/crontab.c
256
if (!(f = fopen(n, "r"))) {
usr.sbin/cron/crontab/crontab.c
260
err(ERROR_EXIT, "%s", n);
usr.sbin/cron/crontab/crontab.c
272
char n[MAX_FNAME];
usr.sbin/cron/crontab/crontab.c
285
if (snprintf(n, sizeof(n), CRON_TAB(User)) >= (int)sizeof(n))
usr.sbin/cron/crontab/crontab.c
287
if (unlink(n) != 0) {
usr.sbin/cron/crontab/crontab.c
291
err(ERROR_EXIT, "%s", n);
usr.sbin/cron/crontab/crontab.c
306
char n[MAX_FNAME], q[MAX_TEMPSTR], *editor;
usr.sbin/cron/crontab/crontab.c
318
if (snprintf(n, sizeof(n), CRON_TAB(User)) >= (int)sizeof(n))
usr.sbin/cron/crontab/crontab.c
320
if (!(f = fopen(n, "r"))) {
usr.sbin/cron/crontab/crontab.c
322
err(ERROR_EXIT, "%s", n);
usr.sbin/cron/crontab/crontab.c
493
char n[MAX_FNAME], envstr[MAX_ENVSTR], tn[MAX_FNAME];
usr.sbin/cron/crontab/crontab.c
505
(void) snprintf(n, sizeof(n), "tmp.%d", Pid);
usr.sbin/cron/crontab/crontab.c
506
if (snprintf(tn, sizeof(tn), CRON_TAB(n)) >= (int)sizeof(tn)) {
usr.sbin/cron/crontab/crontab.c
597
if (snprintf(n, sizeof(n), CRON_TAB(User)) >= (int)sizeof(n)) {
usr.sbin/cron/crontab/crontab.c
603
if (rename(tn, n)) {
usr.sbin/cron/crontab/crontab.c
604
warn("error renaming %s to %s", tn, n);
usr.sbin/crunch/crunchgen/crunchgen.c
927
int n = 2; /* 2 because main and --list are added manually. */
usr.sbin/crunch/crunchgen/crunchgen.c
930
n++;
usr.sbin/crunch/crunchgen/crunchgen.c
934
n++;
usr.sbin/crunch/crunchgen/crunchgen.c
943
fprintf(outcf, "int num_entry_points = %d;\n", n);
usr.sbin/crunch/crunchgen/crunchgen.c
950
char *n, *s, *d;
usr.sbin/crunch/crunchgen/crunchgen.c
959
if ((n = strdup(str)) == NULL)
usr.sbin/crunch/crunchgen/crunchgen.c
961
for (d = s = n; *s != '\0'; s++) {
usr.sbin/crunch/crunchgen/crunchgen.c
968
return n;
usr.sbin/crunch/crunchide/crunchide.c
221
int fd, i, n, rv;
usr.sbin/crunch/crunchide/crunchide.c
231
n = sizeof exec_formats / sizeof exec_formats[0];
usr.sbin/crunch/crunchide/crunchide.c
232
for (i = 0; i < n; i++) {
usr.sbin/crunch/crunchide/crunchide.c
240
if (i == n) {
usr.sbin/cxgbetool/cxgbetool.c
2175
int rc, fd, n;
usr.sbin/cxgbetool/cxgbetool.c
2212
for (data.len = 0; data.len <= bufsz; data.len += n) {
usr.sbin/cxgbetool/cxgbetool.c
2213
n = read(fd, data.data + data.len, bufsz - data.len);
usr.sbin/cxgbetool/cxgbetool.c
2214
if (n == -1) {
usr.sbin/cxgbetool/cxgbetool.c
2220
if (n == 0)
usr.sbin/cxgbetool/cxgbetool.c
2385
int i, n = 8;
usr.sbin/cxgbetool/cxgbetool.c
2388
for (i = 0; len && i < n; i++, buf++, len -= 4) {
usr.sbin/cxgbetool/cxgbetool.c
2433
int i, n = 8;
usr.sbin/cxgbetool/cxgbetool.c
2436
for (i = 0; len && i < n; i++, buf++, len -= 4) {
usr.sbin/cxgbetool/tcb_common.c
146
tcb_strncmp_nc(char *cs, char *ct, int n)
usr.sbin/cxgbetool/tcb_common.c
154
for (i = 0; i < n && 0 == ret && !(EOS == *cs && EOS == *ct); ++i) {
usr.sbin/dconschat/dconschat.c
132
dread(struct dcons_state *dc, void *buf, size_t n, off_t offset)
usr.sbin/dconschat/dconschat.c
136
return (pread(dc->fd, buf, n, offset));
usr.sbin/dconschat/dconschat.c
138
return (kvm_read(dc->kd, offset, buf, n));
usr.sbin/dconschat/dconschat.c
144
dwrite(struct dcons_state *dc, void *buf, size_t n, off_t offset)
usr.sbin/dconschat/dconschat.c
147
return (n);
usr.sbin/dconschat/dconschat.c
151
return (pwrite(dc->fd, buf, n, offset));
usr.sbin/dconschat/dconschat.c
153
return (kvm_write(dc->kd, offset, buf, n));
usr.sbin/dconschat/dconschat.c
884
int i, n;
usr.sbin/dconschat/dconschat.c
887
n = kevent(dc->kq, NULL, 0, elist, NEVENT, &dc->to);
usr.sbin/dconschat/dconschat.c
888
for (i = 0; i < n; i ++) {
usr.sbin/devinfo/devinfo.c
68
print_indent(int n)
usr.sbin/devinfo/devinfo.c
72
if (n < 1)
usr.sbin/devinfo/devinfo.c
74
n = MIN((size_t)n, sizeof(buffer) - 1);
usr.sbin/devinfo/devinfo.c
75
memset(buffer, ' ', n);
usr.sbin/devinfo/devinfo.c
76
buffer[n] = '\0';
usr.sbin/diskinfo/diskinfo.c
664
int n, error;
usr.sbin/diskinfo/diskinfo.c
668
for (n = 0, o = 0; size > MAXIO; n++, size -= MAXIO, o += MAXIO) {
usr.sbin/diskinfo/diskinfo.c
669
aiop = &aios[n];
usr.sbin/diskinfo/diskinfo.c
683
for (; n > 0; n--) {
usr.sbin/diskinfo/diskinfo.c
695
int error, n, N, nowritecache = 0;
usr.sbin/diskinfo/diskinfo.c
703
for (n = 0; n < 250; n++) {
usr.sbin/dumpcis/printcis.c
987
u_int i, n = *p++;
usr.sbin/dumpcis/printcis.c
990
for (i = 0; i < n; i++) {
usr.sbin/efitable/efitable.c
111
for (size_t n = 0; n < nitems(efi_table_ops); n++) {
usr.sbin/efitable/efitable.c
112
if (!memcmp(&uuid, &efi_table_ops[n].guid,
usr.sbin/efitable/efitable.c
114
efi_idx = n;
usr.sbin/efitable/efitable.c
127
for (size_t n = 0; n < nitems(efi_table_ops); n++) {
usr.sbin/efitable/efitable.c
129
efi_table_ops[n].name)) {
usr.sbin/efitable/efitable.c
130
efi_idx = n;
usr.sbin/efivar/efivar.c
301
int i, n;
usr.sbin/efivar/efivar.c
303
n = efi_known_guid(&tbl);
usr.sbin/efivar/efivar.c
304
for (i = 0; i < n; i++)
usr.sbin/fdread/fdread.c
163
unsigned int nbytes, tracksize, mediasize, secsize, n;
usr.sbin/fdread/fdread.c
200
for (n = 0; n < tracksize; n += secsize) {
usr.sbin/fdread/fdutil.c
382
int i, n;
usr.sbin/fdread/fdutil.c
391
n = sizeof fd_types_360k / sizeof(struct fd_type);
usr.sbin/fdread/fdutil.c
396
n = sizeof fd_types_720k / sizeof(struct fd_type);
usr.sbin/fdread/fdutil.c
401
n = sizeof fd_types_12m / sizeof(struct fd_type);
usr.sbin/fdread/fdutil.c
406
n = sizeof fd_types_144m / sizeof(struct fd_type);
usr.sbin/fdread/fdutil.c
411
n = sizeof fd_types_288m / sizeof(struct fd_type);
usr.sbin/fdread/fdutil.c
418
for (i = 0; i < n; i++, fdtp++) {
usr.sbin/flowctl/flowctl.c
393
inet_ntop(AF_INET6, &fle6->n.next_hop6, next6, sizeof(next6));
usr.sbin/fstyp/exfat.c
161
unsigned n, sect;
usr.sbin/fstyp/exfat.c
169
for (n = 0; n < bytespersec; n++) {
usr.sbin/fstyp/exfat.c
171
switch (n) {
usr.sbin/fstyp/exfat.c
179
(checksum >> 1) + (uint32_t)sector[n];
usr.sbin/fstyp/hammer2_disk.h
1135
#define HAMMER2_PFS_DEC(n) ((n) & 0x0F)
usr.sbin/fstyp/hammer2_disk.h
1136
#define HAMMER2_PFS_DEC_TRANSITION(n) (((n) >> 4) & 0x0F)
usr.sbin/fstyp/hammer2_disk.h
1137
#define HAMMER2_PFS_ENC_TRANSITION(n) (((n) & 0x0F) << 4)
usr.sbin/fstyp/hammer2_disk.h
773
#define HAMMER2_ENC_CHECK(n) (((n) & 15) << 4)
usr.sbin/fstyp/hammer2_disk.h
774
#define HAMMER2_DEC_CHECK(n) (((n) >> 4) & 15)
usr.sbin/fstyp/hammer2_disk.h
775
#define HAMMER2_ENC_COMP(n) ((n) & 15)
usr.sbin/fstyp/hammer2_disk.h
776
#define HAMMER2_DEC_COMP(n) ((n) & 15)
usr.sbin/fstyp/hammer2_disk.h
796
#define HAMMER2_ENC_ALGO(n) (n)
usr.sbin/fstyp/hammer2_disk.h
797
#define HAMMER2_DEC_ALGO(n) ((n) & 15)
usr.sbin/fstyp/hammer2_disk.h
798
#define HAMMER2_ENC_LEVEL(n) ((n) << 4)
usr.sbin/fstyp/hammer2_disk.h
799
#define HAMMER2_DEC_LEVEL(n) (((n) >> 4) & 15)
usr.sbin/fwcamctl/fwcamctl.c
112
int i, n = w * h;
usr.sbin/fwcamctl/fwcamctl.c
114
for (i = 0; i < n; i++) {
usr.sbin/fwcamctl/fwcamctl.c
160
ssize_t n;
usr.sbin/fwcamctl/fwcamctl.c
191
n = read(fd, frame_buf, info.frame_size);
usr.sbin/fwcamctl/fwcamctl.c
192
if (n < 0)
usr.sbin/fwcamctl/fwcamctl.c
194
if ((uint32_t)n < info.frame_size)
usr.sbin/fwcamctl/fwcamctl.c
196
n, info.frame_size);
usr.sbin/fwcamctl/fwcamctl.c
57
int i, n = w * h / 2;
usr.sbin/fwcamctl/fwcamctl.c
59
for (i = 0; i < n; i++) {
usr.sbin/fwcamctl/fwcamctl.c
85
int i, j, n = w * h / 4;
usr.sbin/fwcamctl/fwcamctl.c
87
for (i = 0; i < n; i++) {
usr.sbin/fwcontrol/fwcontrol.c
186
printf("%d devices (info_len=%d)\n", data->n, data->info_len);
usr.sbin/fwcontrol/fwdv.c
369
cycle_acc += frame_cycle[system].n;
usr.sbin/fwcontrol/fwdv.c
376
pad_acc += pad_rate[system].n;
usr.sbin/fwcontrol/fwdv.c
60
int n,d;
usr.sbin/inetd/builtins.c
750
int count = 0, n;
usr.sbin/inetd/builtins.c
759
n = read(fd, buf, len-count);
usr.sbin/inetd/builtins.c
761
if (n == 0)
usr.sbin/inetd/builtins.c
763
if (n < 0)
usr.sbin/inetd/builtins.c
765
while (--n >= 0) {
usr.sbin/inetd/inetd.c
557
int n, ctrl;
usr.sbin/inetd/inetd.c
567
if ((n = select(maxsock + 1, &readable, (fd_set *)0,
usr.sbin/inetd/inetd.c
569
if (n < 0 && errno != EINTR) {
usr.sbin/inetd/inetd.c
607
for (sep = servtab; n && sep; sep = sep->se_next)
usr.sbin/inetd/inetd.c
609
n--;
usr.sbin/jls/jls.c
427
int n;
usr.sbin/jls/jls.c
449
n = 6;
usr.sbin/jls/jls.c
452
if (ip4_ok && !strcmp(params[n].jp_name, "ip4.addr")) {
usr.sbin/jls/jls.c
453
emit_ip_addr_list(AF_INET, "ipv4_addrs", params + n);
usr.sbin/jls/jls.c
454
n++;
usr.sbin/jls/jls.c
458
if (ip6_ok && !strcmp(params[n].jp_name, "ip6.addr")) {
usr.sbin/jls/jls.c
459
emit_ip_addr_list(AF_INET6, "ipv6_addrs", params + n);
usr.sbin/jls/jls.c
460
n++;
usr.sbin/kbdcontrol/kbdcontrol.c
1077
int n;
usr.sbin/kbdcontrol/kbdcontrol.c
1090
for (n = 0; n < ndelays - 1; n++)
usr.sbin/kbdcontrol/kbdcontrol.c
1091
if (delay <= kbdelays[n])
usr.sbin/kbdcontrol/kbdcontrol.c
1093
d = n;
usr.sbin/kbdcontrol/kbdcontrol.c
1094
for (n = 0; n < nrepeats - 1; n++)
usr.sbin/kbdcontrol/kbdcontrol.c
1095
if (repeat <= kbrates[n])
usr.sbin/kbdcontrol/kbdcontrol.c
1097
r = n;
usr.sbin/lpr/common_source/displayq.c
605
prank(int n)
usr.sbin/lpr/common_source/displayq.c
612
if (n == 0) {
usr.sbin/lpr/common_source/displayq.c
617
if ((n/10)%10 == 1)
usr.sbin/lpr/common_source/displayq.c
618
(void)snprintf(rline, sizeof(rline), "%dth", n);
usr.sbin/lpr/common_source/displayq.c
620
(void)snprintf(rline, sizeof(rline), "%d%s", n, r[n%10]);
usr.sbin/lpr/common_source/net.c
263
int i, n;
usr.sbin/lpr/common_source/net.c
271
n = 0;
usr.sbin/lpr/common_source/net.c
274
n++;
usr.sbin/lpr/common_source/net.c
277
n--; /* correct for count of trailing null */
usr.sbin/lpr/common_source/net.c
279
if (n > NIOV) {
usr.sbin/lpr/common_source/net.c
280
iovp = malloc(n * sizeof *iovp);
usr.sbin/lpr/common_source/net.c
287
for (i = 0; i < n; i++) {
usr.sbin/lpr/common_source/net.c
292
retval = writev(strm, iovp, n);
usr.sbin/lpr/common_source/rmjob.c
150
register int i, n;
usr.sbin/lpr/common_source/rmjob.c
169
for (i = 1; (n = fread(current, sizeof(char), sizeof(current), fp)) <= 0; i++) {
usr.sbin/lpr/common_source/rmjob.c
171
n = 1;
usr.sbin/lpr/common_source/rmjob.c
176
current[n-1] = '\0';
usr.sbin/lpr/common_source/startdaemon.c
54
register int s, n;
usr.sbin/lpr/common_source/startdaemon.c
95
while ((n = read(s, &c, 1)) > 0)
usr.sbin/lpr/lpc/cmds.c
1229
register int jobnum, n;
usr.sbin/lpr/lpc/cmds.c
1254
n = 0;
usr.sbin/lpr/lpc/cmds.c
1256
n = n * 10 + (*cp++ - '0');
usr.sbin/lpr/lpc/cmds.c
1257
if (jobnum != n)
usr.sbin/lpr/lpc/cmds.c
651
int didhead, i, n, nitems, rmcp;
usr.sbin/lpr/lpc/cmds.c
717
n = 0;
usr.sbin/lpr/lpc/cmds.c
723
n++;
usr.sbin/lpr/lpc/cmds.c
725
if (n == 0) {
usr.sbin/lpr/lpc/lpc.c
257
register int n = 0;
usr.sbin/lpr/lpc/lpc.c
261
n < MAX_MARGV - 1; n++) {
usr.sbin/lpr/lpd/lpd.c
466
int n;
usr.sbin/lpr/lpd/lpd.c
477
if ((n = read(STDOUT_FILENO, cp, 1)) != 1) {
usr.sbin/lpr/lpd/lpd.c
478
if (n < 0)
usr.sbin/lpr/lpd/printjob.c
615
int fi, fo, i, n, p[2], retcode, stopped, wstatus, wstatus_set;
usr.sbin/lpr/lpd/printjob.c
645
while ((n = read(fi, buf, sizeof(buf))) > 0)
usr.sbin/lpr/lpd/printjob.c
646
if (write(ofd, buf, n) != n) {
usr.sbin/lpr/lpd/printjob.c
696
n = 4;
usr.sbin/lpr/lpd/printjob.c
715
n = 5;
usr.sbin/lpr/lpd/printjob.c
721
n = 3;
usr.sbin/lpr/lpd/printjob.c
732
for (n = 0; n < 4; n++) {
usr.sbin/lpr/lpd/printjob.c
733
if (fonts[n][0] != '/')
usr.sbin/lpr/lpd/printjob.c
736
(void) write(fo, fonts[n], strlen(fonts[n]));
usr.sbin/lpr/lpd/printjob.c
746
n = 3;
usr.sbin/lpr/lpd/printjob.c
752
n = 3;
usr.sbin/lpr/lpd/printjob.c
758
n = 3;
usr.sbin/lpr/lpd/printjob.c
764
n = 3;
usr.sbin/lpr/lpd/printjob.c
783
av[n++] = "-n";
usr.sbin/lpr/lpd/printjob.c
784
av[n++] = logname;
usr.sbin/lpr/lpd/printjob.c
785
av[n++] = "-h";
usr.sbin/lpr/lpd/printjob.c
786
av[n++] = origin_host;
usr.sbin/lpr/lpd/printjob.c
787
av[n++] = pp->acct_file;
usr.sbin/lpr/lpd/printjob.c
788
av[n] = NULL;
usr.sbin/lpr/lpd/printjob.c
815
n = open(tempstderr, O_WRONLY | O_TRUNC, 0664);
usr.sbin/lpr/lpd/printjob.c
816
if (n >= 0)
usr.sbin/lpr/lpd/printjob.c
817
dup2(n, STDERR_FILENO);
usr.sbin/lpr/lpd/recvjob.c
154
int cfcnt, dfcnt, curd0, curd2, curn, n;
usr.sbin/lpr/lpd/recvjob.c
214
n = (cp[3] - '0') * 100 + (cp[4] - '0') * 10 +
usr.sbin/lpr/lpd/recvjob.c
217
curn = n;
usr.sbin/lpr/lpd/recvjob.c
218
else if (curn != n)
usr.sbin/lpr/lpd/recvjob.c
268
n = (cp[3] - '0') * 100 + (cp[4] - '0') * 10 +
usr.sbin/lpr/lpd/recvjob.c
271
curn = n;
usr.sbin/lpr/lpd/recvjob.c
272
else if (curn != n)
usr.sbin/lpr/lpr/lpr.c
524
copy(const struct printer *pp, int f, const char n[])
usr.sbin/lpr/lpr/lpr.c
530
card('T', title ? title : n);
usr.sbin/lpr/lpr/lpr.c
534
card('N', n);
usr.sbin/lpr/lpr/lpr.c
539
printf("%s: %s: temp file write error\n", progname, n);
usr.sbin/lpr/lpr/lpr.c
548
progname, n);
usr.sbin/lpr/lpr/lpr.c
556
f ? n : "stdin");
usr.sbin/lpr/lpr/lpr.c
623
nfile(char *n)
usr.sbin/lpr/lpr/lpr.c
629
f = open(n, O_WRONLY | O_EXCL | O_CREAT, FILMOD);
usr.sbin/lpr/lpr/lpr.c
632
printf("%s: cannot create %s\n", progname, n);
usr.sbin/lpr/lpr/lpr.c
636
printf("%s: cannot chown %s\n", progname, n);
usr.sbin/lpr/lpr/lpr.c
640
if (++n[inchar] > 'z') {
usr.sbin/lpr/lpr/lpr.c
641
if (++n[inchar-2] == 't') {
usr.sbin/lpr/lpr/lpr.c
645
n[inchar] = 'A';
usr.sbin/lpr/lpr/lpr.c
646
} else if (n[inchar] == '[')
usr.sbin/lpr/lpr/lpr.c
647
n[inchar] = 'a';
usr.sbin/lpr/lpr/lpr.c
817
register int len, fd, n;
usr.sbin/lpr/lpr/lpr.c
832
n = 0;
usr.sbin/lpr/lpr/lpr.c
837
n = n * 10 + (*cp++ - '0');
usr.sbin/lpr/lpr/lpr.c
841
tfname = lmktemp(pp, "tf", n, len);
usr.sbin/lpr/lpr/lpr.c
842
cfname = lmktemp(pp, "cf", n, len);
usr.sbin/lpr/lpr/lpr.c
843
dfname = lmktemp(pp, "df", n, len);
usr.sbin/lpr/lpr/lpr.c
845
n = (n + 1) % 1000;
usr.sbin/lpr/lpr/lpr.c
847
snprintf(buf, sizeof(buf), "%03d\n", n);
usr.sbin/makefs/cd9660.c
1483
} *n;
usr.sbin/makefs/cd9660.c
1485
#define PTQUEUE_NEW(n,s,r,t){\
usr.sbin/makefs/cd9660.c
1486
n = emalloc(sizeof(struct s)); \
usr.sbin/makefs/cd9660.c
1487
n->node = t;\
usr.sbin/makefs/cd9660.c
1509
PTQUEUE_NEW(n, ptq_entry, -1, diskStructure->rootNode);
usr.sbin/makefs/cd9660.c
1512
TAILQ_INSERT_HEAD(&pt_head, n, ptq);
usr.sbin/makefs/cd9660.c
1516
n = TAILQ_FIRST(&pt_head);
usr.sbin/makefs/cd9660.c
1517
dirNode = n->node;
usr.sbin/makefs/cd9660.c
1518
TAILQ_REMOVE(&pt_head, n, ptq);
usr.sbin/makefs/cd9660.c
1519
free(n);
usr.sbin/makefs/cd9660.c
1544
PTQUEUE_NEW(n, ptq_entry, -1, cn);
usr.sbin/makefs/cd9660.c
1545
TAILQ_INSERT_TAIL(&pt_head, n, ptq);
usr.sbin/makefs/cd9660/cd9660_debug.c
123
debug_print_path_tree(cd9660node *n)
usr.sbin/makefs/cd9660/cd9660_debug.c
125
cd9660node *iterator = n;
usr.sbin/makefs/cd9660/cd9660_debug.c
128
if (n->parent == NULL)
usr.sbin/makefs/cd9660/cd9660_debug.c
197
int n = 0;
usr.sbin/makefs/cd9660/cd9660_debug.c
209
debug_dump_to_xml_ptentry(&pttemp, n, mode);
usr.sbin/makefs/cd9660/cd9660_debug.c
210
n++;
usr.sbin/makefs/cd9660/cd9660_debug.c
50
print_n_tabs(int n)
usr.sbin/makefs/cd9660/cd9660_debug.c
54
for (i = 1; i <= n; i ++)
usr.sbin/makefs/cd9660/cd9660_debug.c
60
debug_print_rrip_info(cd9660node *n)
usr.sbin/makefs/cd9660/cd9660_debug.c
70
debug_print_susp_attrs(cd9660node *n, int indent)
usr.sbin/makefs/cd9660/cd9660_debug.c
74
TAILQ_FOREACH(t, &n->head, rr_ll) {
usr.sbin/makefs/ffs/buf.c
183
void *n;
usr.sbin/makefs/ffs/buf.c
212
n = erealloc(bp->b_data, (size_t)size);
usr.sbin/makefs/ffs/buf.c
213
memset(n, 0, (size_t)size);
usr.sbin/makefs/ffs/buf.c
214
bp->b_data = n;
usr.sbin/makefs/ffs/ffs_bswap.c
100
n->fs_snapinum[i] = bswap32(o->fs_snapinum[i]);
usr.sbin/makefs/ffs/ffs_bswap.c
101
n->fs_avgfilesize = bswap32(o->fs_avgfilesize);
usr.sbin/makefs/ffs/ffs_bswap.c
102
n->fs_avgfpdir = bswap32(o->fs_avgfpdir);
usr.sbin/makefs/ffs/ffs_bswap.c
104
n->fs_flags = bswap32(o->fs_flags);
usr.sbin/makefs/ffs/ffs_bswap.c
105
n->fs_contigsumsize = bswap32(o->fs_contigsumsize);
usr.sbin/makefs/ffs/ffs_bswap.c
106
n->fs_maxsymlinklen = bswap32(o->fs_maxsymlinklen);
usr.sbin/makefs/ffs/ffs_bswap.c
107
n->fs_old_inodefmt = bswap32(o->fs_old_inodefmt);
usr.sbin/makefs/ffs/ffs_bswap.c
108
n->fs_maxfilesize = bswap64(o->fs_maxfilesize);
usr.sbin/makefs/ffs/ffs_bswap.c
109
n->fs_qbmask = bswap64(o->fs_qbmask);
usr.sbin/makefs/ffs/ffs_bswap.c
110
n->fs_qfmask = bswap64(o->fs_qfmask);
usr.sbin/makefs/ffs/ffs_bswap.c
111
n->fs_state = bswap32(o->fs_state);
usr.sbin/makefs/ffs/ffs_bswap.c
112
n->fs_old_postblformat = bswap32(o->fs_old_postblformat);
usr.sbin/makefs/ffs/ffs_bswap.c
113
n->fs_old_nrpos = bswap32(o->fs_old_nrpos);
usr.sbin/makefs/ffs/ffs_bswap.c
114
n->fs_old_postbloff = bswap32(o->fs_old_postbloff);
usr.sbin/makefs/ffs/ffs_bswap.c
115
n->fs_old_rotbloff = bswap32(o->fs_old_rotbloff);
usr.sbin/makefs/ffs/ffs_bswap.c
117
n->fs_magic = bswap32(o->fs_magic);
usr.sbin/makefs/ffs/ffs_bswap.c
121
ffs_dinode1_swap(struct ufs1_dinode *o, struct ufs1_dinode *n)
usr.sbin/makefs/ffs/ffs_bswap.c
124
n->di_mode = bswap16(o->di_mode);
usr.sbin/makefs/ffs/ffs_bswap.c
125
n->di_nlink = bswap16(o->di_nlink);
usr.sbin/makefs/ffs/ffs_bswap.c
126
n->di_size = bswap64(o->di_size);
usr.sbin/makefs/ffs/ffs_bswap.c
127
n->di_atime = bswap32(o->di_atime);
usr.sbin/makefs/ffs/ffs_bswap.c
128
n->di_atimensec = bswap32(o->di_atimensec);
usr.sbin/makefs/ffs/ffs_bswap.c
129
n->di_mtime = bswap32(o->di_mtime);
usr.sbin/makefs/ffs/ffs_bswap.c
130
n->di_mtimensec = bswap32(o->di_mtimensec);
usr.sbin/makefs/ffs/ffs_bswap.c
131
n->di_ctime = bswap32(o->di_ctime);
usr.sbin/makefs/ffs/ffs_bswap.c
132
n->di_ctimensec = bswap32(o->di_ctimensec);
usr.sbin/makefs/ffs/ffs_bswap.c
133
memcpy(n->di_db, o->di_db, sizeof(n->di_db));
usr.sbin/makefs/ffs/ffs_bswap.c
134
memcpy(n->di_ib, o->di_ib, sizeof(n->di_ib));
usr.sbin/makefs/ffs/ffs_bswap.c
135
n->di_flags = bswap32(o->di_flags);
usr.sbin/makefs/ffs/ffs_bswap.c
136
n->di_blocks = bswap32(o->di_blocks);
usr.sbin/makefs/ffs/ffs_bswap.c
137
n->di_gen = bswap32(o->di_gen);
usr.sbin/makefs/ffs/ffs_bswap.c
138
n->di_uid = bswap32(o->di_uid);
usr.sbin/makefs/ffs/ffs_bswap.c
139
n->di_gid = bswap32(o->di_gid);
usr.sbin/makefs/ffs/ffs_bswap.c
143
ffs_dinode2_swap(struct ufs2_dinode *o, struct ufs2_dinode *n)
usr.sbin/makefs/ffs/ffs_bswap.c
145
n->di_mode = bswap16(o->di_mode);
usr.sbin/makefs/ffs/ffs_bswap.c
146
n->di_nlink = bswap16(o->di_nlink);
usr.sbin/makefs/ffs/ffs_bswap.c
147
n->di_uid = bswap32(o->di_uid);
usr.sbin/makefs/ffs/ffs_bswap.c
148
n->di_gid = bswap32(o->di_gid);
usr.sbin/makefs/ffs/ffs_bswap.c
149
n->di_blksize = bswap32(o->di_blksize);
usr.sbin/makefs/ffs/ffs_bswap.c
150
n->di_size = bswap64(o->di_size);
usr.sbin/makefs/ffs/ffs_bswap.c
151
n->di_blocks = bswap64(o->di_blocks);
usr.sbin/makefs/ffs/ffs_bswap.c
152
n->di_atime = bswap64(o->di_atime);
usr.sbin/makefs/ffs/ffs_bswap.c
153
n->di_atimensec = bswap32(o->di_atimensec);
usr.sbin/makefs/ffs/ffs_bswap.c
154
n->di_mtime = bswap64(o->di_mtime);
usr.sbin/makefs/ffs/ffs_bswap.c
155
n->di_mtimensec = bswap32(o->di_mtimensec);
usr.sbin/makefs/ffs/ffs_bswap.c
156
n->di_ctime = bswap64(o->di_ctime);
usr.sbin/makefs/ffs/ffs_bswap.c
157
n->di_ctimensec = bswap32(o->di_ctimensec);
usr.sbin/makefs/ffs/ffs_bswap.c
158
n->di_birthtime = bswap64(o->di_ctime);
usr.sbin/makefs/ffs/ffs_bswap.c
159
n->di_birthnsec = bswap32(o->di_ctimensec);
usr.sbin/makefs/ffs/ffs_bswap.c
160
n->di_gen = bswap32(o->di_gen);
usr.sbin/makefs/ffs/ffs_bswap.c
161
n->di_kernflags = bswap32(o->di_kernflags);
usr.sbin/makefs/ffs/ffs_bswap.c
162
n->di_flags = bswap32(o->di_flags);
usr.sbin/makefs/ffs/ffs_bswap.c
163
n->di_extsize = bswap32(o->di_extsize);
usr.sbin/makefs/ffs/ffs_bswap.c
164
memcpy(n->di_extb, o->di_extb, sizeof(n->di_extb));
usr.sbin/makefs/ffs/ffs_bswap.c
165
memcpy(n->di_db, o->di_db, sizeof(n->di_db));
usr.sbin/makefs/ffs/ffs_bswap.c
166
memcpy(n->di_ib, o->di_ib, sizeof(n->di_ib));
usr.sbin/makefs/ffs/ffs_bswap.c
170
ffs_csum_swap(struct csum *o, struct csum *n, int size)
usr.sbin/makefs/ffs/ffs_bswap.c
176
nint = (u_int32_t*)n;
usr.sbin/makefs/ffs/ffs_bswap.c
183
ffs_csumtotal_swap(struct csum_total *o, struct csum_total *n)
usr.sbin/makefs/ffs/ffs_bswap.c
185
n->cs_ndir = bswap64(o->cs_ndir);
usr.sbin/makefs/ffs/ffs_bswap.c
186
n->cs_nbfree = bswap64(o->cs_nbfree);
usr.sbin/makefs/ffs/ffs_bswap.c
187
n->cs_nifree = bswap64(o->cs_nifree);
usr.sbin/makefs/ffs/ffs_bswap.c
188
n->cs_nffree = bswap64(o->cs_nffree);
usr.sbin/makefs/ffs/ffs_bswap.c
195
ffs_cg_swap(struct cg *o, struct cg *n, struct fs *fs)
usr.sbin/makefs/ffs/ffs_bswap.c
202
n->cg_firstfield = bswap32(o->cg_firstfield);
usr.sbin/makefs/ffs/ffs_bswap.c
203
n->cg_magic = bswap32(o->cg_magic);
usr.sbin/makefs/ffs/ffs_bswap.c
204
n->cg_old_time = bswap32(o->cg_old_time);
usr.sbin/makefs/ffs/ffs_bswap.c
205
n->cg_cgx = bswap32(o->cg_cgx);
usr.sbin/makefs/ffs/ffs_bswap.c
206
n->cg_old_ncyl = bswap16(o->cg_old_ncyl);
usr.sbin/makefs/ffs/ffs_bswap.c
207
n->cg_old_niblk = bswap16(o->cg_old_niblk);
usr.sbin/makefs/ffs/ffs_bswap.c
208
n->cg_ndblk = bswap32(o->cg_ndblk);
usr.sbin/makefs/ffs/ffs_bswap.c
209
n->cg_cs.cs_ndir = bswap32(o->cg_cs.cs_ndir);
usr.sbin/makefs/ffs/ffs_bswap.c
210
n->cg_cs.cs_nbfree = bswap32(o->cg_cs.cs_nbfree);
usr.sbin/makefs/ffs/ffs_bswap.c
211
n->cg_cs.cs_nifree = bswap32(o->cg_cs.cs_nifree);
usr.sbin/makefs/ffs/ffs_bswap.c
212
n->cg_cs.cs_nffree = bswap32(o->cg_cs.cs_nffree);
usr.sbin/makefs/ffs/ffs_bswap.c
213
n->cg_rotor = bswap32(o->cg_rotor);
usr.sbin/makefs/ffs/ffs_bswap.c
214
n->cg_frotor = bswap32(o->cg_frotor);
usr.sbin/makefs/ffs/ffs_bswap.c
215
n->cg_irotor = bswap32(o->cg_irotor);
usr.sbin/makefs/ffs/ffs_bswap.c
217
n->cg_frsum[i] = bswap32(o->cg_frsum[i]);
usr.sbin/makefs/ffs/ffs_bswap.c
219
n->cg_old_btotoff = bswap32(o->cg_old_btotoff);
usr.sbin/makefs/ffs/ffs_bswap.c
220
n->cg_old_boff = bswap32(o->cg_old_boff);
usr.sbin/makefs/ffs/ffs_bswap.c
221
n->cg_iusedoff = bswap32(o->cg_iusedoff);
usr.sbin/makefs/ffs/ffs_bswap.c
222
n->cg_freeoff = bswap32(o->cg_freeoff);
usr.sbin/makefs/ffs/ffs_bswap.c
223
n->cg_nextfreeoff = bswap32(o->cg_nextfreeoff);
usr.sbin/makefs/ffs/ffs_bswap.c
224
n->cg_clustersumoff = bswap32(o->cg_clustersumoff);
usr.sbin/makefs/ffs/ffs_bswap.c
225
n->cg_clusteroff = bswap32(o->cg_clusteroff);
usr.sbin/makefs/ffs/ffs_bswap.c
226
n->cg_nclusterblks = bswap32(o->cg_nclusterblks);
usr.sbin/makefs/ffs/ffs_bswap.c
227
n->cg_niblk = bswap32(o->cg_niblk);
usr.sbin/makefs/ffs/ffs_bswap.c
228
n->cg_initediblk = bswap32(o->cg_initediblk);
usr.sbin/makefs/ffs/ffs_bswap.c
229
n->cg_time = bswap64(o->cg_time);
usr.sbin/makefs/ffs/ffs_bswap.c
234
if (n->cg_magic == CG_MAGIC) {
usr.sbin/makefs/ffs/ffs_bswap.c
235
btotoff = n->cg_old_btotoff;
usr.sbin/makefs/ffs/ffs_bswap.c
236
boff = n->cg_old_boff;
usr.sbin/makefs/ffs/ffs_bswap.c
237
clustersumoff = n->cg_clustersumoff;
usr.sbin/makefs/ffs/ffs_bswap.c
239
btotoff = bswap32(n->cg_old_btotoff);
usr.sbin/makefs/ffs/ffs_bswap.c
240
boff = bswap32(n->cg_old_boff);
usr.sbin/makefs/ffs/ffs_bswap.c
241
clustersumoff = bswap32(n->cg_clustersumoff);
usr.sbin/makefs/ffs/ffs_bswap.c
243
n32 = (u_int32_t *)((u_int8_t *)n + btotoff);
usr.sbin/makefs/ffs/ffs_bswap.c
245
n16 = (u_int16_t *)((u_int8_t *)n + boff);
usr.sbin/makefs/ffs/ffs_bswap.c
254
n32 = (u_int32_t *)((u_int8_t *)n + clustersumoff);
usr.sbin/makefs/ffs/ffs_bswap.c
59
void ffs_csum_swap(struct csum *o, struct csum *n, int size);
usr.sbin/makefs/ffs/ffs_bswap.c
60
void ffs_csumtotal_swap(struct csum_total *o, struct csum_total *n);
usr.sbin/makefs/ffs/ffs_bswap.c
63
ffs_sb_swap(struct fs *o, struct fs *n)
usr.sbin/makefs/ffs/ffs_bswap.c
74
n32 = (u_int32_t *)n;
usr.sbin/makefs/ffs/ffs_bswap.c
78
n->fs_swuid = bswap64(o->fs_swuid);
usr.sbin/makefs/ffs/ffs_bswap.c
79
n->fs_cgrotor = bswap32(o->fs_cgrotor); /* Unused */
usr.sbin/makefs/ffs/ffs_bswap.c
80
n->fs_old_cpc = bswap32(o->fs_old_cpc);
usr.sbin/makefs/ffs/ffs_bswap.c
86
n->fs_maxbsize = bswap32(o->fs_maxbsize);
usr.sbin/makefs/ffs/ffs_bswap.c
87
n->fs_sblockloc = bswap64(o->fs_sblockloc);
usr.sbin/makefs/ffs/ffs_bswap.c
88
ffs_csumtotal_swap(&o->fs_cstotal, &n->fs_cstotal);
usr.sbin/makefs/ffs/ffs_bswap.c
89
n->fs_time = bswap64(o->fs_time);
usr.sbin/makefs/ffs/ffs_bswap.c
90
n->fs_size = bswap64(o->fs_size);
usr.sbin/makefs/ffs/ffs_bswap.c
91
n->fs_dsize = bswap64(o->fs_dsize);
usr.sbin/makefs/ffs/ffs_bswap.c
92
n->fs_csaddr = bswap64(o->fs_csaddr);
usr.sbin/makefs/ffs/ffs_bswap.c
93
n->fs_pendingblocks = bswap64(o->fs_pendingblocks);
usr.sbin/makefs/ffs/ffs_bswap.c
94
n->fs_pendinginodes = bswap32(o->fs_pendinginodes);
usr.sbin/makefs/ffs/mkfs.c
820
int n;
usr.sbin/makefs/ffs/mkfs.c
827
n = read(fsopts->fd, bf, size);
usr.sbin/makefs/ffs/mkfs.c
828
if (n == -1) {
usr.sbin/makefs/ffs/mkfs.c
833
else if (n != size)
usr.sbin/makefs/ffs/mkfs.c
844
int n;
usr.sbin/makefs/ffs/mkfs.c
851
n = write(fsopts->fd, bf, size);
usr.sbin/makefs/ffs/mkfs.c
852
if (n == -1)
usr.sbin/makefs/ffs/mkfs.c
855
else if (n != size)
usr.sbin/makefs/ffs/mkfs.c
875
u_int n;
usr.sbin/makefs/ffs/mkfs.c
877
for (n = 0; n < sizeof(n) * CHAR_BIT; n++)
usr.sbin/makefs/ffs/mkfs.c
878
if (1 << n == val)
usr.sbin/makefs/ffs/mkfs.c
879
return (n);
usr.sbin/makefs/msdos/msdosfs_conv.c
448
char8ucs2str(const uint8_t *in, int n, uint16_t *out, int m)
usr.sbin/makefs/msdos/msdosfs_conv.c
453
while (n > 0 && in[0] != 0) {
usr.sbin/makefs/msdos/msdosfs_conv.c
461
n -= 1;
usr.sbin/makefs/msdos/msdosfs_conv.c
483
char8match(uint16_t *w1, uint16_t *w2, int n)
usr.sbin/makefs/msdos/msdosfs_conv.c
487
while (n > 0) {
usr.sbin/makefs/msdos/msdosfs_conv.c
500
--n;
usr.sbin/makefs/msdos/msdosfs_conv.c
64
static int char8ucs2str(const uint8_t *in, int n, uint16_t *out, int m);
usr.sbin/makefs/msdos/msdosfs_conv.c
66
static int char8match(uint16_t *w1, uint16_t *w2, int n);
usr.sbin/makefs/msdos/msdosfs_fat.c
685
u_long cl, n;
usr.sbin/makefs/msdos/msdosfs_fat.c
689
for (cl = start, n = count; n-- > 0;)
usr.sbin/makefs/msdos/msdosfs_fat.c
697
for (cl = start, n = count; n-- > 0;)
usr.sbin/makefs/mtree.c
426
fsnode *n;
usr.sbin/makefs/mtree.c
428
n = ecalloc(1, sizeof(*n));
usr.sbin/makefs/mtree.c
429
n->name = estrdup(name);
usr.sbin/makefs/mtree.c
430
n->type = (type == 0) ? global->type : type;
usr.sbin/makefs/mtree.c
431
n->parent = parent;
usr.sbin/makefs/mtree.c
433
n->inode = ecalloc(1, sizeof(*n->inode));
usr.sbin/makefs/mtree.c
436
memcpy(n->inode, global->inode, sizeof(*n->inode));
usr.sbin/makefs/mtree.c
437
n->inode->st.st_mode = (n->inode->st.st_mode & ~S_IFMT) | n->type;
usr.sbin/makefs/mtree.c
439
if (n->type == S_IFLNK)
usr.sbin/makefs/mtree.c
440
n->symlink = global->symlink;
usr.sbin/makefs/mtree.c
441
else if (n->type == S_IFREG)
usr.sbin/makefs/mtree.c
442
n->contents = global->contents;
usr.sbin/makefs/mtree.c
444
return (n);
usr.sbin/makefs/mtree.c
448
destroy_node(fsnode *n)
usr.sbin/makefs/mtree.c
451
assert(n != NULL);
usr.sbin/makefs/mtree.c
452
assert(n->name != NULL);
usr.sbin/makefs/mtree.c
453
assert(n->inode != NULL);
usr.sbin/makefs/mtree.c
455
free(n->inode);
usr.sbin/makefs/mtree.c
456
free(n->name);
usr.sbin/makefs/mtree.c
457
free(n);
usr.sbin/makefs/walk.c
494
#define ASEPRINT(t, b, o, n) \
usr.sbin/makefs/walk.c
497
t, o, n)
usr.sbin/makefs/zfs/fs.c
269
size_t n;
usr.sbin/makefs/zfs/fs.c
272
n = strlcpy(path, cur->contents, sz);
usr.sbin/makefs/zfs/fs.c
273
assert(n < sz);
usr.sbin/makefs/zfs/fs.c
275
size_t n;
usr.sbin/makefs/zfs/fs.c
278
n = strlcpy(path, cur->name, sz);
usr.sbin/makefs/zfs/fs.c
279
assert(n < sz);
usr.sbin/makefs/zfs/fs.c
281
int n;
usr.sbin/makefs/zfs/fs.c
284
n = snprintf(path, sz, "%s/%s/%s",
usr.sbin/makefs/zfs/fs.c
286
assert(n >= 0);
usr.sbin/makefs/zfs/fs.c
287
assert((size_t)n < sz);
usr.sbin/makefs/zfs/fs.c
324
size_t n;
usr.sbin/makefs/zfs/fs.c
326
n = strlcpy(buf, cur->symlink, bufsz);
usr.sbin/makefs/zfs/fs.c
327
assert(n < bufsz);
usr.sbin/makefs/zfs/fs.c
329
ssize_t n;
usr.sbin/makefs/zfs/fs.c
333
n = readlinkat(fd, path, buf, bufsz - 1);
usr.sbin/makefs/zfs/fs.c
334
if (n == -1)
usr.sbin/makefs/zfs/fs.c
336
buf[n] = '\0';
usr.sbin/makefs/zfs/fs.c
544
ssize_t n;
usr.sbin/makefs/zfs/fs.c
586
n = read(fd, buf + sofar, nbytes);
usr.sbin/makefs/zfs/fs.c
587
if (n < 0)
usr.sbin/makefs/zfs/fs.c
589
if (n == 0)
usr.sbin/makefs/zfs/fs.c
592
sofar += n;
usr.sbin/makefs/zfs/fs.c
95
#define _ZPL_ATTR(n, s, b) { .name = #n, .id = n, .size = s, .bs = b }
usr.sbin/makefs/zfs/vdev.c
103
for (size_t sofar = 0; sofar < len; sofar += n) {
usr.sbin/makefs/zfs/vdev.c
104
n = pwrite(zfs->fd, (const char *)buf + sofar, len - sofar,
usr.sbin/makefs/zfs/vdev.c
106
if (n < 0)
usr.sbin/makefs/zfs/vdev.c
108
assert(n > 0);
usr.sbin/makefs/zfs/vdev.c
167
ssize_t n;
usr.sbin/makefs/zfs/vdev.c
212
n = pwrite(zfs->fd, label, sizeof(*label), loff);
usr.sbin/makefs/zfs/vdev.c
213
if (n < 0)
usr.sbin/makefs/zfs/vdev.c
215
assert(n == sizeof(*label));
usr.sbin/makefs/zfs/vdev.c
85
ssize_t n;
usr.sbin/makefs/zfs/zap.c
253
for (uint16_t n, resid = sz; resid > 0; resid -= n, val += n, li++) {
usr.sbin/makefs/zfs/zap.c
254
n = MIN(resid, ZAP_LEAF_ARRAY_BYTES);
usr.sbin/makefs/zfs/zap.c
259
memcpy(la->la_array, val, n);
usr.sbin/mixer/mixer.c
307
int n = 0;
usr.sbin/mixer/mixer.c
315
if (n++ && !oflag)
usr.sbin/mixer/mixer.c
320
mixer_get_ctl(dp, C_SRC)->name, n ? " " : "");
usr.sbin/mixer/mixer.c
329
int n;
usr.sbin/mixer/mixer.c
331
if ((n = mixer_get_dunit()) < 0) {
usr.sbin/mixer/mixer.c
339
printf("default_unit: %d -> %d\n", n, dunit);
usr.sbin/mixer/mixer.c
353
int n;
usr.sbin/mixer/mixer.c
358
n = sscanf(val, "%7[^:]:%7s", lstr, rstr);
usr.sbin/mixer/mixer.c
359
if (n == EOF) {
usr.sbin/mixer/mixer.c
364
if (n > 0) {
usr.sbin/mixer/mixer.c
376
if (n > 1) {
usr.sbin/mixer/mixer.c
388
switch (n) {
usr.sbin/mixer/mixer.c
426
int n, opt = -1;
usr.sbin/mixer/mixer.c
441
n = MIX_ISMUTE(m, m->dev->devno);
usr.sbin/mixer/mixer.c
447
n ? "on" : "off",
usr.sbin/mixer/mixer.c
459
int n, opt = -1;
usr.sbin/mixer/mixer.c
476
n = MIX_ISRECSRC(m, m->dev->devno);
usr.sbin/mixer/mixer.c
482
n ? "add" : "remove",
usr.sbin/mixer/mixer.c
59
int dunit, i, n, pall = 1, shorthand;
usr.sbin/mixer/mixer.c
97
if ((n = mixer_get_nmixers()) < 0)
usr.sbin/mixer/mixer.c
99
for (i = 0; i < n; i++) {
usr.sbin/mountd/mountd.c
2406
#define COMPARE_ARRAYS(a1, a2, n) \
usr.sbin/mountd/mountd.c
2408
int fnd, fndarray[(n)], i, j; \
usr.sbin/mountd/mountd.c
2410
for (i = 0; i < (n); i++) \
usr.sbin/mountd/mountd.c
2413
if (i == (n)) \
usr.sbin/mountd/mountd.c
2415
for (i = 0; i < (n); i++) \
usr.sbin/mountd/mountd.c
2417
for (i = 0; i < (n); i++) { \
usr.sbin/mountd/mountd.c
2419
for (j = 0; j < (n); j++) { \
usr.sbin/mountd/mountd.c
2428
for (i = 0; i < (n); i++) \
usr.sbin/moused/moused/moused.c
533
int n;
usr.sbin/moused/moused/moused.c
556
n = sscanf(optarg, "%lf,%lf", &opt_accelx, &opt_accely);
usr.sbin/moused/moused/moused.c
557
if (n == 0) {
usr.sbin/moused/moused/moused.c
562
if (n == 1)
usr.sbin/moused/moused/moused.c
568
n = sscanf(optarg, "%lf,%lf", &opt_expoaccel,
usr.sbin/moused/moused/moused.c
570
if (n == 0) {
usr.sbin/moused/moused/moused.c
575
if (n == 1)
usr.sbin/moused/moused/util.h
152
strneq(const char *str1, const char *str2, int n)
usr.sbin/moused/moused/util.h
156
return strncmp(str1, str2, n) == 0;
usr.sbin/mpsutil/mpsutil.c
225
int n, tmp, retval = 0;
usr.sbin/mpsutil/mpsutil.c
233
n = *q++;
usr.sbin/mpsutil/mpsutil.c
234
if (num & (1 << (n - 1))) {
usr.sbin/mpsutil/mpsutil.c
236
for (; (n = *q) > ' '; ++q)
usr.sbin/mpsutil/mpsutil.c
237
PCHAR(n);
usr.sbin/mtest/mtest.c
410
int af, error, f, flags, i, level, n, optname;
usr.sbin/mtest/mtest.c
420
n = 0;
usr.sbin/mtest/mtest.c
431
if ((sscanf(line, "%d", &n) != 1) || (n < 1)) {
usr.sbin/mtest/mtest.c
435
sleep(n);
usr.sbin/mtest/mtest.c
603
n = 0;
usr.sbin/mtest/mtest.c
605
if ((sscanf(line, "%s %s %d", str1, str2, &n)) != 3) {
usr.sbin/mtest/mtest.c
611
if (ifindex == 0 || n < 0 || n > MAX_ADDRS) {
usr.sbin/mtest/mtest.c
626
for (i = 0; i < n; i++) {
usr.sbin/mtest/mtest.c
651
if (i < n) {
usr.sbin/mtest/mtest.c
658
&su.sa, su.sa.sa_len, fmode, n, &sources[0].ss) != 0)
usr.sbin/mtest/mtest.c
686
&su.sa, su.sa.sa_len, &fmode, &n, NULL) != 0) {
usr.sbin/mtest/mtest.c
783
if (ifindex == 0 || (n < 0 || n > MAX_ADDRS)) {
usr.sbin/ndp/ndp.c
1253
struct in6_prefix *p, *ep, *n;
usr.sbin/ndp/ndp.c
1278
for (p = (struct in6_prefix *)buf; p < ep; p = n) {
usr.sbin/ndp/ndp.c
1280
n = (struct in6_prefix *)&advrtr[p->advrtrs];
usr.sbin/ndp/ndp.c
1509
int n;
usr.sbin/ndp/ndp.c
1518
n = snprintf(p, ep - p, "%dd", days);
usr.sbin/ndp/ndp.c
1519
if (n < 0 || n >= ep - p)
usr.sbin/ndp/ndp.c
1521
p += n;
usr.sbin/ndp/ndp.c
1525
n = snprintf(p, ep - p, "%dh", hours);
usr.sbin/ndp/ndp.c
1526
if (n < 0 || n >= ep - p)
usr.sbin/ndp/ndp.c
1528
p += n;
usr.sbin/ndp/ndp.c
1532
n = snprintf(p, ep - p, "%dm", mins);
usr.sbin/ndp/ndp.c
1533
if (n < 0 || n >= ep - p)
usr.sbin/ndp/ndp.c
1535
p += n;
usr.sbin/ndp/ndp.c
896
int n = sdl->sdl_nlen > 0 ? sdl->sdl_nlen + 1 : 0;
usr.sbin/ndp/ndp.c
897
snprintf(hbuf, sizeof(hbuf), "%s", link_ntoa(sdl) + n);
usr.sbin/ndp/ndp.c
905
ndp_ether_aton(char *a, u_char *n)
usr.sbin/ndp/ndp.c
916
n[i] = o[i];
usr.sbin/ofwdump/ofwdump.c
143
ofw_dump_properties(int fd, phandle_t n, int level, bool raw, bool str)
usr.sbin/ofwdump/ofwdump.c
148
for (nlen = ofw_firstprop(fd, n, prop, sizeof(prop)); nlen != 0;
usr.sbin/ofwdump/ofwdump.c
149
nlen = ofw_nextprop(fd, n, prop, prop, sizeof(prop)))
usr.sbin/ofwdump/ofwdump.c
150
ofw_dump_property(fd, n, level, prop, raw, str);
usr.sbin/ofwdump/ofwdump.c
154
ofw_dump_property(int fd, phandle_t n, int level, const char *prop, bool raw,
usr.sbin/ofwdump/ofwdump.c
163
len = ofw_getprop_alloc(fd, n, prop, &pbuf, &pblen, 1);
usr.sbin/ofwdump/ofwdump.c
210
ofw_dump_node(int fd, phandle_t n, int level, int rec, int prop,
usr.sbin/ofwdump/ofwdump.c
220
printf("Node %#lx", (unsigned long)n);
usr.sbin/ofwdump/ofwdump.c
221
plen = ofw_getprop_alloc(fd, n, "name", &nbuf, &nblen, 1);
usr.sbin/ofwdump/ofwdump.c
229
ofw_dump_property(fd, n, level, pmatch, raw, str);
usr.sbin/ofwdump/ofwdump.c
231
ofw_dump_properties(fd, n, level, raw, str);
usr.sbin/ofwdump/ofwdump.c
234
for (c = ofw_child(fd, n); c != 0; c = ofw_peer(fd, c)) {
usr.sbin/ofwdump/ofwdump.c
245
phandle_t n;
usr.sbin/ofwdump/ofwdump.c
247
n = start == NULL ? ofw_root(fd) : ofw_finddevice(fd, start);
usr.sbin/ofwdump/ofwdump.c
248
ofw_dump_node(fd, n, 0, rec, prop, pmatch, raw, str);
usr.sbin/ofwdump/ofwdump.c
52
static void ofw_dump_property(int fd, phandle_t n, int level,
usr.sbin/pciconf/pciconf.c
492
struct pci_tree_entry *e, *n;
usr.sbin/pciconf/pciconf.c
494
TAILQ_FOREACH_SAFE(e, head, link, n) {
usr.sbin/pciconf/pciconf.c
555
struct pci_tree_entry *e, *n;
usr.sbin/pciconf/pciconf.c
600
n = TAILQ_NEXT(e, link);
usr.sbin/pciconf/pciconf.c
601
if (n == NULL ||
usr.sbin/pciconf/pciconf.c
602
n->p->pc_sel.pc_domain != e->p->pc_sel.pc_domain ||
usr.sbin/pciconf/pciconf.c
603
n->p->pc_sel.pc_bus != e->p->pc_sel.pc_bus) {
usr.sbin/pkg/config.c
539
size_t n;
usr.sbin/pkg/config.c
547
if ((n = strlen(ent->d_name)) <= 5)
usr.sbin/pkg/config.c
549
p = &ent->d_name[n - 5];
usr.sbin/pkg/dns_utils.c
122
int len, qdcount, ancount, n, i, f, l;
usr.sbin/pkg/dns_utils.c
146
n = 0;
usr.sbin/pkg/dns_utils.c
151
for (i = 0; i < n; i++)
usr.sbin/pkg/dns_utils.c
175
for (i = 0; i < n; i++)
usr.sbin/pkg/dns_utils.c
181
res[n] = malloc(sizeof(struct dns_srvinfo));
usr.sbin/pkg/dns_utils.c
182
if (res[n] == NULL) {
usr.sbin/pkg/dns_utils.c
183
for (i = 0; i < n; i++)
usr.sbin/pkg/dns_utils.c
188
res[n]->type = type;
usr.sbin/pkg/dns_utils.c
189
res[n]->class = class;
usr.sbin/pkg/dns_utils.c
190
res[n]->ttl = ttl;
usr.sbin/pkg/dns_utils.c
191
res[n]->priority = priority;
usr.sbin/pkg/dns_utils.c
192
res[n]->weight = weight;
usr.sbin/pkg/dns_utils.c
193
res[n]->port = port;
usr.sbin/pkg/dns_utils.c
194
res[n]->next = NULL;
usr.sbin/pkg/dns_utils.c
195
strlcpy(res[n]->host, host, MAXHOSTNAMELEN);
usr.sbin/pkg/dns_utils.c
198
n++;
usr.sbin/pkg/dns_utils.c
201
qsort(res, n, sizeof(res[0]), srv_priority_cmp);
usr.sbin/pkg/dns_utils.c
204
for (i = 0; i < n; i++) {
usr.sbin/pkg/dns_utils.c
214
qsort(res, n, sizeof(res[0]), srv_final_cmp);
usr.sbin/pkg/dns_utils.c
216
for (i = 0; i < n - 1; i++)
usr.sbin/pmc/display.cc
125
tcfg(int n)
usr.sbin/pmc/display.cc
128
tputs(tgoto(TC_SETAF, 0, n), 1, putchar);
usr.sbin/pmc/view.cc
597
size_t n, nsyms;
usr.sbin/pmc/view.cc
610
for (n = 0; n < nsyms; n++) {
usr.sbin/pmc/view.cc
611
if (gelf_getsym(data, (int) n, &sym) != &sym)
usr.sbin/pmccontrol/pmccontrol.c
216
int c, cpu, n, npmc, ncpu;
usr.sbin/pmccontrol/pmccontrol.c
252
for (n = 0; n < npmc; n++) {
usr.sbin/pmccontrol/pmccontrol.c
253
pd = &pi->pm_pmcs[n];
usr.sbin/pmccontrol/pmccontrol.c
256
n,
usr.sbin/pmcstat/pmcpl_callgraph.c
257
uint32_t n;
usr.sbin/pmcstat/pmcpl_callgraph.c
273
n = fprintf(args.pa_graphfile, " [%u] ", cg->pcg_count);
usr.sbin/pmcstat/pmcpl_callgraph.c
276
if (n < 12)
usr.sbin/pmcstat/pmcpl_callgraph.c
277
(void) fprintf(args.pa_graphfile, "%*s", 12 - n, space);
usr.sbin/pmcstat/pmcpl_callgraph.c
316
for (cgn = sortbuffer, n = 0; n < cg->pcg_nchildren; n++, cgn++)
usr.sbin/pmcstat/pmcpl_callgraph.c
331
uint32_t n;
usr.sbin/pmcstat/pmcpl_callgraph.c
373
for (n = 1; n < (uint32_t) args.pa_graphdepth && n < nsamples; n++,
usr.sbin/pmcstat/pmcpl_callgraph.c
375
pc = cc[n];
usr.sbin/pmcstat/pmcpl_callgraph.c
408
int n, nentries;
usr.sbin/pmcstat/pmcpl_callgraph.c
429
for (n = 0; n < PMCSTAT_NHASH; n++)
usr.sbin/pmcstat/pmcpl_callgraph.c
430
LIST_FOREACH(pch, &pmcstat_cgnode_hash[n], pch_next)
usr.sbin/pmcstat/pmcpl_callgraph.c
452
for (cgn = sortbuffer, n = 0; n < nentries; n++, cgn++) {
usr.sbin/pmcstat/pmcpl_callgraph.c
478
int v_attrs, vs_len, ns_len, width, len, n, nchildren;
usr.sbin/pmcstat/pmcpl_callgraph.c
543
for (cgn = sortbuffer, n = 0; n < nchildren; n++, cgn++) {
usr.sbin/pmcstat/pmcpl_callgraph.c
550
nchildren = n;
usr.sbin/pmcstat/pmcpl_callgraph.c
552
for (cgn = sortbuffer, n = 0; n < nchildren; n++, cgn++) {
usr.sbin/pmcstat/pmcpl_callgraph.c
597
int n, nentries;
usr.sbin/pmcstat/pmcpl_callgraph.c
622
for (n = 0; n < PMCSTAT_NHASH; n++)
usr.sbin/pmcstat/pmcpl_callgraph.c
623
LIST_FOREACH(pch, &pmcstat_cgnode_hash[n], pch_next)
usr.sbin/pmcstat/pmcpl_callgraph.c
645
for (cgn = sortbuffer, n = 0; n < nentries; n++, cgn++) {
usr.sbin/pmcstat/pmcpl_calltree.c
729
int i, n, pmcin;
usr.sbin/pmcstat/pmcpl_calltree.c
750
for (n = 0; n < (int)nsamples; n++) {
usr.sbin/pmcstat/pmcpl_calltree.c
751
ppm[n] = pmcstat_process_find_map(usermode ?
usr.sbin/pmcstat/pmcpl_calltree.c
752
pp : km, cc[n]);
usr.sbin/pmcstat/pmcpl_calltree.c
753
if (ppm[n] == NULL) {
usr.sbin/pmcstat/pmcpl_calltree.c
756
ppm[n] = pmcstat_process_find_map(pp, cc[n]);
usr.sbin/pmcstat/pmcpl_calltree.c
757
if (ppm[n] != NULL)
usr.sbin/pmcstat/pmcpl_calltree.c
761
if (ppm[n] == NULL)
usr.sbin/pmcstat/pmcpl_calltree.c
764
if (n-- == 0) {
usr.sbin/pmcstat/pmcpl_calltree.c
778
for (i = 1; n >= 0; n--) {
usr.sbin/pmcstat/pmcpl_calltree.c
779
image = ppm[n]->ppm_image;
usr.sbin/pmcstat/pmcpl_calltree.c
780
loadaddress = ppm[n]->ppm_lowpc +
usr.sbin/pmcstat/pmcpl_calltree.c
783
pc = cc[n] - loadaddress;
usr.sbin/pmcstat/pmcpl_calltree.c
803
n = i;
usr.sbin/pmcstat/pmcpl_calltree.c
806
for (i = 1; i < n; i++)
usr.sbin/pmcstat/pmcpl_calltree.c
812
pmcpl_ct_samples_grow(&ctl[n-1]->pct_samples);
usr.sbin/pmcstat/pmcpl_calltree.c
813
ctl[n-1]->pct_samples.sb[pmcin]++;
usr.sbin/pmcstat/pmcpl_calltree.c
817
pmcpl_ct_instr_add(ctl[n-1], pmcin, cc[0] -
usr.sbin/pmcstat/pmcpl_gprof.c
291
int n;
usr.sbin/pmcstat/pmcpl_gprof.c
294
for (n = 0; n < PMCSTAT_NHASH; n++)
usr.sbin/pmcstat/pmcpl_gprof.c
295
LIST_FOREACH(pch, &pmcstat_cgnode_hash[n], pch_next)
usr.sbin/pmcstat/pmcstat.c
174
int n, nproc, pid, rv;
usr.sbin/pmcstat/pmcstat.c
210
for (n = 0, kp = pmcstat_plist; n < nproc; n++, kp++) {
usr.sbin/ppp/auth.c
106
pam_conv(int n, const struct pam_message **msg, struct pam_response **resp,
usr.sbin/ppp/auth.c
110
if (n != 1 || msg[0]->msg_style != PAM_PROMPT_ECHO_OFF)
usr.sbin/ppp/auth.c
173
int n, lineno;
usr.sbin/ppp/auth.c
187
if ((n = MakeArgs(buff, vector, VECSIZE(vector), PARSE_REDUCE)) < 0)
usr.sbin/ppp/auth.c
189
if (n < 5)
usr.sbin/ppp/auth.c
218
int n, lineno;
usr.sbin/ppp/auth.c
248
if ((n = MakeArgs(buff, vector, VECSIZE(vector), PARSE_REDUCE)) < 0)
usr.sbin/ppp/auth.c
250
if (n < 2)
usr.sbin/ppp/auth.c
257
if (n > 2 && *vector[2] && strcmp(vector[2], "*") &&
usr.sbin/ppp/auth.c
264
if (n > 3 && *vector[3] && strcmp(vector[3], "*"))
usr.sbin/ppp/auth.c
301
int n, lineno;
usr.sbin/ppp/auth.c
315
if ((n = MakeArgs(buff, vector, VECSIZE(vector), PARSE_REDUCE)) < 0)
usr.sbin/ppp/auth.c
317
if (n < 2)
usr.sbin/ppp/auth.c
352
int n, lineno;
usr.sbin/ppp/auth.c
367
n = strlen(buff) - 1;
usr.sbin/ppp/auth.c
368
if (buff[n] == '\n')
usr.sbin/ppp/auth.c
369
buff[n] = '\0'; /* Trim the '\n' */
usr.sbin/ppp/auth.c
371
if ((n = MakeArgs(buff, vector, VECSIZE(vector), PARSE_REDUCE)) < 0)
usr.sbin/ppp/auth.c
373
if (n < 2)
usr.sbin/ppp/bundle.c
451
bundle_UpdateSet(struct fdescriptor *d, fd_set *r, fd_set *w, fd_set *e, int *n)
usr.sbin/ppp/bundle.c
478
if (*n < bundle->dev.fd + 1)
usr.sbin/ppp/bundle.c
479
*n = bundle->dev.fd + 1;
usr.sbin/ppp/bundle.c
493
result += descriptor_UpdateSet(&bundle->radius.desc, r, w, e, n);
usr.sbin/ppp/bundle.c
498
result += descriptor_UpdateSet(&dl->desc, r, w, e, n);
usr.sbin/ppp/bundle.c
505
result += descriptor_UpdateSet(&bundle->ncp.mp.server.desc, r, w, e, n);
usr.sbin/ppp/bundle.c
553
int n, pri;
usr.sbin/ppp/bundle.c
567
n = read(bundle->dev.fd, data, sz);
usr.sbin/ppp/bundle.c
568
if (n < 0) {
usr.sbin/ppp/bundle.c
574
n -= sz - sizeof tun.data;
usr.sbin/ppp/bundle.c
575
if (n <= 0) {
usr.sbin/ppp/bundle.c
577
bundle->dev.Name, n);
usr.sbin/ppp/bundle.c
595
pri = PacketCheck(bundle, af, tun.data, n, &bundle->filter.in,
usr.sbin/ppp/bundle.c
598
n += sz - sizeof tun.data;
usr.sbin/ppp/bundle.c
599
write(bundle->dev.fd, data, n);
usr.sbin/ppp/bundle.c
617
pri = PacketCheck(bundle, af, tun.data, n, &bundle->filter.dial,
usr.sbin/ppp/bundle.c
633
pri = PacketCheck(bundle, af, tun.data, n, &bundle->filter.out,
usr.sbin/ppp/bundle.c
638
ncp_Enqueue(&bundle->ncp, af, pri, (char *)&tun, n + sizeof tun.header);
usr.sbin/ppp/chap.c
397
fd_set *e __unused, int *n)
usr.sbin/ppp/chap.c
403
if (*n < chap->child.fd + 1)
usr.sbin/ppp/chap.c
404
*n = chap->child.fd + 1;
usr.sbin/ppp/chat.c
140
chat_UpdateSet(struct fdescriptor *d, fd_set *r, fd_set *w, fd_set *e, int *n)
usr.sbin/ppp/chat.c
274
return chat_UpdateSet(d, r, w, e, n);
usr.sbin/ppp/chat.c
309
return chat_UpdateSet(d, r, w, e, n);
usr.sbin/ppp/chat.c
324
return physical_doUpdateSet(&c->physical->desc, r, NULL, e, n, 1);
usr.sbin/ppp/chat.c
326
return physical_doUpdateSet(&c->physical->desc, NULL, w, e, n, 1);
usr.sbin/ppp/chat.c
387
int n;
usr.sbin/ppp/chat.c
471
for (n = c->abort.num - 1; n >= 0; n--) {
usr.sbin/ppp/chat.c
472
if (begin + c->abort.string[n].len > c->bufend)
usr.sbin/ppp/chat.c
474
if (!strncmp(begin, c->abort.string[n].data,
usr.sbin/ppp/chat.c
475
c->abort.string[n].len)) {
usr.sbin/ppp/chat.c
476
if (memchr(begin + c->abort.string[n].len - 1, '\n',
usr.sbin/ppp/chat.c
477
c->bufend - begin - c->abort.string[n].len + 1) == NULL) {
usr.sbin/ppp/chat.c
480
c->bufend = begin + c->abort.string[n].len;
usr.sbin/ppp/chat.c
484
c->bufstart = begin + c->abort.string[n].len;
usr.sbin/ppp/command.c
1168
arghidden(char const *const *argv, int n)
usr.sbin/ppp/command.c
1174
if (n == 2 && !strncasecmp(argv[0], "se", 2) &&
usr.sbin/ppp/command.c
1179
if (n == 1 && !strncasecmp(argv[0], "p", 1))
usr.sbin/ppp/command.c
1183
if (n == 3 && !strncasecmp(argv[0], "se", 2) &&
usr.sbin/ppp/command.c
1198
size_t n;
usr.sbin/ppp/command.c
1204
n = strlen(buf);
usr.sbin/ppp/command.c
1207
n = 0;
usr.sbin/ppp/command.c
1212
if (n < sizeof buf - 1 && f)
usr.sbin/ppp/command.c
1213
buf[n++] = ' ';
usr.sbin/ppp/command.c
1215
strncpy(buf+n, "********", sizeof buf - n - 1);
usr.sbin/ppp/command.c
1217
strncpy(buf+n, argv[f], sizeof buf - n - 1);
usr.sbin/ppp/command.c
1218
n += strlen(buf+n);
usr.sbin/ppp/command.c
214
int n, cmax, dmax, cols, cxlen;
usr.sbin/ppp/command.c
236
if ((n = strlen(cmd->name) + strlen(showcx(cmd))) > cmax)
usr.sbin/ppp/command.c
237
cmax = n;
usr.sbin/ppp/command.c
238
if ((n = strlen(cmd->helpmes)) > dmax)
usr.sbin/ppp/command.c
239
dmax = n;
usr.sbin/ppp/command.c
243
n = 0;
usr.sbin/ppp/command.c
250
if (n % cols != 0)
usr.sbin/ppp/command.c
254
if (++n % cols == 0)
usr.sbin/ppp/command.c
257
if (n % cols != 0)
usr.sbin/ppp/command.c
3087
int n;
usr.sbin/ppp/command.c
3093
for (n = arg->argn; n < arg->argc; n++) {
usr.sbin/ppp/command.c
3094
argv[1] = arg->argv[n];
usr.sbin/ppp/command.c
3195
int n = arg->argn;
usr.sbin/ppp/command.c
3197
if (arg->argc != n + 1)
usr.sbin/ppp/command.c
3200
if (!iface_Name(arg->bundle->iface, arg->argv[n]))
usr.sbin/ppp/command.c
3213
int n, how;
usr.sbin/ppp/command.c
3223
n = 1;
usr.sbin/ppp/command.c
3236
n = 2;
usr.sbin/ppp/command.c
3240
if (!ncpaddr_aton(&peer, NULL, arg->argv[arg->argn + n]))
usr.sbin/ppp/command.c
335
int n, mode;
usr.sbin/ppp/command.c
340
for (n = arg->argn; n < arg->argc; n++)
usr.sbin/ppp/command.c
341
if ((err = system_IsValid(arg->argv[n], arg->prompt, mode)) != NULL) {
usr.sbin/ppp/command.c
342
log_Printf(LogWARN, "%s: %s\n", arg->argv[n], err);
usr.sbin/ppp/command.c
346
for (n = arg->argn; n < arg->argc; n++) {
usr.sbin/ppp/command.c
348
system_Select(arg->bundle, arg->argv[n], CONFFILE, arg->prompt, arg->cx);
usr.sbin/ppp/datalink.c
1435
int f, n;
usr.sbin/ppp/datalink.c
1438
n = strlen(dl->name);
usr.sbin/ppp/datalink.c
1439
if ((name = (char *)malloc(n+3)) == NULL) {
usr.sbin/ppp/datalink.c
1443
for (f = n - 1; f >= 0; f--)
usr.sbin/ppp/datalink.c
1446
n = sprintf(name, "%.*s-", dl->name[f] == '-' ? f : f + 1, dl->name);
usr.sbin/ppp/datalink.c
1447
sprintf(name + n, "%d", atoi(dl->name + f + 1) + 1);
usr.sbin/ppp/datalink.c
252
int *n)
usr.sbin/ppp/datalink.c
295
return datalink_UpdateSet(d, r, w, e, n);
usr.sbin/ppp/datalink.c
340
return datalink_UpdateSet(d, r, w, e, n);
usr.sbin/ppp/datalink.c
348
return datalink_UpdateSet(d, r, w, e, n);
usr.sbin/ppp/datalink.c
359
result = descriptor_UpdateSet(&dl->chat.desc, r, w, e, n);
usr.sbin/ppp/datalink.c
369
return datalink_UpdateSet(d, r, w, e, n);
usr.sbin/ppp/datalink.c
375
return datalink_UpdateSet(d, r, w, e, n);
usr.sbin/ppp/datalink.c
379
return datalink_UpdateSet(d, r, w, e, n);
usr.sbin/ppp/datalink.c
396
return datalink_UpdateSet(d, r, w, e, n);
usr.sbin/ppp/datalink.c
407
result = descriptor_UpdateSet(&dl->chap.desc, r, w, e, n) +
usr.sbin/ppp/datalink.c
408
descriptor_UpdateSet(&dl->physical->desc, r, w, e, n);
usr.sbin/ppp/defs.c
399
int i, n;
usr.sbin/ppp/defs.c
404
n = snprintf(buf + pos, sz - pos, "%s%s", i ? " " : "", argv[i]);
usr.sbin/ppp/defs.c
405
if (n < 0) {
usr.sbin/ppp/defs.c
409
if ((pos += n) >= sz)
usr.sbin/ppp/defs.c
68
fullread(int fd, void *v, size_t n)
usr.sbin/ppp/defs.c
72
for (total = 0; total < n; total += got)
usr.sbin/ppp/defs.c
73
switch ((got = read(fd, (char *)v + total, n - total))) {
usr.sbin/ppp/descriptor.h
50
#define descriptor_UpdateSet(d, r, w, e, n) ((*(d)->UpdateSet)(d, r, w, e, n))
usr.sbin/ppp/ether.c
120
ether_Write(struct physical *p, const void *v, size_t n)
usr.sbin/ppp/ether.c
124
return NgSendData(p->fd, dev->hook, v, n) == -1 ? -1 : (ssize_t)n;
usr.sbin/ppp/ether.c
128
ether_Read(struct physical *p, void *v, size_t n)
usr.sbin/ppp/ether.c
132
return NgRecvData(p->fd, v, n, hook);
usr.sbin/ppp/ether.c
376
ether_UpdateSet(struct fdescriptor *d, fd_set *r, fd_set *w, fd_set *e, int *n)
usr.sbin/ppp/ether.c
389
result += physical_doUpdateSet(d, r, w, e, n, 0);
usr.sbin/ppp/exec.c
144
exec_Write(struct physical *p, const void *v, size_t n)
usr.sbin/ppp/exec.c
149
return write(fd, v, n);
usr.sbin/ppp/exec.c
204
exec_UpdateSet(struct fdescriptor *d, fd_set *r, fd_set *w, fd_set *e, int *n)
usr.sbin/ppp/exec.c
223
if (result && *n <= dev->fd_out)
usr.sbin/ppp/exec.c
224
*n = dev->fd_out + 1;
usr.sbin/ppp/exec.c
226
return result + physical_doUpdateSet(d, r, w, e, n, 0);
usr.sbin/ppp/filter.c
454
int n;
usr.sbin/ppp/filter.c
456
for (n = 0; n < MAXFILTERS; n++, fp++) {
usr.sbin/ppp/filter.c
458
prompt_Printf(prompt, " %2d %s", n, filter_Action2Nam(fp->f_action));
usr.sbin/ppp/filter.c
565
int n;
usr.sbin/ppp/filter.c
567
for (fp = filter->rule, n = 0; n < MAXFILTERS; fp++, n++)
usr.sbin/ppp/hdlc.c
361
hdlc_Detect(u_char const **cp, unsigned n, int issync)
usr.sbin/ppp/hdlc.c
367
while (n) {
usr.sbin/ppp/hdlc.c
371
cmp = n >= len ? len : n;
usr.sbin/ppp/hdlc.c
375
n--;
usr.sbin/ppp/id.h
69
#define ID0bind_un(s, n) bind(s, (const struct sockaddr *)(n), sizeof *(n))
usr.sbin/ppp/id.h
70
#define ID0connect_un(s, n) \
usr.sbin/ppp/id.h
71
connect(s, (const struct sockaddr *)(n), sizeof *(n))
usr.sbin/ppp/iface.c
392
int s, n, ifdescr_maxlen;
usr.sbin/ppp/iface.c
413
n = arg->argn;
usr.sbin/ppp/iface.c
414
while (n < arg->argc) {
usr.sbin/ppp/iface.c
415
if (n > arg->argn && (len = strlcat(descr, " ", sz)) >= sz)
usr.sbin/ppp/iface.c
417
if ((len = strlcat(descr, arg->argv[n], sz)) >= sz)
usr.sbin/ppp/iface.c
419
++n;
usr.sbin/ppp/iface.c
455
unsigned n;
usr.sbin/ppp/iface.c
460
for (n = 0; n < iface->addrs; n++) {
usr.sbin/ppp/iface.c
461
af = ncprange_family(&iface->addr[n].ifa);
usr.sbin/ppp/iface.c
463
if (!iface->addr[n].system && (how & IFACE_SYSTEM))
usr.sbin/ppp/iface.c
489
else if (iface_addr_Zap(iface->name, iface->addr + n, *s)) {
usr.sbin/ppp/iface.c
490
ncp_IfaceAddrDeleted(ncp, iface->addr + n);
usr.sbin/ppp/iface.c
491
bcopy(iface->addr + n + 1, iface->addr + n,
usr.sbin/ppp/iface.c
492
(iface->addrs - n - 1) * sizeof *iface->addr);
usr.sbin/ppp/iface.c
494
n--;
usr.sbin/ppp/iface.c
513
unsigned n;
usr.sbin/ppp/iface.c
524
for (n = 0; n < iface->addrs; n++) {
usr.sbin/ppp/iface.c
525
if (ncprange_contains(&iface->addr[n].ifa, &ncplocal) ||
usr.sbin/ppp/iface.c
526
ncpaddr_equal(&iface->addr[n].peer, peer)) {
usr.sbin/ppp/iface.c
533
if (ncprange_equal(&iface->addr[n].ifa, ifa) &&
usr.sbin/ppp/iface.c
534
ncpaddr_equal(&iface->addr[n].peer, peer)) {
usr.sbin/ppp/iface.c
536
ncp_IfaceAddrAdded(ncp, iface->addr + n);
usr.sbin/ppp/iface.c
540
removed = iface_addr_Zap(iface->name, iface->addr + n, s);
usr.sbin/ppp/iface.c
542
ncp_IfaceAddrDeleted(ncp, iface->addr + n);
usr.sbin/ppp/iface.c
543
ncprange_copy(&iface->addr[n].ifa, ifa);
usr.sbin/ppp/iface.c
544
ncpaddr_copy(&iface->addr[n].peer, peer);
usr.sbin/ppp/iface.c
545
if (!iface_addr_Add(iface->name, iface->addr + n, s)) {
usr.sbin/ppp/iface.c
547
bcopy(iface->addr + n + 1, iface->addr + n,
usr.sbin/ppp/iface.c
548
(iface->addrs - n - 1) * sizeof *iface->addr);
usr.sbin/ppp/iface.c
550
n--;
usr.sbin/ppp/iface.c
556
ncp_IfaceAddrAdded(ncp, iface->addr + n);
usr.sbin/ppp/iface.c
580
n = 0;
usr.sbin/ppp/iface.c
583
n = iface->addrs;
usr.sbin/ppp/iface.c
586
memcpy(iface->addr + n, &newaddr, sizeof(*iface->addr));
usr.sbin/ppp/iface.c
589
ncp_IfaceAddrAdded(ncp, iface->addr + n);
usr.sbin/ppp/iface.c
598
unsigned n;
usr.sbin/ppp/iface.c
606
for (n = res = 0; n < iface->addrs; n++) {
usr.sbin/ppp/iface.c
607
ncprange_getaddr(&iface->addr[n].ifa, &found);
usr.sbin/ppp/iface.c
609
if (iface_addr_Zap(iface->name, iface->addr + n, s)) {
usr.sbin/ppp/iface.c
610
ncp_IfaceAddrDeleted(ncp, iface->addr + n);
usr.sbin/ppp/iface.c
611
bcopy(iface->addr + n + 1, iface->addr + n,
usr.sbin/ppp/iface.c
612
(iface->addrs - n - 1) * sizeof *iface->addr);
usr.sbin/ppp/ip.c
221
int n; /* filter rule to process */
usr.sbin/ppp/ip.c
282
for (n = 0; n < MAXFILTERS; ) {
usr.sbin/ppp/ip.c
284
n++;
usr.sbin/ppp/ip.c
425
n, fp->f_proto, dbuff, filter_Action2Nam(fp->f_action));
usr.sbin/ppp/ip.c
441
log_Printf(LogDEBUG, " rule = %d: Address match, action = %s\n", n,
usr.sbin/ppp/ip.c
446
log_Printf(LogDEBUG, " rule = %d: Address mismatch\n", n);
usr.sbin/ppp/ip.c
451
fp = &filter->rule[n = fp->f_action];
usr.sbin/ppp/ip.c
461
"src = %s:%d dst = %s:%d\n", filter->name, n,
usr.sbin/ppp/ip.c
472
filter->name, n, prototxt(cproto),
usr.sbin/ppp/ip.c
479
n++;
usr.sbin/ppp/ip.c
521
char namewithdot[MAXHOSTNAMELEN + 1], *n;
usr.sbin/ppp/ip.c
525
n = namewithdot;
usr.sbin/ppp/ip.c
533
if (n != namewithdot)
usr.sbin/ppp/ip.c
534
*n++ = '.';
usr.sbin/ppp/ip.c
535
memcpy(n, ptr, len);
usr.sbin/ppp/ip.c
537
n += len;
usr.sbin/ppp/ip.c
539
*n = '\0';
usr.sbin/ppp/ip.c
574
int cproto, mask, len, n, pri, logit, result, datalen, frag;
usr.sbin/ppp/ip.c
832
for (mask = TH_FIN, n = 0; mask <= TH_FLAGS; mask <<= 1, n++) {
usr.sbin/ppp/ip.c
834
snprintf(logbuf + loglen, sizeof logbuf - loglen, " %s", TcpFlags[n]);
usr.sbin/ppp/ipcp.c
1006
if (n == iface->addrs) {
usr.sbin/ppp/ipcp.c
1032
for (n = 0; n < iface->addrs; n++)
usr.sbin/ppp/ipcp.c
1033
if (ncprange_contains(&ipcp->cfg.peer_range, &iface->addr[n].peer)) {
usr.sbin/ppp/ipcp.c
1035
ncpaddr_getip4addr(&iface->addr[n].peer, (u_int32_t *)dec->nakend);
usr.sbin/ppp/ipcp.c
1039
if (n == iface->addrs)
usr.sbin/ppp/ipcp.c
163
ipcp_AddInOctets(struct ipcp *ipcp, int n)
usr.sbin/ppp/ipcp.c
165
throughput_addin(&ipcp->throughput, n);
usr.sbin/ppp/ipcp.c
169
ipcp_AddOutOctets(struct ipcp *ipcp, int n)
usr.sbin/ppp/ipcp.c
171
throughput_addout(&ipcp->throughput, n);
usr.sbin/ppp/ipcp.c
223
int n;
usr.sbin/ppp/ipcp.c
230
n = 0;
usr.sbin/ppp/ipcp.c
252
if (n < 2 && inet_aton(cp, ipcp->ns.dns))
usr.sbin/ppp/ipcp.c
253
n++;
usr.sbin/ppp/ipcp.c
269
if (n == 2 && ipcp->ns.dns[0].s_addr == INADDR_ANY) {
usr.sbin/ppp/ipcp.c
527
unsigned n;
usr.sbin/ppp/ipcp.c
534
for (n = 0; n < iface->addrs; n++) {
usr.sbin/ppp/ipcp.c
535
if (!ncpaddr_getip4(&iface->addr[n].peer, &peer))
usr.sbin/ppp/ipcp.c
542
if (n == iface->addrs)
usr.sbin/ppp/ipcp.c
570
for (n = 0; n < iface->addrs; n++) {
usr.sbin/ppp/ipcp.c
571
ncprange_getaddr(&iface->addr[n].ifa, &ipaddr);
usr.sbin/ppp/ipcp.c
577
if (n == iface->addrs)
usr.sbin/ppp/ipcp.c
605
int n;
usr.sbin/ppp/ipcp.c
609
n = 1;
usr.sbin/ppp/ipcp.c
613
n <<= 1;
usr.sbin/ppp/ipcp.c
616
return n;
usr.sbin/ppp/ipcp.c
626
int n, ret;
usr.sbin/ppp/ipcp.c
637
if ((n = numaddresses(mask)) > 256) {
usr.sbin/ppp/ipcp.c
643
if (n >= 4) {
usr.sbin/ppp/ipcp.c
645
n -= 2;
usr.sbin/ppp/ipcp.c
647
while (n) {
usr.sbin/ppp/ipcp.c
651
n--;
usr.sbin/ppp/ipcp.c
655
ret = !n;
usr.sbin/ppp/ipcp.c
983
unsigned n;
usr.sbin/ppp/ipcp.c
997
for (n = 0; n < iface->addrs; n++) {
usr.sbin/ppp/ipcp.c
998
if (!ncpaddr_getip4(&iface->addr[n].peer, &peer))
usr.sbin/ppp/ipv6cp.c
270
int n;
usr.sbin/ppp/ipv6cp.c
285
n = 100;
usr.sbin/ppp/ipv6cp.c
286
while (n &&
usr.sbin/ppp/ipv6cp.c
289
n--;
usr.sbin/ppp/ipv6cp.c
291
} while (n
usr.sbin/ppp/ipv6cp.c
367
ipv6cp_AddInOctets(struct ipv6cp *ipv6cp, int n)
usr.sbin/ppp/ipv6cp.c
369
throughput_addin(&ipv6cp->throughput, n);
usr.sbin/ppp/ipv6cp.c
373
ipv6cp_AddOutOctets(struct ipv6cp *ipv6cp, int n)
usr.sbin/ppp/ipv6cp.c
375
throughput_addout(&ipv6cp->throughput, n);
usr.sbin/ppp/ipv6cp.c
687
int n;
usr.sbin/ppp/ipv6cp.c
725
n = 100;
usr.sbin/ppp/ipv6cp.c
726
while (n && !ipcp_SetIPv6address(ipv6cp, ifid, ipv6cp->his_ifid)) {
usr.sbin/ppp/ipv6cp.c
728
n--;
usr.sbin/ppp/ipv6cp.c
730
} while (n && memcmp(ifid, ipv6cp->his_ifid, IPV6CP_IFIDLEN) == 0);
usr.sbin/ppp/ipv6cp.c
733
if (n == 0) {
usr.sbin/ppp/lcp.h
40
#define CALLBACK_BIT(n) ((n) < 0 ? 0 : 1 << (n))
usr.sbin/ppp/link.c
75
link_AddInOctets(struct link *l, int n)
usr.sbin/ppp/link.c
78
throughput_addin(&l->stats.total, n);
usr.sbin/ppp/link.c
80
throughput_addin(l->stats.parent, n);
usr.sbin/ppp/link.c
85
link_AddOutOctets(struct link *l, int n)
usr.sbin/ppp/link.c
88
throughput_addout(&l->stats.total, n);
usr.sbin/ppp/link.c
90
throughput_addout(l->stats.parent, n);
usr.sbin/ppp/log.c
403
log_DumpBuff(int lev, const char *hdr, const u_char *ptr, int n)
usr.sbin/ppp/log.c
411
while (n > 0) {
usr.sbin/ppp/log.c
414
for (b = buf; b != buf + 48 && n--; b += 3, ptr++) {
usr.sbin/ppp/log.c
73
#define MSK(n) (1<<((n)-1))
usr.sbin/ppp/lqr.c
131
unsigned n;
usr.sbin/ppp/lqr.c
135
for (n = 0; n < sizeof(struct lqrdata) / sizeof(u_int32_t); n++, sp++, dp++)
usr.sbin/ppp/mbuf.c
273
m_adj(struct mbuf *bp, ssize_t n)
usr.sbin/ppp/mbuf.c
275
if (n > 0) {
usr.sbin/ppp/mbuf.c
277
if ((size_t)n < bp->m_len) {
usr.sbin/ppp/mbuf.c
278
bp->m_len = n;
usr.sbin/ppp/mbuf.c
279
bp->m_offset += n;
usr.sbin/ppp/mbuf.c
282
n -= bp->m_len;
usr.sbin/ppp/mbuf.c
286
if ((n = m_length(bp) + n) <= 0) {
usr.sbin/ppp/mbuf.c
290
for (; bp; bp = bp->m_next, n -= bp->m_len)
usr.sbin/ppp/mbuf.c
291
if ((size_t)n < bp->m_len) {
usr.sbin/ppp/mbuf.c
292
bp->m_len = n;
usr.sbin/ppp/mp.c
1042
int *n)
usr.sbin/ppp/mp.c
1061
if (*n < s->fd + 1)
usr.sbin/ppp/mp.c
1062
*n = s->fd + 1;
usr.sbin/ppp/mppe.c
246
int dictinit, flushed, ilen, len, n;
usr.sbin/ppp/mppe.c
294
n = (prefix >> MPPE_HEADER_FLAGSHIFT) -
usr.sbin/ppp/mppe.c
296
if (n < 0)
usr.sbin/ppp/mppe.c
297
n += MPPE_HEADER_STATEFUL_KEYCHANGES;
usr.sbin/ppp/mppe.c
298
while (n--) {
usr.sbin/ppp/mppe.c
387
int len, n;
usr.sbin/ppp/mppe.c
391
if ((n = snprintf(buf, sizeof buf, "value 0x%08x ", (unsigned)val)) > 0)
usr.sbin/ppp/mppe.c
392
len += n;
usr.sbin/ppp/mppe.c
394
if ((n = snprintf(buf + len, sizeof buf - len, "(0")) > 0)
usr.sbin/ppp/mppe.c
395
len += n;
usr.sbin/ppp/mppe.c
399
if ((n = snprintf(buf + len, sizeof buf - len, "%c128", ch)) > 0)
usr.sbin/ppp/mppe.c
400
len += n;
usr.sbin/ppp/mppe.c
404
if ((n = snprintf(buf + len, sizeof buf - len, "%c56", ch)) > 0)
usr.sbin/ppp/mppe.c
405
len += n;
usr.sbin/ppp/mppe.c
409
if ((n = snprintf(buf + len, sizeof buf - len, "%c40", ch)) > 0)
usr.sbin/ppp/mppe.c
410
len += n;
usr.sbin/ppp/mppe.c
415
if ((n = snprintf(buf + len, sizeof buf - len, " bits, state%s",
usr.sbin/ppp/mppe.c
417
len += n;
usr.sbin/ppp/mppe.c
420
if ((n = snprintf(buf + len, sizeof buf - len, ", compressed")) > 0)
usr.sbin/ppp/mppe.c
421
len += n;
usr.sbin/ppp/ncp.c
513
int n;
usr.sbin/ppp/ncp.c
515
n = !!(ncp->ipcp.fsm.state == ST_OPENED);
usr.sbin/ppp/ncp.c
517
n += !!(ncp->ipv6cp.fsm.state == ST_OPENED);
usr.sbin/ppp/ncp.c
520
return n;
usr.sbin/ppp/ncp.c
526
int n = 0;
usr.sbin/ppp/ncp.c
530
n++;
usr.sbin/ppp/ncp.c
535
n++;
usr.sbin/ppp/ncp.c
538
return n;
usr.sbin/ppp/netgraph.c
221
ng_Write(struct physical *p, const void *v, size_t n)
usr.sbin/ppp/netgraph.c
228
return ng_MessageOut(dev, v) ? (ssize_t)n : -1;
usr.sbin/ppp/netgraph.c
230
return NgSendData(p->fd, dev->hook, v, n) == -1 ? -1 : (ssize_t)n;
usr.sbin/ppp/netgraph.c
234
ng_Read(struct physical *p, void *v, size_t n)
usr.sbin/ppp/netgraph.c
241
return ng_MessageIn(p, v, n);
usr.sbin/ppp/netgraph.c
244
return NgRecvData(p->fd, v, n, hook);
usr.sbin/ppp/netgraph.c
353
ng_UpdateSet(struct fdescriptor *d, fd_set *r, fd_set *w, fd_set *e, int *n)
usr.sbin/ppp/netgraph.c
371
result = physical_doUpdateSet(d, r, w, e, n, 0);
usr.sbin/ppp/physical.c
140
int *n)
usr.sbin/ppp/physical.c
142
return physical_doUpdateSet(d, r, w, e, n, 0);
usr.sbin/ppp/physical.c
426
int n, slot;
usr.sbin/ppp/physical.c
455
if (p->fd >= 0 && ioctl(p->fd, TIOCOUTQ, &n) >= 0)
usr.sbin/ppp/physical.c
456
prompt_Printf(arg->prompt, " Physical outq: %d\n", n);
usr.sbin/ppp/physical.c
467
for (n = 0; n < p->cfg.ndev; n++) {
usr.sbin/ppp/physical.c
468
if (n)
usr.sbin/ppp/physical.c
523
int n, found;
usr.sbin/ppp/physical.c
528
n = physical_Read(p, rbuff, sizeof p->input.buf - p->input.sz);
usr.sbin/ppp/physical.c
530
p->link.name, n, (int)(sizeof p->input.buf - p->input.sz), p->fd);
usr.sbin/ppp/physical.c
531
if (n <= 0) {
usr.sbin/ppp/physical.c
532
if (n < 0)
usr.sbin/ppp/physical.c
543
n += p->input.sz;
usr.sbin/ppp/physical.c
547
found = hdlc_Detect((u_char const **)&rbuff, n, physical_IsSync(p));
usr.sbin/ppp/physical.c
551
p->input.sz = n - (rbuff - p->input.buf);
usr.sbin/ppp/physical.c
566
} else if (n > 0)
usr.sbin/ppp/physical.c
567
link_PullPacket(&p->link, rbuff, n, bundle);
usr.sbin/ppp/physical.c
649
unsigned biggest, sz, n;
usr.sbin/ppp/physical.c
652
for (n = 0; n < NDEVICES; n++)
usr.sbin/ppp/physical.c
653
if (devices[n].DeviceSize) {
usr.sbin/ppp/physical.c
654
sz = (*devices[n].DeviceSize)();
usr.sbin/ppp/physical.c
828
int *n, int force)
usr.sbin/ppp/physical.c
850
if (sets && *n < p->fd + 1)
usr.sbin/ppp/physical.c
851
*n = p->fd + 1;
usr.sbin/ppp/prompt.c
133
fd_set *e, int *n)
usr.sbin/ppp/prompt.c
154
if (sets && *n < p->fd_in + 1)
usr.sbin/ppp/prompt.c
155
*n = p->fd_in + 1;
usr.sbin/ppp/prompt.c
188
int n;
usr.sbin/ppp/prompt.c
193
n = read(p->fd_in, linebuff, sizeof linebuff - 1);
usr.sbin/ppp/prompt.c
194
if (n > 0) {
usr.sbin/ppp/prompt.c
195
if (linebuff[n-1] == '\n')
usr.sbin/ppp/prompt.c
196
linebuff[--n] = '\0';
usr.sbin/ppp/prompt.c
198
linebuff[n] = '\0';
usr.sbin/ppp/prompt.c
201
if (n) {
usr.sbin/ppp/prompt.c
204
if (!command_Decode(bundle, linebuff, n, p, p->src.from))
usr.sbin/ppp/prompt.c
208
} else if (n <= 0) {
usr.sbin/ppp/prompt.c
243
n = read(p->fd_in, &ch, 1);
usr.sbin/ppp/prompt.c
244
log_Printf(LogDEBUG, "Got %d bytes (reading from the terminal)\n", n);
usr.sbin/ppp/prompt.c
246
if (n > 0) {
usr.sbin/ppp/prompt.c
252
if (physical_Write(p->TermMode->physical, &ch, n) < 0) {
usr.sbin/ppp/prompt.c
292
if (physical_Write(p->TermMode->physical, &ch, n) < 0) {
usr.sbin/ppp/radius.c
715
fd_set *e __unused, int *n)
usr.sbin/ppp/radius.c
721
if (*n < rad->cx.fd + 1)
usr.sbin/ppp/radius.c
722
*n = rad->cx.fd + 1;
usr.sbin/ppp/server.c
51
server_UpdateSet(struct fdescriptor *d, fd_set *r, fd_set *w, fd_set *e, int *n)
usr.sbin/ppp/server.c
59
if (*n < s->fd + 1)
usr.sbin/ppp/server.c
60
*n = s->fd + 1;
usr.sbin/ppp/server.c
67
sets += descriptor_UpdateSet(&p->desc, r, w, e, n);
usr.sbin/ppp/slcompress.c
105
#define ENCODE(n) { \
usr.sbin/ppp/slcompress.c
106
if ((u_short)(n) >= 256) { \
usr.sbin/ppp/slcompress.c
108
cp[1] = (n); \
usr.sbin/ppp/slcompress.c
109
cp[0] = (n) >> 8; \
usr.sbin/ppp/slcompress.c
112
*cp++ = (n); \
usr.sbin/ppp/slcompress.c
115
#define ENCODEZ(n) { \
usr.sbin/ppp/slcompress.c
116
if ((u_short)(n) >= 256 || (u_short)(n) == 0) { \
usr.sbin/ppp/slcompress.c
118
cp[1] = (n); \
usr.sbin/ppp/slcompress.c
119
cp[0] = (n) >> 8; \
usr.sbin/ppp/slcompress.c
122
*cp++ = (n); \
usr.sbin/ppp/systems.c
267
int len, n;
usr.sbin/ppp/systems.c
269
n = 0;
usr.sbin/ppp/systems.c
271
n++;
usr.sbin/ppp/systems.c
284
return n;
usr.sbin/ppp/systems.c
321
int n, len;
usr.sbin/ppp/systems.c
344
while ((n = xgets(line, sizeof line, fp))) {
usr.sbin/ppp/systems.c
345
linenum += n;
usr.sbin/ppp/systems.c
359
n = ReadSystem(bundle, name, arg, prompt, cx, how);
usr.sbin/ppp/systems.c
361
if (!n) {
usr.sbin/ppp/systems.c
382
while ((n = xgets(line, sizeof line, fp))) {
usr.sbin/ppp/systems.c
383
linenum += n;
usr.sbin/ppp/throughput.c
240
throughput_addin(struct pppThroughput *t, long long n)
usr.sbin/ppp/throughput.c
242
t->OctetsIn += n;
usr.sbin/ppp/throughput.c
247
throughput_addout(struct pppThroughput *t, long long n)
usr.sbin/ppp/throughput.c
249
t->OctetsOut += n;
usr.sbin/ppp/timer.c
196
time_t n = time(NULL);
usr.sbin/ppp/timer.c
198
if (n > t)
usr.sbin/ppp/timer.c
200
t = n;
usr.sbin/ppp/tty.c
407
tty_Write(struct physical *p, const void *v, size_t n)
usr.sbin/ppp/tty.c
412
return NgSendData(p->fd, dev->hook, v, n) == -1 ? -1 : (ssize_t)n;
usr.sbin/ppp/tty.c
414
return write(p->fd, v, n);
usr.sbin/ppp/tty.c
418
tty_Read(struct physical *p, void *v, size_t n)
usr.sbin/ppp/tty.c
424
return NgRecvData(p->fd, v, n, hook);
usr.sbin/ppp/tty.c
426
return read(p->fd, v, n);
usr.sbin/ppp/udp.c
102
ret = write(p->fd, v, n);
usr.sbin/ppp/udp.c
111
udp_Recvfrom(struct physical *p, void *v, size_t n)
usr.sbin/ppp/udp.c
117
return read(p->fd, v, n);
usr.sbin/ppp/udp.c
120
ret = recvfrom(p->fd, v, n, 0, (struct sockaddr *)&dev->sock, &sz);
usr.sbin/ppp/udp.c
83
udp_Sendto(struct physical *p, const void *v, size_t n)
usr.sbin/ppp/udp.c
90
ret = write(p->fd, v, n);
usr.sbin/ppp/udp.c
95
ret = sendto(p->fd, v, n, 0, (struct sockaddr *)&dev->sock,
usr.sbin/pppctl/pppctl.c
373
int n, arg, fd, len, verbose, save_errno, hide1, hide1off, hide2;
usr.sbin/pppctl/pppctl.c
432
n = snprintf(title + pos, sizeof title - pos, "%s%s",
usr.sbin/pppctl/pppctl.c
435
n = snprintf(title + pos, sizeof title - pos, " %.*s",
usr.sbin/pppctl/pppctl.c
438
n = 0;
usr.sbin/pppctl/pppctl.c
439
if (n < 0 || n >= sizeof title - pos)
usr.sbin/pppctl/pppctl.c
441
pos += n;
usr.sbin/pstat/pstat.c
259
unsigned int i, n;
usr.sbin/pstat/pstat.c
271
n = len / sizeof(*xttys);
usr.sbin/pstat/pstat.c
272
for (i = 0; i < n; i++)
usr.sbin/pstat/pstat.c
544
int i, n;
usr.sbin/pstat/pstat.c
546
n = kvm_getswapinfo(kd, kswap, sizeof kswap / sizeof kswap[0],
usr.sbin/pstat/pstat.c
550
for (i = 0; i < n; ++i)
usr.sbin/pstat/pstat.c
561
int mib[16], n;
usr.sbin/pstat/pstat.c
567
for (n = 0; ; ++n) {
usr.sbin/pstat/pstat.c
568
mib[mibsize] = n;
usr.sbin/pw/pw_group.c
52
struct termios t, n;
usr.sbin/pw/pw_group.c
68
n = t;
usr.sbin/pw/pw_group.c
70
n.c_lflag &= ~(ECHO);
usr.sbin/pw/pw_group.c
71
tcsetattr(fd, TCSANOW, &n);
usr.sbin/pw/pw_user.c
169
struct termios t, n;
usr.sbin/pw/pw_user.c
186
n = t;
usr.sbin/pw/pw_user.c
187
n.c_lflag &= ~(ECHO);
usr.sbin/pw/pw_user.c
188
tcsetattr(fd, TCSANOW, &n);
usr.sbin/quot/quot.c
360
int n;
usr.sbin/quot/quot.c
375
for (usr = usrs, n = nusers; --n >= 0 && usr->count; usr++) {
usr.sbin/quot/quot.c
92
#define SIZE(n) ((int)(((intmax_t)(n) * 512 + blocksize - 1) / blocksize))
usr.sbin/rarpd/rarpd.c
376
int n = 0;
usr.sbin/rarpd/rarpd.c
383
(void)sprintf(device, "/dev/bpf%d", n++);
usr.sbin/rarpd/rarpd.c
845
u_int n;
usr.sbin/rarpd/rarpd.c
869
n = write(ii->ii_fd, (char *)ep, len);
usr.sbin/rarpd/rarpd.c
870
if (n != len)
usr.sbin/rarpd/rarpd.c
871
logmsg(LOG_ERR, "write: only %d of %d bytes written", n, len);
usr.sbin/rarpd/rarpd.c
905
int n;
usr.sbin/rarpd/rarpd.c
911
n = 4;
usr.sbin/rarpd/rarpd.c
924
} while (--n > 0);
usr.sbin/rip6query/rip6query.c
155
n = (len - sizeof(struct rip6) + sizeof(struct netinfo6)) /
usr.sbin/rip6query/rip6query.c
158
for (i = 0; i < n; i++, np++) {
usr.sbin/rip6query/rip6query.c
60
#define RIPSIZE(n) (sizeof(struct rip6) + (n-1) * sizeof(struct netinfo6))
usr.sbin/rip6query/rip6query.c
72
int i, n, len;
usr.sbin/rmt/rmt.c
123
n = atoi(count);
usr.sbin/rmt/rmt.c
125
record = checkbuf(record, n);
usr.sbin/rmt/rmt.c
126
for (i = 0; i < n; i += cc) {
usr.sbin/rmt/rmt.c
127
cc = read(STDIN_FILENO, &record[i], n - i);
usr.sbin/rmt/rmt.c
133
rval = write(tape, record, n);
usr.sbin/rmt/rmt.c
141
n = atoi(count);
usr.sbin/rmt/rmt.c
142
record = checkbuf(record, n);
usr.sbin/rmt/rmt.c
143
rval = read(tape, record, n);
usr.sbin/rmt/rmt.c
70
int n, i, cc;
usr.sbin/route6d/route6d.c
3388
plen2mask(int n)
usr.sbin/route6d/route6d.c
3396
for (i = 0; i < 16; i++, p++, n -= 8) {
usr.sbin/route6d/route6d.c
3397
if (n >= 8) {
usr.sbin/route6d/route6d.c
3401
*p = pl2m[n];
usr.sbin/route6d/route6d.c
355
#define FLAG(c, flag, n) case c: do { flag = n; break; } while(0)
usr.sbin/route6d/route6d.c
3552
int n, nsize;
usr.sbin/route6d/route6d.c
3565
n = nindex2ifc;
usr.sbin/route6d/route6d.c
3568
if (n != nsize) {
usr.sbin/route6d/route6d.c
3575
memset(p + n, 0, sizeof(*index2ifc) * (nindex2ifc - n));
usr.sbin/route6d/route6d.c
746
#define RIPSIZE(n) \
usr.sbin/route6d/route6d.c
747
(sizeof(struct rip6) + ((n)-1) * sizeof(struct netinfo6))
usr.sbin/route6d/route6d.c
81
#define ADVANCE(x, n) (x += ROUNDUP((n)->sa_len))
usr.sbin/rpc.lockd/lockd_lock.c
2011
size_t n;
usr.sbin/rpc.lockd/lockd_lock.c
2026
n = strnlen(hostname, SM_MAXSTRLEN);
usr.sbin/rpc.lockd/lockd_lock.c
2027
if (n == SM_MAXSTRLEN) {
usr.sbin/rpc.lockd/lockd_lock.c
2030
nhp = malloc(sizeof(*nhp) - sizeof(nhp->name) + n + 1);
usr.sbin/rpc.lockd/lockd_lock.c
2037
memcpy(nhp->name, hostname, n);
usr.sbin/rpc.lockd/lockd_lock.c
2038
nhp->name[n] = 0;
usr.sbin/rpc.lockd/lockd_lock.c
376
size_t n;
usr.sbin/rpc.lockd/lockd_lock.c
379
n = strnlen(caller_name, SM_MAXSTRLEN);
usr.sbin/rpc.lockd/lockd_lock.c
380
if (n == SM_MAXSTRLEN) {
usr.sbin/rpc.lockd/lockd_lock.c
384
newfl = malloc(sizeof(*newfl) - sizeof(newfl->client_name) + n + 1);
usr.sbin/rpc.lockd/lockd_lock.c
389
memcpy(newfl->client_name, caller_name, n);
usr.sbin/rpc.lockd/lockd_lock.c
390
newfl->client_name[n] = 0;
usr.sbin/rpcbind/rpcb_svc_com.c
1088
int n, poll_ret, check_ret;
usr.sbin/rpcbind/rpcb_svc_com.c
1095
for (n = 0; n <= svc_maxfd; n++) {
usr.sbin/rpcbind/rpcb_svc_com.c
1096
if (FD_ISSET(n, &svc_fdset)) {
usr.sbin/rpcbind/rpcb_svc_com.c
1097
p->fd = n;
usr.sbin/rtadvd/control.c
101
if (n != (ssize_t)sizeof(*cm)) {
usr.sbin/rtadvd/control.c
147
n = read(fd, msg, msglen);
usr.sbin/rtadvd/control.c
148
if (n < 0 && errno == EAGAIN) {
usr.sbin/rtadvd/control.c
156
if (n != (ssize_t)msglen) {
usr.sbin/rtadvd/control.c
62
ssize_t n;
usr.sbin/rtadvd/control.c
91
n = read(fd, cm, sizeof(*cm));
usr.sbin/rtadvd/control.c
92
if (n < 0 && errno == EAGAIN) {
usr.sbin/rtadvd/rtadvd.c
467
int n, type, ifindex = 0, plen;
usr.sbin/rtadvd/rtadvd.c
484
n = read(s->si_fd, msg, sizeof(msg));
usr.sbin/rtadvd/rtadvd.c
487
"(type = %d, len = %d)", __func__, rtm->rtm_type, n);
usr.sbin/rtadvd/rtadvd.c
489
if (n > rtm->rtm_msglen) {
usr.sbin/rtadvd/rtadvd.c
498
__func__, n, rtm->rtm_msglen);
usr.sbin/rtadvd/rtadvd.c
501
n = rtm->rtm_msglen;
usr.sbin/rtadvd/rtadvd.c
505
lim = msg + n;
usr.sbin/rtsold/cap_sendmsg.c
178
ssize_t n;
usr.sbin/rtsold/cap_sendmsg.c
189
n = sendpacket(rssock, &dst, ifindex, 255, data, len);
usr.sbin/rtsold/cap_sendmsg.c
190
if (n < 0 || (size_t)n != len)
usr.sbin/rtsold/dump.c
163
int n;
usr.sbin/rtsold/dump.c
180
n = snprintf(p, ep - p, "%dd", days);
usr.sbin/rtsold/dump.c
181
if (n < 0 || n >= ep - p)
usr.sbin/rtsold/dump.c
183
p += n;
usr.sbin/rtsold/dump.c
187
n = snprintf(p, ep - p, "%dh", hours);
usr.sbin/rtsold/dump.c
188
if (n < 0 || n >= ep - p)
usr.sbin/rtsold/dump.c
190
p += n;
usr.sbin/rtsold/dump.c
194
n = snprintf(p, ep - p, "%dm", mins);
usr.sbin/rtsold/dump.c
195
if (n < 0 || n >= ep - p)
usr.sbin/rtsold/dump.c
197
p += n;
usr.sbin/rtsold/rtsock.c
105
n = read(s, msg, sizeof(msg));
usr.sbin/rtsold/rtsock.c
107
lim = msg + n;
usr.sbin/rtsold/rtsock.c
95
ssize_t n;
usr.sbin/rtsold/rtsold.c
837
static int n = 0;
usr.sbin/rtsold/rtsold.c
844
while (n--)
usr.sbin/rtsold/rtsold.c
845
free(argv[n]);
usr.sbin/rtsold/rtsold.c
850
n = 0;
usr.sbin/rtsold/rtsold.c
873
for (i = 0; i < n; i++) {
usr.sbin/rtsold/rtsold.c
901
if (n != 0 && dflag > 1)
usr.sbin/rtsold/rtsold.c
905
a = realloc(argv, (n + 1) * sizeof(char *));
usr.sbin/rtsold/rtsold.c
911
argv[n] = strdup(ifa->ifa_name);
usr.sbin/rtsold/rtsold.c
912
if (!argv[n]) {
usr.sbin/rtsold/rtsold.c
916
n++;
usr.sbin/rtsold/rtsold.c
919
if (n) {
usr.sbin/rtsold/rtsold.c
920
a = realloc(argv, (n + 1) * sizeof(char *));
usr.sbin/rtsold/rtsold.c
926
argv[n] = NULL;
usr.sbin/rtsold/rtsold.c
929
for (i = 0; i < n; i++)
usr.sbin/rwhod/rwhod.c
410
int i, n;
usr.sbin/rwhod/rwhod.c
412
n = (cc - WHDRSIZE) / sizeof(struct whoent);
usr.sbin/rwhod/rwhod.c
419
for (i = 0; i < n; i++) {
usr.sbin/smbmsg/smbmsg.c
226
int i, n, errs = 0;
usr.sbin/smbmsg/smbmsg.c
304
if ((n = getnum(*argv)) == -1)
usr.sbin/smbmsg/smbmsg.c
306
if (n < 0 || n >= 65535)
usr.sbin/smbmsg/smbmsg.c
307
errx(EX_USAGE, "Value out of range: %d", n);
usr.sbin/smbmsg/smbmsg.c
308
oword = n;
usr.sbin/smbmsg/smbmsg.c
314
if ((n = getnum(*argv)) == -1)
usr.sbin/smbmsg/smbmsg.c
316
if (n < 0 || n >= 256)
usr.sbin/smbmsg/smbmsg.c
317
errx(EX_USAGE, "Value out of range: %d", n);
usr.sbin/smbmsg/smbmsg.c
318
obuf[i] = n;
usr.sbin/snapinfo/snapinfo.c
102
for (n = 0; n < fscount; n++) {
usr.sbin/snapinfo/snapinfo.c
103
if (!strncmp(mntbuf[n].f_fstypename, "ufs", 3)) {
usr.sbin/snapinfo/snapinfo.c
104
if (all || strcmp(path, mntbuf[n].f_mntonname) == 0) {
usr.sbin/snapinfo/snapinfo.c
105
find_snapshot(&mntbuf[n]);
usr.sbin/snapinfo/snapinfo.c
59
int all = 0, ch, done = 0, fscount, n;
usr.sbin/sndctl/sndctl.c
350
int n, prev;
usr.sbin/sndctl/sndctl.c
362
n = strtol(arg, NULL, 10);
usr.sbin/sndctl/sndctl.c
369
if (sysctlbyname(buf, NULL, 0, &n, size) < 0) {
usr.sbin/sndctl/sndctl.c
370
xo_warn("sysctlbyname(%s, %d)", buf, n);
usr.sbin/sndctl/sndctl.c
376
if (sysctlbyname(buf, &n, &size, NULL, 0) < 0) {
usr.sbin/sndctl/sndctl.c
382
printf("%s: %d -> %d\n", buf, prev, n);
usr.sbin/sndctl/sndctl.c
384
*var = n;
usr.sbin/syslogd/syslogd.c
1298
long n;
usr.sbin/syslogd/syslogd.c
1310
n = strtol(msg + 1, &q, 10);
usr.sbin/syslogd/syslogd.c
1311
if (errno == 0 && *q == msg[i] && n >= 0 && n <= INT_MAX) {
usr.sbin/syslogd/syslogd.c
1312
pri = n;
usr.sbin/syslogd/syslogd.c
1387
long n;
usr.sbin/syslogd/syslogd.c
1396
n = strtol(p + 1, &q, 10);
usr.sbin/syslogd/syslogd.c
1397
if (*q == '>' && n >= 0 && n < INT_MAX && errno == 0) {
usr.sbin/syslogd/syslogd.c
1399
pri = n;
usr.sbin/traceroute/ifaddrlist.c
102
n = ifrp->ifr_addr.sa_len + sizeof(ifrp->ifr_name);
usr.sbin/traceroute/ifaddrlist.c
103
if (n < sizeof(*ifrp))
usr.sbin/traceroute/ifaddrlist.c
106
ifnext = (struct ifreq *)((char *)ifrp + n);
usr.sbin/traceroute/ifaddrlist.c
66
size_t n;
usr.sbin/traceroute/traceroute.c
1916
register int n;
usr.sbin/traceroute/traceroute.c
1935
hi->n = 1;
usr.sbin/traceroute/traceroute.c
1961
for (n = 0, p = hp->h_addr_list; *p != NULL; ++n, ++p)
usr.sbin/traceroute/traceroute.c
1963
hi->n = n;
usr.sbin/traceroute/traceroute.c
1964
hi->addrs = calloc(n, sizeof(hi->addrs[0]));
usr.sbin/traceroute/traceroute.c
281
int n;
usr.sbin/traceroute/traceroute.c
478
register int op, code, n;
usr.sbin/traceroute/traceroute.c
727
if (hi->n > 1)
usr.sbin/traceroute/traceroute.c
854
n = ifaddrlist(&al, errbuf);
usr.sbin/traceroute/traceroute.c
855
if (n < 0) {
usr.sbin/traceroute/traceroute.c
859
if (n == 0) {
usr.sbin/traceroute/traceroute.c
867
for (i = n; i > 0; --i, ++al)
usr.sbin/traceroute/traceroute.c
901
for (i = hi->n, ap = hi->addrs; i > 0; --i, ++ap)
usr.sbin/traceroute/traceroute.c
913
if (hi->n > 1)
usr.sbin/uhsoctl/uhsoctl.c
1320
int n;
usr.sbin/uhsoctl/uhsoctl.c
1329
n = fscanf(fp, "%d", &pid);
usr.sbin/uhsoctl/uhsoctl.c
1331
if (n != 1) {
usr.sbin/uhsoctl/uhsoctl.c
445
int i, n, fd;
usr.sbin/uhsoctl/uhsoctl.c
500
n = read(fd, ctx->resolv, sb.st_size);
usr.sbin/uhsoctl/uhsoctl.c
501
if (n != sb.st_size) {
usr.sbin/uhsoctl/uhsoctl.c
559
int n = 0, pos = 0;
usr.sbin/uhsoctl/uhsoctl.c
563
n = read(fd, p, 1);
usr.sbin/uhsoctl/uhsoctl.c
564
if (n <= 0)
usr.sbin/uhsoctl/uhsoctl.c
573
return (n <= 0 ? n : pos);
usr.sbin/uhsoctl/uhsoctl.c
585
int n, error, retval = 0;
usr.sbin/uhsoctl/uhsoctl.c
599
n = write(ctx->fd, cmd, l);
usr.sbin/uhsoctl/uhsoctl.c
600
if (n <= 0)
usr.sbin/uhsoctl/uhsoctl.c
630
n = readline(ctx->fd, buf, sizeof(buf));
usr.sbin/uhsoctl/uhsoctl.c
631
if (n <= 0) {
usr.sbin/uhsoctl/uhsoctl.c
725
int n, reg;
usr.sbin/uhsoctl/uhsoctl.c
727
n = sscanf(resp, "+CREG: %*d,%d", &reg);
usr.sbin/uhsoctl/uhsoctl.c
728
if (n != 1) {
usr.sbin/uhsoctl/uhsoctl.c
729
n = sscanf(resp, "+CREG: %d", &reg);
usr.sbin/uhsoctl/uhsoctl.c
730
if (n != 1)
usr.sbin/uhsoctl/uhsoctl.c
752
int n, reg;
usr.sbin/uhsoctl/uhsoctl.c
754
n = sscanf(resp, "+CGREG: %*d,%d", &reg);
usr.sbin/uhsoctl/uhsoctl.c
755
if (n != 1) {
usr.sbin/uhsoctl/uhsoctl.c
756
n = sscanf(resp, "+CGREG: %d", &reg);
usr.sbin/uhsoctl/uhsoctl.c
757
if (n != 1)
usr.sbin/uhsoctl/uhsoctl.c
780
int n, at;
usr.sbin/uhsoctl/uhsoctl.c
783
n = sscanf(resp, "+COPS: %*d,%*d,\"%[^\"]\",%d",
usr.sbin/uhsoctl/uhsoctl.c
785
if (n != 2)
usr.sbin/uhsoctl/uhsoctl.c
829
int n, rssi;
usr.sbin/uhsoctl/uhsoctl.c
831
n = sscanf(resp, "+CSQ: %d,%*d", &rssi);
usr.sbin/uhsoctl/uhsoctl.c
832
if (n != 1)
usr.sbin/uhsoctl/uhsoctl.c
848
int n, i;
usr.sbin/uhsoctl/uhsoctl.c
850
n = sscanf(resp, "_OWANCALL: %*d,%d", &i);
usr.sbin/uhsoctl/uhsoctl.c
851
if (n != 1)
usr.sbin/uhsoctl/uhsoctl.c
876
int n, error, rs;
usr.sbin/uhsoctl/uhsoctl.c
886
n = sscanf(resp, "_OWANDATA: %*d, %[^,], %*[^,], %[^,], %[^,]",
usr.sbin/uhsoctl/uhsoctl.c
888
if (n != 3)
usr.sbin/uhsoctl/uhsoctl.c
967
n = write(rs, &r, r.rtm.rtm_msglen);
usr.sbin/uhsoctl/uhsoctl.c
968
if (n != r.rtm.rtm_msglen) {
usr.sbin/uhsoctl/uhsoctl.c
970
n = write(rs, &r, r.rtm.rtm_msglen);
usr.sbin/uhsoctl/uhsoctl.c
972
n = write(rs, &r, r.rtm.rtm_msglen);
usr.sbin/uhsoctl/uhsoctl.c
975
if (n != r.rtm.rtm_msglen) {
usr.sbin/uhsoctl/uhsoctl.c
989
int n, i;
usr.sbin/uhsoctl/uhsoctl.c
996
n = readline(ctx->fd, buf, sizeof(buf));
usr.sbin/uhsoctl/uhsoctl.c
997
if (n <= 0)
usr.sbin/uhsoctl/uhsoctl.c
998
return (n <= 0 ? -1 : 0);
usr.sbin/usbconfig/dump.c
540
uint8_t n;
usr.sbin/usbconfig/dump.c
564
for (n = 0; n != 255; n++) {
usr.sbin/usbconfig/dump.c
565
if (libusb20_dev_get_iface_desc(pdev, n, buf, sizeof(buf)))
usr.sbin/usbconfig/dump.c
571
libusb20_dev_get_address(pdev), n, buf);
usr.sbin/usbconfig/dump.c
59
#define DUMP0(n,type,field,...) dump_field(pdev, " ", #field, n->field);
usr.sbin/usbconfig/dump.c
60
#define DUMP0L(n,type,field,...) dump_fieldl(pdev, " ", #field, n->field);
usr.sbin/usbconfig/dump.c
61
#define DUMP1(n,type,field,...) dump_field(pdev, " ", #field, n->field);
usr.sbin/usbconfig/dump.c
62
#define DUMP2(n,type,field,...) dump_field(pdev, " ", #field, n->field);
usr.sbin/usbconfig/dump.c
63
#define DUMP3(n,type,field,...) dump_field(pdev, " ", #field, n->field);
usr.sbin/usbconfig/dump.c
703
uint8_t n;
usr.sbin/usbconfig/dump.c
718
for (n = 0; n != len; n++) {
usr.sbin/usbconfig/dump.c
719
printf("0x%02x%s", (uint8_t)pbuf[n],
usr.sbin/usbconfig/dump.c
720
(n != (len - 1)) ? ", " : "");
usr.sbin/usbconfig/usbconfig.c
216
uint8_t n;
usr.sbin/usbconfig/usbconfig.c
218
for (n = 0; n != nitems(token); n++) {
usr.sbin/usbconfig/usbconfig.c
219
if (strcasecmp(str, token[n].name) == 0) {
usr.sbin/usbconfig/usbconfig.c
220
if (token[n].narg > narg) {
usr.sbin/usbconfig/usbconfig.c
224
return (token[n].value);
usr.sbin/usbconfig/usbconfig.c
564
int n;
usr.sbin/usbconfig/usbconfig.c
635
for (n = 0; n != argc; n++) {
usr.sbin/usbconfig/usbconfig.c
638
t = (argc - n - 1);
usr.sbin/usbconfig/usbconfig.c
641
switch (get_token(argv[n], t)) {
usr.sbin/usbconfig/usbconfig.c
646
opt->quirkname = argv[n + 1];
usr.sbin/usbconfig/usbconfig.c
647
n++;
usr.sbin/usbconfig/usbconfig.c
657
opt->quirkname = argv[n + 1];
usr.sbin/usbconfig/usbconfig.c
658
n++;
usr.sbin/usbconfig/usbconfig.c
668
opt->vid = num_id(argv[n + 1], "Vendor ID");
usr.sbin/usbconfig/usbconfig.c
669
opt->pid = num_id(argv[n + 2], "Product ID");
usr.sbin/usbconfig/usbconfig.c
670
opt->lo_rev = num_id(argv[n + 3], "Low Revision");
usr.sbin/usbconfig/usbconfig.c
671
opt->hi_rev = num_id(argv[n + 4], "High Revision");
usr.sbin/usbconfig/usbconfig.c
672
opt->quirkname = argv[n + 5];
usr.sbin/usbconfig/usbconfig.c
673
n += 5;
usr.sbin/usbconfig/usbconfig.c
683
opt->vid = num_id(argv[n + 1], "Vendor ID");
usr.sbin/usbconfig/usbconfig.c
684
opt->pid = num_id(argv[n + 2], "Product ID");
usr.sbin/usbconfig/usbconfig.c
685
opt->lo_rev = num_id(argv[n + 3], "Low Revision");
usr.sbin/usbconfig/usbconfig.c
686
opt->hi_rev = num_id(argv[n + 4], "High Revision");
usr.sbin/usbconfig/usbconfig.c
687
opt->quirkname = argv[n + 5];
usr.sbin/usbconfig/usbconfig.c
688
n += 5;
usr.sbin/usbconfig/usbconfig.c
695
duplicate_option(argv[n]);
usr.sbin/usbconfig/usbconfig.c
702
duplicate_option(argv[n]);
usr.sbin/usbconfig/usbconfig.c
709
duplicate_option(argv[n]);
usr.sbin/usbconfig/usbconfig.c
716
duplicate_option(argv[n]);
usr.sbin/usbconfig/usbconfig.c
727
duplicate_option(argv[n]);
usr.sbin/usbconfig/usbconfig.c
728
opt->config_index = num_id(argv[n + 1], "cfg_index");
usr.sbin/usbconfig/usbconfig.c
731
n++;
usr.sbin/usbconfig/usbconfig.c
735
duplicate_option(argv[n]);
usr.sbin/usbconfig/usbconfig.c
736
opt->alt_index = num_id(argv[n + 1], "cfg_index");
usr.sbin/usbconfig/usbconfig.c
739
n++;
usr.sbin/usbconfig/usbconfig.c
743
duplicate_option(argv[n]);
usr.sbin/usbconfig/usbconfig.c
744
opt->template = get_int(argv[n + 1]);
usr.sbin/usbconfig/usbconfig.c
747
n++;
usr.sbin/usbconfig/usbconfig.c
751
duplicate_option(argv[n]);
usr.sbin/usbconfig/usbconfig.c
757
duplicate_option(argv[n]);
usr.sbin/usbconfig/usbconfig.c
763
duplicate_option(argv[n]);
usr.sbin/usbconfig/usbconfig.c
769
duplicate_option(argv[n]);
usr.sbin/usbconfig/usbconfig.c
775
duplicate_option(argv[n]);
usr.sbin/usbconfig/usbconfig.c
781
duplicate_option(argv[n]);
usr.sbin/usbconfig/usbconfig.c
787
duplicate_option(argv[n]);
usr.sbin/usbconfig/usbconfig.c
793
duplicate_option(argv[n]);
usr.sbin/usbconfig/usbconfig.c
794
opt->string_index = num_id(argv[n + 1], "str_index");
usr.sbin/usbconfig/usbconfig.c
797
n++;
usr.sbin/usbconfig/usbconfig.c
801
duplicate_option(argv[n]);
usr.sbin/usbconfig/usbconfig.c
807
duplicate_option(argv[n]);
usr.sbin/usbconfig/usbconfig.c
813
duplicate_option(argv[n]);
usr.sbin/usbconfig/usbconfig.c
819
duplicate_option(argv[n]);
usr.sbin/usbconfig/usbconfig.c
825
duplicate_option(argv[n]);
usr.sbin/usbconfig/usbconfig.c
831
duplicate_option(argv[n]);
usr.sbin/usbconfig/usbconfig.c
837
duplicate_option(argv[n]);
usr.sbin/usbconfig/usbconfig.c
843
duplicate_option(argv[n]);
usr.sbin/usbconfig/usbconfig.c
845
opt->setup.bmRequestType = num_id(argv[n + 1], "bmReqTyp");
usr.sbin/usbconfig/usbconfig.c
846
opt->setup.bRequest = num_id(argv[n + 2], "bReq");
usr.sbin/usbconfig/usbconfig.c
847
opt->setup.wValue = num_id(argv[n + 3], "wVal");
usr.sbin/usbconfig/usbconfig.c
848
opt->setup.wIndex = num_id(argv[n + 4], "wIndex");
usr.sbin/usbconfig/usbconfig.c
849
opt->setup.wLength = num_id(argv[n + 5], "wLen");
usr.sbin/usbconfig/usbconfig.c
856
n += 5;
usr.sbin/usbconfig/usbconfig.c
861
t = (argc - n - 1);
usr.sbin/usbconfig/usbconfig.c
868
num_id(argv[n + t + 1], "req_data");
usr.sbin/usbconfig/usbconfig.c
870
n += opt->setup.wLength;
usr.sbin/usbconfig/usbconfig.c
876
if (n == 1) {
usr.sbin/usbconfig/usbconfig.c
877
ptr = argv[n];
usr.sbin/vidcontrol/decode.c
37
int n, pos = 0, tpos;
usr.sbin/vidcontrol/decode.c
48
sscanf(temp, "begin %o %s", (unsigned *)&n, temp);
usr.sbin/vidcontrol/decode.c
53
if ((n = DEC(*p)) <= 0)
usr.sbin/vidcontrol/decode.c
55
for (++p; n > 0; p += 4, n -= 3) {
usr.sbin/vidcontrol/decode.c
57
if (n >= 3) {
usr.sbin/vidcontrol/decode.c
63
if (n >= 1) {
usr.sbin/vidcontrol/decode.c
67
if (n >= 2) {
usr.sbin/vidcontrol/decode.c
71
if (n >= 3) {
usr.sbin/vidcontrol/vidcontrol.c
932
int n;
usr.sbin/vidcontrol/vidcontrol.c
939
n = atoi(arg);
usr.sbin/vidcontrol/vidcontrol.c
941
if (n < 1 || n > 16) {
usr.sbin/vidcontrol/vidcontrol.c
944
} else if (ioctl(0, VT_ACTIVATE, n) == -1) {
usr.sbin/wake/wake.c
186
int bpf, n, rval;
usr.sbin/wake/wake.c
195
n = 2;
usr.sbin/wake/wake.c
201
--n;
usr.sbin/wake/wake.c
205
if (n >= argc)
usr.sbin/wake/wake.c
208
for (; n < argc; n++) {
usr.sbin/wake/wake.c
209
if (wake(bpf, argv[n]) != 0) {
usr.sbin/wake/wake.c
212
ifname, argv[n]);
usr.sbin/ypldap/ber.c
1025
u_char u, n;
usr.sbin/ypldap/ber.c
1036
n = u & ~BER_TAG_MORE;
usr.sbin/ypldap/ber.c
1037
if (sizeof(ssize_t) < n) {
usr.sbin/ypldap/ber.c
1041
r = n + 1;
usr.sbin/ypldap/ber.c
1043
for (s = 0; n > 0; n--) {
usr.sbin/ypldap/ber.c
214
ber_get_integer(struct ber_element *elm, long long *n)
usr.sbin/ypldap/ber.c
219
*n = elm->be_numeric;
usr.sbin/ypldap/ber.c
224
ber_get_enumerated(struct ber_element *elm, long long *n)
usr.sbin/ypldap/ber.c
229
*n = elm->be_numeric;
usr.sbin/ypldap/ber.c
470
ber_add_noid(struct ber_element *prev, struct ber_oid *o, int n)
usr.sbin/ypldap/ber.c
474
if (n > BER_MAX_OID_LEN)
usr.sbin/ypldap/ber.c
476
no.bo_n = n;
usr.sbin/ypldap/ber.c
636
size_t *len, ret = 0, n = strlen(fmt);
usr.sbin/ypldap/ber.c
742
return (ret == n ? 0 : -1);
usr.sbin/ypldap/ldapclient.c
158
int n, wait_cnt = 0;
usr.sbin/ypldap/ldapclient.c
170
if ((n = imsg_read(ibuf)) == -1 && errno != EAGAIN)
usr.sbin/ypldap/ldapclient.c
172
if (n == 0)
usr.sbin/ypldap/ldapclient.c
176
if ((n = msgbuf_write(&ibuf->w)) == -1 && errno != EAGAIN)
usr.sbin/ypldap/ldapclient.c
178
if (n == 0)
usr.sbin/ypldap/ldapclient.c
184
if ((n = imsg_get(ibuf, &imsg)) == -1)
usr.sbin/ypldap/ldapclient.c
186
if (n == 0)
usr.sbin/ypldap/ldapclient.c
255
int n;
usr.sbin/ypldap/ldapclient.c
266
if ((n = imsg_read(ibuf)) == -1 && errno != EAGAIN)
usr.sbin/ypldap/ldapclient.c
268
if (n == 0)
usr.sbin/ypldap/ldapclient.c
272
if ((n = msgbuf_write(&ibuf->w)) == -1 && errno != EAGAIN)
usr.sbin/ypldap/ldapclient.c
274
if (n == 0)
usr.sbin/ypldap/ldapclient.c
280
if ((n = imsg_get(ibuf, &imsg)) == -1)
usr.sbin/ypldap/ldapclient.c
282
if (n == 0)
usr.sbin/ypldap/ypldap.c
352
int n;
usr.sbin/ypldap/ypldap.c
364
if ((n = imsg_read(ibuf)) == -1 && errno != EAGAIN)
usr.sbin/ypldap/ypldap.c
366
if (n == 0)
usr.sbin/ypldap/ypldap.c
370
if ((n = msgbuf_write(&ibuf->w)) == -1 && errno != EAGAIN)
usr.sbin/ypldap/ypldap.c
372
if (n == 0)
usr.sbin/ypldap/ypldap.c
378
if ((n = imsg_get(ibuf, &imsg)) == -1)
usr.sbin/ypldap/ypldap.c
380
if (n == 0)
usr.sbin/ypldap/ypldap.h
90
#define F_FIXED_ATTR(n) (1<<n)
usr.sbin/ypldap/ypldap.h
91
#define F_LIST(n) (1<<n)
usr.sbin/ypldap/ypldap_dns.c
129
int n, cnt;
usr.sbin/ypldap/ypldap_dns.c
143
if ((n = imsg_read(ibuf)) == -1 && errno != EAGAIN)
usr.sbin/ypldap/ypldap_dns.c
145
if (n == 0)
usr.sbin/ypldap/ypldap_dns.c
149
if ((n = msgbuf_write(&ibuf->w)) == -1 && errno != EAGAIN)
usr.sbin/ypldap/ypldap_dns.c
151
if (n == 0)
usr.sbin/ypldap/ypldap_dns.c
157
if ((n = imsg_get(ibuf, &imsg)) == -1)
usr.sbin/ypldap/ypldap_dns.c
159
if (n == 0)
usr.sbin/ypserv/yp_dnslookup.c
169
int n;
usr.sbin/ypserv/yp_dnslookup.c
177
n = res_mkquery(QUERY,name,C_IN,type,NULL,0,NULL,buf,sizeof(buf));
usr.sbin/ypserv/yp_dnslookup.c
179
if (n <= 0) {
usr.sbin/ypserv/yp_dnslookup.c
188
rval = sendto(resfd, buf, n, 0,
usr.sbin/ypserv/yp_dnslookup.c
318
register struct circleq_dnsentry *q, *n;
usr.sbin/ypserv/yp_dnslookup.c
323
n = TAILQ_NEXT(q, links);
usr.sbin/ypserv/yp_dnslookup.c
330
q = n;
usr.sbin/ypserv/yp_dnslookup.c
470
int type, n;
usr.sbin/ypserv/yp_dnslookup.c
499
for (n = IN6ADDRSZ - 1; n >= 0; n--) {
usr.sbin/ypserv/yp_dnslookup.c
500
qp += (size_t)sprintf(qp, "%x.%x.", uaddr[n] & 0xf,
usr.sbin/ypserv/yp_dnslookup.c
501
(uaddr[n] >> 4) & 0xf);