Home
last modified time | relevance | path

Searched refs:kmflag (Results 1 – 20 of 20) sorted by relevance

/f-stack/freebsd/contrib/openzfs/module/icp/api/
H A Dkcf_ctxops.c72 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 Decb.c119 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 Dctr.c219 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 Dcbc.c264 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 Dccm.c850 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 Dgcm.c746 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 Daes.c235 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 Dsched_impl.h85 #define KCF_RHNDL(kmflag) (((kmflag) == KM_SLEEP) ? NULL : &kcf_swprov_hndl) argument
H A Dimpl.h1280 crypto_function_list_t **list, int kmflag);
1311 int kmflag);
/f-stack/freebsd/contrib/openzfs/module/icp/algs/aes/
H A Daes_impl.c211 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 Daes_impl.h133 extern void *aes_alloc_keysched(size_t *size, int kmflag);
/f-stack/freebsd/contrib/openzfs/include/sys/crypto/
H A Dapi.h67 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 Dnvpair.c565 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 Dkcf_callprov.c47 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 Darc.c1160 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 Dsa.c217 sa_cache_constructor(void *buf, void *unused, int kmflag) in sa_cache_constructor() argument
H A Ddnode.c113 dnode_cons(void *arg, void *unused, int kmflag) in dnode_cons() argument
H A Dzil.c3095 zil_lwb_cons(void *vbuf, void *unused, int kmflag) in zil_lwb_cons() argument
H A Ddbuf.c269 dbuf_cons(void *vdb, void *unused, int kmflag) in dbuf_cons() argument
/f-stack/freebsd/contrib/openzfs/lib/libnvpair/
H A Dlibnvpair.abi1751 …<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…