Home
last modified time | relevance | path

Searched refs:spctx (Results 1 – 3 of 3) sorted by relevance

/freebsd-14.2/contrib/openbsm/bin/auditdistd/
H A Dproto_socketpair.c58 struct sp_ctx *spctx; in sp_connect() local
69 spctx = malloc(sizeof(*spctx)); in sp_connect()
70 if (spctx == NULL) in sp_connect()
75 free(spctx); in sp_connect()
81 *ctxp = spctx; in sp_connect()
89 struct sp_ctx *spctx; in sp_wrap() local
93 spctx = malloc(sizeof(*spctx)); in sp_wrap()
94 if (spctx == NULL) in sp_wrap()
107 *ctxp = spctx; in sp_wrap()
245 spctx->sp_magic = 0; in sp_close()
[all …]
/freebsd-14.2/sbin/hastd/
H A Dproto_socketpair.c60 struct sp_ctx *spctx; in sp_client() local
68 spctx = malloc(sizeof(*spctx)); in sp_client()
69 if (spctx == NULL) in sp_client()
74 free(spctx); in sp_client()
80 *ctxp = spctx; in sp_client()
104 spctx->sp_fd[1] = -1; in sp_send()
143 spctx->sp_fd[0] = -1; in sp_recv()
146 fd = spctx->sp_fd[1]; in sp_recv()
150 fd = spctx->sp_fd[0]; in sp_recv()
218 spctx->sp_magic = 0; in sp_close()
[all …]
/freebsd-14.2/sys/crypto/via/
H A Dpadlock_hash.c231 struct padlock_sha_ctx *spctx = sctx, *dpctx = dctx; in padlock_copy_ctx() local
233 dpctx->psc_offset = spctx->psc_offset; in padlock_copy_ctx()
234 dpctx->psc_size = spctx->psc_size; in padlock_copy_ctx()
236 bcopy(spctx->psc_buf, dpctx->psc_buf, dpctx->psc_size); in padlock_copy_ctx()