| /freebsd-13-stable/sys/contrib/openzfs/module/icp/api/ |
| HD | 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()
|
| /freebsd-13-stable/sys/contrib/openzfs/module/icp/algs/modes/ |
| HD | 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()
|
| HD | 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()
|
| HD | 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()
|
| HD | 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()
|
| HD | 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()
|
| /freebsd-13-stable/sys/contrib/openzfs/module/icp/io/ |
| HD | 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()
|
| /freebsd-13-stable/sys/contrib/openzfs/module/icp/include/sys/crypto/ |
| HD | sched_impl.h | 85 #define KCF_RHNDL(kmflag) (((kmflag) == KM_SLEEP) ? NULL : &kcf_swprov_hndl) argument
|
| HD | impl.h | 1280 crypto_function_list_t **list, int kmflag); 1311 int kmflag);
|
| /freebsd-13-stable/sys/contrib/openzfs/module/icp/algs/aes/ |
| HD | 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()
|
| /freebsd-13-stable/sys/contrib/openzfs/module/icp/include/aes/ |
| HD | aes_impl.h | 133 extern void *aes_alloc_keysched(size_t *size, int kmflag);
|
| /freebsd-13-stable/sys/contrib/openzfs/module/nvpair/ |
| HD | nvpair.c | 567 nvlist_nv_alloc(int kmflag) in nvlist_nv_alloc() argument 570 switch (kmflag) { in nvlist_nv_alloc() 587 nvlist_alloc(nvlist_t **nvlp, uint_t nvflag, int kmflag) in nvlist_alloc() argument 589 return (nvlist_xalloc(nvlp, nvflag, nvlist_nv_alloc(kmflag))); in nvlist_alloc() 918 nvlist_dup(nvlist_t *nvl, nvlist_t **nvlp, int kmflag) in nvlist_dup() argument 920 return (nvlist_xdup(nvl, nvlp, nvlist_nv_alloc(kmflag))); in nvlist_dup() 2660 int kmflag) in nvlist_pack() argument 2663 nvlist_nv_alloc(kmflag))); in nvlist_pack() 2717 nvlist_unpack(char *buf, size_t buflen, nvlist_t **nvlp, int kmflag) in nvlist_unpack() argument 2719 return (nvlist_xunpack(buf, buflen, nvlp, nvlist_nv_alloc(kmflag))); in nvlist_unpack()
|
| /freebsd-13-stable/sys/contrib/openzfs/include/sys/crypto/ |
| HD | 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);
|
| /freebsd-13-stable/sys/contrib/openzfs/module/icp/core/ |
| HD | 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()
|
| /freebsd-13-stable/sys/contrib/openzfs/module/zfs/ |
| HD | arc.c | 1130 hdr_full_cons(void *vbuf, void *unused, int kmflag) in hdr_full_cons() argument 1132 (void) unused, (void) kmflag; in hdr_full_cons() 1149 hdr_full_crypt_cons(void *vbuf, void *unused, int kmflag) in hdr_full_crypt_cons() argument 1154 hdr_full_cons(vbuf, unused, kmflag); in hdr_full_crypt_cons() 1162 hdr_l2only_cons(void *vbuf, void *unused, int kmflag) in hdr_l2only_cons() argument 1164 (void) unused, (void) kmflag; in hdr_l2only_cons() 1174 buf_cons(void *vbuf, void *unused, int kmflag) in buf_cons() argument 1176 (void) unused, (void) kmflag; in buf_cons()
|
| HD | sa.c | 216 sa_cache_constructor(void *buf, void *unused, int kmflag) in sa_cache_constructor() argument 218 (void) unused, (void) kmflag; in sa_cache_constructor()
|
| HD | zil.c | 3175 zil_lwb_cons(void *vbuf, void *unused, int kmflag) in zil_lwb_cons() argument 3177 (void) unused, (void) kmflag; in zil_lwb_cons()
|
| HD | dnode.c | 114 dnode_cons(void *arg, void *unused, int kmflag) in dnode_cons() argument 116 (void) unused, (void) kmflag; in dnode_cons()
|
| HD | dbuf.c | 279 dbuf_cons(void *vdb, void *unused, int kmflag) in dbuf_cons() argument 281 (void) unused, (void) kmflag; in dbuf_cons()
|
| /freebsd-13-stable/sys/contrib/openzfs/lib/libnvpair/ |
| HD | libnvpair.abi | 713 <parameter type-id='95e97e5e' name='kmflag'/> 729 <parameter type-id='95e97e5e' name='kmflag'/> 1156 <parameter type-id='95e97e5e' name='kmflag'/> 1171 <parameter type-id='95e97e5e' name='kmflag'/>
|