Home
last modified time | relevance | path

Searched refs:req (Results 1 – 25 of 498) sorted by relevance

12345678910>>...20

/illumos-gate/usr/src/uts/intel/io/ipmi/
H A Dipmi.c66 req->ir_owner = dev; in ipmi_alloc_request()
68 req->ir_addr = addr; in ipmi_alloc_request()
71 req->ir_request = (uchar_t *)&req[1]; in ipmi_alloc_request()
75 req->ir_reply = (uchar_t *)&req[1] + requestlen; in ipmi_alloc_request()
82 return (req); in ipmi_alloc_request()
89 if (req == NULL) in ipmi_free_request()
94 kmem_free(req, req->ir_sz); in ipmi_free_request()
206 return (req); in ipmi_dequeue_request()
276 req->ir_reply[1] & 0x0f, req->ir_reply[2] & 0x7f, in ipmi_startup()
277 req->ir_reply[3] >> 4, req->ir_reply[3] & 0x0f, in ipmi_startup()
[all …]
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Ddoor.c253 req->req_data.data[req->count] = in process_get_request_from_doc()
255 req->req_data.data[++req->count] = NULL; in process_get_request_from_doc()
458 req->req_data.data[req->count++] = in process_getAssociated_request_from_doc()
460 req->req_data.data[req->count] = NULL; in process_getAssociated_request_from_doc()
555 req->req_data.pair[req->count]->member = in process_delete_request_from_doc()
557 req->req_data.data[++req->count] = NULL; in process_delete_request_from_doc()
611 req->req_data.data[req->count] = NULL; in process_delete_request_from_doc()
643 req->req_data.data[req->count] = in process_delete_request_from_doc()
645 req->req_data.data[++req->count] = NULL; in process_delete_request_from_doc()
844 req->req_data.attrlist[req->count]->name = in process_createModify_request_from_doc()
[all …]
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Defx_wol.c69 efx_mcdi_req_t req; in efx_wol_filter_clear() local
90 if (req.emr_rc != 0) { in efx_wol_filter_clear()
91 rc = req.emr_rc; in efx_wol_filter_clear()
110 efx_mcdi_req_t req; in efx_wol_filter_add() local
205 rc = req.emr_rc; in efx_wol_filter_add()
231 efx_mcdi_req_t req; in efx_wol_filter_remove() local
251 rc = req.emr_rc; in efx_wol_filter_remove()
271 efx_mcdi_req_t req; in efx_lightsout_offload_add() local
323 rc = req.emr_rc; in efx_lightsout_offload_add()
353 efx_mcdi_req_t req; in efx_lightsout_offload_remove() local
[all …]
H A Defx_nvram.c490 efx_mcdi_req_t req; in efx_mcdi_nvram_partitions() local
506 rc = req.emr_rc; in efx_mcdi_nvram_partitions()
553 efx_mcdi_req_t req; variable
570 rc = req.emr_rc;
661 rc = req.emr_rc; in efx_mcdi_nvram_info()
718 rc = req.emr_rc; in efx_mcdi_nvram_update_start()
764 rc = req.emr_rc; in efx_mcdi_nvram_read()
813 rc = req.emr_rc; in efx_mcdi_nvram_erase()
872 rc = req.emr_rc; in efx_mcdi_nvram_write()
910 rc = req.emr_rc; in efx_mcdi_nvram_update_finish()
[all …]
H A Def10_nic.c46 efx_mcdi_req_t req; in efx_mcdi_get_port_assignment() local
64 rc = req.emr_rc; in efx_mcdi_get_port_assignment()
90 efx_mcdi_req_t req; in efx_mcdi_get_port_modes() local
108 rc = req.emr_rc; in efx_mcdi_get_port_modes()
162 rc = req.emr_rc; in efx_mcdi_vadaptor_alloc()
196 rc = req.emr_rc; in efx_mcdi_vadaptor_free()
231 rc = req.emr_rc;
292 rc = req.emr_rc;
352 rc = req.emr_rc; in efx_mcdi_get_clock()
401 rc = req.emr_rc; in efx_mcdi_get_vector_cfg()
[all …]
H A Defx_mcdi.c921 rc = req.emr_rc;
970 rc = req.emr_rc;
1043 if (req.emr_rc != 0 && req.emr_rc != EIO) { in efx_mcdi_do_reboot()
1044 rc = req.emr_rc; in efx_mcdi_do_reboot()
1115 rc = req.emr_rc; in efx_mcdi_read_assertion()
1203 rc = req.emr_rc; in efx_mcdi_drv_attach()
1273 rc = req.emr_rc;
1353 rc = req.emr_rc; in efx_mcdi_get_resource_limits()
1400 rc = req.emr_rc; in efx_mcdi_get_phy_cfg()
1608 rc = req.emr_rc; in efx_mcdi_bist_enable_offline()
[all …]
H A Def10_rx.c48 efx_mcdi_req_t req; in efx_mcdi_init_rxq() local
98 rc = req.emr_rc; in efx_mcdi_init_rxq()
115 efx_mcdi_req_t req; in efx_mcdi_fini_rxq() local
131 if ((req.emr_rc != 0) && (req.emr_rc != MC_CMD_ERR_EALREADY)) { in efx_mcdi_fini_rxq()
132 rc = req.emr_rc; in efx_mcdi_fini_rxq()
152 efx_mcdi_req_t req; in efx_mcdi_rss_context_alloc() local
192 rc = req.emr_rc; in efx_mcdi_rss_context_alloc()
254 rc = req.emr_rc; in efx_mcdi_rss_context_free()
309 rc = req.emr_rc; in efx_mcdi_rss_context_set_flags()
364 rc = req.emr_rc; in efx_mcdi_rss_context_set_key()
[all …]
H A Dsiena_phy.c195 efx_mcdi_req_t req; in siena_phy_get_link() local
210 rc = req.emr_rc; in siena_phy_get_link()
270 efx_mcdi_req_t req; in siena_phy_reconfigure() local
331 rc = req.emr_rc; in siena_phy_reconfigure()
367 rc = req.emr_rc; in siena_phy_reconfigure()
385 efx_mcdi_req_t req; in siena_phy_verify() local
401 rc = req.emr_rc; in siena_phy_verify()
554 efx_mcdi_req_t req; in siena_phy_stats_update() local
574 rc = req.emr_rc; in siena_phy_stats_update()
647 efx_mcdi_req_t req; variable
[all …]
H A Def10_phy.c204 efx_mcdi_req_t req; in ef10_phy_get_link() local
218 if (req.emr_rc != 0) { in ef10_phy_get_link()
219 rc = req.emr_rc; in ef10_phy_get_link()
280 efx_mcdi_req_t req; in ef10_phy_reconfigure() local
347 if (req.emr_rc != 0) { in ef10_phy_reconfigure()
348 rc = req.emr_rc; in ef10_phy_reconfigure()
383 if (req.emr_rc != 0) { in ef10_phy_reconfigure()
384 rc = req.emr_rc; in ef10_phy_reconfigure()
402 efx_mcdi_req_t req; in ef10_phy_verify() local
417 if (req.emr_rc != 0) { in ef10_phy_verify()
[all …]
H A Dhunt_phy.c85 efx_mcdi_req_t req; variable
94 req.emr_cmd = MC_CMD_POLL_BIST;
95 req.emr_in_buf = payload;
96 req.emr_in_length = MC_CMD_POLL_BIST_IN_LEN;
97 req.emr_out_buf = payload;
98 req.emr_out_length = MCDI_CTL_SDU_LEN_MAX;
100 efx_mcdi_execute(enp, &req);
102 if (req.emr_rc != 0) {
103 rc = req.emr_rc;
126 MCDI_OUT_DWORD(req, POLL_BIST_OUT_MEM_BUS);
[all …]
/illumos-gate/usr/src/uts/i86pc/os/
H A Dpci_cfgacc_x86.c117 if (req->write) in pci_cfgacc_io()
125 if (req->write) in pci_cfgacc_io()
133 if (req->write) in pci_cfgacc_io()
141 if (req->write) { in pci_cfgacc_io()
170 if (req->write) in pci_cfgacc_mmio()
176 if (req->write) in pci_cfgacc_mmio()
182 if (req->write) in pci_cfgacc_mmio()
188 if (req->write) in pci_cfgacc_mmio()
201 int sz = req->size; in pci_cfgacc_valid()
231 if (!req->write) in pci_cfgacc_acc()
[all …]
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypserv_proc.c202 memset(&req, 0, sizeof (req)); in ypmatch()
310 memset(&req, 0, sizeof (req)); in ypfirst()
350 memset(&req, 0, sizeof (req)); in ypnext()
519 req.domain = req.map = NULL; in ypall()
521 memset((char *)&req, 0, sizeof (req)); in ypall()
600 memset((char *)&req, 0, sizeof (req)); in ypmaster()
644 req.domain = req.map = NULL; in yporder()
648 memset((char *)&req, 0, sizeof (req)); in yporder()
991 memset((void *) &req, 0, sizeof (req)); in ypoldmatch()
1101 memset((void *) &req, 0, sizeof (req)); in ypoldfirst()
[all …]
/illumos-gate/usr/src/uts/sun4v/io/pciex/
H A Dpci_cfgacc_4v.c50 int sz = req->size; in pci_cfgacc_valid()
58 req->offset, sz); in pci_cfgacc_valid()
107 if (!req->write) in pci_cfgacc_acc()
113 if (req->write) { in pci_cfgacc_acc()
114 pci_cfgacc_set(req->rcdip, req->bdf, req->offset, in pci_cfgacc_acc()
115 req->size, VAL64(req)); in pci_cfgacc_acc()
117 VAL64(req) = pci_cfgacc_get(req->rcdip, req->bdf, in pci_cfgacc_acc()
118 req->offset, req->size); in pci_cfgacc_acc()
121 VAL8(req) = (uint8_t)VAL64(req); in pci_cfgacc_acc()
124 VAL16(req) = (uint16_t)VAL64(req); in pci_cfgacc_acc()
[all …]
/illumos-gate/usr/src/uts/common/io/pciex/
H A Dpci_cfgacc.c49 pci_cfgacc_req_t req; in pci_cfgacc_get8() local
53 return (VAL8(&req)); in pci_cfgacc_get8()
59 pci_cfgacc_req_t req; in pci_cfgacc_put8() local
68 pci_cfgacc_req_t req; in pci_cfgacc_get16() local
72 return (VAL16(&req)); in pci_cfgacc_get16()
78 pci_cfgacc_req_t req; in pci_cfgacc_put16() local
87 pci_cfgacc_req_t req; in pci_cfgacc_get32() local
91 return (VAL32(&req)); in pci_cfgacc_get32()
97 pci_cfgacc_req_t req; in pci_cfgacc_put32() local
106 pci_cfgacc_req_t req; in pci_cfgacc_get64() local
[all …]
/illumos-gate/usr/src/lib/libnwam/common/
H A Dlibnwam_backend.c245 req->nwbda_result = err; in nwam_backend_door_server()
249 switch (req->nwbda_cmd) { in nwam_backend_door_server()
252 (strlen(req->nwbda_dbname) > 0 ? req->nwbda_dbname : NULL, in nwam_backend_door_server()
253 strlen(req->nwbda_object) > 0 ? req->nwbda_object : NULL, in nwam_backend_door_server()
270 req->nwbda_datalen = 0; in nwam_backend_door_server()
284 req->nwbda_dbname[0] == 0 ? NULL : req->nwbda_dbname, in nwam_backend_door_server()
285 req->nwbda_object[0] == 0 ? NULL : req->nwbda_object, in nwam_backend_door_server()
289 req->nwbda_datalen = 0; in nwam_backend_door_server()
299 (strlen(req->nwbda_dbname) > 0 ? req->nwbda_dbname : NULL, in nwam_backend_door_server()
300 strlen(req->nwbda_object) > 0 ? req->nwbda_object : NULL, in nwam_backend_door_server()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Ddoor_if.c472 req->nwda_data.nwdad_object_state. in nwamd_door_req_state()
479 req->nwda_data.nwdad_object_state. in nwamd_door_req_state()
538 nwamd_door_arg_t *req; in nwamd_door_switch() local
546 req = (nwamd_door_arg_t *)argp; in nwamd_door_switch()
547 req->nwda_error = NWAM_SUCCESS; in nwamd_door_switch()
552 req->nwda_error = NWAM_ERROR_INTERNAL; in nwamd_door_switch()
562 req->nwda_error = NWAM_ERROR_INTERNAL; in nwamd_door_switch()
588 req->nwda_error = door_req_table[i].ndre_fn(req, ucr, pwd); in nwamd_door_switch()
594 req->nwda_type); in nwamd_door_switch()
597 if (req->nwda_error == NWAM_SUCCESS) in nwamd_door_switch()
[all …]
/illumos-gate/usr/src/uts/common/io/vscan/
H A Dvscan_svc.c461 vscan_req_t *req; in vscan_svc_scan_file() local
583 req = next; in vscan_svc_reql_handler()
605 vscan_req_t *req; in vscan_svc_taskq_callback() local
690 vscan_req_t *req; in vscan_svc_populate_req() local
764 vscan_req_t *req; in vscan_svc_scan_result() local
807 vscan_req_t *req; in vscan_svc_scan_abort() local
1286 vscan_req_t *req; in vscan_svc_reql_find() local
1297 req = list_next(&vscan_svc_reql, req); in vscan_svc_reql_find()
1300 return (req); in vscan_svc_reql_find()
1316 return (req); in vscan_svc_reql_insert()
[all …]
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Drcm_lock.c66 req_t req[1]; member
291 req_t *req; in info_req_add() local
317 req->flag = flag; in info_req_add()
379 req_t *req = &dr_req_list->req[i]; in check_lock() local
481 req_t *req; in dr_req_update_entry() local
524 req->state, req->device); in dr_req_update_entry()
646 add_busy_rsrc_to_list(req->device, req->pid, req->state, in dr_req_update_entry()
676 req_t *req; in dr_req_add() local
724 req->pid = pid; in dr_req_add()
725 req->flag = flag; in dr_req_add()
[all …]
/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Ddbutils.c2043 qs, req->id1name, req->id1domain, in ad_lookup_batch_int()
2082 &req->id2domain, &req->id2.idtype, in ad_lookup_batch_int()
2095 qs, req->id2name, req->id2domain, in ad_lookup_batch_int()
2132 &req->id2name, &req->id2domain, in ad_lookup_batch_int()
2159 &req->id2name, &req->id2domain, in ad_lookup_batch_int()
2681 &req->id1name, &req->id1domain, &req->id1.idtype); in sid2pid_first_pass()
2697 req->id1name, req->id1domain, in sid2pid_first_pass()
3676 req->id2domain, req->id2name, req->id1.idmap_id_u.uid, in update_cache_pid2sid()
3709 req->id2name, req->id2domain, in update_cache_pid2sid()
3825 (req->id1domain != NULL) ? req->id1domain : "", req->id1name, in update_cache_sid2pid()
[all …]
/illumos-gate/usr/src/uts/common/sys/crypto/
H A Dimpl.h678 req) : \
708 req) : \
764 req) ( \ argument
768 req) : \
776 req) : \
811 req) ( \ argument
854 req) ( \ argument
861 req) ( \ argument
1110 req) ( \ argument
1117 req) ( \ argument
[all …]
/illumos-gate/usr/src/uts/sun4u/io/pciex/
H A Dpci_cfgacc_4u.c45 int sz = req->size; in pci_cfgacc_valid()
47 if (IS_P2ALIGNED(req->offset, sz) && in pci_cfgacc_valid()
53 req->offset, sz); in pci_cfgacc_valid()
129 if (!req->write) in pci_cfgacc_acc()
130 VAL64(req) = (uint64_t)-1; in pci_cfgacc_acc()
132 if (!pci_cfgacc_valid(req)) in pci_cfgacc_acc()
135 if (req->write) { in pci_cfgacc_acc()
136 pci_cfgacc_set(req->rcdip, req->bdf, req->offset, in pci_cfgacc_acc()
137 req->size, VAL64(req)); in pci_cfgacc_acc()
139 VAL64(req) = pci_cfgacc_get(req->rcdip, req->bdf, in pci_cfgacc_acc()
[all …]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb2_cancel.c95 struct smb_request *req; in smb2_cancel_sync() local
103 for (req = smb_slist_head(&session->s_req_list); req != NULL; in smb2_cancel_sync()
104 req = smb_slist_next(&session->s_req_list, req)) { in smb2_cancel_sync()
107 if (req == sr) in smb2_cancel_sync()
112 req->smb2_total_credits)) { in smb2_cancel_sync()
113 smb_request_cancel(req); in smb2_cancel_sync()
147 struct smb_request *req; in smb2_cancel_async() local
153 while (req) { in smb2_cancel_async()
155 if ((req != sr) && in smb2_cancel_async()
157 smb_request_cancel(req); in smb2_cancel_async()
[all …]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Dradius_auth.c47 set_radius_attrs(radius_packet_data_t *req,
75 radius_packet_data_t req; in radius_chap_validate() local
87 bzero(&req, sizeof (radius_packet_data_t)); in radius_chap_validate()
89 req.identifier = identifier; in radius_chap_validate()
90 req.code = RAD_ACCESS_REQ; in radius_chap_validate()
91 set_radius_attrs(&req, in radius_chap_validate()
124 &req) == -1) { in radius_chap_validate()
133 req.authenticator, &resp); in radius_chap_validate()
171 (char *)req->attrs[1].attr_value, in set_radius_attrs()
178 (char *)req->attrs[2].attr_value, in set_radius_attrs()
[all …]
/illumos-gate/usr/src/uts/common/io/comstar/port/iscsit/
H A Discsit_radiusauth.c43 set_radius_attrs(radius_packet_data_t *req,
71 radius_packet_data_t req; in iscsit_radius_chap_validate() local
85 req.identifier = identifier; in iscsit_radius_chap_validate()
86 req.code = RAD_ACCESS_REQ; in iscsit_radius_chap_validate()
87 set_radius_attrs(&req, in iscsit_radius_chap_validate()
119 &req) != 0) { in iscsit_radius_chap_validate()
130 req.authenticator, &resp); in iscsit_radius_chap_validate()
170 (char *)req->attrs[1].attr_value, in set_radius_attrs()
173 req->attrs[1].attr_value_len = 16; in set_radius_attrs()
177 (char *)req->attrs[2].attr_value, in set_radius_attrs()
[all …]
/illumos-gate/usr/src/uts/common/io/1394/
H A Ds1394_cmp.c248 s1394_hal_t *hal = req->cmd_callback_arg; in s1394_cmp_ompr_recv_read_request()
260 req->cmd_result = IEEE1394_RESP_COMPLETE; in s1394_cmp_ompr_recv_read_request()
263 (void) s1394_send_response(hal, req); in s1394_cmp_ompr_recv_read_request()
272 s1394_hal_t *hal = req->cmd_callback_arg; in s1394_cmp_impr_recv_read_request()
284 req->cmd_result = IEEE1394_RESP_COMPLETE; in s1394_cmp_impr_recv_read_request()
287 (void) s1394_send_response(hal, req); in s1394_cmp_impr_recv_read_request()
296 s1394_hal_t *hal = req->cmd_callback_arg; in s1394_cmp_ompr_recv_lock_request()
317 req->cmd_result = IEEE1394_RESP_COMPLETE; in s1394_cmp_ompr_recv_lock_request()
320 (void) s1394_send_response(hal, req); in s1394_cmp_ompr_recv_lock_request()
334 s1394_hal_t *hal = req->cmd_callback_arg; in s1394_cmp_impr_recv_lock_request()
[all …]

12345678910>>...20