Searched refs:maxbuf (Results 1 – 6 of 6) sorted by relevance
/freebsd/contrib/tcpdump/ |
H A D | print-smb.c | 168 const u_char *words, const u_char *dat, const u_char *buf, const u_char *maxbuf) in print_trans2() argument 204 maxbuf, unicodestr); in print_trans2() 238 const u_char *maxbuf = data + datalen; in print_browse() local 249 maxbuf, unicodestr); in print_browse() 255 maxbuf, unicodestr); in print_browse() 261 maxbuf, unicodestr); in print_browse() 267 maxbuf, unicodestr); in print_browse() 273 maxbuf, unicodestr); in print_browse() 279 maxbuf, unicodestr); in print_browse() 285 maxbuf, unicodestr); in print_browse() [all …]
|
H A D | smbutil.c | 139 const u_char *in, const u_char *maxbuf, char *out) in name_interpret() argument 144 if (in >= maxbuf) in name_interpret() 156 if (in + 1 >= maxbuf) in name_interpret() 182 const u_char *buf, u_int ofs, const u_char *maxbuf) in name_ptr() argument 188 if (p >= maxbuf) in name_ptr() 198 if ((p + 1) >= maxbuf) in name_ptr() 206 if (p >= maxbuf) in name_ptr() 221 const u_char *buf, u_int ofs, const u_char *maxbuf, char *name) in name_extract() argument 223 const u_char *p = name_ptr(ndo, buf, ofs, maxbuf); in name_extract() 227 return(name_interpret(ndo, p, maxbuf, name)); in name_extract() [all …]
|
/freebsd/sys/dev/ffec/ |
H A D | if_ffec.c | 1104 uint32_t maxbuf, maxfl, regval; in ffec_init_locked() 1125 maxbuf = MCLBYTES - roundup(ETHER_ALIGN, sc->rxbuf_align); in ffec_init_locked() 1126 maxfl = min(maxbuf, 0x7ff); in ffec_init_locked() 1103 uint32_t maxbuf, maxfl, regval; ffec_init_locked() local
|
/freebsd/sys/kern/ |
H A D | vfs_bio.c | 1073 long maxbuf, maxbuf_sz, buf_sz, biotmap_sz; in kern_vfs_bio_buffer_alloc() local 1128 maxbuf = (LONG_MAX / 3) / BKVASIZE; in kern_vfs_bio_buffer_alloc() 1129 if (nbuf > maxbuf) { in kern_vfs_bio_buffer_alloc() 1132 maxbuf); in kern_vfs_bio_buffer_alloc() 1133 nbuf = maxbuf; in kern_vfs_bio_buffer_alloc() 1150 maxbuf_sz = maxbcache != 0 ? maxbcache : maxbuf * BKVASIZE; in kern_vfs_bio_buffer_alloc()
|
/freebsd/contrib/expat/tests/ |
H A D | basic_tests.c | 2989 int maxbuf = INT_MAX / 2 + (INT_MAX & 1); // round up without overflow in START_TEST() 2993 void *big = malloc(maxbuf); in START_TEST() 2996 maxbuf = maxbuf / 2; in START_TEST() 3012 assert_true(XML_GetBuffer(parser, maxbuf - prefix_len) != NULL); in START_TEST() 3015 assert_true(XML_GetBuffer(parser, maxbuf + 1) == NULL); in START_TEST() 2980 int maxbuf = INT_MAX / 2 + (INT_MAX & 1); // round up without overflow START_TEST() local
|
/freebsd/sys/contrib/openzfs/cmd/zdb/ |
H A D | zdb.c | 1635 char maxbuf[32]; in dump_metaslab_stats() local 1641 _Static_assert(sizeof (maxbuf) >= NN_NUMBUF_SZ, "maxbuf truncated"); in dump_metaslab_stats() 1643 zdb_nicenum(metaslab_largest_allocatable(msp), maxbuf, sizeof (maxbuf)); in dump_metaslab_stats() 1646 "segments", zfs_btree_numnodes(t), "maxsize", maxbuf, in dump_metaslab_stats()
|