/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_nt_cancel.c | 63 struct smb_request *req; local 69 req = smb_slist_head(&session->s_req_list); 70 while (req) { 71 ASSERT(req->sr_magic == SMB_REQ_MAGIC); 72 if ((req != sr) && 73 (req->smb_uid == sr->smb_uid) && 74 (req->smb_pid == sr->smb_pid) && 75 (req->smb_tid == sr->smb_tid) && 76 (req->smb_mid == sr->smb_mid)) { 77 smb_request_cancel(req); [all...] |
H A D | smb2_cancel.c | 53 struct smb_request *req; local 58 req = smb_slist_head(&session->s_req_list); 59 while (req) { 60 ASSERT(req->sr_magic == SMB_REQ_MAGIC); 61 if ((req != sr) && 62 (req->smb2_messageid == sr->smb2_messageid)) { 63 smb_request_cancel(req); 66 req = smb_slist_next(&session->s_req_list, req); 78 struct smb_request *req; local [all...] |
/illumos-gate/usr/src/lib/libipmi/common/ |
H A D | ipmi_sensor.c | 68 ipmi_set_sensor_reading(ipmi_handle_t *ihp, ipmi_set_sensor_reading_t *req) argument 77 (void) memcpy(&realreq, req, sizeof (realreq));
|
H A D | ipmi_bmc.c | 99 struct ipmi_req req; local 109 (void) memset(&req, 0, sizeof (struct ipmi_req)); 111 req.addr = (unsigned char *) &bmc_addr; 112 req.addr_len = sizeof (bmc_addr); 114 req.msgid = ibp->ib_msgseq++; 115 req.msg.netfn = cmd->ic_netfn; 116 req.msg.cmd = cmd->ic_cmd; 117 req.msg.data = cmd->ic_data; 118 req.msg.data_len = cmd->ic_dlen; 120 if (ioctl(ibp->ib_fd, IPMICTL_SEND_COMMAND, &req) < [all...] |
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_rpc_api.c | 33 fmd_hdl_create_1_svc(int version, void *rvp, struct svc_req *req) argument
|
/illumos-gate/usr/src/lib/libnsl/nsl/ |
H A D | t_bind.c | 50 const struct t_bind *req, 114 bind_reqp->ADDR_length = (req == NULL? 0: req->addr.len); 116 bind_reqp->CONIND_number = (req == NULL? 0: req->qlen); 121 req->addr.buf, &bind_reqp->ADDR_offset) < 0) { 146 if ((req != NULL) && req->addr.len != 0 && 160 if ((req->addr.len != bind_ackp->ADDR_length) || 161 (memcmp(req 48 _tx_bind( int fd, const struct t_bind *req, struct t_bind *ret, int api_semantics ) argument [all...] |
H A D | t_optmgmt.c | 61 const struct t_optmgmt *req, 111 optlen = req->opt.len; 119 if (req->opt.buf == NULL || 127 opt_start = (struct t_opthdr *)req->opt.buf; 234 optreq->MGMT_flags = req->flags; 239 req->opt.buf, &optreq->OPT_offset) < 0) { 286 ret->flags = optack->MGMT_flags & ~req->flags; 59 _tx_optmgmt( int fd, const struct t_optmgmt *req, struct t_optmgmt *ret, int api_semantics ) argument
|
/illumos-gate/usr/src/lib/libnsl/yp/ |
H A D | yp_master.c | 180 struct ypreq_nokey req; local 184 req.domain = domain; 185 req.map = map; 195 (char *)&req, (xdrproc_t)xdr_ypresp_master, (char *)&resp,
|
H A D | yp_order.c | 109 struct ypreq_nokey req; local 113 req.domain = domain; 114 req.map = map; 124 (char *)&req, (xdrproc_t)xdr_ypresp_order, (char *)&resp,
|
H A D | yp_all.c | 68 struct ypreq_nokey req; local 141 req.domain = domain; 142 req.map = map; 146 (xdrproc_t)xdr_ypreq_nokey, (char *)&req, 192 struct ypreq_nokey req; local 276 req.domain = domain; 277 req.map = map; 280 (xdrproc_t)xdr_ypreq_nokey, (char *)&req,
|
H A D | yp_enum.c | 145 struct ypreq_nokey req; local 149 req.domain = domain; 150 req.map = map; 163 (char *)&req, (xdrproc_t)xdr_ypresp_key_val, 317 struct ypreq_key req; local 321 req.domain = domain; 322 req.map = map; 323 req.keydat.dptr = inkey; 324 req.keydat.dsize = inkeylen; 335 YPPROC_NEXT, (xdrproc_t)xdr_ypreq_key, (char *)&req, [all...] |
/illumos-gate/usr/src/uts/common/avs/ns/rdc/ |
H A D | rdc_stub.c | 38 static void null_dispatch(struct svc_req *req, SVCXPRT *xprt); 87 rdcstub_dispatch(struct svc_req *req, SVCXPRT *xprt) argument 89 (*dispatch)(req, xprt); 94 null_dispatch(struct svc_req *req, SVCXPRT *xprt) argument
|
/illumos-gate/usr/src/uts/common/io/pciex/ |
H A D | pci_cfgacc.c | 44 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/common/ktli/ |
H A D | t_kbind.c | 68 t_kbind(TIUSER *tiptr, struct t_bind *req, struct t_bind *ret) argument 89 bindsz = (req == NULL) ? 0 : req->addr.len; 97 bind_req->ADDR_length = (req == NULL ? 0 : req->addr.len); 99 bind_req->CONIND_number = (req == NULL ? 0 : req->qlen); 102 bcopy(req->addr.buf, buf + bind_req->ADDR_offset,
|
/illumos-gate/usr/src/lib/libipmp/common/ |
H A D | ipmp_admin.c | 41 ipmp_command(ipmp_handle_t handle, const void *req, uint_t reqsize) argument 58 retval = ipmp_write(statep->st_fd, req, reqsize);
|
/illumos-gate/usr/src/cmd/sendmail/db/btree/ |
H A D | bt_page.c | 243 DB_LOCKREQ req; local 247 req.op = DB_LOCK_DUMP; 248 lock_vec(dbp->dbenv->lk_info, dbc->locker, 0, &req, 1, NULL);
|
/illumos-gate/usr/src/uts/common/io/comstar/port/srpt/ |
H A D | srpt_cm.c | 69 ibt_cm_req_rcv_t *req; local 78 req = &event->cm_event.req; 111 req->req_prim_addr.av_sgid.gid_prefix, 112 req->req_prim_addr.av_sgid.gid_guid); 114 req->req_prim_addr.av_dgid.gid_prefix, 115 req->req_prim_addr.av_dgid.gid_guid); 118 &login_rej, req->req_prim_hca_port, local_gid, remote_gid); 125 ", cm_req_hdlr, req ra_out(%d), ra_in(%d)" 127 ret_args->cm_ret_len, req [all...] |
/illumos-gate/usr/src/uts/sun4v/io/pciex/ |
H A D | pci_cfgacc_4v.c | 48 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/sun4u/io/pciex/ |
H A D | pci_cfgacc_4u.c | 43 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/uts/intel/io/ipmi/ |
H A D | ipmi.c | 61 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/uts/common/io/sfxge/common/ |
H A D | hunt_phy.c | 85 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...] |
/illumos-gate/usr/src/lib/libcpc/common/ |
H A D | subr.c | 51 cpc_request_t *req; local 73 for (req = set->cs_request; req != NULL; req = req->cr_next) { 78 req->cr_event) != 0) 81 req->cr_preset) != 0) 84 req->cr_flags) != 0) 87 req->cr_index) != 0) 90 if (req [all...] |
/illumos-gate/usr/src/lib/libilb/common/ |
H A D | ilb_nat.c | 97 ilb_comm_t *req, *rbuf; local 107 if ((req = malloc(reqsz)) == NULL) 109 req_si = (ilb_show_info_t *)&req->ic_data; 125 free(req); 130 req->ic_cmd = ILBD_SHOW_NAT; 132 req->ic_cmd = ILBD_SHOW_PERSIST; 133 req->ic_flags = 0; 139 rc = i_ilb_do_comm(h, req, reqsz, rbuf, &tmp_rbufsz); 171 req->ic_flags = ILB_COMM_END; 173 rc = i_ilb_do_comm(h, req, reqs [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.talkd/ |
H A D | in.talkd.c | 66 static CTL_MSG swapmsg(CTL_MSG req); 169 swapmsg(CTL_MSG req) argument 173 if (req.ctl_addr.sin_family == swapshort(AF_INET)) { 174 swapreq = req; 175 swapreq.id_num = swaplong(req.id_num); 176 swapreq.pid = swaplong(req.pid); 177 swapreq.addr.sin_family = swapshort(req.addr.sin_family); 179 swapshort(req.ctl_addr.sin_family); 182 return (req);
|
/illumos-gate/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_promio.c | 88 pio_ctl(mdb_io_t *io, int req, void *arg) argument 93 return (IOP_CTL(io->io_next, req, arg)); 95 switch (req) { 147 warn("Unknown ioctl %d\n", req);
|