Lines Matching refs:tokenlen

79 	size_t tokenlen;  in au_to_arg32()  local
84 tokenlen = 2 * sizeof(u_char) + sizeof(u_int32_t) + sizeof(u_int16_t) + textlen; in au_to_arg32()
85 KASSERT(tokenlen <= KALLOC_SAFE_ALLOC_SIZE, in au_to_arg32()
86 ("au_to_arg32: token length (%zu) exceeds maximum allowed size", tokenlen)); in au_to_arg32()
88 GET_TOKEN_AREA(t, dptr, tokenlen); in au_to_arg32()
105 size_t tokenlen; in au_to_arg64() local
110 tokenlen = 2 * sizeof(u_char) + sizeof(u_int64_t) + sizeof(u_int16_t) + textlen; in au_to_arg64()
111 KASSERT(tokenlen <= KALLOC_SAFE_ALLOC_SIZE, in au_to_arg64()
112 ("au_to_arg64: token length (%zu) exceeds maximum allowed size", tokenlen)); in au_to_arg64()
114 GET_TOKEN_AREA(t, dptr, tokenlen); in au_to_arg64()
248 size_t datasize, totdata, tokenlen; in au_to_data() local
278 tokenlen = 4 * sizeof(u_char) + totdata; in au_to_data()
279 KASSERT(tokenlen <= KALLOC_SAFE_ALLOC_SIZE, in au_to_data()
280 ("au_to_data: token length (%zu) exceeds maximum allowed size", tokenlen)); in au_to_data()
282 GET_TOKEN_AREA(t, dptr, tokenlen); in au_to_data()
332 size_t tokenlen; in au_to_newgroups() local
336 tokenlen = sizeof(u_char) + sizeof(u_int16_t) + n * sizeof(u_int32_t); in au_to_newgroups()
337 KASSERT(tokenlen <= KALLOC_SAFE_ALLOC_SIZE, in au_to_newgroups()
338 ("au_to_newgroups: token length (%zu) exceeds maximum allowed size", tokenlen)); in au_to_newgroups()
340 GET_TOKEN_AREA(t, dptr, tokenlen); in au_to_newgroups()
505 size_t tokenlen; in au_to_opaque() local
507 tokenlen = sizeof(u_char) + sizeof(u_int16_t) + bytes; in au_to_opaque()
508 KASSERT(tokenlen <= KALLOC_SAFE_ALLOC_SIZE, in au_to_opaque()
509 ("au_to_opaque: token length (%zu) exceeds maximum allowed size", tokenlen)); in au_to_opaque()
511 GET_TOKEN_AREA(t, dptr, tokenlen); in au_to_opaque()
534 size_t tokenlen; in au_to_file() local
539 tokenlen = sizeof(u_char) + 2 * sizeof(u_int32_t) + sizeof(u_int16_t) + filelen; in au_to_file()
540 KASSERT(tokenlen <= KALLOC_SAFE_ALLOC_SIZE, in au_to_file()
541 ("au_to_file: token length (%zu) exceeds maximum allowed size", tokenlen)); in au_to_file()
543 GET_TOKEN_AREA(t, dptr, tokenlen); in au_to_file()
567 size_t tokenlen; in au_to_text() local
572 tokenlen = sizeof(u_char) + sizeof(u_int16_t) + textlen; in au_to_text()
573 KASSERT(tokenlen <= KALLOC_SAFE_ALLOC_SIZE, in au_to_text()
574 ("au_to_text: token length (%zu) exceeds maximum allowed size", tokenlen)); in au_to_text()
576 GET_TOKEN_AREA(t, dptr, tokenlen); in au_to_text()
596 size_t tokenlen; in au_to_path() local
601 tokenlen = sizeof(u_char) + sizeof(u_int16_t) + textlen; in au_to_path()
602 KASSERT(tokenlen <= KALLOC_SAFE_ALLOC_SIZE, in au_to_path()
603 ("au_to_path: token length (%zu) exceeds maximum allowed size", tokenlen)); in au_to_path()
605 GET_TOKEN_AREA(t, dptr, tokenlen); in au_to_path()
1183 size_t tokenlen; in au_to_exec_strings() local
1200 tokenlen = sizeof(u_char) + sizeof(u_int32_t) + totlen; in au_to_exec_strings()
1201 KASSERT(tokenlen <= KALLOC_SAFE_ALLOC_SIZE, in au_to_exec_strings()
1202 ("au_to_exec_strings: token length (%zu) exceeds maximum allowed size", tokenlen)); in au_to_exec_strings()
1204 GET_TOKEN_AREA(t, dptr, tokenlen); in au_to_exec_strings()
1270 size_t tokenlen; in au_to_exec_args() local
1287 tokenlen = sizeof(u_char) + sizeof(u_int32_t) + totlen; in au_to_exec_args()
1288 KASSERT(tokenlen <= KALLOC_SAFE_ALLOC_SIZE, in au_to_exec_args()
1289 ("au_to_exec_args: token length (%zu) exceeds maximum allowed size", tokenlen)); in au_to_exec_args()
1291 GET_TOKEN_AREA(t, dptr, tokenlen); in au_to_exec_args()
1314 size_t tokenlen; in au_to_zonename() local
1320 tokenlen = sizeof(u_char) + sizeof(u_int16_t) + textlen; in au_to_zonename()
1321 KASSERT(tokenlen <= KALLOC_SAFE_ALLOC_SIZE, in au_to_zonename()
1322 ("au_to_zonename: token length (%zu) exceeds maximum allowed size", tokenlen)); in au_to_zonename()
1324 GET_TOKEN_AREA(t, dptr, tokenlen); in au_to_zonename()
1345 size_t tokenlen; in au_to_exec_env() local
1362 tokenlen = sizeof(u_char) + sizeof(u_int32_t) + totlen; in au_to_exec_env()
1363 KASSERT(tokenlen <= KALLOC_SAFE_ALLOC_SIZE, in au_to_exec_env()
1364 ("au_to_exec_env: token length (%zu) exceeds maximum allowed size", tokenlen)); in au_to_exec_env()
1366 GET_TOKEN_AREA(t, dptr, tokenlen); in au_to_exec_env()
1426 ("au_to_identity: token length (%zu) exceeds maximum allowed size", tokenlen)); in au_to_identity()
1464 size_t tokenlen; in au_to_header32_ex_tm() local
1470 tokenlen = sizeof(u_char) + sizeof(u_int32_t) + in au_to_header32_ex_tm()
1473 KASSERT(tokenlen <= KALLOC_SAFE_ALLOC_SIZE, in au_to_header32_ex_tm()
1474 ("au_to_header32_ex_tm: token length (%zu) exceeds maximum allowed size", tokenlen)); in au_to_header32_ex_tm()
1476 GET_TOKEN_AREA(t, dptr, tokenlen); in au_to_header32_ex_tm()