Searched refs:nleft (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/drivers/ide/ |
D | ide-taskfile.c | 253 cmd->nleft -= nr_bytes; in ide_pio_bytes() 290 nr_bytes = min_t(unsigned, cmd->nleft, drive->mult_count << 9); in ide_pio_datablock() 302 int nr_bytes = cmd->nbytes - cmd->nleft; in ide_error_cmd() 305 ((cmd->tf_flags & IDE_TFLAG_WRITE) || cmd->nleft == 0)) { in ide_error_cmd() 363 if (((stat & ATA_DRQ) == 0) ^ (cmd->nleft == 0)) in task_pio_intr() 367 if (write && cmd->nleft == 0) in task_pio_intr() 374 if (write == 0 && cmd->nleft == 0) { in task_pio_intr()
|
D | ide-cd.c | 428 cmd->nleft > 0 && cmd->nleft <= 5) in ide_cd_request_sense_fixup() 429 cmd->nleft = 0; in ide_cd_request_sense_fixup() 518 unsigned int nr_bytes = cmd->nbytes - cmd->nleft; in ide_cd_error_cmd() 658 thislen = !blk_rq_is_passthrough(rq) ? len : cmd->nleft; in cdrom_newpc_intr() 674 if (cmd->nleft > 0) { in cdrom_newpc_intr() 677 cmd->nleft); in cdrom_newpc_intr() 687 uptodate = cmd->nleft ? 0 : 1; in cdrom_newpc_intr() 695 uptodate = cmd->nleft ? 0 : 1; in cdrom_newpc_intr() 719 int blen = min_t(int, thislen, cmd->nleft); in cdrom_newpc_intr() 721 if (cmd->nleft == 0) in cdrom_newpc_intr() [all …]
|
D | ide-io.c | 248 cmd->nbytes = cmd->nleft = nr_bytes; in ide_init_sg_cmd()
|
D | ide-atapi.c | 538 done = min_t(unsigned int, bcount, cmd->nleft); in ide_pc_intr()
|
/kernel/linux/linux-5.10/drivers/net/wireless/microchip/wilc1000/ |
D | sdio.c | 383 int nblk, nleft, ret; in wilc_sdio_write() local 402 nleft = size % block_size; in wilc_sdio_write() 426 if (nleft > 0) { in wilc_sdio_write() 429 cmd.count = nleft; in wilc_sdio_write() 504 int nblk, nleft, ret; in wilc_sdio_read() local 523 nleft = size % block_size; in wilc_sdio_read() 547 if (nleft > 0) { in wilc_sdio_read() 550 cmd.count = nleft; in wilc_sdio_read()
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
D | uprobes.c | 1064 int rasize = sizeof_long(regs), nleft; in arch_uretprobe_hijack_return_addr() local 1074 nleft = copy_to_user((void __user *)regs->sp, &trampoline_vaddr, rasize); in arch_uretprobe_hijack_return_addr() 1075 if (likely(!nleft)) in arch_uretprobe_hijack_return_addr() 1078 if (nleft != rasize) { in arch_uretprobe_hijack_return_addr()
|
/kernel/linux/linux-5.10/drivers/usb/core/ |
D | sysfs.c | 888 size_t nleft = count; in read_descriptors() local 902 nleft > 0; ++cfgno) { in read_descriptors() 912 n = min(nleft, srclen - (size_t) off); in read_descriptors() 914 nleft -= n; in read_descriptors() 922 return count - nleft; in read_descriptors()
|
/kernel/linux/linux-5.10/include/linux/ |
D | ide.h | 348 unsigned int nleft; member
|