Home
last modified time | relevance | path

Searched refs:leftover (Results 1 – 25 of 28) sorted by relevance

12

/Linux-v4.19/drivers/staging/comedi/drivers/
Dni_labpc_isadma.c82 unsigned int leftover; in labpc_drain_dma() local
99 leftover = 0; in labpc_drain_dma()
101 leftover = devpriv->count - nsamples; in labpc_drain_dma()
102 if (leftover > max_samples) in labpc_drain_dma()
103 leftover = max_samples; in labpc_drain_dma()
107 leftover = max_samples; in labpc_drain_dma()
109 desc->size = comedi_samples_to_bytes(s, leftover); in labpc_drain_dma()
Dni_at_a2150.c142 unsigned int max_points, num_points, residue, leftover; in a2150_interrupt() local
179 leftover = 0; in a2150_interrupt()
181 leftover = comedi_bytes_to_samples(s, desc->size); in a2150_interrupt()
183 leftover = devpriv->count - max_points; in a2150_interrupt()
184 if (leftover > max_points) in a2150_interrupt()
185 leftover = max_points; in a2150_interrupt()
193 leftover = 0; in a2150_interrupt()
209 if (leftover) { in a2150_interrupt()
210 desc->size = comedi_samples_to_bytes(s, leftover); in a2150_interrupt()
/Linux-v4.19/drivers/net/ethernet/cavium/liquidio/
Docteon_console.c454 if (console->leftover[0] && in output_console_line()
455 (line != console->leftover)) { in output_console_line()
458 console->leftover, in output_console_line()
460 console->leftover[0] = '\0'; in output_console_line()
473 len = strlen(console->leftover); in output_console_line()
474 strncpy(&console->leftover[len], line, in output_console_line()
475 sizeof(console->leftover) - len); in output_console_line()
520 (console->leftover[0])) { in check_console()
522 len = strlen(console->leftover); in check_console()
523 console->leftover[len] = '\n'; in check_console()
[all …]
Docteon_device.h222 char leftover[OCTEON_CONSOLE_MAX_READ_BYTES]; member
/Linux-v4.19/drivers/crypto/
Dpadlock-sha.c91 unsigned int leftover; in padlock_sha1_finup() local
102 leftover = ((state.count - 1) & (SHA1_BLOCK_SIZE - 1)) + 1; in padlock_sha1_finup()
103 space = SHA1_BLOCK_SIZE - leftover; in padlock_sha1_finup()
113 memcpy(state.buffer + leftover, in, count); in padlock_sha1_finup()
115 count += leftover; in padlock_sha1_finup()
153 unsigned int leftover; in padlock_sha256_finup() local
164 leftover = ((state.count - 1) & (SHA256_BLOCK_SIZE - 1)) + 1; in padlock_sha256_finup()
165 space = SHA256_BLOCK_SIZE - leftover; in padlock_sha256_finup()
175 memcpy(state.buf + leftover, in, count); in padlock_sha256_finup()
177 count += leftover; in padlock_sha256_finup()
/Linux-v4.19/drivers/crypto/nx/
Dnx-aes-xcbc.c188 u32 to_process = 0, leftover, total; in nx_xcbc_update() local
230 leftover = total - to_process; in nx_xcbc_update()
237 if (!leftover) { in nx_xcbc_update()
239 leftover = AES_BLOCK_SIZE; in nx_xcbc_update()
296 } while (leftover > AES_BLOCK_SIZE); in nx_xcbc_update()
299 memcpy(sctx->buffer, data, leftover); in nx_xcbc_update()
300 sctx->count = leftover; in nx_xcbc_update()
Dnx-sha256.c75 u64 to_process = 0, leftover, total; in nx_sha256_update() local
150 leftover = total - to_process; in nx_sha256_update()
176 } while (leftover >= SHA256_BLOCK_SIZE); in nx_sha256_update()
179 if (leftover) in nx_sha256_update()
180 memcpy(sctx->buf, data, leftover); in nx_sha256_update()
Dnx-sha512.c75 u64 to_process, leftover = 0, total; in nx_sha512_update() local
154 leftover = total - to_process; in nx_sha512_update()
180 } while (leftover >= SHA512_BLOCK_SIZE); in nx_sha512_update()
183 if (leftover) in nx_sha512_update()
184 memcpy(sctx->buf, data, leftover); in nx_sha512_update()
/Linux-v4.19/fs/xfs/libxfs/
Dxfs_ag_resv.c375 xfs_extlen_t leftover; in xfs_ag_resv_free_extent() local
395 leftover = min_t(xfs_extlen_t, len, resv->ar_asked - resv->ar_reserved); in xfs_ag_resv_free_extent()
396 resv->ar_reserved += leftover; in xfs_ag_resv_free_extent()
402 if (len > leftover) in xfs_ag_resv_free_extent()
403 xfs_trans_mod_sb(tp, XFS_TRANS_SB_FDBLOCKS, len - leftover); in xfs_ag_resv_free_extent()
/Linux-v4.19/arch/x86/kernel/cpu/microcode/
Damd.c594 static int verify_and_add_patch(u8 family, u8 *fw, unsigned int leftover) in verify_and_add_patch() argument
624 ret = verify_patch_size(family, patch_size, leftover); in verify_and_add_patch()
660 unsigned int leftover; in __load_microcode_amd() local
671 leftover = size - offset; in __load_microcode_amd()
679 while (leftover) { in __load_microcode_amd()
680 crnt_size = verify_and_add_patch(family, fw, leftover); in __load_microcode_amd()
685 leftover -= crnt_size; in __load_microcode_amd()
Dintel.c870 unsigned int leftover = size; in generic_load_microcode() local
875 while (leftover) { in generic_load_microcode()
879 if (leftover < sizeof(mc_header)) { in generic_load_microcode()
888 if (!mc_size || mc_size > leftover) { in generic_load_microcode()
919 leftover -= mc_size; in generic_load_microcode()
924 if (leftover) { in generic_load_microcode()
/Linux-v4.19/drivers/mmc/host/
Dmmc_spi.c269 u8 leftover = 0; in mmc_spi_response_get() local
333 leftover = rotator; in mmc_spi_response_get()
380 rotator = leftover << 8; in mmc_spi_response_get()
390 rotator = leftover << 8; in mmc_spi_response_get()
785 u8 leftover; in mmc_spi_readblock() local
810 leftover = status << 1; in mmc_spi_readblock()
842 *cp++ = leftover | (temp >> bitshift); in mmc_spi_readblock()
843 leftover = temp << bitright; in mmc_spi_readblock()
847 *cp++ = leftover | (temp >> bitshift); in mmc_spi_readblock()
848 leftover = temp << bitright; in mmc_spi_readblock()
[all …]
/Linux-v4.19/drivers/scsi/aic94xx/
Daic94xx_tmf.c345 int leftover; in asd_clear_nexus() local
357 leftover = wait_for_completion_timeout(&completion, in asd_clear_nexus()
362 if (leftover < 1) in asd_clear_nexus()
412 int leftover; in asd_abort_task() local
523 leftover = in asd_abort_task()
527 if (leftover < 1) in asd_abort_task()
/Linux-v4.19/drivers/hwmon/
Dfam15h_power.c223 signed long leftover; in power1_average_show() local
240 leftover = schedule_timeout_interruptible(msecs_to_jiffies(data->power_period)); in power1_average_show()
241 if (leftover) in power1_average_show()
Dibmaem.c844 signed long leftover; in aem_show_power() local
851 leftover = schedule_timeout_interruptible( in aem_show_power()
854 if (leftover) { in aem_show_power()
/Linux-v4.19/drivers/pcmcia/
Dds.c324 static void pcmcia_card_remove(struct pcmcia_socket *s, struct pcmcia_device *leftover) in pcmcia_card_remove() argument
329 dev_dbg(leftover ? &leftover->dev : &s->dev, in pcmcia_card_remove()
331 leftover ? leftover->devname : ""); in pcmcia_card_remove()
334 if (!leftover) in pcmcia_card_remove()
342 if (p_dev == leftover) in pcmcia_card_remove()
/Linux-v4.19/drivers/mtd/maps/
Dvmu-flash.c360 int index = 0, retval, partition, leftover, numblocks; in vmu_flash_read() local
384 leftover = card->blocklen - vblock->ofs; in vmu_flash_read()
394 vblock->ofs, leftover); in vmu_flash_read()
395 index += leftover; in vmu_flash_read()
/Linux-v4.19/drivers/net/wimax/i2400m/
Dfw.c1268 size_t leftover, offset, header_len, size; in i2400m_fw_check() local
1270 leftover = top - itr; in i2400m_fw_check()
1272 if (leftover <= sizeof(*bcf_hdr)) { in i2400m_fw_check()
1275 i2400m->fw_name, leftover, offset); in i2400m_fw_check()
/Linux-v4.19/arch/sparc/lib/
DM7memset.S337 and %o2, 3, %o2 ! leftover count, if any
/Linux-v4.19/include/linux/
Dtrace_events.h96 int leftover; member
/Linux-v4.19/kernel/trace/
Dtrace.c3185 WARN_ON_ONCE(iter->leftover); in s_next()
3279 iter->leftover = 0; in s_start()
3288 if (iter->leftover) in s_start()
3794 } else if (iter->leftover) { in s_show()
3802 iter->leftover = ret; in s_show()
3814 iter->leftover = ret; in s_show()
/Linux-v4.19/Documentation/fb/
Dfbcon.txt155 leftover area at the right and the bottom of the screen that are not
/Linux-v4.19/drivers/scsi/qla2xxx/
Dqla_init.c3336 leftover--;\
3338 len = snprintf(ptr, leftover, "%s", _str); \
3340 leftover -= len;\
3350 int leftover, len; in qla2xxx_print_sfp_info() local
3365 leftover = STR_LEN; in qla2xxx_print_sfp_info()
3380 leftover = STR_LEN; in qla2xxx_print_sfp_info()
3392 leftover = STR_LEN; in qla2xxx_print_sfp_info()
/Linux-v4.19/Documentation/
Dxillybus.txt320 the FPGA, and hence can't be sent. To prevent loss of data, these leftover
/Linux-v4.19/Documentation/scheduler/
Dsched-deadline.txt609 For debugging purposes, the leftover runtime and absolute deadline of a

12