Searched defs:resp (Results 1 - 25 of 192) sorted by relevance

12345678

/illumos-gate/usr/src/lib/libipmi/common/
H A Dipmi_sensor.c36 ipmi_cmd_t cmd, *resp; local
45 if ((resp = ipmi_send(ihp, &cmd)) == NULL)
53 if (resp->ic_dlen < sizeof (ipmi_sensor_reading_t) - sizeof (uint8_t)) {
57 srp = resp->ic_data;
59 if (resp->ic_dlen < sizeof (ipmi_sensor_reading_t))
60 (void) memset((char *)srp + resp->ic_dlen, '\0',
61 sizeof (ipmi_sensor_reading_t) - resp->ic_dlen);
71 ipmi_cmd_t cmd, *resp; local
90 if ((resp = ipmi_send(ihp, &cmd)) == NULL)
93 if (resp
[all...]
H A Dipmi_fru.c54 ipmi_cmd_t cmd, *resp; local
71 if ((resp = ipmi_send(ihp, &cmd)) == NULL)
74 if (resp->ic_dlen != 3) {
79 (void) memcpy(&sz, resp->ic_data, sizeof (uint16_t));
100 if ((resp = ipmi_send(ihp, &cmd)) == NULL) {
105 (void) memcpy(&count, resp->ic_data, sizeof (uint8_t));
112 (void) memcpy(tmp+offset, (char *)(resp->ic_data)+1, count);
H A Dipmi_misc.c34 ipmi_cmd_t cmd, *resp; local
46 if ((resp = ipmi_send(ihp, &cmd)) == NULL)
49 if (resp->ic_dlen < sizeof (ipmi_deviceid_t)) {
58 if ((ihp->ih_deviceid = ipmi_alloc(ihp, resp->ic_dlen)) == NULL)
61 (void) memcpy(ihp->ih_deviceid, resp->ic_data, resp->ic_dlen);
65 ihp->ih_deviceid_len = resp->ic_dlen;
130 ipmi_cmd_t cmd, *resp; local
148 if ((resp = ipmi_send(ihp, &cmd)) == NULL)
151 if (resp
[all...]
/illumos-gate/usr/src/cmd/lvm/rpc.metamhd/
H A Dmhd_metamhd.c38 mhd_list_res_t *resp,
42 mhd_error_t *mhep = &resp->status;
46 (void) memset(resp, 0, sizeof (*resp));
53 (void) mhd_list_drives(argp->path, argp->flags, resp, mhep);
113 mhd_status_res_t *resp,
117 mhd_error_t *mhep = &resp->status;
123 (void) memset(resp, 0, sizeof (*resp));
134 resp
36 mhd_list_1_svc( mhd_list_args_t *argp, mhd_list_res_t *resp, struct svc_req *rqstp ) argument
111 mhd_status_1_svc( mhd_status_args_t *argp, mhd_status_res_t *resp, struct svc_req *rqstp ) argument
[all...]
/illumos-gate/usr/src/lib/pam_modules/sample/
H A Dsample_utils.c71 __free_resp(num_msg, resp)
73 struct pam_response *resp;
78 if (resp) {
79 r = resp;
81 if (r->resp)
82 free(r->resp);
84 free(resp);
103 struct pam_response *resp; local
117 resp = NULL;
136 retcode = conv_funp(num_msg, &msg, &resp, conv_apd
[all...]
/illumos-gate/usr/src/lib/libnsl/yp/
H A Dyp_master.c181 struct ypresp_master resp; local
186 (void) memset(&resp, 0, sizeof (struct ypresp_master));
195 (char *)&req, (xdrproc_t)xdr_ypresp_master, (char *)&resp,
201 if (resp.status != YP_TRUE)
202 retval = ypprot_err(resp.status);
206 if (!retval && ((*master = malloc(strlen(resp.master) + 1)) == NULL))
210 (void) strcpy(*master, resp.master);
213 (xdrproc_t)xdr_ypresp_master, (char *)&resp);
H A Dyp_order.c110 struct ypresp_order resp; local
115 (void) memset((char *)&resp, 0, sizeof (struct ypresp_order));
124 (char *)&req, (xdrproc_t)xdr_ypresp_order, (char *)&resp,
130 if (resp.status != YP_TRUE) {
131 retval = ypprot_err(resp.status);
134 *order = (unsigned long)resp.ordernum;
136 (xdrproc_t)xdr_ypresp_order, (char *)&resp);
H A Dyp_enum.c146 struct ypresp_key_val resp; local
151 resp.keydat.dptr = resp.valdat.dptr = NULL;
152 resp.keydat.dsize = resp.valdat.dsize = 0;
159 (void) memset((char *)&resp, 0, sizeof (struct ypresp_key_val));
164 (char *)&resp, timeout)) {
175 if (resp.status != YP_TRUE) {
176 retval = ypprot_err(resp.status);
183 if ((*key = malloc((size_t)resp
318 struct ypresp_key_val resp; local
[all...]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dcram_md5.c73 struct berval resp; local
103 resp.bv_len = (strlen(dn) + 32 + 1);
104 if ((resp.bv_val = (char *)malloc(resp.bv_len+1)) == NULL) {
108 sprintf(resp.bv_val, "%s %s", dn, theHDigest);
111 LDAPDebug (LDAP_DEBUG_TRACE, "SASL response: %s\n", resp.bv_val, 0, 0);
112 res = ldap_sasl_bind_s(ld, NULL, LDAP_SASL_CRAM_MD5, &resp, serverctrls, clientctrls, &challenge);
114 free(resp.bv_val);
/illumos-gate/usr/src/cmd/power/
H A Dpm_pam_conv.c122 if (r->resp) {
124 bzero(r->resp, strlen(r->resp));
125 free(r->resp);
126 r->resp = NULL;
135 struct pam_response **resp, void *my_data)
145 *resp = NULL;
150 *resp = r;
169 r->resp = NULL;
181 r->resp
134 pam_tty_conv(int num_msg, struct pam_message **mess, struct pam_response **resp, void *my_data) argument
[all...]
/illumos-gate/usr/src/cmd/mail/
H A Dprintmail.c49 char *resp; local
244 resp = readbuf;
245 while (*resp == ' ' || *resp == '\t') resp++;
247 Dout(pn, 0, "resp = '%s'\n", resp);
248 if ((rc = atoi(resp)) != 0) {
251 } else switch (resp[0]) {
279 if (resp[
[all...]
/illumos-gate/usr/src/cmd/fwflash/plugins/vendor/
H A Dhermon-MELLANOX.c110 int resp; local
123 resp = getchar();
124 if (resp != 'Y' && resp != 'y') {
H A Dtavor-MELLANOX.c159 int resp; local
174 resp = getchar();
175 if (resp != 'Y' && resp != 'y') {
/illumos-gate/usr/src/uts/common/io/comstar/port/iscsit/
H A Discsit_radiusauth.c72 radius_packet_data_t resp; local
125 bzero(&resp, sizeof (radius_packet_data_t));
130 req.authenticator, &resp);
132 if (resp.code == RAD_ACCESS_ACPT) {
134 } else if (resp.code == RAD_ACCESS_REJ) {
H A Discsit_authclient.c141 client_compute_chap_resp(uchar_t *resp, argument
153 resp[0] = (uchar_t)chap_i;
154 MD5Update(&context, resp, 1);
166 MD5Final(resp, &context);
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Dradius_auth.c76 radius_packet_data_t resp; local
128 bzero(&resp, sizeof (radius_packet_data_t));
133 req.authenticator, &resp);
135 if (resp.code == RAD_ACCESS_ACPT) {
137 } else if (resp.code == RAD_ACCESS_REJ) {
/illumos-gate/usr/src/uts/sun4u/sys/
H A Drmcadm.h50 rmcadm_msg_t resp; member in struct:rmcadm_request_response
74 rmcadm_msg32_t resp; member in struct:rmcadm_request_response32
/illumos-gate/usr/src/lib/scsi/plugins/smp/usmp/common/
H A Dusmp.c154 void *req, *resp; local
160 smp_action_get_response_frame(ap, &resp, &resplen);
163 ASSERT(resp != NULL);
169 cmd.usmp_rsp = resp;
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dpmap_clnt.c197 caddr_t resp, struct timeval tout, rpcport_t *port_ptr)
214 r.res.res_val = resp;
195 pmap_rmtcall(struct sockaddr_in *addr, rpcprog_t prog, rpcvers_t vers, rpcproc_t proc, xdrproc_t xdrargs, caddr_t argsp, xdrproc_t xdrres, caddr_t resp, struct timeval tout, rpcport_t *port_ptr) argument
H A Dsvid_funcs.c70 xdrproc_t xres, caddr_t resp, struct timeval timeout)
72 return ((*(cl)->cl_ops->cl_call)(cl, proc, xargs, argsp, xres, resp,
95 clnt_freeres(CLIENT *cl, xdrproc_t xres, caddr_t resp) argument
97 return ((*(cl)->cl_ops->cl_freeres)(cl, xres, resp));
69 clnt_call(CLIENT *cl, uint32_t proc, xdrproc_t xargs, caddr_t argsp, xdrproc_t xres, caddr_t resp, struct timeval timeout) argument
/illumos-gate/usr/src/cmd/acctadm/
H A Dres.c275 ac_res_t *resp; local
276 resp = (ac_res_t *)((uintptr_t)res + (sizeof (ac_res_t) * (id - 1)));
277 resp->ar_state = state;
278 resp->ar_id = id;
287 ac_res_t *resp; local
288 resp = (ac_res_t *)((uintptr_t)res + (sizeof (ac_res_t) * (id - 1)));
289 return (resp->ar_state);
/illumos-gate/usr/src/cmd/fs.d/reparsed/
H A Dreparsed.c214 reparsed_door_res_t *resp; local
246 resp = (reparsed_door_res_t *)res_buf;
247 buf = resp->res_data;
283 resp = (reparsed_door_res_t *)sbuf;
284 if ((err = reparse_deref(svc_type, svc_data, resp->res_data,
302 resp->res_status = 0;
303 resp->res_len = bufsz;
304 (void) door_return((char *)resp, bufsz + sizeof (reparsed_door_res_t),
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_acl_srv.c79 acl2_getacl(GETACL2args *args, GETACL2res *resp, struct exportinfo *exi, argument
88 resp->status = NFSERR_STALE;
92 bzero((caddr_t)&resp->resok.acl, sizeof (resp->resok.acl));
94 resp->resok.acl.vsa_mask = args->mask;
96 error = VOP_GETSECATTR(vp, &resp->resok.acl, 0, cr, NULL);
114 error = fs_fab_acl(vp, &resp->resok.acl, 0, cr, NULL);
119 resp->status = puterrno(error);
130 error = vattr_to_nattr(&va, &resp->resok.attr);
133 resp
174 acl2_getacl_free(GETACL2res *resp) argument
193 acl2_setacl(SETACL2args *args, SETACL2res *resp, struct exportinfo *exi, struct svc_req *req, cred_t *cr, bool_t ro) argument
248 acl2_getattr(GETATTR2args *args, GETATTR2res *resp, struct exportinfo *exi, struct svc_req *req, cred_t *cr, bool_t ro) argument
287 acl2_access(ACCESS2args *args, ACCESS2res *resp, struct exportinfo *exi, struct svc_req *req, cred_t *cr, bool_t ro) argument
383 acl2_getxattrdir(GETXATTRDIR2args *args, GETXATTRDIR2res *resp, struct exportinfo *exi, struct svc_req *req, cred_t *cr, bool_t ro) argument
448 acl3_getacl(GETACL3args *args, GETACL3res *resp, struct exportinfo *exi, struct svc_req *req, cred_t *cr, bool_t ro) argument
540 acl3_getacl_free(GETACL3res *resp) argument
559 acl3_setacl(SETACL3args *args, SETACL3res *resp, struct exportinfo *exi, struct svc_req *req, cred_t *cr, bool_t ro) argument
623 acl3_getxattrdir(GETXATTRDIR3args *args, GETXATTRDIR3res *resp, struct exportinfo *exi, struct svc_req *req, cred_t *cr, bool_t ro) argument
[all...]
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_uverbs/
H A Dsol_uverbs_comp.c198 struct ib_uverbs_create_cq_resp resp; local
205 (void) memset(&resp, 0, sizeof (resp));
307 (void *) ucq->cq, &resp.drv_out, sizeof (resp.drv_out));
325 "0x%16llx 0x%16llx", resp.drv_out[0], resp.drv_out[1],
326 resp.drv_out[2], resp.drv_out[3]);
328 resp
436 struct ib_uverbs_destroy_cq_resp resp; local
508 struct ib_uverbs_resize_cq_resp resp; local
665 struct ib_uverbs_poll_cq_resp resp; local
[all...]
/illumos-gate/usr/src/uts/common/io/sdcard/impl/
H A Dsda_init.c62 sda_rtype_t rtype, uint32_t *resp)
71 errno = sda_cmd_exec(slot, cmdp, resp);
80 sda_rtype_t rtype, uint32_t *resp)
89 errno = sda_cmd_exec(slot, cmdp, resp);
236 uint32_t resp; local
335 R1b, &resp)) != SDA_EOK) {
336 sda_slot_err(slot, "Failed selecting card (%d, %x)", rv, resp);
380 uint32_t resp; local
389 rv = sda_init_cmd(slot, CMD_SET_BLOCKLEN, 512, R1, &resp);
392 rv, resp);
61 sda_init_cmd(sda_slot_t *slot, sda_index_t cmd, uint32_t arg, sda_rtype_t rtype, uint32_t *resp) argument
79 sda_init_acmd(sda_slot_t *slot, sda_index_t cmd, uint32_t arg, sda_rtype_t rtype, uint32_t *resp) argument
433 uint32_t resp; local
496 uint32_t resp; local
541 uint32_t resp; local
[all...]

Completed in 87 milliseconds

12345678