Searched defs:rsp (Results 1 - 25 of 76) sorted by relevance

1234

/illumos-gate/usr/src/uts/common/os/
H A Drefstr.c37 refstr_t *rsp; local
38 size_t size = sizeof (rsp->rs_size) + sizeof (rsp->rs_refcnt) +
42 rsp = kmem_alloc(size, KM_SLEEP);
43 rsp->rs_size = (uint32_t)size;
44 rsp->rs_refcnt = 1;
45 (void) strcpy(rsp->rs_string, str);
46 return (rsp);
50 refstr_value(refstr_t *rsp) argument
52 return (rsp !
56 refstr_hold(refstr_t *rsp) argument
62 refstr_rele(refstr_t *rsp) argument
[all...]
H A Dretire_store.c158 rio_store_free(rio_store_t *rsp) argument
162 ASSERT(rsp);
163 ASSERT(rsp->rst_devpath);
164 ASSERT(rsp->rst_flags & RIO_STORE_F_RETIRED);
165 ASSERT(!(rsp->rst_flags & ~flag_mask));
167 STORE_TRC((CE_NOTE, "store: freed path: %s", rsp->rst_devpath));
169 kmem_free(rsp->rst_devpath, strlen(rsp->rst_devpath) + 1);
170 kmem_free(rsp, sizeof (*rsp));
177 rio_store_t *rsp; local
194 rio_store_t *rsp; local
234 list_insert_tail(nvf_list(nvfh), rsp); local
251 rio_store_t *rsp; local
320 rio_store_t *rsp; local
370 rio_store_t *rsp; local
407 rio_store_t *rsp; local
[all...]
/illumos-gate/usr/src/lib/libipmi/common/
H A Dipmi_sel.c42 ipmi_cmd_t cmd, *rsp; local
53 if ((rsp = ipmi_send(ihp, &cmd)) == NULL)
56 ip = (ipmi_sel_info_t *)rsp->ic_data;
80 ipmi_cmd_t cmd, *rsp; local
96 if ((rsp = ipmi_send(ihp, &cmd)) == NULL)
99 if (rsp->ic_dlen < sizeof (ipmi_sel_event_t)) {
104 evp = (ipmi_sel_event_t *)rsp->ic_data;
125 ipmi_cmd_t cmd, *rsp; local
133 if ((rsp = ipmi_send(ihp, &cmd)) == NULL)
136 if (rsp
166 ipmi_cmd_t cmd, *rsp; local
[all...]
H A Dipmi_misc.c169 ipmi_cmd_t cmd, *rsp; local
185 if ((rsp = ipmi_send(ihp, &cmd)) == NULL)
188 if (rsp->ic_dlen < sizeof (ipmi_channel_info_t)) {
193 return (rsp->ic_data);
232 ipmi_cmd_t cmd, *rsp; local
241 if ((rsp = ipmi_send(ihp, &cmd)) == NULL)
244 if (rsp->ic_dlen < sizeof (ipmi_chassis_status_t)) {
254 (void) memcpy(chs, rsp->ic_data, sizeof (ipmi_chassis_status_t));
H A Dipmi_lancfg.c101 ipmi_cmd_t cmd, *rsp; local
115 if ((rsp = ipmi_send(ihp, &cmd)) == NULL) {
124 if (rsp->ic_dlen < len + 1)
127 bcopy((uint8_t *)rsp->ic_data + 1, data, len);
H A Dipmi_sdr.c114 ipmi_cmd_t cmd, *rsp; local
125 if ((rsp = ipmi_send(ihp, &cmd)) == NULL)
128 sip = rsp->ic_data;
151 ipmi_cmd_t cmd, *rsp; local
159 if ((rsp = ipmi_send(ihp, &cmd)) == NULL)
162 ihp->ih_reservation = *((uint16_t *)rsp->ic_data);
481 ipmi_cmd_t cmd, *rsp; local
504 if ((rsp = ipmi_send(ihp, &cmd)) != NULL)
514 if (rsp == NULL)
517 sdr = (ipmi_sdr_t *)((ipmi_rsp_get_sdr_t *)rsp
[all...]
/illumos-gate/usr/src/cmd/vscan/vscand/
H A Dvs_stats.c150 vs_stats_rsp_t rsp; local
159 rsp.vsr_magic = VS_STATS_DOOR_MAGIC;
164 rsp.vsr_stats = vscan_stats;
166 (void) door_return((char *)&rsp, sizeof (vs_stats_rsp_t),
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dinit.c146 RSTATUS *rsp; local
177 rsp = new_rstatus(r, s);
180 rsp->req_file = reqfile;
184 rmfiles(rsp, 0);
185 free_rstatus(rsp);
202 char *file = makereqerr(rsp);
207 rmfiles(rsp, 0);
208 free_rstatus(rsp);
211 notify(rsp, NULL, 0, 0, 0);
229 if ((vr_ret=validate_request(rsp, NUL
[all...]
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Dsiena_nic.c491 efx_register_set_t *rsp; local
504 rsp = __siena_registers + count;
505 rsp->mask.eo_u32[0] = *dwordp++;
506 rsp->mask.eo_u32[1] = *dwordp++;
507 rsp->mask.eo_u32[2] = *dwordp++;
508 rsp->mask.eo_u32[3] = *dwordp++;
518 rsp = __siena_tables + count;
519 rsp->mask.eo_u32[0] = *dwordp++;
520 rsp->mask.eo_u32[1] = *dwordp++;
521 rsp
[all...]
H A Defx_nic.c645 __in efx_register_set_t *rsp,
656 EFSYS_ASSERT(rsp->rows == 1);
659 EFSYS_BAR_READO(enp->en_esbp, rsp->address, &original,
663 if (~(rsp->mask.eo_u32[bit >> 5]) & (1 << bit))
668 EFX_AND_OWORD(reg, rsp->mask);
671 EFSYS_BAR_WRITEO(enp->en_esbp, rsp->address, &reg,
673 EFSYS_BAR_READO(enp->en_esbp, rsp->address, &buf,
676 EFX_AND_OWORD(buf, rsp->mask);
683 EFX_OR_OWORD(reg, rsp->mask);
686 EFSYS_BAR_WRITEO(enp->en_esbp, rsp
643 efx_nic_test_registers( __in efx_nic_t *enp, __in efx_register_set_t *rsp, __in size_t count) argument
720 efx_nic_test_tables( __in efx_nic_t *enp, __in efx_register_set_t *rsp, __in efx_pattern_type_t pattern, __in size_t count) argument
[all...]
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Dpdu.c289 isns_pdu_t **rsp,
295 if (*rsp == NULL) {
296 *rsp = (isns_pdu_t *)malloc(RSP_PDU_FRAG_SZ);
297 if (*rsp != NULL) {
309 isns_pdu_t **rsp,
314 int ec = pdu_reset(rsp, sz);
288 pdu_reset( isns_pdu_t **rsp, size_t *sz ) argument
308 pdu_reset_rsp( isns_pdu_t **rsp, size_t *pl, size_t *sz ) argument
H A Desi.c1252 isns_pdu_t *rsp = NULL; local
1259 if (isns_rcv_pdu(so, &rsp, &rsp_sz,
1262 dump_pdu1(rsp);
1274 if (rsp != NULL) {
1275 free(rsp);
/illumos-gate/usr/src/uts/common/xen/public/io/
H A Dxs_wire.h108 char rsp[XENSTORE_RING_SIZE]; /* Replies and async watch events. */ member in struct:xenstore_domain_interface
/illumos-gate/usr/src/uts/common/io/vscan/
H A Dvscan_drv.c593 vs_scan_rsp_t rsp; local
630 if (ddi_copyin((void *)arg, &rsp,
634 vscan_svc_scan_result(&rsp);
/illumos-gate/usr/src/uts/common/io/i40e/
H A Di40e_stats.c1197 i40e_rxq_stat_t *rsp = &itrq->itrq_rxstat; local
1283 kstat_named_init(&rsp->irxs_bytes, "rx_bytes",
1285 rsp->irxs_bytes.value.ui64 = 0;
1286 kstat_named_init(&rsp->irxs_packets, "rx_packets",
1288 rsp->irxs_packets.value.ui64 = 0;
1289 kstat_named_init(&rsp->irxs_rx_desc_error, "rx_desc_error",
1291 rsp->irxs_rx_desc_error.value.ui64 = 0;
1292 kstat_named_init(&rsp->irxs_rx_intr_limit, "rx_intr_limit",
1294 rsp->irxs_rx_intr_limit.value.ui64 = 0;
1295 kstat_named_init(&rsp
[all...]
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Drelocate.c250 Dbg_reloc_discard(Lm_list *lml, Half mach, Rel_desc *rsp) argument
262 isp = rsp->rel_isdesc;
265 conv_reloc_type(mach, rsp->rel_rtype, 0, &inv_buf),
266 EC_OFF(rsp->rel_roffset));
272 Dbg_reloc_transition(Lm_list *lml, Half mach, Word rtype, Rel_desc *rsp, argument
283 isp = rsp->rel_isdesc;
285 conv_reloc_type(mach, rsp->rel_rtype, 0, &inv_buf1),
287 EC_OFF(rsp->rel_roffset), (*rel_desc_sname_func)(rsp),
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Drcfile.c69 static int rc_freesect(struct rcfile *rcp, struct rcsection *rsp);
70 static struct rckey *rc_sect_findkey(struct rcsection *rsp, const char *key);
71 static struct rckey *rc_sect_addkey(struct rcsection *rsp, const char *name,
293 rc_freesect(struct rcfile *rcp, struct rcsection *rsp) argument
299 SLIST_REMOVE(&rcp->rf_sect, rsp, rcsection, rs_next);
300 for (p = SLIST_FIRST(&rsp->rs_keys); p; ) {
305 free(rsp->rs_name);
306 free(rsp);
311 rc_sect_findkey(struct rcsection *rsp, const char *keyname) argument
317 SLIST_FOREACH(p, &rsp
324 rc_sect_addkey(struct rcsection *rsp, const char *name, const char *value) argument
386 set_value(struct rcfile *rcp, struct rcsection *rsp, struct rckey *rkp, char *ptr) argument
430 struct rcsection *rsp = NULL; local
542 struct rcsection *rsp; local
590 struct rcsection *rsp; local
626 struct rcsection *rsp; local
673 struct rcsection *rsp = NULL; local
[all...]
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_decl.c1100 dt_scope_t *rsp = &yypcb->pcb_dstack; local
1106 dsp->ds_decl = rsp->ds_decl;
1107 dsp->ds_next = rsp->ds_next;
1108 dsp->ds_ident = rsp->ds_ident;
1111 dsp->ds_class = rsp->ds_class;
1112 dsp->ds_enumval = rsp->ds_enumval;
1114 dt_scope_create(rsp);
1115 rsp->ds_next = dsp;
1121 dt_scope_t *rsp = &yypcb->pcb_dstack; local
1122 dt_scope_t *dsp = rsp
[all...]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_client_debug.c1246 rkstat_t *rsp; local
1251 rsp = (rkstat_t *)mi->mi_recov_ksp->ks_data;
1256 rsp->badhandle.value.ul++;
1259 rsp->clientid.value.ul++;
1262 rsp->dead_file.value.ul++;
1265 rsp->fail_relock.value.ul++;
1268 rsp->file_diff.value.ul++;
1271 rsp->opens_changed.value.ul++;
1275 rsp->siglost.value.ul++;
1278 rsp
1533 rkstat_t *rsp; local
1548 rkstat_t *rsp; local
[all...]
/illumos-gate/usr/src/uts/common/io/comstar/port/srpt/
H A Dsrpt_stp.c81 srp_login_rsp_t *rsp, uint8_t flags);
708 srp_rsp_t *rsp; local
715 rsp = iu->iu_buf;
717 bzero(rsp, SRP_RSP_SIZE + sizeof (srp_rsp_data_t));
718 rsp->rsp_type = SRP_IU_RSP;
724 rsp->rsp_req_limit_delta =
726 rsp->rsp_tag = iu->iu_tag;
731 rsp->rsp_flags |= SRP_RSP_VALID;
734 rsp->rsp_data_len = h2b32(sizeof (srp_rsp_data_t));
762 srp_rsp_t *rsp; local
1640 srpt_format_login_rsp(srp_login_req_t *req, srp_login_rsp_t *rsp, uint8_t flags) argument
[all...]
/illumos-gate/usr/src/uts/common/io/ntxn/
H A Dunm_nic_ctx.c69 #define NX_CDRP_FORM_RSP(rsp) (rsp)
70 #define NX_CDRP_IS_RSP(rsp) (((rsp) & NX_CDRP_CMD_BIT) == 0)
153 u32 raw_rsp, rsp = NX_CDRP_RSP_OK; local
166 rsp = LE_TO_HOST_32(raw_rsp);
167 } while (!NX_CDRP_IS_RSP(rsp));
169 return (rsp);
176 u32 rsp; local
201 rsp
[all...]
/illumos-gate/usr/src/uts/common/xen/io/
H A Dblk_common.c876 blkif_response_t *rsp; local
887 rsp = xvdi_ring_get_response(ring->ri_ring);
888 ASSERT(rsp);
892 bcopy(src, rsp, sizeof (*rsp));
895 blk_ring_response_32((blkif_x86_32_response_t *)rsp, src);
898 blk_ring_response_64((blkif_x86_64_response_t *)rsp, src);
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_isr.c2123 struct fcp_rsp_info *rsp; local
2289 rsp = (struct fcp_rsp_info *)(sp->pkt->pkt_resp +
2323 ddi_rep_get8(ha->hba_buf.acc_handle, (uint8_t *)rsp,
2328 rsp = (struct fcp_rsp_info *)((caddr_t)rsp +
2520 sp->request_sense_ptr = (caddr_t)rsp;
3194 ql_els_passthru_entry(ql_adapter_state_t *ha, els_passthru_entry_rsp_t *rsp, argument
3205 resp_identifier = ddi_get32(ha->hba_buf.acc_handle, &rsp->handle);
3224 (uint32_t *)&rsp->handle, set_flags, reset_flags);
3245 ha->hba_buf.acc_handle, &rsp
[all...]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_els.c1207 /* Typically the FLOGI ACC rsp has the R_A_TOV value both sides use */
2831 uint32_t *rsp; local
2886 rsp = (uint32_t *)pkt->pkt_resp;
2887 rsp_code = *rsp;
2955 uint32_t *rsp; local
3065 rsp = (uint32_t *)pkt->pkt_resp;
3104 LE_SWAP32(rsp[4]), LE_SWAP32(rsp[5]));
3121 LE_SWAP32(rsp[4]), LE_SWAP32(rsp[
[all...]
/illumos-gate/usr/src/cmd/fm/modules/common/ext-event-transport/
H A Dfmevt_inbound.c191 struct fmevt_rs *rsp = &rulelist[i]; local
193 if (!fmevt_rs_burst(hdl, rsp->rs_pat, &rsp->rs_namespace,
194 &rsp->rs_subsys, B_TRUE))
344 struct fmevt_rs *rsp = &rulelist[i]; local
346 if (*ns != '*' && *rsp->rs_namespace != '*' &&
347 strcmp(ns, rsp->rs_namespace) != 0)
350 if (*subsys != '*' && *rsp->rs_subsys != '*' &&
351 strcmp(subsys, rsp->rs_subsys) != 0)
354 dispf = rsp
[all...]

Completed in 107 milliseconds

1234