| /freebsd/crypto/openssl/include/internal/ |
| H A D | quic_srtm.h | 34 * (opaque pointer, sequence number) [1] <-> [0..n] SRT 36 * The (opaque pointer, sequence number) tuple is used to refer to an entry (for 38 * Likewise, an entry can be looked up using SRT to get the opaque pointer and 42 * multiple (opaque pointer, sequence number) tuples, for example, if we 47 * SRTs for different (opaque pointer, sequence number) keys. 50 * identified by a (opaque pointer, sequence number) key, and mass deletion of 51 * all entries under a specific opaque pointer. It supports lookup by SRT to 52 * identify zero or more corresponding (opaque pointer, sequence number) tuples. 54 * The opaque pointer may be used for any purpose but is intended to represent a 65 * Add a (opaque, seq_num) -> SRT entry to the SRTM. This operation fails if a [all …]
|
| H A D | quic_lcidm.h | 32 * An opaque pointer can be associated with each LCID. Pointer identity 64 * contents of the opaque retry token.) Thus, the LCIDM is not actually involved 116 * reception) currently associated with the given opaque pointer. 119 void *opaque); 143 int ossl_quic_lcidm_enrol_odcid(QUIC_LCIDM *lcidm, void *opaque, 154 int ossl_quic_lcidm_retire_odcid(QUIC_LCIDM *lcidm, void *opaque); 157 * Create the first LCID for a given opaque pointer. The generated LCID is 158 * written to *initial_lcid and associated with the given opaque pointer. 163 * May not be called more than once for a given opaque pointer value. 166 void *opaque, [all …]
|
| /freebsd/crypto/openssl/ssl/quic/ |
| H A D | quic_lcidm.c | 52 void *opaque; member 64 LHASH_OF(QUIC_LCIDM_CONN) *conns; /* (void *opaque) -> (QUIC_LCIDM_CONN *) */ 95 return (unsigned long)(uintptr_t)conn->opaque; in lcidm_conn_hash() 100 return a->opaque != b->opaque; in lcidm_conn_comp() 189 static QUIC_LCIDM_CONN *lcidm_get0_conn(const QUIC_LCIDM *lcidm, void *opaque) in lcidm_get0_conn() argument 193 key.opaque = opaque; in lcidm_get0_conn() 198 static QUIC_LCIDM_CONN *lcidm_upsert_conn(const QUIC_LCIDM *lcidm, void *opaque) in lcidm_upsert_conn() argument 200 QUIC_LCIDM_CONN *conn = lcidm_get0_conn(lcidm, opaque); in lcidm_upsert_conn() 211 conn->opaque = opaque; in lcidm_upsert_conn() 292 void *opaque) in ossl_quic_lcidm_get_num_active_lcid() argument [all …]
|
| H A D | quic_srtm.c | 27 * The SRTM is implemented using two LHASH instances, one matching opaque pointers to 29 * structure. Multiple items with different seq_num values under a given opaque, 33 * total number of entries for a given opaque (total number of extant CIDs for a 37 * opaque. 43 SRTM_ITEM *next_by_srt_blinded; /* SORT BY opaque DESC */ 45 void *opaque; /* \__ unique identity for item */ member 59 LHASH_OF(SRTM_ITEM) *items_fwd; /* (opaque) -> SRTM_ITEM */ 71 return (unsigned long)(uintptr_t)item->opaque; in items_fwd_hash() 76 return a->opaque != b->opaque; in items_fwd_cmp() 180 * Find a SRTM_ITEM by (opaque, seq_num). Returns NULL if no match. [all …]
|
| /freebsd/crypto/openssl/test/ |
| H A D | quic_srtm_test.c | 27 void *opaque = NULL; in test_srtm() local 46 || !TEST_true(ossl_quic_srtm_lookup(srtm, &token_1, 0, &opaque, &seq_num)) in test_srtm() 47 || !TEST_ptr_eq(opaque, ptrs + 1) in test_srtm() 49 || !TEST_true(ossl_quic_srtm_lookup(srtm, &token_1, 1, &opaque, &seq_num)) in test_srtm() 50 || !TEST_ptr_eq(opaque, ptrs + 0) in test_srtm() 52 || !TEST_true(ossl_quic_srtm_lookup(srtm, &token_1, 2, &opaque, &seq_num)) in test_srtm() 53 || !TEST_ptr_eq(opaque, ptrs + 0) in test_srtm() 55 || !TEST_true(ossl_quic_srtm_lookup(srtm, &token_1, 3, &opaque, &seq_num)) in test_srtm() 56 || !TEST_ptr_eq(opaque, ptrs + 0) in test_srtm() 58 || !TEST_true(ossl_quic_srtm_lookup(srtm, &token_1, 4, &opaque, &seq_num)) in test_srtm() [all …]
|
| H A D | quic_lcidm_test.c | 28 void *opaque = NULL; in test_lcidm() local 59 || !TEST_true(ossl_quic_lcidm_lookup(lcidm, &lcid_1, &seq_num, &opaque)) in test_lcidm() 60 || !TEST_ptr_eq(opaque, ptrs + 2) in test_lcidm() 63 &seq_num, &opaque)) in test_lcidm() 64 || !TEST_ptr_eq(opaque, ptrs + 2) in test_lcidm() 67 &seq_num, &opaque)) in test_lcidm() 68 || !TEST_ptr_eq(opaque, ptrs + 2) in test_lcidm() 71 &seq_num, &opaque)) in test_lcidm() 72 || !TEST_ptr_eq(opaque, ptrs + 2) in test_lcidm() 87 &seq_num, &opaque)) in test_lcidm() [all …]
|
| /freebsd/usr.sbin/bhyve/ |
| H A D | libslirp.h | 60 /* Opaque structure containing the slirp state */ 73 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); 92 * The opaque parameter is set to the opaque pointer given in the slirp_new / 97 * Send an ethernet frame to the guest network. The opaque parameter is the 105 void (*guest_error)(const char *msg, void *opaque); 107 int64_t (*clock_get_ns)(void *opaque); [all …]
|
| /freebsd/contrib/mandoc/ |
| H A D | mandoc_headers.3 | 68 Note that mere usage of an opaque struct type does 188 as opaque struct members. 244 Uses the opaque type 253 as an opaque type for function prototypes. 289 as an opaque type for function prototypes. 330 as opaque types for function prototypes. 344 as an opaque type for function prototypes. 371 Uses the opaque type 380 as an opaque type for function prototypes. 426 as opaque types for function prototypes. [all …]
|
| /freebsd/sys/contrib/openzfs/module/os/freebsd/spl/ |
| H A D | spl_zlib.c | 38 zcalloc(void *opaque, uint_t items, uint_t size) in zcalloc() argument 40 (void) opaque; in zcalloc() 45 zcfree(void *opaque, void *ptr) in zcfree() argument 47 (void) opaque; in zcfree() 56 stream->opaque = NULL; in zlib_deflateInit() 78 stream->opaque = NULL; in zlib_inflateInit() 141 stream.opaque = NULL; in z_compress_level() 146 stream.opaque = zlib_workspace_alloc(KM_SLEEP); in z_compress_level() 148 if (!stream.opaque) in z_compress_level() 153 zlib_workspace_free(stream.opaque); in z_compress_level() [all …]
|
| /freebsd/sys/dev/isci/scil/ |
| H A D | sci_types.h | 95 * @brief This typedef just provides an opaque handle for all SCI 102 * @brief This typedef just provides an opaque handle for all SCI 110 * opaque handle for the various SCI IO Request objects. 117 * opaque handle for the various SCI Task Management Request objects. 123 * @brief This typedef just provides an opaque handle for all SCI 131 * an opaque handle for the SCI remote device object. 137 * @brief This typedef just provides an opaque handle for all SCI 144 * @brief This typedef just provides an opaque handle for all SCI 152 * users as an opaque handle for the SCI MEMORY DESCRIPTOR LIST object. 159 * opaque handle for the SCI LOCK object. A lock denotes a [all …]
|
| /freebsd/sys/contrib/zstd/lib/common/ |
| H A D | pool.c | 28 /* A job is a function and an opaque argument */ 31 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() [all …]
|
| H A D | pool.h | 64 * Add the job `function(opaque)` to the thread pool. `ctx` must be valid. 67 * therefore, `opaque` must live until function has been completed. 69 void POOL_add(POOL_ctx* ctx, POOL_function function, void* opaque); 73 * Add the job `function(opaque)` to thread pool _if_ a queue slot is available. 77 int POOL_tryAdd(POOL_ctx* ctx, POOL_function function, void* opaque);
|
| /freebsd/sys/contrib/openzfs/module/zstd/lib/common/ |
| H A D | pool.c | 29 /* A job is a function and an opaque argument */ 32 void *opaque; member 68 static void* POOL_thread(void* opaque) { in POOL_thread() argument 69 POOL_ctx* const ctx = (POOL_ctx*)opaque; in POOL_thread() 82 return opaque; in POOL_thread() 95 job.function(job.opaque); in POOL_thread() 255 static void POOL_add_internal(POOL_ctx* ctx, POOL_function function, void *opaque) in POOL_add_internal() argument 257 POOL_job const job = {function, opaque}; in POOL_add_internal() 267 void POOL_add(POOL_ctx* ctx, POOL_function function, void* opaque) in POOL_add() argument 275 POOL_add_internal(ctx, function, opaque); in POOL_add() [all …]
|
| H A D | pool.h | 65 * Add the job `function(opaque)` to the thread pool. `ctx` must be valid. 68 * therefore, `opaque` must live until function has been completed. 70 void POOL_add(POOL_ctx* ctx, POOL_function function, void* opaque); 74 * Add the job `function(opaque)` to thread pool _if_ a worker is available. 78 int POOL_tryAdd(POOL_ctx* ctx, POOL_function function, void* opaque);
|
| /freebsd/lib/libc/isc/ |
| H A D | ev_timers.c | 150 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 D | ev_streams.c | 65 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/sys/contrib/zlib/ |
| H A D | zutil.c | 202 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/xen/ |
| H A D | xen_intr.h | 57 * \param handlep Pointer to an opaque handle used to manage this 81 * \param handlep Pointer to an opaque handle used to manage this 105 * \param handlep Pointer to an opaque handle used to manage this 130 * \param handlep Pointer to an opaque handle used to manage this 147 * \param handlep Pointer to an opaque handle used to manage this 159 * \param handlep A pointer to the opaque handle that was initialized 175 * \param handle The opaque handle that was initialized at the time 191 * \param handle The opaque handle that was initialized at the time 203 * \param handle The opaque handle that was initialized at the time 221 * \param handle Opaque handle used to manage this registration. [all …]
|
| /freebsd/sys/dev/bnxt/bnxt_en/ |
| H A D | bnxt_txrx.c | 113 /* No need to byte-swap the opaque value */ in bnxt_isc_txd_encap() 114 tbd->opaque = ((pi->ipi_nsegs + need_hi) << 24) | pi->ipi_new_pidx; in bnxt_isc_txd_encap() 247 /* No need to byte-swap the opaque value */ in bnxt_isc_txd_credits_update() 248 avail += cmpl[cons].opaque >> 24; in bnxt_isc_txd_credits_update() 317 /* No need to byte-swap the opaque value */ in bnxt_isc_rxd_refill() 318 rxbd[pidx].opaque = (((rxqid & 0xff) << 24) | (flid << 16) in bnxt_isc_rxd_refill() 507 /* No need to byte-swap the opaque value */ in bnxt_pkt_get_l2() 508 ri->iri_frags[0].irf_flid = (rcp->opaque >> 16) & 0xff; in bnxt_pkt_get_l2() 509 ri->iri_frags[0].irf_idx = rcp->opaque & 0xffff; in bnxt_pkt_get_l2() 551 /* No need to byte-swap the opaque value */ in bnxt_pkt_get_l2() [all …]
|
| /freebsd/lib/libc/include/isc/ |
| H A D | eventlib.h | 46 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/contrib/sendmail/libmilter/ |
| H A D | smfi.c | 27 ** ctx -- Opaque context structure 81 ** ctx -- Opaque context structure 105 ** ctx -- Opaque context structure 131 ** ctx -- Opaque context structure 160 ** ctx -- Opaque context structure 225 ** ctx -- Opaque context structure 286 ** ctx -- Opaque context structure 311 ** ctx -- Opaque context structure 348 ** ctx -- Opaque context structure 373 ** ctx -- Opaque context structure [all …]
|
| /freebsd/crypto/openssl/doc/man1/ |
| H A D | openssl-skeyutl.pod.in | 6 openssl-skeyutl - opaque symmetric keys routines 23 This tool is designed for managing opaque symmetric keys. 39 Some providers may support opaque symmetric keys objects. To use them, we need 47 To obtain an existing opaque symmetric key or to generate a new one, key 53 Generate a new opaque key object.
|
| /freebsd/contrib/libxo/libxo/ |
| H A D | xo_set_writer.3 | 26 .Fn xo_set_writer "xo_handle_t *handle" "void *opaque" 40 .Fa opaque 49 release this opaque data and any other resources as needed. 53 flush any pending data associated with the opaque pointer.
|
| /freebsd/crypto/openssl/fuzz/ |
| H A D | quic-lcidm.c | 32 * ENROL_ODCID u0(0x00) u64(opaque) u8(cidl):cid 33 * RETIRE_ODCID u8(0x01) u64(opaque) 34 * GENERATE_INITIAL u8(0x02) u64(opaque) 35 * GENERATE u8(0x03) u64(opaque) 36 * RETIRE u8(0x04) u64(opaque) u64(retire_prior_to) 37 * CULL u8(0x05) u64(opaque)
|
| /freebsd/contrib/tcpdump/ |
| H A D | ospf.h | 43 #define OSPF_OPTION_O 0x40 /* O bit: Opaque LSA capable */ 68 #define LS_TYPE_OPAQUE_LL 9 /* rfc2370 - Opaque Link Local */ 69 #define LS_TYPE_OPAQUE_AL 10 /* rfc2370 - Opaque Link Local */ 70 #define LS_TYPE_OPAQUE_DW 11 /* rfc2370 - Opaque Domain Wide */ 172 struct { /* opaque LSAs change the LSA-ID field */ 229 /* Opaque TE LSA */ 236 /* Opaque Grace LSA */ 243 /* Opaque Router information LSA */ 300 struct { /* opaque LSAs change the LSA-ID field */
|