/linux-6.3-rc2/net/ceph/ |
A D | messenger_v2.c | 3223 WARN_ON(!resid || resid > front_len(con->out_msg)); in prepare_zero_front() 3244 WARN_ON(!resid || resid > middle_len(con->out_msg)); in prepare_zero_middle() 3271 int resid; in revoke_at_queue_data() local 3304 WARN_ON(!resid); in revoke_at_queue_data() 3318 WARN_ON(!resid || resid > con->v2.out_bvec.bv_len); in revoke_at_queue_data_cont() 3340 int resid; in revoke_at_finish_message() local 3347 WARN_ON(!resid || resid > MESSAGE_HEAD_PLAIN_LEN); in revoke_at_finish_message() 3425 int resid; in revoke_at_prepare_read_data() local 3450 WARN_ON(!resid || resid > con->v2.in_bvec.bv_len); in revoke_at_prepare_read_data_cont() 3473 WARN_ON(!resid || resid > con->v2.in_bvec.bv_len); in revoke_at_prepare_read_enc_page() [all …]
|
A D | messenger.c | 756 BUG_ON(bytes > cursor->resid); in ceph_msg_data_bio_advance() 758 cursor->resid -= bytes; in ceph_msg_data_bio_advance() 761 if (!cursor->resid) in ceph_msg_data_bio_advance() 811 BUG_ON(bytes > cursor->resid); in ceph_msg_data_bvecs_advance() 813 cursor->resid -= bytes; in ceph_msg_data_bvecs_advance() 816 if (!cursor->resid) in ceph_msg_data_bvecs_advance() 876 cursor->resid -= bytes; in ceph_msg_data_pages_advance() 881 if (!cursor->resid) in ceph_msg_data_pages_advance() 956 cursor->resid -= bytes; in ceph_msg_data_pagelist_advance() 962 if (!cursor->resid) in ceph_msg_data_pagelist_advance() [all …]
|
/linux-6.3-rc2/drivers/infiniband/sw/rxe/ |
A D | rxe_resp.c | 434 qp->resp.resid = length; in qp_resp_from_reth() 461 u32 resid; in check_rkey() local 501 resid = qp->resp.resid; in check_rkey() 548 if (resid > mtu) { in check_rkey() 554 if (pktlen != resid) { in check_rkey() 612 qp->resp.resid -= data_len; in write_data_in() 636 res->read.resid = qp->resp.resid; in rxe_prepare_res() 768 qp->resp.resid = 0; in atomic_write_reply() 931 if (res->read.resid > mtu) in read_reply() 973 if (res->read.resid > 0) { in read_reply() [all …]
|
A D | rxe_mr.c | 348 int resid = dma->resid; in copy_data() local 356 if (length > resid) { in copy_data() 408 resid -= bytes; in copy_data() 415 dma->resid = resid; in copy_data() 592 int resid = dma->resid; in advance_dma_data() local 611 resid -= bytes; in advance_dma_data() 616 dma->resid = resid; in advance_dma_data()
|
A D | rxe_req.c | 23 int to_send = (wqe->dma.resid > qp->mtu) ? in retry_first_write_send() 24 qp->mtu : wqe->dma.resid; in retry_first_write_send() 30 wqe->dma.resid -= to_send; in retry_first_write_send() 74 wqe->dma.resid = wqe->dma.length; in req_retry() 89 npsn = (wqe->dma.length - wqe->dma.resid) / in req_retry() 330 int fits = (wqe->dma.resid <= qp->mtu); in next_opcode() 436 reth_set_len(pkt, wqe->dma.resid); in init_req_packet() 487 wqe->dma.resid -= payload; in finish_packet() 503 wqe->dma.resid = 0; in finish_packet() 508 wqe->dma.resid -= payload; in finish_packet() [all …]
|
A D | rxe_verbs.h | 166 u32 resid; member 196 u32 resid; member
|
/linux-6.3-rc2/drivers/s390/scsi/ |
A D | zfcp_fc.h | 277 u32 sense_len, resid; in zfcp_fc_eval_fcp_rsp() local 304 resid = be32_to_cpu(fcp_rsp->ext.fr_resid); in zfcp_fc_eval_fcp_rsp() 305 scsi_set_resid(scsi, resid); in zfcp_fc_eval_fcp_rsp() 306 if (scsi_bufflen(scsi) - resid < scsi->underflow && in zfcp_fc_eval_fcp_rsp()
|
/linux-6.3-rc2/drivers/scsi/sym53c8xx_2/ |
A D | sym_glue.h | 243 static inline void sym_set_cam_result_ok(struct sym_ccb *cp, struct scsi_cmnd *cmd, int resid) in sym_set_cam_result_ok() argument 245 scsi_set_resid(cmd, resid); in sym_set_cam_result_ok() 248 void sym_set_cam_result_error(struct sym_hcb *np, struct sym_ccb *cp, int resid);
|
A D | sym_hipd.c | 3860 ++resid; 3862 --resid; 3904 return resid; 5358 int resid; local 5402 if (resid) 5403 printf("XXXX RESID= %d - 0x%x\n", resid, resid); 5492 int resid; local 5518 resid = 0; 5528 resid = 0; 5530 if (resid) [all …]
|
/linux-6.3-rc2/drivers/staging/rts5208/ |
A D | rtsx_transport.c | 321 int sg_cnt, i, resid; in rtsx_transfer_sglist_adma_partial() local 358 resid = size; in rtsx_transfer_sglist_adma_partial() 384 if ((len - *offset) > resid) { in rtsx_transfer_sglist_adma_partial() 385 *offset += resid; in rtsx_transfer_sglist_adma_partial() 386 len = resid; in rtsx_transfer_sglist_adma_partial() 387 resid = 0; in rtsx_transfer_sglist_adma_partial() 389 resid -= (len - *offset); in rtsx_transfer_sglist_adma_partial() 395 if ((i == sg_cnt - 1) || !resid) in rtsx_transfer_sglist_adma_partial() 400 if (!resid) in rtsx_transfer_sglist_adma_partial()
|
/linux-6.3-rc2/drivers/nubus/ |
A D | nubus.c | 270 u32 resid; in nubus_readdir() local 279 resid = nubus_get_rom(&nd->ptr, 4, nd->mask); in nubus_readdir() 282 if ((resid & 0xff000000) == 0xff000000) { in nubus_readdir() 289 ent->type = resid >> 24; in nubus_readdir() 291 ent->data = resid & 0xffffff; in nubus_readdir() 505 fres->resid = parent->type; in nubus_get_functional_resource() 816 if (fres->resid <= prev_resid) { in nubus_add_board() 820 prev_resid = fres->resid; in nubus_add_board()
|
/linux-6.3-rc2/drivers/scsi/aic7xxx/ |
A D | aic7xxx_osm.h | 589 void ahc_set_residual(struct scb *scb, u_long resid) in ahc_set_residual() argument 591 scsi_set_resid(scb->io_ctx, resid); in ahc_set_residual() 595 void ahc_set_sense_residual(struct scb *scb, u_long resid) in ahc_set_sense_residual() argument 597 scb->platform_data->sense_resid = resid; in ahc_set_sense_residual()
|
A D | aic79xx_osm.h | 571 void ahd_set_residual(struct scb *scb, u_long resid) in ahd_set_residual() argument 573 scsi_set_resid(scb->io_ctx, resid); in ahd_set_residual() 577 void ahd_set_sense_residual(struct scb *scb, u_long resid) in ahd_set_sense_residual() argument 579 scb->platform_data->sense_resid = resid; in ahd_set_sense_residual()
|
/linux-6.3-rc2/drivers/scsi/ |
A D | am53c974.c | 141 u8 resid; in pci_esp_dma_drain() local 151 resid = pci_esp_read8(esp, ESP_FFLAGS) & ESP_FF_FBYTES; in pci_esp_dma_drain() 152 if (resid <= 1) in pci_esp_dma_drain() 172 esp_dma_log("DMA blast done (%d tries, %d bytes left)\n", lim, resid); in pci_esp_dma_drain() 174 if (WARN_ON_ONCE(resid == 1)) { in pci_esp_dma_drain()
|
A D | scsi_ioctl.c | 391 hdr->resid = scmd->resid_len; in scsi_complete_sghdr_rq() 641 .resid = hdr->resid, in put_sg_io_hdr() 689 .resid = hdr32.resid, in get_sg_io_hdr() 828 cgc.buflen = hdr.resid; in scsi_cdrom_send_packet()
|
A D | mac_scsi.c | 407 int resid = NCR5380_to_ncmd(cmd)->this_residual; in macscsi_dma_xfer_len() local 409 if (hostdata->flags & FLAG_NO_PSEUDO_DMA || resid < setup_use_pdma) in macscsi_dma_xfer_len() 412 return resid; in macscsi_dma_xfer_len()
|
/linux-6.3-rc2/drivers/gpu/drm/virtio/ |
A D | virtgpu_object.c | 34 int virtio_gpu_resource_id_get(struct virtio_gpu_device *vgdev, uint32_t *resid) in virtio_gpu_resource_id_get() argument 47 *resid = handle + 1; in virtio_gpu_resource_id_get() 52 *resid = handle + 1; in virtio_gpu_resource_id_get()
|
/linux-6.3-rc2/drivers/nvme/target/ |
A D | io-cmd-bdev.c | 194 size_t resid, len; in nvmet_bdev_alloc_bip() local 214 resid = bip->bip_iter.bi_size; in nvmet_bdev_alloc_bip() 215 while (resid > 0 && sg_miter_next(miter)) { in nvmet_bdev_alloc_bip() 216 len = min_t(size_t, miter->length, resid); in nvmet_bdev_alloc_bip() 225 resid -= len; in nvmet_bdev_alloc_bip()
|
/linux-6.3-rc2/include/scsi/ |
A D | sg.h | 62 int resid; /* [o] dxfer_len - actual_transferred */ member 91 compat_int_t resid; /* [o] dxfer_len - actual_transferred */ member
|
A D | scsi_cmnd.h | 191 static inline void scsi_set_resid(struct scsi_cmnd *cmd, unsigned int resid) in scsi_set_resid() argument 193 cmd->resid_len = resid; in scsi_set_resid()
|
/linux-6.3-rc2/drivers/target/ |
A D | target_core_iblock.c | 673 size_t resid, len; in iblock_alloc_bip() local 695 resid = bip->bip_iter.bi_size; in iblock_alloc_bip() 696 while (resid > 0 && sg_miter_next(miter)) { in iblock_alloc_bip() 698 len = min_t(size_t, miter->length, resid); in iblock_alloc_bip() 710 resid -= len; in iblock_alloc_bip()
|
/linux-6.3-rc2/arch/x86/kernel/cpu/resctrl/ |
A D | ctrlmondata.c | 546 u32 resid, evtid, domid; in rdtgroup_mondata_show() local 561 resid = md.u.rid; in rdtgroup_mondata_show() 565 r = &rdt_resources_all[resid].r_resctrl; in rdtgroup_mondata_show()
|
/linux-6.3-rc2/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
A D | dma.c | 932 int resid = 0; in dma_rx() local 949 resid = len - (di->rxbufsize - di->rxoffset); in dma_rx() 952 if (resid > 0) { in dma_rx() 953 while ((resid > 0) && (p = _dma_getnextrxp(di, false))) { in dma_rx() 954 pkt_len = min_t(uint, resid, di->rxbufsize); in dma_rx() 957 resid -= di->rxbufsize; in dma_rx() 962 if (resid > 0) { in dma_rx()
|
/linux-6.3-rc2/include/uapi/linux/ |
A D | virtio_scsi.h | 68 __virtio32 resid; /* Residual bytes in data buffer */ member
|
/linux-6.3-rc2/include/linux/ |
A D | nubus.h | 69 unsigned char resid; member
|