Symbol: store
bin/uuidgen/uuidgen.c
109
uuid_t *store, *uuid;
bin/uuidgen/uuidgen.c
161
store = calloc(MIN(count, UUIDGEN_BATCH_MAX), sizeof(uuid_t));
bin/uuidgen/uuidgen.c
162
if (store == NULL)
bin/uuidgen/uuidgen.c
170
if (uuidgen(store, batch) != 0)
bin/uuidgen/uuidgen.c
173
if (uuidgen_v4(store, batch) != 0)
bin/uuidgen/uuidgen.c
179
uuid = store;
bin/uuidgen/uuidgen.c
193
uuid = store;
bin/uuidgen/uuidgen.c
204
free(store);
bin/uuidgen/uuidgen.c
74
uuidgen_v4(struct uuid *store, int count)
bin/uuidgen/uuidgen.c
84
arc4random_buf(store, size);
bin/uuidgen/uuidgen.c
85
item = store;
crypto/heimdal/kdc/announce.c
400
update_entries(SCDynamicStoreRef store, const char *realm, int flags)
crypto/heimdal/kdc/announce.c
408
btmm = SCDynamicStoreCopyValue(store, NetworkChangedKey_BackToMyMac);
crypto/heimdal/kdc/announce.c
421
update_all(SCDynamicStoreRef store, CFArrayRef changedKeys, void *info)
crypto/heimdal/kdc/announce.c
429
host = SCDynamicStoreCopyLocalHostName(store);
crypto/heimdal/kdc/announce.c
457
update_entries(store, *r, flags);
crypto/heimdal/kdc/announce.c
499
SCDynamicStoreRef store;
crypto/heimdal/kdc/announce.c
505
store = SCDynamicStoreCreate(kCFAllocatorDefault, CFSTR("Network watcher"),
crypto/heimdal/kdc/announce.c
507
if (store == NULL)
crypto/heimdal/kdc/announce.c
517
if (SCDynamicStoreSetNotificationKeys(store, keys, NULL) == false)
crypto/heimdal/kdc/announce.c
523
if (!SCDynamicStoreSetDispatchQueue(store, g_queue))
crypto/heimdal/kdc/announce.c
526
return store;
crypto/heimdal/lib/hx509/hx_locl.h
161
int (*store)(hx509_context, hx509_certs, void *, int, hx509_lock);
crypto/heimdal/lib/hx509/hxtool.c
184
hx509_certs store = NULL;
crypto/heimdal/lib/hx509/hxtool.c
206
ret = hx509_certs_init(context, "MEMORY:cert-store", 0, NULL, &store);
crypto/heimdal/lib/hx509/hxtool.c
211
certs_strings(context, "store", store, lock, &opt->certificate_strings);
crypto/heimdal/lib/hx509/hxtool.c
289
store, &type, &c, &signers);
crypto/heimdal/lib/hx509/hxtool.c
313
hx509_certs_free(&store);
crypto/heimdal/lib/hx509/hxtool.c
364
hx509_certs store, pool, anchors, signer = NULL;
crypto/heimdal/lib/hx509/hxtool.c
385
ret = hx509_certs_init(context, "MEMORY:cert-store", 0, NULL, &store);
crypto/heimdal/lib/hx509/hxtool.c
390
certs_strings(context, "store", store, lock, &opt->certificate_strings);
crypto/heimdal/lib/hx509/hxtool.c
421
ret = hx509_certs_filter(context, store, q, &signer);
crypto/heimdal/lib/hx509/hxtool.c
456
hx509_certs_free(&store);
crypto/heimdal/lib/hx509/keyset.c
190
if (certs->ops->store == NULL) {
crypto/heimdal/lib/hx509/keyset.c
198
return (*certs->ops->store)(context, certs, certs->ops_data, flags, lock);
crypto/heimdal/lib/krb5/cache.c
687
return (*id->ops->store)(context, id, creds);
crypto/heimdal/lib/krb5/krb5.h
481
krb5_error_code (KRB5_CALLCONV * store)(krb5_context, krb5_ccache, krb5_creds*);
crypto/heimdal/lib/krb5/store-int.h
40
ssize_t (*store)(struct krb5_storage_data*, const void*, size_t);
crypto/heimdal/lib/krb5/store.c
226
return sp->store(sp, buf, len);
crypto/heimdal/lib/krb5/store.c
328
ret = sp->store(sp, v, len);
crypto/heimdal/lib/krb5/store.c
562
ret = sp->store(sp, &value, sizeof(value));
crypto/heimdal/lib/krb5/store.c
654
ret = sp->store(sp, data.data, data.length);
crypto/heimdal/lib/krb5/store.c
766
ret = sp->store(sp, s, len);
crypto/heimdal/lib/krb5/store.c
827
ret = sp->store(sp, s, len);
crypto/heimdal/lib/krb5/store.c
832
ret = sp->store(sp, "\n", 1);
crypto/heimdal/lib/krb5/store_emem.c
189
sp->store = emem_store;
crypto/heimdal/lib/krb5/store_fd.c
127
sp->store = fd_store;
crypto/heimdal/lib/krb5/store_mem.c
144
sp->store = mem_store;
crypto/heimdal/lib/krb5/store_mem.c
203
sp->store = mem_no_store;
crypto/krb5/src/lib/krb5/ccache/cc-int.h
192
krb5_error_code (KRB5_CALLCONV *store)(krb5_context, krb5_ccache,
crypto/krb5/src/lib/krb5/ccache/cc_dir.c
470
return krb5_fcc_ops.store(context, data->fcc, creds);
crypto/krb5/src/lib/krb5/ccache/ccfns.c
84
return cache->ops->store(context, cache, creds);
crypto/krb5/src/lib/krb5/rcache/rc-int.h
38
krb5_error_code (*store)(krb5_context, void *rcdata, const krb5_data *tag);
crypto/krb5/src/lib/krb5/rcache/rc_base.c
137
return rc->ops->store(context, rc->data, &tag);
crypto/krb5/src/lib/krb5/rcache/rc_file2.c
223
ret = store(context, fd, tag, now, context->clockskew);
crypto/krb5/src/plugins/kdb/db2/libdb2/include/db-dbm.h
19
int store __P((datum, datum));
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
1963
X509_STORE *store = NULL;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
2032
if (!(store = X509_STORE_new()))
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
2038
X509_STORE_set_verify_cb(store, openssl_callback);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
2040
X509_STORE_set_verify_cb(store, openssl_callback_ignore_crls);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
2041
X509_STORE_set_flags(store, vflags);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
2114
if (!X509_STORE_CTX_init(cert_ctx, store, x, intermediateCAs))
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
2204
if (CMS_verify(cms, NULL, store, NULL, out, flags) == 0) {
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
2281
if (store != NULL)
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
2282
X509_STORE_free(store);
crypto/krb5/src/plugins/tls/k5tls/openssl.c
344
load_anchor_file(X509_STORE *store, const char *path)
crypto/krb5/src/plugins/tls/k5tls/openssl.c
361
X509_STORE_add_cert(store, xi->x509);
crypto/krb5/src/plugins/tls/k5tls/openssl.c
368
load_anchor_dir(X509_STORE *store, const char *path)
crypto/krb5/src/plugins/tls/k5tls/openssl.c
382
if (load_anchor_file(store, filename) == 0)
crypto/krb5/src/plugins/tls/k5tls/openssl.c
393
X509_STORE *store;
crypto/krb5/src/plugins/tls/k5tls/openssl.c
396
store = SSL_CTX_get_cert_store(ctx);
crypto/krb5/src/plugins/tls/k5tls/openssl.c
398
return load_anchor_file(store, location + 5);
crypto/krb5/src/plugins/tls/k5tls/openssl.c
400
return load_anchor_dir(store, location + 4);
crypto/openssh/gss-serv-krb5.c
183
client->store.filename = xstrdup(krb5_cc_get_name(krb_context, ccache));
crypto/openssh/gss-serv-krb5.c
184
client->store.envvar = "KRB5CCNAME";
crypto/openssh/gss-serv-krb5.c
185
len = strlen(client->store.filename) + 6;
crypto/openssh/gss-serv-krb5.c
186
client->store.envval = xmalloc(len);
crypto/openssh/gss-serv-krb5.c
187
snprintf(client->store.envval, len, "FILE:%s", client->store.filename);
crypto/openssh/gss-serv-krb5.c
191
do_pam_putenv(client->store.envvar, client->store.envval);
crypto/openssh/gss-serv.c
323
if (gssapi_client.store.filename != NULL) {
crypto/openssh/gss-serv.c
326
gssapi_client.store.filename);
crypto/openssh/gss-serv.c
327
unlink(gssapi_client.store.filename);
crypto/openssh/gss-serv.c
349
if (gssapi_client.store.envvar != NULL &&
crypto/openssh/gss-serv.c
350
gssapi_client.store.envval != NULL) {
crypto/openssh/gss-serv.c
351
debug("Setting %s to %s", gssapi_client.store.envvar,
crypto/openssh/gss-serv.c
352
gssapi_client.store.envval);
crypto/openssh/gss-serv.c
353
child_set_env(envp, envsizep, gssapi_client.store.envvar,
crypto/openssh/gss-serv.c
354
gssapi_client.store.envval);
crypto/openssh/regress/misc/fuzz-harness/kex_fuzz.cc
42
struct sshbuf *store, int clobber, size_t *n)
crypto/openssh/regress/misc/fuzz-harness/kex_fuzz.cc
64
if (store != NULL && (r = sshbuf_put(store, buf, len)) != 0) {
crypto/openssh/ssh-gss.h
76
ssh_gssapi_ccache store;
crypto/openssl/apps/cms.c
1036
if ((store = setup_verify(CAfile, noCAfile, CApath, noCApath,
crypto/openssl/apps/cms.c
1040
X509_STORE_set_verify_cb(store, cms_cb);
crypto/openssl/apps/cms.c
1042
X509_STORE_set1_param(store, vpm);
crypto/openssl/apps/cms.c
1282
if (CMS_verify(cms, other, store, indata, out, flags) > 0) {
crypto/openssl/apps/cms.c
1307
if (CMS_verify_receipt(rcms, cms, other, store, flags) > 0) {
crypto/openssl/apps/cms.c
1376
X509_STORE_free(store);
crypto/openssl/apps/cms.c
357
X509_STORE *store = NULL;
crypto/openssl/apps/crl.c
104
X509_STORE *store = NULL;
crypto/openssl/apps/crl.c
246
if ((store = setup_verify(CAfile, noCAfile, CApath, noCApath,
crypto/openssl/apps/crl.c
250
lookup = X509_STORE_add_lookup(store, X509_LOOKUP_file());
crypto/openssl/apps/crl.c
254
if (ctx == NULL || !X509_STORE_CTX_init(ctx, store, NULL, NULL)) {
crypto/openssl/apps/crl.c
415
X509_STORE_free(store);
crypto/openssl/apps/lib/apps.c
1387
X509_STORE *store = X509_STORE_new();
crypto/openssl/apps/lib/apps.c
1392
if (store == NULL)
crypto/openssl/apps/lib/apps.c
1396
lookup = X509_STORE_add_lookup(store, X509_LOOKUP_file());
crypto/openssl/apps/lib/apps.c
1418
lookup = X509_STORE_add_lookup(store, X509_LOOKUP_hash_dir());
crypto/openssl/apps/lib/apps.c
1432
lookup = X509_STORE_add_lookup(store, X509_LOOKUP_store());
crypto/openssl/apps/lib/apps.c
1443
return store;
crypto/openssl/apps/lib/apps.c
1446
X509_STORE_free(store);
crypto/openssl/apps/lib/apps.c
761
static X509_STORE *sk_X509_to_store(X509_STORE *store /* may be NULL */,
crypto/openssl/apps/lib/apps.c
766
if (store == NULL)
crypto/openssl/apps/lib/apps.c
767
store = X509_STORE_new();
crypto/openssl/apps/lib/apps.c
768
if (store == NULL)
crypto/openssl/apps/lib/apps.c
771
if (!X509_STORE_add_cert(store, sk_X509_value(certs, i))) {
crypto/openssl/apps/lib/apps.c
772
X509_STORE_free(store);
crypto/openssl/apps/lib/apps.c
776
return store;
crypto/openssl/apps/lib/apps.c
786
X509_STORE *store = NULL;
crypto/openssl/apps/lib/apps.c
794
X509_STORE_free(store);
crypto/openssl/apps/lib/apps.c
797
ok = (store = sk_X509_to_store(store, certs)) != NULL;
crypto/openssl/apps/lib/apps.c
804
return store;
crypto/openssl/apps/list.c
1313
static void collect_store_loaders(OSSL_STORE_LOADER *store, void *stack)
crypto/openssl/apps/list.c
1317
if (OSSL_STORE_LOADER_up_ref(store)
crypto/openssl/apps/list.c
1318
&& sk_OSSL_STORE_LOADER_push(store_stack, store) <= 0)
crypto/openssl/apps/list.c
1319
OSSL_STORE_LOADER_free(store); /* up-ref successful but push to stack failed */
crypto/openssl/apps/ocsp.c
274
X509_STORE *store = NULL;
crypto/openssl/apps/ocsp.c
844
if (store == NULL) {
crypto/openssl/apps/ocsp.c
845
store = setup_verify(CAfile, noCAfile, CApath, noCApath,
crypto/openssl/apps/ocsp.c
847
if (!store)
crypto/openssl/apps/ocsp.c
851
X509_STORE_set1_param(store, vpm);
crypto/openssl/apps/ocsp.c
877
i = OCSP_basic_verify(bs, verify_other, store, verify_flags);
crypto/openssl/apps/ocsp.c
879
i = OCSP_basic_verify(bs, issuers, store, verify_flags);
crypto/openssl/apps/ocsp.c
898
X509_STORE_free(store);
crypto/openssl/apps/pkcs12.c
1149
static int get_cert_chain(X509 *cert, X509_STORE *store,
crypto/openssl/apps/pkcs12.c
1162
if (!X509_STORE_CTX_init(store_ctx, store, cert, untrusted_certs)) {
crypto/openssl/apps/pkcs12.c
39
static int get_cert_chain(X509 *cert, X509_STORE *store,
crypto/openssl/apps/pkcs12.c
650
X509_STORE *store;
crypto/openssl/apps/pkcs12.c
663
if ((store = setup_verify(CAfile, noCAfile, CApath, noCApath,
crypto/openssl/apps/pkcs12.c
668
vret = get_cert_chain(ee_cert_tmp, store, untrusted_certs, &chain2);
crypto/openssl/apps/pkcs12.c
669
X509_STORE_free(store);
crypto/openssl/apps/smime.c
204
X509_STORE *store = NULL;
crypto/openssl/apps/smime.c
603
if ((store = setup_verify(CAfile, noCAfile, CApath, noCApath,
crypto/openssl/apps/smime.c
607
X509_STORE_set_verify_cb(store, smime_cb);
crypto/openssl/apps/smime.c
609
X509_STORE_set1_param(store, vpm);
crypto/openssl/apps/smime.c
681
if (PKCS7_verify(p7, other, store, indata, out, flags))
crypto/openssl/apps/smime.c
731
X509_STORE_free(store);
crypto/openssl/apps/verify.c
220
if ((store = setup_verify(CAfile, noCAfile, CApath, noCApath,
crypto/openssl/apps/verify.c
224
X509_STORE_set_verify_cb(store, cb);
crypto/openssl/apps/verify.c
227
X509_STORE_set1_param(store, vpm);
crypto/openssl/apps/verify.c
232
store_setup_crl_download(store);
crypto/openssl/apps/verify.c
236
if (check(store, NULL, untrusted, trusted, crls, show_chain,
crypto/openssl/apps/verify.c
242
if (check(store, argv[i], untrusted, trusted, crls, show_chain,
crypto/openssl/apps/verify.c
250
X509_STORE_free(store);
crypto/openssl/apps/verify.c
96
X509_STORE *store = NULL;
crypto/openssl/crypto/cmp/cmp_local.h
826
int ossl_cmp_X509_STORE_add1_certs(X509_STORE *store, STACK_OF(X509) *certs,
crypto/openssl/crypto/cmp/cmp_local.h
828
STACK_OF(X509) *ossl_cmp_X509_STORE_get1_certs(X509_STORE *store);
crypto/openssl/crypto/cmp/cmp_util.c
200
int ossl_cmp_X509_STORE_add1_certs(X509_STORE *store, STACK_OF(X509) *certs,
crypto/openssl/crypto/cmp/cmp_util.c
205
if (store == NULL) {
crypto/openssl/crypto/cmp/cmp_util.c
215
if (!X509_STORE_add_cert(store, cert)) /* ups cert ref counter */
crypto/openssl/crypto/cmp/cmp_vfy.c
309
static int check_cert_path(const OSSL_CMP_CTX *ctx, X509_STORE *store,
crypto/openssl/crypto/cmp/cmp_vfy.c
312
if (OSSL_CMP_validate_cert_path(ctx, store, scrt))
crypto/openssl/crypto/cmp/cmp_vfy.c
331
X509_STORE *store;
crypto/openssl/crypto/cmp/cmp_vfy.c
336
if ((store = X509_STORE_new()) == NULL
crypto/openssl/crypto/cmp/cmp_vfy.c
337
|| !ossl_cmp_X509_STORE_add1_certs(store, msg->extraCerts,
crypto/openssl/crypto/cmp/cmp_vfy.c
342
valid = OSSL_CMP_validate_cert_path(ctx, store, scrt);
crypto/openssl/crypto/cmp/cmp_vfy.c
357
&& OSSL_CMP_validate_cert_path(ctx, store, newcrt);
crypto/openssl/crypto/cmp/cmp_vfy.c
362
X509_STORE_free(store);
crypto/openssl/crypto/cms/cms_sd.c
1122
STACK_OF(X509) *scerts, X509_STORE *store,
crypto/openssl/crypto/cms/cms_sd.c
1149
res = CMS_verify(ci, scerts, store, detached_data, bio, flags);
crypto/openssl/crypto/cms/cms_smime.c
262
X509_STORE *store,
crypto/openssl/crypto/cms/cms_smime.c
279
if (!X509_STORE_CTX_init(ctx, store, signer, untrusted)) {
crypto/openssl/crypto/cms/cms_smime.c
306
X509_STORE *store, BIO *dcont, BIO *out, unsigned int flags)
crypto/openssl/crypto/cms/cms_smime.c
375
if (!cms_signerinfo_verify_cert(si, store, untrusted, crls,
crypto/openssl/crypto/cms/cms_smime.c
500
X509_STORE *store, unsigned int flags)
crypto/openssl/crypto/cms/cms_smime.c
505
r = CMS_verify(rcms, certs, store, NULL, NULL, flags);
crypto/openssl/crypto/core_fetch.c
116
(void *)data->store, no_store);
crypto/openssl/crypto/core_fetch.c
127
data->mcm->put(no_store ? data->store : NULL, method, provider, algo->algorithm_names,
crypto/openssl/crypto/core_fetch.c
153
cbdata.store = NULL;
crypto/openssl/crypto/core_fetch.c
166
if (cbdata.store != NULL)
crypto/openssl/crypto/core_fetch.c
167
method = mcm->get(cbdata.store, (const OSSL_PROVIDER **)provider_rw,
crypto/openssl/crypto/core_fetch.c
21
OSSL_METHOD_STORE *store;
crypto/openssl/crypto/core_fetch.c
39
if (is_temporary_method_store(no_store, data) && data->store == NULL) {
crypto/openssl/crypto/core_fetch.c
46
if ((data->store = data->mcm->get_tmp_store(data->mcm_data)) == NULL)
crypto/openssl/crypto/core_fetch.c
50
return data->mcm->lock_store(data->store, data->mcm_data);
crypto/openssl/crypto/core_fetch.c
57
return data->mcm->unlock_store(data->store, data->mcm_data);
crypto/openssl/crypto/ct/ct_log.c
131
void CTLOG_STORE_free(CTLOG_STORE *store)
crypto/openssl/crypto/ct/ct_log.c
133
if (store != NULL) {
crypto/openssl/crypto/ct/ct_log.c
134
OPENSSL_free(store->propq);
crypto/openssl/crypto/ct/ct_log.c
135
sk_CTLOG_pop_free(store->logs, CTLOG_free);
crypto/openssl/crypto/ct/ct_log.c
136
OPENSSL_free(store);
crypto/openssl/crypto/ct/ct_log.c
140
static int ctlog_new_from_conf(CTLOG_STORE *store, CTLOG **ct_log,
crypto/openssl/crypto/ct/ct_log.c
158
store->libctx, store->propq);
crypto/openssl/crypto/ct/ct_log.c
161
int CTLOG_STORE_load_default_file(CTLOG_STORE *store)
crypto/openssl/crypto/ct/ct_log.c
168
return CTLOG_STORE_load_file(store, fpath);
crypto/openssl/crypto/ct/ct_log.c
215
int CTLOG_STORE_load_file(CTLOG_STORE *store, const char *file)
crypto/openssl/crypto/ct/ct_log.c
223
load_ctx->log_store = store;
crypto/openssl/crypto/ct/ct_log.c
322
const CTLOG *CTLOG_STORE_get0_log_by_id(const CTLOG_STORE *store,
crypto/openssl/crypto/ct/ct_log.c
328
for (i = 0; i < sk_CTLOG_num(store->logs); ++i) {
crypto/openssl/crypto/ct/ct_log.c
329
const CTLOG *log = sk_CTLOG_value(store->logs, i);
crypto/openssl/crypto/encode_decode/decoder_meth.c
104
static void dealloc_tmp_decoder_store(void *store)
crypto/openssl/crypto/encode_decode/decoder_meth.c
106
if (store != NULL)
crypto/openssl/crypto/encode_decode/decoder_meth.c
107
ossl_method_store_free(store);
crypto/openssl/crypto/encode_decode/decoder_meth.c
116
static int reserve_decoder_store(void *store, void *data)
crypto/openssl/crypto/encode_decode/decoder_meth.c
120
if (store == NULL
crypto/openssl/crypto/encode_decode/decoder_meth.c
121
&& (store = get_decoder_store(methdata->libctx)) == NULL)
crypto/openssl/crypto/encode_decode/decoder_meth.c
124
return ossl_method_lock_store(store);
crypto/openssl/crypto/encode_decode/decoder_meth.c
127
static int unreserve_decoder_store(void *store, void *data)
crypto/openssl/crypto/encode_decode/decoder_meth.c
131
if (store == NULL
crypto/openssl/crypto/encode_decode/decoder_meth.c
132
&& (store = get_decoder_store(methdata->libctx)) == NULL)
crypto/openssl/crypto/encode_decode/decoder_meth.c
135
return ossl_method_unlock_store(store);
crypto/openssl/crypto/encode_decode/decoder_meth.c
139
static void *get_decoder_from_store(void *store, const OSSL_PROVIDER **prov,
crypto/openssl/crypto/encode_decode/decoder_meth.c
165
if (store == NULL
crypto/openssl/crypto/encode_decode/decoder_meth.c
166
&& (store = get_decoder_store(methdata->libctx)) == NULL)
crypto/openssl/crypto/encode_decode/decoder_meth.c
169
if (!ossl_method_store_fetch(store, id, methdata->propquery, prov, &method))
crypto/openssl/crypto/encode_decode/decoder_meth.c
174
static int put_decoder_in_store(void *store, void *method,
crypto/openssl/crypto/encode_decode/decoder_meth.c
200
if (store == NULL && (store = get_decoder_store(methdata->libctx)) == NULL)
crypto/openssl/crypto/encode_decode/decoder_meth.c
203
return ossl_method_store_add(store, prov, id, propdef, method,
crypto/openssl/crypto/encode_decode/decoder_meth.c
349
OSSL_METHOD_STORE *store = get_decoder_store(methdata->libctx);
crypto/openssl/crypto/encode_decode/decoder_meth.c
355
if (store == NULL || namemap == NULL) {
crypto/openssl/crypto/encode_decode/decoder_meth.c
369
|| !ossl_method_store_cache_get(store, NULL, id, propq, &method)) {
crypto/openssl/crypto/encode_decode/decoder_meth.c
398
ossl_method_store_cache_set(store, prov, id, propq, method,
crypto/openssl/crypto/encode_decode/decoder_meth.c
439
OSSL_METHOD_STORE *store = get_decoder_store(libctx);
crypto/openssl/crypto/encode_decode/decoder_meth.c
441
if (store != NULL)
crypto/openssl/crypto/encode_decode/decoder_meth.c
442
return ossl_method_store_cache_flush_all(store);
crypto/openssl/crypto/encode_decode/decoder_meth.c
449
OSSL_METHOD_STORE *store = get_decoder_store(libctx);
crypto/openssl/crypto/encode_decode/decoder_meth.c
451
if (store != NULL)
crypto/openssl/crypto/encode_decode/decoder_meth.c
452
return ossl_method_store_remove_all_provided(store, prov);
crypto/openssl/crypto/encode_decode/encoder_meth.c
104
static void dealloc_tmp_encoder_store(void *store)
crypto/openssl/crypto/encode_decode/encoder_meth.c
106
if (store != NULL)
crypto/openssl/crypto/encode_decode/encoder_meth.c
107
ossl_method_store_free(store);
crypto/openssl/crypto/encode_decode/encoder_meth.c
116
static int reserve_encoder_store(void *store, void *data)
crypto/openssl/crypto/encode_decode/encoder_meth.c
120
if (store == NULL
crypto/openssl/crypto/encode_decode/encoder_meth.c
121
&& (store = get_encoder_store(methdata->libctx)) == NULL)
crypto/openssl/crypto/encode_decode/encoder_meth.c
124
return ossl_method_lock_store(store);
crypto/openssl/crypto/encode_decode/encoder_meth.c
127
static int unreserve_encoder_store(void *store, void *data)
crypto/openssl/crypto/encode_decode/encoder_meth.c
131
if (store == NULL
crypto/openssl/crypto/encode_decode/encoder_meth.c
132
&& (store = get_encoder_store(methdata->libctx)) == NULL)
crypto/openssl/crypto/encode_decode/encoder_meth.c
135
return ossl_method_unlock_store(store);
crypto/openssl/crypto/encode_decode/encoder_meth.c
139
static void *get_encoder_from_store(void *store, const OSSL_PROVIDER **prov,
crypto/openssl/crypto/encode_decode/encoder_meth.c
165
if (store == NULL
crypto/openssl/crypto/encode_decode/encoder_meth.c
166
&& (store = get_encoder_store(methdata->libctx)) == NULL)
crypto/openssl/crypto/encode_decode/encoder_meth.c
169
if (!ossl_method_store_fetch(store, id, methdata->propquery, prov, &method))
crypto/openssl/crypto/encode_decode/encoder_meth.c
174
static int put_encoder_in_store(void *store, void *method,
crypto/openssl/crypto/encode_decode/encoder_meth.c
200
if (store == NULL && (store = get_encoder_store(methdata->libctx)) == NULL)
crypto/openssl/crypto/encode_decode/encoder_meth.c
203
return ossl_method_store_add(store, prov, id, propdef, method,
crypto/openssl/crypto/encode_decode/encoder_meth.c
355
OSSL_METHOD_STORE *store = get_encoder_store(methdata->libctx);
crypto/openssl/crypto/encode_decode/encoder_meth.c
361
if (store == NULL || namemap == NULL) {
crypto/openssl/crypto/encode_decode/encoder_meth.c
375
|| !ossl_method_store_cache_get(store, NULL, id, propq, &method)) {
crypto/openssl/crypto/encode_decode/encoder_meth.c
403
ossl_method_store_cache_set(store, prov, id, propq, method,
crypto/openssl/crypto/encode_decode/encoder_meth.c
444
OSSL_METHOD_STORE *store = get_encoder_store(libctx);
crypto/openssl/crypto/encode_decode/encoder_meth.c
446
if (store != NULL)
crypto/openssl/crypto/encode_decode/encoder_meth.c
447
return ossl_method_store_cache_flush_all(store);
crypto/openssl/crypto/encode_decode/encoder_meth.c
454
OSSL_METHOD_STORE *store = get_encoder_store(libctx);
crypto/openssl/crypto/encode_decode/encoder_meth.c
456
if (store != NULL)
crypto/openssl/crypto/encode_decode/encoder_meth.c
457
return ossl_method_store_remove_all_provided(store, prov);
crypto/openssl/crypto/evp/evp_fetch.c
126
static void *get_evp_method_from_store(void *store, const OSSL_PROVIDER **prov,
crypto/openssl/crypto/evp/evp_fetch.c
154
if (store == NULL
crypto/openssl/crypto/evp/evp_fetch.c
155
&& (store = get_evp_method_store(methdata->libctx)) == NULL)
crypto/openssl/crypto/evp/evp_fetch.c
158
if (!ossl_method_store_fetch(store, meth_id, methdata->propquery, prov,
crypto/openssl/crypto/evp/evp_fetch.c
164
static int put_evp_method_in_store(void *store, void *method,
crypto/openssl/crypto/evp/evp_fetch.c
192
OSSL_TRACE1(QUERY, "put_evp_method_in_store: original store: %p\n", store);
crypto/openssl/crypto/evp/evp_fetch.c
193
if (store == NULL
crypto/openssl/crypto/evp/evp_fetch.c
194
&& (store = get_evp_method_store(methdata->libctx)) == NULL)
crypto/openssl/crypto/evp/evp_fetch.c
200
store, names, methdata->operation_id, meth_id, propdef ? propdef : "<null>");
crypto/openssl/crypto/evp/evp_fetch.c
201
return ossl_method_store_add(store, prov, meth_id, propdef, method,
crypto/openssl/crypto/evp/evp_fetch.c
260
OSSL_METHOD_STORE *store = get_evp_method_store(methdata->libctx);
crypto/openssl/crypto/evp/evp_fetch.c
277
if (store == NULL || namemap == NULL) {
crypto/openssl/crypto/evp/evp_fetch.c
314
|| !ossl_method_store_cache_get(store, prov, meth_id, propq, &method)) {
crypto/openssl/crypto/evp/evp_fetch.c
359
ossl_method_store_cache_set(store, prov, meth_id, propq,
crypto/openssl/crypto/evp/evp_fetch.c
439
OSSL_METHOD_STORE *store = get_evp_method_store(libctx);
crypto/openssl/crypto/evp/evp_fetch.c
441
if (store != NULL)
crypto/openssl/crypto/evp/evp_fetch.c
442
return ossl_method_store_cache_flush_all(store);
crypto/openssl/crypto/evp/evp_fetch.c
449
OSSL_METHOD_STORE *store = get_evp_method_store(libctx);
crypto/openssl/crypto/evp/evp_fetch.c
451
if (store != NULL)
crypto/openssl/crypto/evp/evp_fetch.c
452
return ossl_method_store_remove_all_provided(store, prov);
crypto/openssl/crypto/evp/evp_fetch.c
461
OSSL_METHOD_STORE *store = get_evp_method_store(libctx);
crypto/openssl/crypto/evp/evp_fetch.c
464
if (plp != NULL && store != NULL) {
crypto/openssl/crypto/evp/evp_fetch.c
501
ret = ossl_method_store_cache_flush_all(store);
crypto/openssl/crypto/evp/evp_fetch.c
60
static void dealloc_tmp_evp_method_store(void *store)
crypto/openssl/crypto/evp/evp_fetch.c
62
OSSL_TRACE1(QUERY, "Deallocating the tmp_store %p\n", store);
crypto/openssl/crypto/evp/evp_fetch.c
63
if (store != NULL)
crypto/openssl/crypto/evp/evp_fetch.c
64
ossl_method_store_free(store);
crypto/openssl/crypto/evp/evp_fetch.c
72
static int reserve_evp_method_store(void *store, void *data)
crypto/openssl/crypto/evp/evp_fetch.c
76
if (store == NULL
crypto/openssl/crypto/evp/evp_fetch.c
77
&& (store = get_evp_method_store(methdata->libctx)) == NULL)
crypto/openssl/crypto/evp/evp_fetch.c
80
return ossl_method_lock_store(store);
crypto/openssl/crypto/evp/evp_fetch.c
83
static int unreserve_evp_method_store(void *store, void *data)
crypto/openssl/crypto/evp/evp_fetch.c
87
if (store == NULL
crypto/openssl/crypto/evp/evp_fetch.c
88
&& (store = get_evp_method_store(methdata->libctx)) == NULL)
crypto/openssl/crypto/evp/evp_fetch.c
91
return ossl_method_unlock_store(store);
crypto/openssl/crypto/ocsp/ocsp_vfy.c
384
X509_STORE *store, unsigned long flags)
crypto/openssl/crypto/ocsp/ocsp_vfy.c
413
return ocsp_verify_signer(signer, 0, store, flags,
crypto/openssl/crypto/pkcs7/pk7_smime.c
211
int PKCS7_verify(PKCS7 *p7, STACK_OF(X509) *certs, X509_STORE *store,
crypto/openssl/crypto/pkcs7/pk7_smime.c
285
if (!X509_STORE_CTX_init(cert_ctx, store, signer, untrusted)) {
crypto/openssl/crypto/property/property.c
109
static void ossl_method_cache_flush_alg(OSSL_METHOD_STORE *store,
crypto/openssl/crypto/property/property.c
111
static void ossl_method_cache_flush(OSSL_METHOD_STORE *store, int nid);
crypto/openssl/crypto/property/property.c
227
OSSL_METHOD_STORE *store = arg;
crypto/openssl/crypto/property/property.c
235
if (store != NULL)
crypto/openssl/crypto/property/property.c
236
ossl_sa_ALGORITHM_set(store->algs, idx, NULL);
crypto/openssl/crypto/property/property.c
260
void ossl_method_store_free(OSSL_METHOD_STORE *store)
crypto/openssl/crypto/property/property.c
262
if (store != NULL) {
crypto/openssl/crypto/property/property.c
263
if (store->algs != NULL)
crypto/openssl/crypto/property/property.c
264
ossl_sa_ALGORITHM_doall_arg(store->algs, &alg_cleanup, store);
crypto/openssl/crypto/property/property.c
265
ossl_sa_ALGORITHM_free(store->algs);
crypto/openssl/crypto/property/property.c
266
CRYPTO_THREAD_lock_free(store->lock);
crypto/openssl/crypto/property/property.c
267
CRYPTO_THREAD_lock_free(store->biglock);
crypto/openssl/crypto/property/property.c
268
OPENSSL_free(store);
crypto/openssl/crypto/property/property.c
272
int ossl_method_lock_store(OSSL_METHOD_STORE *store)
crypto/openssl/crypto/property/property.c
274
return store != NULL ? CRYPTO_THREAD_write_lock(store->biglock) : 0;
crypto/openssl/crypto/property/property.c
277
int ossl_method_unlock_store(OSSL_METHOD_STORE *store)
crypto/openssl/crypto/property/property.c
279
return store != NULL ? CRYPTO_THREAD_unlock(store->biglock) : 0;
crypto/openssl/crypto/property/property.c
282
static ALGORITHM *ossl_method_store_retrieve(OSSL_METHOD_STORE *store, int nid)
crypto/openssl/crypto/property/property.c
284
return ossl_sa_ALGORITHM_get(store->algs, nid);
crypto/openssl/crypto/property/property.c
287
static int ossl_method_store_insert(OSSL_METHOD_STORE *store, ALGORITHM *alg)
crypto/openssl/crypto/property/property.c
289
return ossl_sa_ALGORITHM_set(store->algs, alg->nid, alg);
crypto/openssl/crypto/property/property.c
317
int ossl_method_store_add(OSSL_METHOD_STORE *store, const OSSL_PROVIDER *prov,
crypto/openssl/crypto/property/property.c
327
if (nid <= 0 || method == NULL || store == NULL)
crypto/openssl/crypto/property/property.c
350
if (!ossl_property_write_lock(store)) {
crypto/openssl/crypto/property/property.c
366
ossl_method_cache_flush(store, nid);
crypto/openssl/crypto/property/property.c
373
if ((impl->properties = ossl_prop_defn_get(store->ctx, properties)) == NULL) {
crypto/openssl/crypto/property/property.c
374
impl->properties = ossl_parse_property(store->ctx, properties);
crypto/openssl/crypto/property/property.c
377
if (!ossl_prop_defn_set(store->ctx, properties, &impl->properties)) {
crypto/openssl/crypto/property/property.c
388
alg = ossl_method_store_retrieve(store, nid);
crypto/openssl/crypto/property/property.c
395
if (!ossl_method_store_insert(store, alg))
crypto/openssl/crypto/property/property.c
397
OSSL_TRACE2(QUERY, "Inserted an alg with nid %d into the store %p\n", nid, (void *)store);
crypto/openssl/crypto/property/property.c
423
ossl_property_unlock(store);
crypto/openssl/crypto/property/property.c
429
ossl_property_unlock(store);
crypto/openssl/crypto/property/property.c
435
int ossl_method_store_remove(OSSL_METHOD_STORE *store, int nid,
crypto/openssl/crypto/property/property.c
441
if (nid <= 0 || method == NULL || store == NULL)
crypto/openssl/crypto/property/property.c
444
if (!ossl_property_write_lock(store))
crypto/openssl/crypto/property/property.c
446
ossl_method_cache_flush(store, nid);
crypto/openssl/crypto/property/property.c
447
alg = ossl_method_store_retrieve(store, nid);
crypto/openssl/crypto/property/property.c
449
ossl_property_unlock(store);
crypto/openssl/crypto/property/property.c
464
ossl_property_unlock(store);
crypto/openssl/crypto/property/property.c
468
ossl_property_unlock(store);
crypto/openssl/crypto/property/property.c
473
OSSL_METHOD_STORE *store;
crypto/openssl/crypto/property/property.c
535
ossl_method_cache_flush_alg(data->store, alg);
crypto/openssl/crypto/property/property.c
538
int ossl_method_store_remove_all_provided(OSSL_METHOD_STORE *store,
crypto/openssl/crypto/property/property.c
543
if (!ossl_property_write_lock(store))
crypto/openssl/crypto/property/property.c
546
data.store = store;
crypto/openssl/crypto/property/property.c
547
ossl_sa_ALGORITHM_doall_arg(store->algs, &alg_cleanup_by_provider, &data);
crypto/openssl/crypto/property/property.c
548
ossl_property_unlock(store);
crypto/openssl/crypto/property/property.c
578
void ossl_method_store_do_all(OSSL_METHOD_STORE *store,
crypto/openssl/crypto/property/property.c
587
if (store != NULL) {
crypto/openssl/crypto/property/property.c
589
if (!ossl_property_read_lock(store))
crypto/openssl/crypto/property/property.c
593
ossl_sa_ALGORITHM_num(store->algs));
crypto/openssl/crypto/property/property.c
595
ossl_property_unlock(store);
crypto/openssl/crypto/property/property.c
599
ossl_sa_ALGORITHM_doall_arg(store->algs, alg_copy, tmpalgs);
crypto/openssl/crypto/property/property.c
600
ossl_property_unlock(store);
crypto/openssl/crypto/property/property.c
635
int ossl_method_store_fetch(OSSL_METHOD_STORE *store,
crypto/openssl/crypto/property/property.c
647
if (nid <= 0 || method == NULL || store == NULL)
crypto/openssl/crypto/property/property.c
651
if (ossl_lib_ctx_is_default(store->ctx)
crypto/openssl/crypto/property/property.c
657
if (!ossl_property_read_lock(store))
crypto/openssl/crypto/property/property.c
660
OSSL_TRACE2(QUERY, "Retrieving by nid %d from store %p\n", nid, (void *)store);
crypto/openssl/crypto/property/property.c
661
alg = ossl_method_store_retrieve(store, nid);
crypto/openssl/crypto/property/property.c
663
ossl_property_unlock(store);
crypto/openssl/crypto/property/property.c
664
OSSL_TRACE2(QUERY, "Failed to retrieve by nid %d from store %p\n", nid, (void *)store);
crypto/openssl/crypto/property/property.c
667
OSSL_TRACE2(QUERY, "Retrieved by nid %d from store %p\n", nid, (void *)store);
crypto/openssl/crypto/property/property.c
674
p2 = pq = ossl_parse_query(store->ctx, prop_query, 0);
crypto/openssl/crypto/property/property.c
680
plp = ossl_ctx_global_properties(store->ctx, 0);
crypto/openssl/crypto/property/property.c
755
ossl_property_unlock(store);
crypto/openssl/crypto/property/property.c
760
static void ossl_method_cache_flush_alg(OSSL_METHOD_STORE *store,
crypto/openssl/crypto/property/property.c
763
store->cache_nelem -= lh_QUERY_num_items(alg->cache);
crypto/openssl/crypto/property/property.c
767
static void ossl_method_cache_flush(OSSL_METHOD_STORE *store, int nid)
crypto/openssl/crypto/property/property.c
769
ALGORITHM *alg = ossl_method_store_retrieve(store, nid);
crypto/openssl/crypto/property/property.c
772
ossl_method_cache_flush_alg(store, alg);
crypto/openssl/crypto/property/property.c
775
int ossl_method_store_cache_flush_all(OSSL_METHOD_STORE *store)
crypto/openssl/crypto/property/property.c
777
if (!ossl_property_write_lock(store))
crypto/openssl/crypto/property/property.c
779
ossl_sa_ALGORITHM_doall(store->algs, &impl_cache_flush_alg);
crypto/openssl/crypto/property/property.c
780
store->cache_nelem = 0;
crypto/openssl/crypto/property/property.c
781
ossl_property_unlock(store);
crypto/openssl/crypto/property/property.c
839
static void ossl_method_cache_flush_some(OSSL_METHOD_STORE *store)
crypto/openssl/crypto/property/property.c
851
store->cache_need_flush = 0;
crypto/openssl/crypto/property/property.c
852
ossl_sa_ALGORITHM_doall_arg(store->algs, &impl_cache_flush_one_alg, &state);
crypto/openssl/crypto/property/property.c
853
store->cache_nelem = state.nelem;
crypto/openssl/crypto/property/property.c
859
int ossl_method_store_cache_get(OSSL_METHOD_STORE *store, OSSL_PROVIDER *prov,
crypto/openssl/crypto/property/property.c
866
if (nid <= 0 || store == NULL || prop_query == NULL)
crypto/openssl/crypto/property/property.c
869
if (!ossl_property_read_lock(store))
crypto/openssl/crypto/property/property.c
871
alg = ossl_method_store_retrieve(store, nid);
crypto/openssl/crypto/property/property.c
885
ossl_property_unlock(store);
crypto/openssl/crypto/property/property.c
889
int ossl_method_store_cache_set(OSSL_METHOD_STORE *store, OSSL_PROVIDER *prov,
crypto/openssl/crypto/property/property.c
899
if (nid <= 0 || store == NULL || prop_query == NULL)
crypto/openssl/crypto/property/property.c
905
if (!ossl_property_write_lock(store))
crypto/openssl/crypto/property/property.c
907
if (store->cache_need_flush)
crypto/openssl/crypto/property/property.c
908
ossl_method_cache_flush_some(store);
crypto/openssl/crypto/property/property.c
909
alg = ossl_method_store_retrieve(store, nid);
crypto/openssl/crypto/property/property.c
918
store->cache_nelem--;
crypto/openssl/crypto/property/property.c
937
if (++store->cache_nelem >= IMPL_CACHE_FLUSH_THRESHOLD)
crypto/openssl/crypto/property/property.c
938
store->cache_need_flush = 1;
crypto/openssl/crypto/property/property.c
947
ossl_property_unlock(store);
crypto/openssl/crypto/provider_core.c
1162
struct provider_store_st *store;
crypto/openssl/crypto/provider_core.c
1181
store = get_provider_store(prov->libctx);
crypto/openssl/crypto/provider_core.c
1182
if (store == NULL)
crypto/openssl/crypto/provider_core.c
1185
if (lock && !CRYPTO_THREAD_read_lock(store->lock))
crypto/openssl/crypto/provider_core.c
1188
CRYPTO_THREAD_unlock(store->lock);
crypto/openssl/crypto/provider_core.c
1195
CRYPTO_THREAD_unlock(store->lock);
crypto/openssl/crypto/provider_core.c
1220
if (removechildren && store != NULL) {
crypto/openssl/crypto/provider_core.c
1221
int i, max = sk_OSSL_PROVIDER_CHILD_CB_num(store->child_cbs);
crypto/openssl/crypto/provider_core.c
1225
child_cb = sk_OSSL_PROVIDER_CHILD_CB_value(store->child_cbs, i);
crypto/openssl/crypto/provider_core.c
1232
CRYPTO_THREAD_unlock(store->lock);
crypto/openssl/crypto/provider_core.c
1258
struct provider_store_st *store;
crypto/openssl/crypto/provider_core.c
1261
store = prov->store;
crypto/openssl/crypto/provider_core.c
1266
if (store == NULL) {
crypto/openssl/crypto/provider_core.c
1281
if (lock && !CRYPTO_THREAD_read_lock(store->lock)) {
crypto/openssl/crypto/provider_core.c
1290
CRYPTO_THREAD_unlock(store->lock);
crypto/openssl/crypto/provider_core.c
1300
if (count == 1 && store != NULL) {
crypto/openssl/crypto/provider_core.c
1306
CRYPTO_THREAD_unlock(store->lock);
crypto/openssl/crypto/provider_core.c
1325
struct provider_store_st *store;
crypto/openssl/crypto/provider_core.c
1328
if ((store = get_provider_store(prov->libctx)) == NULL)
crypto/openssl/crypto/provider_core.c
1331
if (!CRYPTO_THREAD_read_lock(store->lock))
crypto/openssl/crypto/provider_core.c
1333
freeing = store->freeing;
crypto/openssl/crypto/provider_core.c
1334
CRYPTO_THREAD_unlock(store->lock);
crypto/openssl/crypto/provider_core.c
1357
struct provider_store_st *store;
crypto/openssl/crypto/provider_core.c
1360
if ((store = get_provider_store(prov->libctx)) == NULL)
crypto/openssl/crypto/provider_core.c
1363
if (!CRYPTO_THREAD_read_lock(store->lock))
crypto/openssl/crypto/provider_core.c
1365
freeing = store->freeing;
crypto/openssl/crypto/provider_core.c
1366
CRYPTO_THREAD_unlock(store->lock);
crypto/openssl/crypto/provider_core.c
1435
static int provider_activate_fallbacks(struct provider_store_st *store)
crypto/openssl/crypto/provider_core.c
1442
if (!CRYPTO_THREAD_read_lock(store->lock))
crypto/openssl/crypto/provider_core.c
1444
use_fallbacks = store->use_fallbacks;
crypto/openssl/crypto/provider_core.c
1445
CRYPTO_THREAD_unlock(store->lock);
crypto/openssl/crypto/provider_core.c
1449
if (!CRYPTO_THREAD_write_lock(store->lock))
crypto/openssl/crypto/provider_core.c
1452
use_fallbacks = store->use_fallbacks;
crypto/openssl/crypto/provider_core.c
1454
CRYPTO_THREAD_unlock(store->lock);
crypto/openssl/crypto/provider_core.c
1460
OSSL_PROVIDER_INFO *info = store->provinfo;
crypto/openssl/crypto/provider_core.c
1467
for (i = 0; i < store->numprovinfo; info++, i++) {
crypto/openssl/crypto/provider_core.c
1481
prov->libctx = store->libctx;
crypto/openssl/crypto/provider_core.c
1496
prov->store = store;
crypto/openssl/crypto/provider_core.c
1497
if (sk_OSSL_PROVIDER_push(store->providers, prov) == 0) {
crypto/openssl/crypto/provider_core.c
1505
store->use_fallbacks = 0;
crypto/openssl/crypto/provider_core.c
1509
CRYPTO_THREAD_unlock(store->lock);
crypto/openssl/crypto/provider_core.c
1515
struct provider_store_st *store = get_provider_store(ctx);
crypto/openssl/crypto/provider_core.c
1517
if (store == NULL)
crypto/openssl/crypto/provider_core.c
1520
return provider_activate_fallbacks(store);
crypto/openssl/crypto/provider_core.c
1529
struct provider_store_st *store = get_provider_store(ctx);
crypto/openssl/crypto/provider_core.c
1541
if (store == NULL)
crypto/openssl/crypto/provider_core.c
1543
if (!provider_activate_fallbacks(store))
crypto/openssl/crypto/provider_core.c
1550
if (!CRYPTO_THREAD_read_lock(store->lock))
crypto/openssl/crypto/provider_core.c
1552
provs = sk_OSSL_PROVIDER_dup(store->providers);
crypto/openssl/crypto/provider_core.c
1554
CRYPTO_THREAD_unlock(store->lock);
crypto/openssl/crypto/provider_core.c
1595
CRYPTO_THREAD_unlock(store->lock);
crypto/openssl/crypto/provider_core.c
160
struct provider_store_st *store; /* The store this instance belongs to */
crypto/openssl/crypto/provider_core.c
1614
CRYPTO_THREAD_unlock(store->lock);
crypto/openssl/crypto/provider_core.c
1664
struct provider_store_st *store = get_provider_store(libctx);
crypto/openssl/crypto/provider_core.c
1666
if (store == NULL || !provider_activate_fallbacks(store))
crypto/openssl/crypto/provider_core.c
2094
struct provider_store_st *store = NULL;
crypto/openssl/crypto/provider_core.c
2098
if ((store = get_provider_store(libctx)) == NULL)
crypto/openssl/crypto/provider_core.c
2101
if (!CRYPTO_THREAD_read_lock(store->lock))
crypto/openssl/crypto/provider_core.c
2104
max = sk_OSSL_PROVIDER_CHILD_CB_num(store->child_cbs);
crypto/openssl/crypto/provider_core.c
2106
child_cb = sk_OSSL_PROVIDER_CHILD_CB_value(store->child_cbs, i);
crypto/openssl/crypto/provider_core.c
2110
CRYPTO_THREAD_unlock(store->lock);
crypto/openssl/crypto/provider_core.c
2134
struct provider_store_st *store = NULL;
crypto/openssl/crypto/provider_core.c
2139
if ((store = get_provider_store(libctx)) == NULL)
crypto/openssl/crypto/provider_core.c
2151
if (!CRYPTO_THREAD_write_lock(store->lock)) {
crypto/openssl/crypto/provider_core.c
2161
max = sk_OSSL_PROVIDER_num(store->providers);
crypto/openssl/crypto/provider_core.c
2165
prov = sk_OSSL_PROVIDER_value(store->providers, i);
crypto/openssl/crypto/provider_core.c
2185
ret = sk_OSSL_PROVIDER_CHILD_CB_push(store->child_cbs, child_cb);
crypto/openssl/crypto/provider_core.c
2190
prov = sk_OSSL_PROVIDER_value(store->providers, i);
crypto/openssl/crypto/provider_core.c
2196
CRYPTO_THREAD_unlock(store->lock);
crypto/openssl/crypto/provider_core.c
2209
struct provider_store_st *store = NULL;
crypto/openssl/crypto/provider_core.c
2213
if ((store = get_provider_store(libctx)) == NULL)
crypto/openssl/crypto/provider_core.c
2216
if (!CRYPTO_THREAD_write_lock(store->lock))
crypto/openssl/crypto/provider_core.c
2218
max = sk_OSSL_PROVIDER_CHILD_CB_num(store->child_cbs);
crypto/openssl/crypto/provider_core.c
2220
child_cb = sk_OSSL_PROVIDER_CHILD_CB_value(store->child_cbs, i);
crypto/openssl/crypto/provider_core.c
2223
sk_OSSL_PROVIDER_CHILD_CB_delete(store->child_cbs, i);
crypto/openssl/crypto/provider_core.c
2228
CRYPTO_THREAD_unlock(store->lock);
crypto/openssl/crypto/provider_core.c
289
struct provider_store_st *store = vstore;
crypto/openssl/crypto/provider_core.c
292
if (store == NULL)
crypto/openssl/crypto/provider_core.c
294
store->freeing = 1;
crypto/openssl/crypto/provider_core.c
295
OPENSSL_free(store->default_path);
crypto/openssl/crypto/provider_core.c
296
sk_OSSL_PROVIDER_pop_free(store->providers, provider_deactivate_free);
crypto/openssl/crypto/provider_core.c
298
sk_OSSL_PROVIDER_CHILD_CB_pop_free(store->child_cbs,
crypto/openssl/crypto/provider_core.c
301
CRYPTO_THREAD_lock_free(store->default_path_lock);
crypto/openssl/crypto/provider_core.c
302
CRYPTO_THREAD_lock_free(store->lock);
crypto/openssl/crypto/provider_core.c
303
for (i = 0; i < store->numprovinfo; i++)
crypto/openssl/crypto/provider_core.c
304
ossl_provider_info_clear(&store->provinfo[i]);
crypto/openssl/crypto/provider_core.c
305
OPENSSL_free(store->provinfo);
crypto/openssl/crypto/provider_core.c
306
OPENSSL_free(store);
crypto/openssl/crypto/provider_core.c
311
struct provider_store_st *store = OPENSSL_zalloc(sizeof(*store));
crypto/openssl/crypto/provider_core.c
313
if (store == NULL
crypto/openssl/crypto/provider_core.c
314
|| (store->providers = sk_OSSL_PROVIDER_new(ossl_provider_cmp)) == NULL
crypto/openssl/crypto/provider_core.c
315
|| (store->default_path_lock = CRYPTO_THREAD_lock_new()) == NULL
crypto/openssl/crypto/provider_core.c
317
|| (store->child_cbs = sk_OSSL_PROVIDER_CHILD_CB_new_null()) == NULL
crypto/openssl/crypto/provider_core.c
319
|| (store->lock = CRYPTO_THREAD_lock_new()) == NULL) {
crypto/openssl/crypto/provider_core.c
320
ossl_provider_store_free(store);
crypto/openssl/crypto/provider_core.c
323
store->libctx = ctx;
crypto/openssl/crypto/provider_core.c
324
store->use_fallbacks = 1;
crypto/openssl/crypto/provider_core.c
326
return store;
crypto/openssl/crypto/provider_core.c
331
struct provider_store_st *store = NULL;
crypto/openssl/crypto/provider_core.c
333
store = ossl_lib_ctx_get_data(libctx, OSSL_LIB_CTX_PROVIDER_STORE_INDEX);
crypto/openssl/crypto/provider_core.c
334
if (store == NULL)
crypto/openssl/crypto/provider_core.c
336
return store;
crypto/openssl/crypto/provider_core.c
341
struct provider_store_st *store;
crypto/openssl/crypto/provider_core.c
343
if ((store = get_provider_store(libctx)) != NULL) {
crypto/openssl/crypto/provider_core.c
344
if (!CRYPTO_THREAD_write_lock(store->lock))
crypto/openssl/crypto/provider_core.c
346
store->use_fallbacks = 0;
crypto/openssl/crypto/provider_core.c
347
CRYPTO_THREAD_unlock(store->lock);
crypto/openssl/crypto/provider_core.c
358
struct provider_store_st *store = get_provider_store(libctx);
crypto/openssl/crypto/provider_core.c
366
if (store == NULL) {
crypto/openssl/crypto/provider_core.c
371
if (!CRYPTO_THREAD_write_lock(store->lock))
crypto/openssl/crypto/provider_core.c
373
if (store->provinfosz == 0) {
crypto/openssl/crypto/provider_core.c
374
store->provinfo = OPENSSL_zalloc(sizeof(*store->provinfo)
crypto/openssl/crypto/provider_core.c
376
if (store->provinfo == NULL)
crypto/openssl/crypto/provider_core.c
378
store->provinfosz = BUILTINS_BLOCK_SIZE;
crypto/openssl/crypto/provider_core.c
379
} else if (store->numprovinfo == store->provinfosz) {
crypto/openssl/crypto/provider_core.c
381
size_t newsz = store->provinfosz + BUILTINS_BLOCK_SIZE;
crypto/openssl/crypto/provider_core.c
383
tmpbuiltins = OPENSSL_realloc(store->provinfo,
crypto/openssl/crypto/provider_core.c
384
sizeof(*store->provinfo) * newsz);
crypto/openssl/crypto/provider_core.c
387
store->provinfo = tmpbuiltins;
crypto/openssl/crypto/provider_core.c
388
store->provinfosz = newsz;
crypto/openssl/crypto/provider_core.c
390
store->provinfo[store->numprovinfo] = *entry;
crypto/openssl/crypto/provider_core.c
391
store->numprovinfo++;
crypto/openssl/crypto/provider_core.c
395
CRYPTO_THREAD_unlock(store->lock);
crypto/openssl/crypto/provider_core.c
402
struct provider_store_st *store = NULL;
crypto/openssl/crypto/provider_core.c
405
if ((store = get_provider_store(libctx)) != NULL) {
crypto/openssl/crypto/provider_core.c
423
if (!CRYPTO_THREAD_write_lock(store->lock))
crypto/openssl/crypto/provider_core.c
425
sk_OSSL_PROVIDER_sort(store->providers);
crypto/openssl/crypto/provider_core.c
426
if ((i = sk_OSSL_PROVIDER_find(store->providers, &tmpl)) != -1)
crypto/openssl/crypto/provider_core.c
427
prov = sk_OSSL_PROVIDER_value(store->providers, i);
crypto/openssl/crypto/provider_core.c
428
CRYPTO_THREAD_unlock(store->lock);
crypto/openssl/crypto/provider_core.c
526
struct provider_store_st *store = NULL;
crypto/openssl/crypto/provider_core.c
530
if ((store = get_provider_store(libctx)) == NULL)
crypto/openssl/crypto/provider_core.c
548
if (!CRYPTO_THREAD_read_lock(store->lock))
crypto/openssl/crypto/provider_core.c
550
for (i = 0, p = store->provinfo; i < store->numprovinfo; p++, i++) {
crypto/openssl/crypto/provider_core.c
569
CRYPTO_THREAD_unlock(store->lock);
crypto/openssl/crypto/provider_core.c
574
CRYPTO_THREAD_unlock(store->lock);
crypto/openssl/crypto/provider_core.c
634
struct provider_store_st *store = prov->store;
crypto/openssl/crypto/provider_core.c
638
max = sk_OSSL_PROVIDER_CHILD_CB_num(store->child_cbs);
crypto/openssl/crypto/provider_core.c
644
child_cb = sk_OSSL_PROVIDER_CHILD_CB_value(store->child_cbs, i);
crypto/openssl/crypto/provider_core.c
655
struct provider_store_st *store;
crypto/openssl/crypto/provider_core.c
665
if ((store = get_provider_store(prov->libctx)) == NULL)
crypto/openssl/crypto/provider_core.c
668
if (!CRYPTO_THREAD_write_lock(store->lock))
crypto/openssl/crypto/provider_core.c
672
idx = sk_OSSL_PROVIDER_find(store->providers, &tmpl);
crypto/openssl/crypto/provider_core.c
676
actualtmp = sk_OSSL_PROVIDER_value(store->providers, idx);
crypto/openssl/crypto/provider_core.c
679
if (sk_OSSL_PROVIDER_push(store->providers, prov) == 0)
crypto/openssl/crypto/provider_core.c
681
prov->store = store;
crypto/openssl/crypto/provider_core.c
683
sk_OSSL_PROVIDER_delete_ptr(store->providers, prov);
crypto/openssl/crypto/provider_core.c
687
store->use_fallbacks = 0;
crypto/openssl/crypto/provider_core.c
690
CRYPTO_THREAD_unlock(store->lock);
crypto/openssl/crypto/provider_core.c
728
CRYPTO_THREAD_unlock(store->lock);
crypto/openssl/crypto/provider_core.c
910
struct provider_store_st *store;
crypto/openssl/crypto/provider_core.c
918
if ((store = get_provider_store(libctx)) != NULL
crypto/openssl/crypto/provider_core.c
919
&& CRYPTO_THREAD_write_lock(store->default_path_lock)) {
crypto/openssl/crypto/provider_core.c
920
OPENSSL_free(store->default_path);
crypto/openssl/crypto/provider_core.c
921
store->default_path = p;
crypto/openssl/crypto/provider_core.c
922
CRYPTO_THREAD_unlock(store->default_path_lock);
crypto/openssl/crypto/provider_core.c
931
struct provider_store_st *store;
crypto/openssl/crypto/provider_core.c
934
if ((store = get_provider_store(libctx)) != NULL
crypto/openssl/crypto/provider_core.c
935
&& CRYPTO_THREAD_read_lock(store->default_path_lock)) {
crypto/openssl/crypto/provider_core.c
936
path = store->default_path;
crypto/openssl/crypto/provider_core.c
937
CRYPTO_THREAD_unlock(store->default_path_lock);
crypto/openssl/crypto/provider_core.c
977
struct provider_store_st *store;
crypto/openssl/crypto/provider_core.c
984
if ((store = get_provider_store(prov->libctx)) == NULL
crypto/openssl/crypto/provider_core.c
985
|| !CRYPTO_THREAD_read_lock(store->default_path_lock))
crypto/openssl/crypto/provider_core.c
988
if (store->default_path != NULL) {
crypto/openssl/crypto/provider_core.c
989
allocated_load_dir = OPENSSL_strdup(store->default_path);
crypto/openssl/crypto/provider_core.c
990
CRYPTO_THREAD_unlock(store->default_path_lock);
crypto/openssl/crypto/provider_core.c
995
CRYPTO_THREAD_unlock(store->default_path_lock);
crypto/openssl/crypto/store/store_meth.c
101
static void dealloc_tmp_loader_store(void *store)
crypto/openssl/crypto/store/store_meth.c
103
if (store != NULL)
crypto/openssl/crypto/store/store_meth.c
104
ossl_method_store_free(store);
crypto/openssl/crypto/store/store_meth.c
113
static int reserve_loader_store(void *store, void *data)
crypto/openssl/crypto/store/store_meth.c
117
if (store == NULL
crypto/openssl/crypto/store/store_meth.c
118
&& (store = get_loader_store(methdata->libctx)) == NULL)
crypto/openssl/crypto/store/store_meth.c
121
return ossl_method_lock_store(store);
crypto/openssl/crypto/store/store_meth.c
124
static int unreserve_loader_store(void *store, void *data)
crypto/openssl/crypto/store/store_meth.c
128
if (store == NULL
crypto/openssl/crypto/store/store_meth.c
129
&& (store = get_loader_store(methdata->libctx)) == NULL)
crypto/openssl/crypto/store/store_meth.c
132
return ossl_method_unlock_store(store);
crypto/openssl/crypto/store/store_meth.c
136
static void *get_loader_from_store(void *store, const OSSL_PROVIDER **prov,
crypto/openssl/crypto/store/store_meth.c
149
if (store == NULL
crypto/openssl/crypto/store/store_meth.c
150
&& (store = get_loader_store(methdata->libctx)) == NULL)
crypto/openssl/crypto/store/store_meth.c
153
if (!ossl_method_store_fetch(store, id, methdata->propquery, prov, &method))
crypto/openssl/crypto/store/store_meth.c
158
static int put_loader_in_store(void *store, void *method,
crypto/openssl/crypto/store/store_meth.c
171
if (store == NULL && (store = get_loader_store(methdata->libctx)) == NULL)
crypto/openssl/crypto/store/store_meth.c
174
return ossl_method_store_add(store, prov, id, propdef, method,
crypto/openssl/crypto/store/store_meth.c
293
OSSL_METHOD_STORE *store = get_loader_store(methdata->libctx);
crypto/openssl/crypto/store/store_meth.c
299
if (store == NULL || namemap == NULL) {
crypto/openssl/crypto/store/store_meth.c
314
|| !ossl_method_store_cache_get(store, NULL, id, propq, &method)) {
crypto/openssl/crypto/store/store_meth.c
341
ossl_method_store_cache_set(store, prov, id, propq, method,
crypto/openssl/crypto/store/store_meth.c
389
OSSL_METHOD_STORE *store = get_loader_store(libctx);
crypto/openssl/crypto/store/store_meth.c
391
if (store != NULL)
crypto/openssl/crypto/store/store_meth.c
392
return ossl_method_store_cache_flush_all(store);
crypto/openssl/crypto/store/store_meth.c
399
OSSL_METHOD_STORE *store = get_loader_store(libctx);
crypto/openssl/crypto/store/store_meth.c
401
if (store != NULL)
crypto/openssl/crypto/store/store_meth.c
402
return ossl_method_store_remove_all_provided(store, prov);
crypto/openssl/crypto/ts/ts_local.h
135
X509_STORE *store;
crypto/openssl/crypto/ts/ts_rsp_verify.c
134
if (!ts_verify_cert(store, untrusted, signer, &chain))
crypto/openssl/crypto/ts/ts_rsp_verify.c
171
static int ts_verify_cert(X509_STORE *store, STACK_OF(X509) *untrusted,
crypto/openssl/crypto/ts/ts_rsp_verify.c
184
if (!X509_STORE_CTX_init(cert_ctx, store, signer, untrusted))
crypto/openssl/crypto/ts/ts_rsp_verify.c
19
static int ts_verify_cert(X509_STORE *store, STACK_OF(X509) *untrusted,
crypto/openssl/crypto/ts/ts_rsp_verify.c
309
&& !TS_RESP_verify_signature(token, ctx->certs, ctx->store, &signer))
crypto/openssl/crypto/ts/ts_rsp_verify.c
88
X509_STORE *store, X509 **signer_out)
crypto/openssl/crypto/ts/ts_verify_ctx.c
120
X509_STORE_free(ctx->store);
crypto/openssl/crypto/ts/ts_verify_ctx.c
67
ctx->store = s;
crypto/openssl/crypto/ts/ts_verify_ctx.c
68
return ctx->store;
crypto/openssl/crypto/ts/ts_verify_ctx.c
74
X509_STORE_free(ctx->store);
crypto/openssl/crypto/ts/ts_verify_ctx.c
75
ctx->store = s;
crypto/openssl/crypto/x509/by_store.c
109
static void free_store(CACHED_STORE *store)
crypto/openssl/crypto/x509/by_store.c
111
if (store != NULL) {
crypto/openssl/crypto/x509/by_store.c
112
OPENSSL_free(store->uri);
crypto/openssl/crypto/x509/by_store.c
113
OPENSSL_free(store->propq);
crypto/openssl/crypto/x509/by_store.c
114
OPENSSL_free(store);
crypto/openssl/crypto/x509/by_store.c
132
CACHED_STORE *store = OPENSSL_zalloc(sizeof(*store));
crypto/openssl/crypto/x509/by_store.c
135
if (store == NULL) {
crypto/openssl/crypto/x509/by_store.c
139
store->uri = OPENSSL_strdup(argp);
crypto/openssl/crypto/x509/by_store.c
140
store->libctx = libctx;
crypto/openssl/crypto/x509/by_store.c
142
store->propq = OPENSSL_strdup(propq);
crypto/openssl/crypto/x509/by_store.c
150
|| (propq != NULL && store->propq == NULL)
crypto/openssl/crypto/x509/by_store.c
151
|| store->uri == NULL) {
crypto/openssl/crypto/x509/by_store.c
153
free_store(store);
crypto/openssl/crypto/x509/by_store.c
163
if (stores == NULL || sk_CACHED_STORE_push(stores, store) <= 0) {
crypto/openssl/crypto/x509/by_store.c
164
free_store(store);
crypto/openssl/crypto/x509/by_store.c
173
CACHED_STORE store;
crypto/openssl/crypto/x509/by_store.c
175
store.uri = (char *)argp;
crypto/openssl/crypto/x509/by_store.c
176
store.libctx = libctx;
crypto/openssl/crypto/x509/by_store.c
177
store.propq = (char *)propq;
crypto/openssl/crypto/x509/by_store.c
178
return cache_objects(ctx, &store, NULL, 0);
crypto/openssl/crypto/x509/by_store.c
220
X509_STORE *store = X509_LOOKUP_get_store(ctx);
crypto/openssl/crypto/x509/by_store.c
222
if (!ossl_x509_store_read_lock(store))
crypto/openssl/crypto/x509/by_store.c
225
X509_STORE_unlock(store);
crypto/openssl/crypto/x509/by_store.c
25
static int cache_objects(X509_LOOKUP *lctx, CACHED_STORE *store,
crypto/openssl/crypto/x509/by_store.c
32
if ((ctx = OSSL_STORE_open_ex(store->uri, store->libctx, store->propq,
crypto/openssl/crypto/x509/by_store.c
78
substore.libctx = store->libctx;
crypto/openssl/crypto/x509/by_store.c
79
substore.propq = store->propq;
crypto/openssl/crypto/x509/t_x509.c
426
static int print_store_certs(BIO *bio, X509_STORE *store)
crypto/openssl/crypto/x509/t_x509.c
428
if (store != NULL) {
crypto/openssl/crypto/x509/t_x509.c
429
STACK_OF(X509) *certs = X509_STORE_get1_all_certs(store);
crypto/openssl/crypto/x509/x509_lu.c
323
X509_STORE *store = ctx->store;
crypto/openssl/crypto/x509/x509_lu.c
328
if (store == NULL)
crypto/openssl/crypto/x509/x509_lu.c
334
if (!ossl_x509_store_read_lock(store))
crypto/openssl/crypto/x509/x509_lu.c
337
if (!sk_X509_OBJECT_is_sorted(store->objs)) {
crypto/openssl/crypto/x509/x509_lu.c
338
X509_STORE_unlock(store);
crypto/openssl/crypto/x509/x509_lu.c
340
if (!X509_STORE_lock(store))
crypto/openssl/crypto/x509/x509_lu.c
346
sk_X509_OBJECT_sort(store->objs);
crypto/openssl/crypto/x509/x509_lu.c
348
tmp = X509_OBJECT_retrieve_by_subject(store->objs, type, name);
crypto/openssl/crypto/x509/x509_lu.c
349
X509_STORE_unlock(store);
crypto/openssl/crypto/x509/x509_lu.c
352
for (i = 0; i < sk_X509_LOOKUP_num(store->get_cert_methods); i++) {
crypto/openssl/crypto/x509/x509_lu.c
353
lu = sk_X509_LOOKUP_value(store->get_cert_methods, i);
crypto/openssl/crypto/x509/x509_lu.c
386
static int x509_store_add(X509_STORE *store, void *x, int crl)
crypto/openssl/crypto/x509/x509_lu.c
410
if (!X509_STORE_lock(store)) {
crypto/openssl/crypto/x509/x509_lu.c
415
if (X509_OBJECT_retrieve_match(store->objs, obj)) {
crypto/openssl/crypto/x509/x509_lu.c
418
added = sk_X509_OBJECT_push(store->objs, obj);
crypto/openssl/crypto/x509/x509_lu.c
421
X509_STORE_unlock(store);
crypto/openssl/crypto/x509/x509_lu.c
597
STACK_OF(X509_OBJECT) *X509_STORE_get1_objects(X509_STORE *store)
crypto/openssl/crypto/x509/x509_lu.c
601
if (store == NULL) {
crypto/openssl/crypto/x509/x509_lu.c
606
if (!ossl_x509_store_read_lock(store))
crypto/openssl/crypto/x509/x509_lu.c
609
objs = sk_X509_OBJECT_deep_copy(store->objs, x509_object_dup,
crypto/openssl/crypto/x509/x509_lu.c
611
X509_STORE_unlock(store);
crypto/openssl/crypto/x509/x509_lu.c
615
STACK_OF(X509) *X509_STORE_get1_all_certs(X509_STORE *store)
crypto/openssl/crypto/x509/x509_lu.c
621
if (store == NULL) {
crypto/openssl/crypto/x509/x509_lu.c
627
if (!X509_STORE_lock(store))
crypto/openssl/crypto/x509/x509_lu.c
630
sk_X509_OBJECT_sort(store->objs);
crypto/openssl/crypto/x509/x509_lu.c
631
objs = X509_STORE_get0_objects(store);
crypto/openssl/crypto/x509/x509_lu.c
639
X509_STORE_unlock(store);
crypto/openssl/crypto/x509/x509_lu.c
643
X509_STORE_unlock(store);
crypto/openssl/crypto/x509/x509_lu.c
660
X509_STORE *store = ctx->store;
crypto/openssl/crypto/x509/x509_lu.c
662
if (store == NULL)
crypto/openssl/crypto/x509/x509_lu.c
665
if (!X509_STORE_lock(store))
crypto/openssl/crypto/x509/x509_lu.c
668
sk_X509_OBJECT_sort(store->objs);
crypto/openssl/crypto/x509/x509_lu.c
669
idx = x509_object_idx_cnt(store->objs, X509_LU_X509, nm, &cnt);
crypto/openssl/crypto/x509/x509_lu.c
675
X509_STORE_unlock(store);
crypto/openssl/crypto/x509/x509_lu.c
679
if (!X509_STORE_lock(store))
crypto/openssl/crypto/x509/x509_lu.c
681
sk_X509_OBJECT_sort(store->objs);
crypto/openssl/crypto/x509/x509_lu.c
682
idx = x509_object_idx_cnt(store->objs, X509_LU_X509, nm, &cnt);
crypto/openssl/crypto/x509/x509_lu.c
689
obj = sk_X509_OBJECT_value(store->objs, idx);
crypto/openssl/crypto/x509/x509_lu.c
692
X509_STORE_unlock(store);
crypto/openssl/crypto/x509/x509_lu.c
698
X509_STORE_unlock(store);
crypto/openssl/crypto/x509/x509_lu.c
710
X509_STORE *store = ctx->store;
crypto/openssl/crypto/x509/x509_lu.c
719
if (!X509_STORE_lock(store)) {
crypto/openssl/crypto/x509/x509_lu.c
723
sk_X509_OBJECT_sort(store->objs);
crypto/openssl/crypto/x509/x509_lu.c
724
idx = x509_object_idx_cnt(store->objs, X509_LU_CRL, nm, &cnt);
crypto/openssl/crypto/x509/x509_lu.c
726
X509_STORE_unlock(store);
crypto/openssl/crypto/x509/x509_lu.c
731
obj = sk_X509_OBJECT_value(store->objs, idx);
crypto/openssl/crypto/x509/x509_lu.c
734
X509_STORE_unlock(store);
crypto/openssl/crypto/x509/x509_lu.c
739
X509_STORE_unlock(store);
crypto/openssl/crypto/x509/x509_lu.c
745
X509_STORE_unlock(store);
crypto/openssl/crypto/x509/x509_lu.c
952
return ctx->store;
crypto/openssl/crypto/x509/x509_vfy.c
1481
if (!X509_STORE_CTX_init(&crl_ctx, ctx->store, x, ctx->untrusted))
crypto/openssl/crypto/x509/x509_vfy.c
2500
int X509_STORE_CTX_init_rpk(X509_STORE_CTX *ctx, X509_STORE *store, EVP_PKEY *rpk)
crypto/openssl/crypto/x509/x509_vfy.c
2502
if (!X509_STORE_CTX_init(ctx, store, NULL, NULL))
crypto/openssl/crypto/x509/x509_vfy.c
2508
int X509_STORE_CTX_init(X509_STORE_CTX *ctx, X509_STORE *store, X509 *x509,
crypto/openssl/crypto/x509/x509_vfy.c
2517
ctx->store = store;
crypto/openssl/crypto/x509/x509_vfy.c
2542
if (store != NULL)
crypto/openssl/crypto/x509/x509_vfy.c
2543
ctx->cleanup = store->cleanup;
crypto/openssl/crypto/x509/x509_vfy.c
2547
if (store != NULL && store->check_issued != NULL)
crypto/openssl/crypto/x509/x509_vfy.c
2548
ctx->check_issued = store->check_issued;
crypto/openssl/crypto/x509/x509_vfy.c
2552
if (store != NULL && store->get_issuer != NULL)
crypto/openssl/crypto/x509/x509_vfy.c
2553
ctx->get_issuer = store->get_issuer;
crypto/openssl/crypto/x509/x509_vfy.c
2557
if (store != NULL && store->verify_cb != NULL)
crypto/openssl/crypto/x509/x509_vfy.c
2558
ctx->verify_cb = store->verify_cb;
crypto/openssl/crypto/x509/x509_vfy.c
2562
if (store != NULL && store->verify != NULL)
crypto/openssl/crypto/x509/x509_vfy.c
2563
ctx->verify = store->verify;
crypto/openssl/crypto/x509/x509_vfy.c
2567
if (store != NULL && store->check_revocation != NULL)
crypto/openssl/crypto/x509/x509_vfy.c
2568
ctx->check_revocation = store->check_revocation;
crypto/openssl/crypto/x509/x509_vfy.c
2572
if (store != NULL && store->get_crl != NULL)
crypto/openssl/crypto/x509/x509_vfy.c
2573
ctx->get_crl = store->get_crl;
crypto/openssl/crypto/x509/x509_vfy.c
2577
if (store != NULL && store->check_crl != NULL)
crypto/openssl/crypto/x509/x509_vfy.c
2578
ctx->check_crl = store->check_crl;
crypto/openssl/crypto/x509/x509_vfy.c
2582
if (store != NULL && store->cert_crl != NULL)
crypto/openssl/crypto/x509/x509_vfy.c
2583
ctx->cert_crl = store->cert_crl;
crypto/openssl/crypto/x509/x509_vfy.c
2587
if (store != NULL && store->check_policy != NULL)
crypto/openssl/crypto/x509/x509_vfy.c
2588
ctx->check_policy = store->check_policy;
crypto/openssl/crypto/x509/x509_vfy.c
2592
if (store != NULL && store->lookup_certs != NULL)
crypto/openssl/crypto/x509/x509_vfy.c
2593
ctx->lookup_certs = store->lookup_certs;
crypto/openssl/crypto/x509/x509_vfy.c
2597
if (store != NULL && store->lookup_crls != NULL)
crypto/openssl/crypto/x509/x509_vfy.c
2598
ctx->lookup_crls = store->lookup_crls;
crypto/openssl/crypto/x509/x509_vfy.c
2609
if (store == NULL)
crypto/openssl/crypto/x509/x509_vfy.c
2611
else if (X509_VERIFY_PARAM_inherit(ctx->param, store->param) == 0)
crypto/openssl/crypto/x509/x509_vfy.c
3626
X509_STORE *store, int with_self_signed,
crypto/openssl/crypto/x509/x509_vfy.c
3629
int finish_chain = store != NULL;
crypto/openssl/crypto/x509/x509_vfy.c
3641
if (!X509_STORE_CTX_init(ctx, store, target, finish_chain ? certs : NULL))
crypto/openssl/fuzz/x509.c
102
X509_STORE_CTX_init(ctx, store, x509_1, NULL);
crypto/openssl/fuzz/x509.c
128
OCSP_basic_verify(bs, certs, store, OCSP_PARTIAL_CHAIN);
crypto/openssl/fuzz/x509.c
140
X509_STORE_free(store);
crypto/openssl/fuzz/x509.c
41
X509_STORE *store = NULL;
crypto/openssl/fuzz/x509.c
81
store = X509_STORE_new();
crypto/openssl/fuzz/x509.c
82
if (store == NULL)
crypto/openssl/fuzz/x509.c
84
X509_STORE_add_cert(store, x509_2);
crypto/openssl/fuzz/x509.c
94
X509_STORE_set1_param(store, param);
crypto/openssl/fuzz/x509.c
96
X509_STORE_set_verify_cb(store, cb);
crypto/openssl/include/crypto/x509.h
216
X509_STORE *store;
crypto/openssl/include/internal/core.h
34
int (*lock_store)(void *store, void *data);
crypto/openssl/include/internal/core.h
36
int (*unlock_store)(void *store, void *data);
crypto/openssl/include/internal/core.h
38
void *(*get)(void *store, const OSSL_PROVIDER **prov, void *data);
crypto/openssl/include/internal/core.h
40
int (*put)(void *store, void *method, const OSSL_PROVIDER *prov,
crypto/openssl/include/internal/property.h
54
void ossl_method_store_free(OSSL_METHOD_STORE *store);
crypto/openssl/include/internal/property.h
56
int ossl_method_lock_store(OSSL_METHOD_STORE *store);
crypto/openssl/include/internal/property.h
57
int ossl_method_unlock_store(OSSL_METHOD_STORE *store);
crypto/openssl/include/internal/property.h
59
int ossl_method_store_add(OSSL_METHOD_STORE *store, const OSSL_PROVIDER *prov,
crypto/openssl/include/internal/property.h
63
int ossl_method_store_remove(OSSL_METHOD_STORE *store, int nid,
crypto/openssl/include/internal/property.h
65
void ossl_method_store_do_all(OSSL_METHOD_STORE *store,
crypto/openssl/include/internal/property.h
68
int ossl_method_store_fetch(OSSL_METHOD_STORE *store,
crypto/openssl/include/internal/property.h
71
int ossl_method_store_remove_all_provided(OSSL_METHOD_STORE *store,
crypto/openssl/include/internal/property.h
79
int ossl_method_store_cache_get(OSSL_METHOD_STORE *store, OSSL_PROVIDER *prov,
crypto/openssl/include/internal/property.h
81
int ossl_method_store_cache_set(OSSL_METHOD_STORE *store, OSSL_PROVIDER *prov,
crypto/openssl/include/internal/property.h
86
__owur int ossl_method_store_cache_flush_all(OSSL_METHOD_STORE *store);
crypto/openssl/include/openssl/cmp.h
548
int OSSL_CMP_CTX_set0_trustedStore(OSSL_CMP_CTX *ctx, X509_STORE *store);
crypto/openssl/include/openssl/cms.h
276
X509_STORE *store, BIO *dcont, BIO *out, unsigned int flags);
crypto/openssl/include/openssl/cms.h
280
X509_STORE *store, unsigned int flags);
crypto/openssl/include/openssl/cms.h
406
STACK_OF(X509) *scerts, X509_STORE *store,
crypto/openssl/include/openssl/ct.h
548
void CTLOG_STORE_free(CTLOG_STORE *store);
crypto/openssl/include/openssl/ct.h
554
const CTLOG *CTLOG_STORE_get0_log_by_id(const CTLOG_STORE *store,
crypto/openssl/include/openssl/ct.h
562
__owur int CTLOG_STORE_load_file(CTLOG_STORE *store, const char *file);
crypto/openssl/include/openssl/ct.h
568
__owur int CTLOG_STORE_load_default_file(CTLOG_STORE *store);
crypto/openssl/include/openssl/ocsp.h
359
X509_STORE *store, unsigned long flags);
crypto/openssl/include/openssl/pkcs7.h
404
int PKCS7_verify(PKCS7 *p7, STACK_OF(X509) *certs, X509_STORE *store,
crypto/openssl/include/openssl/ts.h
362
X509_STORE *store, X509 **signer_out);
crypto/openssl/include/openssl/x509_vfy.h
247
X509_STORE *store, int with_self_signed,
crypto/openssl/include/openssl/x509_vfy.h
250
int X509_STORE_set_depth(X509_STORE *store, int depth);
crypto/openssl/include/openssl/x509_vfy.h
744
int X509_STORE_load_store(X509_STORE *xs, const char *store);
crypto/openssl/include/openssl/x509_vfy.h
750
int X509_STORE_load_store_ex(X509_STORE *xs, const char *store,
crypto/openssl/ssl/ssl_cert.c
1055
const char *store)
crypto/openssl/ssl/ssl_cert.c
1059
int ret = add_uris_recursive(stack, store, 1);
crypto/openssl/ssl/ssl_cert.c
1172
int ssl_cert_set_cert_store(CERT *c, X509_STORE *store, int chain, int ref)
crypto/openssl/ssl/ssl_cert.c
1176
if (ref && store && !X509_STORE_up_ref(store))
crypto/openssl/ssl/ssl_cert.c
1184
*pstore = store;
crypto/openssl/ssl/ssl_lib.c
5727
void SSL_CTX_set_cert_store(SSL_CTX *ctx, X509_STORE *store)
crypto/openssl/ssl/ssl_lib.c
5730
ctx->cert_store = store;
crypto/openssl/ssl/ssl_lib.c
5733
void SSL_CTX_set1_cert_store(SSL_CTX *ctx, X509_STORE *store)
crypto/openssl/ssl/ssl_lib.c
5735
if (store != NULL && !X509_STORE_up_ref(store))
crypto/openssl/ssl/ssl_lib.c
5738
SSL_CTX_set_cert_store(ctx, store);
crypto/openssl/ssl/ssl_local.h
2595
__owur int ssl_cert_set_cert_store(CERT *c, X509_STORE *store, int chain,
crypto/openssl/test/cmp_ctx_test.c
513
X509_STORE *store = X509_STORE_new();
crypto/openssl/test/cmp_ctx_test.c
515
if (store != NULL)
crypto/openssl/test/cmp_ctx_test.c
516
X509_VERIFY_PARAM_set_flags(X509_STORE_get0_param(store), 1);
crypto/openssl/test/cmp_ctx_test.c
517
return store;
crypto/openssl/test/cmp_protect_test.c
338
X509_STORE *store;
crypto/openssl/test/cmp_protect_test.c
350
if (TEST_ptr(store = X509_STORE_new())
crypto/openssl/test/cmp_protect_test.c
351
&& TEST_true(X509_STORE_add_cert(store, root))) {
crypto/openssl/test/cmp_protect_test.c
352
X509_VERIFY_PARAM_set_flags(X509_STORE_get0_param(store),
crypto/openssl/test/cmp_protect_test.c
354
chain = X509_build_chain(fixture->cert, fixture->certs, store,
crypto/openssl/test/cmp_protect_test.c
363
X509_STORE_free(store);
crypto/openssl/test/cmp_protect_test.c
466
X509_STORE *store = X509_STORE_new();
crypto/openssl/test/cmp_protect_test.c
470
if (!TEST_true(ossl_cmp_X509_STORE_add1_certs(store,
crypto/openssl/test/cmp_protect_test.c
474
sk = X509_STORE_get1_all_certs(store);
crypto/openssl/test/cmp_protect_test.c
479
X509_STORE_free(store);
crypto/openssl/test/crltest.c
342
X509_STORE *store = X509_STORE_new();
crypto/openssl/test/crltest.c
348
|| !TEST_ptr(store)
crypto/openssl/test/crltest.c
360
if (!TEST_true(X509_STORE_CTX_init(ctx, store, leaf, NULL)))
crypto/openssl/test/crltest.c
381
X509_STORE_free(store);
crypto/openssl/test/crltest.c
571
X509_STORE *store = X509_STORE_new();
crypto/openssl/test/crltest.c
578
|| !TEST_ptr(store)
crypto/openssl/test/crltest.c
590
if (!TEST_true(X509_STORE_CTX_init(ctx, store, test_leaf, NULL)))
crypto/openssl/test/crltest.c
614
X509_STORE_free(store);
crypto/openssl/test/danetest.c
59
X509_STORE *store = NULL;
crypto/openssl/test/danetest.c
65
|| !TEST_ptr(store = SSL_CTX_get_cert_store(ssl_ctx))
crypto/openssl/test/danetest.c
66
|| !TEST_true(X509_STORE_CTX_init(store_ctx, store, NULL, chain))
crypto/openssl/test/pkcs7_test.c
135
X509_STORE *store = NULL;
crypto/openssl/test/pkcs7_test.c
158
&& TEST_ptr(store = X509_STORE_new())
crypto/openssl/test/pkcs7_test.c
159
&& TEST_true(X509_STORE_add_cert(store, cert))
crypto/openssl/test/pkcs7_test.c
162
&& TEST_true(PKCS7_verify(p7, NULL, store, msg_bio, NULL, PKCS7_TEXT))
crypto/openssl/test/pkcs7_test.c
165
X509_STORE_free(store);
crypto/openssl/test/pkcs7_test.c
226
X509_STORE *store = NULL;
crypto/openssl/test/pkcs7_test.c
370
&& TEST_ptr(store = X509_STORE_new())
crypto/openssl/test/pkcs7_test.c
371
&& TEST_true(X509_STORE_add_cert(store, cert))
crypto/openssl/test/pkcs7_test.c
372
&& TEST_ptr(param = X509_STORE_get0_param(store))
crypto/openssl/test/pkcs7_test.c
375
&& TEST_true(X509_STORE_set1_param(store, param))
crypto/openssl/test/pkcs7_test.c
378
&& TEST_true(PKCS7_verify(p7, NULL, store, NULL, NULL, 0))
crypto/openssl/test/pkcs7_test.c
381
X509_STORE_free(store);
crypto/openssl/test/property_test.c
104
ossl_method_store_free(store);
crypto/openssl/test/property_test.c
152
OSSL_METHOD_STORE *store;
crypto/openssl/test/property_test.c
156
if (TEST_ptr(store = ossl_method_store_new(NULL))
crypto/openssl/test/property_test.c
165
ossl_method_store_free(store);
crypto/openssl/test/property_test.c
171
OSSL_METHOD_STORE *store;
crypto/openssl/test/property_test.c
176
if (TEST_ptr(store = ossl_method_store_new(NULL))
crypto/openssl/test/property_test.c
187
ossl_method_store_free(store);
crypto/openssl/test/property_test.c
219
OSSL_METHOD_STORE *store;
crypto/openssl/test/property_test.c
224
if (!TEST_ptr(store = ossl_method_store_new(NULL))
crypto/openssl/test/property_test.c
237
ossl_method_store_free(store);
crypto/openssl/test/property_test.c
269
OSSL_METHOD_STORE *store;
crypto/openssl/test/property_test.c
274
if (TEST_ptr(store = ossl_method_store_new(NULL))
crypto/openssl/test/property_test.c
288
ossl_method_store_free(store);
crypto/openssl/test/property_test.c
294
OSSL_METHOD_STORE *store;
crypto/openssl/test/property_test.c
298
r = TEST_ptr(store = ossl_method_store_new(NULL))
crypto/openssl/test/property_test.c
331
ossl_method_store_free(store);
crypto/openssl/test/property_test.c
355
OSSL_METHOD_STORE *store;
crypto/openssl/test/property_test.c
359
r = TEST_ptr(store = ossl_method_store_new(NULL))
crypto/openssl/test/property_test.c
367
ossl_method_store_free(store);
crypto/openssl/test/property_test.c
385
OSSL_METHOD_STORE *store;
crypto/openssl/test/property_test.c
388
if (!TEST_ptr(store = ossl_method_store_new(NULL))
crypto/openssl/test/property_test.c
393
if (!TEST_true(ossl_method_store_add(store, &prov, impls[i].nid,
crypto/openssl/test/property_test.c
406
if (!TEST_true(ossl_method_store_remove(store, nid, impl))
crypto/openssl/test/property_test.c
407
|| !TEST_false(ossl_method_store_remove(store, nid, impl))) {
crypto/openssl/test/property_test.c
413
if (TEST_false(ossl_method_store_remove(store, impls[0].nid, impls[0].impl)))
crypto/openssl/test/property_test.c
416
ossl_method_store_free(store);
crypto/openssl/test/property_test.c
457
OSSL_METHOD_STORE *store;
crypto/openssl/test/property_test.c
462
if (!TEST_ptr(store = ossl_method_store_new(NULL))
crypto/openssl/test/property_test.c
467
if (!TEST_true(ossl_method_store_add(store, *impls[i].prov,
crypto/openssl/test/property_test.c
482
if (!TEST_true(ossl_method_store_fetch(store,
crypto/openssl/test/property_test.c
500
if (!TEST_true(ossl_method_store_fetch(store,
crypto/openssl/test/property_test.c
511
if (!TEST_false(ossl_method_store_fetch(store,
crypto/openssl/test/property_test.c
532
if (!TEST_true(ossl_method_store_fetch(store,
crypto/openssl/test/property_test.c
54
OSSL_METHOD_STORE *store = NULL;
crypto/openssl/test/property_test.c
543
if (!TEST_false(ossl_method_store_fetch(store,
crypto/openssl/test/property_test.c
558
ossl_method_store_free(store);
crypto/openssl/test/property_test.c
565
OSSL_METHOD_STORE *store;
crypto/openssl/test/property_test.c
573
if (!TEST_ptr(store = ossl_method_store_new(NULL))
crypto/openssl/test/property_test.c
580
if (!TEST_true(ossl_method_store_add(store, &prov, i, buf, "abc",
crypto/openssl/test/property_test.c
582
|| !TEST_true(ossl_method_store_cache_set(store, &prov, i,
crypto/openssl/test/property_test.c
585
|| !TEST_true(ossl_method_store_cache_set(store, &prov, i,
crypto/openssl/test/property_test.c
594
if (!ossl_method_store_cache_get(store, NULL, i, buf, &result)
crypto/openssl/test/property_test.c
602
ossl_method_store_free(store);
crypto/openssl/test/property_test.c
63
&& TEST_ptr(store = ossl_method_store_new(ctx))
crypto/openssl/test/sslapitest.c
11185
X509_STORE *store = NULL, *new_store = NULL,
crypto/openssl/test/sslapitest.c
11194
if (!TEST_true(SSL_CTX_get0_verify_cert_store(ctx, &store)))
crypto/openssl/test/sslapitest.c
11202
if (!TEST_ptr_null(store) || !TEST_ptr_null(cstore))
crypto/openssl/test/sslapitest.c
11222
if (!TEST_true(SSL_CTX_get0_verify_cert_store(ctx, &store)))
crypto/openssl/test/sslapitest.c
11228
if (!TEST_ptr_eq(store, new_store) || !TEST_ptr_eq(cstore, new_cstore))
crypto/openssl/test/sslapitest.c
11239
if (!TEST_true(SSL_CTX_get0_verify_cert_store(ctx, &store)))
crypto/openssl/test/sslapitest.c
11245
if (!TEST_ptr_null(store) || !TEST_ptr_null(cstore))
crypto/openssl/test/sslapitest.c
11265
X509_STORE *store = NULL, *new_store = NULL,
crypto/openssl/test/sslapitest.c
11279
if (!TEST_true(SSL_get0_verify_cert_store(ssl, &store)))
crypto/openssl/test/sslapitest.c
11287
if (!TEST_ptr_null(store) || !TEST_ptr_null(cstore))
crypto/openssl/test/sslapitest.c
11307
if (!TEST_true(SSL_get0_verify_cert_store(ssl, &store)))
crypto/openssl/test/sslapitest.c
11313
if (!TEST_ptr_eq(store, new_store) || !TEST_ptr_eq(cstore, new_cstore))
crypto/openssl/test/sslapitest.c
11324
if (!TEST_true(SSL_get0_verify_cert_store(ssl, &store)))
crypto/openssl/test/sslapitest.c
11330
if (!TEST_ptr_null(store) || !TEST_ptr_null(cstore))
crypto/openssl/test/threadstest.c
1302
static X509_STORE *store = NULL;
crypto/openssl/test/threadstest.c
1315
if (!TEST_true(X509_STORE_CTX_init(ctx, store, NULL, NULL)))
crypto/openssl/test/threadstest.c
1343
store = X509_STORE_new();
crypto/openssl/test/threadstest.c
1344
if (!TEST_ptr(store))
crypto/openssl/test/threadstest.c
1346
if (!TEST_true(X509_STORE_load_store(store, storedir)))
crypto/openssl/test/threadstest.c
1353
X509_STORE_free(store);
crypto/openssl/test/threadstest.c
1354
store = NULL;
crypto/openssl/test/verify_extra_test.c
103
X509_STORE_free(store);
crypto/openssl/test/verify_extra_test.c
68
X509_STORE *store = NULL;
crypto/openssl/test/verify_extra_test.c
71
store = X509_STORE_new();
crypto/openssl/test/verify_extra_test.c
72
if (store == NULL)
crypto/openssl/test/verify_extra_test.c
75
lookup = X509_STORE_add_lookup(store, X509_LOOKUP_file());
crypto/openssl/test/verify_extra_test.c
90
if (!X509_STORE_CTX_init(sctx, store, x, untrusted))
crypto/openssl/test/x509_dup_cert_test.c
20
X509_STORE *store = NULL;
crypto/openssl/test/x509_dup_cert_test.c
24
if (TEST_ptr(store = X509_STORE_new())
crypto/openssl/test/x509_dup_cert_test.c
25
&& TEST_ptr(lookup = X509_STORE_add_lookup(store, X509_LOOKUP_file()))
crypto/openssl/test/x509_dup_cert_test.c
30
X509_STORE_free(store);
crypto/openssl/test/x509_load_cert_file_test.c
20
X509_STORE *store = NULL;
crypto/openssl/test/x509_load_cert_file_test.c
25
if (!TEST_ptr(store = X509_STORE_new())
crypto/openssl/test/x509_load_cert_file_test.c
26
|| !TEST_ptr(lookup = X509_STORE_add_lookup(store, X509_LOOKUP_file()))
crypto/openssl/test/x509_load_cert_file_test.c
28
|| !TEST_ptr(certs = X509_STORE_get1_all_certs(store))
crypto/openssl/test/x509_load_cert_file_test.c
30
|| !TEST_ptr(objs = X509_STORE_get1_objects(store))
crypto/openssl/test/x509_load_cert_file_test.c
48
X509_STORE_free(store);
lib/libc/db/hash/hash.c
881
SEGMENT store;
lib/libc/db/hash/hash.c
896
if ((store = calloc(nsegs << hashp->SSHIFT, sizeof(SEGMENT))) == NULL) {
lib/libc/db/hash/hash.c
903
hashp->dir[i] = &store[i << hashp->SSHIFT];
lib/libc/gen/getpwent.c
1742
uint32_t store;
lib/libc/gen/getpwent.c
1837
store = htonl(keynum);
lib/libc/gen/getpwent.c
1838
memcpy(&keybuf[1], &store, sizeof(store));
lib/libc/gen/getpwent.c
1839
key.size = sizeof(store) + 1;
lib/libc/gen/getpwent.c
804
uint32_t store;
lib/libc/gen/getpwent.c
867
store = htonl(uid);
lib/libc/gen/getpwent.c
868
memcpy(&keybuf[1], &store, sizeof(store));
lib/libc/gen/getpwent.c
869
key.size = sizeof(store) + 1;
lib/libc/gen/getpwent.c
879
store = htonl(st->keynum);
lib/libc/gen/getpwent.c
880
memcpy(&keybuf[1], &store, sizeof(store));
lib/libc/gen/getpwent.c
881
key.size = sizeof(store) + 1;
lib/libpmc/libpmc.c
367
__K8MASK(store-pipe-excluding-junk-ops, 2),
lib/libpmc/libpmc.c
370
__K8MASK(store-pipe-junk-ops, 5),
lib/libpmc/libpmc.c
414
__K8MASK(store, 1),
lib/libsys/_libsys.h
702
int __sys_uuidgen(struct uuid * store, int count);
libexec/revnetgroup/hash.h
62
extern void store(struct group_entry ** , char *, char *);
libexec/revnetgroup/revnetgroup.c
132
store(gtable, key, data);
stand/ficl/words.c
4867
dictAppendWord(dp, "!", store, FW_DEFAULT);
sys/amd64/amd64/pmap.c
3480
u_int store; /* processor that updates the PDE */
sys/amd64/amd64/pmap.c
3488
if (act->store == PCPU_GET(cpuid))
sys/amd64/amd64/pmap.c
3526
act.store = cpuid;
sys/compat/freebsd32/freebsd32_systrace_args.c
1803
uarg[a++] = (intptr_t)p->store; /* struct uuid * */
sys/compat/linuxkpi/common/include/linux/device.h
145
ssize_t (*store)(struct class *, struct class_attribute *, const char *, size_t);
sys/compat/linuxkpi/common/include/linux/device.h
157
ssize_t (*store)(struct device *,
sys/compat/linuxkpi/common/include/linux/kobject.h
81
ssize_t (*store)(struct kobject *kobj, struct kobj_attribute *attr,
sys/compat/linuxkpi/common/include/linux/sysfs.h
165
if (error != 0 || req->newptr == NULL || ops->store == NULL)
sys/compat/linuxkpi/common/include/linux/sysfs.h
169
len = ops->store(kobj, attr, buf, len);
sys/compat/linuxkpi/common/include/linux/sysfs.h
42
ssize_t (*store)(struct kobject *, struct attribute *, const char *,
sys/compat/linuxkpi/common/include/linux/sysfs.h
65
.show = _show, .store = _store, \
sys/compat/linuxkpi/common/src/linux_compat.c
211
if (dattr->store)
sys/compat/linuxkpi/common/src/linux_compat.c
212
error = dattr->store(container_of(kobj, struct class, kobj),
sys/compat/linuxkpi/common/src/linux_compat.c
229
.store = linux_class_store,
sys/compat/linuxkpi/common/src/linux_compat.c
273
if (dattr->store)
sys/compat/linuxkpi/common/src/linux_compat.c
274
error = dattr->store(container_of(kobj, struct device, kobj),
sys/compat/linuxkpi/common/src/linux_compat.c
281
.store = linux_dev_store,
sys/compat/linuxkpi/common/src/linux_kobject.c
227
if (ka->store == NULL)
sys/compat/linuxkpi/common/src/linux_kobject.c
230
return (ka->store(kobj, ka, buf, count));
sys/compat/linuxkpi/common/src/linux_kobject.c
235
.store = lkpi_kobj_attr_store,
sys/compat/linuxkpi/common/src/linux_pci.c
2039
dma_pool_obj_import(void *arg, void **store, int count, int domain __unused,
sys/compat/linuxkpi/common/src/linux_pci.c
2058
store[i] = obj;
sys/compat/linuxkpi/common/src/linux_pci.c
2065
dma_pool_obj_release(void *arg, void **store, int count)
sys/compat/linuxkpi/common/src/linux_pci.c
2072
obj = store[i];
sys/dev/bhnd/nvram/bhnd_nvram_store.c
108
bhnd_nvram_store_new(struct bhnd_nvram_store **store,
sys/dev/bhnd/nvram/bhnd_nvram_store.c
161
*store = sc;
sys/dev/bhnd/nvram/bhnd_nvram_store.c
193
bhnd_nvram_store_parse_new(struct bhnd_nvram_store **store,
sys/dev/bhnd/nvram/bhnd_nvram_store.c
204
error = bhnd_nvram_store_new(store, data);
sys/dev/bhnd/nvram/bhnd_nvram_store.h
65
int bhnd_nvram_store_new(struct bhnd_nvram_store **store,
sys/dev/bhnd/nvram/bhnd_nvram_store.h
68
int bhnd_nvram_store_parse_new(struct bhnd_nvram_store **store,
sys/dev/bhnd/nvram/bhnd_nvram_store.h
71
void bhnd_nvram_store_free(struct bhnd_nvram_store *store);
sys/dev/bhnd/nvram/bhnd_nvram_store.h
73
int bhnd_nvram_store_export(struct bhnd_nvram_store *store,
sys/dev/bhnd/nvram/bhnd_nvram_store.h
78
int bhnd_nvram_store_serialize(struct bhnd_nvram_store *store,
sys/dev/bhnd/nvram/bhnd_sprom.c
103
sc->store = NULL;
sys/dev/bhnd/nvram/bhnd_sprom.c
134
error = bhnd_nvram_store_parse_new(&sc->store, io,
sys/dev/bhnd/nvram/bhnd_sprom.c
163
if (sc->store != NULL)
sys/dev/bhnd/nvram/bhnd_sprom.c
164
bhnd_nvram_store_free(sc->store);
sys/dev/bhnd/nvram/bhnd_sprom.c
201
bhnd_nvram_store_free(sc->store);
sys/dev/bhnd/nvram/bhnd_sprom.c
215
return (bhnd_nvram_store_getvar(sc->store, name, buf, len, type));
sys/dev/bhnd/nvram/bhnd_sprom.c
227
return (bhnd_nvram_store_setvar(sc->store, name, buf, len, type));
sys/dev/bhnd/nvram/bhnd_spromvar.h
52
struct bhnd_nvram_store *store; /**< nvram store */
sys/dev/cxgb/common/cxgb_xgmac.c
225
unsigned int store;
sys/dev/cxgb/common/cxgb_xgmac.c
246
store = t3_read_reg(adap, A_TP_PIO_DATA);
sys/dev/cxgb/common/cxgb_xgmac.c
298
t3_write_reg(adap, A_TP_PIO_DATA, store);
sys/dev/dpaa2/dpaa2_channel.c
185
DPAA2_BUF_INIT(&ch->store);
sys/dev/dpaa2/dpaa2_channel.c
259
if (ch->store.vaddr != NULL) {
sys/dev/dpaa2/dpaa2_channel.c
260
bus_dmamem_free(ch->store.dmat, ch->store.vaddr, ch->store.dmap);
sys/dev/dpaa2/dpaa2_channel.c
262
if (ch->store.dmat != NULL) {
sys/dev/dpaa2/dpaa2_channel.c
263
bus_dma_tag_destroy(ch->store.dmat);
sys/dev/dpaa2/dpaa2_channel.c
265
ch->store.dmat = NULL;
sys/dev/dpaa2/dpaa2_channel.c
266
ch->store.vaddr = NULL;
sys/dev/dpaa2/dpaa2_channel.c
267
ch->store.paddr = 0;
sys/dev/dpaa2/dpaa2_channel.c
268
ch->store.nseg = 0;
sys/dev/dpaa2/dpaa2_channel.c
345
struct dpaa2_buf *buf = &ch->store;
sys/dev/dpaa2/dpaa2_channel.c
455
struct dpaa2_buf *buf = &ch->store;
sys/dev/dpaa2/dpaa2_channel.h
70
struct dpaa2_buf store; /* to keep VDQ responses */
sys/dev/dpaa2/dpaa2_ni.c
2865
struct dpaa2_buf *buf = &ch->store;
sys/dev/drm2/ttm/ttm_page_alloc_dma.c
262
.store = &ttm_pool_store,
sys/dev/ixgbe/ixgbe_x550.c
2141
u32 store[FW_PHY_ACT_DATA_COUNT] = { 0 };
sys/dev/ixgbe/ixgbe_x550.c
2147
rc = ixgbe_fw_phy_activity(hw, FW_PHY_ACT_PHY_SW_RESET, &store);
sys/dev/ixgbe/ixgbe_x550.c
2150
memset(store, 0, sizeof(store));
sys/dev/ixgbe/ixgbe_x550.c
2152
rc = ixgbe_fw_phy_activity(hw, FW_PHY_ACT_INIT_PHY, &store);
sys/dev/ixgbe/ixgbe_x550.c
2165
u32 store[FW_PHY_ACT_DATA_COUNT] = { 0 };
sys/dev/ixgbe/ixgbe_x550.c
2168
rc = ixgbe_fw_phy_activity(hw, FW_PHY_ACT_GET_LINK_INFO, &store);
sys/dev/ixgbe/ixgbe_x550.c
2172
if (store[0] & FW_PHY_ACT_GET_LINK_INFO_TEMP) {
sys/dev/mlx4/mlx4_core/mlx4_main.c
2955
info->port_attr.store = set_port_type;
sys/dev/mlx4/mlx4_core/mlx4_main.c
2972
info->port_mtu_attr.store = set_port_ib_mtu;
sys/dev/mlx4/mlx4_en/mlx4_en_netdev.c
1753
ssize_t (*store)(struct en_port *, struct en_port_attribute *, char *buf, size_t count);
sys/dev/mlx4/mlx4_ib/mlx4_ib_mcg.c
849
group->dentry.store = NULL;
sys/dev/mlx4/mlx4_ib/mlx4_ib_sysfs.c
167
ssize_t (*store)(struct device *dev,
sys/dev/mlx4/mlx4_ib/mlx4_ib_sysfs.c
177
vdentry->dentry.store = store;
sys/dev/mlx4/mlx4_ib/mlx4_ib_sysfs.c
184
if (vdentry->dentry.store)
sys/dev/mlx4/mlx4_ib/mlx4_ib_sysfs.c
397
ssize_t (*store)(struct mlx4_port *, struct port_attribute *,
sys/dev/mlx4/mlx4_ib/mlx4_ib_sysfs.c
421
if (!port_attr->store)
sys/dev/mlx4/mlx4_ib/mlx4_ib_sysfs.c
423
return port_attr->store(p, port_attr, buf, size);
sys/dev/mlx4/mlx4_ib/mlx4_ib_sysfs.c
428
.store = port_attr_store,
sys/dev/mlx4/mlx4_ib/mlx4_ib_sysfs.c
500
ssize_t (*store)(struct mlx4_port *, struct port_attribute *,
sys/dev/mlx4/mlx4_ib/mlx4_ib_sysfs.c
524
if (store) {
sys/dev/mlx4/mlx4_ib/mlx4_ib_sysfs.c
526
element->attr.store = store;
sys/dev/mlx4/mlx4_ib/mlx4_ib_sysfs.c
603
p->smi_enabled.store = NULL;
sys/dev/mlx4/mlx4_ib/mlx4_ib_sysfs.c
614
p->enable_smi_admin.store = sysfs_store_enable_smi_admin;
sys/dev/mlx5/mlx5_en/mlx5_en_hw_tls.c
121
mlx5e_tls_tag_import(void *arg, void **store, int cnt, int domain, int flags)
sys/dev/mlx5/mlx5_en/mlx5_en_hw_tls.c
151
store[i] = ptag;
sys/dev/mlx5/mlx5_en/mlx5_en_hw_tls.c
157
mlx5e_tls_tag_release(void *arg, void **store, int cnt)
sys/dev/mlx5/mlx5_en/mlx5_en_hw_tls.c
165
ptag = store[i];
sys/dev/mlx5/mlx5_en/mlx5_en_hw_tls_rx.c
407
mlx5e_tls_rx_tag_import(void *arg, void **store, int cnt, int domain, int flags)
sys/dev/mlx5/mlx5_en/mlx5_en_hw_tls_rx.c
418
store[i] = ptag;
sys/dev/mlx5/mlx5_en/mlx5_en_hw_tls_rx.c
427
mlx5e_tls_rx_tag_release(void *arg, void **store, int cnt)
sys/dev/mlx5/mlx5_en/mlx5_en_hw_tls_rx.c
433
ptag = store[i];
sys/i386/i386/pmap.c
1310
u_int store; /* processor that updates the PDE */
sys/i386/i386/pmap.c
1319
if (act->store == PCPU_GET(cpuid)) {
sys/i386/i386/pmap.c
1330
if (act->store == PCPU_GET(cpuid))
sys/i386/i386/pmap.c
1367
act.store = cpuid;
sys/kern/kern_mbuf.c
434
dn_buf_import(void *arg, void **store, int count, int domain __unused,
sys/kern/kern_mbuf.c
448
store[i] = m;
sys/kern/kern_mbuf.c
456
dn_buf_release(void *arg, void **store, int count)
sys/kern/kern_mbuf.c
465
m = store[i];
sys/kern/kern_mbuf.c
471
dn_pack_import(void *arg __unused, void **store, int count, int domain __unused,
sys/kern/kern_mbuf.c
488
store[i] = m;
sys/kern/kern_mbuf.c
496
dn_pack_release(void *arg __unused, void **store, int count)
sys/kern/kern_mbuf.c
503
m = store[i];
sys/kern/kern_uuid.c
130
kern_uuidgen(struct uuid *store, size_t count)
sys/kern/kern_uuid.c
163
store[n] = *(struct uuid *)&uuid;
sys/kern/kern_uuid.c
167
return (store);
sys/kern/kern_uuid.c
172
struct uuid *store;
sys/kern/kern_uuid.c
179
struct uuid *store;
sys/kern/kern_uuid.c
193
store = malloc(count * sizeof(struct uuid), M_TEMP, M_WAITOK);
sys/kern/kern_uuid.c
194
kern_uuidgen(store, count);
sys/kern/kern_uuid.c
195
error = copyout(store, uap->store, count * sizeof(struct uuid));
sys/kern/kern_uuid.c
196
free(store, M_TEMP);
sys/kern/subr_atomic64.c
102
ATOMIC64_EMU_BIN(store, void, *p = v, return);
sys/kern/subr_vmem.c
637
qc_import(void *arg, void **store, int cnt, int domain, int flags)
sys/kern/subr_vmem.c
650
store[i] = (void *)addr;
sys/kern/subr_vmem.c
659
qc_release(void *arg, void **store, int cnt)
sys/kern/subr_vmem.c
666
vmem_xfree(qc->qc_vmem, (vmem_addr_t)store[i], qc->qc_size);
sys/kern/systrace_args.c
1903
uarg[a++] = (intptr_t)p->store; /* struct uuid * */
sys/kern/uipc_ktls.c
436
ktls_buffer_import(void *arg, void **store, int count, int domain, int flags)
sys/kern/uipc_ktls.c
452
store[i] = (void *)PHYS_TO_DMAP(VM_PAGE_TO_PHYS(m));
sys/kern/uipc_ktls.c
458
ktls_buffer_release(void *arg __unused, void **store, int count)
sys/kern/uipc_ktls.c
464
m = PHYS_TO_VM_PAGE(DMAP_TO_PHYS((vm_offset_t)store[i]));
sys/kern/vfs_bio.c
1679
buf_import(void *arg, void **store, int cnt, int domain, int flags)
sys/kern/vfs_bio.c
1690
store[i] = bp;
sys/kern/vfs_bio.c
1703
buf_release(void *arg, void **store, int cnt)
sys/kern/vfs_bio.c
1712
bp = store[i];
sys/netinet/sctp_asconf.c
154
union sctp_sockstore store;
sys/netinet/sctp_asconf.c
184
sa = &store.sa;
sys/netinet/sctp_asconf.c
193
sin = &store.sin;
sys/netinet/sctp_asconf.c
216
sin6 = &store.sin6;
sys/netinet/sctp_asconf.c
2771
union sctp_sockstore store;
sys/netinet/sctp_asconf.c
2811
memset(&store, 0, sizeof(union sctp_sockstore));
sys/netinet/sctp_asconf.c
2812
store.sin6.sin6_family = AF_INET6;
sys/netinet/sctp_asconf.c
2813
store.sin6.sin6_len = sizeof(struct sockaddr_in6);
sys/netinet/sctp_asconf.c
2814
store.sin6.sin6_port = stcb->rport;
sys/netinet/sctp_asconf.c
2815
memcpy(&store.sin6.sin6_addr, a6p->addr, sizeof(struct in6_addr));
sys/netinet/sctp_asconf.c
2832
memset(&store, 0, sizeof(union sctp_sockstore));
sys/netinet/sctp_asconf.c
2833
store.sin.sin_family = AF_INET;
sys/netinet/sctp_asconf.c
2834
store.sin.sin_len = sizeof(struct sockaddr_in);
sys/netinet/sctp_asconf.c
2835
store.sin.sin_port = stcb->rport;
sys/netinet/sctp_asconf.c
2836
store.sin.sin_addr.s_addr = a4p->addr;
sys/netinet/sctp_asconf.c
2845
sctp_ifa = sctp_find_ifa_by_addr(&store.sa, stcb->asoc.vrf_id,
sys/netinet/sctp_asconf.c
2856
status = sctp_asconf_queue_sa_delete(stcb, &store.sa);
sys/netinet/sctp_asconf.c
314
union sctp_sockstore store;
sys/netinet/sctp_asconf.c
344
sa = &store.sa;
sys/netinet/sctp_asconf.c
353
sin = &store.sin;
sys/netinet/sctp_asconf.c
373
sin6 = &store.sin6;
sys/netinet/sctp_asconf.c
452
union sctp_sockstore store;
sys/netinet/sctp_asconf.c
481
sa = &store.sa;
sys/netinet/sctp_asconf.c
490
sin = &store.sin;
sys/netinet/sctp_asconf.c
508
sin6 = &store.sin6;
sys/netinet/sctp_auth.c
1826
uint8_t store[SCTP_PARAM_BUFFER_SIZE];
sys/netinet/sctp_auth.c
1829
if (plen > sizeof(store)) {
sys/netinet/sctp_auth.c
1833
(struct sctp_paramhdr *)store,
sys/netinet/sctp_input.c
1967
union sctp_sockstore store;
sys/netinet/sctp_input.c
2133
memset(&store.sin, 0, sizeof(struct sockaddr_in));
sys/netinet/sctp_input.c
2134
store.sin.sin_family = AF_INET;
sys/netinet/sctp_input.c
2135
store.sin.sin_len = sizeof(struct sockaddr_in);
sys/netinet/sctp_input.c
2136
store.sin.sin_addr.s_addr = cookie->laddress[0];
sys/netinet/sctp_input.c
2142
memset(&store.sin6, 0, sizeof(struct sockaddr_in6));
sys/netinet/sctp_input.c
2143
store.sin6.sin6_family = AF_INET6;
sys/netinet/sctp_input.c
2144
store.sin6.sin6_len = sizeof(struct sockaddr_in6);
sys/netinet/sctp_input.c
2145
store.sin6.sin6_scope_id = cookie->scope_id;
sys/netinet/sctp_input.c
2146
memcpy(&store.sin6.sin6_addr, cookie->laddress, sizeof(struct in6_addr));
sys/netinet/sctp_input.c
2211
&store.sa, cookie->local_scope, cookie->site_scope,
sys/netinet/sctp_input.c
533
union sctp_sockstore store;
sys/netinet/sctp_input.c
544
memset(&store, 0, sizeof(store));
sys/netinet/sctp_input.c
549
store.sin.sin_family = cp->heartbeat.hb_info.addr_family;
sys/netinet/sctp_input.c
550
store.sin.sin_len = cp->heartbeat.hb_info.addr_len;
sys/netinet/sctp_input.c
551
store.sin.sin_port = stcb->rport;
sys/netinet/sctp_input.c
552
memcpy(&store.sin.sin_addr, cp->heartbeat.hb_info.address,
sys/netinet/sctp_input.c
553
sizeof(store.sin.sin_addr));
sys/netinet/sctp_input.c
562
store.sin6.sin6_family = cp->heartbeat.hb_info.addr_family;
sys/netinet/sctp_input.c
563
store.sin6.sin6_len = cp->heartbeat.hb_info.addr_len;
sys/netinet/sctp_input.c
564
store.sin6.sin6_port = stcb->rport;
sys/netinet/sctp_input.c
565
memcpy(&store.sin6.sin6_addr, cp->heartbeat.hb_info.address, sizeof(struct in6_addr));
sys/netinet/sctp_input.c
574
r_net = sctp_findnet(stcb, &store.sa);
sys/netinet/sctp_pcb.c
3023
union sctp_sockstore store;
sys/netinet/sctp_pcb.c
3025
memset(&store, 0, sizeof(store));
sys/netinet/sctp_pcb.c
3029
memcpy(&store.sin, addr, sizeof(struct sockaddr_in));
sys/netinet/sctp_pcb.c
3030
store.sin.sin_port = 0;
sys/netinet/sctp_pcb.c
3035
memcpy(&store.sin6, addr, sizeof(struct sockaddr_in6));
sys/netinet/sctp_pcb.c
3036
store.sin6.sin6_port = 0;
sys/netinet/sctp_pcb.c
3054
ifa = sctp_find_ifa_by_addr(&store.sa,
sys/netinet/sctp_usrreq.c
7113
union sctp_sockstore store;
sys/netinet/sctp_usrreq.c
7120
memcpy(&store, &laddr->ifa->address, sizeof(store));
sys/netinet/sctp_usrreq.c
7121
switch (store.sa.sa_family) {
sys/netinet/sctp_usrreq.c
7124
store.sin.sin_port = inp->sctp_lport;
sys/netinet/sctp_usrreq.c
7129
store.sin6.sin6_port = inp->sctp_lport;
sys/netinet/sctp_usrreq.c
7135
tinp = sctp_pcb_findep(&store.sa, 0, 0, inp->def_vrf_id);
sys/netinet/sctp_usrreq.c
7152
memset(&store, 0, sizeof(store));
sys/netinet/sctp_usrreq.c
7155
store.sa.sa_family = AF_INET6;
sys/netinet/sctp_usrreq.c
7156
store.sa.sa_len = sizeof(struct sockaddr_in6);
sys/netinet/sctp_usrreq.c
7161
store.sa.sa_family = AF_INET;
sys/netinet/sctp_usrreq.c
7162
store.sa.sa_len = sizeof(struct sockaddr_in);
sys/netinet/sctp_usrreq.c
7165
switch (store.sa.sa_family) {
sys/netinet/sctp_usrreq.c
7168
store.sin.sin_port = inp->sctp_lport;
sys/netinet/sctp_usrreq.c
7173
store.sin6.sin6_port = inp->sctp_lport;
sys/netinet/sctp_usrreq.c
7179
tinp = sctp_pcb_findep(&store.sa, 0, 0, inp->def_vrf_id);
sys/netinet/sctp_usrreq.c
7273
union sctp_sockstore store;
sys/netinet/sctp_usrreq.c
7301
store = stcb->asoc.primary_destination->ro._l_addr;
sys/netinet/sctp_usrreq.c
7333
switch (store.sa.sa_family) {
sys/netinet/sctp_usrreq.c
7339
.sin_port = store.sin.sin_port,
sys/netinet/sctp_usrreq.c
7340
.sin_addr = store.sin.sin_addr,
sys/netinet/sctp_usrreq.c
7349
.sin6_port = store.sin6.sin6_port,
sys/netinet/sctp_usrreq.c
7350
.sin6_addr = store.sin6.sin6_addr,
sys/netinet/sctputil.c
4684
sctp_recover_scope(struct sockaddr_in6 *addr, struct sockaddr_in6 *store)
sys/netinet/sctputil.c
4690
*store = *addr;
sys/netinet/sctputil.c
4691
if (!sa6_recoverscope(store)) {
sys/netinet/sctputil.c
4693
addr = store;
sys/netinet/sctputil.c
5977
union sctp_sockstore store;
sys/netinet/sctputil.c
5984
store.sin6 = control->whoFrom->ro._l_addr.sin6;
sys/netinet/sctputil.c
5985
store.sin6.sin6_port = control->port_from;
sys/netinet/sctputil.c
5994
&store.sin6);
sys/netinet/sctputil.c
5995
store.sin6.sin6_port = control->port_from;
sys/netinet/sctputil.c
5998
store.sin = control->whoFrom->ro._l_addr.sin;
sys/netinet/sctputil.c
5999
store.sin.sin_port = control->port_from;
sys/netinet/sctputil.c
6003
store.sin = control->whoFrom->ro._l_addr.sin;
sys/netinet/sctputil.c
6004
store.sin.sin_port = control->port_from;
sys/netinet/sctputil.c
6012
memcpy(from, &store, min((size_t)fromlen, len));
sys/netinet/sctputil.h
196
#define sctp_recover_scope_mac(addr, store) do { \
sys/netinet/sctputil.h
199
*store = *addr; \
sys/netinet/sctputil.h
201
if (!sa6_recoverscope(store)) { \
sys/netinet/sctputil.h
202
addr = store; \
sys/netinet/sctputil.h
206
addr = store; \
sys/netinet6/sctp6_usrreq.c
757
union sctp_sockstore store;
sys/netinet6/sctp6_usrreq.c
838
in6_sin6_2_sin(&store.sin, sin6);
sys/netinet6/sctp6_usrreq.c
839
addr = &store.sa;
sys/ofed/drivers/infiniband/core/ib_sysfs.c
123
if (!port_attr->store)
sys/ofed/drivers/infiniband/core/ib_sysfs.c
125
return port_attr->store(p, port_attr, buf, count);
sys/ofed/drivers/infiniband/core/ib_sysfs.c
130
.store = port_attr_store
sys/ofed/drivers/infiniband/core/ib_sysfs.c
73
ssize_t (*store)(struct ib_port *, struct port_attribute *,
sys/ofed/drivers/infiniband/core/ib_sysfs.c
927
hsa->store = NULL;
sys/ofed/drivers/infiniband/core/ib_sysfs.c
94
ssize_t (*store)(struct kobject *kobj,
sys/ofed/drivers/infiniband/core/ib_sysfs.c
945
hsa->store = set_stats_lifespan;
sys/powerpc/aim/mmu_radix.c
3623
radix_pgd_import(void *arg __unused, void **store, int count, int domain __unused,
sys/powerpc/aim/mmu_radix.c
3634
store[i] = (void *)PHYS_TO_DMAP(VM_PAGE_TO_PHYS(m));
sys/powerpc/aim/mmu_radix.c
3640
radix_pgd_release(void *arg __unused, void **store, int count)
sys/powerpc/aim/mmu_radix.c
3654
m = PHYS_TO_VM_PAGE(DMAP_TO_PHYS((vm_offset_t)store[i]));
sys/powerpc/fpu/fpu_emu.c
306
int store, update;
sys/powerpc/fpu/fpu_emu.c
339
store = (instr.i_x.i_xo & 0x80);
sys/powerpc/fpu/fpu_emu.c
357
store = instr.i_d.i_opcd & 0x4;
sys/powerpc/fpu/fpu_emu.c
378
if (store) {
sys/sys/sysproto.h
1018
char store_l_[PADL_(struct uuid *)]; struct uuid * store; char store_r_[PADR_(struct uuid *)];
sys/vm/uma.h
128
typedef int (*uma_import)(void *arg, void **store, int count, int domain,
sys/vm/uma.h
134
typedef void (*uma_release)(void *arg, void **store, int count);
sys/vm/vm_glue.c
645
kstack_import(void *arg, void **store, int cnt, int domain, int flags)
sys/vm/vm_glue.c
656
store[i] = (void *)vm_thread_stack_create(ds, kstack_pages,
sys/vm/vm_glue.c
658
if (store[i] == NULL)
sys/vm/vm_glue.c
665
kstack_release(void *arg, void **store, int cnt)
sys/vm/vm_glue.c
671
ks = (vm_offset_t)store[i];
sys/vm/vm_page.c
193
static int vm_page_zone_import(void *arg, void **store, int cnt, int domain,
sys/vm/vm_page.c
195
static void vm_page_zone_release(void *arg, void **store, int cnt);
sys/vm/vm_page.c
2729
vm_page_zone_import(void *arg, void **store, int cnt, int domain, int flags)
sys/vm/vm_page.c
2748
(vm_page_t *)store);
sys/vm/vm_page.c
2757
vm_page_zone_release(void *arg, void **store, int cnt)
sys/vm/vm_page.c
2768
m = (vm_page_t)store[i];
tests/sys/fs/fusefs/mockfs.cc
415
out.body.store.nodeid,
tests/sys/fs/fusefs/mockfs.cc
416
out.body.store.offset,
tests/sys/fs/fusefs/mockfs.cc
417
out.body.store.size);
tests/sys/fs/fusefs/mockfs.cc
892
out->body.store.nodeid = ino;
tests/sys/fs/fusefs/mockfs.cc
893
out->body.store.offset = off;
tests/sys/fs/fusefs/mockfs.cc
894
out->body.store.size = size;
tests/sys/fs/fusefs/mockfs.cc
895
bcopy(data, (char*)&out->body.bytes + sizeof(out->body.store), size);
tests/sys/fs/fusefs/mockfs.cc
896
out->header.len = sizeof(out->header) + sizeof(out->body.store) + size;
tests/sys/fs/fusefs/mockfs.hh
222
fuse_notify_store_out store;
tests/sys/fs/fusefs/notify.cc
429
ASSERT_EQ(0, pthread_create(&th0, NULL, store, &sa)) << strerror(errno);
tests/sys/fs/fusefs/notify.cc
464
ASSERT_EQ(0, pthread_create(&th0, NULL, store, &sa)) << strerror(errno);
tests/sys/sys/rb_test.c
60
struct node *tmp, *ins, store[ITER];
tests/sys/sys/rb_test.c
70
store[i].key = i;
tests/sys/sys/rb_test.c
75
k = store[j].key;
tests/sys/sys/rb_test.c
76
store[j].key = store[i].key;
tests/sys/sys/rb_test.c
77
store[i].key = k;
tests/sys/sys/rb_test.c
82
tmp = &store[j];
tests/sys/sys/rb_test.c
85
tmp = &store[i];
usr.bin/chpass/util.c
143
*store = tval;
usr.bin/chpass/util.c
77
atot(char *p, time_t *store)
usr.bin/chpass/util.c
86
*store = 0;
usr.bin/find/misc.c
52
brace_subst(char *orig, char **store, char *path, size_t len)
usr.bin/find/misc.c
67
*store = reallocf(*store, newlen);
usr.bin/find/misc.c
68
if (*store == NULL)
usr.bin/find/misc.c
71
dst = *store;
usr.bin/mkcsmapper/yacc.y
165
{ store(&$1, $3, 0); }
usr.bin/mkcsmapper/yacc.y
167
{ store(&$1, $3, 1); }
usr.bin/mkcsmapper/yacc.y
94
static void store(const linear_zone_t *, u_int32_t, int);
usr.bin/mkesdb/yacc.y
211
set_prop_string(const char *res, char **store, char **data)
usr.bin/mkesdb/yacc.y
215
if (*store) {
usr.bin/mkesdb/yacc.y
222
*store = *data;
usr.bin/printf/printf.c
462
char *save, *store, c;
usr.bin/printf/printf.c
465
for (save = store = fmt; ((c = *fmt) != 0); ++fmt, ++store) {
usr.bin/printf/printf.c
467
*store = c;
usr.bin/printf/printf.c
472
*store = '\\';
usr.bin/printf/printf.c
473
*++store = '\0';
usr.bin/printf/printf.c
474
*len = store - save;
usr.bin/printf/printf.c
478
*store = *fmt;
usr.bin/printf/printf.c
481
*store = '\a';
usr.bin/printf/printf.c
484
*store = '\b';
usr.bin/printf/printf.c
488
*store = '\0';
usr.bin/printf/printf.c
489
*len = store - save;
usr.bin/printf/printf.c
492
*store = 'c';
usr.bin/printf/printf.c
495
*store = '\f';
usr.bin/printf/printf.c
498
*store = '\n';
usr.bin/printf/printf.c
501
*store = '\r';
usr.bin/printf/printf.c
504
*store = '\t';
usr.bin/printf/printf.c
507
*store = '\v';
usr.bin/printf/printf.c
520
*store++ = '%';
usr.bin/printf/printf.c
521
*store = '%';
usr.bin/printf/printf.c
523
*store = (char)value;
usr.bin/printf/printf.c
526
*store = *fmt;
usr.bin/printf/printf.c
530
*store = '\0';
usr.bin/printf/printf.c
531
*len = store - save;
usr.sbin/pwd_mkdb/pwd_mkdb.c
253
memmove(buf + 1, p, sizeof(store));
usr.sbin/pwd_mkdb/pwd_mkdb.c
255
key.size = sizeof(store) + 1;
usr.sbin/pwd_mkdb/pwd_mkdb.c
350
#define SCALAR(e) store = htonl((uint32_t)(e)); \
usr.sbin/pwd_mkdb/pwd_mkdb.c
351
memmove(p, &store, sizeof(store)); \
usr.sbin/pwd_mkdb/pwd_mkdb.c
352
p += sizeof(store);
usr.sbin/pwd_mkdb/pwd_mkdb.c
353
#define LSCALAR(e) store = HTOL((uint32_t)(e)); \
usr.sbin/pwd_mkdb/pwd_mkdb.c
354
memmove(p, &store, sizeof(store)); \
usr.sbin/pwd_mkdb/pwd_mkdb.c
355
p += sizeof(store);
usr.sbin/pwd_mkdb/pwd_mkdb.c
401
store = htonl(cnt);
usr.sbin/pwd_mkdb/pwd_mkdb.c
402
memmove(tbuf + 1, &store, sizeof(store));
usr.sbin/pwd_mkdb/pwd_mkdb.c
403
key.size = sizeof(store) + 1;
usr.sbin/pwd_mkdb/pwd_mkdb.c
409
store = htonl(pwd.pw_uid);
usr.sbin/pwd_mkdb/pwd_mkdb.c
410
memmove(tbuf + 1, &store, sizeof(store));
usr.sbin/pwd_mkdb/pwd_mkdb.c
411
key.size = sizeof(store) + 1;
usr.sbin/pwd_mkdb/pwd_mkdb.c
425
store = htonl(cnt);
usr.sbin/pwd_mkdb/pwd_mkdb.c
426
memmove(tbuf + 1, &store, sizeof(store));
usr.sbin/pwd_mkdb/pwd_mkdb.c
427
key.size = sizeof(store) + 1;
usr.sbin/pwd_mkdb/pwd_mkdb.c
433
store = htonl(pwd.pw_uid);
usr.sbin/pwd_mkdb/pwd_mkdb.c
434
memmove(tbuf + 1, &store, sizeof(store));
usr.sbin/pwd_mkdb/pwd_mkdb.c
435
key.size = sizeof(store) + 1;
usr.sbin/pwd_mkdb/pwd_mkdb.c
442
store = htonl(ypcnt);
usr.sbin/pwd_mkdb/pwd_mkdb.c
443
memmove(tbuf + 1, &store, sizeof(store));
usr.sbin/pwd_mkdb/pwd_mkdb.c
444
key.size = sizeof(store) + 1;
usr.sbin/pwd_mkdb/pwd_mkdb.c
94
uint32_t store;
usr.sbin/services_mkdb/services_mkdb.c
209
store(db, &data, &key, warndup);
usr.sbin/services_mkdb/services_mkdb.c
214
store(db, &key, &data, warndup);
usr.sbin/services_mkdb/services_mkdb.c
218
store(db, &key, &data, warndup);
usr.sbin/services_mkdb/services_mkdb.c
225
store(db, &key, &data, warndup);
usr.sbin/services_mkdb/services_mkdb.c
229
store(db, &key, &data, warndup);
usr.sbin/services_mkdb/services_mkdb.c
61
static void store(DB *, DBT *, DBT *, int);