/linux-2.6.39/fs/dlm/ |
D | ast.c | 127 struct dlm_callback *cb, int *resid) in dlm_rem_lkb_callback() argument 131 *resid = 0; in dlm_rem_lkb_callback() 149 (*resid)++; in dlm_rem_lkb_callback() 223 int i, rv, resid; in process_asts() local 246 rv = dlm_rem_lkb_callback(ls, lkb, &callbacks[i], &resid); in process_asts() 252 if (resid) { in process_asts() 255 resid, lkb->lkb_id); in process_asts()
|
D | ast.h | 20 struct dlm_callback *cb, int *resid);
|
D | user.c | 784 int rv, resid, copy_lvb = 0; in device_read() local 841 rv = dlm_rem_lkb_callback(lkb->lkb_resource->res_ls, lkb, &cb, &resid); in device_read() 852 if (!resid) in device_read() 858 if (!resid) in device_read() 882 if (!resid) in device_read()
|
/linux-2.6.39/include/scsi/ |
D | scsi_cmnd.h | 34 int resid; member 169 static inline void scsi_set_resid(struct scsi_cmnd *cmd, int resid) in scsi_set_resid() argument 171 cmd->sdb.resid = resid; in scsi_set_resid() 176 return cmd->sdb.resid; in scsi_get_resid()
|
D | sg.h | 108 int resid; /* [o] dxfer_len - actual_transferred */ member
|
D | scsi_device.h | 382 int flag, int *resid); 386 int *resid);
|
/linux-2.6.39/drivers/staging/brcm80211/util/nvram/ |
D | nvram_ro.c | 177 int len, resid = count; in nvram_getall() local 191 if (resid < (acc + len)) in nvram_getall() 199 resid -= acc; in nvram_getall() 203 if (resid < 1) in nvram_getall()
|
/linux-2.6.39/drivers/s390/scsi/ |
D | zfcp_fc.h | 260 u32 sense_len, resid; in zfcp_fc_eval_fcp_rsp() local 288 resid = fcp_rsp->ext.fr_resid; in zfcp_fc_eval_fcp_rsp() 289 scsi_set_resid(scsi, resid); in zfcp_fc_eval_fcp_rsp() 290 if (scsi_bufflen(scsi) - resid < scsi->underflow && in zfcp_fc_eval_fcp_rsp()
|
/linux-2.6.39/drivers/scsi/sym53c8xx_2/ |
D | sym_glue.h | 256 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 258 scsi_set_resid(cmd, resid); in sym_set_cam_result_ok() 261 void sym_set_cam_result_error(struct sym_hcb *np, struct sym_ccb *cp, int resid);
|
D | sym_hipd.c | 3854 int dp_sg, dp_sgmin, resid = 0; local 3866 resid -= cp->extra_bytes; 3868 ++resid; 3870 --resid; 3878 return resid; 3902 resid = -cp->ext_ofs; 3905 resid += (tmp & 0xffffff); 3908 resid -= cp->odd_byte_adjustment; 3913 return resid; 5362 int resid; local [all …]
|
/linux-2.6.39/drivers/staging/rts_pstor/ |
D | rtsx_transport.c | 335 int sg_cnt, i, resid; in rtsx_transfer_sglist_adma_partial() local 373 resid = size; in rtsx_transfer_sglist_adma_partial() 397 if ((len - *offset) > resid) { in rtsx_transfer_sglist_adma_partial() 398 *offset += resid; in rtsx_transfer_sglist_adma_partial() 399 len = resid; in rtsx_transfer_sglist_adma_partial() 400 resid = 0; in rtsx_transfer_sglist_adma_partial() 402 resid -= (len - *offset); in rtsx_transfer_sglist_adma_partial() 407 if ((i == (sg_cnt - 1)) || !resid) { in rtsx_transfer_sglist_adma_partial() 415 if (!resid) in rtsx_transfer_sglist_adma_partial()
|
/linux-2.6.39/drivers/scsi/aic7xxx/ |
D | aic7xxx_osm.h | 543 static inline void ahc_set_sense_residual(struct scb *scb, u_long resid); 627 void ahc_set_residual(struct scb *scb, u_long resid) in ahc_set_residual() argument 629 scsi_set_resid(scb->io_ctx, resid); in ahc_set_residual() 633 void ahc_set_sense_residual(struct scb *scb, u_long resid) in ahc_set_sense_residual() argument 635 scb->platform_data->sense_resid = resid; in ahc_set_sense_residual()
|
D | aic79xx_osm.h | 532 static inline void ahd_set_sense_residual(struct scb *scb, u_long resid); 616 void ahd_set_residual(struct scb *scb, u_long resid) in ahd_set_residual() argument 618 scsi_set_resid(scb->io_ctx, resid); in ahd_set_residual() 622 void ahd_set_sense_residual(struct scb *scb, u_long resid) in ahd_set_sense_residual() argument 624 scb->platform_data->sense_resid = resid; in ahd_set_sense_residual()
|
/linux-2.6.39/drivers/scsi/ |
D | sun3_scsi.c | 507 unsigned short resid; in sun3scsi_dma_count() local 511 resid = dregs->udc_data; in sun3scsi_dma_count() 513 resid *= 2; in sun3scsi_dma_count() 515 return (unsigned long) resid; in sun3scsi_dma_count()
|
D | scsi_lib.c | 209 int *resid) in scsi_execute() argument 244 if (resid) in scsi_execute() 245 *resid = req->resid_len; in scsi_execute() 258 int *resid) in scsi_execute_req() argument 269 sense, timeout, retries, 0, resid); in scsi_execute_req() 776 req->next_rq->resid_len = scsi_in(cmd)->resid; in scsi_io_completion()
|
/linux-2.6.39/drivers/nubus/ |
D | nubus.c | 260 u32 resid; in nubus_readdir() local 268 resid = nubus_get_rom(&nd->ptr, 4, nd->mask); in nubus_readdir() 271 if((resid&0xff000000) == 0xff000000) in nubus_readdir() 279 ent->type = resid >> 24; in nubus_readdir() 281 ent->data = resid & 0xffffff; in nubus_readdir() 485 dev->resid = parent->type; in nubus_get_functional_resource()
|
/linux-2.6.39/fs/xfs/ |
D | xfs_mount.c | 2329 uint64_t resid) in xfs_icsb_enable_counter() argument 2341 cntp->icsb_icount = count + resid; in xfs_icsb_enable_counter() 2344 cntp->icsb_ifree = count + resid; in xfs_icsb_enable_counter() 2347 cntp->icsb_fdblocks = count + resid; in xfs_icsb_enable_counter() 2353 resid = 0; in xfs_icsb_enable_counter() 2414 uint64_t count, resid; in xfs_icsb_balance_counter_locked() local 2425 resid = do_div(count, weight); in xfs_icsb_balance_counter_locked() 2431 resid = do_div(count, weight); in xfs_icsb_balance_counter_locked() 2437 resid = do_div(count, weight); in xfs_icsb_balance_counter_locked() 2443 count = resid = 0; /* quiet, gcc */ in xfs_icsb_balance_counter_locked() [all …]
|
/linux-2.6.39/fs/exofs/ |
D | ios.c | 217 int exofs_check_io(struct exofs_io_state *ios, u64 *resid) in exofs_check_io() argument 253 if (resid) { in exofs_check_io() 255 *resid = 0; in exofs_check_io() 257 *resid = ios->length; in exofs_check_io()
|
D | inode.c | 200 u64 resid; in __readpages_done() local 203 int ret = exofs_check_io(pcol->ios, &resid); in __readpages_done() 208 good_bytes = pcol->length - resid; in __readpages_done() 464 u64 resid; in writepages_done() local 467 int ret = exofs_check_io(ios, &resid); in writepages_done() 474 good_bytes = pcol->length - resid; in writepages_done()
|
/linux-2.6.39/drivers/block/ |
D | swim3.c | 638 int stat, resid; in swim3_interrupt() local 728 resid = ld_le16(&cp->res_count); in swim3_interrupt() 730 n = fs->scount - 1 - resid / 512; in swim3_interrupt() 746 if ((stat & ACTIVE) == 0 || resid != 0) { in swim3_interrupt() 748 printk(KERN_ERR "swim3: fd dma: stat=%x resid=%d\n", stat, resid); in swim3_interrupt()
|
/linux-2.6.39/arch/powerpc/include/asm/iseries/ |
D | vio.h | 139 u32 resid; member
|
/linux-2.6.39/drivers/scsi/qla2xxx/ |
D | qla_isr.c | 1525 int32_t resid; in qla2x00_status_entry() local 1646 resid = resid_len; in qla2x00_status_entry() 1647 scsi_set_resid(cp, resid); in qla2x00_status_entry() 1650 ((unsigned)(scsi_bufflen(cp) - resid) < in qla2x00_status_entry() 1656 cp->device->lun, resid, scsi_bufflen(cp)); in qla2x00_status_entry() 1684 resid = IS_FWI2_CAPABLE(ha) ? fw_resid_len : resid_len; in qla2x00_status_entry() 1685 scsi_set_resid(cp, resid); in qla2x00_status_entry() 1691 cp->device->id, cp->device->lun, resid, in qla2x00_status_entry() 1699 ((unsigned)(scsi_bufflen(cp) - resid) < in qla2x00_status_entry() 1705 cp->device->lun, resid, scsi_bufflen(cp)); in qla2x00_status_entry() [all …]
|
/linux-2.6.39/drivers/block/aoe/ |
D | aoe.h | 106 ulong resid; member
|
/linux-2.6.39/include/linux/ |
D | nubus.h | 276 unsigned char resid; member
|
/linux-2.6.39/drivers/staging/brcm80211/util/ |
D | hnddma.c | 746 int resid = 0; local 769 resid = len - (di->rxbufsize - di->rxoffset); 772 if (resid > 0) { 774 while ((resid > 0) && (p = _dma_getnextrxp(di, false))) { 776 pkt_len = min(resid, (int)di->rxbufsize); 780 resid -= di->rxbufsize; 784 if (resid > 0) {
|