Searched refs:resp (Results 1 - 25 of 313) sorted by relevance

1234567891011>>

/freebsd-10-stable/sys/dev/sound/pci/
H A Dcsavar.h57 void csa_clearserialfifos(csa_res *resp);
61 int csa_readcodec(csa_res *resp, u_long offset, u_int32_t *data);
62 int csa_writecodec(csa_res *resp, u_long offset, u_int32_t data);
64 u_int32_t csa_readio(csa_res *resp, u_long offset);
65 void csa_writeio(csa_res *resp, u_long offset, u_int32_t data);
66 u_int32_t csa_readmem(csa_res *resp, u_long offset);
67 void csa_writemem(csa_res *resp, u_long offset, u_int32_t data);
69 void csa_resetdsp(csa_res *resp);
H A Dcsa.c97 static int csa_downloadimage(csa_res *resp);
98 static int csa_transferimage(csa_res *resp, u_int32_t *src, u_long dest, u_long len);
247 csa_res *resp; local
260 resp = &scp->res;
264 resp->io_rid = PCIR_BAR(0);
265 resp->io = bus_alloc_resource_any(dev, SYS_RES_MEMORY,
266 &resp->io_rid, RF_ACTIVE);
267 if (resp->io == NULL)
269 resp->mem_rid = PCIR_BAR(1);
270 resp
341 csa_res *resp; local
380 csa_res *resp; local
405 csa_res *resp; local
460 csa_res *resp; local
506 csa_res *resp; local
543 csa_res *resp; local
581 csa_res *resp; local
776 csa_clearserialfifos(csa_res *resp) argument
827 csa_resetdsp(csa_res *resp) argument
857 csa_downloadimage(csa_res *resp) argument
879 csa_transferimage(csa_res *resp, u_int32_t *src, u_long dest, u_long len) argument
903 csa_readcodec(csa_res *resp, u_long offset, u_int32_t *data) argument
997 csa_writecodec(csa_res *resp, u_long offset, u_int32_t data) argument
1050 csa_readio(csa_res *resp, u_long offset) argument
1064 csa_writeio(csa_res *resp, u_long offset, u_int32_t data) argument
1073 csa_readmem(csa_res *resp, u_long offset) argument
1079 csa_writemem(csa_res *resp, u_long offset, u_int32_t data) argument
[all...]
H A Dcsapcm.c86 static void csa_setplaysamplerate(csa_res *resp, u_long ulInRate);
87 static void csa_setcapturesamplerate(csa_res *resp, u_long ulOutRate);
92 static int csa_startdsp(csa_res *resp);
93 static int csa_stopdsp(csa_res *resp);
174 csa_setplaysamplerate(csa_res *resp, u_long ulInRate) argument
215 csa_writemem(resp, BA1_PSRC, ((ulCorrectionPerSec << 16) & 0xFFFF0000) | (ulCorrectionPerGOF & 0xFFFF));
216 csa_writemem(resp, BA1_PPI, ulPhiIncr);
220 csa_setcapturesamplerate(csa_res *resp, u_long ulOutRate) argument
288 csa_writemem(resp, BA1_CSRC,
290 csa_writemem(resp, BA1_CC
336 csa_res *resp; local
352 csa_res *resp; local
368 csa_res *resp; local
395 csa_res *resp; local
420 csa_startdsp(csa_res *resp) argument
467 csa_stopdsp(csa_res *resp) argument
482 csa_res *resp = &csa->res; local
600 csa_res *resp; local
659 csa_res *resp; local
689 csa_res *resp; local
728 csa_res *resp; local
777 csa_res *resp; local
944 csa_res *resp; local
989 csa_res *resp; local
[all...]
/freebsd-10-stable/contrib/pam_modules/pam_passwdqc/
H A Dpam_macros.h21 if ((reply)[i].resp) { \
22 _pam_overwrite((reply)[i].resp); \
23 free((reply)[i].resp); \
/freebsd-10-stable/usr.sbin/timed/timed/
H A Dcandidate.c49 struct tsp *resp, msg; local
92 resp = readmsg(TSP_ANY, ANYADDR, &wait, net);
93 if (!resp)
96 switch (resp->tsp_type) {
99 (void)addmach(resp->tsp_name, &from,fromnet);
109 && !good_host_name(resp->tsp_name)) {
110 (void)addmach(resp->tsp_name, &from,fromnet);
111 suppress(&from, resp->tsp_name, net);
135 htp = addmach(resp->tsp_name,&from,fromnet);
147 (void)addmach(resp
[all...]
/freebsd-10-stable/contrib/ofed/libibverbs/src/
H A Dcmd.c51 struct ibv_get_context_resp *resp,
68 IBV_INIT_CMD_RESP(cmd, cmd_size, GET_CONTEXT, resp, resp_size);
74 VALGRIND_MAKE_MEM_DEFINED(resp, resp_size);
76 context->async_fd = resp->async_fd;
87 size_t cmd_size, struct ibv_get_context_resp *resp,
91 return ibv_cmd_get_context_v2(context, cmd, cmd_size, resp, resp_size);
93 IBV_INIT_CMD_RESP(cmd, cmd_size, GET_CONTEXT, resp, resp_size);
98 VALGRIND_MAKE_MEM_DEFINED(resp, resp_size);
100 context->async_fd = resp->async_fd;
101 context->num_comp_vectors = resp
48 ibv_cmd_get_context_v2(struct ibv_context *context, struct ibv_get_context *new_cmd, size_t new_cmd_size, struct ibv_get_context_resp *resp, size_t resp_size) argument
86 ibv_cmd_get_context(struct ibv_context *context, struct ibv_get_context *cmd, size_t cmd_size, struct ibv_get_context_resp *resp, size_t resp_size) argument
111 struct ibv_query_device_resp resp; local
169 struct ibv_query_port_resp resp; local
204 ibv_cmd_alloc_pd(struct ibv_context *context, struct ibv_pd *pd, struct ibv_alloc_pd *cmd, size_t cmd_size, struct ibv_alloc_pd_resp *resp, size_t resp_size) argument
234 ibv_cmd_reg_mr(struct ibv_pd *pd, void *addr, size_t length, uint64_t hca_va, int access, struct ibv_mr *mr, struct ibv_reg_mr *cmd, size_t cmd_size, struct ibv_reg_mr_resp *resp, size_t resp_size) argument
275 ibv_cmd_create_cq_v2(struct ibv_context *context, int cqe, struct ibv_cq *cq, struct ibv_create_cq *new_cmd, size_t new_cmd_size, struct ibv_create_cq_resp *resp, size_t resp_size) argument
304 ibv_cmd_create_cq(struct ibv_context *context, int cqe, struct ibv_comp_channel *channel, int comp_vector, struct ibv_cq *cq, struct ibv_create_cq *cmd, size_t cmd_size, struct ibv_create_cq_resp *resp, size_t resp_size) argument
336 struct ibv_poll_cq_resp *resp; local
394 ibv_cmd_resize_cq(struct ibv_cq *cq, int cqe, struct ibv_resize_cq *cmd, size_t cmd_size, struct ibv_resize_cq_resp *resp, size_t resp_size) argument
429 struct ibv_destroy_cq_resp resp; local
452 ibv_cmd_create_srq(struct ibv_pd *pd, struct ibv_srq *srq, struct ibv_srq_init_attr *attr, struct ibv_create_srq *cmd, size_t cmd_size, struct ibv_create_srq_resp *resp, size_t resp_size) argument
487 ibv_cmd_create_xrc_srq(struct ibv_pd *pd, struct ibv_srq *srq, struct ibv_srq_init_attr *attr, uint32_t xrcd_handle, uint32_t xrc_cq, struct ibv_create_xrc_srq *cmd, size_t cmd_size, struct ibv_create_srq_resp *resp, size_t resp_size) argument
568 struct ibv_query_srq_resp resp; local
602 struct ibv_destroy_srq_resp resp; local
624 ibv_cmd_create_qp(struct ibv_pd *pd, struct ibv_qp *qp, struct ibv_qp_init_attr *attr, struct ibv_create_qp *cmd, size_t cmd_size, struct ibv_create_qp_resp *resp, size_t resp_size) argument
689 struct ibv_query_qp_resp resp; local
836 struct ibv_create_xrc_rcv_qp_resp resp; local
937 struct ibv_query_qp_resp resp; local
1031 struct ibv_post_send_resp resp; local
1121 struct ibv_post_recv_resp resp; local
1182 struct ibv_post_srq_recv_resp resp; local
1243 struct ibv_create_ah_resp resp; local
1287 struct ibv_destroy_qp_resp resp; local
1341 ibv_cmd_open_xrc_domain(struct ibv_context *context, int fd, int oflag, struct ibv_xrc_domain *d, struct ibv_open_xrc_domain_resp *resp, size_t resp_size) argument
[all...]
/freebsd-10-stable/contrib/openpam/lib/libpam/
H A Dopenpam_nullconv.c57 struct pam_response **resp,
64 (void)resp;
55 openpam_nullconv(int n, const struct pam_message **msg, struct pam_response **resp, void *data) argument
H A Dpam_prompt.c58 char **resp,
66 r = pam_vprompt(pamh, style, resp, fmt, ap);
86 * not return one, is stored in the location pointed to by the =resp
56 pam_prompt(const pam_handle_t *pamh, int style, char **resp, const char *fmt, ...) argument
H A Dpam_get_authtok.c75 char *resp, *resp2; local
140 r = pam_prompt(pamh, style, &resp, "%s", prompt);
146 strlset(resp, 0, PAM_MAX_RESP_SIZE);
147 FREE(resp);
150 if (strcmp(resp, resp2) != 0) {
151 strlset(resp, 0, PAM_MAX_RESP_SIZE);
152 FREE(resp);
157 if (resp == NULL)
159 r = pam_set_item(pamh, item, resp);
160 strlset(resp,
[all...]
/freebsd-10-stable/usr.sbin/flowctl/
H A Dflowctl.c87 static void flow_cache_print(struct ngnf_show_header *resp);
88 static void flow_cache_print_verbose(struct ngnf_show_header *resp);
91 static void flow_cache_print6(struct ngnf_show_header *resp);
92 static void flow_cache_print6_verbose(struct ngnf_show_header *resp);
226 struct ngnf_show_header req, *resp; local
249 resp = (struct ngnf_show_header *)ng_mesg->data;
250 if ((ng_mesg->header.arglen < (sizeof(*resp))) ||
251 (ng_mesg->header.arglen < (sizeof(*resp) +
252 (resp->nentries * sizeof(struct flow_entry_data)))))
255 (*func)(resp);
268 flow_cache_print(struct ngnf_show_header *resp) argument
302 flow_cache_print6(struct ngnf_show_header *resp) argument
336 flow_cache_print_verbose(struct ngnf_show_header *resp) argument
379 flow_cache_print6_verbose(struct ngnf_show_header *resp) argument
[all...]
/freebsd-10-stable/usr.sbin/ngctl/
H A Dstatus.c63 struct ng_mesg *const resp = (struct ng_mesg *) sbuf; local
64 char *const status = (char *) resp->data;
89 if (NgRecvMsg(csock, resp, sizeof(sbuf), NULL) < 0
90 || (resp->header.flags & NGF_RESP) == 0)
H A Dtypes.c61 struct ng_mesg *resp; local
80 if (NgAllocRecvMsg(csock, &resp, NULL) < 0) {
86 tlist = (struct typelist *) resp->data;
98 free(resp);
/freebsd-10-stable/contrib/bsnmp/lib/
H A Dsnmpagent.c169 snmp_pdu_create_response(const struct snmp_pdu *pdu, struct snmp_pdu *resp) argument
171 memset(resp, 0, sizeof(*resp));
172 strcpy(resp->community, pdu->community);
173 resp->version = pdu->version;
174 resp->type = SNMP_PDU_RESPONSE;
175 resp->request_id = pdu->request_id;
176 resp->version = pdu->version;
178 if (resp->version != SNMP_V3)
181 memcpy(&resp
199 snmp_get(struct snmp_pdu *pdu, struct asn_buf *resp_b, struct snmp_pdu *resp, void *data) argument
401 snmp_getnext(struct snmp_pdu *pdu, struct asn_buf *resp_b, struct snmp_pdu *resp, void *data) argument
456 snmp_getbulk(struct snmp_pdu *pdu, struct asn_buf *resp_b, struct snmp_pdu *resp, void *data) argument
672 snmp_set(struct snmp_pdu *pdu, struct asn_buf *resp_b, struct snmp_pdu *resp, void *data) argument
978 struct snmp_pdu resp; local
[all...]
/freebsd-10-stable/contrib/wpa/src/eap_peer/
H A Deap_gtc.c49 struct wpabuf *resp; local
72 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_GTC,
74 return resp;
104 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_GTC, plen,
106 if (resp == NULL)
109 wpabuf_put_data(resp, "RESPONSE=", 9);
110 wpabuf_put_data(resp, identity, identity_len);
111 wpabuf_put_u8(resp, '\0');
113 wpabuf_put_data(resp, password, password_len);
115 wpabuf_head_u8(resp)
[all...]
H A Deap_md5.c33 struct wpabuf *resp; local
76 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_MD5, 1 + CHAP_MD5_LEN,
78 if (resp == NULL)
85 wpabuf_put_u8(resp, CHAP_MD5_LEN);
87 id = eap_get_id(resp);
88 rpos = wpabuf_put(resp, CHAP_MD5_LEN);
93 wpabuf_free(resp);
98 return resp;
H A Deap_otp.c32 struct wpabuf *resp; local
66 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_OTP, password_len,
68 if (resp == NULL)
70 wpabuf_put_data(resp, password, password_len);
79 return resp;
H A Deap_sake.c149 struct wpabuf *resp; local
169 resp = eap_sake_build_msg(data, eap_get_id(reqData),
172 if (resp == NULL)
176 eap_sake_add_attr(resp, EAP_SAKE_AT_PEERID,
181 return resp;
193 struct wpabuf *resp; local
250 resp = eap_sake_build_msg(data, eap_get_id(reqData), rlen,
252 if (resp == NULL)
256 eap_sake_add_attr(resp, EAP_SAKE_AT_RAND_P,
261 eap_sake_add_attr(resp, EAP_SAKE_AT_PEERI
294 struct wpabuf *resp; local
367 struct wpabuf *resp; local
[all...]
/freebsd-10-stable/sys/ofed/drivers/infiniband/core/
H A Duverbs_cmd.c280 struct ib_uverbs_get_context_resp resp; local
287 if (out_len < sizeof resp)
301 (unsigned long) cmd.response + sizeof resp,
302 in_len - sizeof cmd, out_len - sizeof resp);
321 resp.num_comp_vectors = file->device->num_comp_vectors;
323 filp = ib_uverbs_alloc_event_file(file, 1, &resp.async_fd);
330 &resp, sizeof resp)) {
347 fd_install(resp.async_fd, filp);
354 put_unused_fd(resp
370 struct ib_uverbs_query_device_resp resp; local
439 struct ib_uverbs_query_port_resp resp; local
488 struct ib_uverbs_alloc_pd_resp resp; local
597 struct ib_uverbs_reg_mr_resp resp; local
736 struct ib_uverbs_create_comp_channel_resp resp; local
765 struct ib_uverbs_create_cq_resp resp; local
866 struct ib_uverbs_resize_cq_resp resp; local
903 struct ib_uverbs_poll_cq_resp *resp; local
989 struct ib_uverbs_destroy_cq_resp resp; local
1041 struct ib_uverbs_create_qp_resp resp; local
1196 struct ib_uverbs_query_qp_resp resp; local
1383 struct ib_uverbs_destroy_qp_resp resp; local
1438 struct ib_uverbs_post_send_resp resp; local
1679 struct ib_uverbs_post_recv_resp resp; local
1728 struct ib_uverbs_post_srq_recv_resp resp; local
1777 struct ib_uverbs_create_ah_resp resp; local
1987 struct ib_uverbs_create_srq_resp resp; local
2090 struct ib_uverbs_create_srq_resp resp; local
2251 struct ib_uverbs_query_srq_resp resp; local
2291 struct ib_uverbs_destroy_srq_resp resp; local
2433 struct ib_uverbs_open_xrc_domain_resp resp; local
2677 struct ib_uverbs_create_xrc_rcv_qp_resp resp; local
2830 struct ib_uverbs_query_qp_resp resp; local
[all...]
/freebsd-10-stable/crypto/openssh/openbsd-compat/
H A Dgetrrsetbyname.c385 struct dns_response *resp; local
389 resp = calloc(1, sizeof(*resp));
390 if (resp == NULL)
397 memcpy(&resp->header, cp, HFIXEDSZ);
401 resp->header.qdcount = ntohs(resp->header.qdcount);
402 resp->header.ancount = ntohs(resp->header.ancount);
403 resp
[all...]
/freebsd-10-stable/contrib/openpam/modules/pam_unix/
H A Dpam_unix.c73 struct pam_response *resp; local
103 resp = NULL;
104 pam_err = (*conv->conv)(1, &msgp, &resp, conv->appdata_ptr);
105 if (resp != NULL) {
107 password = resp->resp;
109 free(resp->resp);
110 free(resp);
/freebsd-10-stable/contrib/ldns/
H A Dupdate.c94 ldns_pkt *query, *resp; local
104 if (ldns_resolver_send_pkt(&resp, r, query) != LDNS_STATUS_OK) {
109 if (!resp) {
115 while ((soa_rr = ldns_rr_list_pop_rr(ldns_pkt_answer(resp)))) {
123 ldns_pkt_free(resp);
137 ldns_pkt *query, *resp; local
154 if (ldns_resolver_send_pkt(&resp, r, query) != LDNS_STATUS_OK) {
159 if (!resp) {
164 while ((soa_rr = ldns_rr_list_pop_rr(ldns_pkt_authority(resp)))) {
172 ldns_pkt_free(resp);
[all...]
/freebsd-10-stable/contrib/ntp/libntp/
H A Dntp_worker.c215 blocking_pipe_header * resp,
220 resp->octets = respsize;
221 resp->magic_sig = BLOCKING_RESP_MAGIC;
222 resp->rtype = req->rtype;
223 resp->context = req->context;
224 resp->done_func = req->done_func;
226 return send_blocking_resp_internal(c, resp);
235 blocking_pipe_header * resp; local
247 resp = receive_blocking_resp_internal(c);
248 if (NULL != resp) {
213 queue_blocking_response( blocking_child * c, blocking_pipe_header * resp, size_t respsize, const blocking_pipe_header * req ) argument
[all...]
/freebsd-10-stable/usr.bin/find/
H A Dmisc.c98 char *p, resp[256]; local
106 if (fgets(resp, sizeof(resp), stdin) == NULL)
107 *resp = '\0';
108 if ((p = strchr(resp, '\n')) != NULL)
114 return (rpmatch(resp) == 1);
/freebsd-10-stable/contrib/wpa/src/wps/
H A Dhttp_server.h16 void http_request_send(struct http_request *req, struct wpabuf *resp);
18 struct wpabuf *resp);
/freebsd-10-stable/contrib/wpa/wpa_supplicant/examples/
H A Dwps-ap-cli21 read -p "Do you want to use this PIN (y/n)? " resp
22 case "$resp" in

Completed in 356 milliseconds

1234567891011>>