/freebsd-9.3-release/contrib/bind9/lib/isc/ |
H A D | iterated_hash.c | 32 isc_sha1_t ctx; local 39 isc_sha1_init(&ctx); 40 isc_sha1_update(&ctx, in, inlength); 41 isc_sha1_update(&ctx, salt, saltlength); 42 isc_sha1_final(&ctx, out);
|
H A D | mem.c | 95 isc__mem_t *ctx; member in union:__anon264::__anon265 217 print_active(isc__mem_t *ctx, FILE *out); 251 isc__mem_ondestroy(isc_mem_t *ctx, isc_task_t *task, isc_event_t **event); 253 isc___mem_get(isc_mem_t *ctx, size_t size FLARG); 255 isc___mem_put(isc_mem_t *ctx, void *ptr, size_t size FLARG); 257 isc__mem_stats(isc_mem_t *ctx, FILE *out); 259 isc___mem_allocate(isc_mem_t *ctx, size_t size FLARG); 261 isc___mem_reallocate(isc_mem_t *ctx, void *ptr, size_t size FLARG); 263 isc___mem_free(isc_mem_t *ctx, void *ptr FLARG); 267 isc__mem_setdestroycheck(isc_mem_t *ctx, isc_boolean_ 528 more_basic_blocks(isc__mem_t *ctx) argument 598 more_frags(isc__mem_t *ctx, size_t new_size) argument 660 mem_getunlocked(isc__mem_t *ctx, size_t size) argument 741 mem_putunlocked(isc__mem_t *ctx, void *mem, size_t size) argument 789 mem_get(isc__mem_t *ctx, size_t size) argument 817 mem_put(isc__mem_t *ctx, void *mem, size_t size) argument 833 mem_getstats(isc__mem_t *ctx, size_t size) argument 850 mem_putstats(isc__mem_t *ctx, void *ptr, size_t size) argument 909 isc__mem_t *ctx; local 1055 destroy(isc__mem_t *ctx) argument 1139 isc__mem_t *ctx; local 1171 isc__mem_t *ctx; local 1231 isc__mem_t *ctx; local 1258 isc__mem_t *ctx = (isc__mem_t *)ctx0; local 1270 isc__mem_t *ctx = (isc__mem_t *)ctx0; local 1315 isc__mem_t *ctx = (isc__mem_t *)ctx0; local 1368 isc__mem_t *ctx = (isc__mem_t *)ctx0; local 1426 isc__mem_t *ctx = (isc__mem_t *)ctx0; local 1508 isc__mem_t *ctx = (isc__mem_t *)ctx0; local 1532 isc__mem_t *ctx = (isc__mem_t *)ctx0; local 1578 isc__mem_t *ctx = (isc__mem_t *)ctx0; local 1617 isc__mem_t *ctx = (isc__mem_t *)ctx0; local 1694 isc__mem_t *ctx = (isc__mem_t *)ctx0; local 1710 isc__mem_t *ctx = (isc__mem_t *)ctx0; local 1722 isc__mem_t *ctx = (isc__mem_t *)ctx0; local 1737 isc__mem_t *ctx = (isc__mem_t *)ctx0; local 1754 isc__mem_t *ctx = (isc__mem_t *)ctx0; local 1791 isc__mem_t *ctx = (isc__mem_t *)ctx0; local 1805 isc__mem_t *ctx = (isc__mem_t *)ctx0; local 1818 isc__mem_t *ctx = (isc__mem_t *)ctx0; local 1827 isc__mem_t *ctx = (isc__mem_t *)ctx0; local 2270 isc__mem_t *ctx = (isc__mem_t *)ctx0; local 2313 isc__mem_t *ctx; local 2330 isc__mem_t *ctx = (isc__mem_t *)ctx0; local 2353 renderctx(isc__mem_t *ctx, summarystat_t *summary, xmlTextWriterPtr writer) argument 2448 isc__mem_t *ctx; local [all...] |
H A D | base64.c | 111 base64_decode_init(base64_decode_ctx_t *ctx, int length, isc_buffer_t *target) argument 113 ctx->digits = 0; 114 ctx->seen_end = ISC_FALSE; 115 ctx->length = length; 116 ctx->target = target; 120 base64_decode_char(base64_decode_ctx_t *ctx, int c) { argument 123 if (ctx->seen_end) 127 ctx->val[ctx->digits++] = (int)(s - base64); 128 if (ctx 171 base64_decode_finish(base64_decode_ctx_t *ctx) argument 181 base64_decode_ctx_t ctx; local 211 base64_decode_ctx_t ctx; local [all...] |
/freebsd-9.3-release/contrib/ntp/lib/isc/ |
H A D | iterated_hash.c | 32 isc_sha1_t ctx; local 39 isc_sha1_init(&ctx); 40 isc_sha1_update(&ctx, in, inlength); 41 isc_sha1_update(&ctx, salt, saltlength); 42 isc_sha1_final(&ctx, out);
|
H A D | mem.c | 95 isc__mem_t *ctx; member in union:__anon100::__anon101 216 print_active(isc__mem_t *ctx, FILE *out); 250 isc__mem_ondestroy(isc_mem_t *ctx, isc_task_t *task, isc_event_t **event); 252 isc___mem_get(isc_mem_t *ctx, size_t size FLARG); 254 isc___mem_put(isc_mem_t *ctx, void *ptr, size_t size FLARG); 256 isc__mem_stats(isc_mem_t *ctx, FILE *out); 258 isc___mem_allocate(isc_mem_t *ctx, size_t size FLARG); 260 isc___mem_reallocate(isc_mem_t *ctx, void *ptr, size_t size FLARG); 262 isc___mem_free(isc_mem_t *ctx, void *ptr FLARG); 266 isc__mem_setdestroycheck(isc_mem_t *ctx, isc_boolean_ 527 more_basic_blocks(isc__mem_t *ctx) argument 597 more_frags(isc__mem_t *ctx, size_t new_size) argument 659 mem_getunlocked(isc__mem_t *ctx, size_t size) argument 740 mem_putunlocked(isc__mem_t *ctx, void *mem, size_t size) argument 788 mem_get(isc__mem_t *ctx, size_t size) argument 816 mem_put(isc__mem_t *ctx, void *mem, size_t size) argument 832 mem_getstats(isc__mem_t *ctx, size_t size) argument 849 mem_putstats(isc__mem_t *ctx, void *ptr, size_t size) argument 908 isc__mem_t *ctx; local 1054 destroy(isc__mem_t *ctx) argument 1138 isc__mem_t *ctx; local 1170 isc__mem_t *ctx; local 1230 isc__mem_t *ctx; local 1257 isc__mem_t *ctx = (isc__mem_t *)ctx0; local 1269 isc__mem_t *ctx = (isc__mem_t *)ctx0; local 1314 isc__mem_t *ctx = (isc__mem_t *)ctx0; local 1367 isc__mem_t *ctx = (isc__mem_t *)ctx0; local 1425 isc__mem_t *ctx = (isc__mem_t *)ctx0; local 1502 isc__mem_t *ctx = (isc__mem_t *)ctx0; local 1526 isc__mem_t *ctx = (isc__mem_t *)ctx0; local 1572 isc__mem_t *ctx = (isc__mem_t *)ctx0; local 1607 isc__mem_t *ctx = (isc__mem_t *)ctx0; local 1684 isc__mem_t *ctx = (isc__mem_t *)ctx0; local 1700 isc__mem_t *ctx = (isc__mem_t *)ctx0; local 1712 isc__mem_t *ctx = (isc__mem_t *)ctx0; local 1727 isc__mem_t *ctx = (isc__mem_t *)ctx0; local 1744 isc__mem_t *ctx = (isc__mem_t *)ctx0; local 1781 isc__mem_t *ctx = (isc__mem_t *)ctx0; local 1795 isc__mem_t *ctx = (isc__mem_t *)ctx0; local 1808 isc__mem_t *ctx = (isc__mem_t *)ctx0; local 1817 isc__mem_t *ctx = (isc__mem_t *)ctx0; local 2259 isc__mem_t *ctx = (isc__mem_t *)ctx0; local 2300 isc__mem_t *ctx; local 2317 isc__mem_t *ctx = (isc__mem_t *)ctx0; local 2339 renderctx(isc__mem_t *ctx, summarystat_t *summary, xmlTextWriterPtr writer) argument 2425 isc__mem_t *ctx; local [all...] |
H A D | base64.c | 111 base64_decode_init(base64_decode_ctx_t *ctx, int length, isc_buffer_t *target) argument 113 ctx->digits = 0; 114 ctx->seen_end = ISC_FALSE; 115 ctx->length = length; 116 ctx->target = target; 120 base64_decode_char(base64_decode_ctx_t *ctx, int c) { argument 123 if (ctx->seen_end) 127 ctx->val[ctx->digits++] = s - base64; 128 if (ctx 171 base64_decode_finish(base64_decode_ctx_t *ctx) argument 181 base64_decode_ctx_t ctx; local 211 base64_decode_ctx_t ctx; local [all...] |
/freebsd-9.3-release/crypto/openssl/crypto/evp/ |
H A D | e_des3.c | 68 static int des_ede_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, 71 static int des_ede3_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, 82 # define data(ctx) ((DES_EDE_KEY *)(ctx)->cipher_data) 89 static int des_ede_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, argument 95 &data(ctx)->ks1, &data(ctx)->ks2, 96 &data(ctx)->ks3, ctx->encrypt); 100 static int des_ede_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigne argument 109 des_ede_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, unsigned int inl) argument 129 des_ede_cfb64_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, unsigned int inl) argument 142 des_ede3_cfb1_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, unsigned int inl) argument 161 des_ede3_cfb8_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, unsigned int inl) argument 193 des_ede_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) argument 209 des_ede3_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) argument [all...] |
H A D | e_xcbc_d.c | 68 static int desx_cbc_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, 70 static int desx_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, 79 # define data(ctx) ((DESX_CBC_KEY *)(ctx)->cipher_data) 100 static int desx_cbc_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, argument 105 DES_set_key_unchecked(deskey, &data(ctx)->ks); 106 memcpy(&data(ctx)->inw[0], &key[8], 8); 107 memcpy(&data(ctx)->outw[0], &key[16], 8); 112 static int desx_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, argument 115 DES_xcbc_encrypt(in, out, inl, &data(ctx) [all...] |
H A D | m_ecdsa.c | 119 static int init(EVP_MD_CTX *ctx) argument 121 return SHA1_Init(ctx->md_data); 124 static int update(EVP_MD_CTX *ctx, const void *data, size_t count) argument 126 return SHA1_Update(ctx->md_data, data, count); 129 static int final(EVP_MD_CTX *ctx, unsigned char *md) argument 131 return SHA1_Final(md, ctx->md_data);
|
H A D | e_cast.c | 68 static int cast_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, 75 # define data(ctx) EVP_C_DATA(EVP_CAST_KEY,ctx) 82 static int cast_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, argument 85 CAST_set_key(&data(ctx)->ks, EVP_CIPHER_CTX_key_length(ctx), key);
|
H A D | e_bf.c | 67 static int bf_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, 74 # define data(ctx) EVP_C_DATA(EVP_BF_KEY,ctx) 80 static int bf_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, argument 83 BF_set_key(&data(ctx)->ks, EVP_CIPHER_CTX_key_length(ctx), key);
|
H A D | p_sign.c | 66 void EVP_SignInit(EVP_MD_CTX *ctx, EVP_MD *type) argument 68 EVP_DigestInit_ex(ctx, type); 71 void EVP_SignUpdate(EVP_MD_CTX *ctx, unsigned char *data, unsigned int count) argument 73 EVP_DigestUpdate(ctx, data, count); 77 int EVP_SignFinal(EVP_MD_CTX *ctx, unsigned char *sigret, argument 87 v = ctx->digest->required_pkey_type[i]; 99 if (ctx->digest->sign == NULL) { 104 EVP_MD_CTX_copy_ex(&tmp_ctx, ctx); 105 if (ctx->digest->flags & EVP_MD_FLAG_SVCTX) { 109 i = ctx [all...] |
/freebsd-9.3-release/contrib/wpa/src/crypto/ |
H A D | crypto_internal.c | 36 struct crypto_hash *ctx; local 41 ctx = os_zalloc(sizeof(*ctx)); 42 if (ctx == NULL) 45 ctx->alg = alg; 49 MD5Init(&ctx->u.md5); 52 SHA1Init(&ctx->u.sha1); 56 MD5Init(&ctx->u.md5); 57 MD5Update(&ctx->u.md5, key, key_len); 58 MD5Final(tk, &ctx 99 crypto_hash_update(struct crypto_hash *ctx, const u8 *data, size_t len) argument 117 crypto_hash_finish(struct crypto_hash *ctx, u8 *mac, size_t *len) argument [all...] |
H A D | dh_group5.h | 19 struct wpabuf * dh5_derive_shared(void *ctx, const struct wpabuf *peer_public, 21 void dh5_free(void *ctx);
|
/freebsd-9.3-release/contrib/bind9/lib/isc/include/isc/ |
H A D | hmacsha.h | 79 isc_hmacsha1_init(isc_hmacsha1_t *ctx, const unsigned char *key, 83 isc_hmacsha1_invalidate(isc_hmacsha1_t *ctx); 86 isc_hmacsha1_update(isc_hmacsha1_t *ctx, const unsigned char *buf, 90 isc_hmacsha1_sign(isc_hmacsha1_t *ctx, unsigned char *digest, size_t len); 93 isc_hmacsha1_verify(isc_hmacsha1_t *ctx, unsigned char *digest, size_t len); 97 isc_hmacsha224_init(isc_hmacsha224_t *ctx, const unsigned char *key, 101 isc_hmacsha224_invalidate(isc_hmacsha224_t *ctx); 104 isc_hmacsha224_update(isc_hmacsha224_t *ctx, const unsigned char *buf, 108 isc_hmacsha224_sign(isc_hmacsha224_t *ctx, unsigned char *digest, size_t len); 111 isc_hmacsha224_verify(isc_hmacsha224_t *ctx, unsigne [all...] |
/freebsd-9.3-release/contrib/ntp/lib/isc/include/isc/ |
H A D | hmacsha.h | 79 isc_hmacsha1_init(isc_hmacsha1_t *ctx, const unsigned char *key, 83 isc_hmacsha1_invalidate(isc_hmacsha1_t *ctx); 86 isc_hmacsha1_update(isc_hmacsha1_t *ctx, const unsigned char *buf, 90 isc_hmacsha1_sign(isc_hmacsha1_t *ctx, unsigned char *digest, size_t len); 93 isc_hmacsha1_verify(isc_hmacsha1_t *ctx, unsigned char *digest, size_t len); 97 isc_hmacsha224_init(isc_hmacsha224_t *ctx, const unsigned char *key, 101 isc_hmacsha224_invalidate(isc_hmacsha224_t *ctx); 104 isc_hmacsha224_update(isc_hmacsha224_t *ctx, const unsigned char *buf, 108 isc_hmacsha224_sign(isc_hmacsha224_t *ctx, unsigned char *digest, size_t len); 111 isc_hmacsha224_verify(isc_hmacsha224_t *ctx, unsigne [all...] |
/freebsd-9.3-release/crypto/openssh/ |
H A D | gss-serv.c | 97 ssh_gssapi_acquire_cred(Gssctxt *ctx) argument 104 gss_add_oid_set_member(&status, ctx->oid, &oidset); 111 if (GSS_ERROR(ssh_gssapi_import_name(ctx, lname))) { 113 return (ctx->major); 116 if ((ctx->major = gss_acquire_cred(&ctx->minor, 117 ctx->name, 0, oidset, GSS_C_ACCEPT, &ctx->creds, NULL, NULL))) 118 ssh_gssapi_error(ctx); 121 return (ctx 126 ssh_gssapi_server_ctx(Gssctxt **ctx, gss_OID oid) argument 168 ssh_gssapi_accept_ctx(Gssctxt *ctx, gss_buffer_desc *recv_tok, gss_buffer_desc *send_tok, OM_uint32 *flags) argument 208 ssh_gssapi_parse_ename(Gssctxt *ctx, gss_buffer_t ename, gss_buffer_t name) argument 268 ssh_gssapi_getclient(Gssctxt *ctx, ssh_gssapi_client *client) argument 379 ssh_gssapi_checkmic(Gssctxt *ctx, gss_buffer_t gssbuf, gss_buffer_t gssmic) argument [all...] |
H A D | umac.h | 61 int umac_reset(struct umac_ctx *ctx); 65 int umac_update(struct umac_ctx *ctx, const u_char *input, long len); 66 /* Incorporate len bytes pointed to by input into context ctx */ 68 int umac_final(struct umac_ctx *ctx, u_char tag[], const u_char nonce[8]); 73 int umac_delete(struct umac_ctx *ctx); 77 int umac(struct umac_ctx *ctx, u_char *input, 98 int uhash_free(uhash_ctx_t ctx); 100 int uhash_set_params(uhash_ctx_t ctx, 103 int uhash_reset(uhash_ctx_t ctx); 105 int uhash_update(uhash_ctx_t ctx, [all...] |
H A D | hmac.c | 64 ssh_hmac_init(struct ssh_hmac_ctx *ctx, const void *key, size_t klen) argument 71 if (klen <= ctx->buf_len) 72 memcpy(ctx->buf, key, klen); 73 else if (ssh_digest_memory(ctx->alg, key, klen, ctx->buf, 74 ctx->buf_len) < 0) 76 for (i = 0; i < ctx->buf_len; i++) 77 ctx->buf[i] ^= 0x36; 78 if (ssh_digest_update(ctx->ictx, ctx 93 ssh_hmac_update(struct ssh_hmac_ctx *ctx, const void *m, size_t mlen) argument 99 ssh_hmac_update_buffer(struct ssh_hmac_ctx *ctx, const Buffer *b) argument 105 ssh_hmac_final(struct ssh_hmac_ctx *ctx, u_char *d, size_t dlen) argument 122 ssh_hmac_free(struct ssh_hmac_ctx *ctx) argument 143 struct ssh_hmac_ctx *ctx; local [all...] |
/freebsd-9.3-release/lib/libusb/ |
H A D | libusb10.h | 32 #define GET_CONTEXT(ctx) (((ctx) == NULL) ? usbi_default_context : (ctx)) 34 #define CTX_LOCK(ctx) pthread_mutex_lock(&(ctx)->ctx_lock) 35 #define CTX_TRYLOCK(ctx) pthread_mutex_trylock(&(ctx)->ctx_lock) 36 #define CTX_UNLOCK(ctx) pthread_mutex_unlock(&(ctx)->ctx_lock) 38 #define DPRINTF(ctx, db 102 struct libusb_context *ctx; member in struct:libusb_device [all...] |
H A D | libusb10_io.c | 46 libusb10_add_pollfd(libusb_context *ctx, struct libusb_super_pollfd *pollfd, argument 49 if (ctx == NULL) 62 CTX_LOCK(ctx); 63 TAILQ_INSERT_TAIL(&ctx->pollfds, pollfd, entry); 64 CTX_UNLOCK(ctx); 66 if (ctx->fd_added_cb) 67 ctx->fd_added_cb(fd, events, ctx->fd_cb_user_data); 71 libusb10_remove_pollfd(libusb_context *ctx, struct libusb_super_pollfd *pollfd) argument 73 if (ctx 91 libusb10_handle_events_sub(struct libusb_context *ctx, struct timeval *tv) argument 227 libusb_try_lock_events(libusb_context *ctx) argument 249 libusb_lock_events(libusb_context *ctx) argument 258 libusb_unlock_events(libusb_context *ctx) argument 269 libusb_event_handling_ok(libusb_context *ctx) argument 276 libusb_event_handler_active(libusb_context *ctx) argument 283 libusb_lock_event_waiters(libusb_context *ctx) argument 290 libusb_unlock_event_waiters(libusb_context *ctx) argument 297 libusb_wait_for_event(libusb_context *ctx, struct timeval *tv) argument 334 libusb_handle_events_timeout_completed(libusb_context *ctx, struct timeval *tv, int *completed) argument 363 libusb_handle_events_completed(libusb_context *ctx, int *completed) argument 369 libusb_handle_events_timeout(libusb_context *ctx, struct timeval *tv) argument 375 libusb_handle_events(libusb_context *ctx) argument 381 libusb_handle_events_locked(libusb_context *ctx, struct timeval *tv) argument 398 libusb_get_next_timeout(libusb_context *ctx, struct timeval *tv) argument 406 libusb_set_pollfd_notifiers(libusb_context *ctx, libusb_pollfd_added_cb added_cb, libusb_pollfd_removed_cb removed_cb, void *user_data) argument 418 libusb_get_pollfds(libusb_context *ctx) argument 488 libusb_context *ctx; local 508 libusb_context *ctx; local 578 libusb_context *ctx; local 596 libusb_context *ctx; local [all...] |
/freebsd-9.3-release/crypto/openssl/crypto/ |
H A D | LPdir_vms.c | 61 const char *LP_find_file(LP_DIR_CTX **ctx, const char *directory) argument 71 if (ctx == NULL || directory == NULL) { 77 if (*ctx == NULL) { 107 *ctx = (LP_DIR_CTX *)malloc(sizeof(LP_DIR_CTX)); 108 if (*ctx == NULL) { 112 memset(*ctx, '\0', sizeof(LP_DIR_CTX)); 114 strcpy((*ctx)->filespec, directory); 115 strcat((*ctx)->filespec, "*.*;"); 116 (*ctx)->filespec_dsc.dsc$w_length = filespeclen; 117 (*ctx) 172 LP_find_file_end(LP_DIR_CTX **ctx) argument [all...] |
/freebsd-9.3-release/contrib/bind9/lib/lwres/ |
H A D | context.c | 50 lwres_context_initserial() sets the serial number for context *ctx to 62 lwres_context_sendrecv() performs I/O for the context ctx. Data are 156 lwres_context_t *ctx; local 171 ctx = malloc_function(arg, sizeof(lwres_context_t)); 172 if (ctx == NULL) 178 ctx->malloc = malloc_function; 179 ctx->free = free_function; 180 ctx->arg = arg; 181 ctx->sock = -1; 183 ctx 218 lwres_context_t *ctx; local 237 lwres_context_nextserial(lwres_context_t *ctx) argument 245 lwres_context_initserial(lwres_context_t *ctx, lwres_uint32_t serial) argument 253 lwres_context_freemem(lwres_context_t *ctx, void *mem, size_t len) argument 262 lwres_context_allocmem(lwres_context_t *ctx, size_t len) argument 292 context_connect(lwres_context_t *ctx) argument 378 lwres_context_getsocket(lwres_context_t *ctx) argument 383 lwres_context_send(lwres_context_t *ctx, void *sendbase, int sendlen) argument 405 lwres_context_recv(lwres_context_t *ctx, void *recvbase, int recvlen, int *recvd_len) argument 464 lwres_context_sendrecv(lwres_context_t *ctx, void *sendbase, int sendlen, void *recvbase, int recvlen, int *recvd_len) argument [all...] |
/freebsd-9.3-release/usr.bin/ctlstat/ |
H A D | ctlstat.c | 106 #define F_CPU(ctx) ((ctx)->flags & CTLSTAT_FLAG_CPU) 107 #define F_HDR(ctx) ((ctx)->flags & CTLSTAT_FLAG_HEADER) 108 #define F_FIRST(ctx) ((ctx)->flags & CTLSTAT_FLAG_FIRST_RUN) 109 #define F_TOTALS(ctx) ((ctx)->flags & CTLSTAT_FLAG_TOTALS) 110 #define F_DMA(ctx) ((ctx) 335 ctlstat_dump(struct ctlstat_context *ctx) argument 368 ctlstat_json(struct ctlstat_context *ctx) argument 406 ctlstat_standard(struct ctlstat_context *ctx) argument 602 struct ctlstat_context ctx; local [all...] |
/freebsd-9.3-release/usr.sbin/uhsoctl/ |
H A D | uhsoctl.c | 96 struct ctx { struct 140 static void daemonize(struct ctx *); 252 #define watchdog_enable(ctx) (ctx)->flags |= FLG_WATCHDOG 253 #define watchdog_disable(ctx) (ctx)->flags &= ~FLG_WATCHDOG 256 watchdog_reset(struct ctx *ctx, int timeout) argument 261 ctx->watchdog = tp.tv_sec + timeout; 263 watchdog_enable(ctx); 269 struct ctx *ctx = arg; local 278 struct ctx *ctx = arg; local 287 struct ctx *ctx = arg; local 296 struct ctx *ctx = arg; local 442 set_nameservers(struct ctx *ctx, const char *respath, int ns, ...) argument 578 at_cmd(struct ctx *ctx, const char *resp, resp_cb cb, resp_arg *ra, const char *cf, ...) argument 722 struct ctx *ctx = arg; local 749 struct ctx *ctx = arg; local 777 struct ctx *ctx = arg; local 826 struct ctx *ctx = arg; local 845 struct ctx *ctx = arg; local 872 struct ctx *ctx = arg; local 986 at_async(struct ctx *ctx, void *arg) argument 1021 get_tty(struct ctx *ctx) argument 1133 do_connect(struct ctx *ctx, const char *tty) argument 1259 do_disconnect(struct ctx *ctx) argument 1288 daemonize(struct ctx *ctx) argument 1365 struct ctx ctx; local [all...] |