Home
last modified time | relevance | path

Searched refs:opaque (Results 1 – 25 of 241) sorted by relevance

12345678910

/freebsd-14.2/usr.sbin/bhyve/
H A Dlibslirp.h77 typedef void (*SlirpTimerCb)(void *opaque);
81 typedef int (*SlirpGetREventsCb)(int idx, void *opaque);
105 void (*guest_error)(const char *msg, void *opaque);
107 int64_t (*clock_get_ns)(void *opaque);
112 void (*timer_free)(void *timer, void *opaque);
116 void (*register_poll_fd)(int fd, void *opaque);
118 void (*unregister_poll_fd)(int fd, void *opaque);
121 void (*notify)(void *opaque);
228 void *opaque);
240 void *opaque);
[all …]
/freebsd-14.2/sys/contrib/openzfs/module/os/freebsd/spl/
H A Dspl_zlib.c42 (void) opaque; in zcalloc()
47 zcfree(void *opaque, void *ptr) in zcfree() argument
49 (void) opaque; in zcfree()
58 stream->opaque = NULL; in zlib_deflateInit()
80 stream->opaque = NULL; in zlib_inflateInit()
143 stream.opaque = NULL; in z_compress_level()
150 if (!stream.opaque) in z_compress_level()
155 zlib_workspace_free(stream.opaque); in z_compress_level()
168 zlib_workspace_free(stream.opaque); in z_compress_level()
203 if (!stream.opaque) in z_uncompress()
[all …]
/freebsd-14.2/sys/contrib/zlib/
H A Dzutil.c202 voidpf ZLIB_INTERNAL zcalloc(voidpf opaque, unsigned items, unsigned size) { in zcalloc() argument
206 (void)opaque; in zcalloc()
227 void ZLIB_INTERNAL zcfree(voidpf opaque, voidpf ptr) { in zcfree() argument
230 (void)opaque; in zcfree()
263 voidpf ZLIB_INTERNAL zcalloc(voidpf opaque, uInt items, uInt size) { in zcalloc() argument
264 (void)opaque; in zcalloc()
268 void ZLIB_INTERNAL zcfree(voidpf opaque, voidpf ptr) { in zcfree() argument
269 (void)opaque; in zcfree()
287 (void)opaque; in zcalloc()
292 void ZLIB_INTERNAL zcfree(voidpf opaque, voidpf ptr) { in zcfree() argument
[all …]
/freebsd-14.2/sys/contrib/openzfs/module/zstd/lib/common/
H A Dpool.c31 void *opaque; member
67 static void* POOL_thread(void* opaque) { in POOL_thread() argument
68 POOL_ctx* const ctx = (POOL_ctx*)opaque; in POOL_thread()
81 return opaque; in POOL_thread()
94 job.function(job.opaque); in POOL_thread()
256 POOL_job const job = {function, opaque}; in POOL_add_internal()
266 void POOL_add(POOL_ctx* ctx, POOL_function function, void* opaque) in POOL_add() argument
274 POOL_add_internal(ctx, function, opaque); in POOL_add()
287 POOL_add_internal(ctx, function, opaque); in POOL_tryAdd()
329 function(opaque); in POOL_add()
[all …]
H A Dzstd_common.c59 return customMem.customAlloc(customMem.opaque, size); in ZSTD_malloc()
68 void* const ptr = customMem.customAlloc(customMem.opaque, size); in ZSTD_calloc()
79 customMem.customFree(customMem.opaque, ptr); in ZSTD_free()
/freebsd-14.2/sys/contrib/zstd/lib/common/
H A Dpool.c31 void *opaque; member
67 static void* POOL_thread(void* opaque) { in POOL_thread() argument
68 POOL_ctx* const ctx = (POOL_ctx*)opaque; in POOL_thread()
81 return opaque; in POOL_thread()
94 job.function(job.opaque); in POOL_thread()
265 POOL_job const job = {function, opaque}; in POOL_add_internal()
275 void POOL_add(POOL_ctx* ctx, POOL_function function, void* opaque) in POOL_add() argument
283 POOL_add_internal(ctx, function, opaque); in POOL_add()
296 POOL_add_internal(ctx, function, opaque); in POOL_tryAdd()
340 function(opaque); in POOL_add()
[all …]
H A Dzstd_common.c59 return customMem.customAlloc(customMem.opaque, size); in ZSTD_customMalloc()
68 void* const ptr = customMem.customAlloc(customMem.opaque, size); in ZSTD_customCalloc()
79 customMem.customFree(customMem.opaque, ptr); in ZSTD_customFree()
/freebsd-14.2/lib/libc/isc/
H A Dev_timers.c153 evContext_p *ctx = opaqueCtx.opaque; in evLastEventTime()
188 evContext_p *ctx = opaqueCtx.opaque; in evSetTimer()
230 opaqueID->opaque = id; in evSetTimer()
242 evContext_p *ctx = opaqueCtx.opaque; in evClearTimer()
243 evTimer *del = id.opaque; in evClearTimer()
279 evTimer *timer = id.opaque; in evConfigTimer()
306 evTimer *timer = id.opaque; in evResetTimer()
381 tt->timer = opaqueID->opaque; in evSetIdleTimer()
388 evTimer *del = id.opaque; in evClearIdleTimer()
403 evTimer *timer = opaqueID.opaque; in evResetIdleTimer()
[all …]
H A Dev_streams.c68 evContext_p *ctx = opaqueCtx.opaque; in evWrite()
89 id->opaque = new; in evWrite()
102 evContext_p *ctx = opaqueCtx.opaque; in evRead()
123 id->opaque = new; in evRead()
134 evStream *str = id.opaque; in evTimeRW()
145 evStream *str = id.opaque; in evUntimeRW()
155 evContext_p *ctx = opaqueCtx.opaque; in evCancelRW()
156 evStream *old = id.opaque; in evCancelRW()
200 if (old->file.opaque) in evCancelRW()
251 evContext_p *ctx = opaqueCtx.opaque; in done()
[all …]
/freebsd-14.2/lib/libc/include/isc/
H A Deventlib.h46 typedef struct { void *opaque; } evConnID; member
47 typedef struct { void *opaque; } evFileID; member
48 typedef struct { void *opaque; } evStreamID; member
49 typedef struct { void *opaque; } evTimerID; member
50 typedef struct { void *opaque; } evWaitID; member
51 typedef struct { void *opaque; } evContext; member
52 typedef struct { void *opaque; } evEvent; member
54 #define evInitID(id) ((id)->opaque = NULL)
55 #define evTestID(id) ((id).opaque != NULL)
/freebsd-14.2/sys/geom/uzip/
H A Dg_uzip_zstd.c116 zstd_alloc(void *opaque, size_t size) in zstd_alloc() argument
118 return (malloc(size, opaque, M_WAITOK)); in zstd_alloc()
122 zstd_free(void *opaque, void *address) in zstd_free() argument
124 free(address, opaque); in zstd_free()
130 .opaque = M_GEOM_UZIP,
/freebsd-14.2/crypto/heimdal/lib/krb5/
H A Dsalt-aes.c43 krb5_data opaque, in AES_string_to_key() argument
51 if (opaque.length == 0) in AES_string_to_key()
53 else if (opaque.length == 4) { in AES_string_to_key()
55 _krb5_get_int(opaque.data, &v, 4); in AES_string_to_key()
H A Dsalt.c175 krb5_data opaque; in krb5_string_to_key_data_salt() local
176 krb5_data_zero(&opaque); in krb5_string_to_key_data_salt()
178 salt, opaque, key); in krb5_string_to_key_data_salt()
192 krb5_data opaque, in krb5_string_to_key_data_salt_opaque() argument
207 salt, opaque, key); in krb5_string_to_key_data_salt_opaque()
238 krb5_data opaque, in krb5_string_to_key_salt_opaque() argument
245 pw, salt, opaque, key); in krb5_string_to_key_salt_opaque()
H A Dsalt-des.c122 krb5_data opaque, in DES_AFS3_string_to_key() argument
175 krb5_data opaque, in krb5_DES_string_to_key() argument
183 if (opaque.length == 1) { in krb5_DES_string_to_key()
185 _krb5_get_int(opaque.data, &v, 1); in krb5_DES_string_to_key()
188 salt, opaque, key); in krb5_DES_string_to_key()
H A Ddigest.c182 return digest->initReply.opaque; in krb5_digest_get_opaque()
188 const char *opaque) in krb5_digest_set_opaque() argument
190 if (digest->request.opaque) { in krb5_digest_set_opaque()
194 digest->request.opaque = strdup(opaque); in krb5_digest_set_opaque()
952 krb5_data *opaque) in krb5_ntlm_init_get_opaque() argument
956 ret = der_copy_octet_string(&ntlm->initReply.opaque, opaque); in krb5_ntlm_init_get_opaque()
1116 krb5_data *opaque) in krb5_ntlm_req_set_opaque() argument
1118 ntlm->request.opaque.data = malloc(opaque->length); in krb5_ntlm_req_set_opaque()
1119 if (ntlm->request.opaque.data == NULL && opaque->length != 0) { in krb5_ntlm_req_set_opaque()
1123 ntlm->request.opaque.length = opaque->length; in krb5_ntlm_req_set_opaque()
[all …]
/freebsd-14.2/sys/crypto/openssl/
H A Dossl_poly1305.c62 if (!poly1305_init(ctx->opaque, key, &ctx->func)) { in Poly1305_Init()
97 poly1305_blocks(ctx->opaque, ctx->data, POLY1305_BLOCK_SIZE, 1); in Poly1305_Update()
112 poly1305_blocks(ctx->opaque, inp, len, 1); in Poly1305_Update()
134 poly1305_blocks(ctx->opaque, ctx->data, POLY1305_BLOCK_SIZE, 0); in Poly1305_Final()
137 poly1305_emit(ctx->opaque, mac, ctx->nonce); in Poly1305_Final()
/freebsd-14.2/sys/dev/enic/
H A Denic_txrx.c329 struct cq_desc *cq_desc, /* struct vnic_wq_buf * *buf, */ void *opaque), in vnic_wq_service() argument
330 void *opaque) in vnic_wq_service()
372 u16 q_number, u16 completed_index, void *opaque) in enic_wq_service() argument
377 completed_index, NULL, opaque); in enic_wq_service()
385 /* struct vnic_rq_buf * *buf, */ int skipped, void *opaque), void *opaque) in vnic_rq_service() argument
388 if_rxd_info_t ri = (if_rxd_info_t) opaque; in vnic_rq_service()
426 u8 type, u16 q_number, u16 completed_index, void *opaque) in enic_rq_service() argument
429 if_rxd_info_t ri = (if_rxd_info_t) opaque; in enic_rq_service()
432 VNIC_RQ_RETURN_DESC, NULL, /* enic_rq_indicate_buf, */ opaque); in enic_rq_service()
/freebsd-14.2/sys/rpc/rpcsec_tls/
H A Dauth_tls.c141 authtls_validate(AUTH *client, uint32_t xid, struct opaque_auth *opaque, in authtls_validate() argument
148 if (opaque != NULL && in authtls_validate()
149 (opaque->oa_length != strsiz || memcmp(opaque->oa_base, in authtls_validate()
/freebsd-14.2/sys/contrib/xen/io/
H A Dring.h407 static inline void name##_read_packet(void *opaque, \
416 memcpy(opaque, buf + *masked_cons, size); \
418 memcpy(opaque, buf + *masked_cons, ring_size - *masked_cons); \
419 memcpy((unsigned char *)opaque + ring_size - *masked_cons, buf, \
426 const void *opaque, \
434 memcpy(buf + *masked_prod, opaque, size); \
436 memcpy(buf + *masked_prod, opaque, ring_size - *masked_prod); \
437 memcpy(buf, (unsigned char *)opaque + (ring_size - *masked_prod), \
/freebsd-14.2/include/rpcsvc/
H A Dkey_prot.x93 typedef opaque keybuf[HEXKEYBYTES]; /* store key in hex */
164 %#ifndef opaque
165 %#define opaque char
H A Drex.x77 opaque chars[4];
152 opaque chars[6];
163 opaque chars[6];
/freebsd-14.2/crypto/heimdal/lib/asn1/
H A Ddigest.asn128 opaque UTF8String, -- server state
49 opaque UTF8String -- same as "DigestInitReply.opaque"
51 -- opaque = hex(cksum(type|serverNonce|identifier|hostname,digest-key))
79 opaque [1] OCTET STRING,
87 opaque [1] OCTET STRING,
/freebsd-14.2/sys/dev/bnxt/bnxt_en/
H A Dbnxt_txrx.c218 avail += cmpl[cons].opaque >> 24; in bnxt_isc_txd_credits_update()
285 rxbd[pidx].opaque = (((rxqid & 0xff) << 24) | (flid << 16) in bnxt_isc_rxd_refill()
467 ri->iri_frags[0].irf_flid = (rcp->opaque >> 16) & 0xff; in bnxt_pkt_get_l2()
468 ri->iri_frags[0].irf_idx = rcp->opaque & 0xffff; in bnxt_pkt_get_l2()
509 ri->iri_frags[i].irf_flid = (acp->opaque >> 16 & 0xff); in bnxt_pkt_get_l2()
510 ri->iri_frags[i].irf_idx = acp->opaque & 0xffff; in bnxt_pkt_get_l2()
549 ri->iri_frags[0].irf_idx = (tpas->low.opaque & 0xffff); in bnxt_pkt_get_tpa()
584 ri->iri_frags[i].irf_flid = ((acp->opaque >> 16) & 0xff); in bnxt_pkt_get_tpa()
585 ri->iri_frags[i].irf_idx = (acp->opaque & 0xffff); in bnxt_pkt_get_tpa()
593 ri->iri_frags[i].irf_flid = ((agend->opaque >> 16) & 0xff); in bnxt_pkt_get_tpa()
[all …]
/freebsd-14.2/contrib/jemalloc/src/
H A Dwitness.c10 witness_comp_t *comp, void *opaque) { in witness_init() argument
14 witness->opaque = opaque; in witness_init()
/freebsd-14.2/contrib/xz/src/liblzma/api/lzma/
H A Dbase.h442 void *(LZMA_API_CALL *alloc)(void *opaque, size_t nmemb, size_t size);
456 void (LZMA_API_CALL *free)(void *opaque, void *ptr);
467 void *opaque; member

12345678910