/src/usr.sbin/ypserv/yppush/ |
yppush_proc.c | 57 struct yppushresp_xfr *resp = argp; local in function:yppushproc_xfrresp_1_svc 60 if (resp->status != YPPUSH_SUCC) 61 warnx("%s", yppush_err_string(resp->status));
|
/src/lib/libc/stdlib/ |
strtonum.c | 54 const char *resp; local in function:strtonum 58 errstr = &resp;
|
/src/usr.sbin/timed/timed/ |
candidate.c | 50 struct tsp *resp, msg; local in function:election 89 resp = readmsg(TSP_ANY, ANYADDR, &wait, net); 90 if (!resp) 93 switch (resp->tsp_type) { 96 (void)addmach(resp->tsp_name, &from,fromnet); 106 && !good_host_name(resp->tsp_name)) { 107 (void)addmach(resp->tsp_name, &from,fromnet); 108 suppress(&from, resp->tsp_name, net); 132 htp = addmach(resp->tsp_name,&from,fromnet); 144 (void)addmach(resp->tsp_name, &from,fromnet) [all...] |
readmsg.c | 409 struct tsp resp; local in function:masterack 411 resp = msgin; 412 resp.tsp_vers = TSPVERSION; 413 set_tsp_name(&resp, hostname);
|
/src/games/backgammon/backgammon/ |
extra.c | 58 int resp; /* response to y/n */ local in function:dble 85 if ((resp = yorn('R')) == 2) { 93 if (resp) {
|
/src/usr.sbin/btattach/ |
init_bcm43xx.c | 97 uint8_t resp[7]; local in function:init_bcm43xx 107 uart_recv_cc(fd, HCI_CMD_RESET, &resp, sizeof(resp)); 124 uart_recv_cc(fd, HCI_CMD_43XXFWDN, &resp, sizeof(resp)); 134 uart_recv_cc(fd, fw_cmd, &resp, sizeof(resp)); 141 uart_recv_cc(fd, HCI_CMD_RESET, &resp, sizeof(resp)); 150 uart_recv_cc(fd, HCI_CMD_BCM43XX_SET_CLOCK, &resp, sizeof(resp)) [all...] |
/src/sys/net/npf/ |
npf.c | 138 nvlist_t *resp; local in function:npfk_load 141 resp = nvlist_create(0); 142 error = npfctl_run_op(npf, IOC_NPF_LOAD, req, resp); 143 nvlist_destroy(resp);
|
/src/usr.sbin/rmt/ |
rmt.c | 70 char resp[BUFSIZ]; variable in typeref:typename:char[] 157 (void)snprintf(resp, sizeof(resp), "A%d\n", rval); 158 (void)write(STDOUT_FILENO, resp, strlen(resp)); 188 (void)snprintf(resp, sizeof(resp), "A%d\n", rval); 189 (void)write(STDOUT_FILENO, resp, strlen(resp)); 200 (void)snprintf(resp, sizeof(resp), "A%d\n", rval) [all...] |
/src/sys/arch/sparc/dev/ |
ms_pckbport.c | 98 u_char cmd[1], resp[2]; local in function:ms_pckbport_attach 116 cmd, 1, 2, resp, 1); 118 if (res || resp[0] != PMS_RSTDONE || resp[1] != 0) {
|
/src/sys/dev/i2c/ |
ibmhawk.c | 99 ibmhawk_response_t resp; local in function:ibmhawk_match 110 if (ibmhawk_request(&sc, IHR_EQUIP, &resp)) 121 ibmhawk_response_t resp; local in function:ibmhawk_attach 130 if (ibmhawk_request(sc, IHR_NAME, &resp)) { 134 aprint_normal(": IBM Hawk \"%.16s\"\n", resp.ihr_name); 135 if (ibmhawk_request(sc, IHR_EQUIP, &resp)) { 139 sc->sc_numcpus = uimin(resp.ihr_numcpus, IBMHAWK_MAX_CPU); 140 sc->sc_numfans = uimin(resp.ihr_numfans, IBMHAWK_MAX_FAN); 143 sc->sc_numcpus, resp.ihr_numcpus, sc->sc_numfans, resp.ihr_numfans) 343 ibmhawk_response_t resp; local in function:ibmhawk_refreshall [all...] |
xc3028.c | 443 uint8_t cmd[2], resp[2]; local in function:xc3028_read_2 452 resp[0] = resp[1] = 0; 454 NULL, 0, resp, sizeof(resp), 0); 458 *val = (resp[0] << 8) | resp[1];
|
xc5k.c | 198 uint8_t cmd[2], resp[2]; local in function:xc5k_read_2 207 resp[0] = resp[1] = 0; 209 NULL, 0, resp, sizeof(resp), 0); 213 *val = (resp[0] << 8) | resp[1];
|
/src/sys/dev/pckbport/ |
elantech.c | 138 uint8_t resp[3]; local in function:pms_elantech_read_1 149 res |= pckbport_poll_cmd(tag, slot, &cmd, 1, 3, resp, 0); 152 *val = resp[0]; 320 u_char cmd[1], resp[3]; local in function:pms_elantech_probe_init 341 cmd, 1, 3, resp, 0)) != 0) 344 if (!ELANTECH_MAGIC(resp)) { 348 resp[0], resp[1], resp[2]); 358 cmd, 1, 3, resp, 0) 409 uint8_t cmd, resp[2]; local in function:pms_elantech_resume [all...] |
pckbport.c | 361 u_char cmd[1], resp[2]; local in function:pckbport_cleanup 380 (void)pckbport_poll_cmd(t, PCKBPORT_KBD_SLOT, cmd, 1, 2, resp, 1);
|
/src/sys/external/bsd/drm2/dist/drm/xen/ |
xen_drm_front_evtchnl.c | 32 struct xendispl_resp *resp; local in function:evtchnl_interrupt_ctrl 47 resp = RING_GET_RESPONSE(&evtchnl->u.req.ring, i); 48 if (unlikely(resp->id != evtchnl->evt_id)) 51 switch (resp->operation) { 58 evtchnl->u.req.resp_status = resp->status; 64 resp->operation);
|
/src/tests/lib/libc/rpc/ |
t_rpc.c | 136 int num, resp; local in function:rawtest 155 (xdrproc_t)xdr_int, (void *)&resp, tout); 158 DPRINTF("Got %d\n", resp); 161 if (++num != resp) 162 ERRX(EXIT_FAILURE, "expected %d got %d", num, resp); 171 int num, resp; local in function:regtest 202 (xdrproc_t)xdr_int, (void *)&resp, tout); 205 DPRINTF("Got %d\n", resp); 206 if (++num != resp) 207 ERRX(EXIT_FAILURE, "expected %d got %d", num, resp); [all...] |
/src/usr.bin/nc/ |
socks.c | 358 char resp[1024]; local in function:socks_connect 364 b64_ntop(buf, strlen(cbuf), resp, 365 sizeof(resp)) == -1) 368 "Basic %s\r\n", resp);
|
/src/usr.sbin/lpr/lpd/ |
recvjob.c | 258 char resp; local in function:noresponse 260 if (read(STDOUT_FILENO, &resp, 1) != 1) 262 if (resp == '\0')
|
/src/lib/libpuffs/ |
dispatcher.c | 1028 size_t res, *resp, *sizep; local in function:dispatch 1044 resp = &auxt->pvnr_resid; 1047 resp = NULL; 1052 auxt->pvnr_attrname, sizep, data, resp, pcr); 1065 size_t *resp; local in function:dispatch 1075 resp = &auxt->pvnr_resid; 1078 resp = NULL; 1083 auxt->pvnr_attrname, data, resp, pcr); 1091 size_t res, *resp, *sizep; local in function:dispatch 1108 resp = &auxt->pvnr_resid [all...] |
/src/lib/libpam/modules/pam_radius/ |
pam_radius.c | 196 struct pam_response *resp; local in function:do_challenge 250 if ((retval = conv->conv(num_msgs, msg_ptrs, &resp, 253 if (build_access_request(radh, user, resp[num_msgs-1].resp, NULL, 256 memset(resp[num_msgs-1].resp, 0, strlen(resp[num_msgs-1].resp)); 257 free(resp[num_msgs-1].resp); [all...] |
/src/lib/libresolv/ |
res_findzonecut.c | 279 u_char *resp = NULL; local in function:get_soa 294 resp = malloc(NS_MAXMSG); 295 if (resp == NULL) 305 n = do_query(statp, dname, class, ns_t_soa, resp, &msg); 376 if (ns_name_uncompress(resp, ns_msg_end(msg), rdata, 387 free(resp); 408 if (resp != NULL) 409 free(resp); 417 u_char *resp; local in function:get_ns 421 resp = malloc(NS_MAXMSG) 449 u_char *resp; local in function:get_glue [all...] |
/src/sys/dev/pci/qat/ |
qat_hw17.c | 176 struct fw_init_admin_req *req, struct fw_init_admin_resp *resp) 186 error = qat_adm_mailbox_put_msg_sync(sc, ae, req, resp); 189 if (resp->init_resp_hdr.status) { 204 struct fw_init_admin_resp resp; local in function:qat_adm_mailbox_send_init_me 209 return qat_adm_mailbox_send(sc, &req, &resp); 216 struct fw_init_admin_resp resp; local in function:qat_adm_mailbox_send_hb_timer 225 return qat_adm_mailbox_send(sc, &req, &resp); 233 struct fw_init_admin_resp resp; local in function:qat_adm_mailbox_send_fw_status 238 error = qat_adm_mailbox_send(sc, &req, &resp); 244 resp.u.s.version_major_num 255 struct fw_init_admin_resp resp; local in function:qat_adm_mailbox_send_constants [all...] |
/src/usr.sbin/ypserv/ypserv/ |
ypserv_db.c | 756 static struct ypresp_all resp; local in function:ypdb_xdr_get_all 760 (void)memset(&resp, 0, sizeof(resp)); 766 &resp.ypresp_all_u.val.status, NULL); 768 if (db == NULL || (int)resp.ypresp_all_u.val.status < 0) 784 resp.more = TRUE; 785 resp.ypresp_all_u.val.status = YP_TRUE; 786 resp.ypresp_all_u.val.keydat.dptr = k.dptr; 787 resp.ypresp_all_u.val.keydat.dsize = k.dsize; 788 resp.ypresp_all_u.val.valdat.dptr = v.dptr [all...] |
/src/usr.sbin/ypserv/ypxfr/ |
ypxfr.c | 607 struct ypresp_xfr resp; local in function:send_reply 613 resp.transid = tid; 614 resp.xfrstat = status; 617 r = clnt_call(client, YPPUSHPROC_XFRRESP, xdr_ypresp_xfr, &resp,
|
/src/sys/arch/evbsh3/t_sh7706lan/ |
scimci.c | 421 uint16_t resp; local in function:scimci_exec_command 449 while ((resp = scimci_getc()) & 0x80) { 459 resp |= (uint16_t)scimci_getc() << 8; 465 DPRINTF(1, ("R3 resp: %#x\n", cmd->c_resp[1])); 469 cmd->c_resp[0] = resp; 470 if (resp != 0 && resp != R1_SPI_IDLE) { 472 device_xname(sc->sc_dev), resp)); 476 DPRINTF(1, ("R1 resp: %#x\n", resp)); [all...] |