Home
last modified time | relevance | path

Searched refs:resp (Results 1 – 25 of 226) sorted by relevance

12345678910

/titanic_50/usr/src/uts/common/fs/nfs/
H A Dnfs_acl_srv.c79 acl2_getacl(GETACL2args *args, GETACL2res *resp, struct exportinfo *exi, in acl2_getacl() argument
88 resp->status = NFSERR_STALE; in acl2_getacl()
92 bzero((caddr_t)&resp->resok.acl, sizeof (resp->resok.acl)); in acl2_getacl()
94 resp->resok.acl.vsa_mask = args->mask; in acl2_getacl()
96 error = VOP_GETSECATTR(vp, &resp->resok.acl, 0, cr, NULL); in acl2_getacl()
114 error = fs_fab_acl(vp, &resp->resok.acl, 0, cr, NULL); in acl2_getacl()
119 resp->status = puterrno(error); in acl2_getacl()
130 error = vattr_to_nattr(&va, &resp->resok.attr); in acl2_getacl()
133 resp->status = puterrno(error); in acl2_getacl()
134 if (resp->resok.acl.vsa_aclcnt > 0 && in acl2_getacl()
[all …]
H A Dnfs3_srv.c91 rfs3_getattr(GETATTR3args *args, GETATTR3res *resp, struct exportinfo *exi, in rfs3_getattr() argument
117 error = vattr_to_fattr3(&va, &resp->resok.obj_attributes); in rfs3_getattr()
120 resp->status = NFS3_OK; in rfs3_getattr()
123 cred_t *, cr, vnode_t *, vp, GETATTR3res *, resp); in rfs3_getattr()
133 resp->status = NFS3ERR_JUKEBOX; in rfs3_getattr()
135 resp->status = puterrno3(error); in rfs3_getattr()
138 cred_t *, cr, vnode_t *, vp, GETATTR3res *, resp); in rfs3_getattr()
152 rfs3_setattr(SETATTR3args *args, SETATTR3res *resp, struct exportinfo *exi, in rfs3_setattr() argument
193 resp->status = NFS3ERR_ACCES; in rfs3_setattr()
229 resp->status = NFS3ERR_ROFS; in rfs3_setattr()
[all …]
H A Dnfs4_srv.c267 static nfsstat4 do_rfs4_set_attrs(bitmap4 *resp, fattr4 *fattrp,
870 do_rfs4_op_secinfo(struct compound_state *cs, char *nm, SECINFO4res *resp) in do_rfs4_op_secinfo() argument
1050 resp->SECINFO4resok_len = count; in do_rfs4_op_secinfo()
1051 resp->SECINFO4resok_val = resok_val; in do_rfs4_op_secinfo()
1112 resp->SECINFO4resok_len = ret_cnt; in do_rfs4_op_secinfo()
1113 resp->SECINFO4resok_val = resok_val; in do_rfs4_op_secinfo()
1135 SECINFO4res *resp = &resop->nfs_resop4_u.opsecinfo; in rfs4_op_secinfo() local
1151 *cs->statusp = resp->status = NFS4ERR_NOFILEHANDLE; in rfs4_op_secinfo()
1156 *cs->statusp = resp->status = NFS4ERR_NOTDIR; in rfs4_op_secinfo()
1170 *cs->statusp = resp->status = status; in rfs4_op_secinfo()
[all …]
/titanic_50/usr/src/cmd/ypcmd/
H A Dypserv_proc.c105 static int multihomed(struct ypreq_key req, struct ypresp_val *resp,
107 static int omultihomed(struct yprequest req, struct ypresponse *resp,
197 struct ypresp_val resp; in ypmatch() local
202 memset(&resp, 0, sizeof (resp)); in ypmatch()
203 resp.status = (unsigned)YP_NOKEY; in ypmatch()
215 &resp.status)) != NULL && in ypmatch()
216 yp_map_access(transp, &resp.status, fdb)) { in ypmatch()
219 resp.valdat = dbm_fetch(fdb, req.keydat); in ypmatch()
220 if (resp.valdat.dptr != NULL) { in ypmatch()
221 resp.status = YP_TRUE; in ypmatch()
[all …]
H A Dypxfr.c758 struct ypresp_order resp; local
772 (xdrproc_t)xdr_ypresp_order, (char *)&resp,
775 if (resp.status == YP_TRUE) {
776 sprintf(an, "%d", resp.ordernum);
777 *n = resp.ordernum;
779 } else if (resp.status != YP_BADDB) {
780 *pushstat = ypprot_err(resp.status);
786 ypprot_err(resp.status)));
792 (char *)&resp);
812 struct ypresp_val resp; local
[all …]
/titanic_50/usr/src/lib/libnsl/yp/
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.keydat.dsize + 2)) != NULL) {
186 (size_t)resp.valdat.dsize + 2)) == NULL) {
199 *keylen = (int)resp.keydat.dsize;
[all …]
H A Dyp_order.c110 struct ypresp_order resp; in doorder() local
115 (void) memset((char *)&resp, 0, sizeof (struct ypresp_order)); in doorder()
124 (char *)&req, (xdrproc_t)xdr_ypresp_order, (char *)&resp, in doorder()
130 if (resp.status != YP_TRUE) { in doorder()
131 retval = ypprot_err(resp.status); in doorder()
134 *order = (unsigned long)resp.ordernum; in doorder()
136 (xdrproc_t)xdr_ypresp_order, (char *)&resp); in doorder()
/titanic_50/usr/src/uts/common/klm/
H A Dnlm_rpc_svc.c149 nlm_test_1_svc(struct nlm_testargs *argp, nlm_testres *resp, in nlm_test_1_svc() argument
164 resp->cookie = res4.cookie; in nlm_test_1_svc()
165 resp->stat.stat = nlm_convert_to_nlm_stats(res4.stat.stat); in nlm_test_1_svc()
166 if (resp->stat.stat == nlm_denied) in nlm_test_1_svc()
168 &resp->stat.nlm_testrply_u.holder, in nlm_test_1_svc()
181 nlm_lock_1_svc(nlm_lockargs *argp, nlm_res *resp, in nlm_lock_1_svc() argument
202 nlm_convert_to_nlm_res(resp, &res4); in nlm_lock_1_svc()
209 nlm_lock_1_reply(SVCXPRT *transp, nlm4_res *resp) in nlm_lock_1_reply() argument
213 nlm_convert_to_nlm_res(&res1, resp); in nlm_lock_1_reply()
218 nlm_granted_1_cb(nlm4_testargs *argp, void *resp, CLIENT *clnt) in nlm_granted_1_cb() argument
[all …]
H A Dnlm_service.c90 #define NLM_INVOKE_CALLBACK(descr, rpcp, resp, callb) \ argument
94 _stat = (*(callb))(resp, NULL, (rpcp)->nr_handle); \
319 nlm_do_test(nlm4_testargs *argp, nlm4_testres *resp, in nlm_do_test() argument
334 nlm_copy_netobj(&resp->cookie, &argp->cookie); in nlm_do_test()
343 resp->stat.stat = nlm4_denied_nolocks; in nlm_do_test()
349 resp->stat.stat = nlm4_denied_nolocks; in nlm_do_test()
356 resp->stat.stat = nlm4_stale_fh; in nlm_do_test()
361 resp->stat.stat = nlm4_denied_grace_period; in nlm_do_test()
369 resp->stat.stat = nlm4_failed; in nlm_do_test()
378 resp->stat.stat = nlm4_failed; in nlm_do_test()
[all …]
/titanic_50/usr/src/cmd/mail/
H A Dprintmail.c49 char *resp; in printmail() local
244 resp = readbuf; in printmail()
245 while (*resp == ' ' || *resp == '\t') resp++; in printmail()
247 Dout(pn, 0, "resp = '%s'\n", resp); in printmail()
248 if ((rc = atoi(resp)) != 0) { in printmail()
251 } else switch (resp[0]) { in printmail()
279 if (resp[2] != 'd' && in printmail()
280 resp[2] != 'a' && in printmail()
281 (rc = getnumbr(resp+1)) > 0) { in printmail()
285 if (rc == -1 && resp[2] != 'a' && in printmail()
[all …]
/titanic_50/usr/src/uts/sun4u/serengeti/io/
H A Dsbdp_mbox.c122 sbbc_msg_t response, *resp = &response; in sbdp_get_board_status() local
158 sbdp_init_msg_pkt(resp, DR_MBOX_SHOW_BOARD, len, (caddr_t)shbp); in sbdp_get_board_status()
160 rv = sbbc_mbox_request_response(reqp, resp, sbdp_shw_bd_wait); in sbdp_get_board_status()
167 if ((resp->msg_status == SG_MBOX_STATUS_BOARD_ACCESS_DENIED) || in sbdp_get_board_status()
168 (resp->msg_status == SG_MBOX_STATUS_ILLEGAL_SLOT) || in sbdp_get_board_status()
169 (resp->msg_status == SG_MBOX_STATUS_ILLEGAL_NODE)) { in sbdp_get_board_status()
252 sbbc_msg_t response, *resp = &response; in sbdp_assign_board() local
280 sbdp_init_msg_pkt(resp, DR_MBOX_ASSIGN, len, (caddr_t)&cmd_rev); in sbdp_assign_board()
282 rv = sbbc_mbox_request_response(reqp, resp, sbdp_mbox_wait); in sbdp_assign_board()
284 if (rv != 0 || (rv = resp->msg_status != SG_MBOX_STATUS_SUCCESS)) { in sbdp_assign_board()
[all …]
/titanic_50/usr/src/uts/common/io/ib/clients/of/sol_uverbs/
H A Dsol_uverbs.c1319 struct ib_uverbs_get_context_resp resp; in sol_uverbs_get_context() local
1335 udata.outbuf = (void *)(cmd.response.r_laddr + sizeof (resp)); in sol_uverbs_get_context()
1337 udata.outbuf = (void *)(cmd.response.r_addr + sizeof (resp)); in sol_uverbs_get_context()
1340 udata.outlen = out_len - sizeof (resp); in sol_uverbs_get_context()
1348 rc = copyin((void*)cmd.response.r_laddr, (void*)&resp, sizeof (resp)); in sol_uverbs_get_context()
1350 rc = copyin((void*)cmd.response.r_addr, (void*)&resp, sizeof (resp)); in sol_uverbs_get_context()
1358 async_id = resp.async_fd; in sol_uverbs_get_context()
1396 (void) memset(&resp, 0, sizeof (resp)); in sol_uverbs_get_context()
1397 resp.num_comp_vectors = 1; in sol_uverbs_get_context()
1400 rc = copyout((void*)&resp, (void*)cmd.response.r_laddr, sizeof (resp)); in sol_uverbs_get_context()
[all …]
H A Dsol_uverbs_comp.c198 struct ib_uverbs_create_cq_resp resp; in sol_uverbs_create_cq() local
205 (void) memset(&resp, 0, sizeof (resp)); in sol_uverbs_create_cq()
307 (void *) ucq->cq, &resp.drv_out, sizeof (resp.drv_out)); in sol_uverbs_create_cq()
325 "0x%16llx 0x%16llx", resp.drv_out[0], resp.drv_out[1], in sol_uverbs_create_cq()
326 resp.drv_out[2], resp.drv_out[3]); in sol_uverbs_create_cq()
328 resp.cqe = real_size; in sol_uverbs_create_cq()
329 resp.cq_handle = ucq->uobj.uo_id; in sol_uverbs_create_cq()
332 rc = copyout((void*)&resp, (void*)cmd.response.r_laddr, sizeof (resp)); in sol_uverbs_create_cq()
334 rc = copyout((void*)&resp, (void*)cmd.response.r_addr, sizeof (resp)); in sol_uverbs_create_cq()
436 struct ib_uverbs_destroy_cq_resp resp; in sol_uverbs_destroy_cq() local
[all …]
H A Dsol_uverbs_qp.c360 struct ib_uverbs_create_qp_resp resp; in sol_uverbs_create_qp() local
372 (void) memset(&resp, 0, sizeof (resp)); in sol_uverbs_create_qp()
507 (void *)uqp->qp, &resp.drv_out, sizeof (resp.drv_out)); in sol_uverbs_create_qp()
518 resp.drv_out[0], resp.drv_out[1]); in sol_uverbs_create_qp()
521 resp.drv_out[2], resp.drv_out[3]); in sol_uverbs_create_qp()
524 resp.drv_out[4], resp.drv_out[5]); in sol_uverbs_create_qp()
533 resp.qp_handle = uqp->uobj.uo_id; in sol_uverbs_create_qp()
534 resp.qpn = uqp->qp_num; in sol_uverbs_create_qp()
535 resp.max_send_wr = qp_sizes.cs_sq; in sol_uverbs_create_qp()
536 resp.max_send_sge = qp_sizes.cs_sq_sgl; in sol_uverbs_create_qp()
[all …]
/titanic_50/usr/src/cmd/fs.d/nfs/nfsmapid/
H A Dnfsmapid_test.c324 struct mapid_res *resp = mapresp; in nfs_idmap_str_uid() local
386 resp = (struct mapid_res *)door_args.rbuf; in nfs_idmap_str_uid()
387 switch (resp->status) { in nfs_idmap_str_uid()
389 *uid = resp->u_res.uid; in nfs_idmap_str_uid()
393 *uid = resp->u_res.uid; in nfs_idmap_str_uid()
394 error = resp->status; in nfs_idmap_str_uid()
404 error = resp->status; in nfs_idmap_str_uid()
412 if (resp != mapresp) in nfs_idmap_str_uid()
427 struct mapid_res *resp = mapresp; in nfs_idmap_uid_str() local
468 resp = (struct mapid_res *)door_args.rbuf; in nfs_idmap_uid_str()
[all …]
H A Dnfsmapid_server.c191 struct mapid_res *resp; in nfsmapid_uid_str() local
210 resp = &result; in nfsmapid_uid_str()
211 resp->status = NFSMAPID_BADID; in nfsmapid_uid_str()
212 resp->u_res.len = 0; in nfsmapid_uid_str()
237 resp = &result; in nfsmapid_uid_str()
238 resp->status = NFSMAPID_UNMAPPABLE; in nfsmapid_uid_str()
239 resp->u_res.len = 0; in nfsmapid_uid_str()
273 resp = &result; in nfsmapid_uid_str()
274 resp->status = NFSMAPID_INTERNAL; in nfsmapid_uid_str()
275 resp->u_res.len = 0; in nfsmapid_uid_str()
[all …]
/titanic_50/usr/src/uts/sun4u/io/
H A Drmcadm.c353 rr.resp.msg_type = rr32.resp.msg_type; in rmcadm_ioctl()
354 rr.resp.msg_len = rr32.resp.msg_len; in rmcadm_ioctl()
355 rr.resp.msg_bytes = rr32.resp.msg_bytes; in rmcadm_ioctl()
356 rr.resp.msg_buf = (caddr_t)(uintptr_t)rr32.resp.msg_buf; in rmcadm_ioctl()
403 user_resp_buf = rr.resp.msg_buf; in rmcadm_ioctl()
405 rr.resp.msg_buf = kmem_alloc(rr.resp.msg_len, KM_SLEEP); in rmcadm_ioctl()
422 if (rr.resp.msg_type != DP_NULL_MSG) { in rmcadm_ioctl()
424 rmc_respp->msg_type = rr.resp.msg_type; in rmcadm_ioctl()
425 rmc_respp->msg_buf = rr.resp.msg_buf; in rmcadm_ioctl()
426 rmc_respp->msg_len = rr.resp.msg_len; in rmcadm_ioctl()
[all …]
H A Dopl_cfg.c1182 struct fc_resource *resp, *nresp; in opl_fc_ops_free_handle() local
1194 for (resp = rp->head; resp != NULL; resp = nresp) { in opl_fc_ops_free_handle()
1195 nresp = resp->next; in opl_fc_ops_free_handle()
1196 switch (resp->type) { in opl_fc_ops_free_handle()
1204 if (resp->fc_map_handle != NULL) in opl_fc_ops_free_handle()
1205 opl_unmap_phys(&resp->fc_map_handle); in opl_fc_ops_free_handle()
1219 resp->fc_contig_virt, resp->fc_contig_len); in opl_fc_ops_free_handle()
1222 (uint64_t)resp->fc_contig_virt, in opl_fc_ops_free_handle()
1223 resp->fc_contig_len, "opl-fcodemem", in opl_fc_ops_free_handle()
1230 "unknown resource type %d", resp->type); in opl_fc_ops_free_handle()
[all …]
/titanic_50/usr/src/lib/libipmi/common/
H A Dipmi_sensor.c36 ipmi_cmd_t cmd, *resp; in ipmi_get_sensor_reading() local
45 if ((resp = ipmi_send(ihp, &cmd)) == NULL) in ipmi_get_sensor_reading()
53 if (resp->ic_dlen < sizeof (ipmi_sensor_reading_t) - sizeof (uint8_t)) { in ipmi_get_sensor_reading()
57 srp = resp->ic_data; in ipmi_get_sensor_reading()
59 if (resp->ic_dlen < sizeof (ipmi_sensor_reading_t)) in ipmi_get_sensor_reading()
60 (void) memset((char *)srp + resp->ic_dlen, '\0', in ipmi_get_sensor_reading()
61 sizeof (ipmi_sensor_reading_t) - resp->ic_dlen); in ipmi_get_sensor_reading()
71 ipmi_cmd_t cmd, *resp; in ipmi_set_sensor_reading() local
90 if ((resp = ipmi_send(ihp, &cmd)) == NULL) in ipmi_set_sensor_reading()
93 if (resp->ic_dlen != 0) in ipmi_set_sensor_reading()
H A Dipmi_user.c108 ipmi_cmd_t cmd, *resp; in ipmi_get_user_access() local
120 if ((resp = ipmi_send(ihp, &cmd)) == NULL) { in ipmi_get_user_access()
133 if (resp->ic_dlen < sizeof (ipmi_get_user_access_t)) { in ipmi_get_user_access()
138 return (resp->ic_data); in ipmi_get_user_access()
144 ipmi_cmd_t cmd, *resp; in ipmi_get_user_name() local
152 if ((resp = ipmi_send(ihp, &cmd)) == NULL) in ipmi_get_user_name()
155 if (resp->ic_dlen < 16) { in ipmi_get_user_name()
160 return (resp->ic_data); in ipmi_get_user_name()
182 ipmi_get_user_access_t *resp; in ipmi_user_iter() local
198 if ((resp = ipmi_get_user_access(ihp, channel, 1)) == NULL) { in ipmi_user_iter()
[all …]
H A Dipmi_sunoem.c95 ipmi_cmd_t cmd, *resp; in ipmi_send_sunoem_led_set() local
103 if ((resp = ipmi_send(ihp, &cmd)) == NULL) in ipmi_send_sunoem_led_set()
106 if (resp->ic_dlen != 0) in ipmi_send_sunoem_led_set()
116 ipmi_cmd_t cmd, *resp; in ipmi_send_sunoem_led_get() local
124 if ((resp = ipmi_send(ihp, &cmd)) == NULL) in ipmi_send_sunoem_led_get()
127 if (resp->ic_dlen != 1) in ipmi_send_sunoem_led_get()
130 *result = *((uint8_t *)resp->ic_data); in ipmi_send_sunoem_led_get()
178 ipmi_cmd_t cmd, *resp; in ipmi_sunoem_uptime() local
190 if ((resp = ipmi_send(ihp, &cmd)) == NULL) in ipmi_sunoem_uptime()
193 if (resp->ic_dlen != 2 * sizeof (uint32_t)) in ipmi_sunoem_uptime()
[all …]
H A Dipmi_misc.c34 ipmi_cmd_t cmd, *resp; in ipmi_get_deviceid() local
46 if ((resp = ipmi_send(ihp, &cmd)) == NULL) in ipmi_get_deviceid()
49 if (resp->ic_dlen < sizeof (ipmi_deviceid_t)) { in ipmi_get_deviceid()
58 if ((ihp->ih_deviceid = ipmi_alloc(ihp, resp->ic_dlen)) == NULL) in ipmi_get_deviceid()
61 (void) memcpy(ihp->ih_deviceid, resp->ic_data, resp->ic_dlen); in ipmi_get_deviceid()
65 ihp->ih_deviceid_len = resp->ic_dlen; in ipmi_get_deviceid()
130 ipmi_cmd_t cmd, *resp; in ipmi_get_channel_auth_caps() local
148 if ((resp = ipmi_send(ihp, &cmd)) == NULL) in ipmi_get_channel_auth_caps()
151 if (resp->ic_dlen < sizeof (ipmi_channel_auth_caps_t)) { in ipmi_get_channel_auth_caps()
161 (void) memcpy(caps, resp->ic_data, sizeof (ipmi_channel_auth_caps_t)); in ipmi_get_channel_auth_caps()
/titanic_50/usr/src/lib/pam_modules/sample/
H A Dsample_utils.c71 __free_resp(num_msg, resp) in __free_resp() argument
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; variable
117 resp = NULL;
136 retcode = conv_funp(num_msg, &msg, &resp, conv_apdp);
[all …]
/titanic_50/usr/src/cmd/power/
H A Dpm_pam_conv.c122 if (r->resp) { in free_resp()
124 bzero(r->resp, strlen(r->resp)); in free_resp()
125 free(r->resp); in free_resp()
126 r->resp = NULL; in free_resp()
135 struct pam_response **resp, void *my_data) in pam_tty_conv() argument
145 *resp = NULL; in pam_tty_conv()
150 *resp = r; in pam_tty_conv()
169 r->resp = NULL; in pam_tty_conv()
181 r->resp = getinput(echo_off); in pam_tty_conv()
212 *resp = NULL; in pam_tty_conv()
/titanic_50/usr/src/uts/common/io/sdcard/impl/
H A Dsda_init.c62 sda_rtype_t rtype, uint32_t *resp) in sda_init_cmd() argument
71 errno = sda_cmd_exec(slot, cmdp, resp); in sda_init_cmd()
80 sda_rtype_t rtype, uint32_t *resp) in sda_init_acmd() argument
89 errno = sda_cmd_exec(slot, cmdp, resp); in sda_init_acmd()
236 uint32_t resp; in sda_init_card() local
335 R1b, &resp)) != SDA_EOK) { in sda_init_card()
336 sda_slot_err(slot, "Failed selecting card (%d, %x)", rv, resp); in sda_init_card()
380 uint32_t resp; in sda_init_blocklen() local
389 rv = sda_init_cmd(slot, CMD_SET_BLOCKLEN, 512, R1, &resp); in sda_init_blocklen()
392 rv, resp); in sda_init_blocklen()
[all …]

12345678910