Searched refs:nleft (Results 1 – 8 of 8) sorted by relevance
| /Linux-v5.4/drivers/ide/ |
| D | ide-taskfile.c | 254 cmd->nleft -= nr_bytes; in ide_pio_bytes() 291 nr_bytes = min_t(unsigned, cmd->nleft, drive->mult_count << 9); in ide_pio_datablock() 303 int nr_bytes = cmd->nbytes - cmd->nleft; in ide_error_cmd() 306 ((cmd->tf_flags & IDE_TFLAG_WRITE) || cmd->nleft == 0)) { in ide_error_cmd() 364 if (((stat & ATA_DRQ) == 0) ^ (cmd->nleft == 0)) in task_pio_intr() 368 if (write && cmd->nleft == 0) in task_pio_intr() 375 if (write == 0 && cmd->nleft == 0) { in task_pio_intr()
|
| D | ide-cd.c | 427 cmd->nleft > 0 && cmd->nleft <= 5) in ide_cd_request_sense_fixup() 428 cmd->nleft = 0; in ide_cd_request_sense_fixup() 517 unsigned int nr_bytes = cmd->nbytes - cmd->nleft; in ide_cd_error_cmd() 657 thislen = !blk_rq_is_passthrough(rq) ? len : cmd->nleft; in cdrom_newpc_intr() 673 if (cmd->nleft > 0) { in cdrom_newpc_intr() 676 cmd->nleft); in cdrom_newpc_intr() 686 uptodate = cmd->nleft ? 0 : 1; in cdrom_newpc_intr() 694 uptodate = cmd->nleft ? 0 : 1; in cdrom_newpc_intr() 718 int blen = min_t(int, thislen, cmd->nleft); in cdrom_newpc_intr() 720 if (cmd->nleft == 0) in cdrom_newpc_intr() [all …]
|
| D | ide-io.c | 245 cmd->nbytes = cmd->nleft = nr_bytes; in ide_init_sg_cmd()
|
| D | ide-atapi.c | 539 done = min_t(unsigned int, bcount, cmd->nleft); in ide_pc_intr()
|
| /Linux-v5.4/drivers/staging/wilc1000/ |
| D | wilc_sdio.c | 430 int nblk, nleft, ret; in wilc_sdio_write() local 464 nleft = size % block_size; in wilc_sdio_write() 487 if (nleft > 0) { in wilc_sdio_write() 490 cmd.count = nleft; in wilc_sdio_write() 572 int nblk, nleft, ret; in wilc_sdio_read() local 606 nleft = size % block_size; in wilc_sdio_read() 629 if (nleft > 0) { in wilc_sdio_read() 632 cmd.count = nleft; in wilc_sdio_read()
|
| /Linux-v5.4/arch/x86/kernel/ |
| D | uprobes.c | 1062 int rasize = sizeof_long(regs), nleft; in arch_uretprobe_hijack_return_addr() local 1072 nleft = copy_to_user((void __user *)regs->sp, &trampoline_vaddr, rasize); in arch_uretprobe_hijack_return_addr() 1073 if (likely(!nleft)) in arch_uretprobe_hijack_return_addr() 1076 if (nleft != rasize) { in arch_uretprobe_hijack_return_addr()
|
| /Linux-v5.4/drivers/usb/core/ |
| D | sysfs.c | 888 size_t nleft = count; in read_descriptors() local 898 nleft > 0; ++cfgno) { in read_descriptors() 908 n = min(nleft, srclen - (size_t) off); in read_descriptors() 910 nleft -= n; in read_descriptors() 917 return count - nleft; in read_descriptors()
|
| /Linux-v5.4/include/linux/ |
| D | ide.h | 348 unsigned int nleft; member
|