Searched refs:req (Results 1 - 25 of 451) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/uts/intel/io/ipmi/
H A Dipmi.c61 struct ipmi_request *req; local
63 req = kmem_zalloc(sizeof (struct ipmi_request) + requestlen + replylen,
65 req->ir_sz = sizeof (struct ipmi_request) + requestlen + replylen;
66 req->ir_owner = dev;
67 req->ir_msgid = msgid;
68 req->ir_addr = addr;
69 req->ir_command = command;
71 req->ir_request = (uchar_t *)&req[1];
72 req
87 ipmi_free_request(struct ipmi_request *req) argument
100 ipmi_complete_request(struct ipmi_softc *sc, struct ipmi_request *req) argument
139 struct ipmi_request *req = *preq; local
190 struct ipmi_request *req; local
210 ipmi_polled_enqueue_request(struct ipmi_softc *sc, struct ipmi_request *req) argument
233 struct ipmi_request *req; local
[all...]
/illumos-gate/usr/src/cmd/svc/
H A Dinc.flg30 exec_file usr/src/cmd/svc/req.flg
/illumos-gate/usr/src/uts/common/io/pciex/
H A Dpci_cfgacc.c44 void (*pci_cfgacc_acc_p)(pci_cfgacc_req_t *req);
49 pci_cfgacc_req_t req; local
51 PCI_CFGACC_FILLREQ(req, rcdip, bdf, off, 1, B_FALSE, 0);
52 (*pci_cfgacc_acc_p)(&req);
53 return (VAL8(&req));
59 pci_cfgacc_req_t req; local
61 PCI_CFGACC_FILLREQ(req, rcdip, bdf, off, 1, B_TRUE, data);
62 (*pci_cfgacc_acc_p)(&req);
68 pci_cfgacc_req_t req; local
70 PCI_CFGACC_FILLREQ(req, rcdi
78 pci_cfgacc_req_t req; local
87 pci_cfgacc_req_t req; local
97 pci_cfgacc_req_t req; local
106 pci_cfgacc_req_t req; local
116 pci_cfgacc_req_t req; local
[all...]
/illumos-gate/usr/src/uts/sun4v/io/pciex/
H A Dpci_cfgacc_4v.c48 pci_cfgacc_valid(pci_cfgacc_req_t *req) argument
50 int sz = req->size;
52 if (IS_P2ALIGNED(req->offset, sz) &&
53 (req->offset + sz - 1 < PCIE_CFG_SPACE_SIZE) &&
58 req->offset, sz);
105 pci_cfgacc_acc(pci_cfgacc_req_t *req) argument
107 if (!req->write)
108 VAL64(req) = (uint64_t)-1;
110 if (!pci_cfgacc_valid(req))
113 if (req
[all...]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb2_cancel.c95 struct smb_request *req; local
103 for (req = smb_slist_head(&session->s_req_list); req != NULL;
104 req = smb_slist_next(&session->s_req_list, req)) {
107 if (req == sr)
110 if (sr->smb2_messageid >= req->smb2_first_msgid &&
111 sr->smb2_messageid < (req->smb2_first_msgid +
112 req->smb2_total_credits)) {
113 smb_request_cancel(req);
147 struct smb_request *req; local
[all...]
H A Dsmb_nt_cancel.c71 struct smb_request *req; local
78 req = smb_slist_head(&session->s_req_list);
79 while (req) {
80 ASSERT(req->sr_magic == SMB_REQ_MAGIC);
81 if ((req != sr) &&
82 (req->smb_uid == sr->smb_uid) &&
83 (req->smb_pid == sr->smb_pid) &&
84 (req->smb_tid == sr->smb_tid) &&
85 (req->smb_mid == sr->smb_mid)) {
86 smb_request_cancel(req);
[all...]
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Defx_wol.c69 efx_mcdi_req_t req; local
78 req.emr_cmd = MC_CMD_WOL_FILTER_RESET;
79 req.emr_in_buf = payload;
80 req.emr_in_length = MC_CMD_WOL_FILTER_RESET_IN_LEN;
81 req.emr_out_buf = payload;
82 req.emr_out_length = MC_CMD_WOL_FILTER_RESET_OUT_LEN;
84 MCDI_IN_SET_DWORD(req, WOL_FILTER_RESET_IN_MASK,
88 efx_mcdi_execute(enp, &req);
90 if (req.emr_rc != 0) {
91 rc = req
110 efx_mcdi_req_t req; local
231 efx_mcdi_req_t req; local
271 efx_mcdi_req_t req; local
353 efx_mcdi_req_t req; local
[all...]
H A Def10_nic.c46 efx_mcdi_req_t req; local
55 req.emr_cmd = MC_CMD_GET_PORT_ASSIGNMENT;
56 req.emr_in_buf = payload;
57 req.emr_in_length = MC_CMD_GET_PORT_ASSIGNMENT_IN_LEN;
58 req.emr_out_buf = payload;
59 req.emr_out_length = MC_CMD_GET_PORT_ASSIGNMENT_OUT_LEN;
61 efx_mcdi_execute(enp, &req);
63 if (req.emr_rc != 0) {
64 rc = req.emr_rc;
68 if (req
90 efx_mcdi_req_t req; local
140 efx_mcdi_req_t req; local
179 efx_mcdi_req_t req; local
213 efx_mcdi_req_t req; local
271 efx_mcdi_req_t req; local
334 efx_mcdi_req_t req; local
386 efx_mcdi_req_t req; local
433 efx_mcdi_req_t req; local
484 efx_mcdi_req_t req; local
542 efx_mcdi_req_t req; local
576 efx_mcdi_req_t req; local
624 efx_mcdi_req_t req; local
659 efx_mcdi_req_t req; local
694 efx_mcdi_req_t req; local
1299 efx_mcdi_req_t req; local
[all...]
H A Dhunt_phy.c85 efx_mcdi_req_t req; local
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;
107 if (req
[all...]
H A Dsiena_phy.c195 efx_mcdi_req_t req; local
201 req.emr_cmd = MC_CMD_GET_LINK;
202 req.emr_in_buf = payload;
203 req.emr_in_length = MC_CMD_GET_LINK_IN_LEN;
204 req.emr_out_buf = payload;
205 req.emr_out_length = MC_CMD_GET_LINK_OUT_LEN;
207 efx_mcdi_execute(enp, &req);
209 if (req.emr_rc != 0) {
210 rc = req.emr_rc;
214 if (req
270 efx_mcdi_req_t req; local
385 efx_mcdi_req_t req; local
554 efx_mcdi_req_t req; local
647 efx_mcdi_req_t req; local
[all...]
H A Def10_rx.c48 efx_mcdi_req_t req; local
63 req.emr_cmd = MC_CMD_INIT_RXQ;
64 req.emr_in_buf = payload;
65 req.emr_in_length = MC_CMD_INIT_RXQ_IN_LEN(npages);
66 req.emr_out_buf = payload;
67 req.emr_out_length = MC_CMD_INIT_RXQ_OUT_LEN;
69 MCDI_IN_SET_DWORD(req, INIT_RXQ_IN_SIZE, size);
70 MCDI_IN_SET_DWORD(req, INIT_RXQ_IN_TARGET_EVQ, target_evq);
71 MCDI_IN_SET_DWORD(req, INIT_RXQ_IN_LABEL, label);
72 MCDI_IN_SET_DWORD(req, INIT_RXQ_IN_INSTANC
115 efx_mcdi_req_t req; local
152 efx_mcdi_req_t req; local
232 efx_mcdi_req_t req; local
276 efx_mcdi_req_t req; local
332 efx_mcdi_req_t req; local
389 efx_mcdi_req_t req; local
[all...]
H A Defx_mcdi.c898 efx_mcdi_req_t req; local
912 req.emr_cmd = MC_CMD_GET_VERSION;
913 req.emr_in_buf = payload;
914 req.emr_in_length = MC_CMD_GET_VERSION_IN_LEN;
915 req.emr_out_buf = payload;
916 req.emr_out_length = MC_CMD_GET_VERSION_OUT_LEN;
918 efx_mcdi_execute(enp, &req);
920 if (req.emr_rc != 0) {
921 rc = req.emr_rc;
926 if (req
1013 efx_mcdi_req_t req; local
1075 efx_mcdi_req_t req; local
1178 efx_mcdi_req_t req; local
1258 efx_mcdi_req_t req; local
1338 efx_mcdi_req_t req; local
1385 efx_mcdi_req_t req; local
1593 efx_mcdi_req_t req; local
1626 efx_mcdi_req_t req; local
1689 efx_mcdi_req_t req; local
1738 efx_mcdi_req_t req; local
1894 efx_mcdi_req_t req; local
1939 efx_mcdi_req_t req; local
1988 efx_mcdi_req_t req; local
2032 efx_mcdi_req_t req; local
2081 efx_mcdi_req_t req; local
[all...]
H A Defx_nvram.c490 efx_mcdi_req_t req; local
497 req.emr_cmd = MC_CMD_NVRAM_PARTITIONS;
498 req.emr_in_buf = payload;
499 req.emr_in_length = MC_CMD_NVRAM_PARTITIONS_IN_LEN;
500 req.emr_out_buf = payload;
501 req.emr_out_length = MC_CMD_NVRAM_PARTITIONS_OUT_LENMAX;
503 efx_mcdi_execute(enp, &req);
505 if (req.emr_rc != 0) {
506 rc = req.emr_rc;
510 if (req
553 efx_mcdi_req_t req; local
646 efx_mcdi_req_t req; local
703 efx_mcdi_req_t req; local
739 efx_mcdi_req_t req; local
794 efx_mcdi_req_t req; local
838 efx_mcdi_req_t req; local
892 efx_mcdi_req_t req; local
929 efx_mcdi_req_t req; local
[all...]
H A Def10_phy.c204 efx_mcdi_req_t req; local
210 req.emr_cmd = MC_CMD_GET_LINK;
211 req.emr_in_buf = payload;
212 req.emr_in_length = MC_CMD_GET_LINK_IN_LEN;
213 req.emr_out_buf = payload;
214 req.emr_out_length = MC_CMD_GET_LINK_OUT_LEN;
216 efx_mcdi_execute(enp, &req);
218 if (req.emr_rc != 0) {
219 rc = req.emr_rc;
223 if (req
280 efx_mcdi_req_t req; local
402 efx_mcdi_req_t req; local
[all...]
/illumos-gate/usr/src/uts/i86pc/os/
H A Dpci_cfgacc_x86.c105 pci_cfgacc_io(pci_cfgacc_req_t *req) argument
110 bus = PCI_BDF_BUS(req->bdf);
111 dev = PCI_BDF_DEV(req->bdf);
112 func = PCI_BDF_FUNC(req->bdf);
113 ioacc_offset = req->offset;
115 switch (req->size) {
117 if (req->write)
119 ioacc_offset, VAL8(req));
121 VAL8(req) = (*pci_getb_func)(bus, dev, func,
125 if (req
157 pci_cfgacc_mmio(pci_cfgacc_req_t *req) argument
199 pci_cfgacc_valid(pci_cfgacc_req_t *req, uint16_t cfgspc_size) argument
214 pci_cfgacc_check_io(pci_cfgacc_req_t *req) argument
227 pci_cfgacc_acc(pci_cfgacc_req_t *req) argument
[all...]
/illumos-gate/usr/src/uts/sun4u/io/pciex/
H A Dpci_cfgacc_4u.c43 pci_cfgacc_valid(pci_cfgacc_req_t *req) argument
45 int sz = req->size;
47 if (IS_P2ALIGNED(req->offset, sz) &&
48 (req->offset + sz - 1 < PCIE_CFG_SPACE_SIZE) &&
53 req->offset, sz);
127 pci_cfgacc_acc(pci_cfgacc_req_t *req) argument
129 if (!req->write)
130 VAL64(req) = (uint64_t)-1;
132 if (!pci_cfgacc_valid(req))
135 if (req
[all...]
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Ddoor.c151 * req: request to be filled up.
156 process_get_request_from_doc(xmlXPathContextPtr ctext, request_t *req) argument
215 req->op_info.obj = obj;
239 req->count = 0;
240 req->req_data.data = (xmlChar **) malloc(sizeof (xmlChar *));
246 req->req_data.data =
247 NEW_REQARGV(req->req_data.data, req->count);
248 if (req->req_data.data == (xmlChar **)NULL) {
253 req
283 process_enumerate_request_from_doc(xmlXPathContextPtr ctext, request_t *req) argument
344 process_getAssociated_request_from_doc(xmlXPathContextPtr ctext, request_t *req) argument
482 process_delete_request_from_doc(xmlXPathContextPtr ctext, request_t *req) argument
672 process_createModify_request_from_doc(xmlXPathContextPtr ctext, request_t *req) argument
910 process_mgmt_request(xmlDocPtr x_doc, request_t *req, ucred_t *uc) argument
991 build_mgmt_response(xmlChar **response, request_t req, int *size) argument
1189 cleanup_request(request_t req) argument
1325 request_t req; local
[all...]
/illumos-gate/usr/src/lib/libnwam/common/
H A Dlibnwam_backend.c211 nwam_backend_door_arg_t *req = (nwam_backend_door_arg_t *)arg; local
220 req->nwbda_result = NWAM_INVALID_ARG;
221 (void) door_return((char *)req,
226 req->nwbda_result = NWAM_ERROR_INTERNAL;
227 (void) door_return((char *)req, arg_size, NULL, 0);
233 if (req->nwbda_cmd == NWAM_BACKEND_DOOR_CMD_READ_REQ)
235 if ((err = nwam_check_auths(uid, write, req->nwbda_flags))
239 req->nwbda_cmd == NWAM_BACKEND_DOOR_CMD_UPDATE_REQ ?
241 (char *)req->nwbda_object,
242 (char *)req
384 nwam_backend_door_arg_t *req = (nwam_backend_door_arg_t *)&reqbuf; local
[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; local
83 bzero(&req, sizeof (radius_packet_data_t));
85 req.identifier = identifier;
86 req.code = RAD_ACCESS_REQ;
87 set_radius_attrs(&req,
107 bcopy(md5_digest, &req.authenticator, RAD_AUTHENTICATOR_LEN);
119 &req) != 0) {
130 req.authenticator, &resp);
155 set_radius_attrs(radius_packet_data_t *req, argument
[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; local
87 bzero(&req, sizeof (radius_packet_data_t));
89 req.identifier = identifier;
90 req.code = RAD_ACCESS_REQ;
91 set_radius_attrs(&req,
112 bcopy(md5_digest, &req.authenticator, RAD_AUTHENTICATOR_LEN);
124 &req) == -1) {
133 req.authenticator, &resp);
156 set_radius_attrs(radius_packet_data_t *req, argument
[all...]
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypserv_proc.c105 static bool xdrypserv_ypall(XDR *xdrs, struct ypreq_nokey *req);
106 static int multihomed(struct ypreq_key req, struct ypresp_val *resp,
108 static int omultihomed(struct yprequest req, struct ypresponse *resp,
197 struct ypreq_key req; local
202 memset(&req, 0, sizeof (req));
206 if (!svc_getargs(transp, (xdrproc_t)xdr_ypreq_key, (char *)&req)) {
215 if ((fdb = ypset_current_map(req.map, req.domain,
220 resp.valdat = dbm_fetch(fdb, req
305 struct ypreq_nokey req; local
345 struct ypreq_key req; local
513 struct ypreq_nokey req; local
594 struct ypreq_nokey req; local
639 struct ypreq_nokey req; local
792 xdrypserv_ypall(XDR *xdrs, struct ypreq_nokey *req) argument
847 multihomed(struct ypreq_key req, struct ypresp_val *resp, SVCXPRT *xprt, DBM *fdb) argument
985 struct yprequest req; local
1096 struct yprequest req; local
1160 struct yprequest req; local
1227 struct yprequest req; local
1298 struct yprequest req; local
1349 struct yprequest req; local
1397 struct yprequest req; local
1451 omultihomed(struct yprequest req, struct ypresponse *resp, SVCXPRT *xprt, DBM *fdb) argument
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Dpci_cfgacc.h66 #define VAL8(req) ((req)->value.b)
67 #define VAL16(req) ((req)->value.w)
68 #define VAL32(req) ((req)->value.dw)
69 #define VAL64(req) ((req)->value.qw)
/illumos-gate/usr/src/uts/common/io/skd/
H A Dskd.conf33 # max-sgs-per-req:
46 max-sgs-per-req=256;
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Drcm_lock.c66 req_t req[1]; member in struct:__anon1359
184 if (list->req[i].state == RCM_STATE_REMOVE)
197 if ((strcmp(device, list->req[i].device) != 0) ||
198 (list->req[i].flag & RCM_FILESYS) != (flag & RCM_FILESYS))
203 (list->req[i].seq_num >> SEQ_NUM_SHIFT)))
207 return (&list->req[i]);
253 (*listp)->req[i].state = RCM_STATE_REMOVE;
254 (void) strcpy((*listp)->req[i].device, "");
259 return (&(*listp)->req[n_req]);
266 if (((*listp)->req[
291 req_t *req; local
379 req_t *req = &dr_req_list->req[i]; local
481 req_t *req; local
676 req_t *req; local
823 req_t *req; local
[all...]
/illumos-gate/usr/src/uts/common/io/1394/
H A Ds1394_cmp.c48 static void s1394_cmp_ompr_recv_read_request(cmd1394_cmd_t *req);
49 static void s1394_cmp_impr_recv_read_request(cmd1394_cmd_t *req);
50 static void s1394_cmp_ompr_recv_lock_request(cmd1394_cmd_t *req);
51 static void s1394_cmp_impr_recv_lock_request(cmd1394_cmd_t *req);
246 s1394_cmp_ompr_recv_read_request(cmd1394_cmd_t *req) argument
248 s1394_hal_t *hal = req->cmd_callback_arg;
254 if (req->cmd_type != CMD1394_ASYNCH_RD_QUAD) {
255 req->cmd_result = IEEE1394_RESP_TYPE_ERROR;
258 req->cmd_u.q.quadlet_data = cmp->cmp_ompr_val;
260 req
270 s1394_cmp_impr_recv_read_request(cmd1394_cmd_t *req) argument
294 s1394_cmp_ompr_recv_lock_request(cmd1394_cmd_t *req) argument
332 s1394_cmp_impr_recv_lock_request(cmd1394_cmd_t *req) argument
[all...]

Completed in 96 milliseconds

1234567891011>>