Home
last modified time | relevance | path

Searched refs:buftype (Results 1 – 25 of 29) sorted by relevance

12

/freebsd/crypto/krb5/src/util/support/
H A Dk5buf.c58 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 Dt_k5buf.c45 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 Dgenerate-fortify-tests.lua206 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 Dfuzz_stream.c119 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 Dmake_corpus.c70 params->buftype, params->strict, seed->seed_name) != -1); in write_one()
119 params.buftype = buffered; in main()
H A Dfuzzers.h28 enum stream_buffer buftype; member
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dsa.c125 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 Dfsck.h210 extern char *buftype[];
212 type < BT_NUMBUFTYPES ? buftype[type] : buftype[BT_UNKNOWN]
H A Dfsutil.c81 char *buftype[BT_NUMBUFTYPES] = BT_NAMES; variable
852 buftype[i], readcnt[i], readcnt[i] * 100 / diskreads, in printIOstats()
/freebsd/sys/kgssapi/krb5/
H A Dkcrypto_aes.c141 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 Dk5-buf.h52 enum k5buftype buftype; member
/freebsd/crypto/krb5/src/lib/krb5/krb/
H A Dpac_sign.c187 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 Dfreebsd_dev.c680 cdai->buftype = CDAI_TYPE_NVME_CNTRL; in __device_info_nvme()
682 cdai->buftype = 6; in __device_info_nvme()
/freebsd/sys/cam/nvme/
H A Dnvme_da.c787 uintptr_t buftype; in ndaasync() local
798 buftype = (uintptr_t)arg; in ndaasync()
799 if (buftype == CDAI_TYPE_PHYS_PATH) { in ndaasync()
H A Dnvme_xpt.c662 switch(cdai->buftype) { in nvme_dev_advinfo()
737 (void *)(uintptr_t)cdai->buftype); in nvme_dev_advinfo()
/freebsd/sys/cam/scsi/
H A Dscsi_pass.c531 uintptr_t buftype; in passasync() local
533 buftype = (uintptr_t)arg; in passasync()
534 if (buftype == CDAI_TYPE_PHYS_PATH) { in passasync()
H A Dscsi_enc_ses.c1044 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 Dscsi_da.c2202 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 Dmmc_xpt.c340 ("%s: request %x\n", __func__, cdai->buftype)); in mmc_dev_advinfo()
346 switch(cdai->buftype) { in mmc_dev_advinfo()
H A Dmmc_da.c705 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 Dmps_sas.c3162 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 Dmpr_sas.c3350 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 Data_da.c1379 uintptr_t buftype; in adaasync() local
1381 buftype = (uintptr_t)arg; in adaasync()
1382 if (buftype == CDAI_TYPE_PHYS_PATH) { in adaasync()
H A Data_xpt.c1720 switch(cdai->buftype) { in ata_dev_advinfo()
1777 (void *)(uintptr_t)cdai->buftype); in ata_dev_advinfo()
/freebsd/sys/cam/
H A Dcam_xpt.c1194 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()

12