bin/ksh/expand.h
19
#define Xinit(xs, xp, length, area) do { \
bin/ksh/expand.h
20
(xs).len = length; \
bin/sh/output.c
121
open_mem(char *block, int length, struct output *file)
bin/sh/output.c
124
file->nleft = --length;
bin/sh/output.c
366
fmtstr(char *outbuf, size_t length, const char *fmt, ...)
bin/sh/output.c
373
strout.nleft = length;
bin/sh/output.c
379
outbuf[length - 1] = '\0';
bin/sh/var.c
1541
static char result[length];
bin/sh/var.c
1559
snprintf(result, length, "%.*s=%d", vp->name_len, vp->text, ln);
common/dist/zlib/deflate.c
1600
local void check_match(deflate_state *s, IPos start, IPos match, int length) {
common/dist/zlib/deflate.c
1603
IPos len = (IPos)length;
common/dist/zlib/deflate.c
1613
start, (int)match, length);
common/dist/zlib/deflate.c
1620
fprintf(stderr,"\\[%d,%d]", start - match, length);
common/dist/zlib/deflate.c
1621
do { putc(s->window[start++], stderr); } while (--length != 0);
common/dist/zlib/deflate.c
1625
# define check_match(s, start, match, length)
common/dist/zlib/deflate.h
348
# define _tr_tally_dist(s, distance, length, flush) \
common/dist/zlib/deflate.h
349
{ uch len = (uch)(length); \
common/dist/zlib/deflate.h
367
# define _tr_tally_dist(s, distance, length, flush) \
common/dist/zlib/deflate.h
368
{ uch len = (uch)(length); \
common/dist/zlib/deflate.h
381
# define _tr_tally_dist(s, distance, length, flush) \
common/dist/zlib/deflate.h
382
flush = _tr_tally(s, distance, length)
common/dist/zlib/examples/enough.c
319
size_t length = g.done[index].len;
common/dist/zlib/examples/enough.c
320
if (offset < length && (g.done[index].vec[offset] & bit) != 0)
common/dist/zlib/examples/enough.c
326
if (length <= offset) {
common/dist/zlib/examples/enough.c
329
if (length) {
common/dist/zlib/examples/enough.c
331
length <<= 1;
common/dist/zlib/examples/enough.c
332
} while (length <= offset);
common/dist/zlib/examples/enough.c
333
vector = realloc(g.done[index].vec, length);
common/dist/zlib/examples/enough.c
335
memset(vector + g.done[index].len, 0, length - g.done[index].len);
common/dist/zlib/examples/enough.c
340
length = 16;
common/dist/zlib/examples/enough.c
341
while (length <= offset)
common/dist/zlib/examples/enough.c
342
length <<= 1;
common/dist/zlib/examples/enough.c
343
vector = calloc(length, 1);
common/dist/zlib/examples/enough.c
348
g.done[index].len = length;
common/dist/zlib/examples/zran.c
243
index->length = totout;
common/dist/zlib/examples/zran.c
345
if (len == 0 || offset < 0 || offset >= index->length)
common/dist/zlib/examples/zran.c
530
offset = ((index->length + 1) << 1) / 3;
common/dist/zlib/examples/zran.h
22
off_t length; // total length of uncompressed data
common/dist/zlib/infback.c
273
state->length = (unsigned)hold & 0xffff;
common/dist/zlib/infback.c
275
state->length));
common/dist/zlib/infback.c
279
while (state->length != 0) {
common/dist/zlib/infback.c
280
copy = state->length;
common/dist/zlib/infback.c
290
state->length -= copy;
common/dist/zlib/infback.c
452
state->length = (unsigned)here.val;
common/dist/zlib/infback.c
460
*put++ = (unsigned char)(state->length);
common/dist/zlib/infback.c
484
state->length += BITS(state->extra);
common/dist/zlib/infback.c
487
Tracevv((stderr, "inflate: length %u\n", state->length));
common/dist/zlib/infback.c
540
if (copy > state->length) copy = state->length;
common/dist/zlib/infback.c
541
state->length -= copy;
common/dist/zlib/infback.c
546
} while (state->length != 0);
common/dist/zlib/inflate.c
1044
if (copy > state->length) copy = state->length;
common/dist/zlib/inflate.c
1047
state->length -= copy;
common/dist/zlib/inflate.c
1051
if (state->length == 0) state->mode = LEN;
common/dist/zlib/inflate.c
1061
if (copy > state->length) copy = state->length;
common/dist/zlib/inflate.c
1065
copy = state->length;
common/dist/zlib/inflate.c
1069
state->length -= copy;
common/dist/zlib/inflate.c
1073
if (state->length == 0) state->mode = LEN;
common/dist/zlib/inflate.c
1077
*put++ = (unsigned char)(state->length);
common/dist/zlib/inflate.c
1413
(state->mode == COPY ? state->length :
common/dist/zlib/inflate.c
1414
(state->mode == MATCH ? state->was - state->length : 0));
common/dist/zlib/inflate.c
607
state->length = (unsigned)(hold);
common/dist/zlib/inflate.c
620
copy = state->length;
common/dist/zlib/inflate.c
625
(len = state->head->extra_len - state->length) <
common/dist/zlib/inflate.c
635
state->length -= copy;
common/dist/zlib/inflate.c
637
if (state->length) goto inf_leave;
common/dist/zlib/inflate.c
639
state->length = 0;
common/dist/zlib/inflate.c
650
state->length < state->head->name_max)
common/dist/zlib/inflate.c
651
state->head->name[state->length++] = (Bytef)len;
common/dist/zlib/inflate.c
661
state->length = 0;
common/dist/zlib/inflate.c
672
state->length < state->head->comm_max)
common/dist/zlib/inflate.c
673
state->head->comment[state->length++] = (Bytef)len;
common/dist/zlib/inflate.c
764
state->length = (unsigned)hold & 0xffff;
common/dist/zlib/inflate.c
766
state->length));
common/dist/zlib/inflate.c
775
copy = state->length;
common/dist/zlib/inflate.c
785
state->length -= copy;
common/dist/zlib/inflate.c
951
state->length = (unsigned)here.val;
common/dist/zlib/inflate.c
976
state->length += BITS(state->extra);
common/dist/zlib/inflate.c
980
Tracevv((stderr, "inflate: length %u\n", state->length));
common/dist/zlib/inflate.c
981
state->was = state->length;
common/dist/zlib/inflate.h
105
unsigned length; /* literal or length of data to copy */
common/dist/zlib/trees.c
255
local void send_bits(deflate_state *s, int value, int length) {
common/dist/zlib/trees.c
256
Tracevv((stderr," l %2d v %4x ", length, value));
common/dist/zlib/trees.c
257
Assert(length > 0 && length <= 15, "invalid length");
common/dist/zlib/trees.c
258
s->bits_sent += (ulg)length;
common/dist/zlib/trees.c
264
if (s->bi_valid > (int)Buf_size - length) {
common/dist/zlib/trees.c
268
s->bi_valid += length - Buf_size;
common/dist/zlib/trees.c
271
s->bi_valid += length;
common/dist/zlib/trees.c
276
#define send_bits(s, value, length) \
common/dist/zlib/trees.c
277
{ int len = length;\
common/dist/zlib/trees.c
302
int length; /* length value */
common/dist/zlib/trees.c
320
length = 0;
common/dist/zlib/trees.c
322
base_length[code] = length;
common/dist/zlib/trees.c
324
_length_code[length++] = (uch)code;
common/dist/zlib/trees.c
327
Assert (length == 256, "tr_static_init: length != 256");
common/dist/zlib/trees.c
332
_length_code[length - 1] = (uch)code;
common/lib/libc/string/bcopy.c
110
if ((u ^ (unsigned long)dst) & wmask || length < wsize)
common/lib/libc/string/bcopy.c
111
t = length;
common/lib/libc/string/bcopy.c
114
length -= t;
common/lib/libc/string/bcopy.c
120
t = length / wsize;
common/lib/libc/string/bcopy.c
122
t = length & wmask;
common/lib/libc/string/bcopy.c
130
src += length;
common/lib/libc/string/bcopy.c
131
dst += length;
common/lib/libc/string/bcopy.c
136
if ((u ^ (unsigned long)dst) & wmask || length <= wsize)
common/lib/libc/string/bcopy.c
137
t = length;
common/lib/libc/string/bcopy.c
140
length -= t;
common/lib/libc/string/bcopy.c
143
t = length / wsize;
common/lib/libc/string/bcopy.c
145
t = length & wmask;
common/lib/libc/string/bcopy.c
77
memcpy(void *dst0, const void *src0, size_t length)
common/lib/libc/string/bcopy.c
80
memmove(void *dst0, const void *src0, size_t length)
common/lib/libc/string/bcopy.c
83
bcopy(const void *src0, void *dst0, size_t length)
common/lib/libc/string/bcopy.c
91
if (length == 0 || dst == src) /* nothing to do */
common/lib/libc/string/memset.c
100
memset(void *dst0, int c0, size_t length)
common/lib/libc/string/memset.c
123
if (length < 3 * wsize) {
common/lib/libc/string/memset.c
124
while (length != 0) {
common/lib/libc/string/memset.c
126
--length;
common/lib/libc/string/memset.c
145
length -= t;
common/lib/libc/string/memset.c
152
t = length / wsize;
common/lib/libc/string/memset.c
159
t = length & wmask;
common/lib/libc/string/memset.c
169
bzero(void *dstv, size_t length)
common/lib/libc/string/memset.c
172
while (length-- > 0)
common/lib/libc/string/memset.c
177
memset(void *dstv, int c, size_t length)
common/lib/libc/string/memset.c
180
while (length-- > 0)
common/lib/libc/string/memset.c
73
bzero(void *dst0, size_t length)
common/lib/libc/string/memset.c
87
__aeabi_memset(void *dst0, size_t length, int c)
common/lib/libc/string/memset.c
89
memset(dst0, c, length);
common/lib/libc/string/memset.c
93
__aeabi_memclr(void *dst0, size_t length)
common/lib/libc/string/memset.c
95
memset(dst0, 0, length);
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
319
if ((eda->length == 1 && eda->data[0] == '*') ||
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
320
(edb->length == 1 && edb->data[0] == '*')) {
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
571
if (gen->d.ia5->data[gen->d.ia5->length] != '\0')
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
575
racoon_hexdump(gen->d.ia5->data, gen->d.ia5->length + 1);
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
579
len = gen->d.ia5->length + 1;
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
591
switch (gen->d.iPAddress->length) {
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
628
gen->d.iPAddress->length);
crypto/dist/ipsec-tools/src/racoon/gssapi.c
116
gsstoken->length = vmbuf->l;
crypto/dist/ipsec-tools/src/racoon/gssapi.c
125
*vmbuf = vmalloc(gsstoken->length);
crypto/dist/ipsec-tools/src/racoon/gssapi.c
128
memcpy((*vmbuf)->v, gsstoken->value, gsstoken->length);
crypto/dist/ipsec-tools/src/racoon/gssapi.c
129
(*vmbuf)->l = gsstoken->length;
crypto/dist/ipsec-tools/src/racoon/gssapi.c
167
name_token.length = asprintf(&buf, "%s@%s", GSSAPI_DEF_NAME, name);
crypto/dist/ipsec-tools/src/racoon/gssapi.c
211
id_token.length = iph1->rmconf->proposal->gssid->l;
crypto/dist/ipsec-tools/src/racoon/gssapi.c
254
cred->length, cred->value);
crypto/dist/ipsec-tools/src/racoon/gssapi.c
293
empty.length = 0;
crypto/dist/ipsec-tools/src/racoon/gssapi.c
301
name_token.length = iph1->approval->gssid->l;
crypto/dist/ipsec-tools/src/racoon/gssapi.c
307
name_token.length, name_token.value);
crypto/dist/ipsec-tools/src/racoon/gssapi.c
339
*lenp = itoken->length;
crypto/dist/ipsec-tools/src/racoon/gssapi.c
341
if (itoken->length != 0)
crypto/dist/ipsec-tools/src/racoon/gssapi.c
396
if (itoken->length != 0)
crypto/dist/ipsec-tools/src/racoon/gssapi.c
400
*lenp = itoken->length;
crypto/dist/ipsec-tools/src/racoon/gssapi.c
464
len += gps->gss[i].length;
crypto/dist/ipsec-tools/src/racoon/gssapi.c
471
memcpy(p, gps->gss[i].value, gps->gss[i].length);
crypto/dist/ipsec-tools/src/racoon/gssapi.c
472
p += gps->gss[i].length;
crypto/dist/ipsec-tools/src/racoon/gssapi.c
505
len += gps->gss_p[i].length;
crypto/dist/ipsec-tools/src/racoon/gssapi.c
512
memcpy(p, gps->gss_p[i].value, gps->gss_p[i].length);
crypto/dist/ipsec-tools/src/racoon/gssapi.c
513
p += gps->gss_p[i].length;
crypto/dist/ipsec-tools/src/racoon/gssapi.c
560
hash_in->length, hash_out->length);
crypto/dist/ipsec-tools/src/racoon/gssapi.c
598
hashbuf.length = ntohs(iph1->pl_hash->h.len) - sizeof(*iph1->pl_hash);
crypto/dist/ipsec-tools/src/racoon/gssapi.c
602
hashbuf.length);
crypto/dist/ipsec-tools/src/racoon/gssapi.c
736
id->length, id->value);
games/adventure/io.c
385
len = length(buf) - 1; /* quad long number handling */
games/adventure/vocab.c
154
h->atab = malloc(length(word));
games/boggle/boggle/bog.h
82
long length;
games/boggle/boggle/prtable.c
117
int (*length)(const char *const *, int))
games/boggle/boggle/prtable.c
121
max = (*length)(base, 0);
games/boggle/boggle/prtable.c
123
if ((len = (*length)(base, i)) > max)
games/boggle/boggle/prtable.c
68
int (*length)(const char *const [], int))
games/boggle/boggle/prtable.c
76
maxlen = get_maxlen(base, num, length) + 1;
games/boggle/boggle/prtable.c
93
loc += (*length)(base, j);
games/boggle/boggle/word.c
206
dictindex[j].length = atol(buf + 9) - dictindex[j].start;
games/canfield/canfield/canfield.c
1180
length[des]++;
games/canfield/canfield/canfield.c
1181
printcard(pilemap[des], length[des], tableau[des]);
games/canfield/canfield/canfield.c
1204
for (i=tabrow; i<=length[sour]; i++)
games/canfield/canfield/canfield.c
1206
dlength = length[des] + 1;
games/canfield/canfield/canfield.c
1207
slength = length[sour];
games/canfield/canfield/canfield.c
1239
length[des] = length[des] +
games/canfield/canfield/canfield.c
1240
(length[sour] - (tabrow - 1));
games/canfield/canfield/canfield.c
1241
length[sour] = tabrow - 1;
games/canfield/canfield/canfield.c
1310
length[source]);
games/canfield/canfield/canfield.c
1311
length[source]--;
games/canfield/canfield/canfield.c
157
static int length[4];
games/canfield/canfield/canfield.c
648
length[0] = length[0] - 1;
games/canfield/canfield/canfield.c
650
length[1] = length[1] - 1;
games/canfield/canfield/canfield.c
652
length[2] = length[2] - 1;
games/canfield/canfield/canfield.c
654
length[3] = length[3] - 1;
games/canfield/canfield/canfield.c
706
length[i] = tabrow;
games/fortune/strfile/strfile.c
157
off_t last_off, length, pos;
games/fortune/strfile/strfile.c
193
length = pos - last_off - (sp ? strlen(sp) : 0);
games/fortune/strfile/strfile.c
195
if (!length)
games/fortune/strfile/strfile.c
198
if ((off_t)Tbl.str_longlen < length)
games/fortune/strfile/strfile.c
199
Tbl.str_longlen = length;
games/fortune/strfile/strfile.c
200
if ((off_t)Tbl.str_shortlen > length)
games/fortune/strfile/strfile.c
201
Tbl.str_shortlen = length;
games/phantasia/misc.c
713
int length; /* length of string */
games/phantasia/misc.c
715
length = strlen(string);
games/phantasia/misc.c
716
while (string[--length] == ' ')
games/phantasia/misc.c
717
string[length] = '\0';
games/snake/snake/snake.c
122
static void length(int);
games/snake/snake/snake.c
294
length(moves);
games/snake/snake/snake.c
436
length(moves);
games/snake/snake/snake.c
914
length(moves);
games/snake/snake/snake.c
971
length(moves);
games/trek/setup.c
117
Param.time = Now.time = 6.0 * Game.length + 2.0;
games/trek/setup.c
119
j = Game.length;
games/trek/setup.c
94
Game.length = (long) r->value;
games/trek/setup.c
95
if (Game.length == 0) {
games/trek/srscan.c
166
p = &Lentab[Game.length - 1];
games/trek/srscan.c
167
if (Game.length > 2)
games/trek/trek.h
251
char length; /* length of game */
lib/libbluetooth/bt_dev.c
212
hdr.length = (uint8_t)plen;
lib/libc/citrus/modules/citrus_hz.c
318
if (graphic->length == (tail - head)) {
lib/libc/citrus/modules/citrus_hz.c
377
len = graphic->length;
lib/libc/citrus/modules/citrus_hz.c
384
len = graphic->length;
lib/libc/citrus/modules/citrus_hz.c
399
len = graphic->length;
lib/libc/citrus/modules/citrus_hz.c
639
graphic->length = 1;
lib/libc/citrus/modules/citrus_hz.c
646
graphic->length = 2;
lib/libc/citrus/modules/citrus_hz.c
659
graphic->length = (size_t)(*s - '0');
lib/libc/citrus/modules/citrus_hz.c
88
size_t length;
lib/libc/stdlib/_env.c
173
__allocenvvar(size_t length)
lib/libc/stdlib/_env.c
177
node = malloc(sizeof(*node) + length);
lib/libc/stdlib/_env.c
179
node->length = length;
lib/libc/stdlib/_env.c
194
__canoverwriteenvvar(char *envvar, size_t length)
lib/libc/stdlib/_env.c
201
return (node != NULL && length <= node->length);
lib/libc/stdlib/_env.c
58
size_t length;
lib/libc/stdlib/local.h
35
extern char *__allocenvvar(size_t length);
lib/libc/stdlib/local.h
36
extern bool __canoverwriteenvvar(char *envvar, size_t length);
lib/libc/stdlib/merge.c
290
int length, tmp, sense;
lib/libc/stdlib/merge.c
318
length = 2;
lib/libc/stdlib/merge.c
323
length += 2;
lib/libc/stdlib/merge.c
325
if (length < THRESHOLD) { /* Pairwise merge */
lib/libc/stdlib/setenv.c
104
if ((envvar = __allocenvvar(length)) == NULL)
lib/libc/stdlib/setenv.c
63
size_t l_name, l_value, length;
lib/libc/stdlib/setenv.c
85
length = l_name + l_value + 2;
lib/libc/stdlib/setenv.c
97
if (__canoverwriteenvvar(envvar, length)) {
lib/libc/sys/ftruncate.c
57
ftruncate(int fd, off_t length)
lib/libc/sys/ftruncate.c
60
return __ftruncate(fd, 0, length);
lib/libc/sys/truncate.c
52
truncate(const char *path, off_t length)
lib/libc/sys/truncate.c
55
return __truncate(path, 0, length);
lib/libcurses/EXAMPLES/view.c
184
int length = 0;
lib/libcurses/EXAMPLES/view.c
271
length = lptr - my_lines;
lib/libcurses/EXAMPLES/view.c
362
if ((lptr - my_lines) < (length - LINES + 1))
lib/libcurses/EXAMPLES/view.c
399
if (length > LINES)
lib/libcurses/EXAMPLES/view.c
400
lptr = my_lines + length - LINES + 1;
lib/libcurses/getch.c
377
int length, j, key_ent;
lib/libcurses/getch.c
383
length = (int)strlen(sequence);
lib/libcurses/getch.c
395
if (length == 0)
lib/libcurses/getch.c
396
length = 1;
lib/libcurses/getch.c
398
for (j = 0; j < length - 1; j++) {
lib/libcurses/getch.c
417
tmp_key = add_new_key(current, sequence[length - 1], KEYMAP_LEAF,
lib/libcurses/getch.c
419
current->key[current->mapping[(int)sequence[length - 1]]] = tmp_key;
lib/libcurses/getch.c
435
int k, length;
lib/libcurses/getch.c
465
length = (int) strlen(entry);
lib/libcurses/getch.c
466
for (k = 0; k <= length -1; k++)
lib/libdm/libdm_ioctl.c
719
libdm_table_set_length(uint64_t length, libdm_table_t libdm_table)
lib/libdm/libdm_ioctl.c
726
DM_TABLE_LENGTH, length);
lib/libdm/libdm_ioctl.c
732
uint64_t length;
lib/libdm/libdm_ioctl.c
738
&length);
lib/libdm/libdm_ioctl.c
740
return length;
lib/libedit/filecomplete.c
178
unescape_string(const wchar_t *string, size_t length)
lib/libedit/filecomplete.c
182
wchar_t *unescaped = el_calloc(length + 1, sizeof(*string));
lib/libedit/filecomplete.c
185
for (i = 0; i < length ; i++) {
lib/libedit/filecomplete.c
589
const wchar_t * word_break, const wchar_t * special_prefixes, size_t * length,
lib/libedit/filecomplete.c
632
*length = len;
lib/libedit/readline.c
2488
hs->length = history_length;
lib/libedit/readline/readline.h
53
int length;
lib/libform/field.c
135
if (fp->buffers[i].length > fp->cols)
lib/libform/field.c
170
if (fp->buffers[i].length > fp->cols)
lib/libform/field.c
329
field->alines->length = len;
lib/libform/field.c
339
0, field->alines->length);
lib/libform/field.c
397
field->buffers[buffer].length = len;
lib/libform/field.c
433
field->buffers[buffer].length);
lib/libform/field.c
437
field->alines[0].length);
lib/libform/field.c
444
field->buffers[buffer].length = len;
lib/libform/field.c
450
field->buffers[buffer].string, field->buffers[buffer].length);
lib/libform/field.c
452
field->alines[0].length);
lib/libform/field.c
797
new->buffers[i].length = 0;
lib/libform/field.c
808
new->alines->length = 0;
lib/libform/form.h
181
unsigned int length;
lib/libform/internals.c
1004
(row->length < INT_MAX) &&
lib/libform/internals.c
1005
(new_line->length < INT_MAX)));
lib/libform/internals.c
1009
row->length, row->expanded);
lib/libform/internals.c
1011
new_line->length, new_line->expanded);
lib/libform/internals.c
1172
} while (row->length == 0);
lib/libform/internals.c
1200
} while (row->length == 0);
lib/libform/internals.c
1247
if (row->length > 0)
lib/libform/internals.c
1248
start = row->length - 1;
lib/libform/internals.c
1252
} while (row->length == 0);
lib/libform/internals.c
1277
if (row->length > 0)
lib/libform/internals.c
1278
start = row->length - 1;
lib/libform/internals.c
1282
} while (row->length == 0);
lib/libform/internals.c
1288
if (start >= row->length) {
lib/libform/internals.c
1293
start = row->length - 1;
lib/libform/internals.c
1378
if (end > row->length) {
lib/libform/internals.c
1379
end = row->length;
lib/libform/internals.c
1391
if (end >= row->length)
lib/libform/internals.c
1392
end = row->length - 1;
lib/libform/internals.c
1405
&& (end < row->length)) {
lib/libform/internals.c
1523
if ((cur->cols + cur->start_char) >= row->length)
lib/libform/internals.c
1524
len = row->length;
lib/libform/internals.c
1766
row->length = 0;
lib/libform/internals.c
1785
row->expanded, row->length, row->allocated);
lib/libform/internals.c
1802
row->length = 0;
lib/libform/internals.c
1812
row->length = 0;
lib/libform/internals.c
1818
|| ((field->overlay == 1) && (pos >= row->length))) {
lib/libform/internals.c
1823
if (row->length + 2
lib/libform/internals.c
1834
if ((field->overlay == 0) && (row->length > pos)) {
lib/libform/internals.c
1836
(size_t) (row->length - pos + 1));
lib/libform/internals.c
1841
if (pos >= row->length) {
lib/libform/internals.c
1853
|| ((field->overlay == 1) && (pos >= row->length))) {
lib/libform/internals.c
1854
row->length++;
lib/libform/internals.c
1859
row->length - 1);
lib/libform/internals.c
1875
&& (pos >= (row->length - 1) /*XXXX- append check???*/))) {
lib/libform/internals.c
1881
(size_t) (row->length - pos));
lib/libform/internals.c
1882
row->length--;
lib/libform/internals.c
1932
row->expanded, row->length, row->allocated);
lib/libform/internals.c
1973
field->cur_line->length - 1)
lib/libform/internals.c
1983
field->cur_line->length - 1) + 1) / 2
lib/libform/internals.c
1998
< field->cur_line->length))
lib/libform/internals.c
2006
== (field->cur_line->length - 1)) {
lib/libform/internals.c
2073
cur->cur_line->length, cur->cur_line->allocated);
lib/libform/internals.c
2116
(cur->row_xpos + cur->start_char + 1) > row->length)
lib/libform/internals.c
2226
if (row->length > 0)
lib/libform/internals.c
2227
cur->row_xpos = row->length - 1;
lib/libform/internals.c
2260
if (row->length == 0) {
lib/libform/internals.c
2306
if (row->length == 0) {
lib/libform/internals.c
2369
if (row->length > 0)
lib/libform/internals.c
2370
start = row->length - 1;
lib/libform/internals.c
238
memcpy(new->string, row->string, (size_t) row->length + 1);
lib/libform/internals.c
2449
cur, row->length,
lib/libform/internals.c
2451
cur->row_xpos = row->length
lib/libform/internals.c
2458
cur->row_xpos = row->length + 1;
lib/libform/internals.c
2463
cur->row_xpos = row->length - 1;
lib/libform/internals.c
2497
end = row->length - 1;
lib/libform/internals.c
2498
if ((start >= row->length) && (row->next == NULL))
lib/libform/internals.c
2501
if ((start == row->length - 1) || (row->length == 0)) {
lib/libform/internals.c
2546
row->length--;
lib/libform/internals.c
2547
if (row->length > 0)
lib/libform/internals.c
2549
row->string, 0, row->length - 1);
lib/libform/internals.c
2563
if (start == row->length) {
lib/libform/internals.c
2564
if (row->length > 1) {
lib/libform/internals.c
2614
row->length++;
lib/libform/internals.c
2630
end = row->length - 1;
lib/libform/internals.c
2653
start = row->prev->length;
lib/libform/internals.c
2662
end = row->length - 1;
lib/libform/internals.c
2676
row->length--;
lib/libform/internals.c
2677
row->string[row->length] = '\0';
lib/libform/internals.c
2679
row->string, 0, row->length - 1);
lib/libform/internals.c
2709
row->length++;
lib/libform/internals.c
2711
row->string[row->length] = '\0';
lib/libform/internals.c
2722
row->length = 0;
lib/libform/internals.c
2723
row->expanded = row->length = 0;
lib/libform/internals.c
2735
row->expanded = row->length = 0;
lib/libform/internals.c
2756
cur->row_xpos = row->length - 1;
lib/libform/internals.c
2797
(size_t) (row->length - end + 1));
lib/libform/internals.c
2799
row->length -= len;
lib/libform/internals.c
2828
row->length = cur->row_xpos + 1;
lib/libform/internals.c
2854
cur->alines->length = 0;
lib/libform/internals.c
2926
cur->start_char, cur->cur_line->length, cur->cur_line->allocated);
lib/libform/internals.c
3386
for (i = 0, j = 0; i < row->length; i++, j++) {
lib/libform/internals.c
3446
if (field->alines->length < window)
lib/libform/internals.c
3449
return field->alines->length - window + 1;
lib/libform/internals.c
3504
while ((len < width) && (pos < row->length)) {
lib/libform/internals.c
3536
unsigned length;
lib/libform/internals.c
354
return (field->alines->length < field->max);
lib/libform/internals.c
3553
length = 1; /* allow for terminating null */
lib/libform/internals.c
3556
if (line->length != 0) {
lib/libform/internals.c
3558
(size_t) (length + line->length)))
lib/libform/internals.c
3567
length += line->length;
lib/libform/internals.c
3575
field->buffers[0].allocated = length;
lib/libform/internals.c
3576
field->buffers[0].length = length - 1;
lib/libform/internals.c
360
return (field->alines->length <= field->cols);
lib/libform/internals.c
581
pos = row->length - 1;
lib/libform/internals.c
643
if ((row->next == NULL) && (pos == row->length - 1) &&
lib/libform/internals.c
655
(pos != row->length - 1))
lib/libform/internals.c
728
__func__, row->length, row->expanded);
lib/libform/internals.c
731
row->length, row->expanded);
lib/libform/internals.c
733
if (row->allocated < (row->length + row->next->length + 1)) {
lib/libform/internals.c
734
if ((newp = realloc(row->string, (size_t)(row->length +
lib/libform/internals.c
735
row->next->length
lib/libform/internals.c
739
row->allocated = row->length + row->next->length + 1;
lib/libform/internals.c
743
old_len = row->length;
lib/libform/internals.c
744
row->length += row->next->length;
lib/libform/internals.c
745
if (row->length > 0)
lib/libform/internals.c
748
row->length - 1);
lib/libform/internals.c
779
__func__, row->length, row->expanded);
lib/libform/internals.c
797
__func__, row->length, row->expanded);
lib/libform/internals.c
800
saved->length, saved->expanded);
lib/libform/internals.c
802
if (saved->allocated < (row->length + saved->length + 1)) {
lib/libform/internals.c
804
(size_t) (row->length +
lib/libform/internals.c
805
saved->length
lib/libform/internals.c
809
saved->allocated = row->length + saved->length + 1;
lib/libform/internals.c
813
old_len = saved->length;
lib/libform/internals.c
814
saved->length += row->length;
lib/libform/internals.c
815
if (saved->length > 0)
lib/libform/internals.c
818
saved->length - 1);
lib/libform/internals.c
820
saved->length = 0;
lib/libform/internals.c
839
saved->length, saved->expanded);
lib/libform/internals.c
910
new_line->length = 0;
lib/libform/internals.c
918
row->length, row->expanded);
lib/libform/internals.c
920
assert((row->length < INT_MAX) && (row->expanded < INT_MAX));
lib/libform/internals.c
930
new_line->length = row->length - pos;
lib/libform/internals.c
931
if (new_line->length >= new_line->allocated) {
lib/libform/internals.c
933
(size_t) new_line->length + 1)) == NULL)
lib/libform/internals.c
936
new_line->allocated = new_line->length + 1;
lib/libform/internals.c
941
row->length = pos;
lib/libform/internals.c
944
if (row->length != 0)
lib/libform/internals.c
946
row->length - 1);
lib/libform/internals.c
951
if (new_line->length != 0)
lib/libform/internals.c
954
new_line->length - 1);
lib/libform/internals.h
91
unsigned length;
lib/libmenu/internals.c
341
if (menu->items[i]->name.length >= menu->plen) {
lib/libmenu/internals.c
433
mark_len = max(menu->mark.length, menu->unmark.length);
lib/libmenu/internals.c
453
for (j = 0; j < menu->mark.length; j++) {
lib/libmenu/internals.c
459
for (j = menu->mark.length; j < mark_len; j++)
lib/libmenu/internals.c
463
for (j = 0; j < menu->unmark.length; j++) {
lib/libmenu/internals.c
469
for (j = menu->unmark.length; j < mark_len; j++)
lib/libmenu/internals.c
474
for (j=0; j < menu->items[item]->name.length; j++)
lib/libmenu/internals.c
478
pad_len = menu->col_width - menu->items[item]->name.length
lib/libmenu/internals.c
481
pad_len -= menu->items[item]->description.length - 1;
lib/libmenu/internals.c
484
for (j = 0; j < menu->items[item]->description.length; j++) {
lib/libmenu/internals.c
601
width = menu->items[i]->name.length
lib/libmenu/internals.c
602
+ max(menu->mark.length, menu->unmark.length);
lib/libmenu/internals.c
604
width += menu->items[i]->description.length + 1;
lib/libmenu/item.c
299
new_one->name.length = strlen(name);
lib/libmenu/item.c
301
malloc(sizeof(char) * new_one->name.length + 1)) == NULL) {
lib/libmenu/item.c
310
new_one->description.length = 0;
lib/libmenu/item.c
314
new_one->description.length = strlen(description);
lib/libmenu/item.c
317
new_one->description.length + 1)) == NULL) {
lib/libmenu/item.c
348
if (item->description.length)
lib/libmenu/menu.c
128
menu->unmark.length = strlen(mark);
lib/libmenu/menu.c
463
(char *) malloc((unsigned) _menui_default_menu.mark.length + 1))
lib/libmenu/menu.c
470
(unsigned) _menui_default_menu.mark.length + 1);
lib/libmenu/menu.c
476
(char *) malloc((unsigned) _menui_default_menu.unmark.length + 1))
lib/libmenu/menu.c
484
(unsigned) _menui_default_menu.unmark.length+ 1 );
lib/libmenu/menu.c
739
maxmark = max(menu->mark.length, menu->unmark.length);
lib/libmenu/menu.c
92
menu->mark.length = strlen(mark);
lib/libmenu/menu.h
74
int length;
lib/libnpf/npf.c
396
npf_config_export(nl_config_t *ncf, size_t *length)
lib/libnpf/npf.c
400
return nvlist_pack(ncf->ncf_dict, length);
lib/libnpf/npf.c
748
npf_rule_export(nl_rule_t *rl, size_t *length)
lib/libnpf/npf.c
750
return nvlist_pack(rl->rule_dict, length);
lib/libpam/modules/pam_krb5/pam_krb5.c
870
result_string.length > 0 ? ": " : "",
lib/libpam/modules/pam_krb5/pam_krb5.c
871
(int)result_string.length,
lib/libpam/modules/pam_krb5/pam_krb5.c
872
result_string.length > 0 ? (char *)result_string.data : "");
lib/libperfuse/fuse.h
450
uint64_t length;
lib/libperfuse/ops.c
3666
fai->length = len;
lib/librefuse/refuse/fs.c
1669
off_t length, struct fuse_file_info* fi) {
lib/librefuse/refuse/fs.c
1683
return ((const struct __CONCAT(fuse_operations_v,VER)*)fs->op)->fallocate(path, mode, offset, length, fi); \
lib/librefuse/refuse/fs.h
106
int fuse_fs_fallocate(struct fuse_fs* fs, const char* path, int mode, off_t offset, off_t length, struct fuse_file_info* fi);
lib/libresolv/ns_verify.c
148
u_int16_t type, length;
lib/libresolv/ns_verify.c
177
GETSHORT(length, cp);
lib/libresolv/ns_verify.c
178
if (eom - cp != length)
lib/libresolv/ns_verify.c
351
int n, type, length, fudge, error;
lib/libresolv/ns_verify.c
405
GETSHORT(length, cp);
lib/libresolv/ns_verify.c
406
if (eom - cp != length)
lib/librumphijack/hijack.c
2632
(int fd, off_t length), \
lib/librumphijack/hijack.c
2634
(fd, length))
lib/librumphijack/hijack.c
2643
(int fd, int how, off_t start, off_t length), \
lib/librumphijack/hijack.c
2645
(fd, how, start, length))
lib/librumphijack/hijack.c
2777
(const char *path, off_t length), \
lib/librumphijack/hijack.c
2779
(path, length))
lib/libskey/put.c
2233
static void insert (char *s, int x, int start, int length)
lib/libskey/put.c
2241
assert (length <= 11);
lib/libskey/put.c
2243
assert (length >= 0);
lib/libskey/put.c
2244
assert (start + length <= 66);
lib/libskey/put.c
2246
shift = ((8 - ((start + length) % 8)) % 8);
lib/libskey/put.c
2251
if (shift + length > 16)
lib/libskey/put.c
2257
else if (shift + length > 8)
lib/libskey/put.c
2287
static unsigned int extract(char *s, int start, int length)
lib/libskey/put.c
2294
assert (length <= 11);
lib/libskey/put.c
2296
assert (length >= 0);
lib/libskey/put.c
2297
assert (start + length <= 66);
lib/libskey/put.c
2303
x = x >> (24 - (length + (start % 8)));
lib/libskey/put.c
2304
x = (x & (0xffff >> (16 - length)));
lib/libskey/put.c
24
static unsigned int extract(char *s, int start, int length);
lib/libskey/put.c
26
static void insert(char *s, int x, int start, int length);
lib/libtelnet/encrypt.h
74
int length;
lib/libtelnet/kerberos5.c
236
cksum_data.length = sizeof(foo);
lib/libtelnet/kerberos5.c
254
if (!Data(ap, KRB_AUTH, auth.data, auth.length)) {
lib/libtelnet/kerberos5.c
280
auth.length = cnt;
lib/libtelnet/kerberos5.c
399
Data(ap, KRB_RESPONSE, outbuf.data, outbuf.length);
lib/libtelnet/kerberos5.c
417
skey.length = 8;
lib/libtelnet/kerberos5.c
448
inbuf.length = cnt;
lib/libtelnet/kerberos5.c
549
skey.length = 8;
lib/libtelnet/kerberos5.c
565
inbuf.length = cnt;
lib/libtelnet/kerberos5.c
723
if (!Data(ap, KRB_FORWARD, out_data.data, out_data.length)) {
lib/libtelnet/sra.c
226
skey.length = 8;
lib/libtelnet/sra.c
356
skey.length = 8;
lib/libutil/passwd.c
79
size_t length;
lib/libutil/passwd.c
83
length = strlen(new_prefix);
lib/libutil/passwd.c
84
if (length < sizeof(pw_prefix)) {
lib/libutil/passwd.c
86
while (length > 0 && pw_prefix[length - 1] == '/')
lib/libutil/passwd.c
87
pw_prefix[--length] = '\0';
libexec/httpd/lua-bozo.c
308
int n, ret, length;
libexec/httpd/lua-bozo.c
419
length = atol(clen);
libexec/httpd/lua-bozo.c
421
length + 1);
libexec/httpd/lua-bozo.c
424
length);
libexec/makewhatis/makewhatis.c
431
GetS(gzFile in, char *buffer, size_t length)
libexec/makewhatis/makewhatis.c
435
if (((ptr = gzgets(in, buffer, (int)length)) != NULL) && (*ptr == '\0'))
libexec/makewhatis/makewhatis.c
643
size_t length;
libexec/makewhatis/makewhatis.c
645
length = last - ptr + 1;
libexec/makewhatis/makewhatis.c
646
section = emalloc(length + 5);
libexec/makewhatis/makewhatis.c
648
(void) memcpy(section + 1, ptr, length);
libexec/makewhatis/makewhatis.c
649
(void) strcpy(section + 1 + length, " - ");
libexec/makewhatis/makewhatis.c
668
int length;
libexec/makewhatis/makewhatis.c
672
length = strlen(ptr);
libexec/makewhatis/makewhatis.c
673
if (length == 0) {
libexec/makewhatis/makewhatis.c
680
if ((length > 1) && (ptr[length - 1] == '-') &&
libexec/makewhatis/makewhatis.c
681
ISALPHA(ptr[length - 2]))
libexec/makewhatis/makewhatis.c
682
last = &ptr[--length];
libexec/makewhatis/makewhatis.c
684
last = &ptr[length++];
libexec/makewhatis/makewhatis.c
688
ptr += length;
libexec/makewhatis/makewhatis.c
689
size -= length;
libexec/makewhatis/makewhatis.c
746
size_t length;
libexec/makewhatis/makewhatis.c
752
length = strlen(from);
libexec/makewhatis/makewhatis.c
753
(void) memmove(line, from, length);
libexec/makewhatis/makewhatis.c
754
line[length++] = '(';
libexec/makewhatis/makewhatis.c
755
to = &line[length];
libexec/makewhatis/makewhatis.c
756
length = strlen(sect);
libexec/makewhatis/makewhatis.c
757
(void) memmove(to, sect, length);
libexec/makewhatis/makewhatis.c
759
(void) strcpy(&to[length], ")");
libexec/makewhatis/makewhatis.c
761
to += length;
libexec/makewhatis/makewhatis.c
763
length = strlen(trail);
libexec/makewhatis/makewhatis.c
764
(void) memmove(to, trail, length + 1);
libexec/makewhatis/makewhatis.c
945
size_t length, offset;
libexec/makewhatis/makewhatis.c
951
length = strlen(ptr);
libexec/makewhatis/makewhatis.c
952
if ((length > 1) && (ptr[length - 1] == ',') &&
libexec/makewhatis/makewhatis.c
953
ISSPACE(ptr[length - 2])) {
libexec/makewhatis/makewhatis.c
954
ptr[--length] = '\0';
libexec/makewhatis/makewhatis.c
955
ptr[length - 1] = ',';
libexec/makewhatis/makewhatis.c
957
(void) memmove(buffer, ptr, length + 1);
libexec/makewhatis/makewhatis.c
959
offset = length + 3;
libexec/makewhatis/makewhatis.c
979
buffer[length++] = ' ';
libexec/makewhatis/makewhatis.c
987
(void) memmove(&buffer[length], ptr, more + 1);
libexec/makewhatis/makewhatis.c
988
length += more;
libexec/makewhatis/makewhatis.c
989
offset = length + 3;
libexec/makewhatis/makewhatis.c
995
(void) strlcpy(&buffer[length], " -",
libexec/makewhatis/makewhatis.c
996
sizeof(buffer) - length);
libexec/telnetd/authenc.c
81
telnet_gets(char *prompt, char *result, int length, int echo)
libexec/telnetd/utility.c
1008
encrypt_printsub(&pointer[1], length - 1, buf, sizeof(buf));
libexec/telnetd/utility.c
1015
while (i < length) {
libexec/telnetd/utility.c
1035
for (i = 2; i < length; i++)
libexec/telnetd/utility.c
1047
for (i = 1; i < length; i++)
libexec/telnetd/utility.c
226
int length;
libexec/telnetd/utility.c
235
length = next-thisitem;
libexec/telnetd/utility.c
236
memmove(good, thisitem, length);
libexec/telnetd/utility.c
237
good += length;
libexec/telnetd/utility.c
527
int length) /* length of suboption data */
libexec/telnetd/utility.c
540
if (length >= 3) {
libexec/telnetd/utility.c
543
i = pointer[length - 2];
libexec/telnetd/utility.c
544
j = pointer[length - 1];
libexec/telnetd/utility.c
563
length -= 2;
libexec/telnetd/utility.c
565
if (length < 1) {
libexec/telnetd/utility.c
574
output_data("IS \"%.*s\"", length-2, (char *)pointer+2);
libexec/telnetd/utility.c
586
if (length < 2) {
libexec/telnetd/utility.c
592
output_data(" IS %.*s", length-2, (char *)pointer+2);
libexec/telnetd/utility.c
599
for (i = 2; i < length; i++) {
libexec/telnetd/utility.c
608
if (length < 2) {
libexec/telnetd/utility.c
624
for (i = 2; i < length; i++)
libexec/telnetd/utility.c
630
if (length < 2) {
libexec/telnetd/utility.c
634
if (length == 2) {
libexec/telnetd/utility.c
641
if (length == 4) {
libexec/telnetd/utility.c
647
for (i = 5; i < length; i++) {
libexec/telnetd/utility.c
654
if (length < 2) {
libexec/telnetd/utility.c
671
if (length < 3) {
libexec/telnetd/utility.c
678
for (i = 3; i < length; i++)
libexec/telnetd/utility.c
683
for (i = 3; i < length; i++)
libexec/telnetd/utility.c
691
for (i = 2; i < length - 2; i += 3) {
libexec/telnetd/utility.c
719
for (; i < length; i++)
libexec/telnetd/utility.c
725
if (length < 3) {
libexec/telnetd/utility.c
742
for (i = 3; i < length; i++)
libexec/telnetd/utility.c
747
for (i = 2; i < length; i++)
libexec/telnetd/utility.c
764
for (i = 2; i < length; i++)
libexec/telnetd/utility.c
770
for (i = 2; i < length; i++) {
libexec/telnetd/utility.c
790
while (j < length) {
libexec/telnetd/utility.c
792
if (j+1 == length)
libexec/telnetd/utility.c
802
if (i < length) {
libexec/telnetd/utility.c
826
output_data("IS \"%.*s\"", length - 2, (char *)pointer + 2);
libexec/telnetd/utility.c
856
for (i = 2; i < length; i++ ) {
libexec/telnetd/utility.c
903
if (length < 2) {
libexec/telnetd/utility.c
916
if (length < 3) {
libexec/telnetd/utility.c
926
auth_printsub(&pointer[1], length - 1, buf, sizeof(buf));
libexec/telnetd/utility.c
933
while (i < length) {
libexec/telnetd/utility.c
938
if (++i >= length) {
libexec/telnetd/utility.c
954
while (i < length) {
libexec/telnetd/utility.c
964
for (i = 2; i < length; i++)
libexec/telnetd/utility.c
974
if (length < 2) {
libexec/telnetd/utility.c
999
if (length < 3) {
libexec/tftpd/tftpd.c
1197
int length;
libexec/tftpd/tftpd.c
1215
length = strlen(tp->th_msg);
libexec/tftpd/tftpd.c
1216
msglen = &tp->th_msg[length + 1] - buf;
sbin/blkdiscard/blkdiscard.c
103
off_t length = 0;
sbin/blkdiscard/blkdiscard.c
117
length = val;
sbin/blkdiscard/blkdiscard.c
166
if (length)
sbin/blkdiscard/blkdiscard.c
167
end_offset = first_byte + length;
sbin/cgdconfig/cgdparse.y
52
int length;
sbin/cgdconfig/utils.c
138
size_t length;
sbin/cgdconfig/utils.c
147
out->length = 0;
sbin/cgdconfig/utils.c
158
out->length = inlength;
sbin/cgdconfig/utils.c
159
out->text = emalloc(out->length + 1);
sbin/cgdconfig/utils.c
160
(void)memcpy(out->text, intext, out->length);
sbin/cgdconfig/utils.c
161
out->text[out->length] = '\0';
sbin/cgdconfig/utils.c
169
return string_new(in->text, in->length);
sbin/cgdconfig/utils.c
196
sum->length = a1->length + a2->length;
sbin/cgdconfig/utils.c
197
sum->text = emalloc(sum->length + 1);
sbin/cgdconfig/utils.c
198
(void)memcpy(sum->text, a1->text, a1->length);
sbin/cgdconfig/utils.c
199
(void)memcpy(sum->text + a1->length, a2->text, a2->length);
sbin/cgdconfig/utils.c
200
sum->text[sum->length] = '\0';
sbin/cgdconfig/utils.c
235
ret->length = asprintf(&ret->text, "%d", in);
sbin/cgdconfig/utils.c
244
(void)fwrite(s->text, s->length, 1, f);
sbin/cgdconfig/utils.c
248
size_t length;
sbin/cgdconfig/utils.c
258
b->length = len;
sbin/cgdconfig/utils.c
259
b->text = emalloc(BITS2BYTES(b->length));
sbin/cgdconfig/utils.c
260
(void)memcpy(b->text, buf, BITS2BYTES(b->length));
sbin/cgdconfig/utils.c
268
return bits_new(in->text, in->length);
sbin/cgdconfig/utils.c
300
return in->length;
sbin/cgdconfig/utils.c
308
if (b1->length != b2->length)
sbin/cgdconfig/utils.c
311
for (i = 0; i < BITS2BYTES(b1->length); i++)
sbin/cgdconfig/utils.c
325
b->length = MAX(x1->length, x2->length);
sbin/cgdconfig/utils.c
326
b->text = ecalloc(1, BITS2BYTES(b->length));
sbin/cgdconfig/utils.c
327
for (i=0; i < BITS2BYTES(MIN(x1->length, x2->length)); i++)
sbin/cgdconfig/utils.c
358
len = in->length;
sbin/cgdconfig/utils.c
406
len = BITS2BYTES(in->length) + sizeof(*tmp);
sbin/cgdconfig/utils.c
411
*tmp = htonl(in->length);
sbin/cgdconfig/utils.c
442
bits->length = len;
sbin/cgdconfig/utils.c
443
bits->text = emalloc(BITS2BYTES(bits->length));
sbin/cgdconfig/utils.c
444
ret = fread(bits->text, BITS2BYTES(bits->length), 1, f);
sbin/dmctl/dmctl.c
461
uint64_t start, length;
sbin/dmctl/dmctl.c
476
sscanf(params, "%"PRIu64" %"PRIu64" %s %n", &start, &length, target, &len);
sbin/dmctl/dmctl.c
479
libdm_table_set_length(length, table);
sbin/efi/bootvar.c
68
new_blk(uint8_t type, uint8_t subtype, uint16_t length)
sbin/efi/bootvar.c
74
if (length == 0) /* alloc bb only */
sbin/efi/bootvar.c
77
bb->u.vp = ecalloc(length, 1);
sbin/efi/bootvar.c
78
bb->size = length;
sbin/efi/bootvar.c
85
bb->u.path->Length = length;
sbin/fdisk/fdisk.c
2952
string(const char *prompt, int length, char *buf)
sbin/fdisk/fdisk.c
2957
printf("%s: [%.*s] (space to clear)", prompt, length, buf);
sbin/fdisk/fdisk.c
2969
if (len < length)
sbin/fdisk/fdisk.c
2972
lbuf, length - 1);
sbin/fdisk/fdisk.c
2974
strncpy(buf, lbuf, length);
sbin/fsck_msdos/dir.c
404
physicalSize = fat[dir->head].length * boot->ClusterSize;
sbin/fsck_msdos/dir.c
430
fat[dir->head].length = len;
sbin/fsck_msdos/dir.c
988
d.size = fat[head].length * boot->ClusterSize;
sbin/fsck_msdos/dosfs.h
85
u_int32_t length; /* number of clusters on chain */
sbin/fsck_msdos/fat.c
347
fat[p].length = 0;
sbin/fsck_msdos/fat.c
366
fat[head].length = len;
sbin/fsck_msdos/fat.c
403
fat[head].length = fat[head].next == CLUST_FREE ? 0 : len;
sbin/fsck_msdos/fat.c
417
for (len = fat[head].length, p = head;
sbin/fsck_msdos/fat.c
603
head, fat[head].length);
sbin/nvmectl/logpage.c
84
uint32_t length)
sbin/nvmectl/logpage.c
86
print_hex(data, length);
sbin/nvmectl/logpage.c
91
uint32_t length)
sbin/nvmectl/logpage.c
93
write(STDOUT_FILENO, data, length);
sbin/nvmectl/nvmectl.c
106
print_bytes(void *data, uint32_t length)
sbin/nvmectl/nvmectl.c
111
end = (uint8_t *)data + length;
sbin/nvmectl/nvmectl.c
113
for (i = 0; i < length; i++) {
sbin/nvmectl/nvmectl.c
126
print_dwords(void *data, uint32_t length)
sbin/nvmectl/nvmectl.c
132
length /= sizeof(uint32_t);
sbin/nvmectl/nvmectl.c
134
for (i = 0; i < length; i+=8) {
sbin/nvmectl/nvmectl.c
145
print_hex(void *data, uint32_t length)
sbin/nvmectl/nvmectl.c
147
if (length >= sizeof(uint32_t) || length % sizeof(uint32_t) == 0)
sbin/nvmectl/nvmectl.c
148
print_dwords(data, length);
sbin/nvmectl/nvmectl.c
150
print_bytes(data, length);
sbin/routed/radix.c
191
int length = min(*(u_char *)cp, *(u_char *)cp2);
sbin/routed/radix.c
196
length = min(length, *(u_char *)cp3);
sbin/routed/radix.c
197
cplim = cp + length; cp3 += skip; cp2 += skip;
sbin/scsictl/scsi_subr.c
108
cmd.length = len;
sbin/scsictl/scsi_subr.c
122
cmd.length = len;
sbin/scsictl/scsi_subr.c
136
cmd.length = len;
sbin/scsictl/scsictl.c
1185
len = _4btol(data->header.length);
sbin/scsictl/scsictl.c
304
_lto2b(dlen, &cmd.length[0]);
sbin/scsictl/scsictl.c
341
defects = _2btol(data->length) /
sbin/scsictl/scsictl.c
348
defects = _2btol(data->length) /
sbin/scsictl/scsictl.c
356
defects = _2btol(data->length) /
sbin/scsictl/scsictl.c
753
cmd.length = sizeof(inqbuf);
sbin/scsictl/scsictl.c
778
len = be16dec(evpdbuf.h.length);
sbin/scsictl/scsictl.c
792
len = be16dec(evpdbuf.h.length);
sbin/scsictl/scsictl.c
810
len = be16dec(evpdbuf.h.length);
sbin/scsictl/scsictl.c
867
_lto2b(argc * 4, data->length);
share/doc/psd/20.ipctut/dgramread.c
51
int sock, length;
share/doc/psd/20.ipctut/dgramread.c
70
length = sizeof(name);
share/doc/psd/20.ipctut/dgramread.c
71
if (getsockname(sock, &name, &length)) {
share/doc/psd/20.ipctut/strchkread.c
47
int sock, length;
share/doc/psd/20.ipctut/strchkread.c
70
length = sizeof(server);
share/doc/psd/20.ipctut/strchkread.c
71
if (getsockname(sock, &server, &length)) {
share/doc/psd/20.ipctut/streamread.c
48
int sock, length;
share/doc/psd/20.ipctut/streamread.c
70
length = sizeof(server);
share/doc/psd/20.ipctut/streamread.c
71
if (getsockname(sock, &server, &length)) {
share/doc/psd/20.ipctut/udgramread.c
54
int sock, length;
share/examples/refuse/ian/libfetch/fetch.h
48
size_t length;
share/examples/refuse/ian/libfetch/http.c
1014
_http_parse_range(p, &offset, &length, &size);
share/examples/refuse/ian/libfetch/http.c
1042
new->length = url->length;
share/examples/refuse/ian/libfetch/http.c
1072
if (url->offset == size && url->length == 0) {
share/examples/refuse/ian/libfetch/http.c
1109
(long long)offset, (long long)length,
share/examples/refuse/ian/libfetch/http.c
1113
if (clength != -1 && length != -1 && clength != length) {
share/examples/refuse/ian/libfetch/http.c
1118
clength = length;
share/examples/refuse/ian/libfetch/http.c
1120
length = offset + clength;
share/examples/refuse/ian/libfetch/http.c
1121
if (length != -1 && size != -1 && length != size) {
share/examples/refuse/ian/libfetch/http.c
1126
size = length;
share/examples/refuse/ian/libfetch/http.c
1142
URL->length = (unsigned) clength;
share/examples/refuse/ian/libfetch/http.c
503
_http_parse_length(const char *p, off_t *length)
share/examples/refuse/ian/libfetch/http.c
513
*length = len;
share/examples/refuse/ian/libfetch/http.c
521
_http_parse_range(const char *p, off_t *offset, off_t *length, off_t *size)
share/examples/refuse/ian/libfetch/http.c
548
*length = 0;
share/examples/refuse/ian/libfetch/http.c
552
*length = last - first + 1;
share/examples/refuse/ian/libfetch/http.c
810
off_t offset, clength, length, size;
share/examples/refuse/ian/libfetch/http.c
840
length = -1;
share/examples/rump/btplay/btplay.c
130
cmd->length = sizeof(inq);
share/examples/rump/btplay/btplay.c
174
cmd->length = sizeof(nreq);
sys/arch/acorn32/stand/boot32/boot32.c
1104
int length;
sys/arch/acorn32/stand/boot32/boot32.c
1106
for (pos = format, length = 0; length<width; length++) *pos++ = prefix;
sys/arch/acorn32/stand/boot32/boot32.c
1112
length = strlen(scrap);
sys/arch/acorn32/stand/boot32/boot32.c
1114
return scrap+length-width;
sys/arch/acorn32/stand/boot32/boot32.c
233
u_long *reloc_entry, current_length, length;
sys/arch/acorn32/stand/boot32/boot32.c
248
length = reloc_entry[2];
sys/arch/acorn32/stand/boot32/boot32.c
253
current_length += length;
sys/arch/acorn32/stand/boot32/boot32.c
261
current_length = length;
sys/arch/acorn32/stand/boot32/boot32.c
270
length = current_entry - (reloc_instruction_table + 1);
sys/arch/acorn32/stand/boot32/boot32.c
272
reloc_entries, length/3);
sys/arch/acorn32/stand/boot32/boot32.c
275
reloc_entries = length/3;
sys/arch/acorn32/stand/boot32/boot32.c
276
reloc_instruction_table[0] = length/3;
sys/arch/acorn32/stand/lib/riscoscalls.h
341
uint32_t length;
sys/arch/acorn32/stand/nbfs/nbfs.c
411
fdp->length = 0;
sys/arch/amiga/amiga/bus.c
39
bus_size_t offset, bus_size_t length, int flags)
sys/arch/amiga/dev/repulse.c
574
int length = blksize;
sys/arch/amiga/dev/repulse.c
575
while (length > 0) {
sys/arch/amiga/dev/repulse.c
578
length -= 4;
sys/arch/amiga/dev/repulse.c
653
int length = sc->sc_captbufsz;
sys/arch/amiga/dev/repulse.c
654
while (length > 0) {
sys/arch/amiga/dev/repulse.c
657
length -= 4;
sys/arch/amiga/include/bus.h
260
bus_size_t offset, bus_size_t length, int flags);
sys/arch/amiga/stand/bootblock/boot/amigaio.h
45
length; /* please transfer this much */
sys/arch/amiga/stand/bootblock/boot/console.c
141
mc->cnior->length = 136; /* sizeof(struct Window) */
sys/arch/amiga/stand/bootblock/boot/console.c
236
mc->cnior->length = 1;
sys/arch/amiga/stand/bootblock/boot/console.c
253
mc->cnior->length = -1;
sys/arch/amiga/stand/bootblock/boot/console.c
278
mc->cnior->length = 1;
sys/arch/amiga/stand/bootblock/boot/xd.c
104
aio->length = size;
sys/arch/arc/arc/arcbios.h
342
uint32_t length; /* Length of parameter block */
sys/arch/arc/dev/opms.c
275
size_t length;
sys/arch/arc/dev/opms.c
299
length = uimin(sc->sc_q.c_cc, uio->uio_resid);
sys/arch/arc/dev/opms.c
300
if (length > sizeof(buffer))
sys/arch/arc/dev/opms.c
301
length = sizeof(buffer);
sys/arch/arc/dev/opms.c
304
(void) q_to_b(&sc->sc_q, buffer, length);
sys/arch/arc/dev/opms.c
307
error = uiomove(buffer, length, uio);
sys/arch/arm/acpi/acpi_table.c
59
UINT32 length;
sys/arch/arm/acpi/acpi_table.c
64
length = le32toh(header->Length);
sys/arch/arm/acpi/acpi_table.c
68
return acpi_md_OsMapMemory(pa, length, hdrp);
sys/arch/arm/imx/imx23_space.c
203
bus_size_t length, int flags)
sys/arch/arm/marvell/mvsoc_space.c
527
bus_size_t length, int flags)
sys/arch/arm/ofw/openfirm.c
310
int length;
sys/arch/arm/ofw/openfirm.c
322
return args.length;
sys/arch/arm/ofw/openfirm.c
335
int length;
sys/arch/arm/ofw/openfirm.c
347
return args.length;
sys/arch/arm/sunxi/sunxi_ts.c
232
id->length = strlen(id->data);
sys/arch/atari/dev/clock.c
515
int s, length;
sys/arch/atari/dev/clock.c
530
length = strlen(buffer) - uio->uio_offset;
sys/arch/atari/dev/clock.c
531
if (length > uio->uio_resid)
sys/arch/atari/dev/clock.c
532
length = uio->uio_resid;
sys/arch/atari/dev/clock.c
534
return uiomove((void *)buffer, length, uio);
sys/arch/atari/dev/clock.c
553
int s, length, error;
sys/arch/atari/dev/clock.c
559
length = uio->uio_resid;
sys/arch/atari/dev/clock.c
560
if (uio->uio_offset || (length != sizeof(buffer)
sys/arch/atari/dev/clock.c
561
&& length != sizeof(buffer) - 1))
sys/arch/atari/dev/clock.c
567
if (length == sizeof(buffer) && buffer[sizeof(buffer) - 1] != '\n')
sys/arch/atari/stand/tostools/aptck/diskio.c
315
size_t length = 1;
sys/arch/atari/stand/tostools/aptck/diskio.c
320
length += strlen(p);
sys/arch/atari/stand/tostools/aptck/diskio.c
323
*(result = xmalloc(length)) = '\0';
sys/arch/atari/stand/tostools/libtos/diskio.c
315
size_t length = 1;
sys/arch/atari/stand/tostools/libtos/diskio.c
320
length += strlen(p);
sys/arch/atari/stand/tostools/libtos/diskio.c
323
*(result = xmalloc(length)) = '\0';
sys/arch/atari/vme/leo.c
358
int length, size, error;
sys/arch/atari/vme/leo.c
365
length = sc->sc_msize - uio->uio_offset;
sys/arch/atari/vme/leo.c
366
if (length > uio->uio_resid)
sys/arch/atari/vme/leo.c
367
length = uio->uio_resid;
sys/arch/atari/vme/leo.c
368
while (length > 0) {
sys/arch/atari/vme/leo.c
369
size = length;
sys/arch/atari/vme/leo.c
372
length -= size;
sys/arch/bebox/stand/boot/sd.c
115
*blksize = _4btol(data.data.length);
sys/arch/bebox/stand/boot/sd.c
135
*blksize = _4btol(data.data16.length);
sys/arch/bebox/stand/boot/sd.c
223
_lto2b(sizeof(data), cmd.length);
sys/arch/bebox/stand/boot/sd.c
230
if (error || data.header.length == 0)
sys/arch/bebox/stand/boot/sd.c
708
cmd_small.length = 1;
sys/arch/bebox/stand/boot/sd.c
716
_lto2b(1, cmd_big.length);
sys/arch/bebox/stand/boot/sd.c
724
_lto4b(1, cmd16.length);
sys/arch/bebox/stand/boot/siop.c
1120
cmd.length = len & 0xff;
sys/arch/bebox/stand/boot/siop.c
798
cmd->length = SCSIPI_INQUIRY_LENGTH_SCSI2;
sys/arch/bebox/stand/boot/siop.c
831
cmd->length = sizeof(struct scsi_sense_data);
sys/arch/evbarm/netwalker/netwalker_btn.c
259
id->length = strlen(id->data);
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
179
cfe_enummem(int idx, int flags, cfe_xuint_t *start, cfe_xuint_t *length,
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
197
*length = xiocb.plist.xiocb_meminfo.mi_size;
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
392
cfe_ioctl(int handle, unsigned int ioctlnum, unsigned char *buffer, int length,
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
405
xiocb.plist.xiocb_buffer.buf_length = length;
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
440
cfe_read(int handle, unsigned char *buffer, int length)
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
442
return cfe_readblk(handle, 0, buffer, length);
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
448
cfe_readblk(int handle, cfe_xint_t offset, unsigned char *buffer, int length)
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
459
xiocb.plist.xiocb_buffer.buf_length = length;
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
508
cfe_write(int handle, unsigned char *buffer, int length)
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
510
return cfe_writeblk(handle, 0, buffer, length);
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
516
cfe_writeblk(int handle, cfe_xint_t offset, unsigned char *buffer, int length)
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
527
xiocb.plist.xiocb_buffer.buf_length = length;
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
189
int cfe_enummem(int idx, int flags, uint64_t *start, uint64_t *length,
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
200
int length, int *retlen, uint64_t offset);
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
202
int cfe_read(int handle, unsigned char *buffer, int length);
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
203
int cfe_readblk(int handle, int64_t offset, unsigned char *buffer, int length);
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
205
int cfe_write(int handle, unsigned char *buffer, int length);
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
207
int length);
sys/arch/evbppc/include/wii.h
171
uint32_t length;
sys/arch/evbppc/nintendo/dev/di.c
378
_lto4b(DVDBLOCKSIZE, cdcap->length);
sys/arch/evbppc/nintendo/machdep.c
264
memcpy(wii_cmdline, ptr, wii_argv.length);
sys/arch/hp300/stand/common/if_le.c
455
int length;
sys/arch/hp300/stand/common/if_le.c
480
length = 0;
sys/arch/hp300/stand/common/if_le.c
486
length = cdm->mcnt;
sys/arch/hp300/stand/common/if_le.c
489
printf("le_poll: length %d\n", length);
sys/arch/hp300/stand/common/if_le.c
491
if (length >= BUFSIZE) {
sys/arch/hp300/stand/common/if_le.c
493
unit, length, stat);
sys/arch/hp300/stand/common/if_le.c
494
length = 0;
sys/arch/hp300/stand/common/if_le.c
497
if (!length)
sys/arch/hp300/stand/common/if_le.c
499
length -= 4;
sys/arch/hp300/stand/common/if_le.c
501
if (length > 0) {
sys/arch/hp300/stand/common/if_le.c
507
if (length > len)
sys/arch/hp300/stand/common/if_le.c
508
length = len;
sys/arch/hp300/stand/common/if_le.c
510
memcpy(pkt, sc->sc_rbuf + (BUFSIZE * sc->sc_next_rd), length);
sys/arch/hp300/stand/common/if_le.c
523
return length;
sys/arch/hpc/include/bootinfo.h
41
short length;
sys/arch/hpc/stand/hpcboot/hpcmenu.cpp
338
bi.length = sizeof(struct bootinfo);
sys/arch/hpcarm/dev/ipaq_atmelgpio.c
164
int i, checksum, length, rx_data;
sys/arch/hpcarm/dev/ipaq_atmelgpio.c
167
length = size + FRAME_OVERHEAD_SIZE;
sys/arch/hpcarm/dev/ipaq_atmelgpio.c
180
data[length-1] = checksum;
sys/arch/hpcarm/dev/ipaq_atmelgpio.c
185
while (i < length)
sys/arch/hpcarm/dev/wzero3_tp.c
483
id->length = strlen(id->data);
sys/arch/hpcmips/hpcmips/machdep.c
258
memcpy(&bi_copy, bi, uimin(bi->length, sizeof(struct bootinfo)));
sys/arch/hpcmips/stand/pbsdboot/main.c
814
bi->length = sizeof(struct bootinfo);
sys/arch/hpcmips/stand/pbsdboot/pbsdboot.h
131
void *vmem_get(void *phys_addr, int *length);
sys/arch/hpcmips/stand/pbsdboot/preference.c
180
DWORD length;
sys/arch/hpcmips/stand/pbsdboot/preference.c
245
length = MultiByteToWideChar(CP_ACP,0,tempbuf,-1,identif,0);
sys/arch/hpcmips/stand/pbsdboot/preference.c
246
MultiByteToWideChar(CP_ACP,0,tempbuf,-1,identif,length);
sys/arch/hpcmips/stand/pbsdboot/preference.c
271
length = MultiByteToWideChar(CP_ACP,0,tempbuf,-1,unidata,0);
sys/arch/hpcmips/stand/pbsdboot/preference.c
272
MultiByteToWideChar(CP_ACP,0,tempbuf,-1,unidata,length);
sys/arch/hpcmips/stand/pbsdboot/preference.c
471
DWORD length;
sys/arch/hpcmips/stand/pbsdboot/preference.c
495
length = WideCharToMultiByte(CP_ACP,0,unibuf,-1,NULL,0,NULL,NULL);
sys/arch/hpcmips/stand/pbsdboot/preference.c
496
WideCharToMultiByte(CP_ACP,0,unibuf,-1,tempbuf,length,NULL,NULL);
sys/arch/hpcmips/stand/pbsdboot/preference.c
505
length = WideCharToMultiByte(CP_ACP,0,unibuf,-1,NULL,0,NULL,NULL);
sys/arch/hpcmips/stand/pbsdboot/preference.c
506
WideCharToMultiByte(CP_ACP,0,unibuf,-1,tempbuf,length,NULL,NULL);
sys/arch/hpcmips/stand/pbsdboot/preference.c
515
length = WideCharToMultiByte(CP_ACP,0,unibuf,-1,NULL,0,NULL,NULL);
sys/arch/hpcmips/stand/pbsdboot/preference.c
516
WideCharToMultiByte(CP_ACP,0,unibuf,-1,tempbuf,length,NULL,NULL);
sys/arch/hpcmips/stand/pbsdboot/preference.c
526
length = WideCharToMultiByte(CP_ACP,0,unibuf,-1,NULL,0,NULL,NULL);
sys/arch/hpcmips/stand/pbsdboot/preference.c
527
WideCharToMultiByte(CP_ACP,0,unibuf,-1,tempbuf,length,NULL,NULL);
sys/arch/hpcmips/stand/pbsdboot/preference.c
537
length = WideCharToMultiByte(CP_ACP,0,unibuf,-1,NULL,0,NULL,NULL);
sys/arch/hpcmips/stand/pbsdboot/preference.c
538
WideCharToMultiByte(CP_ACP,0,unibuf,-1,tempbuf,length,NULL,NULL);
sys/arch/hpcmips/stand/pbsdboot/preference.c
547
length = WideCharToMultiByte(CP_ACP,0,unibuf,-1,NULL,0,NULL,NULL);
sys/arch/hpcmips/stand/pbsdboot/preference.c
548
WideCharToMultiByte(CP_ACP,0,unibuf,-1,tempbuf,length,NULL,NULL);
sys/arch/hpcmips/stand/pbsdboot/preference.c
556
length = WideCharToMultiByte(CP_ACP,0,unibuf,-1,NULL,0,NULL,NULL);
sys/arch/hpcmips/stand/pbsdboot/preference.c
557
WideCharToMultiByte(CP_ACP,0,unibuf,-1,tempbuf,length,NULL,NULL);
sys/arch/hpcmips/stand/pbsdboot/preference.c
567
length = WideCharToMultiByte(CP_ACP,0,unibuf,-1,NULL,0,NULL,NULL);
sys/arch/hpcmips/stand/pbsdboot/preference.c
568
WideCharToMultiByte(CP_ACP,0,unibuf,-1,tempbuf,length,NULL,NULL);
sys/arch/hpcmips/stand/pbsdboot/preference.c
577
length = WideCharToMultiByte(CP_ACP,0,unibuf,-1,NULL,0,NULL,NULL);
sys/arch/hpcmips/stand/pbsdboot/preference.c
578
WideCharToMultiByte(CP_ACP,0,unibuf,-1,tempbuf,length,NULL,NULL);
sys/arch/hpcmips/stand/pbsdboot/preference.c
589
length = WideCharToMultiByte(CP_ACP,0,unibuf,-1,NULL,0,NULL,NULL);
sys/arch/hpcmips/stand/pbsdboot/preference.c
590
WideCharToMultiByte(CP_ACP,0,unibuf,-1,tempbuf,length,NULL,NULL);
sys/arch/hpcmips/stand/pbsdboot/preference.c
602
length = WideCharToMultiByte(CP_ACP,0,unibuf,-1,NULL,0,NULL,NULL);
sys/arch/hpcmips/stand/pbsdboot/preference.c
603
WideCharToMultiByte(CP_ACP,0,unibuf,-1,tempbuf,length,NULL,NULL);
sys/arch/hpcmips/stand/pbsdboot/preference.c
614
length = WideCharToMultiByte(CP_ACP,0,unibuf,-1,NULL,0,NULL,NULL);
sys/arch/hpcmips/stand/pbsdboot/preference.c
615
WideCharToMultiByte(CP_ACP,0,unibuf,-1,tempbuf,length,NULL,NULL);
sys/arch/hpcmips/stand/pbsdboot/preference.c
630
length = WideCharToMultiByte(CP_ACP,0,unibuf,-1,NULL,0,NULL,NULL);
sys/arch/hpcmips/stand/pbsdboot/preference.c
631
WideCharToMultiByte(CP_ACP,0,unibuf,-1,tempbuf,length,NULL,NULL);
sys/arch/hpcmips/stand/pbsdboot/preference.c
648
length = WideCharToMultiByte(CP_ACP,0,unibuf,-1,NULL,0,NULL,NULL);
sys/arch/hpcmips/stand/pbsdboot/preference.c
649
WideCharToMultiByte(CP_ACP,0,unibuf,-1,tempbuf,length,NULL,NULL);
sys/arch/hpcmips/stand/pbsdboot/preference.c
666
length = WideCharToMultiByte(CP_ACP,0,unibuf,-1,NULL,0,NULL,NULL);
sys/arch/hpcmips/stand/pbsdboot/preference.c
667
WideCharToMultiByte(CP_ACP,0,unibuf,-1,tempbuf,length,NULL,NULL);
sys/arch/hpcmips/stand/pbsdboot/preference.c
683
length = WideCharToMultiByte(CP_ACP,0,unibuf,-1,NULL,0,NULL,NULL);
sys/arch/hpcmips/stand/pbsdboot/preference.c
684
WideCharToMultiByte(CP_ACP,0,unibuf,-1,tempbuf,length,NULL,NULL);
sys/arch/hpcmips/stand/pbsdboot/preference.c
697
length = WideCharToMultiByte(CP_ACP,0,unibuf,-1,NULL,0,NULL,NULL);
sys/arch/hpcmips/stand/pbsdboot/preference.c
698
WideCharToMultiByte(CP_ACP,0,unibuf,-1,tempbuf,length,NULL,NULL);
sys/arch/hpcmips/stand/pbsdboot/vmem.c
165
vmem_get(void *phys_addr, int *length)
sys/arch/hpcmips/stand/pbsdboot/vmem.c
174
if (length) {
sys/arch/hpcmips/stand/pbsdboot/vmem.c
175
*length = pagesize - offset;
sys/arch/hppa/include/som.h
95
u_int length;
sys/arch/hppa/spmath/fpbits.h
69
#define Bitfield_extract(start, length, object) \
sys/arch/hppa/spmath/fpbits.h
70
((object) >> (HOSTWDSZ - (start) - (length)) & \
sys/arch/hppa/spmath/fpbits.h
71
((unsigned)-1 >> (HOSTWDSZ - (length))))
sys/arch/hppa/spmath/fpbits.h
73
#define Bitfield_signed_extract(start, length, object) \
sys/arch/hppa/spmath/fpbits.h
74
((int)((object) << start) >> (HOSTWDSZ - (length)))
sys/arch/ia64/ia64/consinit.c
115
n += desc->pcdp.length;
sys/arch/ia64/ia64/consinit.c
138
m = tbl->length - sizeof(struct dig64_hcdp_table);
sys/arch/ia64/ia64/consinit.c
88
m = tbl->length - sizeof(struct dig64_hcdp_table);
sys/arch/ia64/ia64/pmap.c
1014
bckt->length--;
sys/arch/ia64/ia64/pmap.c
200
u_int length;
sys/arch/ia64/ia64/pmap.c
972
bckt->length++;
sys/arch/ia64/include/bus.h
964
bus_size_t offset, bus_size_t length, int flags)
sys/arch/ia64/include/dig64.h
119
uint16_t length; /* of the ACPI Specific Structure */
sys/arch/ia64/include/dig64.h
131
uint16_t length; /* of the PCI Specific Structure */
sys/arch/ia64/include/dig64.h
148
uint16_t length; /* in bytes */
sys/arch/ia64/include/dig64.h
171
uint32_t length;
sys/arch/ia64/stand/ia64/efi/main.c
521
printf("Length = %u\n", tbl->length);
sys/arch/ia64/stand/ia64/efi/main.c
531
m = tbl->length - sizeof(struct dig64_hcdp_table);
sys/arch/ia64/stand/ia64/efi/main.c
575
printf(" Length = %u\n", pcdp->length);
sys/arch/ia64/stand/ia64/efi/main.c
586
printf(" Length = %u\n", acpi->length);
sys/arch/ia64/stand/ia64/efi/main.c
601
printf(" Length = %u\n", pci->length);
sys/arch/ia64/stand/ia64/efi/main.c
617
n += pcdp->length;
sys/arch/mac68k/mac68k/machdep.c
2523
mac68k_ring_bell(int freq, int length, int volume)
sys/arch/mac68k/mac68k/machdep.c
2527
freq, length, volume));
sys/arch/mac68k/nubus/nubus.c
420
fmt->length = nubus_read_4(bst, bsh, lanes, hdr);
sys/arch/mac68k/nubus/nubus.c
433
printf("Length 0x%x\t", fmt->length);
sys/arch/mac68k/nubus/nubus.c
473
ptr = NUBUS_ROM_offset(fmt, base, -fmt->length);
sys/arch/mac68k/nubus/nubus.c
736
printf("\tblock@%p, len 0x0%X\n", rlist, rlist->length);
sys/arch/mac68k/nubus/nubus.c
740
rlist->range[ii].offset, rlist->range[ii].length);
sys/arch/mac68k/nubus/nubus.h
198
u_int32_t length;
sys/arch/mac68k/nubus/nubus.h
260
u_int32_t length;
sys/arch/mac68k/nubus/nubus.h
272
u_int32_t length;
sys/arch/mac68k/obio/asc.c
312
asc_ring_bell(void *arg, int freq, int length, int volume)
sys/arch/mac68k/obio/asc.c
356
callout_reset(&sc->sc_bell_ch, length, asc_stop_bell, sc);
sys/arch/mac68k/obio/grf_obio.c
199
u_long base, length;
sys/arch/mac68k/obio/grf_obio.c
211
length = 0x00100000; /* 1MB */
sys/arch/mac68k/obio/grf_obio.c
214
mac68k_video.mv_phys < (sc->sc_basepa + length)) {
sys/arch/mac68k/obio/grf_obio.c
222
length = mac68k_video.mv_len + sc->sc_fbofs;
sys/arch/mac68k/obio/grf_obio.c
244
length = 0x00100000; /* 1MB */
sys/arch/mac68k/obio/grf_obio.c
287
length = 0x00200000; /* 2MB */
sys/arch/mac68k/obio/grf_obio.c
289
mac68k_video.mv_phys < (sc->sc_basepa + length)) {
sys/arch/mac68k/obio/grf_obio.c
294
length = mac68k_video.mv_len + sc->sc_fbofs;
sys/arch/mac68k/obio/grf_obio.c
308
length = mac68k_video.mv_len + sc->sc_fbofs;
sys/arch/mac68k/obio/grf_obio.c
339
length = mac68k_video.mv_len + sc->sc_fbofs;
sys/arch/mac68k/obio/grf_obio.c
348
if (bus_space_map(sc->sc_tag, sc->sc_basepa, length, 0,
sys/arch/mac68k/obio/grf_obio.c
355
mac68k_video.mv_phys < (sc->sc_basepa + length)) {
sys/arch/macppc/dev/cuda.c
403
cuda_send(void *cookie, int poll, int length, uint8_t *msg)
sys/arch/macppc/dev/cuda.c
429
memcpy(sc->sc_out, msg, length);
sys/arch/macppc/dev/cuda.c
430
sc->sc_out_length = length;
sys/arch/macppc/dev/pmu.c
509
pmu_send(void *cookie, int cmd, int length, uint8_t *in_msg, int rlen,
sys/arch/macppc/dev/pmu.c
532
pmu_send_byte(sc, length);
sys/arch/macppc/dev/pmu.c
535
for (i = 0; i < length; i++) {
sys/arch/mips/adm5120/adm5120_cfio.c
380
bus_size_t length, int flags)
sys/arch/mips/adm5120/adm5120_cfio.c
383
offset, length, flags);
sys/arch/mips/adm5120/adm5120_cfio.c
385
offset, length, flags);
sys/arch/mips/adm5120/adm5120_cfio.c
85
bus_size_t length, int);
sys/arch/mips/cfe/cfe_api.c
182
cfe_enummem(int idx, int flags, cfe_xuint_t *start, cfe_xuint_t *length,
sys/arch/mips/cfe/cfe_api.c
200
*length = xiocb.plist.xiocb_meminfo.mi_size;
sys/arch/mips/cfe/cfe_api.c
395
cfe_ioctl(int handle, unsigned int ioctlnum, unsigned char *buffer, int length,
sys/arch/mips/cfe/cfe_api.c
408
xiocb.plist.xiocb_buffer.buf_length = length;
sys/arch/mips/cfe/cfe_api.c
443
cfe_read(int handle, unsigned char *buffer, int length)
sys/arch/mips/cfe/cfe_api.c
445
return cfe_readblk(handle, 0, buffer, length);
sys/arch/mips/cfe/cfe_api.c
451
cfe_readblk(int handle, cfe_xint_t offset, unsigned char *buffer, int length)
sys/arch/mips/cfe/cfe_api.c
462
xiocb.plist.xiocb_buffer.buf_length = length;
sys/arch/mips/cfe/cfe_api.c
511
cfe_write(int handle, unsigned char *buffer, int length)
sys/arch/mips/cfe/cfe_api.c
513
return cfe_writeblk(handle, 0, buffer, length);
sys/arch/mips/cfe/cfe_api.c
519
cfe_writeblk(int handle, cfe_xint_t offset, unsigned char *buffer, int length)
sys/arch/mips/cfe/cfe_api.c
530
xiocb.plist.xiocb_buffer.buf_length = length;
sys/arch/mips/cfe/cfe_api.h
177
int cfe_enummem(int idx, int flags, uint64_t *start, uint64_t *length,
sys/arch/mips/cfe/cfe_api.h
188
int length, int *retlen, uint64_t offset);
sys/arch/mips/cfe/cfe_api.h
190
int cfe_read(int handle, unsigned char *buffer, int length);
sys/arch/mips/cfe/cfe_api.h
191
int cfe_readblk(int handle, int64_t offset, unsigned char *buffer, int length);
sys/arch/mips/cfe/cfe_api.h
193
int cfe_write(int handle, unsigned char *buffer, int length);
sys/arch/mips/cfe/cfe_api.h
195
int length);
sys/arch/mips/sibyte/dev/sbmac.c
577
int length;
sys/arch/mips/sibyte/dev/sbmac.c
752
length = m_new->m_len;
sys/arch/mips/sibyte/dev/sbmac.c
767
V_DMA_DSCRB_PKT_SIZE(length);
sys/arch/mvme68k/stand/netboot/if_ie.c
295
int length = 0;
sys/arch/mvme68k/stand/netboot/if_ie.c
306
length = iem->im_rbd[slot].ie_rbd_actual & 0x3fff;
sys/arch/mvme68k/stand/netboot/if_ie.c
307
if (length > len)
sys/arch/mvme68k/stand/netboot/if_ie.c
308
length = len;
sys/arch/mvme68k/stand/netboot/if_ie.c
310
length);
sys/arch/mvme68k/stand/netboot/if_ie.c
347
return length;
sys/arch/mvme68k/stand/netboot/if_le.c
266
int length;
sys/arch/mvme68k/stand/netboot/if_le.c
283
length = 0;
sys/arch/mvme68k/stand/netboot/if_le.c
290
length = rmd->rmd3;
sys/arch/mvme68k/stand/netboot/if_le.c
291
if (length >= LEMTU) {
sys/arch/mvme68k/stand/netboot/if_le.c
292
length = 0;
sys/arch/mvme68k/stand/netboot/if_le.c
296
if (length == 0)
sys/arch/mvme68k/stand/netboot/if_le.c
298
length -= 4;
sys/arch/mvme68k/stand/netboot/if_le.c
299
if (length > 0) {
sys/arch/mvme68k/stand/netboot/if_le.c
305
if (length > len)
sys/arch/mvme68k/stand/netboot/if_le.c
306
length = len;
sys/arch/mvme68k/stand/netboot/if_le.c
309
length);
sys/arch/mvme68k/stand/netboot/if_le.c
319
return length;
sys/arch/mvme68k/stand/sboot/le_poll.c
148
int length;
sys/arch/mvme68k/stand/sboot/le_poll.c
162
length = 0;
sys/arch/mvme68k/stand/sboot/le_poll.c
170
length = rmd->rmd3;
sys/arch/mvme68k/stand/sboot/le_poll.c
171
if (length >= LEMTU) {
sys/arch/mvme68k/stand/sboot/le_poll.c
172
length = 0;
sys/arch/mvme68k/stand/sboot/le_poll.c
177
if (length == 0)
sys/arch/mvme68k/stand/sboot/le_poll.c
179
length -= 4;
sys/arch/mvme68k/stand/sboot/le_poll.c
180
if (length > 0)
sys/arch/mvme68k/stand/sboot/le_poll.c
182
length);
sys/arch/mvme68k/stand/sboot/le_poll.c
192
return length;
sys/arch/next68k/stand/boot/sd.c
133
blklen = (cap.length[0]<<24) + (cap.length[1]<<16)
sys/arch/next68k/stand/boot/sd.c
134
+ (cap.length[2]<<8) + cap.length[3];
sys/arch/next68k/stand/boot/sd.c
287
cdb.length[0] = (nblks & 0xff00) >> 8;
sys/arch/next68k/stand/boot/sd.c
288
cdb.length[1] = nblks & 0xff;
sys/arch/next68k/stand/boot/sd.c
98
cdb2.length = SCSIPI_INQUIRY_LENGTH_SCSI2;
sys/arch/ofppc/stand/ofwboot/Locore.c
642
int length;
sys/arch/ofppc/stand/ofwboot/Locore.c
656
if (args.length > buflen)
sys/arch/ofppc/stand/ofwboot/Locore.c
657
args.length = buflen;
sys/arch/ofppc/stand/ofwboot/Locore.c
658
return args.length;
sys/arch/pmax/ibus/sii_ds.c
48
volatile u_short *dst, int length);
sys/arch/pmax/ibus/sii_ds.c
50
int length);
sys/arch/pmax/ibus/sii_ds.c
53
volatile u_short *dst, int length);
sys/arch/pmax/ibus/sii_ds.c
55
int length);
sys/arch/pmax/include/locore.h
22
volatile u_short *dst, int length);
sys/arch/pmax/include/locore.h
23
void CopyFromBuffer(volatile u_short *src, char *dst, int length);
sys/arch/powerpc/powerpc/openfirm.c
383
int length;
sys/arch/powerpc/powerpc/openfirm.c
402
if (args.length > buflen)
sys/arch/powerpc/powerpc/openfirm.c
403
args.length = buflen;
sys/arch/powerpc/powerpc/openfirm.c
404
if (args.length > 0)
sys/arch/powerpc/powerpc/openfirm.c
405
ofbcopy(OF_buf, buf, args.length);
sys/arch/powerpc/powerpc/openfirm.c
406
rv = args.length;
sys/arch/powerpc/powerpc/openfirm.c
423
int length;
sys/arch/powerpc/powerpc/openfirm.c
442
if (args.length > buflen)
sys/arch/powerpc/powerpc/openfirm.c
443
args.length = buflen;
sys/arch/powerpc/powerpc/openfirm.c
444
if (args.length > 0)
sys/arch/powerpc/powerpc/openfirm.c
445
ofbcopy(OF_buf, buf, args.length);
sys/arch/powerpc/powerpc/openfirm.c
446
rv = args.length;
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
171
unsigned long entry, length;
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
180
length = sa_htole32(elf_stat.st_size - sizeof(hdr) + 0x400);
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
183
write(prep_fd, &length, sizeof(length));
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
221
length = sa_htole32(elf_stat.st_size - sizeof(hdr) + 0x400);
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
224
write(prep_fd, &length, sizeof(length));
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
237
length = sa_htole32(elf_stat.st_size - sizeof(hdr) + 0x400);
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
283
write(prep_fd, &length, sizeof(length));
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
293
unsigned long length;
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
387
length = sa_htole32(0x400 + elf_img_len + 8 + kgzlen);
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
389
write(prep_fd, &length, sizeof(length));
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
461
unsigned long length;
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
564
length = sa_htole32(0x400);
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
565
write(rs6000_fd, &length, sizeof(length));
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
566
length = sa_htole32(0x400 + elf_img_len + 8 + kgzlen);
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
567
write(rs6000_fd, &length, sizeof(length));
sys/arch/prep/stand/boot/sd.c
115
*blksize = _4btol(data.data.length);
sys/arch/prep/stand/boot/sd.c
135
*blksize = _4btol(data.data16.length);
sys/arch/prep/stand/boot/sd.c
223
_lto2b(sizeof(data), cmd.length);
sys/arch/prep/stand/boot/sd.c
230
if (error || data.header.length == 0)
sys/arch/prep/stand/boot/sd.c
708
cmd_small.length = 1;
sys/arch/prep/stand/boot/sd.c
716
_lto2b(1, cmd_big.length);
sys/arch/prep/stand/boot/sd.c
724
_lto4b(1, cmd16.length);
sys/arch/prep/stand/boot/siop.c
1082
cmd.length = len & 0xff;
sys/arch/prep/stand/boot/siop.c
777
cmd->length = SCSIPI_INQUIRY_LENGTH_SCSI2;
sys/arch/prep/stand/boot/siop.c
810
cmd->length = sizeof(struct scsi_sense_data);
sys/arch/sbmips/stand/common/cfe_api.c
179
cfe_enummem(int idx, int flags, cfe_xuint_t *start, cfe_xuint_t *length,
sys/arch/sbmips/stand/common/cfe_api.c
197
*length = xiocb.plist.xiocb_meminfo.mi_size;
sys/arch/sbmips/stand/common/cfe_api.c
392
cfe_ioctl(int handle, unsigned int ioctlnum, unsigned char *buffer, int length,
sys/arch/sbmips/stand/common/cfe_api.c
405
xiocb.plist.xiocb_buffer.buf_length = length;
sys/arch/sbmips/stand/common/cfe_api.c
440
cfe_read(int handle, unsigned char *buffer, int length)
sys/arch/sbmips/stand/common/cfe_api.c
442
return cfe_readblk(handle, 0, buffer, length);
sys/arch/sbmips/stand/common/cfe_api.c
448
cfe_readblk(int handle, cfe_xint_t offset, unsigned char *buffer, int length)
sys/arch/sbmips/stand/common/cfe_api.c
459
xiocb.plist.xiocb_buffer.buf_length = length;
sys/arch/sbmips/stand/common/cfe_api.c
508
cfe_write(int handle, unsigned char *buffer, int length)
sys/arch/sbmips/stand/common/cfe_api.c
510
return cfe_writeblk(handle, 0, buffer, length);
sys/arch/sbmips/stand/common/cfe_api.c
516
cfe_writeblk(int handle, cfe_xint_t offset, unsigned char *buffer, int length)
sys/arch/sbmips/stand/common/cfe_api.c
527
xiocb.plist.xiocb_buffer.buf_length = length;
sys/arch/sbmips/stand/common/cfe_api.h
189
int cfe_enummem(int idx, int flags, uint64_t *start, uint64_t *length,
sys/arch/sbmips/stand/common/cfe_api.h
200
int length, int *retlen, uint64_t offset);
sys/arch/sbmips/stand/common/cfe_api.h
202
int cfe_read(int handle, unsigned char *buffer, int length);
sys/arch/sbmips/stand/common/cfe_api.h
203
int cfe_readblk(int handle, int64_t offset, unsigned char *buffer, int length);
sys/arch/sbmips/stand/common/cfe_api.h
205
int cfe_write(int handle, unsigned char *buffer, int length);
sys/arch/sbmips/stand/common/cfe_api.h
207
int length);
sys/arch/sgimips/gio/grtwo.c
311
int length = (width + 3) >> 2;
sys/arch/sgimips/gio/grtwo.c
312
int lines = 4864 / length;
sys/arch/sgimips/gio/grtwo.c
319
bus_space_write_4(dc->iot, dc->ioh, GR2_FIFO_RECTCOPY, length);
sys/arch/sgimips/gio/grtwo.c
334
bus_space_write_4(dc->iot, dc->ioh, GR2_FIFO_RECTCOPY, length);
sys/arch/sgimips/hpc/haud.c
1086
.length = blksize / 2
sys/arch/sgimips/hpc/haud.c
368
int length;
sys/arch/sgimips/hpc/haud.c
400
KASSERT(input->length <= cap);
sys/arch/sgimips/hpc/haud.c
402
if (!haud_wait_for_write(sc, buf, input->length)) {
sys/arch/sgimips/hpc/haud.c
409
int words_left = input->length;
sys/arch/sgimips/hpc/haud.c
413
const int src_start = input->length - words_left;
sys/arch/sgimips/hpc/haud.c
471
KASSERT(output->length <= cap);
sys/arch/sgimips/hpc/haud.c
475
if (!haud_wait_for_read(sc, buf, output->length)) {
sys/arch/sgimips/hpc/haud.c
482
int words_left = output->length;
sys/arch/sgimips/hpc/haud.c
486
const int dst_start = output->length - words_left;
sys/arch/sgimips/hpc/haud.c
542
.length = request_words
sys/arch/sgimips/hpc/haud.c
557
.length = response_words
sys/arch/sgimips/stand/undist/undist.c
316
grow_offset_table(int length)
sys/arch/sgimips/stand/undist/undist.c
319
offset_table = xmalloc(sizeof(struct offset_table *) * length);
sys/arch/sgimips/stand/undist/undist.c
320
memset(offset_table, 0, sizeof(struct offset_table *) * length);
sys/arch/sgimips/stand/undist/undist.c
323
sizeof(struct offset_table *) * length);
sys/arch/sgimips/stand/undist/undist.c
326
(length - offset_table_length));
sys/arch/sgimips/stand/undist/undist.c
329
offset_table_length = length;
sys/arch/shark/include/profileio.h
156
unsigned int length; /* length in arm words ie 32bits. */
sys/arch/sparc/sparc/openfirm.c
291
cell_t length;
sys/arch/sparc/sparc/openfirm.c
304
return args.length;
sys/arch/sparc/sparc/openfirm.c
317
cell_t length;
sys/arch/sparc/sparc/openfirm.c
330
return args.length;
sys/arch/sparc/stand/common/promdev.c
763
oldmon_mapin(u_long physaddr, int length, int maptype)
sys/arch/sparc/stand/common/promdev.c
767
if (length > (4*NBPG))
sys/arch/sparc/stand/common/promdev.c
768
panic("oldmon_mapin: length=%d", length);
sys/arch/sparc/stand/common/promdev.c
786
length -= NBPG;
sys/arch/sparc/stand/common/promdev.c
787
} while (length > 0);
sys/arch/sparc/stand/ofwboot/Locore.c
143
cell_t length;
sys/arch/sparc/stand/ofwboot/Locore.c
154
return args.length;
sys/arch/sparc/stand/ofwboot/Locore.c
275
cell_t length;
sys/arch/sparc/stand/ofwboot/Locore.c
288
return args.length;
sys/arch/sparc64/dev/vdsk.c
1439
_lto4b(sc->sc_vdisk_block_size, rcd.length);
sys/arch/sparc64/dev/vdsk.c
1460
_lto4b(sc->sc_vdisk_block_size, rcd.length);
sys/arch/sparc64/include/hypervisor.h
121
int64_t hv_mem_scrub(paddr_t raddr, psize_t length);
sys/arch/sparc64/include/hypervisor.h
122
int64_t hv_mem_sync(paddr_t raddr, psize_t length);
sys/arch/sparc64/include/hypervisor.h
339
paddr_t raddr, psize_t length, psize_t *ret_length);
sys/arch/sparc64/include/hypervisor.h
52
int64_t hv_mach_desc(paddr_t buffer, psize_t *length);
sys/arch/sun2/dev/if_ec.c
459
int length, total_length;
sys/arch/sun2/dev/if_ec.c
496
length = MHLEN;
sys/arch/sun2/dev/if_ec.c
504
length = MCLBYTES;
sys/arch/sun2/dev/if_ec.c
506
m->m_len = length = uimin(total_length, length);
sys/arch/sun2/dev/if_ec.c
507
ec_copyin(sc, mtod(m, uint8_t *), buf, length);
sys/arch/sun2/dev/if_ec.c
508
total_length -= length;
sys/arch/sun2/dev/if_ec.c
509
buf += length;
sys/arch/sun2/dev/if_ec.c
515
length = MLEN;
sys/arch/sun68k/stand/libsa/sun2.c
108
dev2_mapin(int maptype, u_long physaddr, int length)
sys/arch/sun68k/stand/libsa/sun2.c
113
if ((sun2_devmap + length) > SUN3_MONSHORTPAGE)
sys/arch/sun68k/stand/libsa/sun2.c
114
panic("dev2_mapin: length=%d", length);
sys/arch/sun68k/stand/libsa/sun2.c
134
length -= NBPG;
sys/arch/sun68k/stand/libsa/sun2.c
135
} while (length > 0);
sys/arch/sun68k/stand/libsa/sun3.c
103
dev3_mapin(int maptype, u_long physaddr, int length)
sys/arch/sun68k/stand/libsa/sun3.c
107
if ((sun3_devmap + length) > SUN3_MONSHORTPAGE)
sys/arch/sun68k/stand/libsa/sun3.c
108
panic("dev3_mapin: length=%d", length);
sys/arch/sun68k/stand/libsa/sun3.c
127
length -= NBPG;
sys/arch/sun68k/stand/libsa/sun3.c
128
} while (length > 0);
sys/arch/sun68k/stand/libsa/sun3x.c
104
dev3x_mapin(int maptype, u_long physaddr, int length)
sys/arch/sun68k/stand/libsa/sun3x.c
108
if ((sun3x_devmap + length) > (MON_KDB_BASE + MON_KDB_SIZE))
sys/arch/sun68k/stand/libsa/sun3x.c
109
panic("dev3x_mapin: length=%d", length);
sys/arch/sun68k/stand/libsa/sun3x.c
128
length -= NBPG;
sys/arch/sun68k/stand/libsa/sun3x.c
129
} while (length > 0);
sys/arch/vax/include/qduser.h
274
int length; /* transfer buffer length */
sys/arch/x68k/stand/libdos/dos.h
226
long length;
sys/arch/x68k/stand/libdos/dos.h
31
unsigned char length;
sys/arch/x86/include/mpbiosreg.h
60
uint8_t length;
sys/arch/x86/x86/cpu_ucode.c
151
op.u.microcode.length = sc->sc_blobsize;
sys/arch/x86/x86/mpbios.c
153
uint8_t length;
sys/arch/x86/x86/mpbios.c
455
((len = m->length << 4) != 0) &&
sys/arch/x86/x86/mpbios.c
456
mpbios_cksum(m, (m->length << 4)) == 0) {
sys/arch/x86/x86/mpbios.c
571
entry += mp_conf[*entry].length;
sys/arch/x86/x86/mpbios.c
761
position += mp_conf[type].length;
sys/arch/x86/x86/mpbios.c
832
position += mp_conf[type].length;
sys/arch/zaurus/dev/ztp.c
588
id->length = strlen(id->data);
sys/coda/coda_namecache.c
253
coda_nc_hash[CODA_NC_HASH(cncp->name, cncp->namelen, cncp->dcp)].length--;
sys/coda/coda_namecache.c
278
coda_nc_hash[hash].length++; /* Used for tuning */
sys/coda/coda_namecache.c
402
coda_nc_hash[i].length--; /* Used for tuning */
sys/coda/coda_namecache.c
436
coda_nc_hash[i].length--; /* Used for tuning */
sys/coda/coda_namecache.c
492
coda_nc_hash[hash].length--; /* Used for tuning */
sys/coda/coda_namecache.c
534
coda_nc_hash[hash].length--; /* For performance tuning */
sys/coda/coda_namecache.c
598
coda_nc_hash[i].length = 0;
sys/coda/coda_namecache.c
631
if (coda_nc_hash[i].length) {
sys/coda/coda_namecache.c
632
sum += coda_nc_hash[i].length;
sys/coda/coda_namecache.c
637
if (coda_nc_hash[i].length > xmax)
sys/coda/coda_namecache.c
638
xmax = coda_nc_hash[i].length;
sys/coda/coda_namecache.c
656
if (coda_nc_hash[i].length) {
sys/coda/coda_namecache.c
657
temp = coda_nc_hash[i].length - ave;
sys/coda/coda_namecache.h
106
int length; /* used for tuning purposes */
sys/compat/common/kern_select_50.c
60
compat_50_kevent_fetch_timeout(const void *src, void *dest, size_t length)
sys/compat/common/kern_select_50.c
65
KASSERT(length == sizeof(struct timespec));
sys/compat/common/vfs_syscalls_43.c
233
syscallarg(off_t) length;
sys/compat/common/vfs_syscalls_43.c
237
SCARG(&nuap, length) = SCARG(uap, length);
sys/compat/common/vfs_syscalls_43.c
255
syscallarg(off_t) length;
sys/compat/common/vfs_syscalls_43.c
259
SCARG(&nuap, length) = SCARG(uap, length);
sys/compat/linux/arch/aarch64/linux_syscallargs.h
244
syscallarg(off_t) length;
sys/compat/linux/arch/aarch64/linux_syscallargs.h
250
syscallarg(off_t) length;
sys/compat/linux/arch/aarch64/linux_systrace_args.c
133
uarg[1] = SCARG(p, length); /* size_t */
sys/compat/linux/arch/aarch64/linux_systrace_args.c
317
iarg[1] = SCARG(p, length); /* off_t */
sys/compat/linux/arch/aarch64/linux_systrace_args.c
325
iarg[1] = SCARG(p, length); /* off_t */
sys/compat/linux/arch/amd64/linux_syscallargs.h
379
syscallarg(off_t) length;
sys/compat/linux/arch/amd64/linux_syscallargs.h
385
syscallarg(off_t) length;
sys/compat/linux/arch/amd64/linux_systrace_args.c
677
iarg[1] = SCARG(p, length); /* off_t */
sys/compat/linux/arch/amd64/linux_systrace_args.c
685
iarg[1] = SCARG(p, length); /* off_t */
sys/compat/linux/arch/amd64/linux_systrace_args.c
702
uarg[1] = SCARG(p, length); /* size_t */
sys/compat/linux/arch/arm/linux_syscallargs.h
696
syscallarg(off_t) length;
sys/compat/linux/arch/arm/linux_syscallargs.h
702
syscallarg(off_t) length;
sys/compat/linux/arch/arm/linux_systrace_args.c
1180
uarg[1] = SCARG(p, length); /* size_t */
sys/compat/linux/arch/arm/linux_systrace_args.c
1222
iarg[1] = SCARG(p, length); /* off_t */
sys/compat/linux/arch/arm/linux_systrace_args.c
1230
iarg[1] = SCARG(p, length); /* off_t */
sys/compat/linux/arch/arm/linux_systrace_args.c
600
iarg[1] = SCARG(p, length); /* long */
sys/compat/linux/arch/arm/linux_systrace_args.c
608
iarg[1] = SCARG(p, length); /* long */
sys/compat/linux/arch/i386/linux_syscallargs.h
719
syscallarg(off_t) length;
sys/compat/linux/arch/i386/linux_syscallargs.h
725
syscallarg(off_t) length;
sys/compat/linux/arch/i386/linux_systrace_args.c
1219
uarg[1] = SCARG(p, length); /* size_t */
sys/compat/linux/arch/i386/linux_systrace_args.c
1261
iarg[1] = SCARG(p, length); /* off_t */
sys/compat/linux/arch/i386/linux_systrace_args.c
1269
iarg[1] = SCARG(p, length); /* off_t */
sys/compat/linux/arch/i386/linux_systrace_args.c
607
iarg[1] = SCARG(p, length); /* long */
sys/compat/linux/arch/i386/linux_systrace_args.c
615
iarg[1] = SCARG(p, length); /* long */
sys/compat/linux/arch/m68k/linux_syscallargs.h
695
syscallarg(off_t) length;
sys/compat/linux/arch/m68k/linux_syscallargs.h
701
syscallarg(off_t) length;
sys/compat/linux/arch/mips/linux_syscallargs.h
787
syscallarg(off_t) length;
sys/compat/linux/arch/mips/linux_syscallargs.h
793
syscallarg(off_t) length;
sys/compat/linux/arch/powerpc/linux_syscallargs.h
678
syscallarg(off_t) length;
sys/compat/linux/arch/powerpc/linux_syscallargs.h
684
syscallarg(off_t) length;
sys/compat/linux/common/linux_fdio.h
143
long length;
sys/compat/linux/common/linux_file.c
971
SCARG(&ua, length) = SCARG(uap, nbytes);
sys/compat/linux/common/linux_file.c
972
if (SCARG(&ua, length) != 0) {
sys/compat/linux/common/linux_file.c
974
SCARG(&ua, length) = roundup(SCARG(uap, nbytes)
sys/compat/linux/common/linux_file64.c
358
SCARG(&ta, length) = SCARG(uap, length);
sys/compat/linux/common/linux_file64.c
375
SCARG(&ta, length) = SCARG(uap, length);
sys/compat/linux32/arch/aarch64/linux32_systrace_args.c
1135
iarg[1] = SCARG(p, length); /* netbsd32_size_t */
sys/compat/linux32/arch/aarch64/linux32_systrace_args.c
565
iarg[1] = SCARG(p, length); /* netbsd32_long */
sys/compat/linux32/arch/aarch64/linux32_systrace_args.c
573
iarg[1] = SCARG(p, length); /* netbsd32_long */
sys/compat/linux32/arch/amd64/linux32_systrace_args.c
1167
iarg[1] = SCARG(p, length); /* netbsd32_size_t */
sys/compat/linux32/arch/amd64/linux32_systrace_args.c
572
iarg[1] = SCARG(p, length); /* netbsd32_long */
sys/compat/linux32/arch/amd64/linux32_systrace_args.c
580
iarg[1] = SCARG(p, length); /* netbsd32_long */
sys/compat/linux32/common/linux32_misc.c
285
SCARG(&ua, length) = ((off_t)SCARG(uap, lenhi) << 32) + SCARG(uap, lenlo);
sys/compat/linux32/common/linux32_misc.c
301
SCARG(&ua, length) = ((off_t)SCARG(uap, lenhi) << 32) + SCARG(uap, lenlo);
sys/compat/netbsd32/netbsd32_compat_43.c
202
NETBSD32TO64_UAP(length);
sys/compat/netbsd32/netbsd32_compat_43.c
216
NETBSD32TO64_UAP(length);
sys/compat/netbsd32/netbsd32_compat_50.c
582
size_t length)
sys/compat/netbsd32/netbsd32_compat_50.c
587
KASSERT(length == sizeof(struct timespec50));
sys/compat/netbsd32/netbsd32_event.c
50
netbsd32_kevent_fetch_timeout(const void *src, void *dest, size_t length)
sys/compat/netbsd32/netbsd32_event.c
55
KASSERT(length == sizeof(struct timespec));
sys/compat/netbsd32/netbsd32_fs.c
738
int len = (int)SCARG(uap, length);
sys/compat/netbsd32/netbsd32_netbsd.c
1377
NETBSD32TO64_UAP(length);
sys/compat/netbsd32/netbsd32_netbsd.c
1394
NETBSD32TO64_UAP(length);
sys/compat/netbsd32/netbsd32_netbsd.c
2111
NETBSD32TO64_UAP(length);
sys/compat/netbsd32/netbsd32_syscallargs.h
1077
syscallarg(netbsd32_off_t) length;
sys/compat/netbsd32/netbsd32_syscallargs.h
1084
syscallarg(netbsd32_off_t) length;
sys/compat/netbsd32/netbsd32_syscallargs.h
1606
syscallarg(netbsd32_size_t) length;
sys/compat/netbsd32/netbsd32_syscallargs.h
1829
syscallarg(netbsd32_off_t) length;
sys/compat/netbsd32/netbsd32_syscallargs.h
705
syscallarg(netbsd32_long) length;
sys/compat/netbsd32/netbsd32_syscallargs.h
711
syscallarg(netbsd32_long) length;
sys/compat/netbsd32/netbsd32_systrace_args.c
1460
iarg[2] = SCARG(p, length); /* netbsd32_off_t */
sys/compat/netbsd32/netbsd32_systrace_args.c
1469
iarg[2] = SCARG(p, length); /* netbsd32_off_t */
sys/compat/netbsd32/netbsd32_systrace_args.c
2163
iarg[1] = SCARG(p, length); /* netbsd32_size_t */
sys/compat/netbsd32/netbsd32_systrace_args.c
2484
iarg[3] = SCARG(p, length); /* netbsd32_off_t */
sys/compat/netbsd32/netbsd32_systrace_args.c
967
iarg[1] = SCARG(p, length); /* netbsd32_long */
sys/compat/netbsd32/netbsd32_systrace_args.c
975
iarg[1] = SCARG(p, length); /* netbsd32_long */
sys/crypto/blowfish/bf_cbc.c
69
void BF_cbc_encrypt(const unsigned char *in, unsigned char *out, long length,
sys/crypto/blowfish/bf_cbc.c
74
register long l=length;
sys/crypto/des/des_cbc.c
139
long length, des_key_schedule ks1, des_key_schedule ks2,
sys/crypto/des/des_cbc.c
146
register long l=length;
sys/crypto/des/des_cbc.c
65
void des_ncbc_encrypt(const unsigned char *in, unsigned char *out, long length,
sys/crypto/des/des_cbc.c
70
register long l=length;
sys/dev/acpi/acpi_i2c.c
308
UINT32 length;
sys/dev/acpi/acpi_i2c.c
309
rv = AcpiExGetProtocolBufferLength(function >> 16, &length);
sys/dev/acpi/acpi_i2c.c
313
length = UINT32_MAX;
sys/dev/acpi/acpi_i2c.c
320
length, bit_width, buf[1]);
sys/dev/acpi/acpi_resource.c
778
uint32_t length)
sys/dev/acpi/acpi_resource.c
788
if (ar->ar_base == base + length ) {
sys/dev/acpi/acpi_resource.c
794
ar->ar_length += length;
sys/dev/acpi/acpi_resource.c
801
ar->ar_length += length;
sys/dev/acpi/acpi_resource.c
807
if (base + length - 1 > UINT16_MAX) {
sys/dev/acpi/acpi_resource.c
810
res->ar_nio, base, length);
sys/dev/acpi/acpi_resource.c
825
ar->ar_length = length;
sys/dev/acpi/acpi_resource.c
832
uint32_t high, uint32_t length, uint32_t align)
sys/dev/acpi/acpi_resource.c
848
ar->ar_length = length;
sys/dev/acpi/acpi_resource.c
856
uint64_t length, uint64_t xbase)
sys/dev/acpi/acpi_resource.c
871
ar->ar_length = length;
sys/dev/acpi/acpi_resource.c
879
uint64_t high, uint64_t length, uint64_t align)
sys/dev/acpi/acpi_resource.c
895
ar->ar_length = length;
sys/dev/acpi/acpi_srat.c
206
mementry->mem.length = srat_mem->Length;
sys/dev/acpi/acpi_srat.c
503
m.baseaddress + m.length, m.flags);
sys/dev/acpi/acpi_srat.c
523
m.baseaddress + m.length, m.flags);
sys/dev/acpi/acpi_srat.c
525
trunc_page(m.length), m.nodeid);
sys/dev/acpi/acpi_srat.h
54
uint64_t length;
sys/dev/acpi/qcomscm.c
400
uint32_t length;
sys/dev/acpi/qcomscm.c
410
uint32_t length;
sys/dev/acpi/qcomscm.c
449
req->length = req->guid_offset + req->guid_size;
sys/dev/acpi/qcomscm.c
468
resp->length < sizeof(*resp)) {
sys/dev/acpi/qcomscm.c
483
if (resp->length > respsize ||
sys/dev/acpi/qcomscm.c
484
resp->data_offset + resp->data_size > resp->length) {
sys/dev/acpi/qcomscm.c
513
uint32_t length;
sys/dev/acpi/qcomscm.c
525
uint32_t length;
sys/dev/acpi/qcomscm.c
565
req->length = req->data_offset + req->data_size;
sys/dev/acpi/qcomscm.c
581
resp->length < sizeof(*resp) || resp->length > respsize) {
sys/dev/acpi/qcomscm.c
598
uint32_t length;
sys/dev/acpi/qcomscm.c
607
uint32_t length;
sys/dev/acpi/qcomscm.c
645
req->length = req->name_offset + req->name_size;
sys/dev/acpi/qcomscm.c
660
resp->length < sizeof(*resp) || resp->length > respsize) {
sys/dev/acpi/qcomscm.c
673
if (resp->guid_offset + resp->guid_size > resp->length ||
sys/dev/acpi/qcomscm.c
674
resp->name_offset + resp->name_size > resp->length) {
sys/dev/bluetooth/btuart.c
433
sc->sc_want = mtod(m, hci_acldata_hdr_t *)->length;
sys/dev/bluetooth/btuart.c
439
sc->sc_want = mtod(m, hci_scodata_hdr_t *)->length;
sys/dev/bluetooth/btuart.c
444
sc->sc_want = mtod(m, hci_event_hdr_t *)->length;
sys/dev/cardbus/cardbus_exrom.c
177
length = uimin(length, header->image_length - 0x18 - offset);
sys/dev/cardbus/cardbus_exrom.c
179
buf, length);
sys/dev/cardbus/cardbus_exrom.c
180
ret = length;
sys/dev/dm/device-mapper.c
651
table_end = table_start + table_en->length * DEV_BSIZE;
sys/dev/dm/dm.h
82
uint64_t length;
sys/dev/dm/dm_ioctl.c
787
&table_en->length);
sys/dev/dm/dm_ioctl.c
963
", target %s\n", table_en->start, table_en->length,
sys/dev/dm/dm_ioctl.c
969
table_en->length);
sys/dev/dm/dm_table.c
189
uint64_t length;
sys/dev/dm/dm_table.c
192
length = 0;
sys/dev/dm/dm_table.c
204
length += table_en->length;
sys/dev/dm/dm_table.c
208
return length;
sys/dev/dm/dm_table.c
240
uint64_t length;
sys/dev/dm/dm_table.c
244
length = 0;
sys/dev/dm/dm_table.c
257
length += table_en->length;
sys/dev/dm/dm_table.c
267
*numsecp = secsize > 0 ? dbtob(length) / secsize : 0;
sys/dev/fdt/fdt_iommu.c
177
const u_int length = be32toh(*p++);
sys/dev/fdt/fdt_iommu.c
198
if (rid >= rid_base && rid < rid_base + length) {
sys/dev/hdaudio/hdafg.c
3159
hdmi.header.length = HDMI_AI_LENGTH;
sys/dev/hdaudio/hdaudio.c
1224
bdl[cnt].length = blksize;
sys/dev/hdaudio/hdaudiovar.h
111
uint32_t length;
sys/dev/hdaudio/hdmireg.h
34
uint8_t length;
sys/dev/hid/uhid_common.c
348
size_t length;
sys/dev/hid/uhid_common.c
385
length = uimin(sc->sc_q.c_cc, uio->uio_resid);
sys/dev/hid/uhid_common.c
386
if (length > sizeof(buffer))
sys/dev/hid/uhid_common.c
387
length = sizeof(buffer);
sys/dev/hid/uhid_common.c
390
(void) q_to_b(&sc->sc_q, buffer, length);
sys/dev/hid/uhid_common.c
391
DPRINTFN(5, ("uhidread: got %lu chars\n", (u_long)length));
sys/dev/hid/uhid_common.c
395
if ((error = uiomove(buffer, length, uio)) != 0)
sys/dev/hpc/hpctpanel.c
70
id->length = s + 9;
sys/dev/hyperv/if_hvn.c
4951
hvn_rndis_query(struct hvn_softc *sc, uint32_t oid, void *res, size_t *length)
sys/dev/hyperv/if_hvn.c
4954
return hvn_rndis_query2(sc, oid, NULL, 0, res, length, 0);
sys/dev/hyperv/if_hvn.c
5020
hvn_rndis_set(struct hvn_softc *sc, uint32_t oid, void *data, size_t length)
sys/dev/hyperv/if_hvn.c
5036
req->rm_len = sizeof(*req) + length;
sys/dev/hyperv/if_hvn.c
5043
if (length > 0) {
sys/dev/hyperv/if_hvn.c
5044
KASSERT(sizeof(*req) + length < PAGE_SIZE);
sys/dev/hyperv/if_hvn.c
5045
req->rm_infobuflen = length;
sys/dev/hyperv/if_hvn.c
5046
memcpy(req + 1, data, length);
sys/dev/i2c/sht4x.c
153
.length = "short",
sys/dev/i2c/sht4x.c
156
.length = "long",
sys/dev/i2c/sht4x.c
322
if (strncmp(node.sysctl_data, sht4x_heaterpulses[i].length,
sys/dev/i2c/sht4xvar.h
63
const char *length;
sys/dev/i2o/dpti.c
342
info.length = sizeof(info) - sizeof(u_int16_t);
sys/dev/i2o/dptivar.h
124
u_int16_t length;
sys/dev/i2o/i2o.h
373
u_int32_t length;
sys/dev/i2o/iop.c
929
mf.length = sizeof(sc->sc_status);
sys/dev/ic/aic6360.c
856
ss->length = sizeof(struct scsi_sense_data);
sys/dev/ic/aic79xx.c
7987
sc->length = ahd_get_sense_bufsize(ahd, scb);
sys/dev/ic/aic79xxvar.h
932
uint8_t length;
sys/dev/ic/aic7xxx.c
544
sc->length = len;
sys/dev/ic/arn5008.c
348
base->length = bswap16(base->length);
sys/dev/ic/arn5008reg.h
937
uint16_t length;
sys/dev/ic/arn5416reg.h
46
uint16_t length;
sys/dev/ic/arn9285reg.h
171
uint16_t length;
sys/dev/ic/arn9287reg.h
79
uint16_t length;
sys/dev/ic/athrate-sample.h
188
int length,
sys/dev/ic/athrate-sample.h
271
rt, length, rix, AH_TRUE);
sys/dev/ic/athrate-sample.h
280
tt += (long_retries+1)*ath_hal_computetxtime(sc->sc_ah, rt, length,
sys/dev/ic/atppc.c
1882
atppc_ecp_read_dma(struct atppc_softc *atppc, unsigned int *length,
sys/dev/ic/atppc.c
1886
*length = uimin(*length, atppc->sc_dma_maxsize);
sys/dev/ic/atppc.c
1888
atppc->sc_dma_start(atppc, atppc->sc_inbstart, *length,
sys/dev/ic/atppc.c
1918
atppc_ecp_read_pio(struct atppc_softc *atppc, unsigned int *length,
sys/dev/ic/atppc.c
1927
atppc_r_fifo_multi(atppc, atppc->sc_inbstart, *length);
sys/dev/ic/bwfm.c
2235
len -= sizeof(*bss) + le32toh(bss->length);
sys/dev/ic/bwfm.c
2236
bss = (void *)(((uintptr_t)bss) + le32toh(bss->length));
sys/dev/ic/bwfmreg.h
382
uint32_t length;
sys/dev/ic/bwfmreg.h
773
uint16_t length;
sys/dev/ic/cac.c
341
sgb->length =
sys/dev/ic/cacreg.h
243
u_int32_t length; /* length of S/G segment */
sys/dev/ic/dm9000.c
1041
int length = 0, i;
sys/dev/ic/dm9000.c
1053
length += to_write;
sys/dev/ic/dm9000.c
1063
return length;
sys/dev/ic/dm9000.c
614
uint16_t length;
sys/dev/ic/dm9000.c
634
length = PKT_WRITE(sc, m);
sys/dev/ic/dm9000.c
638
if (length % sc->sc_data_width != 0)
sys/dev/ic/dm9000.c
641
sc->txready_length = length;
sys/dev/ic/dm9000.c
882
int length = 0;
sys/dev/ic/dm9000.c
892
length += to_write;
sys/dev/ic/dm9000.c
910
length++;
sys/dev/ic/dm9000.c
968
return length;
sys/dev/ic/i82557.c
2328
size_t length;
sys/dev/ic/i82557.c
2391
for (i = 0; i < uc->length; i++)
sys/dev/ic/i82586var.h
264
#define IE_BUS_BARRIER(sc, offset, length, flags) \
sys/dev/ic/i82586var.h
267
((sc)->ie_bus_barrier)((sc), (offset), (length), (flags));\
sys/dev/ic/i82586var.h
269
bus_space_barrier((sc)->bt, (sc)->bh, (offset), (length), \
sys/dev/ic/iha.c
1325
ss->length = sizeof(struct scsi_sense_data);
sys/dev/ic/iha.c
1335
scb->buflen = ss->length;
sys/dev/ic/lemac.c
248
lemac_input(lemac_softc_t *sc, bus_addr_t offset, size_t length)
sys/dev/ic/lemac.c
253
if (length - sizeof(eh) > ETHERMTU || length - sizeof(eh) < ETHERMIN) {
sys/dev/ic/lemac.c
267
if (length + 2 > MHLEN) {
sys/dev/ic/lemac.c
278
LEMAC_INSB(sc, LEMAC_REG_DAT, length - sizeof(eh),
sys/dev/ic/lemac.c
282
(length - sizeof(eh)) / 2,
sys/dev/ic/lemac.c
284
if (length & 1)
sys/dev/ic/lemac.c
285
m->m_data[length - 1]
sys/dev/ic/lemac.c
286
= LEMAC_GET8(sc, offset + length - 1);
sys/dev/ic/lemac.c
289
m->m_pkthdr.len = m->m_len = length;
sys/dev/ic/mfi.c
1650
blockcnt = _4btol(rw16->length);
sys/dev/ic/mfi.c
1660
blockcnt = _4btol(rw12->length);
sys/dev/ic/mfi.c
1670
blockcnt = _2btol(rwb->length);
sys/dev/ic/mfi.c
1680
blockcnt = rw->length ? rw->length : 0x100;
sys/dev/ic/ncr53c9x.c
1179
ss->length = sizeof(struct scsi_sense_data);
sys/dev/ic/nvmereg.h
109
uint32_t length;
sys/dev/ic/nvmereg.h
119
uint32_t length;
sys/dev/ic/scmi.c
120
shmem->length = sizeof(uint32_t);
sys/dev/ic/scmi.c
157
sc->sc_shmem_tx->length = sizeof(uint32_t);
sys/dev/ic/scmi.c
236
shmem->length = sizeof(uint32_t);
sys/dev/ic/scmi.c
261
shmem->length = 3 * sizeof(uint32_t);
sys/dev/ic/scmi.c
276
shmem->length = 2 * sizeof(uint32_t);
sys/dev/ic/scmi.c
296
shmem->length = 5 * sizeof(uint32_t);
sys/dev/ic/scmi.c
321
sc->sc_shmem_tx->length = sizeof(uint32_t);
sys/dev/ic/scmi.c
337
shmem->length = sizeof(uint32_t);
sys/dev/ic/scmi.c
356
shmem->length = 2 * sizeof(uint32_t);
sys/dev/ic/scmi.c
414
shmem->length = sizeof(uint32_t) * 3;
sys/dev/ic/scmi.c
466
shmem->length = sizeof(uint32_t) * 2;
sys/dev/ic/scmi.c
491
shmem->length = sizeof(uint32_t) * 2;
sys/dev/ic/scmi.c
515
shmem->length = sizeof(uint32_t) * 3;
sys/dev/ic/scmi.h
37
uint32_t length;
sys/dev/ic/sl811hs.c
582
DDOLOGBUF(uint8_t *buf, unsigned int length)
sys/dev/ic/sl811hs.c
587
for(i = 0; i + 8 <= length; i += 8)
sys/dev/ic/sl811hs.c
591
if (length == i + 7)
sys/dev/ic/sl811hs.c
595
else if (length == i + 6)
sys/dev/ic/sl811hs.c
598
else if (length == i + 5)
sys/dev/ic/sl811hs.c
601
else if (length == i + 4)
sys/dev/ic/sl811hs.c
604
else if (length == i + 3)
sys/dev/ic/sl811hs.c
606
else if (length == i + 2)
sys/dev/ic/sl811hs.c
608
else if (length == i + 1)
sys/dev/ic/smc91cxx.c
617
uint16_t length, npages;
sys/dev/ic/smc91cxx.c
659
length = pad + len;
sys/dev/ic/smc91cxx.c
666
npages = ((length & ~1) + 6) >> 8;
sys/dev/ic/smc91cxx.c
715
bus_space_write_2(bst, bsh, DATA_REG_W, (length + 6) & 0x7ff);
sys/dev/ic/smc91cxx.c
749
oddbyte | ((length & 1) ? (CTLB_ODD << 8) : 0));
sys/dev/ic/sti.c
444
if (r->length == 0)
sys/dev/ic/sti.c
452
r->length << STI_PGSHIFT, (int)addr,
sys/dev/ic/sti.c
468
if (bus_space_map(memt, addr, r->length << STI_PGSHIFT,
sys/dev/ic/sti.c
479
scr->fblen = r->length << STI_PGSHIFT;
sys/dev/ic/stireg.h
188
u_int length :14; /* size in pages */
sys/dev/ic/tpm.c
1089
len = be32toh(hdr.length);
sys/dev/ic/tpm.c
209
be32toh(response.length) != sizeof(response) ||
sys/dev/ic/tpm.c
215
be32toh(response.length),
sys/dev/ic/tpm.c
308
be32toh(response.length) != sizeof(response) ||
sys/dev/ic/tpm.c
313
be32toh(response.length),
sys/dev/ic/tpm.c
511
command.hdr.length = htobe32(sizeof(command));
sys/dev/ic/tpm.c
553
pktlen = be32toh(response.hdr.length);
sys/dev/ic/tpm.c
651
command.hdr.length = htobe32(sizeof(command));
sys/dev/ic/tpm.c
693
pktlen = be32toh(response.hdr.length);
sys/dev/ic/tpmreg.h
109
uint32_t length;
sys/dev/ic/tulip.c
4633
int i, devcnt, leaf_offset, m_cnt, type, length;
sys/dev/ic/tulip.c
4713
length = 4;
sys/dev/ic/tulip.c
4716
length = (*cp++ & 0x7f) - 1;
sys/dev/ic/tulip.c
4721
ncp = cp + length;
sys/dev/ieee1394/firewire.c
1639
int length)
sys/dev/ieee1394/firewire.c
1645
for (i = 0; i < length; i++, offset += sizeof(uint32_t)) {
sys/dev/ipmi.c
1103
uint8_t offset, uint8_t length, void *buffer, uint16_t *nxtRecordId)
sys/dev/ipmi.c
1110
uint8_t length;
sys/dev/ipmi.c
1126
u.cmd.length = length;
sys/dev/ipmi.c
1134
if (ipmi_recvcmd(sc, 8 + length, &len, &u.msg)) {
sys/dev/isa/gus.c
2019
u_long gusaddr, void *buffaddr, int length)
sys/dev/isa/gus.c
2062
sc->sc_dmaoutcnt = length;
sys/dev/isa/gus.c
2063
isa_dmastart(sc->sc_ic, sc->sc_playdrq, buffaddr, length,
sys/dev/isa/i82365_isasubr.c
372
bus_space_handle_t ioh, bus_addr_t base, uint32_t length)
sys/dev/isa/i82365_isasubr.c
385
if (bus_space_map(iot, base + 0x400, length, 0, &ioh_high)) {
sys/dev/isa/i82365_isasubr.c
410
bus_space_free(iot, ioh_high, length);
sys/dev/isa/mcd.c
1005
res->length);
sys/dev/isa/mcd.c
1023
for (i = 0; i < res->length; i++) {
sys/dev/isa/mcd.c
1087
mbx->cmd.length, (u_int)mbx->cmd.opcode);
sys/dev/isa/mcd.c
1088
for (i = 0; i < mbx->cmd.length; i++)
sys/dev/isa/mcd.c
1095
for (i = 0; i < mbx->cmd.length; i++)
sys/dev/isa/mcd.c
1349
mbx.cmd.length = 0;
sys/dev/isa/mcd.c
1350
mbx.res.length = 0;
sys/dev/isa/mcd.c
1367
mbx.cmd.length = sizeof(mbx.cmd.data.datamode);
sys/dev/isa/mcd.c
1369
mbx.res.length = 0;
sys/dev/isa/mcd.c
1390
mbx.cmd.length = sizeof(mbx.cmd.data.config) - 1;
sys/dev/isa/mcd.c
1393
mbx.res.length = 0;
sys/dev/isa/mcd.c
1539
mbx.cmd.length = 0;
sys/dev/isa/mcd.c
1540
mbx.res.length = 0;
sys/dev/isa/mcd.c
1570
mbx.cmd.length = 0;
sys/dev/isa/mcd.c
1571
mbx.res.length = sizeof(mbx.res.data.qchninfo);
sys/dev/isa/mcd.c
1680
mbx.cmd.length = sizeof(mbx.cmd.data.play);
sys/dev/isa/mcd.c
1688
mbx.res.length = 0;
sys/dev/isa/mcd.c
1712
mbx.cmd.length = sizeof(mbx.cmd.data.play);
sys/dev/isa/mcd.c
1720
mbx.res.length = 0;
sys/dev/isa/mcd.c
1742
mbx.cmd.length = sizeof(mbx.cmd.data.play);
sys/dev/isa/mcd.c
1746
mbx.res.length = 0;
sys/dev/isa/mcd.c
1794
mbx.res.length = 0;
sys/dev/isa/mcd.c
1804
mbx.cmd.length = 0;
sys/dev/isa/mcd.c
1805
mbx.res.length = 0;
sys/dev/isa/mcd.c
1815
mbx.cmd.length = sizeof(mbx.cmd.data.lockmode);
sys/dev/isa/mcd.c
1817
mbx.res.length = 0;
sys/dev/isa/mcd.c
301
mbx.cmd.length = sizeof(mbx.cmd.data.config) - 1;
sys/dev/isa/mcd.c
304
mbx.res.length = 0;
sys/dev/isa/mcd.c
804
mbx.cmd.length = 0;
sys/dev/isa/mcd.c
805
mbx.res.length = sizeof(mbx.res.data.volinfo);
sys/dev/isa/mcd.c
860
mbx.cmd.length = 0;
sys/dev/isa/mcd.c
861
mbx.res.length = 0;
sys/dev/isa/mcd.c
867
mbx.cmd.length = 0;
sys/dev/isa/mcd.c
868
mbx.res.length = sizeof(mbx.res.data.continfo);
sys/dev/isa/mcd.c
993
mbx.cmd.length = 0;
sys/dev/isa/mcd.c
994
mbx.res.length = 0;
sys/dev/isa/mcdreg.h
179
u_char length;
sys/dev/isa/mcdreg.h
195
u_char length;
sys/dev/isa/mcdreg.h
206
bcd_t length[3];
sys/dev/isa/seagate.c
233
int offset, length;
sys/dev/isa/seagate.c
353
signatures[i].signature, signatures[i].length)) {
sys/dev/isa/seagate.c
403
signatures[i].signature, signatures[i].length)) {
sys/dev/isapnp/i82365_isapnp.c
184
ipa->ipa_io[0].length);
sys/dev/isapnp/if_cs_isapnp.c
100
if (ipa->ipa_io[0].length != CS8900_IOSIZE) {
sys/dev/isapnp/if_cs_isapnp.c
128
if (ipa->ipa_mem[i].length == CS8900_MEMSIZE) {
sys/dev/isapnp/isapnp.c
200
if (r->length == 0)
sys/dev/isapnp/isapnp.c
204
bus_space_unmap(t, r->h, r->length);
sys/dev/isapnp/isapnp.c
217
if (r->length == 0) {
sys/dev/isapnp/isapnp.c
225
error = bus_space_map(t, r->base, r->length, 0, &r->h);
sys/dev/isapnp/isapnp.c
513
if (r->length)
sys/dev/isapnp/isapnp.c
514
aprint_normal("/%d", r->length);
sys/dev/isapnp/isapnp.c
754
B2(r->length));
sys/dev/isapnp/isapnp.c
757
B1(r->length));
sys/dev/isapnp/isapnp.c
825
B3(r->length));
sys/dev/isapnp/isapnp.c
828
B2(r->length));
sys/dev/isapnp/isapnp.c
831
B1(r->length));
sys/dev/isapnp/isapnp.c
834
B0(r->length));
sys/dev/isapnp/isapnpdebug.c
281
r->length = (v0 << 16) | (v1 << 8);
sys/dev/isapnp/isapnpdebug.c
348
r->length = (v0 << 24) | (v1 << 16) | (v2 << 8) | v3;
sys/dev/isapnp/isapnpdebug.c
371
printf("io[%d]: 0x%x/%d\n", i, r->base, r->length);
sys/dev/isapnp/isapnpdebug.c
377
printf("mem[%d]: 0x%x/%d\n", i, r->base, r->length);
sys/dev/isapnp/isapnpdebug.c
395
printf("mem32[%d]: 0x%x/%d\n", i, r->base, r->length);
sys/dev/isapnp/isapnpdebug.c
79
printf("align 0x%x, length 0x%x\n", mem->align, mem->length);
sys/dev/isapnp/isapnpdebug.c
90
io->length, str, (io->flags & ISAPNP_IOFLAGS_16) ? 16 : 10,
sys/dev/isapnp/isapnpres.c
337
r->length = buf[6];
sys/dev/isapnp/isapnpres.c
338
if (r->length == 0)
sys/dev/isapnp/isapnpres.c
351
r->length = buf[2];
sys/dev/isapnp/isapnpres.c
352
if (r->length == 0)
sys/dev/isapnp/isapnpres.c
369
r->length = (buf[8] << 16) | (buf[7] << 8);
sys/dev/isapnp/isapnpres.c
370
if (r->length == 0)
sys/dev/isapnp/isapnpres.c
395
r->length = (buf[16] << 24) | (buf[15] << 16) |
sys/dev/isapnp/isapnpres.c
397
if (r->length == 0)
sys/dev/isapnp/isapnpres.c
411
r->length = (buf[8] << 24) | (buf[7] << 16) |
sys/dev/isapnp/isapnpres.c
413
if (r->length == 0)
sys/dev/isapnp/isapnpvar.h
106
u_int32_t length;
sys/dev/isapnp/joy_isapnp.c
86
if (ipa->ipa_io[0].length == 8) {
sys/dev/isapnp/wdc_isapnp.c
119
if (ipa->ipa_io[0].length == 8) {
sys/dev/midi.c
1095
int length;
sys/dev/midi.c
1108
length = MB_IDX_LEN(*idx_cur);
sys/dev/midi.c
1110
for ( cp = contig, ep = cp + length; cp < ep;) {
sys/dev/midi.c
1119
-- length;
sys/dev/midi.c
1124
cp, length);
sys/dev/midi.c
1128
MIDI_GET_STATUS(contig[0]), cp, length);
sys/dev/midi.c
1132
error = sc->hw_if_ext->sysex(sc->hw_hdl, cp, length);
sys/dev/pci/autri.c
1126
dmalen = (chst->length >> factor);
sys/dev/pci/autri.c
1206
sc->sc_play.length = (char *)end - (char *)start;
sys/dev/pci/autri.c
1246
sc->sc_rec.length = (char *)end - (char *)start;
sys/dev/pci/autrivar.h
58
u_int length; /* ring buffer length */
sys/dev/pci/cxgb/cxgb_jhash.h
39
static __inline u32 jhash(const void *key, u32 length, u32 initval)
sys/dev/pci/cxgb/cxgb_jhash.h
44
len = length;
sys/dev/pci/cxgb/cxgb_jhash.h
59
c += length;
sys/dev/pci/cxgb/cxgb_jhash.h
82
static __inline u32 jhash2(u32 *k, u32 length, u32 initval)
sys/dev/pci/cxgb/cxgb_jhash.h
88
len = length;
sys/dev/pci/cxgb/cxgb_jhash.h
98
c += length * 4;
sys/dev/pci/cxgb/cxgb_offload.c
1563
int length, int *eof, void *data)
sys/dev/pci/cxgb/cxgb_offload.c
1569
len = snprintf(buf, length, "TID range: 0..%d, in use: %u\n"
sys/dev/pci/cxgb/cxgb_offload.c
1577
if (len > length)
sys/dev/pci/cxgb/cxgb_offload.c
1578
len = length;
sys/dev/pci/cxgb/cxgb_offload.c
1603
int length, int *eof, void *data)
sys/dev/pci/cxgb/cxgb_offload.c
1609
len = snprintf(buf, length, "Device Interfaces\n");
sys/dev/pci/cxgb/cxgb_offload.c
1613
if (len >= length)
sys/dev/pci/cxgb/cxgb_offload.c
1615
len += snprintf(buf + len, length - len, "%-16s", dev->name);
sys/dev/pci/cxgb/cxgb_offload.c
1619
if (len >= length)
sys/dev/pci/cxgb/cxgb_offload.c
1621
len += snprintf(buf + len, length - len, " %s", ndev->name);
sys/dev/pci/cxgb/cxgb_offload.c
1625
if (len >= length)
sys/dev/pci/cxgb/cxgb_offload.c
1627
len += snprintf(buf + len, length - len, "\n");
sys/dev/pci/cxgb/cxgb_offload.c
1631
if (len > length)
sys/dev/pci/cxgb/cxgb_offload.c
1632
len = length;
sys/dev/pci/if_ale.c
1381
uint32_t length, uint32_t *prod)
sys/dev/pci/if_ale.c
1387
rx_page->cons += roundup(length + sizeof(struct rx_rs),
sys/dev/pci/if_ale.c
1461
uint32_t length, prod, seqno, status;
sys/dev/pci/if_ale.c
1505
length = ALE_RX_BYTES(le32toh(rs->length));
sys/dev/pci/if_ale.c
1520
ale_rx_update_page(sc, &rx_page, length, &prod);
sys/dev/pci/if_ale.c
1533
m = m_devget((char *)(rs + 1), length - ETHER_CRC_LEN,
sys/dev/pci/if_ale.c
1537
ale_rx_update_page(sc, &rx_page, length, &prod);
sys/dev/pci/if_ale.c
1552
ale_rx_update_page(sc, &rx_page, length, &prod);
sys/dev/pci/if_alereg.h
666
uint32_t length;
sys/dev/pci/if_iwm.c
2465
iwm_send_phy_db_cmd(struct iwm_softc *sc, uint16_t type, uint16_t length,
sys/dev/pci/if_iwm.c
247
uint16_t length;
sys/dev/pci/if_iwm.c
2475
type, length));
sys/dev/pci/if_iwm.c
2478
phy_db_cmd.length = le16toh(length);
sys/dev/pci/if_iwm.c
2483
cmd.len[1] = length;
sys/dev/pci/if_iwm.c
2686
uint16_t length, uint8_t *data, uint16_t *len)
sys/dev/pci/if_iwm.c
2691
.length = htole16(length),
sys/dev/pci/if_iwm.c
2730
bytes_read = le16toh(nvm_resp->length);
sys/dev/pci/if_iwm.c
2742
if (bytes_read > length) {
sys/dev/pci/if_iwm.c
3462
sections[IWM_NVM_SECTION_TYPE_REGULATORY_SDP].length
sys/dev/pci/if_iwm.c
3484
n_regulatory = sections[IWM_NVM_SECTION_TYPE_REGULATORY].length;
sys/dev/pci/if_iwm.c
3532
nvm_sections[section].length = len;
sys/dev/pci/if_iwm.c
3539
kmem_free(nvm_sections[i].data, nvm_sections[i].length);
sys/dev/pci/if_iwm.c
4583
cmd->hdr_wide.length = htole16(paylen);
sys/dev/pci/if_iwm.c
809
tlv_len = le32toh(tlv.length);
sys/dev/pci/if_iwm.c
8465
uint16_t size = le16toh(phy_db_notif->length);
sys/dev/pci/if_iwmreg.h
2127
uint16_t length;
sys/dev/pci/if_iwmreg.h
2142
uint16_t length;
sys/dev/pci/if_iwmreg.h
2280
uint16_t length;
sys/dev/pci/if_iwmreg.h
2336
uint16_t length;
sys/dev/pci/if_iwmreg.h
3324
uint16_t length;
sys/dev/pci/if_iwmreg.h
7079
uint16_t length;
sys/dev/pci/if_iwmreg.h
988
uint32_t length; /* not including type/length fields */
sys/dev/pci/if_ixl.c
7053
param->length = htole16(len);
sys/dev/pci/if_ixlvar.h
783
uint16_t length;
sys/dev/pci/if_nfe.c
1142
desc64->length = htole16(map->dm_segs[i].ds_len - 1);
sys/dev/pci/if_nfe.c
1149
desc32->length = htole16(map->dm_segs[i].ds_len - 1);
sys/dev/pci/if_nfe.c
1528
desc64->length = htole16(sc->rxq.bufsz);
sys/dev/pci/if_nfe.c
1533
desc32->length = htole16(sc->rxq.bufsz);
sys/dev/pci/if_nfe.c
1554
ring->desc64[i].length = htole16(ring->bufsz);
sys/dev/pci/if_nfe.c
1557
ring->desc32[i].length = htole16(ring->bufsz);
sys/dev/pci/if_nfe.c
822
len = le16toh(desc64->length) & 0x3fff;
sys/dev/pci/if_nfe.c
829
len = le16toh(desc32->length) & 0x3fff;
sys/dev/pci/if_nfe.c
983
desc64->length = htole16(sc->rxq.bufsz);
sys/dev/pci/if_nfe.c
989
desc32->length = htole16(sc->rxq.bufsz);
sys/dev/pci/if_nfereg.h
160
volatile uint16_t length;
sys/dev/pci/if_nfereg.h
178
volatile uint16_t length;
sys/dev/pci/if_rgereg.h
259
uint16_t length;
sys/dev/pci/if_vmx.c
2358
u_int idx, length;
sys/dev/pci/if_vmx.c
2396
length = rxcd->len;
sys/dev/pci/if_vmx.c
2427
if (length == 0) {
sys/dev/pci/if_vmx.c
2442
m->m_pkthdr.len = m->m_len = length;
sys/dev/pci/if_vmx.c
2462
m->m_len = length;
sys/dev/pci/if_vmx.c
2463
m_head->m_pkthdr.len += length;
sys/dev/pci/igc/if_igc.c
2144
const uint16_t len = le16toh(rxdesc->wb.upper.length);
sys/dev/pci/igc/igc_base.h
118
uint16_t length; /* Packet length */
sys/dev/pci/igc/igc_hw.h
136
uint16_t length; /* Length of data DMAed into data buffer */
sys/dev/pci/igc/igc_hw.h
162
uint16_t length;
sys/dev/pci/igc/igc_hw.h
174
uint16_t length; /* Data buffer length */
sys/dev/pci/ips.c
887
blkcnt = rw->length ? rw->length : 0x100;
sys/dev/pci/ips.c
891
blkcnt = _2btol(rwb->length);
sys/dev/pci/ips.c
951
_lto4b(IPS_SECSZ, rcd.length);
sys/dev/pci/ixgbe/ix_txrx.c
1925
len = le16toh(cur->wb.upper.length);
sys/dev/pci/ixgbe/ixgbe_common.c
2242
u16 length = 0;
sys/dev/pci/ixgbe/ixgbe_common.c
2268
if (hw->eeprom.ops.read(hw, pointer, &length)) {
sys/dev/pci/ixgbe/ixgbe_common.c
2273
if (length == 0xFFFF || length == 0)
sys/dev/pci/ixgbe/ixgbe_common.c
2276
for (j = pointer + 1; j <= pointer + length; j++) {
sys/dev/pci/ixgbe/ixgbe_common.c
4556
u8 ixgbe_calculate_checksum(u8 *buffer, u32 length)
sys/dev/pci/ixgbe/ixgbe_common.c
4566
for (i = 0; i < length; i++)
sys/dev/pci/ixgbe/ixgbe_common.c
4586
s32 ixgbe_hic_unlocked(struct ixgbe_hw *hw, u32 *buffer, u32 length,
sys/dev/pci/ixgbe/ixgbe_common.c
4594
if (!length || length > IXGBE_HI_MAX_BLOCK_BYTE_LENGTH) {
sys/dev/pci/ixgbe/ixgbe_common.c
4595
DEBUGOUT1("Buffer length failure buffersize=%d.\n", length);
sys/dev/pci/ixgbe/ixgbe_common.c
4611
if (length % sizeof(u32)) {
sys/dev/pci/ixgbe/ixgbe_common.c
4616
dword_len = length >> 2;
sys/dev/pci/ixgbe/ixgbe_common.c
4672
u32 length, u32 timeout, bool return_data)
sys/dev/pci/ixgbe/ixgbe_common.c
4683
if (length == 0 || length > IXGBE_HI_MAX_BLOCK_BYTE_LENGTH) {
sys/dev/pci/ixgbe/ixgbe_common.c
4684
DEBUGOUT1("Buffer length failure buffersize=%d.\n", length);
sys/dev/pci/ixgbe/ixgbe_common.c
4693
status = ixgbe_hic_unlocked(hw, buffer, length, timeout);
sys/dev/pci/ixgbe/ixgbe_common.c
4730
if (length < buf_len + hdr_size) {
sys/dev/pci/ixgbe/ixgbe_common.c
656
u16 length;
sys/dev/pci/ixgbe/ixgbe_common.c
717
ret_val = hw->eeprom.ops.read(hw, pba_ptr, &length);
sys/dev/pci/ixgbe/ixgbe_common.c
723
if (length == 0xFFFF || length == 0) {
sys/dev/pci/ixgbe/ixgbe_common.c
729
if (pba_num_size < (((u32)length * 2) - 1)) {
sys/dev/pci/ixgbe/ixgbe_common.c
736
length--;
sys/dev/pci/ixgbe/ixgbe_common.c
738
for (offset = 0; offset < length; offset++) {
sys/dev/pci/ixgbe/ixgbe_common.c
931
u16 length;
sys/dev/pci/ixgbe/ixgbe_common.c
952
&length);
sys/dev/pci/ixgbe/ixgbe_common.c
957
length = eeprom_buf[pba_word[1] + 0];
sys/dev/pci/ixgbe/ixgbe_common.c
962
if (length == 0xFFFF || length == 0)
sys/dev/pci/ixgbe/ixgbe_common.c
966
length = 0;
sys/dev/pci/ixgbe/ixgbe_common.c
970
*pba_block_size = length;
sys/dev/pci/ixgbe/ixgbe_common.h
165
u8 ixgbe_calculate_checksum(u8 *buffer, u32 length);
sys/dev/pci/ixgbe/ixgbe_common.h
167
u32 length, u32 timeout, bool return_data);
sys/dev/pci/ixgbe/ixgbe_common.h
168
s32 ixgbe_hic_unlocked(struct ixgbe_hw *, u32 *buffer, u32 length, u32 timeout);
sys/dev/pci/ixgbe/ixgbe_netmap.c
431
ring->slot[nm_i].len = le16toh(curr->wb.upper.length) - crclen;
sys/dev/pci/ixgbe/ixgbe_type.h
3277
u16 length;
sys/dev/pci/ixgbe/ixgbe_type.h
3286
u16 length;
sys/dev/pci/ixgbe/ixgbe_type.h
3342
__le16 length; /* Data buffer length */
sys/dev/pci/ixgbe/ixgbe_type.h
3374
__le16 length; /* Length of data DMAed into data buffer */
sys/dev/pci/ixgbe/ixgbe_type.h
3406
__le16 length; /* Packet length */
sys/dev/pci/ixgbe/ixgbe_x540.c
515
u16 length = 0;
sys/dev/pci/ixgbe/ixgbe_x540.c
555
if (ixgbe_read_eerd_generic(hw, pointer, &length)) {
sys/dev/pci/ixgbe/ixgbe_x540.c
561
if (length == 0xFFFF || length == 0 ||
sys/dev/pci/ixgbe/ixgbe_x540.c
562
(pointer + length) >= hw->eeprom.word_size)
sys/dev/pci/ixgbe/ixgbe_x540.c
565
for (j = pointer + 1; j <= pointer + length; j++) {
sys/dev/pci/ixgbe/ixgbe_x550.c
3320
buffer.length = IXGBE_CPU_TO_BE16(sizeof(u16));
sys/dev/pci/ixgbe/ixgbe_x550.c
3381
buffer.length = IXGBE_CPU_TO_BE16(words_to_read * 2);
sys/dev/pci/ixgbe/ixgbe_x550.c
3438
buffer.length = IXGBE_CPU_TO_BE16(sizeof(u16));
sys/dev/pci/ixgbe/ixgbe_x550.c
3543
u16 length, bufsz, i, start;
sys/dev/pci/ixgbe/ixgbe_x550.c
3564
length = size;
sys/dev/pci/ixgbe/ixgbe_x550.c
3567
length = local_buffer[0];
sys/dev/pci/ixgbe/ixgbe_x550.c
3570
if (length == 0xFFFF || length == 0 ||
sys/dev/pci/ixgbe/ixgbe_x550.c
3571
(ptr + length) >= hw->eeprom.word_size)
sys/dev/pci/ixgbe/ixgbe_x550.c
3575
if (buffer && ((u32)start + (u32)length > buffer_size))
sys/dev/pci/ixgbe/ixgbe_x550.c
3578
for (i = start; length; i++, length--) {
sys/dev/pci/ixgbe/ixgbe_x550.c
3582
if (length < bufsz)
sys/dev/pci/ixgbe/ixgbe_x550.c
3583
bufsz = length;
sys/dev/pci/mly.c
1734
sg->length = htole64(ds->ds_len);
sys/dev/pci/mlyreg.h
84
u_int64_t length;
sys/dev/pci/pvscsi.c
1486
sge[i].length = segs[i].ds_len;
sys/dev/pci/pvscsi.h
197
uint32_t length;
sys/dev/pci/trm.c
116
uint32_t length;
sys/dev/pci/trm.c
1430
if (xferlen >= le32toh(sg->length))
sys/dev/pci/trm.c
1431
xferlen -= le32toh(sg->length);
sys/dev/pci/trm.c
1438
sg->length =
sys/dev/pci/trm.c
1439
htole32(le32toh(sg->length)
sys/dev/pci/trm.c
1516
if (xferlen >= le32toh(sg->length))
sys/dev/pci/trm.c
1517
xferlen -= le32toh(sg->length);
sys/dev/pci/trm.c
1524
sg->length =
sys/dev/pci/trm.c
1525
htole32(le32toh(sg->length)
sys/dev/pci/trm.c
2298
ss->length = sizeof(struct scsi_sense_data);
sys/dev/pci/trm.c
2314
srb->sgentry[0].length = htole32(sizeof(struct scsi_sense_data));
sys/dev/pci/trm.c
757
srb->sgentry[i].length =
sys/dev/pci/trm.c
764
srb->sgentry[0].length = 0;
sys/dev/pci/twa.c
1699
sgl[i].length = (uint32_t)(segs[i].ds_len);
sys/dev/pci/twareg.h
243
uint32_t length;
sys/dev/pci/viogpu.c
703
backing.entries[0].length = virtio_rw32(vsc,
sys/dev/pci/viogpu.c
712
backing.entries[0].addr, backing.entries[0].length);
sys/dev/pci/viogpu.h
213
__le32 length;
sys/dev/pci/virtio_pci.c
470
bus_size_t len = caps[i]->offset + caps[i]->length;
sys/dev/pci/virtio_pci.c
472
if (caps[i]->length == 0)
sys/dev/pci/virtio_pci.c
502
notify.cap.offset, notify.cap.length, &psc->sc_notify_ioh)) {
sys/dev/pci/virtio_pci.c
507
psc->sc_notify_iosize = notify.cap.length;
sys/dev/pci/virtio_pci.c
514
psc->sc_bars_ioh[i], device.offset, device.length,
sys/dev/pci/virtio_pci.c
522
device.offset, device.length);
sys/dev/pci/virtio_pci.c
523
sc->sc_devcfg_iosize = device.length;
sys/dev/pci/virtio_pci.c
529
isr.offset, isr.length, &psc->sc_isr_ioh)) {
sys/dev/pci/virtio_pci.c
534
psc->sc_isr_iosize = isr.length;
sys/dev/pci/virtio_pci.c
539
common.offset, common.length, &psc->sc_ioh)) {
sys/dev/pci/virtio_pci.c
544
psc->sc_iosize = common.length;
sys/dev/pci/virtio_pci.c
613
v->vcap.length = le32toh(v->vcap.length);
sys/dev/pci/virtio_pcireg.h
108
uint32_t length; /* Length of the structure, in bytes */
sys/dev/pci/xmm7360.c
1122
hdr->length = total_length;
sys/dev/pci/xmm7360.c
1124
frame->last_tag_length = &hdr->length;
sys/dev/pci/xmm7360.c
1131
hdr->length = total_length;
sys/dev/pci/xmm7360.c
1133
frame->last_tag_length = &hdr->length;
sys/dev/pci/xmm7360.c
1168
frame->bounds[frame->n_packets].length = data_len + 16;
sys/dev/pci/xmm7360.c
1181
hdr->length = frame->n_bytes;
sys/dev/pci/xmm7360.c
1297
n_packets = (adth->length - sizeof(struct mux_next_header) - 4) / sizeof(struct mux_bounds);
sys/dev/pci/xmm7360.c
1302
if (!bounds[i].length)
sys/dev/pci/xmm7360.c
1306
&data[bounds[i].offset], bounds[i].length);
sys/dev/pci/xmm7360.c
1330
nread = ring->tds[idx].length;
sys/dev/pci/xmm7360.c
396
u16 length;
sys/dev/pci/xmm7360.c
535
uint32_t length;
sys/dev/pci/xmm7360.c
542
uint16_t length;
sys/dev/pci/xmm7360.c
550
uint16_t length;
sys/dev/pci/xmm7360.c
775
ring->tds[wptr].length = len;
sys/dev/pci/xmm7360.c
809
ring->tds[wptr].length = ring->page_size;
sys/dev/pci/xmm7360.c
965
nread = ring->tds[idx].length;
sys/dev/pci/xmm7360.c
988
nread = ring->tds[idx].length;
sys/dev/pci/yds.c
1127
pdma += sc->sc_play.length;
sys/dev/pci/yds.c
1133
0, sc->sc_play.length,
sys/dev/pci/yds.c
1137
if (sc->sc_play.offset >= sc->sc_play.length) {
sys/dev/pci/yds.c
1138
sc->sc_play.offset -= sc->sc_play.length;
sys/dev/pci/yds.c
1147
0, sc->sc_play.length,
sys/dev/pci/yds.c
1153
rdma += sc->sc_rec.length;
sys/dev/pci/yds.c
1159
0, sc->sc_rec.length,
sys/dev/pci/yds.c
1163
if (sc->sc_rec.offset >= sc->sc_rec.length) {
sys/dev/pci/yds.c
1164
sc->sc_rec.offset -= sc->sc_rec.length;
sys/dev/pci/yds.c
1173
0, sc->sc_rec.length,
sys/dev/pci/yds.c
1390
sc->sc_play.length = l;
sys/dev/pci/yds.c
1506
sc->sc_rec.length = l;
sys/dev/pci/yds.c
1600
0, sc->sc_play.length, BUS_DMASYNC_POSTWRITE);
sys/dev/pci/yds.c
1625
0, sc->sc_rec.length, BUS_DMASYNC_POSTREAD);
sys/dev/pci/ydsvar.h
84
u_int length; /* ring buffer length */
sys/dev/pcmcia/bt3c.c
385
sc->sc_want = mtod(m, hci_acldata_hdr_t *)->length;
sys/dev/pcmcia/bt3c.c
391
sc->sc_want = mtod(m, hci_scodata_hdr_t *)->length;
sys/dev/pcmcia/bt3c.c
396
sc->sc_want = mtod(m, hci_event_hdr_t *)->length;
sys/dev/pcmcia/bt3c.c
955
cfe->iospace[0].length, 0, &sc->sc_pcioh) == 0)
sys/dev/pcmcia/btbc.c
371
p->length = sizeof(param);
sys/dev/pcmcia/btbc.c
373
m_copyback(m, sizeof(hci_cmd_hdr_t), p->length, ¶m);
sys/dev/pcmcia/btbc.c
493
sc->sc_want = mtod(m, hci_acldata_hdr_t *)->length;
sys/dev/pcmcia/btbc.c
499
sc->sc_want = mtod(m, hci_scodata_hdr_t *)->length;
sys/dev/pcmcia/btbc.c
504
sc->sc_want = mtod(m, hci_event_hdr_t *)->length;
sys/dev/pcmcia/btbc.c
570
p->length == 1) {
sys/dev/pcmcia/if_awi_pcmcia.c
168
cfe->iospace[0].length < AM79C930_IO_SIZE)
sys/dev/pcmcia/if_awi_pcmcia.c
171
cfe->memspace[0].length = AM79C930_MEM_SIZE;
sys/dev/pcmcia/if_awi_pcmcia.c
174
} else if (cfe->memspace[0].length < AM79C930_MEM_SIZE)
sys/dev/pcmcia/if_cnwioctl.h
91
u_short length;
sys/dev/pcmcia/if_cs_pcmcia.c
91
cfe->iospace[0].length < CS8900_IOSIZE)
sys/dev/pcmcia/if_ep_pcmcia.c
256
cfe->iospace[0].length,
sys/dev/pcmcia/if_ep_pcmcia.c
257
cfe->iospace[0].length,
sys/dev/pcmcia/if_ep_pcmcia.c
265
cfe->iospace[0].length, cfe->iospace[0].length,
sys/dev/pcmcia/if_ep_pcmcia.c
368
if (tuple->length < ETHER_ADDR_LEN)
sys/dev/pcmcia/if_ray.c
486
cfe->memspace[0].length != RAY_SRAM_MEM_SIZE)
sys/dev/pcmcia/if_sm_pcmcia.c
129
cfe->iospace[0].length < SMC_IOSIZE)
sys/dev/pcmcia/if_wi_pcmcia.c
322
cfe->iospace[0].length < WI_IOSIZE)
sys/dev/pcmcia/mhzc.c
273
cfe->iospace[0].length,
sys/dev/pcmcia/mhzc.c
274
cfe->iospace[0].length,
sys/dev/pcmcia/mhzc.c
289
addr = cfe->iospace[0].start + cfe->iospace[0].length;
sys/dev/pcmcia/mhzc.c
536
if (tuple->length != (ETHER_ADDR_LEN * 2) + 1)
sys/dev/pcmcia/mhzc.c
539
for (i = 0; i < tuple->length - 1; i++)
sys/dev/pcmcia/pcmcia.c
757
bus_size_t length = cfe->iospace[n].length;
sys/dev/pcmcia/pcmcia.c
759
length;
sys/dev/pcmcia/pcmcia.c
769
n, (long)start, (long)length, (long)align, (long)skew));
sys/dev/pcmcia/pcmcia.c
771
error = pcmcia_io_alloc(pf, start, length, align,
sys/dev/pcmcia/pcmcia.c
783
bus_size_t length = cfe->memspace[n].length;
sys/dev/pcmcia/pcmcia.c
786
(long)length));
sys/dev/pcmcia/pcmcia.c
788
error = pcmcia_mem_alloc(pf, length, &cfe->memspace[n].handle);
sys/dev/pcmcia/pcmcia.c
842
bus_size_t length = cfe->memspace[n].length;
sys/dev/pcmcia/pcmcia.c
846
(long)length));
sys/dev/pcmcia/pcmcia.c
850
error = pcmcia_mem_map(pf, width, 0, length,
sys/dev/pcmcia/pcmcia_cis.c
1003
if (tuple->length < 3) {
sys/dev/pcmcia/pcmcia_cis.c
1004
DPRINTF(("CISTPL_CONFIG too short %d\n", tuple->length));
sys/dev/pcmcia/pcmcia_cis.c
1015
if (tuple->length < (rasz + rmsz + rfsz)) {
sys/dev/pcmcia/pcmcia_cis.c
1017
rasz, rmsz, rfsz, tuple->length));
sys/dev/pcmcia/pcmcia_cis.c
1199
if (tuple->length <= idx) {
sys/dev/pcmcia/pcmcia_cis.c
1257
cfe->iospace[i].length =
sys/dev/pcmcia/pcmcia_cis.c
1261
cfe->iospace[i].length =
sys/dev/pcmcia/pcmcia_cis.c
1266
cfe->iospace[i].length =
sys/dev/pcmcia/pcmcia_cis.c
1271
cfe->iospace[i].length =
sys/dev/pcmcia/pcmcia_cis.c
1276
cfe->iospace[i].length++;
sys/dev/pcmcia/pcmcia_cis.c
1281
cfe->iospace[0].length =
sys/dev/pcmcia/pcmcia_cis.c
1286
if (tuple->length <= idx) {
sys/dev/pcmcia/pcmcia_cis.c
1323
if (tuple->length <= idx) {
sys/dev/pcmcia/pcmcia_cis.c
1337
cfe->memspace[0].length = 256 *
sys/dev/pcmcia/pcmcia_cis.c
1346
cfe->memspace[0].length = 256 *
sys/dev/pcmcia/pcmcia_cis.c
1389
cfe->memspace[i].length = 256 *
sys/dev/pcmcia/pcmcia_cis.c
1394
cfe->memspace[i].length = 0;
sys/dev/pcmcia/pcmcia_cis.c
1396
if (cfe->memspace[i].length == 0) {
sys/dev/pcmcia/pcmcia_cis.c
1424
if (tuple->length <= idx) {
sys/dev/pcmcia/pcmcia_cis.c
238
tuple.length = pcmcia_cis_read_1(&tuple, tuple.ptr + 1);
sys/dev/pcmcia/pcmcia_cis.c
245
tuple.length));
sys/dev/pcmcia/pcmcia_cis.c
247
for (i = 0; i < tuple.length; i++) {
sys/dev/pcmcia/pcmcia_cis.c
260
if (tuple.length < 4) {
sys/dev/pcmcia/pcmcia_cis.c
264
tuple.length));
sys/dev/pcmcia/pcmcia_cis.c
280
if (tuple.length < 5) {
sys/dev/pcmcia/pcmcia_cis.c
282
"short %d\n", tuple.length));
sys/dev/pcmcia/pcmcia_cis.c
286
u_long addr, length;
sys/dev/pcmcia/pcmcia_cis.c
292
length = pcmcia_tuple_read_2(&tuple, 2);
sys/dev/pcmcia/pcmcia_cis.c
299
addr, length, cksum));
sys/dev/pcmcia/pcmcia_cis.c
307
((addr + length) < 0) ||
sys/dev/pcmcia/pcmcia_cis.c
309
((addr + length) >=
sys/dev/pcmcia/pcmcia_cis.c
316
for (i = 0; i < length; i++)
sys/dev/pcmcia/pcmcia_cis.c
339
if (tuple.length < 1) {
sys/dev/pcmcia/pcmcia_cis.c
341
"short %d\n", tuple.length));
sys/dev/pcmcia/pcmcia_cis.c
344
if (((tuple.length - 1) % 5) != 0) {
sys/dev/pcmcia/pcmcia_cis.c
346
"length %d\n", tuple.length));
sys/dev/pcmcia/pcmcia_cis.c
372
if (tuple.length != (tmp_count*5 + 1)) {
sys/dev/pcmcia/pcmcia_cis.c
374
tuple.length));
sys/dev/pcmcia/pcmcia_cis.c
424
tuple.ptr += 2 + tuple.length;
sys/dev/pcmcia/pcmcia_cis.c
504
tuple.length = pcmcia_cis_read_1(&tuple, tuple.ptr + 1);
sys/dev/pcmcia/pcmcia_cis.c
505
if (tuple.length < 3) {
sys/dev/pcmcia/pcmcia_cis.c
507
tuple.length));
sys/dev/pcmcia/pcmcia_cis.c
520
tuple.ptr += 2 + tuple.length;
sys/dev/pcmcia/pcmcia_cis.c
647
if (cfe->iospace[i].length)
sys/dev/pcmcia/pcmcia_cis.c
650
cfe->iospace[i].length - 1);
sys/dev/pcmcia/pcmcia_cis.c
659
if (cfe->memspace[i].length)
sys/dev/pcmcia/pcmcia_cis.c
662
cfe->memspace[i].length - 1);
sys/dev/pcmcia/pcmcia_cis.c
877
if (tuple->length < 6) {
sys/dev/pcmcia/pcmcia_cis.c
879
tuple->length));
sys/dev/pcmcia/pcmcia_cis.c
910
if (tuple->length < 4) {
sys/dev/pcmcia/pcmcia_cis.c
912
tuple->length));
sys/dev/pcmcia/pcmcia_cis.c
923
if (tuple->length < 1) {
sys/dev/pcmcia/pcmcia_cis.c
925
tuple->length));
sys/dev/pcmcia/pcmcia_cis.c
959
if (tuple->length < 2)
sys/dev/pcmcia/pcmcia_cis.c
972
if (tuple->length < 2 + len || len > 8) {
sys/dev/pcmcia/pcmcia_cis_quirks.c
102
.iospace = { { .length = 0x0020, .start = 0 } }, /* iospace */
sys/dev/pcmcia/pcmcia_cis_quirks.c
119
.iospace = { { .length = 0x0008, .start = 0 } }, /* iospace */
sys/dev/pcmcia/pcmcia_cis_quirks.c
138
.iospace = { { .length = 0x20, .start = 0x300 } }, /* iospace */
sys/dev/pcmcia/pcmcia_cis_quirks.c
157
.iospace = { { .length = 0x20, .start = 0x300 } }, /* iospace */
sys/dev/pcmcia/pcmcia_cis_quirks.c
175
.iospace = { { .length = 0x40, .start = 0x100 } }, /* iospace */
sys/dev/pcmcia/pcmcia_cis_quirks.c
195
.iospace = { { .length = 0x20, .start = 0x140 } }, /* iospace */
sys/dev/pcmcia/pcmcia_cis_quirks.c
215
.iospace = { { .length = 0x8, .start = 0x3f8 } }, /* iospace */
sys/dev/pcmcia/pcmcia_cis_quirks.c
66
.iospace = { { .length = 0x0010, .start = 0 } }, /* iospace */
sys/dev/pcmcia/pcmcia_cis_quirks.c
84
.iospace = { { .length = 0x0008, .start = 0 } }, /* iospace */
sys/dev/pcmcia/pcmciavar.h
102
u_long length;
sys/dev/pcmcia/pcmciavar.h
219
unsigned int length;
sys/dev/pcmcia/pcmciavar.h
93
u_long length;
sys/dev/pcmcia/wdc_pcmcia.c
198
cfe->memspace[0].length < 2048)
sys/dev/pcmcia/xirc.c
287
if (tuple->length < 5)
sys/dev/pcmcia/xirc.c
305
cfe->iospace[0].length, cfe->iospace[0].length,
sys/dev/pcmcia/xirc.c
310
cfe->iospace[1].length = 18;
sys/dev/pcmcia/xirc.c
312
cfe->iospace[1].length, 0x20,
sys/dev/pcmcia/xirc.c
316
cfe->iospace[1].length, 0x20,
sys/dev/pcmcia/xirc.c
340
cfe->iospace[0].length, cfe->iospace[0].length,
sys/dev/pcmcia/xirc.c
666
if (tuple->length < 2)
sys/dev/qbus/qd.c
2195
dga->bytcnt_lo = (short) request->length;
sys/dev/qbus/qd.c
2196
dga->bytcnt_hi = (short) (request->length >> 16);
sys/dev/qbus/qduser.h
267
int length; /* transfer buffer length */
sys/dev/raidframe/rf_aselect.c
135
int length;
sys/dev/raidframe/rf_aselect.c
189
length = physPtr->numSector;
sys/dev/raidframe/rf_aselect.c
203
asmhle->asmh = rf_MapAccess(raidPtr, address, length, buffer, RF_DONT_REMAP);
sys/dev/raidframe/rf_aselect.c
236
length = 1;
sys/dev/raidframe/rf_aselect.c
248
asmhle->asmh = rf_MapAccess(raidPtr, address, length, buffer, RF_DONT_REMAP);
sys/dev/raidframe/rf_dagfuncs.c
533
int length, retcode = 0;
sys/dev/raidframe/rf_dagfuncs.c
538
length = rf_RaidAddressToByte(raidPtr, pda->numSector);
sys/dev/raidframe/rf_dagfuncs.c
539
retcode = rf_bxor(srcbuf, targptr, length);
sys/dev/raidframe/rf_evenodd_dagfuncs.c
104
int suoffset, length;
sys/dev/raidframe/rf_evenodd_dagfuncs.c
124
length = rf_RaidAddressToByte(raidPtr, ((RF_PhysDiskAddr_t *) node->params[k].p)->numSector);
sys/dev/raidframe/rf_evenodd_dagfuncs.c
125
rf_bxor(node->params[k + EpdaIndex + 3].p, node->params[k + 1].p, length);
sys/dev/raidframe/rf_evenodd_dagfuncs.c
142
length = rf_RaidAddressToByte(raidPtr, ((RF_PhysDiskAddr_t *) node->params[k].p)->numSector);
sys/dev/raidframe/rf_evenodd_dagfuncs.c
143
rf_bxor(node->params[k + EpdaIndex + 3].p, node->params[k + 1].p, length);
sys/dev/raidframe/rf_evenodd_dagfuncs.c
160
int length;
sys/dev/raidframe/rf_evenodd_dagfuncs.c
167
length = rf_RaidAddressToByte(raidPtr, ((RF_PhysDiskAddr_t *) node->params[4].p)->numSector); /* this is a pda of
sys/dev/raidframe/rf_evenodd_dagfuncs.c
170
retcode = rf_bxor(node->params[5].p, node->params[1].p, length);
sys/dev/raidframe/rf_evenodd_dagfuncs.c
178
rf_bxor(node->params[5].p, node->params[1].p, length);
sys/dev/raidframe/rf_pq.c
647
rf_IncQ(unsigned long *dest, unsigned long *buf, unsigned length, unsigned coeff)
sys/dev/raidframe/rf_pq.c
657
length /= 8;
sys/dev/raidframe/rf_pq.c
659
while (length) {
sys/dev/raidframe/rf_pq.c
699
length--;
sys/dev/raidframe/rf_pq.c
718
unsigned length,
sys/dev/raidframe/rf_pq.c
733
memset(dest, 0, length);
sys/dev/raidframe/rf_pq.c
737
length /= 8;
sys/dev/raidframe/rf_pq.c
738
while (length) {
sys/dev/raidframe/rf_pq.c
781
length--;
sys/dev/raidframe/rf_pq.c
798
rf_PQ_recover(unsigned long *pbuf, unsigned long *qbuf, unsigned long *abuf, unsigned long *bbuf, unsigned length, unsigned coeff_a, unsigned coeff_b)
sys/dev/raidframe/rf_pq.c
804
length /= 8;
sys/dev/raidframe/rf_pq.c
805
while (length) {
sys/dev/raidframe/rf_pq.c
832
length--;
sys/dev/raidframe/rf_pq.c
859
unsigned length,
sys/dev/raidframe/rf_pq.c
868
length /= 8;
sys/dev/raidframe/rf_pq.c
869
while (length) {
sys/dev/raidframe/rf_pq.c
89
QDelta(char *dest, char *obuf, char *nbuf, unsigned length,
sys/dev/raidframe/rf_pq.c
892
length--;
sys/dev/raidframe/rf_pq.c
93
unsigned length, unsigned coeff);
sys/dev/raidframe/rf_pq.h
65
rf_IncQ(unsigned long *dest, unsigned long *buf, unsigned length,
sys/dev/raidframe/rf_pq.h
69
unsigned long *bbuf, unsigned length, unsigned coeff_a, unsigned coeff_b);
sys/dev/rcons/raster.h
248
extern struct raster_colormap* raster_colormap_alloc ARGS(( int length ));
sys/dev/rcons/raster.h
92
int length;
sys/dev/sbus/dbri.c
1290
data = reverse_bytes(data, sc->sc_pipe[pipe].length);
sys/dev/sbus/dbri.c
1548
sc->sc_pipe[pipe].length = len;
sys/dev/sbus/dbri.c
718
val = reverse_bytes(val, sc->sc_pipe[channel].length);
sys/dev/sbus/dbrivar.h
93
int length; /* length of timeslot (bits) */
sys/dev/sbus/stp4020.c
141
static void stp4020_calc_speed(int bus_speed, int ns, int *length, int *cmd_delay);
sys/dev/sbus/stp4020.c
762
stp4020_calc_speed(int bus_speed, int ns, int *length, int *cmd_delay)
sys/dev/sbus/stp4020.c
775
*length = result;
sys/dev/sbus/stp4020.c
784
int v, length, cmd_delay;
sys/dev/sbus/stp4020.c
792
stp4020_calc_speed(speed, (win==STP_WIN_ATTR)? 300 : 100, &length, &cmd_delay);
sys/dev/sbus/stp4020.c
799
| ((length << STP4020_WCR0_CMDLNG_S)&STP4020_WCR0_CMDLNG_M);
sys/dev/scsipi/cd.c
1537
*blksize = _4btol(cap.length);
sys/dev/scsipi/cd.c
2948
if (_2btol(toc_hdr->length) > buffer_size - 2) {
sys/dev/scsipi/cd.c
2957
req_size = _2btol(toc_hdr->length);
sys/dev/scsipi/cd.c
3127
if (_2btol(toc_hdr->length) > buffer_size - 2) {
sys/dev/scsipi/cd.c
3136
req_size = _2btol(toc_hdr->length);
sys/dev/scsipi/cd.c
825
cmd_small.length = nblks & 0xff;
sys/dev/scsipi/cd.c
836
_lto2b(nblks, cmd_big.length);
sys/dev/scsipi/ch.c
1109
_lto2b(datalen, cmd.length);
sys/dev/scsipi/if_dse.c
1080
_lto2b(len, cmd_set_multi.length);
sys/dev/scsipi/if_dse.c
160
uint8_t length[2];
sys/dev/scsipi/if_dse.c
574
_lto2b(len, &(cmd_send.length[0]));
sys/dev/scsipi/if_dse.c
693
_lto2b(len, &(cmd_recv.length[0]));
sys/dev/scsipi/if_dse.c
977
_lto2b(REQ_LEN_GET_ADDR, cmd_get_addr.length);
sys/dev/scsipi/if_se.c
536
_lto2b(len, send_cmd.length);
sys/dev/scsipi/if_se.c
814
_lto2b(sizeof(data), add_proto_cmd.length);
sys/dev/scsipi/if_se.c
829
_lto2b(ETHER_ADDR_LEN, get_addr_cmd.length);
sys/dev/scsipi/if_se.c
862
_lto2b(len, set_mode_cmd.length);
sys/dev/scsipi/if_se.c
888
_lto2b(ETHER_ADDR_LEN, set_addr_cmd.length);
sys/dev/scsipi/if_se.c
947
_lto2b(ETHER_ADDR_LEN, set_multi_cmd.length);
sys/dev/scsipi/if_se.c
965
_lto2b(ETHER_ADDR_LEN, remove_multi_cmd.length);
sys/dev/scsipi/scsi_changer.h
291
u_int8_t length[2]; /* parameter list length */
sys/dev/scsipi/scsi_ctron_ether.h
36
u_int8_t length[2];
sys/dev/scsipi/scsi_ctron_ether.h
43
u_int8_t length[2];
sys/dev/scsipi/scsi_disk.h
168
u_int8_t length;
sys/dev/scsipi/scsi_disk.h
184
u_int8_t length[2];
sys/dev/scsipi/scsi_disk.h
202
u_int8_t length[2];
sys/dev/scsipi/scsi_disk.h
211
u_int8_t length[4];
sys/dev/scsipi/scsi_disk.h
220
u_int8_t length[2];
sys/dev/scsipi/scsi_disk.h
229
u_int8_t length[2];
sys/dev/scsipi/scsi_disk.h
401
/*3*/ u_int8_t length[2];
sys/dev/scsipi/scsi_disk.h
417
u_int8_t length[2];
sys/dev/scsipi/scsi_scanner.h
80
u_int8_t length[4];
sys/dev/scsipi/scsi_spc.h
114
uint8_t length;
sys/dev/scsipi/scsi_spc.h
125
uint8_t length[2];
sys/dev/scsipi/scsi_spc.h
423
uint8_t length[4]; /* in bytes, not including header */
sys/dev/scsipi/scsi_spc.h
505
uint8_t length;
sys/dev/scsipi/scsi_spc.h
84
uint8_t length;
sys/dev/scsipi/scsi_spc.h
93
uint8_t length[2];
sys/dev/scsipi/scsiconf.c
382
if (sizeof(*rlr) + _4btol(rlr->length) > rlrlen) {
sys/dev/scsipi/scsiconf.c
384
rlrlen = sizeof(*rlr) + uimin(_4btol(rlr->length),
sys/dev/scsipi/scsipi_all.h
175
/* 3*/ u_int8_t length[2];
sys/dev/scsipi/scsipi_all.h
65
u_int8_t length;
sys/dev/scsipi/scsipi_base.c
1227
cmd.length = SCSIPI_INQUIRY_LENGTH_SCSI2;
sys/dev/scsipi/scsipi_base.c
1237
cmd.length = SCSIPI_INQUIRY_LENGTH_SCSI3;
sys/dev/scsipi/scsipi_base.c
1347
cmd.length = len & 0xff;
sys/dev/scsipi/scsipi_base.c
1364
_lto2b(len, cmd.length);
sys/dev/scsipi/scsipi_base.c
1380
cmd.length = len & 0xff;
sys/dev/scsipi/scsipi_base.c
1396
_lto2b(len, cmd.length);
sys/dev/scsipi/scsipi_base.c
2001
cmd.length = sizeof(struct scsi_sense_data);
sys/dev/scsipi/scsipi_cd.h
110
uint8_t length[2];
sys/dev/scsipi/scsipi_cd.h
287
u_int8_t length[4];
sys/dev/scsipi/scsipi_disk.h
111
u_int8_t length[4];
sys/dev/scsipi/scsipi_disk.h
128
u_int8_t length[4];
sys/dev/scsipi/scsipi_disk.h
148
u_int8_t length[2];
sys/dev/scsipi/scsipi_disk.h
154
u_int8_t length;
sys/dev/scsipi/scsipi_disk.h
72
u_int8_t length[2];
sys/dev/scsipi/scsipi_disk.h
82
u_int8_t length[4];
sys/dev/scsipi/scsipi_disk.h
93
u_int8_t length[4];
sys/dev/scsipi/sd.c
1072
_lto2b(sizeof(data), cmd.length);
sys/dev/scsipi/sd.c
1289
_lto2b(nblk, cmd.length);
sys/dev/scsipi/sd.c
1296
_lto4b(nblk, cmd16.length);
sys/dev/scsipi/sd.c
1458
*blksize = _4btol(datap->data16.length);
sys/dev/scsipi/sd.c
1476
*blksize = _4btol(datap->data.length);
sys/dev/scsipi/sd.c
1569
_lto2b(sizeof(data), cmd.length);
sys/dev/scsipi/sd.c
1579
if (error || data.header.length == 0)
sys/dev/scsipi/sd.c
1583
printf("rfc: length=%d\n", data.header.length);
sys/dev/scsipi/sd.c
1584
printf("rfc result:"); for (i = sizeof(struct scsipi_capacity_list_header) + data.header.length, p = (void *)&data; i; i--, p++) printf(" %02x", *p); printf("\n");
sys/dev/scsipi/sd.c
1646
cmd.length = sizeof(vpdbuf);
sys/dev/scsipi/sd.c
753
cmd_small.length = nblks & 0xff;
sys/dev/scsipi/sd.c
762
_lto2b(nblks, cmd_big.length);
sys/dev/scsipi/sd.c
771
_lto4b(nblks, cmd16.length);
sys/dev/scsipi/ss_mustek.c
287
window_cmd.length = sizeof(window_data);
sys/dev/scsipi/ss_mustek.c
328
_lto2b(sizeof(mode_data), mode_cmd.length);
sys/dev/scsipi/ss_mustek.c
466
_lto3b(lines_to_read, cmd.length);
sys/dev/scsipi/ss_mustek.c
522
cmd.length = sizeof(data);
sys/dev/scsipi/ss_mustek.h
106
u_int8_t length[3];
sys/dev/scsipi/ss_mustek.h
113
u_int8_t length; /* 0x06 */
sys/dev/scsipi/ss_mustek.h
128
u_int8_t length[2];
sys/dev/scsipi/ss_mustek.h
72
u_int8_t length; /* in bytes */
sys/dev/sdmmc/sdhc.c
1831
desc[seg].length = htole16(len);
sys/dev/sdmmc/sdhc.c
1837
desc[seg].length = htole16(len);
sys/dev/sdmmc/sdhcreg.h
294
uint16_t length;
sys/dev/sdmmc/sdhcreg.h
300
uint16_t length;
sys/dev/smbiosvar.h
257
uint8_t length;
sys/dev/spi/oj6sh.c
336
id->length = strlen(id->data);
sys/dev/stbi/stb_image.c
2656
uint32 length;
sys/dev/stbi/stb_image.c
2665
c.length = get32(s);
sys/dev/stbi/stb_image.c
2973
skip(s, c.length);
sys/dev/stbi/stb_image.c
2979
if (c.length != 13) return e("bad IHDR len","Corrupt PNG");
sys/dev/stbi/stb_image.c
3005
if (c.length > 256*3) return e("invalid PLTE","Corrupt PNG");
sys/dev/stbi/stb_image.c
3006
pal_len = c.length / 3;
sys/dev/stbi/stb_image.c
3007
if (pal_len * 3 != c.length) return e("invalid PLTE","Corrupt PNG");
sys/dev/stbi/stb_image.c
3023
if (c.length > pal_len) return e("bad tRNS len","Corrupt PNG");
sys/dev/stbi/stb_image.c
3025
for (i=0; i < c.length; ++i)
sys/dev/stbi/stb_image.c
3029
if (c.length != (uint32) s->img_n*2) return e("bad tRNS len","Corrupt PNG");
sys/dev/stbi/stb_image.c
3041
if (ioff + c.length > idata_limit) {
sys/dev/stbi/stb_image.c
3043
if (idata_limit == 0) idata_limit = c.length > 4096 ? c.length : 4096;
sys/dev/stbi/stb_image.c
3044
while (ioff + c.length > idata_limit)
sys/dev/stbi/stb_image.c
3049
if (!getn(s, z->idata+ioff,c.length)) return e("outofdata","Corrupt PNG");
sys/dev/stbi/stb_image.c
3050
ioff += c.length;
sys/dev/stbi/stb_image.c
3097
skip(s, c.length);
sys/dev/usb/ehci.c
152
u_int length;
sys/dev/usb/ehci.c
3115
int length, int isread, int *toggle, ehci_soft_qtd_t **lsqtd)
sys/dev/usb/ehci.c
3123
int len = length;
sys/dev/usb/ehci.c
3131
KASSERT(length != 0 || (!isread && (flags & USBD_FORCE_SHORT_XFER)));
sys/dev/usb/ehci.c
3206
xfer, length, len, mps, exfer->ex_nsqtd, j);
sys/dev/usb/ehci.c
3210
length % mps == 0) {
sys/dev/usb/if_atu.c
1684
len = UGETW(h->length) - 4; /* XXX magic number */
sys/dev/usb/if_atu.c
1811
USETW(h->length, len);
sys/dev/usb/if_atu.c
284
uint8_t request, uint16_t value, uint16_t index, uint16_t length,
sys/dev/usb/if_atu.c
296
USETW(req.wLength, length);
sys/dev/usb/if_atu.c
302
value, index, length));
sys/dev/usb/if_atu.c
309
int error = usbd_create_xfer(pipe0, length, 0, 0,
sys/dev/usb/if_atu.c
316
length, USBD_SHORT_XFER_OK, NULL);
sys/dev/usb/if_atu.c
328
if (total_len != length)
sys/dev/usb/if_atureg.h
379
uWord length;
sys/dev/usb/if_atureg.h
395
uWord length;
sys/dev/usb/if_axe.c
1131
int length, boundary;
sys/dev/usb/if_axe.c
1144
length = hdr_len + m->m_pkthdr.len;
sys/dev/usb/if_axe.c
1146
if ((length % boundary) == 0) {
sys/dev/usb/if_axe.c
1152
length, m->m_pkthdr.len, sizeof(hdr), 0);
sys/dev/usb/if_axe.c
1157
length = hdr_len + m->m_pkthdr.len + tlr_len;
sys/dev/usb/if_axe.c
1163
memcpy(c->unc_buf + length - tlr_len, &tlr, tlr_len);
sys/dev/usb/if_axe.c
1165
return length;
sys/dev/usb/if_axen.c
868
u_int length, boundary;
sys/dev/usb/if_axen.c
872
length = m->m_pkthdr.len + sizeof(hdr);
sys/dev/usb/if_axen.c
891
if ((length % boundary) == 0) {
sys/dev/usb/if_axen.c
900
return length;
sys/dev/usb/if_cdce.c
288
unsigned length;
sys/dev/usb/if_cdce.c
295
length = m->m_pkthdr.len + extra;
sys/dev/usb/if_cdce.c
303
return length;
sys/dev/usb/if_mos.c
714
int length;
sys/dev/usb/if_mos.c
720
length = m->m_pkthdr.len;
sys/dev/usb/if_mos.c
723
device_xname(un->un_dev), __func__, length));
sys/dev/usb/if_mos.c
725
return length;
sys/dev/usb/if_otusreg.h
424
uint16_t length;
sys/dev/usb/ohci.c
535
ohci_alloc_std_chain(ohci_softc_t *sc, struct usbd_xfer *xfer, int length, int rd)
sys/dev/usb/ohci.c
545
length, xfer->ux_pipe->up_dev->ud_speed);
sys/dev/usb/ohci.c
548
KASSERT(length != 0 || (!rd && (flags & USBD_FORCE_SHORT_XFER)));
sys/dev/usb/ohci.c
551
nstd += howmany(length, OHCI_PAGE_SIZE);
sys/dev/usb/uberry.c
100
requestType, reqno, value, index, length));
sys/dev/usb/uberry.c
105
USETW(req.wLength, length);
sys/dev/usb/uberry.c
94
uint8_t value, uint8_t index, void *data, uint8_t length)
sys/dev/usb/ubt.c
1760
want += mtod(m, hci_scodata_hdr_t *)->length ;
sys/dev/usb/ubt.c
1806
mtod(m, hci_scodata_hdr_t *)->length;
sys/dev/usb/uep.c
358
id->length = strlen(UIDSTR);
sys/dev/usb/uhci.c
2069
int length, int isread, int *toggle, uhci_soft_td_t **lstd)
sys/dev/usb/uhci.c
2076
int len = length;
sys/dev/usb/uhci.c
2147
xfer, length, len, maxp, uxfer->ux_nstd, i);
sys/dev/usb/uhci.c
2151
length % maxp == 0) {
sys/dev/usb/uintuos.c
256
id->length = strlen(id->data);
sys/dev/usb/umass_scsipi.c
462
scbus->sc_sense_cmd.length = senselen;
sys/dev/usb/umidi.c
1684
uint32_t length;
sys/dev/usb/umidi.c
1687
length = (ep->next_slot - ep->buffer) * sizeof(*ep->buffer);
sys/dev/usb/umidi.c
1689
ep->buffer, ep->next_slot, length));
sys/dev/usb/umidi.c
1691
usbd_setup_xfer(ep->xfer, ep, ep->buffer, length, 0,
sys/dev/usb/usbdi.c
704
uint32_t length, uint16_t flags, uint32_t timeout, usbd_callback callback)
sys/dev/usb/usbdi.c
710
xfer->ux_length = length;
sys/dev/usb/usbdi.c
723
uint32_t length, uint16_t flags, usbd_callback callback)
sys/dev/usb/usbdi.c
729
xfer->ux_length = length;
sys/dev/usb/usbnet.c
497
unsigned length;
sys/dev/usb/usbnet.c
543
length = uno_tx_prepare(un, m, c);
sys/dev/usb/usbnet.c
544
if (length == 0) {
sys/dev/usb/usbnet.c
551
usbd_setup_xfer(c->unc_xfer, c, c->unc_buf, length,
sys/dev/usb/usbnet.c
558
(uintptr_t)c->unc_buf, length, err, 0);
sys/dev/usb/usscanner.c
461
sense_cmd.length = sizeof(xs->sense);
sys/dev/usb/uvideo.c
2302
if (group->length != 4)
sys/dev/usb/uvideo.c
2307
if (group->length != 1)
sys/dev/usb/uvideo.c
2362
if (group->length != 4)
sys/dev/usb/uvideo.c
2384
if (group->length != 1)
sys/dev/usb/uvideo.c
2392
if (group->length != 1)
sys/dev/usb/uvideo.c
2400
if (group->length != 1)
sys/dev/video.c
1485
group.length = 1;
sys/dev/video.c
1950
buf->length = b50->length;
sys/dev/video.c
1971
b50->length = buf->length;
sys/dev/video.c
2614
buf->length = PAGE_ALIGN(vs->vs_format.sample_size);
sys/dev/video.c
2618
offset += buf->length;
sys/dev/video.c
2697
if (payload->size > buf->length - buf->bytesused) {
sys/dev/video.c
575
desc_group.length = 1;
sys/dev/video.c
618
group.length = 1;
sys/dev/video_if.h
159
uint8_t length;
sys/dev/video_if.h
172
uint8_t length;
sys/dev/vmt/vmt_subr.c
1008
data[length] = '\0';
sys/dev/vmt/vmt_subr.c
1038
vm_rpc_get_length(const struct vm_rpc *rpc, uint32_t *length, uint16_t *dataid)
sys/dev/vmt/vmt_subr.c
1061
*length = 0;
sys/dev/vmt/vmt_subr.c
1064
*length = __SHIFTOUT(frame.ebx, VM_REG_WORD_MASK);
sys/dev/vmt/vmt_subr.c
1079
uint32_t length)
sys/dev/vmt/vmt_subr.c
1091
if (vm_rpc_send(&rpci, sc->sc_rpc_buf, length) != 0) {
sys/dev/vmt/vmt_subr.c
935
vm_rpc_send(const struct vm_rpc *rpc, const uint8_t *buf, uint32_t length)
sys/dev/vmt/vmt_subr.c
942
frame.ebx = length;
sys/dev/vmt/vmt_subr.c
958
if (length == 0)
sys/dev/vmt/vmt_subr.c
965
frame.ecx = length;
sys/dev/vmt/vmt_subr.c
990
vm_rpc_get_data(const struct vm_rpc *rpc, char *data, uint32_t length,
sys/dev/vmt/vmt_subr.c
999
frame.ecx = length;
sys/dev/vnd.c
2015
unsigned length;
sys/dev/vnd.c
2032
length = vnd->sc_comp_offsets[comp_block + 1] -
sys/dev/vnd.c
2036
length, vnd->sc_comp_offsets[comp_block],
sys/dev/vnd.c
2047
vnd->sc_comp_stream.avail_in = length;
sys/dev/wscons/wsconsio.h
255
u_int length;
sys/dist/pf/net/if_pflog.c
258
hdr.length = PFLOG_REAL_HDRLEN;
sys/dist/pf/net/if_pflog.h
43
u_int8_t length;
sys/fs/cd9660/cd9660_lookup.c
221
reclen = isonum_711(ep->length);
sys/fs/cd9660/cd9660_rrip.c
125
((char *)p + isonum_711(p->h.length));
sys/fs/cd9660/cd9660_rrip.c
258
if (isonum_711(p->h.length) < sizeof(*p)) {
sys/fs/cd9660/cd9660_rrip.c
264
wlen = isonum_711(p->h.length) - 5;
sys/fs/cd9660/cd9660_rrip.c
452
ana->iso_ce_len = isonum_733(p->length);
sys/fs/cd9660/cd9660_rrip.c
518
pend = (ISO_SUSP_HEADER *)((char *)isodir + isonum_711(isodir->length));
sys/fs/cd9660/cd9660_rrip.c
543
if (isonum_711(phead->length) < sizeof(*phead))
sys/fs/cd9660/cd9660_rrip.c
549
phead = (ISO_SUSP_HEADER *)((char *)phead + isonum_711(phead->length));
sys/fs/cd9660/cd9660_rrip.h
140
char length [ISODCL ( 20, 27)];
sys/fs/cd9660/cd9660_rrip.h
44
u_char length [ISODCL ( 2, 2)]; /* 711 */
sys/fs/cd9660/cd9660_vfsops.c
805
if (off + isonum_711(isodir->length) > imp->logical_block_size) {
sys/fs/cd9660/cd9660_vfsops.c
809
off +isonum_711(isodir->length), off,
sys/fs/cd9660/cd9660_vfsops.c
810
isonum_711(isodir->length));
sys/fs/cd9660/cd9660_vnops.c
466
reclen = isonum_711(ep->length);
sys/fs/cd9660/cd9660_vnops.c
633
if ((ip->i_number & imp->im_bmask) + isonum_711(dirp->length)
sys/fs/cd9660/iso.h
143
char length [ISODCL (1, 1)]; /* 711 */
sys/fs/efs/efs_subr.c
418
off_t offset, length, next;
sys/fs/efs/efs_subr.c
451
length = ex.ex_length * EFS_BB_SIZE;
sys/fs/efs/efs_subr.c
454
start_hint < (offset + length)) {
sys/fs/efs/efs_subr.c
541
length = ex2.ex_length * EFS_BB_SIZE;
sys/fs/efs/efs_subr.c
543
if (start_hint >= offset && start_hint < (offset + length))
sys/fs/hfs/hfs_subr.c
247
uint64_t length,
sys/fs/hfs/hfs_subr.c
277
length, cred);
sys/fs/hfs/hfs_vfsops.c
308
volname = malloc(hmp->hm_vol.name.length + 1, M_TEMP, M_WAITOK);
sys/fs/hfs/hfs_vfsops.c
313
hmp->hm_vol.name.length, volname) == NULL)
sys/fs/hfs/hfs_vnops.c
910
childnames[curchild].unicode, childnames[curchild].length,
sys/fs/hfs/libhfs.c
1140
if (filekey->name.length == curkey->name.length &&
sys/fs/hfs/libhfs.c
1142
2 * curkey->name.length) == 0)
sys/fs/hfs/libhfs.c
1954
uint16_t i, length;
sys/fs/hfs/libhfs.c
1961
length = be16tohp(&ptr);
sys/fs/hfs/libhfs.c
1962
if (length > 255)
sys/fs/hfs/libhfs.c
1963
length = 255; /* hfs+ folder/file names have a limit of 255 chars */
sys/fs/hfs/libhfs.c
1964
out_string->length = length;
sys/fs/hfs/libhfs.c
1966
for (i = 0; i < length; i++) {
sys/fs/hfs/libhfs.c
2295
out_key->name.length = in_name_len;
sys/fs/hfs/libhfs.c
2354
for (lc = 0; lc == 0 && apos < a->name.length; apos++) {
sys/fs/hfs/libhfs.c
2365
for (lc = 0; lc == 0 && bpos < b->name.length; bpos++) {
sys/fs/hfs/libhfs.c
2398
if (a->name.length == 0 && b->name.length == 0)
sys/fs/hfs/libhfs.c
2401
if (a->name.length == 0)
sys/fs/hfs/libhfs.c
2403
if (b->name.length == 0)
sys/fs/hfs/libhfs.c
2409
sizeof(unichar_t)*min(a->name.length, b->name.length));
sys/fs/hfs/libhfs.c
2413
return (a->name.length - b->name.length);
sys/fs/hfs/libhfs.c
424
path_offset = 512 - parent_thread.name.length*2;
sys/fs/hfs/libhfs.c
427
parent_thread.name.length*2);
sys/fs/hfs/libhfs.c
438
total_path_length += parent_thread.name.length + 1;
sys/fs/hfs/libhfs.c
528
parentthread.name.length, parentthread.name.unicode, &key) == 0)
sys/fs/hfs/libhfs.c
832
fileparent.name.length, fileparent.name.unicode, &filekey) == 0)
sys/fs/hfs/libhfs.c
89
for (i=0; i<key->name.length; i++) {
sys/fs/hfs/libhfs.h
233
uint16_t length;
sys/fs/msdosfs/msdosfs_denode.c
344
msdosfs_detrunc(struct denode *dep, u_long length, int flags, kauth_cred_t cred)
sys/fs/msdosfs/msdosfs_denode.c
357
printf("detrunc(): file %s, length %lu, flags %x\n", dep->de_Name, length, flags);
sys/fs/msdosfs/msdosfs_denode.c
374
uvm_vnp_setsize(DETOV(dep), length);
sys/fs/msdosfs/msdosfs_denode.c
376
if (dep->de_FileSize < length)
sys/fs/msdosfs/msdosfs_denode.c
377
return (msdosfs_deextend(dep, length, cred));
sys/fs/msdosfs/msdosfs_denode.c
378
lastblock = de_clcount(pmp, length) - 1;
sys/fs/msdosfs/msdosfs_denode.c
389
if (length == 0) {
sys/fs/msdosfs/msdosfs_denode.c
408
if ((boff = length & pmp->pm_crbomask) != 0) {
sys/fs/msdosfs/msdosfs_denode.c
426
ubc_zerorange(&DETOV(dep)->v_uobj, length,
sys/fs/msdosfs/msdosfs_denode.c
436
dep->de_FileSize = length;
sys/fs/msdosfs/msdosfs_denode.c
461
fc_setcache(dep, FC_LASTFC, de_cluster(pmp, length - 1),
sys/fs/msdosfs/msdosfs_denode.c
479
msdosfs_deextend(struct denode *dep, u_long length, kauth_cred_t cred)
sys/fs/msdosfs/msdosfs_denode.c
497
if (length <= dep->de_FileSize)
sys/fs/msdosfs/msdosfs_denode.c
503
count = de_clcount(pmp, length) - de_clcount(pmp, dep->de_FileSize);
sys/fs/msdosfs/msdosfs_denode.c
521
dep->de_FileSize = length;
sys/fs/tmpfs/tmpfs_subr.c
1094
const off_t length = size;
sys/fs/tmpfs/tmpfs_subr.c
1126
if (length < 0) {
sys/fs/tmpfs/tmpfs_subr.c
1131
if (node->tn_size != length &&
sys/fs/tmpfs/tmpfs_subr.c
1132
(error = tmpfs_reg_resize(vp, length)) != 0) {
sys/fs/udf/udf_osta.c
299
int length;
sys/fs/udf/udf_osta.c
300
length = 0;
sys/fs/udf/udf_osta.c
301
while (*string++) length++;
sys/fs/udf/udf_osta.c
303
return length;
sys/fs/udf/udf_vnops.c
1756
uint8_t *targetbuf, int *length)
sys/fs/udf/udf_vnops.c
1877
*length = PATH_MAX - targetlen;
sys/fs/udf/udf_vnops.c
1897
int length;
sys/fs/udf/udf_vnops.c
1912
error = udf_do_readlink(udf_node, filesize, targetbuf, &length);
sys/fs/udf/udf_vnops.c
1916
uiomove(targetbuf, length, uio);
sys/fs/udf/udf_vnops.c
72
uint8_t *targetbuf, int *length);
sys/fs/udf/udf_vnops.c
883
int length, error;
sys/fs/udf/udf_vnops.c
961
error = udf_do_readlink(udf_node, filesize, targetbuf, &length);
sys/fs/udf/udf_vnops.c
963
vap->va_size = length;
sys/fs/udf/udf_vnops.c
964
KASSERT(length == strlen(targetbuf));
sys/kern/sys_memfd.c
414
memfd_truncate_locked(file_t *fp, off_t length)
sys/kern/sys_memfd.c
422
if (length < 0)
sys/kern/sys_memfd.c
424
if (length == mfd->mfd_size)
sys/kern/sys_memfd.c
427
if ((mfd->mfd_seals & F_SEAL_SHRINK) && length < mfd->mfd_size)
sys/kern/sys_memfd.c
429
if ((mfd->mfd_seals & F_SEAL_GROW) && length > mfd->mfd_size)
sys/kern/sys_memfd.c
432
if (length > mfd->mfd_size)
sys/kern/sys_memfd.c
434
length - mfd->mfd_size, 0);
sys/kern/sys_memfd.c
437
start = round_page(length);
sys/kern/sys_memfd.c
449
mfd->mfd_size = length;
sys/kern/sys_memfd.c
455
memfd_truncate(file_t *fp, off_t length)
sys/kern/sys_memfd.c
460
error = memfd_truncate_locked(fp, length);
sys/kern/systrace_args.c
1508
iarg[2] = SCARG(p, length); /* off_t */
sys/kern/systrace_args.c
1517
iarg[2] = SCARG(p, length); /* off_t */
sys/kern/systrace_args.c
2224
uarg[1] = SCARG(p, length); /* size_t */
sys/kern/systrace_args.c
2587
iarg[3] = SCARG(p, length); /* off_t */
sys/kern/systrace_args.c
967
iarg[1] = SCARG(p, length); /* long */
sys/kern/systrace_args.c
975
iarg[1] = SCARG(p, length); /* long */
sys/kern/vfs_getcwd.c
486
int len = SCARG(uap, length);
sys/kern/vfs_syscalls.c
4194
if (SCARG(uap, length) < 0)
sys/kern/vfs_syscalls.c
4207
vattr.va_size = SCARG(uap, length);
sys/kern/vfs_syscalls.c
4236
error = (*fp->f_ops->fo_truncate)(fp, SCARG(uap, length));
sys/kern/vfs_syscalls.c
4313
len = SCARG(uap, length);
sys/kern/vfs_vnops.c
1333
vn_truncate(file_t *fp, off_t length)
sys/kern/vfs_vnops.c
1339
if (length < 0)
sys/kern/vfs_vnops.c
1350
vattr.va_size = length;
sys/lib/libsa/cd9660.c
254
if (!isonum_711(dp->length)) {
sys/lib/libsa/cd9660.c
265
psize += (size_t)isonum_711(dp->length);
sys/lib/libsa/cd9660.c
267
((char *)dp + isonum_711(dp->length));
sys/lib/libsa/ext2fs.c
373
search_directory(const char *name, int length, struct open_file *f,
sys/lib/libsa/ext2fs.c
400
if (namlen == length &&
sys/lib/libsa/ext2fs.c
401
!memcmp(name, dp->e2d_name, length)) {
sys/lib/libsa/minixfs3.c
396
search_directory(const char *name, int length, struct open_file *f,
sys/lib/libsa/minixfs3.c
435
if (namlen == length &&
sys/lib/libsa/minixfs3.c
436
!memcmp(name, dp->mfsd_name, length)) {
sys/lib/libsa/nfs.c
428
n_long length;
sys/lib/libsa/nfs.c
436
n_long length;
sys/lib/libsa/nfs.c
524
x = ntohl(replv3->length);
sys/lib/libsa/nfs.c
528
x = ntohl(replv3no->length);
sys/lib/libsa/ufs.c
591
search_directory(const char *name, int length, struct open_file *f,
sys/lib/libsa/ufs.c
622
if (namlen == length &&
sys/lib/libsa/ufs.c
623
!memcmp(name, dp->d_name, length)) {
sys/lib/libunwind/DwarfInstructions.hpp
173
uint64_t length = addressSpace.getULEB128(p, expressionEnd);
sys/lib/libunwind/DwarfInstructions.hpp
174
expressionEnd = p + length;
sys/lib/libunwind/DwarfParser.hpp
320
uint64_t length;
sys/lib/libunwind/DwarfParser.hpp
425
length = addressSpace.getULEB128(p, instructionsEnd);
sys/lib/libunwind/DwarfParser.hpp
426
p += length;
sys/lib/libunwind/DwarfParser.hpp
434
length = addressSpace.getULEB128(p, instructionsEnd);
sys/lib/libunwind/DwarfParser.hpp
435
p += length;
sys/lib/libunwind/DwarfParser.hpp
484
length = addressSpace.getULEB128(p, instructionsEnd);
sys/lib/libunwind/DwarfParser.hpp
485
p += length;
sys/net/agr/ieee8023_tlv.h
46
#define TLV_SET(tlv, type, length) \
sys/net/agr/ieee8023_tlv.h
49
(tlv)->tlv_length = sizeof(*tlv) + (length); \
sys/net/bpfjit.c
1222
read_pkt_insn(const struct bpf_insn *pc, bpfjit_abc_length_t *length)
sys/net/bpfjit.c
1248
if (rv && length != NULL) {
sys/net/bpfjit.c
1253
*length = (uint32_t)pc->k + width;
sys/net/bpfjit.c
1289
bpfjit_abc_length_t length;
sys/net/bpfjit.c
1311
if (read_pkt_insn(&insns[i], &length) && length > UINT32_MAX)
sys/net/bpfjit.c
1474
bpfjit_abc_length_t length, abc_length = 0;
sys/net/bpfjit.c
1531
if (read_pkt_insn(pc, &length)) {
sys/net/bpfjit.c
1532
if (abc_length < length)
sys/net/bpfjit.c
1533
abc_length = length;
sys/net/if_ppp.c
599
nb = odp->length;
sys/net/if_ppp.h
101
u_int length;
sys/net/npf/if_npflog.h
40
uint8_t length;
sys/net/npf/npf_ext_log.c
101
hdr.length = NPFLOG_REAL_HDRLEN;
sys/net/npf/npf_inet.c
150
uint_fast8_t length = mask;
sys/net/npf/npf_inet.c
153
KASSERT(length <= NPF_MAX_NETMASK);
sys/net/npf/npf_inet.c
158
if (length >= 32) {
sys/net/npf/npf_inet.c
160
length -= 32;
sys/net/npf/npf_inet.c
161
} else if (length) {
sys/net/npf/npf_inet.c
162
wordmask = htonl(0xffffffff << (32 - length));
sys/net/npf/npf_inet.c
163
length = 0;
sys/net/npf/npf_inet.c
180
uint_fast8_t length = mask;
sys/net/npf/npf_inet.c
183
KASSERT(length <= NPF_MAX_NETMASK);
sys/net/npf/npf_inet.c
188
if (length >= 32) {
sys/net/npf/npf_inet.c
190
length -= 32;
sys/net/npf/npf_inet.c
191
} else if (length) {
sys/net/npf/npf_inet.c
192
wordmask = htonl(0xffffffff << (32 - length));
sys/net/npf/npf_inet.c
193
length = 0;
sys/net/radix.c
224
int length = uimin(*(const u_char *)cp, *(const u_char *)cp2);
sys/net/radix.c
229
length = uimin(length, *(const u_char *)cp3);
sys/net/radix.c
230
cplim = cp + length; cp3 += skip; cp2 += skip;
sys/net/zlib.c
1550
local void check_match(s, start, match, length)
sys/net/zlib.c
1553
int length;
sys/net/zlib.c
1557
s->window + start, length) != EQUAL) {
sys/net/zlib.c
1559
start, match, length);
sys/net/zlib.c
1562
} while (--length != 0);
sys/net/zlib.c
1566
fprintf(stderr,"\\[%d,%d]", start-match, length);
sys/net/zlib.c
1567
do { putc(s->window[start++], stderr); } while (--length != 0);
sys/net/zlib.c
1571
# define check_match(s, start, match, length)
sys/net/zlib.c
2256
local unsigned bi_reverse(unsigned value, int length);
sys/net/zlib.c
2290
local void send_bits(deflate_state *s, int value, int length);
sys/net/zlib.c
2292
local void send_bits(s, value, length)
sys/net/zlib.c
2295
int length; /* number of bits */
sys/net/zlib.c
2297
Tracevv((stderr," l %2d v %4x ", length, value));
sys/net/zlib.c
2298
Assert(length > 0 && length <= 15, "invalid length");
sys/net/zlib.c
2299
s->bits_sent += (ulg)length;
sys/net/zlib.c
2305
if (s->bi_valid > (int)Buf_size - length) {
sys/net/zlib.c
2309
s->bi_valid += length - Buf_size;
sys/net/zlib.c
2312
s->bi_valid += length;
sys/net/zlib.c
2317
#define send_bits(s, value, length) \
sys/net/zlib.c
2318
{ int len = length;\
sys/net/zlib.c
2342
int length; /* length value */
sys/net/zlib.c
2358
length = 0;
sys/net/zlib.c
2360
base_length[code] = length;
sys/net/zlib.c
2362
_length_code[length++] = (uch)code;
sys/net/zlib.c
2365
Assert (length == 256, "tr_static_init: length != 256");
sys/net/zlib.c
2370
_length_code[length-1] = (uch)code;
sys/net/zlib.c
3651
uInt length = dictLength;
sys/net/zlib.c
3659
if (length >= ((uInt)1<<z->state->wbits))
sys/net/zlib.c
3661
length = (1<<z->state->wbits)-1;
sys/net/zlib.c
3662
dictionary += dictLength - length;
sys/net/zlib.c
3664
inflate_set_dictionary(z->state->blocks, dictionary, length);
sys/net/zlib.c
589
# define _tr_tally_dist(s, distance, length, flush) \
sys/net/zlib.c
590
{ uch len = (length); \
sys/net/zlib.c
601
# define _tr_tally_dist(s, distance, length, flush) \
sys/net/zlib.c
602
flush = _tr_tally(s, distance, length)
sys/net/zlib.c
702
int length);
sys/net/zlib.c
903
uInt length = dictLength;
sys/net/zlib.c
915
if (length < MIN_MATCH) return Z_OK;
sys/net/zlib.c
916
if (length > MAX_DIST(s)) {
sys/net/zlib.c
917
length = MAX_DIST(s);
sys/net/zlib.c
919
dictionary += dictLength - length; /* use the tail of the dictionary */
sys/net/zlib.c
922
zmemcpy(s->window, dictionary, length);
sys/net/zlib.c
923
s->strstart = length;
sys/net/zlib.c
924
s->block_start = (long)length;
sys/net/zlib.c
932
for (n = 0; n <= length - MIN_MATCH; n++) {
sys/netbt/hci.h
436
uint8_t length; /* parameter(s) length in bytes */
sys/netbt/hci.h
446
uint16_t length; /* payload length in bytes */
sys/netbt/hci.h
456
uint8_t length; /* payload length in bytes */
sys/netbt/hci.h
466
uint8_t length; /* parameter(s) length in bytes */
sys/netbt/hci_event.c
177
if (m->m_pkthdr.len != hdr.length)
sys/netbt/hci_link.c
443
hdr.length = le16toh(hdr.length);
sys/netbt/hci_link.c
448
if (m->m_pkthdr.len != hdr.length)
sys/netbt/hci_link.c
468
if (hdr.length > 0) {
sys/netbt/hci_link.c
673
hdr->length = htole16(m->m_pkthdr.len - sizeof(*hdr));
sys/netbt/hci_link.c
853
if (m->m_pkthdr.len != hdr.length)
sys/netbt/hci_socket.c
228
&& hdr->length == hci_cmds[i].length
sys/netbt/hci_socket.c
639
if (m->m_pkthdr.len != sizeof(hdr) + hdr.length) {
sys/netbt/hci_socket.c
92
uint8_t length; /* approved length */
sys/netbt/hci_unit.c
318
p->length = len;
sys/netbt/l2cap.h
223
uint16_t length; /* payload size */
sys/netbt/l2cap.h
239
uint16_t length; /* command parameters length */
sys/netbt/l2cap.h
285
uint8_t length;
sys/netbt/l2cap_lower.c
118
hdr.length = le16toh(hdr.length);
sys/netbt/l2cap_lower.c
122
device_xname(link->hl_unit->hci_dev), hdr.length);
sys/netbt/l2cap_lower.c
124
if (hdr.length != m->m_pkthdr.len)
sys/netbt/l2cap_lower.c
139
&& chan->lc_imtu >= hdr.length
sys/netbt/l2cap_lower.c
146
device_xname(link->hl_unit->hci_dev), hdr.dcid, hdr.length);
sys/netbt/l2cap_signal.c
1008
uint16_t length, void *data)
sys/netbt/l2cap_signal.c
1015
KASSERT(sizeof(l2cap_cmd_hdr_t) + length <= link->hl_mtu);
sys/netbt/l2cap_signal.c
1027
if (length > 0)
sys/netbt/l2cap_signal.c
1028
m_copyback(m, sizeof(*hdr) + sizeof(*cmd), length, data);
sys/netbt/l2cap_signal.c
1033
cmd->length = htole16(length);
sys/netbt/l2cap_signal.c
1034
length += sizeof(*cmd);
sys/netbt/l2cap_signal.c
1037
hdr->length = htole16(length);
sys/netbt/l2cap_signal.c
1039
length += sizeof(*hdr);
sys/netbt/l2cap_signal.c
1041
if (m->m_pkthdr.len != MAX(MHLEN, length)) {
sys/netbt/l2cap_signal.c
1046
m->m_pkthdr.len = length;
sys/netbt/l2cap_signal.c
1047
m->m_len = MIN(length, MHLEN);
sys/netbt/l2cap_signal.c
105
if (cmd.length != sizeof(l2cap_con_rsp_cp))
sys/netbt/l2cap_signal.c
1050
device_xname(link->hl_unit->hci_dev), code, ident, length);
sys/netbt/l2cap_signal.c
1152
opt->length = L2CAP_OPT_MTU_SIZE;
sys/netbt/l2cap_signal.c
1164
opt->length = L2CAP_OPT_FLUSH_TIMO_SIZE;
sys/netbt/l2cap_signal.c
120
if (cmd.length != sizeof(l2cap_discon_req_cp))
sys/netbt/l2cap_signal.c
127
if (cmd.length != sizeof(l2cap_discon_rsp_cp))
sys/netbt/l2cap_signal.c
134
m_adj(m, sizeof(cmd) + cmd.length);
sys/netbt/l2cap_signal.c
140
m_adj(m, sizeof(cmd) + cmd.length);
sys/netbt/l2cap_signal.c
144
if (cmd.length != sizeof(l2cap_info_req_cp))
sys/netbt/l2cap_signal.c
151
m_adj(m, sizeof(cmd) + cmd.length);
sys/netbt/l2cap_signal.c
182
cmd.length = le16toh(cmd.length);
sys/netbt/l2cap_signal.c
188
m_copydata(m, 0, cmd.length, &cp);
sys/netbt/l2cap_signal.c
189
m_adj(m, cmd.length);
sys/netbt/l2cap_signal.c
191
if (cmd.length < 2)
sys/netbt/l2cap_signal.c
212
if (cmd.length != 4)
sys/netbt/l2cap_signal.c
430
left = le16toh(cmd.length);
sys/netbt/l2cap_signal.c
480
if (left < opt.length)
sys/netbt/l2cap_signal.c
488
if (opt.length != L2CAP_OPT_MTU_SIZE)
sys/netbt/l2cap_signal.c
519
if (opt.length != L2CAP_OPT_FLUSH_TIMO_SIZE)
sys/netbt/l2cap_signal.c
534
if (opt.length != L2CAP_OPT_QOS_SIZE)
sys/netbt/l2cap_signal.c
603
m_adj(m, opt.length);
sys/netbt/l2cap_signal.c
604
left -= opt.length;
sys/netbt/l2cap_signal.c
646
left = le16toh(cmd.length);
sys/netbt/l2cap_signal.c
724
if (left < opt.length)
sys/netbt/l2cap_signal.c
729
if (opt.length != L2CAP_OPT_MTU_SIZE)
sys/netbt/l2cap_signal.c
739
if (opt.length != L2CAP_OPT_FLUSH_TIMO_SIZE)
sys/netbt/l2cap_signal.c
752
if (opt.length != L2CAP_OPT_QOS_SIZE)
sys/netbt/l2cap_signal.c
780
m_adj(m, opt.length);
sys/netbt/l2cap_signal.c
781
left -= opt.length;
sys/netbt/l2cap_signal.c
80
cmd.length = le16toh(cmd.length);
sys/netbt/l2cap_signal.c
810
if (left < opt.length)
sys/netbt/l2cap_signal.c
813
m_adj(m, opt.length);
sys/netbt/l2cap_signal.c
814
left -= opt.length;
sys/netbt/l2cap_signal.c
82
if (m->m_pkthdr.len < sizeof(cmd) + cmd.length)
sys/netbt/l2cap_signal.c
87
cmd.code, cmd.ident, cmd.length);
sys/netbt/l2cap_signal.c
91
if (cmd.length > sizeof(l2cap_cmd_rej_cp))
sys/netbt/l2cap_signal.c
98
if (cmd.length != sizeof(l2cap_con_req_cp))
sys/netbt/l2cap_upper.c
418
hdr->length = htole16(plen);
sys/netbt/rfcomm.h
164
uint8_t length;
sys/netbt/rfcomm_session.c
1496
hdr->length = (0x00 << 1) | 0x01; /* len = 0x00, EA = 1 */
sys/netbt/rfcomm_session.c
1501
fcs = FCS(fcs, hdr->length);
sys/netbt/rfcomm_socket.c
451
rfcomm_complete(void *arg, int length)
sys/netbt/rfcomm_socket.c
455
sbdrop(&so->so_snd, length);
sys/netbt/sco_upper.c
304
hdr->length = plen;
sys/netinet/dccp_tcplike.c
419
u_int8_t length, state, numokpackets, ackratiocnt;
sys/netinet/dccp_tcplike.c
488
length = (av[i] & 0x3f) +1;
sys/netinet/dccp_tcplike.c
489
while (length > 0) {
sys/netinet/dccp_tcplike.c
503
length--;
sys/netinet/ip_icmp.h
158
uint16_t length;
sys/netinet/sctp.h
200
u_int16_t length;
sys/netinet/sctp_asconf.c
1219
if (htons(eh->length) + sizeof(struct sctp_error_cause) >
sys/netinet/sctp_asconf.c
1230
htons(eh->length)) {
sys/netinet/sctp_asconf.c
168
error->length = tlv_length + sizeof(struct sctp_error_cause);
sys/netinet/sctp_asconf.c
169
aph->ph.param_length = error->length +
sys/netinet/sctp_asconf.c
189
error->length = htons(error->length);
sys/netinet/sctp_asconf.c
2432
unsigned int offset, unsigned int length)
sys/netinet/sctp_asconf.c
2449
length += offset;
sys/netinet/sctp_asconf.c
2451
if ((offset + sizeof(struct sctp_paramhdr)) > length) {
sys/netinet/sctp_asconf.c
2575
if ((offset + sizeof(struct sctp_paramhdr)) > length)
sys/netinet/sctp_asconf.c
2589
unsigned int length, struct sockaddr *sa)
sys/netinet/sctp_asconf.c
2615
length += offset;
sys/netinet/sctp_asconf.c
2617
if ((offset + sizeof(struct sctp_paramhdr)) > length) {
sys/netinet/sctp_asconf.c
2713
if (offset + sizeof(struct sctp_paramhdr) > length)
sys/netinet/sctp_asconf.c
2735
int length, struct sockaddr *init_addr)
sys/netinet/sctp_asconf.c
2769
if (!sctp_addr_in_initack(stcb, m, offset, length,
sys/netinet/sctp_asconf.c
2785
int length, struct sockaddr *init_addr, uint16_t local_scope,
sys/netinet/sctp_asconf.c
2813
if (!sctp_addr_in_initack(stcb, m, offset, length,
sys/netinet/sctp_asconf.c
2835
int length, struct sockaddr *init_addr, uint16_t local_scope,
sys/netinet/sctp_asconf.c
2840
sctp_process_initack_addresses(stcb, m, offset, length);
sys/netinet/sctp_asconf.c
2844
sctp_check_address_list_all(stcb, m, offset, length, init_addr,
sys/netinet/sctp_asconf.c
2850
sctp_check_address_list_ep(stcb, m, offset, length,
sys/netinet/sctp_crc32.c
139
unsigned int length)
sys/netinet/sctp_crc32.c
143
for (i = 0; i < length; i++) {
sys/netinet/sctp_header.h
189
u_int16_t length;
sys/netinet/sctp_header.h
201
u_int16_t length;
sys/netinet/sctp_indata.c
2499
sctp_process_data(struct mbuf **mm, int iphlen, int *offset, int length,
sys/netinet/sctp_indata.c
2579
*offset, length, iphlen, (int)ch->ch.chunk_type);
sys/netinet/sctp_indata.c
2589
length - *offset < chk_length) {
sys/netinet/sctp_indata.c
2616
chk_length, length - *offset);
sys/netinet/sctp_indata.c
2623
if (SCTP_SIZE32(chk_length) == *offset - length) {
sys/netinet/sctp_indata.c
2651
if (*offset >= length) {
sys/netinet/sctp_indata.c
2658
*offset = length;
sys/netinet/sctp_input.c
3025
sctp_process_control(struct mbuf *m, int iphlen, int *offset, int length,
sys/netinet/sctp_input.c
3046
iphlen, *offset, length, stcb);
sys/netinet/sctp_input.c
3096
*offset = length;
sys/netinet/sctp_input.c
3149
*offset = length;
sys/netinet/sctp_input.c
3181
(*offset + chk_length) > length) {
sys/netinet/sctp_input.c
3185
*offset, chk_length, length);
sys/netinet/sctp_input.c
3188
*offset = length;
sys/netinet/sctp_input.c
3205
*offset = length;
sys/netinet/sctp_input.c
3239
*offset = length;
sys/netinet/sctp_input.c
3272
*offset = length;
sys/netinet/sctp_input.c
3276
(sctp_strict_init && (length - *offset > SCTP_SIZE32(chk_length)))) {
sys/netinet/sctp_input.c
3277
*offset = length;
sys/netinet/sctp_input.c
3288
*offset = length;
sys/netinet/sctp_input.c
3296
*offset = length;
sys/netinet/sctp_input.c
3314
*offset = length;
sys/netinet/sctp_input.c
3326
(sctp_strict_init && (length - *offset > SCTP_SIZE32(chk_length)))) {
sys/netinet/sctp_input.c
3330
length - *offset,
sys/netinet/sctp_input.c
3334
*offset = length;
sys/netinet/sctp_input.c
3348
*offset = length;
sys/netinet/sctp_input.c
3373
*offset = length;
sys/netinet/sctp_input.c
3413
*offset = length;
sys/netinet/sctp_input.c
3427
*offset = length;
sys/netinet/sctp_input.c
3439
*offset = length;
sys/netinet/sctp_input.c
3449
*offset = length;
sys/netinet/sctp_input.c
3461
*offset = length;
sys/netinet/sctp_input.c
3483
*offset = length;
sys/netinet/sctp_input.c
3507
*offset = length;
sys/netinet/sctp_input.c
3520
ret_buf, length, *offset);
sys/netinet/sctp_input.c
3533
*offset = length;
sys/netinet/sctp_input.c
3561
*offset = length;
sys/netinet/sctp_input.c
3599
(length - *offset > SCTP_SIZE32(chk_length))) {
sys/netinet/sctp_input.c
3600
*offset = length;
sys/netinet/sctp_input.c
3608
*offset = length;
sys/netinet/sctp_input.c
3649
*offset = length;
sys/netinet/sctp_input.c
3737
*offset = length;
sys/netinet/sctp_input.c
374
mp->length =
sys/netinet/sctp_input.c
3744
if (*offset >= length) {
sys/netinet/sctp_input.c
3754
*offset = length;
sys/netinet/sctp_input.c
3830
int length, struct sctphdr *sh, struct sctp_chunkhdr *ch,
sys/netinet/sctp_input.c
3851
m, iphlen, offset, length);
sys/netinet/sctp_input.c
3862
stcb = sctp_process_control(m, iphlen, &offset, length, sh, ch,
sys/netinet/sctp_input.c
3899
length, offset);
sys/netinet/sctp_input.c
3908
if (length > offset) {
sys/netinet/sctp_input.c
3958
retval = sctp_process_data(mm, iphlen, &offset, length, sh,
sys/netinet/sctp_input.c
4066
int length, mlen, offset;
sys/netinet/sctp_input.c
4252
length = ip->ip_len - (ip->ip_hl << 2) + iphlen;
sys/netinet/sctp_input.c
4256
sctp_common_input_processing(&m, iphlen, offset, length, sh, ch,
sys/netinet/sctputil.c
2064
int length;
sys/netinet/sctputil.c
2070
length = sizeof(struct sctp_send_failed) + chk->send_size;
sys/netinet/sctputil.c
2082
ssf->ssf_length = length;
sys/netinet/sctputil.c
2103
m_notify->m_pkthdr.len = length;
sys/netinet6/sctp6_usrreq.c
123
int length, mlen, offset, iphlen;
sys/netinet6/sctp6_usrreq.c
274
length = ntohs(ip6->ip6_plen) + iphlen;
sys/netinet6/sctp6_usrreq.c
278
(void)sctp_common_input_processing(&m, iphlen, offset, length, sh, ch,
sys/netmpls/mpls_ttl.c
173
mpls_icmp_ext.obj_hdr.length = htons(sizeof(union mpls_shim) +
sys/nfs/rpcv2.h
145
#define NFS_KERBW1(t) (*((u_long *)(&((t).dat[((t).length + 3) & ~0x3]))))
sys/rump/librump/rumpkern/rump_syscalls.c
2382
rump___sysimpl_truncate(const char * path, off_t length)
sys/rump/librump/rumpkern/rump_syscalls.c
2392
SPARG(&callarg, length) = length;
sys/rump/librump/rumpkern/rump_syscalls.c
2412
rump___sysimpl_ftruncate(int fd, off_t length)
sys/rump/librump/rumpkern/rump_syscalls.c
2422
SPARG(&callarg, length) = length;
sys/rump/librump/rumpkern/rump_syscalls.c
3355
rump___sysimpl___getcwd(char * bufp, size_t length)
sys/rump/librump/rumpkern/rump_syscalls.c
3364
SPARG(&callarg, length) = length;
sys/rump/librump/rumpkern/rump_syscalls.c
3550
rump___sysimpl_fsync_range(int fd, int flags, off_t start, off_t length)
sys/rump/librump/rumpkern/rump_syscalls.c
3561
SPARG(&callarg, length) = length;
sys/stand/efiboot/efiacpi.c
42
uint32_t length;
sys/stand/efiboot/smbios.h
252
uint8_t length;
sys/sys/syscallargs.h
1301
syscallarg(off_t) length;
sys/sys/syscallargs.h
1308
syscallarg(off_t) length;
sys/sys/syscallargs.h
1941
syscallarg(size_t) length;
sys/sys/syscallargs.h
2254
syscallarg(off_t) length;
sys/sys/syscallargs.h
817
syscallarg(long) length;
sys/sys/syscallargs.h
825
syscallarg(long) length;
sys/sys/videoio.h
1865
u_int32_t length;
sys/sys/videoio.h
1923
u_int32_t length;
sys/sys/videoio.h
1943
uint32_t length;
sys/sys/videoio.h
2853
u_int32_t length;
sys/ufs/chfs/chfs_scan.c
119
cheb, le32toh(vnode->length));
sys/ufs/chfs/chfs_scan.c
166
chfs_change_size_free(chmp, cheb, -le32toh(vnode->length));
sys/ufs/chfs/chfs_scan.c
167
chfs_change_size_used(chmp, cheb, le32toh(vnode->length));
sys/ufs/chfs/chfs_scan.c
290
err = chfs_update_eb_dirty(chmp, cheb, le32toh(dirent->length));
sys/ufs/chfs/chfs_scan.c
318
err = chfs_update_eb_dirty(chmp, cheb, le32toh(dirent->length));
sys/ufs/chfs/chfs_scan.c
364
err = chfs_update_eb_dirty(chmp, cheb, le32toh(dnode->length));
sys/ufs/chfs/chfs_scan.c
394
dbg("chmpfree: %u, chebfree: %u, dnode: %u\n", chmp->chm_free_size, cheb->free_size, dnode->length);
sys/ufs/chfs/chfs_scan.c
398
chfs_change_size_free(chmp, cheb, -dnode->length);
sys/ufs/chfs/chfs_scan.c
399
chfs_change_size_unchecked(chmp, cheb, dnode->length);
sys/ufs/chfs/chfs_scan.c
498
len = le32toh(nhdr->length) - CHFS_NODE_HDR_SIZE;
sys/ufs/chfs/chfs_scan.c
521
len = le32toh(nhdr->length) - CHFS_NODE_HDR_SIZE;
sys/ufs/chfs/chfs_scan.c
575
le32toh(nhdr->length));
sys/ufs/chfs/chfs_scan.c
583
le32toh(nhdr->length));
sys/ufs/chfs/chfs_scan.c
589
ofs += le32toh(nhdr->length) - CHFS_NODE_HDR_SIZE;
sys/ufs/chfs/chfs_wbuf.c
81
padnode->length = htole32(chmp->chm_wbuf_pagesize
sys/ufs/chfs/chfs_wbuf.c
94
-padnode->length);
sys/ufs/chfs/chfs_wbuf.c
96
padnode->length);
sys/ufs/chfs/chfs_write.c
186
fdirent->length = htole32(CHFS_PAD(size));
sys/ufs/chfs/chfs_write.c
306
dnode->length = htole32(CHFS_PAD(size));
sys/ufs/chfs/chfs_write.c
71
fvnode->length = htole32(CHFS_PAD(size));
sys/ufs/chfs/media.h
101
le32 length; /* length of vnode with data */
sys/ufs/chfs/media.h
120
le32 length; /* length of node with name */
sys/ufs/chfs/media.h
139
le32 length; /* length of node */
sys/ufs/chfs/media.h
72
le32 length; /* length of node */
sys/ufs/chfs/media.h
81
le32 length; /* length of node */
sys/ufs/ext2fs/ext2fs_inode.c
287
ext2fs_truncate(struct vnode *ovp, off_t length, int ioflag,
sys/ufs/ext2fs/ext2fs_inode.c
309
if (length < 0)
sys/ufs/ext2fs/ext2fs_inode.c
315
KDASSERT(length == 0);
sys/ufs/ext2fs/ext2fs_inode.c
321
if (ext2fs_size(oip) == length) {
sys/ufs/ext2fs/ext2fs_inode.c
323
uvm_vnp_setsize(ovp, length);
sys/ufs/ext2fs/ext2fs_inode.c
327
if (length > ump->um_maxfilesize)
sys/ufs/ext2fs/ext2fs_inode.c
337
if (osize < length) {
sys/ufs/ext2fs/ext2fs_inode.c
338
uvm_vnp_setwritesize(ovp, length);
sys/ufs/ext2fs/ext2fs_inode.c
339
error = ufs_balloc_range(ovp, length - 1, 1, cred,
sys/ufs/ext2fs/ext2fs_inode.c
346
uvm_vnp_setsize(ovp, length);
sys/ufs/ext2fs/ext2fs_inode.c
357
offset = ext2_blkoff(fs, length);
sys/ufs/ext2fs/ext2fs_inode.c
362
ubc_zerorange(&ovp->v_uobj, length, size - offset,
sys/ufs/ext2fs/ext2fs_inode.c
365
(void)ext2fs_setsize(oip, length);
sys/ufs/ext2fs/ext2fs_inode.c
366
uvm_vnp_setsize(ovp, length);
sys/ufs/ext2fs/ext2fs_inode.c
373
lastblock = ext2_lblkno(fs, length + fs->e2fs_bsize - 1) - 1;
sys/ufs/ext2fs/ext2fs_inode.c
467
if (length == 0 &&
sys/ufs/ext2fs/ext2fs_inode.c
475
(void)ext2fs_setsize(oip, length);
sys/ufs/ffs/ffs_extattr.c
382
ffs_findextattr(u_char *ptr, u_int length, int nspace, const char *name,
sys/ufs/ffs/ffs_extattr.c
391
eaend = (struct extattr *)(ptr + length);
sys/ufs/ffs/ffs_inode.c
207
ffs_truncate(struct vnode *ovp, off_t length, int ioflag, kauth_cred_t cred)
sys/ufs/ffs/ffs_inode.c
235
if (length < 0)
sys/ufs/ffs/ffs_inode.c
255
if (length != 0)
sys/ufs/ffs/ffs_inode.c
293
KDASSERT(length == 0);
sys/ufs/ffs/ffs_inode.c
300
if (oip->i_size == length) {
sys/ufs/ffs/ffs_inode.c
302
uvm_vnp_setsize(ovp, length);
sys/ufs/ffs/ffs_inode.c
306
if (length > ump->um_maxfilesize)
sys/ufs/ffs/ffs_inode.c
321
if (osize < length) {
sys/ufs/ffs/ffs_inode.c
323
ffs_lblkno(fs, osize) != ffs_lblkno(fs, length) &&
sys/ufs/ffs/ffs_inode.c
344
uvm_vnp_setwritesize(ovp, length);
sys/ufs/ffs/ffs_inode.c
345
error = ufs_balloc_range(ovp, length - 1, 1, cred, aflag);
sys/ufs/ffs/ffs_inode.c
350
uvm_vnp_setsize(ovp, length);
sys/ufs/ffs/ffs_inode.c
368
offset = ffs_blkoff(fs, length);
sys/ufs/ffs/ffs_inode.c
369
pgoffset = length & PAGE_MASK;
sys/ufs/ffs/ffs_inode.c
371
osize > length) {
sys/ufs/ffs/ffs_inode.c
377
error = ufs_balloc_range(ovp, length - 1, 1, cred,
sys/ufs/ffs/ffs_inode.c
382
lbn = ffs_lblkno(fs, length);
sys/ufs/ffs/ffs_inode.c
386
ubc_zerorange(&ovp->v_uobj, length, eoz - length,
sys/ufs/ffs/ffs_inode.c
388
if (round_page(eoz) > round_page(length)) {
sys/ufs/ffs/ffs_inode.c
390
error = VOP_PUTPAGES(ovp, round_page(length),
sys/ufs/ffs/ffs_inode.c
400
oip->i_size = length;
sys/ufs/ffs/ffs_inode.c
401
DIP_ASSIGN(oip, size, length);
sys/ufs/ffs/ffs_inode.c
402
uvm_vnp_setsize(ovp, length);
sys/ufs/ffs/ffs_inode.c
409
lastblock = ffs_lblkno(fs, length + fs->fs_bsize - 1) - 1;
sys/ufs/ffs/ffs_inode.c
547
oip->i_size = length;
sys/ufs/ffs/ffs_inode.c
548
DIP_ASSIGN(oip, size, length);
sys/ufs/ffs/ffs_inode.c
583
KASSERTMSG((length != 0 || extblocks || LIST_EMPTY(&ovp->v_cleanblkhd)),
sys/ufs/ffs/ffs_inode.c
585
KASSERTMSG((length != 0 || extblocks || LIST_EMPTY(&ovp->v_dirtyblkhd)),
sys/ufs/ffs/ffs_inode.c
596
length = osize;
sys/ufs/ffs/ffs_inode.c
597
uvm_vnp_setsize(ovp, length);
sys/ufs/ffs/ffs_inode.c
603
oip->i_size = length;
sys/ufs/ffs/ffs_inode.c
604
DIP_ASSIGN(oip, size, length);
sys/ufs/lfs/lfs_inode.c
213
lfs_truncate(struct vnode *ovp, off_t length, int ioflag, kauth_cred_t cred)
sys/ufs/lfs/lfs_inode.c
239
if (length < 0)
sys/ufs/lfs/lfs_inode.c
248
KASSERTMSG((length == 0),
sys/ufs/lfs/lfs_inode.c
249
"partial truncate of symlink: %jd", (intmax_t)length);
sys/ufs/lfs/lfs_inode.c
256
if (oip->i_size == length) {
sys/ufs/lfs/lfs_inode.c
258
uvm_vnp_setsize(ovp, length);
sys/ufs/lfs/lfs_inode.c
272
if (osize < length) {
sys/ufs/lfs/lfs_inode.c
273
if (length > fs->um_maxfilesize)
sys/ufs/lfs/lfs_inode.c
280
lfs_lblkno(fs, osize) != lfs_lblkno(fs, length) &&
sys/ufs/lfs/lfs_inode.c
301
uvm_vnp_setwritesize(ovp, length);
sys/ufs/lfs/lfs_inode.c
302
error = ulfs_balloc_range(ovp, length - 1, 1, cred,
sys/ufs/lfs/lfs_inode.c
309
uvm_vnp_setsize(ovp, length);
sys/ufs/lfs/lfs_inode.c
319
error = lfs_balloc(ovp, length - 1, 1, cred,
sys/ufs/lfs/lfs_inode.c
325
oip->i_size = length;
sys/ufs/lfs/lfs_inode.c
327
uvm_vnp_setsize(ovp, length);
sys/ufs/lfs/lfs_inode.c
347
offset = lfs_blkoff(fs, length);
sys/ufs/lfs/lfs_inode.c
354
oip->i_size = length;
sys/ufs/lfs/lfs_inode.c
357
lbn = lfs_lblkno(fs, length);
sys/ufs/lfs/lfs_inode.c
361
error = lfs_balloc(ovp, length - 1, 1, cred, aflags, &bp);
sys/ufs/lfs/lfs_inode.c
369
oip->i_size = length;
sys/ufs/lfs/lfs_inode.c
402
error = ulfs_balloc_range(ovp, length - 1, 1, cred, aflags);
sys/ufs/lfs/lfs_inode.c
408
xlbn = lfs_lblkno(fs, length);
sys/ufs/lfs/lfs_inode.c
411
ubc_zerorange(&ovp->v_uobj, length, eoz - length,
sys/ufs/lfs/lfs_inode.c
413
if (round_page(eoz) > round_page(length)) {
sys/ufs/lfs/lfs_inode.c
415
error = VOP_PUTPAGES(ovp, round_page(length),
sys/ufs/lfs/lfs_inode.c
429
oip->i_size = length;
sys/ufs/lfs/lfs_inode.c
431
uvm_vnp_setsize(ovp, length);
sys/ufs/lfs/lfs_inode.c
440
if (length > QUAD_MAX - lfs_sb_getbsize(fs))
sys/ufs/lfs/lfs_inode.c
443
lastblock = lfs_lblkno(fs, length + lfs_sb_getbsize(fs) - 1) - 1;
sys/ufs/lfs/lfs_inode.c
549
oip->i_size = length;
sys/ufs/lfs/lfs_inode.c
576
KASSERTMSG((length != 0 || LIST_EMPTY(&ovp->v_cleanblkhd)),
sys/ufs/lfs/lfs_inode.c
578
KASSERTMSG((length != 0 || LIST_EMPTY(&ovp->v_dirtyblkhd)),
sys/ufs/lfs/lfs_inode.c
584
oip->i_size = length;
sys/uvm/uvm_map.c
1756
uvm_map_space_avail(vaddr_t *start, vsize_t length, voff_t uoffset,
sys/uvm/uvm_map.c
1771
length, (unsigned long long)uoffset, align, \
sys/uvm/uvm_map.c
1784
PMAP_PREFER(uoffset, start, length, topdown);
sys/uvm/uvm_map.c
1827
if (length > __type_max(vaddr_t) - *start)
sys/uvm/uvm_map.c
1829
end = *start + length;
sys/uvm/uvm_map.c
1840
uvm_findspace_invariants(struct vm_map *map, vaddr_t orig_hint, vaddr_t length,
sys/uvm/uvm_map.c
1857
length, uobj, (unsigned long long)uoffset, align,
sys/uvm/uvm_map.c
1879
uvm_map_findspace(struct vm_map *map, vaddr_t hint, vsize_t length,
sys/uvm/uvm_map.c
1884
uvm_findspace_invariants(map, orig_hint, length, uobj, uoffset, align,\
sys/uvm/uvm_map.c
1893
(uintptr_t)map, hint, length, flags);
sys/uvm/uvm_map.c
2019
length <= entry->next->start - hint)
sys/uvm/uvm_map.c
2030
avail = uvm_map_space_avail(&hint, length,
sys/uvm/uvm_map.c
2069
if (length > entry->next->start - vm_map_min(map))
sys/uvm/uvm_map.c
2072
hint = MIN(orig_hint, entry->next->start - length);
sys/uvm/uvm_map.c
2078
avail = uvm_map_space_avail(&hint, length, uoffset, align, flags,
sys/uvm/uvm_map.c
2092
if (tmp == NULL || tmp->maxgap < length)
sys/uvm/uvm_map.c
2101
if (tmp->next->start < hint + length &&
sys/uvm/uvm_map.c
2103
if (tmp->gap >= length)
sys/uvm/uvm_map.c
2106
&& child->maxgap >= length)
sys/uvm/uvm_map.c
2112
if (tmp->gap >= length)
sys/uvm/uvm_map.c
2115
&& child->maxgap >= length)
sys/uvm/uvm_map.c
2119
if (tmp->next->start < hint + length)
sys/uvm/uvm_map.c
2124
if (tmp->gap >= length)
sys/uvm/uvm_map.c
2131
if (child == NULL || child->maxgap < length)
sys/uvm/uvm_map.c
2142
if (hint > tmp->next->start - length)
sys/uvm/uvm_map.c
2143
hint = tmp->next->start - length;
sys/uvm/uvm_map.c
2149
avail = uvm_map_space_avail(&hint, length, uoffset, align,
sys/uvm/uvm_map.c
2159
if (tmp->gap >= length)
sys/uvm/uvm_map.c
2166
KASSERT(orig_hint >= prev->next->start - length ||
sys/uvm/uvm_map.c
2167
prev->next->start - length > prev->next->start);
sys/uvm/uvm_map.c
2168
hint = prev->next->start - length;
sys/uvm/uvm_map.c
2174
avail = uvm_map_space_avail(&hint, length, uoffset, align,
sys/uvm/uvm_map.c
2184
if (prev->gap >= length)
sys/uvm/uvm_map.c
2193
KASSERTMSG(tmp->maxgap >= length,
sys/uvm/uvm_map.c
2195
tmp->maxgap, length);
sys/uvm/uvm_map.c
2200
if (child && child->maxgap >= length) {
sys/uvm/uvm_map.c
2204
if (tmp->gap >= length)
sys/uvm/uvm_map.c
2213
KASSERT(orig_hint >= tmp->next->start - length ||
sys/uvm/uvm_map.c
2214
tmp->next->start - length > tmp->next->start);
sys/uvm/uvm_map.c
2215
hint = tmp->next->start - length;
sys/uvm/uvm_map.c
2221
avail = uvm_map_space_avail(&hint, length, uoffset, align,
sys/uvm/uvm_map.c
2247
hint = topdown ? MIN(orig_hint, entry->next->start - length)
sys/uvm/uvm_map.c
2252
avail = uvm_map_space_avail(&hint, length, uoffset, align,
sys/uvm/uvm_map.c
2287
KASSERT(length <= entry->next->start - hint);
tests/dev/scsipi/libscsitest/scsitest.c
134
_lto4b(CDBLOCKSIZE, ret->length);
tests/dev/scsipi/libscsitest/scsitest.c
188
param->length * CDBLOCKSIZE,
tests/dev/scsipi/libscsitest/scsitest.c
191
param->length * CDBLOCKSIZE,
tests/lib/libc/locale/t_mbrtowc.c
247
ATF_REQUIRE_EQ_MSG(nchar, t->length, "Incorrect length: "
tests/lib/libc/locale/t_mbrtowc.c
248
"%zd (expected: %zd)", nchar, t->length);
tests/lib/libc/locale/t_mbrtowc.c
263
ATF_REQUIRE_EQ_MSG(rv, t->length, "Incorrect length: %zd "
tests/lib/libc/locale/t_mbrtowc.c
264
"(expected: %zd)", rv, t->length);
tests/lib/libc/locale/t_mbrtowc.c
278
ATF_REQUIRE_EQ_MSG((size_t)i, t->length, "Incorrect length: "
tests/lib/libc/locale/t_mbrtowc.c
279
"%d (expected: %zd)", i, t->length);
tests/lib/libc/locale/t_mbrtowc.c
82
size_t length;
tests/lib/libppath/t_ppath.c
1519
ATF_TP_ADD_TC(tp, length);
tests/lib/libppath/t_ppath.c
175
ATF_TC(length);
tests/lib/libppath/t_ppath.c
177
ATF_TC_HEAD(length, tc)
tests/lib/libppath/t_ppath.c
183
ATF_TC_BODY(length, tc)
tests/usr.bin/indent/edge_cases.c
165
if (values.length == 0)
tests/usr.bin/indent/edge_cases.c
167
if (values.length == 1)
tests/usr.bin/indent/edge_cases.c
174
return result.substr(delim.length);
tests/usr.bin/xlint/lint1/d_typefun.c
30
long length, d2i_of_void *d2i,
usr.bin/btkey/device.c
83
hdr->length = clen;
usr.bin/cmp/regular.c
59
off_t byte, length, line;
usr.bin/cmp/regular.c
75
length = MIN(len1, len2);
usr.bin/cmp/regular.c
76
for (blk_sz = 1024 * 1024; length != 0; length -= blk_sz) {
usr.bin/cmp/regular.c
77
if ((uintmax_t)blk_sz > (uintmax_t)length)
usr.bin/cmp/regular.c
78
blk_sz = length;
usr.bin/error/subr.c
132
size_t length;
usr.bin/error/subr.c
136
length = strlen(string);
usr.bin/error/subr.c
137
if (length >= 1)
usr.bin/error/subr.c
138
return string[length-1];
usr.bin/error/subr.c
155
size_t length;
usr.bin/error/subr.c
159
length = strlen(string);
usr.bin/error/subr.c
160
if (length >= 2)
usr.bin/error/subr.c
161
return string[length - 2];
usr.bin/error/subr.c
181
size_t length = string != NULL ? strlen(string) : 0;
usr.bin/error/subr.c
183
if (length >= 4 && string[length - 1] == ')') {
usr.bin/error/subr.c
184
for (cp = &string[length - 2];
usr.bin/error/subr.c
189
string[length - 1] = '\0'; /* clobber the ) */
usr.bin/error/subr.c
191
string[length - 1] = ')';
usr.bin/error/subr.c
210
int length = 0;
usr.bin/error/subr.c
213
length = strlen(string);
usr.bin/error/subr.c
214
if (length >= 4 && string[length - 1] == ')') {
usr.bin/error/subr.c
215
for (cp = &string[length - 2];
usr.bin/error/subr.c
220
string[length - 1] = '\0';
usr.bin/error/subr.c
222
string[length - 1] = ')';
usr.bin/fgen/fgen.h
70
int length;
usr.bin/fpr/fpr.c
154
for (i = 0; i < length; i++)
usr.bin/fpr/fpr.c
180
length = 0;
usr.bin/fpr/fpr.c
267
length = i;
usr.bin/fpr/fpr.c
334
i = length;
usr.bin/fpr/fpr.c
337
length = i;
usr.bin/fpr/fpr.c
338
for (i = 0; i < length; i++)
usr.bin/fpr/fpr.c
343
for (i = 0; i < length; i++)
usr.bin/fpr/fpr.c
78
static int length;
usr.bin/hexdump/display.c
257
if (!length || (ateof && !next())) {
usr.bin/hexdump/display.c
271
length == -1 ? need : MIN(length, need), stdin);
usr.bin/hexdump/display.c
279
if (length != -1)
usr.bin/hexdump/display.c
280
length -= n;
usr.bin/hexdump/hexdump.c
60
int length = -1; /* max bytes to read */
usr.bin/hexdump/hexdump.h
78
extern int length; /* max bytes to read */
usr.bin/hexdump/hexsyntax.c
90
if ((length = atoi(optarg)) < 0)
usr.bin/hexdump/odsyntax.c
165
if ((length = atoi(optarg)) < 0)
usr.bin/mail/mime_attach.c
130
getrandstring(size_t length)
usr.bin/mail/mime_attach.c
140
binlen = 3 * roundup(length, 4) / 4; /* bytes of binary to encode base64 */
usr.bin/mail/mime_attach.c
145
b64 = salloc(roundup(length, 4));
usr.bin/mail/mime_attach.c
147
b64[length] = '\0';
usr.bin/mail/mime_decode.c
701
size_t length;
usr.bin/mail/mime_decode.c
707
while ((line = fgetln(fi, &length)) != NULL) {
usr.bin/mail/mime_decode.c
708
if (length > 1)
usr.bin/mail/mime_decode.c
713
(void)fwrite(line, sizeof(*line), length, fo);
usr.bin/msgs/msgs.c
629
prmesg(int length)
usr.bin/msgs/msgs.c
634
if (use_pager && length > Lpp) {
usr.bin/passwd/krb5_passwd.c
207
result_string.length > 0 ? " : " : "",
usr.bin/passwd/krb5_passwd.c
208
(int)result_string.length,
usr.bin/passwd/krb5_passwd.c
209
result_string.length > 0 ? (char *)result_string.data : "");
usr.bin/passwd/krb5_passwd.c
352
result_string.length > 0 ? " : " : "",
usr.bin/passwd/krb5_passwd.c
353
(int)result_string.length,
usr.bin/passwd/krb5_passwd.c
354
result_string.length > 0 ? (char *)result_string.data : "");
usr.bin/rpcgen/rpc_cout.c
420
size += ptr->length;
usr.bin/rpcgen/rpc_cout.c
461
size += ptr->length;
usr.bin/rpcgen/rpc_cout.c
470
if (ptr->length != 1)
usr.bin/rpcgen/rpc_cout.c
471
s_print(ptemp, "%s%s * %d", plus, dl->decl.array_max, ptr->length);
usr.bin/rpcgen/rpc_parse.h
164
int length;
usr.bin/rpcgen/rpc_util.c
453
ptr->length = len;
usr.bin/rump_dhcpclient/net.c
400
make_udp_packet(uint8_t **packet, const uint8_t *data, size_t length,
usr.bin/rump_dhcpclient/net.c
420
memcpy(&udpp->dhcp, data, length);
usr.bin/rump_dhcpclient/net.c
431
udp->uh_ulen = htons(sizeof(*udp) + length);
usr.bin/rump_dhcpclient/net.c
439
ip->ip_len = htons(sizeof(*ip) + sizeof(*udp) + length);
usr.bin/rump_dhcpclient/net.c
443
return sizeof(*ip) + sizeof(*udp) + length;
usr.bin/sort/fields.c
155
keybuf->length = keybuf->offset + line_size;
usr.bin/sort/fields.c
164
keybuf->keylen = posix_sort ? keybuf->length : keybuf->offset;
usr.bin/sort/fields.c
205
return length(tablepos, endkey, start, end, flags);
usr.bin/sort/fields.c
83
static u_char *length(u_char *, const u_char *, u_char *, u_char *, int);
usr.bin/sort/files.c
125
recbuf->length = pos - recbuf->data;
usr.bin/sort/files.c
126
recbuf->keylen = recbuf->length - 1;
usr.bin/sort/files.c
230
EWRITE(rec, 1, REC_ROUNDUP(offsetof(RECHEADER, data) + rec->length), fp,
usr.bin/sort/files.c
240
EWRITE(rec->data+rec->offset, 1, rec->length - rec->offset, fp,
usr.bin/sort/files.c
263
(void)sizeof (char[offsetof(RECHEADER, length) == 0 ? 1 : -1]);
usr.bin/sort/files.c
267
if (!fread(&rec->length, 1, sizeof rec->length, fp)) {
usr.bin/sort/files.c
271
file_len = REC_ROUNDUP(offsetof(RECHEADER, data) + rec->length);
usr.bin/sort/files.c
273
for (i = sizeof rec->length - 1; i >= 0; i--)
usr.bin/sort/files.c
278
fread(&rec->length + 1, file_len - sizeof rec->length, 1, fp);
usr.bin/sort/fsort.c
136
crec = (RECHEADER *)(crec->data + SALIGN(crec->length));
usr.bin/sort/msort.c
392
crec->data[crec->length-1] = 0;
usr.bin/sort/msort.c
398
crec->data[crec->length-1] = 0;
usr.bin/sort/sort.h
118
length_t length; /* total length of key and line */
usr.bin/talk/ctl.c
108
length = sizeof(ctl_addr);
usr.bin/talk/ctl.c
110
(struct sockaddr *)&ctl_addr, &length) == -1)
usr.bin/talk/ctl.c
69
socklen_t length;
usr.bin/talk/ctl.c
84
length = sizeof(my_addr);
usr.bin/talk/ctl.c
85
if (getsockname(sockt, (struct sockaddr *)&my_addr, &length) == -1)
usr.bin/talk/ctl.c
93
socklen_t length;
usr.bin/telnet/authenc.c
104
res = fgets(result, length, stdin);
usr.bin/telnet/authenc.c
106
strlcpy(result, res, (size_t)length);
usr.bin/telnet/authenc.c
92
telnet_gets(char *prmpt, char *result, int length, int echo)
usr.bin/telnet/authenc.c
98
if (length < 0)
usr.bin/telnet/telnet.c
2180
int length;
usr.bin/telnet/telnet.c
2186
length = next-thisitem;
usr.bin/telnet/telnet.c
2187
memmove(good, thisitem, length);
usr.bin/telnet/telnet.c
2188
good += length;
usr.bin/telnet/utilities.c
126
Dump(int direction, unsigned char *buffer, int length)
usr.bin/telnet/utilities.c
135
while (length) {
usr.bin/telnet/utilities.c
140
buffer = buffer + min(length, BYTES_PER_LINE/2);
usr.bin/telnet/utilities.c
147
length -= BYTES_PER_LINE/2;
usr.bin/telnet/utilities.c
150
buffer = buffer + min(length, BYTES_PER_LINE);
usr.bin/telnet/utilities.c
155
length -= BYTES_PER_LINE;
usr.bin/telnet/utilities.c
163
if (length < 0) {
usr.bin/telnet/utilities.c
288
int length) /* length of suboption data */
usr.bin/telnet/utilities.c
301
if (length >= 3) {
usr.bin/telnet/utilities.c
304
i = pointer[length-2];
usr.bin/telnet/utilities.c
305
j = pointer[length-1];
usr.bin/telnet/utilities.c
324
length -= 2;
usr.bin/telnet/utilities.c
326
if (length < 1) {
usr.bin/telnet/utilities.c
337
fprintf(NetTrace, "IS \"%.*s\"", length-2, (char *)pointer+2);
usr.bin/telnet/utilities.c
350
if (length < 2) {
usr.bin/telnet/utilities.c
357
fprintf(NetTrace, "%.*s", length-2, (char *)pointer+2);
usr.bin/telnet/utilities.c
364
for (i = 2; i < length; i++)
usr.bin/telnet/utilities.c
372
if (length < 2) {
usr.bin/telnet/utilities.c
388
for (i = 2; i < length; i++)
usr.bin/telnet/utilities.c
394
if (length < 2) {
usr.bin/telnet/utilities.c
398
if (length == 2) {
usr.bin/telnet/utilities.c
405
if (length == 4) {
usr.bin/telnet/utilities.c
412
for (i = 5; i < length; i++)
usr.bin/telnet/utilities.c
419
if (length < 2) {
usr.bin/telnet/utilities.c
432
if (length < 3) {
usr.bin/telnet/utilities.c
442
auth_printsub(&pointer[1], length - 1, buf, sizeof(buf));
usr.bin/telnet/utilities.c
449
while (i < length) {
usr.bin/telnet/utilities.c
454
if (++i >= length) {
usr.bin/telnet/utilities.c
470
while (i < length)
usr.bin/telnet/utilities.c
476
for (i = 2; i < length; i++)
usr.bin/telnet/utilities.c
486
if (length < 2) {
usr.bin/telnet/utilities.c
511
if (length < 3) {
usr.bin/telnet/utilities.c
521
encrypt_printsub(&pointer[1], length - 1, buf,
usr.bin/telnet/utilities.c
529
while (i < length) {
usr.bin/telnet/utilities.c
550
for (i = 2; i < length; i++)
usr.bin/telnet/utilities.c
559
if (length < 2) {
usr.bin/telnet/utilities.c
576
if (length < 3) {
usr.bin/telnet/utilities.c
583
for (i = 3; i < length; i++)
usr.bin/telnet/utilities.c
588
for (i = 3; i < length; i++)
usr.bin/telnet/utilities.c
596
for (i = 2; i < length - 2; i += 3) {
usr.bin/telnet/utilities.c
623
for (; i < length; i++)
usr.bin/telnet/utilities.c
629
if (length < 3) {
usr.bin/telnet/utilities.c
645
for (i = 3; i < length; i++)
usr.bin/telnet/utilities.c
650
for (i = 2; i < length; i++)
usr.bin/telnet/utilities.c
667
for (i = 2; i < length; i++)
usr.bin/telnet/utilities.c
678
for (i = 2; i < length; i++) {
usr.bin/telnet/utilities.c
701
while (j < length) {
usr.bin/telnet/utilities.c
703
if (j+1 == length)
usr.bin/telnet/utilities.c
713
if (i < length) {
usr.bin/telnet/utilities.c
740
fprintf(NetTrace, "IS \"%.*s\"", length-2, (char *)pointer+2);
usr.bin/telnet/utilities.c
766
for (i = 2; i < length; i++ ) {
usr.bin/telnet/utilities.c
815
for (i = 1; i < length; i++)
usr.bin/tftp/tftp.c
608
int length;
usr.bin/tftp/tftp.c
624
length = strlen(tp->th_msg);
usr.bin/tftp/tftp.c
625
msglen = &tp->th_msg[length + 1] - ackbuf;
usr.bin/vndcompress/common.h
155
uint64_t length; /* length of image in bytes */
usr.bin/vndcompress/main.c
112
O->length = strsuftoll("length", optarg,
usr.bin/vndcompress/vndcompress.c
457
S->size = O->length;
usr.sbin/acpitools/acpidump/acpi.c
210
acpi_print_string(char *s, size_t length)
usr.sbin/acpitools/acpidump/acpi.c
215
while (length > 0 && (s[length - 1] == ' ' || s[length - 1] == '\0'))
usr.sbin/acpitools/acpidump/acpi.c
216
length--;
usr.sbin/acpitools/acpidump/acpi.c
218
while (length--) {
usr.sbin/acpitools/acpidump/acpi.c
4425
acpi_checksum(void *p, size_t length)
usr.sbin/acpitools/acpidump/acpi.c
4432
while (length--)
usr.sbin/acpitools/acpidump/acpi.c
58
static void acpi_print_string(char *s, size_t length);
usr.sbin/acpitools/aml/aml_common.c
184
obj->opregion.length);
usr.sbin/acpitools/aml/aml_obj.h
71
int length;
usr.sbin/acpitools/aml/aml_parse.c
682
opregion->length = aml_objtonum(env, obj);
usr.sbin/bootp/bootptest/print-bootp.c
275
rfc1048_print(u_char *bp, int length)
usr.sbin/bootp/bootptest/print-bootp.c
290
ep = bp + length;
usr.sbin/bootp/bootptest/print-bootp.c
375
cmu_print(u_char *bp, int length)
usr.sbin/bootp/bootptest/print-bootp.c
382
if (length < (int)sizeof(*v)) {
usr.sbin/bootp/bootptest/print-bootp.c
383
printf(" |L=%d", length);
usr.sbin/bootp/bootptest/print-bootp.c
421
other_print(u_char *bp, int length)
usr.sbin/bootp/bootptest/print-bootp.c
427
ep = bp + length;
usr.sbin/bootp/bootptest/print-bootp.c
57
bootp_print(struct bootp *bp, int length, u_short sport, u_short dport)
usr.sbin/bootp/bootptest/print-bootp.c
68
if (length != sizeof(struct bootp))
usr.sbin/bootp/bootptest/print-bootp.c
69
(void) printf(" [len=%d]", length);
usr.sbin/bootp/common/bootpd.h
84
unsigned int linkcount, length;
usr.sbin/bootp/common/dovend.c
323
int length, numbytes;
usr.sbin/bootp/common/dovend.c
330
length = gendata->length;
usr.sbin/bootp/common/dovend.c
331
while ((length > 0) && (*bytesleft > 0)) {
usr.sbin/bootp/common/dovend.c
334
length = 0; /* Force an exit on next iteration */
usr.sbin/bootp/common/dovend.c
339
length--;
usr.sbin/bootp/common/dovend.c
351
length -= numbytes;
usr.sbin/bootp/common/dumptab.c
298
u_char *ep = bp + generic->length;
usr.sbin/bootp/common/readfile.c
1152
get_string(char **src, char *dest, unsigned int *length)
usr.sbin/bootp/common/readfile.c
1158
len = *length - 1;
usr.sbin/bootp/common/readfile.c
1187
*length = n;
usr.sbin/bootp/common/readfile.c
1206
unsigned length;
usr.sbin/bootp/common/readfile.c
1208
length = sizeof(retstring);
usr.sbin/bootp/common/readfile.c
1209
(void) get_string(src, retstring, &length);
usr.sbin/bootp/common/readfile.c
1212
length + 1);
usr.sbin/bootp/common/readfile.c
1214
memcpy(s->string, retstring, length + 1);
usr.sbin/bootp/common/readfile.c
1267
oldlength = ((*dest)->length);
usr.sbin/bootp/common/readfile.c
1274
bdata->length = oldlength + newlength + 2;
usr.sbin/bootp/common/readfile.c
499
unsigned int length;
usr.sbin/bootp/common/readfile.c
501
length = 0;
usr.sbin/bootp/common/readfile.c
546
length++;
usr.sbin/bootp/common/readfile.c
547
if (length < *bufsiz - 1) {
usr.sbin/bootp/common/readfile.c
554
length++;
usr.sbin/bootp/common/readfile.c
555
if (length >= *bufsiz - 1) {
usr.sbin/bootp/common/readfile.c
565
length++;
usr.sbin/bootp/common/readfile.c
566
if (length < *bufsiz - 1) {
usr.sbin/bootp/common/readfile.c
577
length++;
usr.sbin/bootp/common/readfile.c
578
if (length >= *bufsiz - 1) {
usr.sbin/bootp/common/readfile.c
585
length++;
usr.sbin/bootp/common/readfile.c
586
if (length >= *bufsiz - 1) {
usr.sbin/bootp/common/readfile.c
609
length++;
usr.sbin/bootp/common/readfile.c
610
if (length >= *bufsiz - 1) {
usr.sbin/bootp/common/readfile.c
618
*bufsiz = length; /* Tell the caller its length */
usr.sbin/btattach/btattach.c
375
hdr.length = len;
usr.sbin/btattach/init_csr.c
51
uint16_t length;
usr.sbin/btattach/init_csr.c
93
cmd.message.length = htole16(sizeof(cmd.message) >> 1);
usr.sbin/bthcid/hci.c
333
h->length = len;
usr.sbin/installboot/cd9660.c
173
i += (u_char)idr->length[0]) {
usr.sbin/installboot/cd9660.c
178
i, (u_char)idr->length[0]);
usr.sbin/installboot/cd9660.c
181
if (idr->length[0] == 0) {
usr.sbin/ldpd/fsm.c
180
t->length = htons(sizeof(struct address_list_tlv) - TLV_TYPE_LENGTH
usr.sbin/ldpd/fsm.c
69
ht->length, ht->messageid);
usr.sbin/ldpd/fsm.c
71
if (ht->length <= 4) /* Common hello parameters */
usr.sbin/ldpd/fsm.c
74
" Hold time: %d\n", ntohs(ht->ch.type), ntohs(ht->ch.length),
usr.sbin/ldpd/fsm.c
79
if (pduid->length - PDU_PAYLOAD_LENGTH -
usr.sbin/ldpd/ldp_peer.c
322
(ntohs(a->length) < sizeof(a->af) + sizeof(struct in_addr)) ||
usr.sbin/ldpd/ldp_peer.c
327
n = (ntohs(a->length) - sizeof(a->af)) / sizeof(struct in_addr);
usr.sbin/ldpd/ldp_peer.c
360
ntohs(a->length) > sizeof(a->af) + sizeof(struct in_addr) ||
usr.sbin/ldpd/ldp_peer.c
364
n = (ntohs(a->length) - sizeof(a->af)) / sizeof(struct in_addr);
usr.sbin/ldpd/mpls_routes.c
808
al_tlv.length = htons(sizeof(al_tlv) - TLV_TYPE_LENGTH);
usr.sbin/ldpd/notifications.c
55
t->length = htons(sizeof(struct notification_tlv) - TLV_TYPE_LENGTH);
usr.sbin/ldpd/pdu.c
51
p->length = ntohs(p1->length);
usr.sbin/ldpd/pdu.c
90
if (ntohs(rpdu->length) > c - PDU_VER_LENGTH) {
usr.sbin/ldpd/pdu.c
93
ntohs(rpdu->length), (int) (c - PDU_VER_LENGTH));
usr.sbin/ldpd/pdu.h
48
uint16_t length;
usr.sbin/ldpd/socketops.c
1067
ti.length = htons(sizeof(struct init_tlv) - TLV_TYPE_LENGTH);
usr.sbin/ldpd/socketops.c
1087
kt.length = htons(sizeof(kt.messageid));
usr.sbin/ldpd/socketops.c
1139
ntohs(rpdu->length) + PDU_VER_LENGTH, MSG_WAITALL);
usr.sbin/ldpd/socketops.c
1146
debugp("Read %d bytes, PDU size: %d bytes\n", c, ntohs(rpdu->length));
usr.sbin/ldpd/socketops.c
1156
ntohs(ttmp->type), ntohs(ttmp->length),
usr.sbin/ldpd/socketops.c
1160
ntohs(ttmp->type), ntohs(ttmp->length),
usr.sbin/ldpd/socketops.c
1174
if (ntohs(itlv->length) <
usr.sbin/ldpd/socketops.c
1256
+ ntohs(fectlv->length) + TLV_TYPE_LENGTH);
usr.sbin/ldpd/socketops.c
1332
wo += ntohs(ttmp->length) + TLV_TYPE_LENGTH;
usr.sbin/ldpd/socketops.c
1356
if (ntohs(pdu->length) !=
usr.sbin/ldpd/socketops.c
1357
ntohs(t->length) + TLV_TYPE_LENGTH + PDU_PAYLOAD_LENGTH) {
usr.sbin/ldpd/socketops.c
1359
fatalp("LDP: TLV len %d - PDU len %d\n", ntohs(t->length),
usr.sbin/ldpd/socketops.c
1360
ntohs(pdu->length));
usr.sbin/ldpd/socketops.c
1363
if (ntohs(t->length) + PDU_VER_LENGTH > MAX_PDU_SIZE) {
usr.sbin/ldpd/socketops.c
1370
ntohs(t->length) + TLV_TYPE_LENGTH);
usr.sbin/ldpd/socketops.c
1375
ntohs(t->type), inet_ntoa(p->ldp_id), ntohs(t->length));
usr.sbin/ldpd/socketops.c
1379
ntohs(t->type), inet_ntoa(p->ldp_id), ntohs(t->length));
usr.sbin/ldpd/socketops.c
1383
ntohs(pdu->length) + PDU_VER_LENGTH, 0);
usr.sbin/ldpd/socketops.c
1400
pdu.length = htons(ntohs(t->length) + TLV_TYPE_LENGTH +
usr.sbin/ldpd/socketops.c
446
spdu->length = htons(IPV4_HELLO_MSG_SIZE - PDU_VER_LENGTH);
usr.sbin/ldpd/socketops.c
452
t->length = htons(MSGID_SIZE +
usr.sbin/ldpd/socketops.c
463
cht->length = htons(sizeof(cht->holdtime) + sizeof(cht->res));
usr.sbin/ldpd/socketops.c
474
trtlv->length = htons(sizeof(struct in_addr));
usr.sbin/ldpd/socketops.c
542
ntohs(spdu->length), ntohs(t->length),
usr.sbin/ldpd/socketops.c
543
ntohs(cht->length), ntohs(trtlv->length));
usr.sbin/ldpd/socketops.c
547
spdu->length = htons(IPV6_HELLO_MSG_SIZE - PDU_VER_LENGTH);
usr.sbin/ldpd/socketops.c
548
t->length = htons(MSGID_SIZE +
usr.sbin/ldpd/socketops.c
551
trtlv->length = htons(sizeof(struct in6_addr));
usr.sbin/ldpd/socketops.c
609
sb, ifb->ifa_name, htons(spdu->length),
usr.sbin/ldpd/socketops.c
610
htons(t->length), htons(cht->length),
usr.sbin/ldpd/socketops.c
611
htons(trtlv->length));
usr.sbin/ldpd/socketops.c
722
c, inet_ntoa(rpdu.ldp_id), rpdu.length, rpdu.version);
usr.sbin/ldpd/tlv.c
59
if (ntohs(t->length) + TLV_TYPE_LENGTH > max)
usr.sbin/ldpd/tlv.c
63
t->length = ntohs(t->length);
usr.sbin/ldpd/tlv.c
74
ntohs(t->length), ntohs(t->messageid));
usr.sbin/ldpd/tlv.h
101
uint16_t length;
usr.sbin/ldpd/tlv.h
119
uint16_t length;
usr.sbin/ldpd/tlv.h
126
uint16_t length;
usr.sbin/ldpd/tlv.h
138
uint16_t length;
usr.sbin/ldpd/tlv.h
149
uint16_t length;
usr.sbin/ldpd/tlv.h
156
uint16_t length;
usr.sbin/ldpd/tlv.h
163
uint16_t length;
usr.sbin/ldpd/tlv.h
170
uint16_t length;
usr.sbin/ldpd/tlv.h
183
uint8_t length;
usr.sbin/ldpd/tlv.h
189
uint16_t length;
usr.sbin/ldpd/tlv.h
196
uint16_t length; /* 4 */
usr.sbin/ldpd/tlv.h
63
uint16_t length;
usr.sbin/ldpd/tlv.h
70
uint16_t length;
usr.sbin/ldpd/tlv.h
78
uint16_t length;
usr.sbin/ldpd/tlv.h
87
uint16_t length;
usr.sbin/ldpd/tlv_stack.c
166
n = ntohs(f->length);
usr.sbin/ldpd/tlv_stack.c
274
lmt->length = htons(sizeof(struct label_map_tlv) - TLV_TYPE_LENGTH
usr.sbin/ldpd/tlv_stack.c
285
fec->length = htons(sizeof(struct prefix_tlv) - sizeof(struct in_addr) +
usr.sbin/ldpd/tlv_stack.c
306
l->length = htons(sizeof(l->label));
usr.sbin/ldpd/tlv_stack.c
311
memcpy(((char*)l) + TLV_TYPE_LENGTH + ntohs(l->length),
usr.sbin/ldpd/tlv_stack.c
312
lrt, htons(lrt->length) + TLV_TYPE_LENGTH);
usr.sbin/ldpd/tlv_stack.c
369
lmt->length = htons(sizeof(struct label_map_tlv) - TLV_TYPE_LENGTH
usr.sbin/ldpd/tlv_stack.c
378
fec->length = htons(sizeof(struct fec_tlv) - TLV_TYPE_LENGTH
usr.sbin/ldpd/tlv_stack.c
417
if (ntohs(fec->type) != TLV_FEC || fec->length == 0) {
usr.sbin/ldpd/tlv_stack.c
453
lrm.length = htons(socktmp.sa.sa_family == AF_INET ? 4 : 16);
usr.sbin/ldpd/tlv_stack.c
81
n = ntohs(f->length);
usr.sbin/lpr/filters/lpf.c
137
lineno = length;
usr.sbin/lpr/filters/lpf.c
211
if (++lineno >= length) {
usr.sbin/lpr/filters/lpf.c
64
static int length = 66; /* page length */
usr.sbin/lpr/filters/lpf.c
98
length = atoi(optarg);
usr.sbin/lpr/lpd/printjob.c
112
static char length[10] = "-l"; /* page length in lines */
usr.sbin/lpr/lpd/printjob.c
1277
(void)snprintf(&length[2], sizeof(length) - 2, "%ld", PL);
usr.sbin/lpr/lpd/printjob.c
1345
execl(OF, cp, width, length, NULL);
usr.sbin/lpr/lpd/printjob.c
580
av[2] = length;
usr.sbin/lpr/lpd/printjob.c
595
execl(_PATH_PR, "pr", width, length,
usr.sbin/lpr/lpd/printjob.c
612
av[2] = length;
usr.sbin/lpr/lpd/printjob.c
622
av[3] = length;
usr.sbin/lpr/lpd/printjob.c
637
av[3] = length;
usr.sbin/lpr/lpd/printjob.c
644
av[2] = length;
usr.sbin/makefs/cd9660.c
1325
dir->isoDirRecord->length[0] = 34 + 8;
usr.sbin/makefs/cd9660.c
1784
int size = node->isoDirRecord->length[0];
usr.sbin/makefs/cd9660.c
1802
node->dot_record->isoDirRecord->length[0] = 34;
usr.sbin/makefs/cd9660.c
1819
node->dot_dot_record->isoDirRecord->length[0] = 34;
usr.sbin/makefs/cd9660.c
2096
temp->isoDirRecord->length[0] = 34;
usr.sbin/makefs/cd9660.c
344
size_t length, char testmode, char * dest)
usr.sbin/makefs/cd9660.c
351
else if ((len = strlen(val)) <= length) {
usr.sbin/makefs/cd9660.c
754
record->length[0] = 33 + name_len;
usr.sbin/makefs/cd9660.c
757
record->length[0] += (record->length[0] & 1) ? 1 : 0;
usr.sbin/makefs/cd9660.h
137
u_char length [ISODCL (1, 1)]; /* 711 */
usr.sbin/makefs/cd9660.h
219
u_char length[ISODCL (1, 1)];
usr.sbin/makefs/cd9660/cd9660_conversion.c
46
cd9660_pad_even(length)
usr.sbin/makefs/cd9660/cd9660_conversion.c
47
int length;
usr.sbin/makefs/cd9660/cd9660_conversion.c
49
return length + (length & 0x01);
usr.sbin/makefs/cd9660/cd9660_debug.c
192
printf("<length>%i</length>\n", pttemp->length[0]);
usr.sbin/makefs/cd9660/cd9660_debug.c
198
pttemp->name, pttemp->length[0]);
usr.sbin/makefs/cd9660/cd9660_debug.c
217
fread(((unsigned char*)&pttemp) + 8, 1, pttemp.length[0], fd);
usr.sbin/makefs/cd9660/cd9660_debug.c
218
t += pttemp.length[0];
usr.sbin/makefs/cd9660/cd9660_debug.c
358
((struct iso_directory_record*) buf)->length, 711);
usr.sbin/makefs/cd9660/cd9660_debug.c
379
((struct iso_directory_record*) buf)->length, 711));
usr.sbin/makefs/cd9660/cd9660_debug.c
89
(int)t->attr.su_entry.SP.h.length[0]);
usr.sbin/makefs/cd9660/cd9660_write.c
183
temp_entry.length[0] = ptcur->isoDirRecord->name_len[0];
usr.sbin/makefs/cd9660/cd9660_write.c
187
temp_entry.length[0] + 1);
usr.sbin/makefs/cd9660/cd9660_write.c
190
len = temp_entry.length[0] + 8 + (temp_entry.length[0] & 0x01);
usr.sbin/makefs/cd9660/cd9660_write.c
322
temp_record.length[0] =
usr.sbin/makefs/cd9660/cd9660_write.c
325
if (temp_record.length[0] + cur_sector_offset >=
usr.sbin/makefs/cd9660/cd9660_write.c
337
temp->isoDirRecord->length[0], fd);
usr.sbin/makefs/cd9660/cd9660_write.c
344
temp_record.length[0] - temp->su_tail_size,
usr.sbin/makefs/cd9660/cd9660_write.c
354
cur_sector_offset += temp_record.length[0];
usr.sbin/makefs/cd9660/cd9660_write.c
475
offset += writenode->isoDirRecord->length[0];
usr.sbin/makefs/cd9660/iso9660_rrip.c
165
t->attr.su_entry.CE.length);
usr.sbin/makefs/cd9660/iso9660_rrip.c
291
node,(int)(node->isoDirRecord->length[0])) < 0)
usr.sbin/makefs/cd9660/iso9660_rrip.c
471
p->attr.rr_entry.PL.h.length[0] = 12;
usr.sbin/makefs/cd9660/iso9660_rrip.c
479
p->attr.rr_entry.CL.h.length[0] = 12;
usr.sbin/makefs/cd9660/iso9660_rrip.c
487
p->attr.rr_entry.RE.h.length[0] = 4;
usr.sbin/makefs/cd9660/iso9660_rrip.c
570
current->attr.rr_entry.SL.h.length[0] = path_count + 5;
usr.sbin/makefs/cd9660/iso9660_rrip.c
609
current->attr.rr_entry.SL.h.length[0] = path_count + 5;
usr.sbin/makefs/cd9660/iso9660_rrip.c
625
v->attr.rr_entry.PX.h.length[0] = 36;
usr.sbin/makefs/cd9660/iso9660_rrip.c
643
pn_field->attr.rr_entry.PN.h.length[0] = 20;
usr.sbin/makefs/cd9660/iso9660_rrip.c
666
p->attr.rr_entry.NM.h.length[0] = (unsigned char)nm_length;
usr.sbin/makefs/cd9660/iso9660_rrip.c
677
p->attr.rr_entry.TF.h.length[0] = 5;
usr.sbin/makefs/cd9660/iso9660_rrip.c
687
p->attr.rr_entry.TF.h.length[0] += 7;
usr.sbin/makefs/cd9660/iso9660_rrip.c
691
p->attr.rr_entry.TF.h.length[0] += 7;
usr.sbin/makefs/cd9660/iso9660_rrip.c
695
p->attr.rr_entry.TF.h.length[0] += 7;
usr.sbin/makefs/cd9660/iso9660_rrip.c
702
p->attr.su_entry.SP.h.length[0] = 7;
usr.sbin/makefs/cd9660/iso9660_rrip.c
715
p->attr.su_entry.ST.h.length[0] = 4;
usr.sbin/makefs/cd9660/iso9660_rrip.c
723
p->attr.su_entry.CE.h.length[0] = 28;
usr.sbin/makefs/cd9660/iso9660_rrip.c
730
cd9660_susp_pd(struct ISO_SUSP_ATTRIBUTES *p __unused, int length __unused)
usr.sbin/makefs/cd9660/iso9660_rrip.c
763
r->attr.rr_entry.NM.h.length[0] = 5 + len;
usr.sbin/makefs/cd9660/iso9660_rrip.c
789
r->attr.su_entry.ER.h.length[0] = 8;
usr.sbin/makefs/cd9660/iso9660_rrip.c
801
assert(l + r->attr.su_entry.ER.h.length[0] <= 254);
usr.sbin/makefs/cd9660/iso9660_rrip.c
803
r->attr.su_entry.ER.h.length[0] += (u_char)l;
usr.sbin/makefs/cd9660/iso9660_rrip.h
144
u_char length [ISODCL ( 21, 28)];
usr.sbin/makefs/cd9660/iso9660_rrip.h
217
((int) ((entry)->attr.su_entry.SP.h.length[0]))
usr.sbin/makefs/chfs/chfs_mkfs.c
172
fvnode.length = htole32(CHFS_PAD(sizeof(fvnode)));
usr.sbin/makefs/chfs/chfs_mkfs.c
204
fdirent.length = htole32(CHFS_PAD(sizeof(fdirent) + strlen(name)));
usr.sbin/makefs/chfs/chfs_mkfs.c
295
fdata.length = htole32(CHFS_PAD(sizeof(fdata) + len));
usr.sbin/makefs/msdos/msdosfs_denode.c
197
msdosfs_detrunc(struct denode *dep, u_long length, int flags,
usr.sbin/makefs/msdos/msdosfs_denode.c
211
printf("detrunc(): file %s, length %lu, flags %x\n", dep->de_Name, length, flags);
usr.sbin/makefs/msdos/msdosfs_denode.c
228
if (dep->de_FileSize < length)
usr.sbin/makefs/msdos/msdosfs_denode.c
229
return (msdosfs_deextend(dep, length, cred));
usr.sbin/makefs/msdos/msdosfs_denode.c
230
lastblock = de_clcount(pmp, length) - 1;
usr.sbin/makefs/msdos/msdosfs_denode.c
241
if (length == 0) {
usr.sbin/makefs/msdos/msdosfs_denode.c
260
if ((boff = length & pmp->pm_crbomask) != 0) {
usr.sbin/makefs/msdos/msdosfs_denode.c
284
dep->de_FileSize = length;
usr.sbin/makefs/msdos/msdosfs_denode.c
321
msdosfs_deextend(struct denode *dep, u_long length, struct kauth_cred *cred)
usr.sbin/makefs/msdos/msdosfs_denode.c
339
if (length <= dep->de_FileSize)
usr.sbin/makefs/msdos/msdosfs_denode.c
345
count = de_clcount(pmp, length) - de_clcount(pmp, dep->de_FileSize);
usr.sbin/makefs/msdos/msdosfs_denode.c
362
dep->de_FileSize = length;
usr.sbin/makemandb/apropos-utils.c
839
size_t length = callback_args->snippet_length;
usr.sbin/makemandb/apropos-utils.c
841
char *qsnippet = get_escaped_html_string(callback_args->snippet, &length);
usr.sbin/makemandb/apropos-utils.c
846
callback_args->snippet_length = length;
usr.sbin/mlxctl/util.c
193
inq_cmd->length = sizeof(dcdb_cmd.inq);
usr.sbin/mrouted/snmp.c
1001
if (*length != vp->namelen + 9)
usr.sbin/mrouted/snmp.c
1004
if (!get_address(name, *length, &src, vp->namelen)
usr.sbin/mrouted/snmp.c
1005
|| !get_address(name, *length, &mask, vp->namelen+4)
usr.sbin/mrouted/snmp.c
1013
bcopy((char *)name, (char *)newname, ((int)*length) * sizeof(oid));
usr.sbin/mrouted/snmp.c
1015
len = *length;
usr.sbin/mrouted/snmp.c
1016
if (compare(name, *length, vp->name, vp->namelen) < 0)
usr.sbin/mrouted/snmp.c
1034
if (!get_address(name, *length, &src, vp->namelen)
usr.sbin/mrouted/snmp.c
1035
|| !get_address(name, *length, &mask, vp->namelen+4)
usr.sbin/mrouted/snmp.c
1046
*length = vp->namelen + 9;
usr.sbin/mrouted/snmp.c
1047
bcopy((char *)newname, (char *)name, ((int)*length) * sizeof(oid));
usr.sbin/mrouted/snmp.c
1067
o_ipMRouteTable(vp, name, length, exact, var_len, write_method)
usr.sbin/mrouted/snmp.c
1070
int *length; /* IN/OUT - length of input and output oid's */
usr.sbin/mrouted/snmp.c
1086
if (*length != vp->namelen + 12)
usr.sbin/mrouted/snmp.c
1089
if (!get_address(name, *length, &grp, vp->namelen)
usr.sbin/mrouted/snmp.c
1090
|| !get_address(name, *length, &src, vp->namelen+4)
usr.sbin/mrouted/snmp.c
1091
|| !get_address(name, *length, &mask, vp->namelen+8)
usr.sbin/mrouted/snmp.c
1097
bcopy((char *)name, (char *)newname, ((int)*length) * sizeof(oid));
usr.sbin/mrouted/snmp.c
1099
len = *length;
usr.sbin/mrouted/snmp.c
1100
if (compare(name, *length, vp->name, vp->namelen) < 0)
usr.sbin/mrouted/snmp.c
1116
get_address(name, *length, &grp , vp->namelen);
usr.sbin/mrouted/snmp.c
1117
get_address(name, *length, &src , vp->namelen+4);
usr.sbin/mrouted/snmp.c
1118
get_address(name, *length, &mask, vp->namelen+8);
usr.sbin/mrouted/snmp.c
1130
*length = vp->namelen + 12;
usr.sbin/mrouted/snmp.c
1131
bcopy((char *)newname, (char *)name, ((int)*length) * sizeof(oid));
usr.sbin/mrouted/snmp.c
1186
o_ipMRouteNextHopTable(vp, name, length, exact, var_len, write_method)
usr.sbin/mrouted/snmp.c
1189
int *length; /* IN/OUT - length of input and output oid's */
usr.sbin/mrouted/snmp.c
1205
if (*length != vp->namelen + 17)
usr.sbin/mrouted/snmp.c
1208
if (!get_address(name, *length, &grp, vp->namelen)
usr.sbin/mrouted/snmp.c
1209
|| !get_address(name, *length, &src, vp->namelen+4)
usr.sbin/mrouted/snmp.c
1210
|| !get_address(name, *length, &mask, vp->namelen+8)
usr.sbin/mrouted/snmp.c
1211
|| !get_address(name, *length, &addr, vp->namelen+13)
usr.sbin/mrouted/snmp.c
1222
bcopy((char *)name, (char *)newname, ((int)*length) * sizeof(oid));
usr.sbin/mrouted/snmp.c
1224
len = *length;
usr.sbin/mrouted/snmp.c
1225
if (compare(name, *length, vp->name, vp->namelen) < 0)
usr.sbin/mrouted/snmp.c
1247
if (!get_address(name, *length, &grp, vp->namelen)
usr.sbin/mrouted/snmp.c
1248
|| !get_address(name, *length, &src, vp->namelen+4)
usr.sbin/mrouted/snmp.c
1249
|| !get_address(name, *length, &mask, vp->namelen+8)
usr.sbin/mrouted/snmp.c
1262
*length = vp->namelen + 17;
usr.sbin/mrouted/snmp.c
1263
bcopy((char *)newname, (char *)name, ((int)*length) * sizeof(oid));
usr.sbin/mrouted/snmp.c
162
get_address(name, length, addr, n)
usr.sbin/mrouted/snmp.c
164
int length;
usr.sbin/mrouted/snmp.c
173
if (length < n+4)
usr.sbin/mrouted/snmp.c
178
if (i >= length)
usr.sbin/mrouted/snmp.c
190
o_scalar(vp, name, length, exact, var_len, write_method)
usr.sbin/mrouted/snmp.c
193
int *length; /* IN/OUT - length of input and output oid's */
usr.sbin/mrouted/snmp.c
201
result = compare(name, *length, vp->name, (int)vp->namelen);
usr.sbin/mrouted/snmp.c
207
*length = vp->namelen;
usr.sbin/mrouted/snmp.c
286
o_dvmrpBoundaryTable(vp, name, length, exact, var_len, write_method)
usr.sbin/mrouted/snmp.c
289
int *length; /* IN/OUT - length of input and output oid's */
usr.sbin/mrouted/snmp.c
304
if (*length != vp->namelen + 9)
usr.sbin/mrouted/snmp.c
310
if (!get_address(name, *length, &addr, vp->namelen+1)
usr.sbin/mrouted/snmp.c
311
|| !get_address(name, *length, &mask, vp->namelen+5))
usr.sbin/mrouted/snmp.c
317
bcopy((char *)name, (char *)newname, ((int)*length) * sizeof(oid));
usr.sbin/mrouted/snmp.c
319
len = *length;
usr.sbin/mrouted/snmp.c
320
if (compare(name, *length, vp->name, vp->namelen) < 0)
usr.sbin/mrouted/snmp.c
342
get_address(name, *length, &addr, vp->namelen+1);
usr.sbin/mrouted/snmp.c
343
get_address(name, *length, &mask, vp->namelen+5);
usr.sbin/mrouted/snmp.c
355
*length = vp->namelen + 9;
usr.sbin/mrouted/snmp.c
356
bcopy((char *)newname, (char *)name, ((int)*length) * sizeof(oid));
usr.sbin/mrouted/snmp.c
416
o_dvmrpNeighborTable(vp, name, length, exact, var_len, write_method)
usr.sbin/mrouted/snmp.c
419
int *length; /* IN/OUT - length of input and output oid's */
usr.sbin/mrouted/snmp.c
434
if (*length != vp->namelen + 5)
usr.sbin/mrouted/snmp.c
440
if (!get_address(name, *length, &addr, vp->namelen+1))
usr.sbin/mrouted/snmp.c
446
bcopy((char *)name, (char *)newname, ((int)*length) * sizeof(oid));
usr.sbin/mrouted/snmp.c
448
len = *length;
usr.sbin/mrouted/snmp.c
449
if (compare(name, *length, vp->name, vp->namelen) < 0)
usr.sbin/mrouted/snmp.c
469
get_address(name, *length, &addr, vp->namelen+1);
usr.sbin/mrouted/snmp.c
480
*length = vp->namelen + 5;
usr.sbin/mrouted/snmp.c
481
bcopy((char *)newname, (char *)name, ((int)*length) * sizeof(oid));
usr.sbin/mrouted/snmp.c
590
o_igmpCacheTable(vp, name, length, exact, var_len, write_method)
usr.sbin/mrouted/snmp.c
593
int *length; /* IN/OUT - length of input and output oid's */
usr.sbin/mrouted/snmp.c
611
if (*length != vp->namelen + 5)
usr.sbin/mrouted/snmp.c
617
if (!get_address(name, *length, &grp, vp->namelen))
usr.sbin/mrouted/snmp.c
623
bcopy((char *)name, (char *)newname, ((int)*length) * sizeof(oid));
usr.sbin/mrouted/snmp.c
625
len = *length;
usr.sbin/mrouted/snmp.c
626
if (compare(name, *length, vp->name, vp->namelen) < 0)
usr.sbin/mrouted/snmp.c
645
get_address(name, *length, &grp, vp->namelen);
usr.sbin/mrouted/snmp.c
657
*length = vp->namelen + 5;
usr.sbin/mrouted/snmp.c
658
bcopy((char *)newname, (char *)name, ((int)*length) * sizeof(oid));
usr.sbin/mrouted/snmp.c
710
o_igmpInterfaceTable(vp, name, length, exact, var_len, write_method)
usr.sbin/mrouted/snmp.c
713
int *length; /* IN/OUT - length of input and output oid's */
usr.sbin/mrouted/snmp.c
731
result = compare(name, *length, newname, (int)vp->namelen + 1);
usr.sbin/mrouted/snmp.c
740
*length = vp->namelen + 1;
usr.sbin/mrouted/snmp.c
782
o_ipMRouteInterfaceTable(vp, name, length, exact, var_len, write_method)
usr.sbin/mrouted/snmp.c
785
int *length; /* IN/OUT - length of input and output oid's */
usr.sbin/mrouted/snmp.c
801
result = compare(name, *length, newname, (int)vp->namelen + 1);
usr.sbin/mrouted/snmp.c
810
*length = vp->namelen + 1;
usr.sbin/mrouted/snmp.c
890
o_dvmrpRouteTable(vp, name, length, exact, var_len, write_method)
usr.sbin/mrouted/snmp.c
893
int *length; /* IN/OUT - length of input and output oid's */
usr.sbin/mrouted/snmp.c
907
if (*length != vp->namelen + 8)
usr.sbin/mrouted/snmp.c
910
if (!get_address(name, *length, &src, vp->namelen)
usr.sbin/mrouted/snmp.c
911
|| !get_address(name, *length, &mask, vp->namelen+4))
usr.sbin/mrouted/snmp.c
917
bcopy((char *)name, (char *)newname, ((int)*length) * sizeof(oid));
usr.sbin/mrouted/snmp.c
919
len = *length;
usr.sbin/mrouted/snmp.c
920
if (compare(name, *length, vp->name, vp->namelen) < 0)
usr.sbin/mrouted/snmp.c
938
get_address(name, *length, &src, vp->namelen);
usr.sbin/mrouted/snmp.c
939
get_address(name, *length, &mask, vp->namelen+4);
usr.sbin/mrouted/snmp.c
950
*length = vp->namelen + 8;
usr.sbin/mrouted/snmp.c
951
bcopy((char *)newname, (char *)name, ((int)*length) * sizeof(oid));
usr.sbin/mrouted/snmp.c
983
o_dvmrpRouteNextHopTable(vp, name, length, exact, var_len, write_method)
usr.sbin/mrouted/snmp.c
986
int *length; /* IN/OUT - length of input and output oid's */
usr.sbin/npf/npfctl/npf_bpf_comp.c
572
unsigned nwords, origlength, length, maxmask, off;
usr.sbin/npf/npfctl/npf_bpf_comp.c
599
length = origlength = (mask == NPF_NO_NETMASK) ? maxmask : mask;
usr.sbin/npf/npfctl/npf_bpf_comp.c
607
if (length >= 32) {
usr.sbin/npf/npfctl/npf_bpf_comp.c
610
length -= 32;
usr.sbin/npf/npfctl/npf_bpf_comp.c
611
} else if (length) {
usr.sbin/npf/npfctl/npf_bpf_comp.c
612
wordmask = 0xffffffff << (32 - length);
usr.sbin/npf/npfctl/npf_bpf_comp.c
613
length = 0;
usr.sbin/spray/spray.c
101
if (length > SPRAYMAX) {
usr.sbin/spray/spray.c
102
length = SPRAYMAX;
usr.sbin/spray/spray.c
103
} else if (length < SPRAYOVERHEAD) {
usr.sbin/spray/spray.c
104
length = SPRAYOVERHEAD;
usr.sbin/spray/spray.c
107
length -= SPRAYOVERHEAD - 3;
usr.sbin/spray/spray.c
108
length &= ~3;
usr.sbin/spray/spray.c
109
length += SPRAYOVERHEAD;
usr.sbin/spray/spray.c
118
count = 100000 / length;
usr.sbin/spray/spray.c
122
host_array.sprayarr_len = length - SPRAYOVERHEAD;
usr.sbin/spray/spray.c
152
printf ("sending %d packets of lnth %d to %s ...", count, length, *argv);
usr.sbin/spray/spray.c
188
print_xferstats(count, length, xmit_time);
usr.sbin/spray/spray.c
191
print_xferstats(host_stats.counter, length, xmit_time);
usr.sbin/spray/spray.c
71
int length = 0;
usr.sbin/spray/spray.c
84
length = atoi(optarg);
usr.sbin/sysinst/disks.c
260
cmd.length = sizeof(inqbuf);
usr.sbin/timed/timed/master.c
501
int length, l;
usr.sbin/timed/timed/master.c
514
length = 1;
usr.sbin/timed/timed/master.c
517
if (length+l >= 80) {
usr.sbin/timed/timed/master.c
519
length = 0;
usr.sbin/timed/timed/master.c
521
length += l;
usr.sbin/timed/timed/measure.c
114
length = sizeof(struct sockaddr_in);
usr.sbin/timed/timed/measure.c
116
0,&length);
usr.sbin/timed/timed/measure.c
189
length = sizeof(struct sockaddr_in);
usr.sbin/timed/timed/measure.c
191
0,&length);
usr.sbin/timed/timed/measure.c
76
socklen_t length;
usr.sbin/timed/timed/readmsg.c
100
length);
usr.sbin/timed/timed/readmsg.c
105
fprintf(fd, length > 1 ? "\t" : "queue:\t");
usr.sbin/timed/timed/readmsg.c
205
length = sizeof(from);
usr.sbin/timed/timed/readmsg.c
208
(struct sockaddr*)(void *)&from, &length)) < 0) {
usr.sbin/timed/timed/readmsg.c
79
socklen_t length;
usr.sbin/timed/timed/readmsg.c
94
length = 1;
usr.sbin/timed/timed/readmsg.c
97
if (++length > 3) {
usr.sbin/tpctl/tp.c
86
MIN(sizeof(tp->id), id.length));
usr.sbin/traceroute/traceroute.c
1158
obj_len = ntohs(obj_hdr->length);
usr.sbin/traceroute/traceroute.c
1200
buf += ntohs(obj_hdr->length) -
usr.sbin/traceroute/traceroute.c
1210
buf += ntohs(obj_hdr->length) -
usr.sbin/user/user.c
931
size_t length; /* length of password */
usr.sbin/user/user.c
959
return pwtp->length == SIZE_MAX ||
usr.sbin/user/user.c
960
strlen(newpasswd) == pwtp->length;
usr.sbin/user/user.c
965
return pwtp->length == SIZE_MAX ||
usr.sbin/user/user.c
968
pwtp->length;