| /freebsd/crypto/krb5/src/util/support/ |
| H A D | k5buf.c | 58 buf->buftype = K5BUF_ERROR; in set_error() 74 if (buf->buftype == K5BUF_ERROR) in ensure_space() 78 if (buf->buftype == K5BUF_FIXED) /* Can't resize a fixed buffer. */ in ensure_space() 80 assert(buf->buftype == K5BUF_DYNAMIC || buf->buftype == K5BUF_DYNAMIC_ZAP); in ensure_space() 87 if (buf->buftype == K5BUF_DYNAMIC_ZAP) { in ensure_space() 105 if (buf->buftype == K5BUF_DYNAMIC_ZAP) in ensure_space() 107 if (buf->buftype == K5BUF_DYNAMIC_ZAP || buf->buftype == K5BUF_DYNAMIC) in ensure_space() 117 buf->buftype = K5BUF_FIXED; in k5_buf_init_fixed() 126 buf->buftype = K5BUF_DYNAMIC; in k5_buf_init_dynamic() 140 if (buf->buftype == K5BUF_DYNAMIC) in k5_buf_init_dynamic_zap() [all …]
|
| H A D | t_k5buf.c | 45 fail_if(buf->buftype != K5BUF_FIXED && buf->buftype != K5BUF_DYNAMIC && in check_buf() 46 buf->buftype != K5BUF_ERROR, name); in check_buf() 47 if (buf->buftype == K5BUF_ERROR) { in check_buf() 130 fail_if(buf.buftype != K5BUF_ERROR, "realloc 5"); in test_realloc() 145 fail_if(buf.buftype != K5BUF_ERROR, "overflow 1"); in test_overflow() 152 fail_if(buf.buftype != K5BUF_ERROR, "overflow 2"); in test_overflow() 164 fail_if(buf.buftype != K5BUF_ERROR, "error"); in test_error() 172 fail_if(buf.buftype != K5BUF_ERROR, "error"); in test_error() 229 fail_if(buf.buftype != K5BUF_ERROR, "fmt 2"); in test_fmt()
|
| /freebsd/lib/libc/tests/secure/ |
| H A D | generate-fortify-tests.lua | 206 buftype = "fd_set", 215 buftype = "fd_set", 224 buftype = "fd_set", 235 buftype = "struct sockaddr", 249 buftype = "struct sockaddr", 290 buftype = "struct sockaddr", 308 buftype = "struct sockaddr", 372 buftype = "struct mmsghdr[]", 416 buftype = "struct iovec[]", 440 buftype = "struct iovec[]", [all …]
|
| /freebsd/contrib/libder/tests/ |
| H A D | fuzz_stream.c | 119 if (fparams->buftype >= BUFFER_END) in fuzz_file() 125 switch (fparams->buftype) { in fuzz_file() 231 if (fparams->type != STREAM_FILE && fparams->buftype != BUFFER_NONE) in LLVMFuzzerTestOneInput()
|
| H A D | make_corpus.c | 70 params->buftype, params->strict, seed->seed_name) != -1); in write_one() 119 params.buftype = buffered; in main()
|
| H A D | fuzzers.h | 28 enum stream_buffer buftype; member
|
| /freebsd/sys/contrib/openzfs/module/zfs/ |
| H A D | sa.c | 125 static int sa_build_index(sa_handle_t *hdl, sa_buf_type_t buftype); 543 * the buftype is SA_BONUS. 547 dmu_buf_t *db, sa_buf_type_t buftype, int full_space, int *index, in sa_find_sizes() argument 555 if (buftype == SA_BONUS && sa->sa_force_spill) { in sa_find_sizes() 598 buftype == SA_BONUS && *index == -1 && in sa_find_sizes() 603 if (buftype == SA_SPILL || in sa_find_sizes() 614 ASSERT(buftype == SA_BONUS); in sa_find_sizes() 631 buftype == SA_BONUS) in sa_find_sizes() 655 sa_buf_type_t buftype; in sa_build_layouts() local 717 buftype in sa_build_layouts() 1229 sa_byteswap(sa_handle_t * hdl,sa_buf_type_t buftype) sa_byteswap() argument 1277 sa_build_index(sa_handle_t * hdl,sa_buf_type_t buftype) sa_build_index() argument [all...] |
| /freebsd/sbin/fsck_ffs/ |
| H A D | fsck.h | 210 extern char *buftype[]; 212 type < BT_NUMBUFTYPES ? buftype[type] : buftype[BT_UNKNOWN]
|
| H A D | fsutil.c | 81 char *buftype[BT_NUMBUFTYPES] = BT_NAMES; variable 852 buftype[i], readcnt[i], readcnt[i] * 100 / diskreads, in printIOstats()
|
| /freebsd/sys/kgssapi/krb5/ |
| H A D | kcrypto_aes.c | 141 aes_encrypt_1(const struct krb5_key_state *ks, int buftype, void *buf, in aes_encrypt_1() argument 160 if (buftype == CRYPTO_BUF_MBUF) in aes_encrypt_1()
|
| /freebsd/crypto/krb5/src/include/ |
| H A D | k5-buf.h | 52 enum k5buftype buftype; member
|
| /freebsd/crypto/krb5/src/lib/krb5/krb/ |
| H A D | pac_sign.c | 187 compute_pac_checksum(krb5_context context, krb5_pac pac, uint32_t buftype, in compute_pac_checksum() argument 195 ret = k5_pac_locate_buffer(context, pac, buftype, &buf); in compute_pac_checksum()
|
| /freebsd/contrib/smart/ |
| H A D | freebsd_dev.c | 680 cdai->buftype = CDAI_TYPE_NVME_CNTRL; in __device_info_nvme() 682 cdai->buftype = 6; in __device_info_nvme()
|
| /freebsd/sys/cam/nvme/ |
| H A D | nvme_da.c | 787 uintptr_t buftype; in ndaasync() local 798 buftype = (uintptr_t)arg; in ndaasync() 799 if (buftype == CDAI_TYPE_PHYS_PATH) { in ndaasync()
|
| H A D | nvme_xpt.c | 662 switch(cdai->buftype) { in nvme_dev_advinfo() 737 (void *)(uintptr_t)cdai->buftype); in nvme_dev_advinfo()
|
| /freebsd/sys/cam/scsi/ |
| H A D | scsi_pass.c | 531 uintptr_t buftype; in passasync() local 533 buftype = (uintptr_t)arg; in passasync() 534 if (buftype == CDAI_TYPE_PHYS_PATH) { in passasync()
|
| H A D | scsi_enc_ses.c | 1044 cdai.buftype = CDAI_TYPE_PHYS_PATH; in ses_setphyspath_callback() 1055 cdai.buftype = CDAI_TYPE_PHYS_PATH; in ses_setphyspath_callback() 1106 cdai.buftype = CDAI_TYPE_SCSI_DEVID; in ses_set_physpath()
|
| H A D | scsi_da.c | 2202 uintptr_t buftype; in daasync() local 2204 buftype = (uintptr_t)arg; in daasync() 2205 if (buftype == CDAI_TYPE_PHYS_PATH) { in daasync() 6524 cdai.buftype = CDAI_TYPE_RCAPLONG; in dasetgeom()
|
| /freebsd/sys/cam/mmc/ |
| H A D | mmc_xpt.c | 340 ("%s: request %x\n", __func__, cdai->buftype)); in mmc_dev_advinfo() 346 switch(cdai->buftype) { in mmc_dev_advinfo()
|
| H A D | mmc_da.c | 705 uintptr_t buftype; in sddaasync() local 709 buftype = (uintptr_t)arg; in sddaasync() 710 if (buftype == CDAI_TYPE_PHYS_PATH) { in sddaasync()
|
| /freebsd/sys/dev/mps/ |
| H A D | mps_sas.c | 3162 uintptr_t buftype; in mpssas_async() local 3164 buftype = (uintptr_t)arg; in mpssas_async() 3172 if (buftype != CDAI_TYPE_RCAPLONG) in mpssas_async() 3211 cdai.buftype = CDAI_TYPE_RCAPLONG; in mpssas_async()
|
| /freebsd/sys/dev/mpr/ |
| H A D | mpr_sas.c | 3350 uintptr_t buftype; in mprsas_async() local 3352 buftype = (uintptr_t)arg; in mprsas_async() 3360 if (buftype != CDAI_TYPE_RCAPLONG) in mprsas_async() 3399 cdai.buftype = CDAI_TYPE_RCAPLONG; in mprsas_async()
|
| /freebsd/sys/cam/ata/ |
| H A D | ata_da.c | 1379 uintptr_t buftype; in adaasync() local 1381 buftype = (uintptr_t)arg; in adaasync() 1382 if (buftype == CDAI_TYPE_PHYS_PATH) { in adaasync()
|
| H A D | ata_xpt.c | 1720 switch(cdai->buftype) { in ata_dev_advinfo() 1777 (void *)(uintptr_t)cdai->buftype); in ata_dev_advinfo()
|
| /freebsd/sys/cam/ |
| H A D | cam_xpt.c | 1194 cdai.buftype = CDAI_TYPE_SERIAL_NUM; in xpt_getattr() 1196 cdai.buftype = CDAI_TYPE_PHYS_PATH; in xpt_getattr() 1199 cdai.buftype = CDAI_TYPE_SCSI_DEVID; in xpt_getattr() 1214 switch(cdai.buftype) { in xpt_getattr()
|