/drivers/usb/usbip/ |
H A D | vhci_rx.c | 71 struct usbip_header *pdu) 77 urb = pickup_urb_and_free_priv(vdev, pdu->base.seqnum); 81 pr_err("cannot find a urb of seqnum %u\n", pdu->base.seqnum); 88 /* unpack the pdu to a urb */ 89 usbip_pack_pdu(pdu, urb, USBIP_RET_SUBMIT, 0); 117 struct usbip_header *pdu) 125 if (unlink->seqnum == pdu->base.seqnum) { 141 struct usbip_header *pdu) 146 usbip_dump_header(pdu); 148 unlink = dequeue_pending_unlink(vdev, pdu); 70 vhci_recv_ret_submit(struct vhci_device *vdev, struct usbip_header *pdu) argument 116 dequeue_pending_unlink(struct vhci_device *vdev, struct usbip_header *pdu) argument 140 vhci_recv_ret_unlink(struct vhci_device *vdev, struct usbip_header *pdu) argument 200 struct usbip_header pdu; local [all...] |
H A D | stub_rx.c | 216 * handler will be called and stub_tx will send a return pdu. 221 struct usbip_header *pdu) 230 if (priv->seqnum != pdu->u.cmd_unlink.seqnum) 240 * now not going to return the normal result pdu of a 241 * submission request, but going to return a result pdu 250 * to make the result pdu of the unlink request. 252 priv->seqnum = pdu->base.seqnum; 263 * will return the result pdu of this unlink request 281 pdu->u.cmd_unlink.seqnum); 286 * CMD_RET pdu 220 stub_recv_cmd_unlink(struct stub_device *sdev, struct usbip_header *pdu) argument 296 valid_request(struct stub_device *sdev, struct usbip_header *pdu) argument 313 stub_priv_alloc(struct stub_device *sdev, struct usbip_header *pdu) argument 448 stub_recv_cmd_submit(struct stub_device *sdev, struct usbip_header *pdu) argument 538 struct usbip_header pdu; local [all...] |
H A D | usbip_common.c | 282 void usbip_dump_header(struct usbip_header *pdu) argument 285 pdu->base.command, 286 pdu->base.seqnum, 287 pdu->base.devid, 288 pdu->base.direction, 289 pdu->base.ep); 291 switch (pdu->base.command) { 294 pdu->u.cmd_submit.transfer_flags, 295 pdu->u.cmd_submit.transfer_buffer_length, 296 pdu 392 usbip_pack_cmd_submit(struct usbip_header *pdu, struct urb *urb, int pack) argument 417 usbip_pack_ret_submit(struct usbip_header *pdu, struct urb *urb, int pack) argument 437 usbip_pack_pdu(struct usbip_header *pdu, struct urb *urb, int cmd, int pack) argument 472 correct_endian_cmd_submit(struct usbip_header_cmd_submit *pdu, int send) argument 492 correct_endian_ret_submit(struct usbip_header_ret_submit *pdu, int send) argument 510 correct_endian_cmd_unlink(struct usbip_header_cmd_unlink *pdu, int send) argument 519 correct_endian_ret_unlink(struct usbip_header_ret_unlink *pdu, int send) argument 528 usbip_header_correct_endian(struct usbip_header *pdu, int send) argument [all...] |
/drivers/staging/lustre/lustre/libcfs/linux/ |
H A D | linux-module.c | 104 struct libcfs_device_userstate **pdu = NULL; local 109 pdu = (struct libcfs_device_userstate **)&file->private_data; 111 rc = libcfs_psdev_ops.p_open(0, (void *)pdu); 121 struct libcfs_device_userstate *pdu; local 126 pdu = file->private_data; 128 rc = libcfs_psdev_ops.p_close(0, (void *)pdu);
|
/drivers/target/iscsi/ |
H A D | iscsi_target_datain_values.c | 312 struct iscsi_pdu *pdu; local 338 pdu = iscsit_get_pdu_holder_for_seq(cmd, NULL); 339 if (!pdu) 342 if ((read_data_done + pdu->length) == cmd->se_cmd.data_length) { 343 pdu->flags |= (ISCSI_FLAG_CMD_FINAL | ISCSI_FLAG_DATA_STATUS); 345 pdu->flags |= ISCSI_FLAG_DATA_ACK; 351 next_burst_len += pdu->length; 353 pdu->flags |= ISCSI_FLAG_CMD_FINAL; 355 pdu->flags |= ISCSI_FLAG_DATA_ACK; 361 pdu 411 struct iscsi_pdu *pdu; local [all...] |
H A D | iscsi_target_tmr.c | 490 struct iscsi_pdu *pdu = NULL; local 510 pdu = &cmd->pdu_list[i]; 512 if (pdu->status != ISCSI_PDU_RECEIVED_OK) 515 if ((pdu->offset >= cmd->seq_start_offset) && 516 ((pdu->offset + pdu->length) <= 518 cmd->first_burst_len -= pdu->length; 519 cmd->write_data_done -= pdu->length; 520 pdu->status = ISCSI_PDU_NOT_RECEIVED; 542 pdu 558 struct iscsi_pdu *pdu = NULL; local [all...] |
H A D | iscsi_target_erl0.c | 461 struct iscsi_pdu *pdu; local 465 pdu = iscsit_get_pdu_holder(cmd, be32_to_cpu(hdr->offset), 467 if (!pdu) 470 cmd->pdu_ptr = pdu; 472 switch (pdu->status) { 514 struct iscsi_pdu *pdu = cmd->pdu_ptr; local 516 pdu->data_sn = data_sn; 518 switch (pdu->status) { 520 pdu->status = ISCSI_PDU_RECEIVED_OK; 523 pdu 657 struct iscsi_pdu *pdu; local [all...] |
H A D | iscsi_target_seq_pdu_list.c | 52 struct iscsi_pdu *pdu; local 58 pdu = &cmd->pdu_list[i]; 60 " pdu_send_order: %d, seq_no: %d\n", i, pdu->offset, 61 pdu->length, pdu->pdu_send_order, pdu->seq_no); 303 struct iscsi_pdu *pdu = cmd->pdu_list; local 326 pdu[i].offset = offset; 327 pdu[i].seq_no = seq_no; 339 pdu[ 503 struct iscsi_pdu *pdu = NULL; local 577 struct iscsi_pdu *pdu = NULL; local 601 struct iscsi_pdu *pdu = NULL; local [all...] |
H A D | iscsi_target_login.c | 283 struct iscsi_login_req *pdu = (struct iscsi_login_req *)buf; local 295 iscsi_login_set_conn_values(sess, conn, pdu->cid); 296 sess->init_task_tag = pdu->itt; 297 memcpy(&sess->isid, pdu->isid, 6); 298 sess->exp_cmd_sn = be32_to_cpu(pdu->cmdsn); 335 sess->max_cmd_sn = be32_to_cpu(pdu->cmdsn); 539 struct iscsi_login_req *pdu = (struct iscsi_login_req *)buf; local 541 iscsi_login_set_conn_values(NULL, conn, pdu->cid); 556 struct iscsi_login_req *pdu = (struct iscsi_login_req *)buf; local 568 if (!memcmp(sess_p->isid, pdu 1221 struct iscsi_login_req *pdu; local [all...] |
H A D | iscsi_target_erl1.c | 342 struct iscsi_pdu *pdu; local 348 pdu = &cmd->pdu_list[ 350 if (pdu->data_sn == data_sn) { 352 pdu->length; 354 pdu->length; 615 struct iscsi_pdu *pdu) 628 if (cmd->pdu_list[i].seq_no == pdu->seq_no) { 698 struct iscsi_pdu *pdu = NULL; local 714 pdu = &cmd->pdu_list[i]; 716 if (pdu 613 iscsit_dataout_datapduinorder_no_fbit( struct iscsi_cmd *cmd, struct iscsi_pdu *pdu) argument [all...] |
H A D | iscsi_target_core.h | 442 unsigned char pdu[ISCSI_HDR_LEN + ISCSI_CRC_LEN]; member in struct:iscsi_cmd
|
/drivers/net/wireless/ath/wcn36xx/ |
H A D | txrx.h | 76 struct wcn36xx_pdu pdu; member in struct:wcn36xx_rx_bd 132 struct wcn36xx_pdu pdu; member in struct:wcn36xx_tx_bd
|
/drivers/net/ethernet/sfc/ |
H A D | siena.c | 699 unsigned pdu = FR_CZ_MC_TREG_SMEM + MCDI_PDU(efx); local 706 efx_writed(efx, hdr, pdu); 709 efx_writed(efx, &sdu[i], pdu + hdr_len + 4 * i); 720 unsigned int pdu = FR_CZ_MC_TREG_SMEM + MCDI_PDU(efx); local 723 efx_readd(efx, &hdr, pdu); 736 unsigned int pdu = FR_CZ_MC_TREG_SMEM + MCDI_PDU(efx); local 741 efx_readd(efx, &outbuf[i], pdu + offset + 4 * i);
|
H A D | ef10.c | 1066 u8 *pdu = nic_data->mcdi_buf.addr; local 1068 memcpy(pdu, hdr, hdr_len); 1069 memcpy(pdu + hdr_len, sdu, sdu_len); 1098 const u8 *pdu = nic_data->mcdi_buf.addr; local 1100 memcpy(outbuf, pdu + offset, outlen);
|
/drivers/s390/net/ |
H A D | ctcm_mpc.h | 116 struct pdu { struct 123 #define PDU_HEADER_LENGTH (sizeof(struct pdu))
|
/drivers/scsi/ |
H A D | scsi_transport_iscsi.c | 2352 char *pdu; local 2376 pdu = (char*)ev + sizeof(*ev); 2377 memcpy(pdu, hdr, sizeof(struct iscsi_hdr)); 2378 memcpy(pdu + sizeof(struct iscsi_hdr), data, data_size);
|