Home
last modified time | relevance | path

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

12345678910

/freebsd/usr.sbin/bhyve/
H A Dlibslirp.h73 typedef slirp_ssize_t (*SlirpReadCb)(void *buf, size_t len, void *opaque);
75 typedef slirp_ssize_t (*SlirpWriteCb)(const void *buf, size_t len, void *opaque);
77 typedef void (*SlirpTimerCb)(void *opaque);
79 typedef int (*SlirpAddPollCb)(int fd, int events, 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);
110 void *(*timer_new)(SlirpTimerCb cb, void *cb_opaque, void *opaque);
112 void (*timer_free)(void *timer, void *opaque);
114 void (*timer_mod)(void *timer, int64_t expire_time, void *opaque);
[all …]
/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/
H A Dspl_zlib.c37 zcalloc(void *opaque, uint_t items, uint_t size) in zcalloc() argument
39 (void) opaque; in zcalloc()
44 zcfree(void *opaque, void *ptr) in zcfree() argument
46 (void) opaque; in zcfree()
55 stream->opaque = NULL; in zlib_deflateInit()
77 stream->opaque = NULL; in zlib_inflateInit()
140 stream.opaque = NULL; in z_compress_level()
145 stream.opaque = zlib_workspace_alloc(KM_SLEEP); in z_compress_level()
147 if (!stream.opaque) in z_compress_level()
152 zlib_workspace_free(stream.opaque); in z_compress_level()
[all …]
/freebsd/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()
286 voidpf ZLIB_INTERNAL zcalloc(voidpf opaque, unsigned items, unsigned size) { in zcalloc() argument
287 (void)opaque; in zcalloc()
[all …]
/freebsd/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()
254 static void POOL_add_internal(POOL_ctx* ctx, POOL_function function, void *opaque) in POOL_add_internal() argument
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()
279 int POOL_tryAdd(POOL_ctx* ctx, POOL_function function, void* opaque) in POOL_tryAdd() argument
[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/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()
263 POOL_add_internal(POOL_ctx* ctx, POOL_function function, void *opaque) in POOL_add_internal() argument
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()
288 int POOL_tryAdd(POOL_ctx* ctx, POOL_function function, void* opaque) in POOL_tryAdd() argument
[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/lib/libc/isc/
H A Dev_timers.c150 evContext_p *ctx = opaqueCtx.opaque; in evLastEventTime()
185 evContext_p *ctx = opaqueCtx.opaque; in evSetTimer()
227 opaqueID->opaque = id; in evSetTimer()
239 evContext_p *ctx = opaqueCtx.opaque; in evClearTimer()
240 evTimer *del = id.opaque; in evClearTimer()
275 evContext_p *ctx = opaqueCtx.opaque; in evConfigTimer()
276 evTimer *timer = id.opaque; in evConfigTimer()
302 evContext_p *ctx = opaqueCtx.opaque; in evResetTimer()
303 evTimer *timer = id.opaque; in evResetTimer()
361 evContext_p *ctx = opaqueCtx.opaque; in evSetIdleTimer()
[all …]
H A Dev_streams.c65 evContext_p *ctx = opaqueCtx.opaque; in evWrite()
86 id->opaque = new; in evWrite()
99 evContext_p *ctx = opaqueCtx.opaque; in evRead()
120 id->opaque = new; in evRead()
131 evStream *str = id.opaque; in evTimeRW()
142 evStream *str = id.opaque; in evUntimeRW()
152 evContext_p *ctx = opaqueCtx.opaque; in evCancelRW()
153 evStream *old = id.opaque; in evCancelRW()
197 if (old->file.opaque) in evCancelRW()
248 evContext_p *ctx = opaqueCtx.opaque; in done()
[all …]
/freebsd/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/sys/geom/uzip/
H A Dg_uzip_zstd.c115 zstd_alloc(void *opaque, size_t size) in zstd_alloc() argument
117 return (malloc(size, opaque, M_WAITOK)); in zstd_alloc()
121 zstd_free(void *opaque, void *address) in zstd_free() argument
123 free(address, opaque); in zstd_free()
129 .opaque = M_GEOM_UZIP,
/freebsd/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/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()
195 if (digest->request.opaque == NULL) { 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()
[all …]
/freebsd/sys/dev/enic/
H A Denic_txrx.c333 struct cq_desc *cq_desc, /* struct vnic_wq_buf * *buf, */ void *opaque), in vnic_wq_service() argument
334 void *opaque) in vnic_wq_service()
376 u16 q_number, u16 completed_index, void *opaque) in enic_wq_service() argument
381 completed_index, NULL, opaque); in enic_wq_service()
389 /* struct vnic_rq_buf * *buf, */ int skipped, void *opaque), void *opaque) in vnic_rq_service() argument
392 if_rxd_info_t ri = (if_rxd_info_t) opaque; in vnic_rq_service()
437 u8 type, u16 q_number, u16 completed_index, void *opaque) in enic_rq_service() argument
440 if_rxd_info_t ri = (if_rxd_info_t) opaque; in enic_rq_service()
443 VNIC_RQ_RETURN_DESC, NULL, /* enic_rq_indicate_buf, */ opaque); in enic_rq_service()
/freebsd/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/sys/rpc/rpcsec_tls/
H A Dauth_tls.c139 authtls_validate(AUTH *client, uint32_t xid, struct opaque_auth *opaque, in authtls_validate() argument
146 if (opaque != NULL && in authtls_validate()
147 (opaque->oa_length != strsiz || memcmp(opaque->oa_base, in authtls_validate()
/freebsd/sys/dev/bnxt/bnxt_en/
H A Dbnxt_txrx.c113 tbd->opaque = ((pi->ipi_nsegs + need_hi) << 24) | pi->ipi_new_pidx; in bnxt_isc_txd_encap()
217 avail += cmpl[cons].opaque >> 24; in bnxt_isc_txd_credits_update()
284 rxbd[pidx].opaque = (((rxqid & 0xff) << 24) | (flid << 16) in bnxt_isc_rxd_refill()
466 ri->iri_frags[0].irf_flid = (rcp->opaque >> 16) & 0xff; in bnxt_pkt_get_l2()
467 ri->iri_frags[0].irf_idx = rcp->opaque & 0xffff; in bnxt_pkt_get_l2()
508 ri->iri_frags[i].irf_flid = (acp->opaque >> 16 & 0xff); in bnxt_pkt_get_l2()
509 ri->iri_frags[i].irf_idx = acp->opaque & 0xffff; in bnxt_pkt_get_l2()
547 ri->iri_frags[0].irf_flid = ((tpas->low.opaque >> 16) & 0xff); in bnxt_pkt_get_tpa()
548 ri->iri_frags[0].irf_idx = (tpas->low.opaque & 0xffff); in bnxt_pkt_get_tpa()
583 ri->iri_frags[i].irf_flid = ((acp->opaque >> 16) & 0xff); in bnxt_pkt_get_tpa()
[all …]
/freebsd/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/include/rpcsvc/
H A Dkey_prot.x89 typedef opaque keybuf[HEXKEYBYTES]; /* store key in hex */
160 %#ifndef opaque
161 %#define opaque char
H A Dnfs_prot.x95 opaque data[NFS_FHSIZE];
203 opaque data<NFS_MAXDATA>;
221 opaque data<NFS_MAXDATA>;
246 typedef opaque nfscookie[NFS_COOKIESIZE];
309 typedef opaque cookieverf3[NFS3_COOKIEVERFSIZE];
310 typedef opaque createverf3[NFS3_CREATEVERFSIZE];
311 typedef opaque writeverf3[NFS3_WRITEVERFSIZE];
376 opaque data<NFS3_FHSIZE>;
647 opaque data<>;
676 opaque data<>;
H A Drex.x69 opaque chars[4];
144 opaque chars[6];
155 opaque chars[6];
/freebsd/contrib/jemalloc/src/
H A Dwitness.c10 witness_comp_t *comp, void *opaque) { in witness_init() argument
14 witness->opaque = opaque; in witness_init()

12345678910