| /f-stack/freebsd/contrib/openzfs/module/icp/api/ |
| H A D | kcf_ctxops.c | 72 crypto_ctx_template_t *ptmpl, int kmflag) in crypto_create_ctx_template() argument 93 sizeof (kcf_ctx_template_t), kmflag)) == NULL) { in crypto_create_ctx_template() 104 &(ctx_tmpl->ct_prov_tmpl), &(ctx_tmpl->ct_size), KCF_RHNDL(kmflag)); in crypto_create_ctx_template()
|
| /f-stack/freebsd/contrib/openzfs/module/icp/algs/modes/ |
| H A D | ecb.c | 119 ecb_alloc_ctx(int kmflag) in ecb_alloc_ctx() argument 123 if ((ecb_ctx = kmem_zalloc(sizeof (ecb_ctx_t), kmflag)) == NULL) in ecb_alloc_ctx()
|
| H A D | ctr.c | 219 ctr_alloc_ctx(int kmflag) in ctr_alloc_ctx() argument 223 if ((ctr_ctx = kmem_zalloc(sizeof (ctr_ctx_t), kmflag)) == NULL) in ctr_alloc_ctx()
|
| H A D | cbc.c | 264 cbc_alloc_ctx(int kmflag) in cbc_alloc_ctx() argument 268 if ((cbc_ctx = kmem_zalloc(sizeof (cbc_ctx_t), kmflag)) == NULL) in cbc_alloc_ctx()
|
| H A D | ccm.c | 850 ccm_init_ctx(ccm_ctx_t *ccm_ctx, char *param, int kmflag, in ccm_init_ctx() argument 889 kmflag); in ccm_init_ctx() 898 ccm_alloc_ctx(int kmflag) in ccm_alloc_ctx() argument 902 if ((ccm_ctx = kmem_zalloc(sizeof (ccm_ctx_t), kmflag)) == NULL) in ccm_alloc_ctx()
|
| H A D | gcm.c | 746 gcm_alloc_ctx(int kmflag) in gcm_alloc_ctx() argument 750 if ((gcm_ctx = kmem_zalloc(sizeof (gcm_ctx_t), kmflag)) == NULL) in gcm_alloc_ctx() 758 gmac_alloc_ctx(int kmflag) in gmac_alloc_ctx() argument 762 if ((gcm_ctx = kmem_zalloc(sizeof (gcm_ctx_t), kmflag)) == NULL) in gmac_alloc_ctx() 770 gcm_set_kmflag(gcm_ctx_t *ctx, int kmflag) in gcm_set_kmflag() argument 772 ctx->gcm_kmflag = kmflag; in gcm_set_kmflag()
|
| /f-stack/freebsd/contrib/openzfs/module/icp/io/ |
| H A D | aes.c | 235 aes_check_mech_param(crypto_mechanism_t *mechanism, aes_ctx_t **ctx, int kmflag) in aes_check_mech_param() argument 277 p = (alloc_fun)(kmflag); in aes_check_mech_param() 349 int kmflag; in aes_common_init() local 358 kmflag = crypto_kmflag(req); in aes_common_init() 359 if ((rv = aes_check_mech_param(mechanism, &aes_ctx, kmflag)) in aes_common_init() 363 rv = aes_common_init_ctx(aes_ctx, template, mechanism, key, kmflag, in aes_common_init() 1300 crypto_mechanism_t *mechanism, crypto_key_t *key, int kmflag, in aes_common_init_ctx() argument 1308 if ((keysched = aes_alloc_keysched(&size, kmflag)) == NULL) in aes_common_init_ctx() 1349 kmflag, is_encrypt_init, AES_BLOCK_LEN, aes_encrypt_block, in aes_common_init_ctx()
|
| /f-stack/freebsd/contrib/openzfs/module/icp/include/sys/crypto/ |
| H A D | sched_impl.h | 85 #define KCF_RHNDL(kmflag) (((kmflag) == KM_SLEEP) ? NULL : &kcf_swprov_hndl) argument
|
| H A D | impl.h | 1280 crypto_function_list_t **list, int kmflag); 1311 int kmflag);
|
| /f-stack/freebsd/contrib/openzfs/module/icp/algs/aes/ |
| H A D | aes_impl.c | 211 aes_alloc_keysched(size_t *size, int kmflag) in aes_alloc_keysched() argument 215 keysched = (aes_key_t *)kmem_alloc(sizeof (aes_key_t), kmflag); in aes_alloc_keysched()
|
| /f-stack/freebsd/contrib/openzfs/module/icp/include/aes/ |
| H A D | aes_impl.h | 133 extern void *aes_alloc_keysched(size_t *size, int kmflag);
|
| /f-stack/freebsd/contrib/openzfs/include/sys/crypto/ |
| H A D | api.h | 67 crypto_key_t *key, crypto_ctx_template_t *tmpl, int kmflag); 344 extern crypto_mech_name_t *crypto_get_mech_list(uint_t *count, int kmflag);
|
| /f-stack/freebsd/contrib/openzfs/module/nvpair/ |
| H A D | nvpair.c | 565 nvlist_nv_alloc(int kmflag) in nvlist_nv_alloc() argument 568 switch (kmflag) { in nvlist_nv_alloc() 585 nvlist_alloc(nvlist_t **nvlp, uint_t nvflag, int kmflag) in nvlist_alloc() argument 587 return (nvlist_xalloc(nvlp, nvflag, nvlist_nv_alloc(kmflag))); in nvlist_alloc() 916 nvlist_dup(nvlist_t *nvl, nvlist_t **nvlp, int kmflag) in nvlist_dup() argument 918 return (nvlist_xdup(nvl, nvlp, nvlist_nv_alloc(kmflag))); in nvlist_dup() 2658 int kmflag) in nvlist_pack() argument 2661 nvlist_nv_alloc(kmflag))); in nvlist_pack() 2715 nvlist_unpack(char *buf, size_t buflen, nvlist_t **nvlp, int kmflag) in nvlist_unpack() argument 2717 return (nvlist_xunpack(buf, buflen, nvlp, nvlist_nv_alloc(kmflag))); in nvlist_unpack()
|
| /f-stack/freebsd/contrib/openzfs/module/icp/core/ |
| H A D | kcf_callprov.c | 47 int kmflag) in kcf_insert_triedlist() argument 51 l = kmem_alloc(sizeof (kcf_prov_tried_t), kmflag); in kcf_insert_triedlist()
|
| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | arc.c | 1160 hdr_full_cons(void *vbuf, void *unused, int kmflag) in hdr_full_cons() argument 1179 hdr_full_crypt_cons(void *vbuf, void *unused, int kmflag) in hdr_full_crypt_cons() argument 1183 hdr_full_cons(vbuf, unused, kmflag); in hdr_full_crypt_cons() 1192 hdr_l2only_cons(void *vbuf, void *unused, int kmflag) in hdr_l2only_cons() argument 1204 buf_cons(void *vbuf, void *unused, int kmflag) in buf_cons() argument
|
| H A D | sa.c | 217 sa_cache_constructor(void *buf, void *unused, int kmflag) in sa_cache_constructor() argument
|
| H A D | dnode.c | 113 dnode_cons(void *arg, void *unused, int kmflag) in dnode_cons() argument
|
| H A D | zil.c | 3095 zil_lwb_cons(void *vbuf, void *unused, int kmflag) in zil_lwb_cons() argument
|
| H A D | dbuf.c | 269 dbuf_cons(void *vdb, void *unused, int kmflag) in dbuf_cons() argument
|
| /f-stack/freebsd/contrib/openzfs/lib/libnvpair/ |
| H A D | libnvpair.abi | 1751 …<parameter type-id='type-id-12' name='kmflag' filepath='../../module/nvpair/nvpair.c' line='2715' … 1759 …<parameter type-id='type-id-12' name='kmflag' filepath='../../module/nvpair/nvpair.c' line='2658' … 2321 …<parameter type-id='type-id-12' name='kmflag' filepath='../../module/nvpair/nvpair.c' line='916' c… 2331 …<parameter type-id='type-id-12' name='kmflag' filepath='../../module/nvpair/nvpair.c' line='585' c…
|