/kernel/linux/linux-5.10/drivers/mtd/maps/ |
D | sbc_gxx.c | 115 unsigned long thislen = len; in sbc_gxx_copy_from() local 117 thislen = WINDOW_LENGTH-(from & WINDOW_MASK); in sbc_gxx_copy_from() 121 memcpy_fromio(to, iomapadr + (from & WINDOW_MASK), thislen); in sbc_gxx_copy_from() 123 to += thislen; in sbc_gxx_copy_from() 124 from += thislen; in sbc_gxx_copy_from() 125 len -= thislen; in sbc_gxx_copy_from() 140 unsigned long thislen = len; in sbc_gxx_copy_to() local 142 thislen = WINDOW_LENGTH-(to & WINDOW_MASK); in sbc_gxx_copy_to() 146 memcpy_toio(iomapadr + (to & WINDOW_MASK), from, thislen); in sbc_gxx_copy_to() 148 to += thislen; in sbc_gxx_copy_to() [all …]
|
/kernel/linux/linux-5.10/drivers/mtd/nand/onenand/ |
D | onenand_base.c | 1052 int thislen) in onenand_transfer_auto_oob() argument 1059 column, thislen); in onenand_transfer_auto_oob() 1123 int read = 0, column, thislen; in onenand_mlc_read_ops_nolock() local 1148 thislen = min_t(int, writesize, len - read); in onenand_mlc_read_ops_nolock() 1151 if (column + thislen > writesize) in onenand_mlc_read_ops_nolock() 1152 thislen = writesize - column; in onenand_mlc_read_ops_nolock() 1167 this->read_bufferram(mtd, ONENAND_DATARAM, buf, column, thislen); in onenand_mlc_read_ops_nolock() 1181 read += thislen; in onenand_mlc_read_ops_nolock() 1185 from += thislen; in onenand_mlc_read_ops_nolock() 1186 buf += thislen; in onenand_mlc_read_ops_nolock() [all …]
|
/kernel/linux/linux-5.10/fs/qnx4/ |
D | namei.c | 30 int namelen, thislen; in qnx4_match() local 43 thislen = strlen( de->di_fname ); in qnx4_match() 44 if ( thislen > namelen ) in qnx4_match() 45 thislen = namelen; in qnx4_match() 46 if (len != thislen) { in qnx4_match()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/i825xx/ |
D | ether1.c | 128 unsigned int page, thislen, offset; in ether1_writebuffer() local 136 thislen = 4096 - offset; in ether1_writebuffer() 138 thislen = length; in ether1_writebuffer() 144 length -= thislen; in ether1_writebuffer() 177 : "r" (addr), "r" (thislen), "1" (data)); in ether1_writebuffer() 181 thislen = length; in ether1_writebuffer() 182 if (thislen > 4096) in ether1_writebuffer() 183 thislen = 4096; in ether1_writebuffer() 185 } while (thislen); in ether1_writebuffer() 191 unsigned int page, thislen, offset; in ether1_readbuffer() local [all …]
|
/kernel/linux/linux-5.10/drivers/mtd/chips/ |
D | cfi_cmdset_0020.c | 396 unsigned long thislen; in cfi_staa_read() local 402 thislen = (1<<cfi->chipshift) - ofs; in cfi_staa_read() 404 thislen = len; in cfi_staa_read() 406 ret = do_read_onechip(map, &cfi->chips[chipnum], ofs, thislen, buf); in cfi_staa_read() 410 *retlen += thislen; in cfi_staa_read() 411 len -= thislen; in cfi_staa_read() 412 buf += thislen; in cfi_staa_read() 667 size_t totlen = 0, thislen; in cfi_staa_writev() local 694 ret = mtd_write(mtd, to, ECCBUF_SIZE, &thislen, in cfi_staa_writev() 696 totlen += thislen; in cfi_staa_writev() [all …]
|
D | cfi_cmdset_0001.c | 1405 unsigned long thislen; in cfi_intelext_point() local 1417 thislen = (1<<cfi->chipshift) - ofs; in cfi_intelext_point() 1419 thislen = len; in cfi_intelext_point() 1421 ret = do_point_onechip(map, &cfi->chips[chipnum], ofs, thislen); in cfi_intelext_point() 1425 *retlen += thislen; in cfi_intelext_point() 1426 len -= thislen; in cfi_intelext_point() 1449 unsigned long thislen; in cfi_intelext_unpoint() local 1457 thislen = (1<<cfi->chipshift) - ofs; in cfi_intelext_unpoint() 1459 thislen = len; in cfi_intelext_unpoint() 1474 len -= thislen; in cfi_intelext_unpoint() [all …]
|
D | cfi_cmdset_0002.c | 1244 unsigned long thislen; in cfi_amdstd_read() local 1250 thislen = (1<<cfi->chipshift) - ofs; in cfi_amdstd_read() 1252 thislen = len; in cfi_amdstd_read() 1254 ret = do_read_onechip(map, &cfi->chips[chipnum], ofs, thislen, buf); in cfi_amdstd_read() 1258 *retlen += thislen; in cfi_amdstd_read() 1259 len -= thislen; in cfi_amdstd_read() 1260 buf += thislen; in cfi_amdstd_read() 1353 unsigned long thislen; in cfi_amdstd_secsi_read() local 1359 thislen = (1<<3) - ofs; in cfi_amdstd_secsi_read() 1361 thislen = len; in cfi_amdstd_secsi_read() [all …]
|
/kernel/linux/linux-5.10/fs/fuse/ |
D | xattr.c | 95 size_t thislen = strnlen(list, size); in fuse_verify_xattr_list() local 97 if (!thislen || thislen == size) in fuse_verify_xattr_list() 100 size -= thislen + 1; in fuse_verify_xattr_list() 101 list += thislen + 1; in fuse_verify_xattr_list()
|
D | virtio_fs.c | 550 unsigned int len, i, thislen; in virtio_fs_request_complete() local 564 thislen = ap->descs[i].length; in virtio_fs_request_complete() 565 if (len < thislen) { in virtio_fs_request_complete() 568 zero_user_segment(page, len, thislen); in virtio_fs_request_complete() 571 len -= thislen; in virtio_fs_request_complete()
|
/kernel/linux/linux-5.10/net/sunrpc/ |
D | xdr.c | 813 int thislen; in xdr_reserve_space_vec() local 827 thislen = xdr->buf->page_len % PAGE_SIZE; in xdr_reserve_space_vec() 828 thislen = min_t(size_t, nbytes, PAGE_SIZE - thislen); in xdr_reserve_space_vec() 830 p = xdr_reserve_space(xdr, thislen); in xdr_reserve_space_vec() 835 vec[v].iov_len = thislen; in xdr_reserve_space_vec() 837 nbytes -= thislen; in xdr_reserve_space_vec() 1784 unsigned int page_len, thislen, page_offset; in xdr_process_buf() local 1792 thislen = buf->head[0].iov_len - offset; in xdr_process_buf() 1793 if (thislen > len) in xdr_process_buf() 1794 thislen = len; in xdr_process_buf() [all …]
|
/kernel/linux/linux-5.10/net/sunrpc/auth_gss/ |
D | gss_krb5_crypto.c | 338 int thislen = desc->fraglen + sg->length; in encryptor() local 362 fraglen = thislen & (crypto_sync_skcipher_blocksize(tfm) - 1); in encryptor() 363 thislen -= fraglen; in encryptor() 365 if (thislen == 0) in encryptor() 372 thislen, desc->iv); in encryptor() 436 int thislen = desc->fraglen + sg->length; in decryptor() local 449 fraglen = thislen & (crypto_sync_skcipher_blocksize(tfm) - 1); in decryptor() 450 thislen -= fraglen; in decryptor() 452 if (thislen == 0) in decryptor() 458 thislen, desc->iv); in decryptor()
|
/kernel/linux/linux-5.10/drivers/mtd/ |
D | nftlcore.c | 480 u16 ChainLength = 0, thislen; in NFTL_makefreeblock() local 485 thislen = 0; in NFTL_makefreeblock() 488 thislen++; in NFTL_makefreeblock() 491 if (thislen > 0xff00) { in NFTL_makefreeblock() 495 if (thislen > 0xff10) { in NFTL_makefreeblock() 498 thislen = 0; in NFTL_makefreeblock() 503 if (thislen > ChainLength) { in NFTL_makefreeblock() 505 ChainLength = thislen; in NFTL_makefreeblock()
|
D | inftlcore.c | 406 u16 ChainLength = 0, thislen; in INFTL_makefreeblock() local 414 thislen = 0; in INFTL_makefreeblock() 417 thislen++; in INFTL_makefreeblock() 419 if (thislen > 0xff00) { in INFTL_makefreeblock() 427 thislen = 0; in INFTL_makefreeblock() 432 if (thislen > ChainLength) { in INFTL_makefreeblock() 433 ChainLength = thislen; in INFTL_makefreeblock()
|
D | mtdcore.c | 2097 size_t totlen = 0, thislen; in default_mtd_writev() local 2103 ret = mtd_write(mtd, to, vecs[i].iov_len, &thislen, in default_mtd_writev() 2105 totlen += thislen; in default_mtd_writev() 2106 if (ret || thislen != vecs[i].iov_len) in default_mtd_writev()
|
/kernel/linux/linux-5.10/drivers/mtd/lpddr/ |
D | lpddr_cmds.c | 553 unsigned long thislen; in lpddr_point() local 565 thislen = (1<<lpddr->chipshift) - ofs; in lpddr_point() 567 thislen = len; in lpddr_point() 577 *retlen += thislen; in lpddr_point() 578 len -= thislen; in lpddr_point() 599 unsigned long thislen; in lpddr_unpoint() local 607 thislen = (1<<lpddr->chipshift) - ofs; in lpddr_unpoint() 609 thislen = len; in lpddr_unpoint() 625 len -= thislen; in lpddr_unpoint()
|
/kernel/linux/linux-5.10/fs/qnx6/ |
D | dir.c | 181 int thislen; in qnx6_long_match() local 187 thislen = fs16_to_cpu(sbi, lf->lf_size); in qnx6_long_match() 188 if (len != thislen) { in qnx6_long_match()
|
/kernel/linux/linux-5.10/drivers/scsi/esas2r/ |
D | esas2r_flash.c | 284 u32 thislen; in fix_efi() local 291 thislen = (u32)le16_to_cpu(bh->image_length) * 512; in fix_efi() 293 if (thislen > len) in fix_efi() 296 len -= thislen; in fix_efi() 297 offset += thislen; in fix_efi() 1167 u32 thislen; in esas2r_read_image_type() local 1170 thislen = (u32)le16_to_cpu(bh->image_length) * 512; in esas2r_read_image_type() 1171 if (thislen == 0 in esas2r_read_image_type() 1172 || thislen + offset > len in esas2r_read_image_type() 1176 offset += thislen; in esas2r_read_image_type()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_fcoe.c | 149 unsigned int thislen = 0; in ixgbe_fcoe_ddp_setup() local 218 thislen = min((bufflen - thisoff), len); in ixgbe_fcoe_ddp_setup() 230 if (((i != (dmacount - 1)) || (thislen != len)) in ixgbe_fcoe_ddp_setup() 231 && ((thislen + thisoff) != bufflen)) in ixgbe_fcoe_ddp_setup() 238 len -= thislen; in ixgbe_fcoe_ddp_setup() 239 addr += thislen; in ixgbe_fcoe_ddp_setup() 244 lastsize = thisoff + thislen; in ixgbe_fcoe_ddp_setup()
|
/kernel/linux/linux-5.10/drivers/usb/atm/ |
D | speedtch.c | 269 int thislen = min_t(int, PAGE_SIZE, fw1->size - offset); in speedtch_upload_firmware() local 270 memcpy(buffer, fw1->data + offset, thislen); in speedtch_upload_firmware() 273 buffer, thislen, &actual_length, DATA_TIMEOUT); in speedtch_upload_firmware() 296 int thislen = min_t(int, PAGE_SIZE, fw2->size - offset); in speedtch_upload_firmware() local 297 memcpy(buffer, fw2->data + offset, thislen); in speedtch_upload_firmware() 300 buffer, thislen, &actual_length, DATA_TIMEOUT); in speedtch_upload_firmware()
|
/kernel/linux/linux-5.10/drivers/ide/ |
D | ide-cd.c | 613 int dma_error = 0, dma, thislen, uptodate = 0; in cdrom_newpc_intr() local 658 thislen = !blk_rq_is_passthrough(rq) ? len : cmd->nleft; in cdrom_newpc_intr() 659 if (thislen > len) in cdrom_newpc_intr() 660 thislen = len; in cdrom_newpc_intr() 663 stat, thislen); in cdrom_newpc_intr() 693 if (!(stat & ATA_ERR) && !uptodate && thislen) { in cdrom_newpc_intr() 694 ide_pio_bytes(drive, cmd, write, thislen); in cdrom_newpc_intr() 718 while (thislen > 0) { in cdrom_newpc_intr() 719 int blen = min_t(int, thislen, cmd->nleft); in cdrom_newpc_intr() 727 thislen -= blen; in cdrom_newpc_intr()
|
/kernel/linux/linux-5.10/fs/xfs/ |
D | xfs_rtalloc.c | 281 xfs_rtblock_t thislen; /* this extent size */ in xfs_rtallocate_extent_block() local 283 thislen = next - i; in xfs_rtallocate_extent_block() 284 if (thislen >= minlen && thislen > bestlen) { in xfs_rtallocate_extent_block() 286 bestlen = thislen; in xfs_rtallocate_extent_block()
|
/kernel/linux/linux-5.10/fs/overlayfs/ |
D | dir.c | 990 int thislen; in ovl_get_redirect() local 995 thislen = strlen(name); in ovl_get_redirect() 998 thislen = d->d_name.len; in ovl_get_redirect() 1002 if (thislen + (name[0] != '/') > buflen) { in ovl_get_redirect() 1008 buflen -= thislen; in ovl_get_redirect() 1009 memcpy(&buf[buflen], name, thislen); in ovl_get_redirect()
|
D | namei.c | 315 size_t thislen = next - s; in ovl_lookup_layer() local 322 err = ovl_lookup_single(base, d, s, thislen, in ovl_lookup_layer() 332 rem -= thislen + 1; in ovl_lookup_layer()
|
/kernel/liteos_a/fs/jffs2/ |
D | jffs2.patch | 8567 + size_t totlen = 0, thislen; 8602 + ret = jffs2_flash_write(c, to, sizetomalloc, &thislen, 8604 + if (thislen > totvecsize) // in case it was aligned up 8605 + thislen = totvecsize; 8606 + totlen += thislen; 8622 + ret = jffs2_flash_write(c, to, lentowrite, &thislen, 8624 + if (thislen > vecs[i].iov_len) 8625 + thislen = vecs[i].iov_len; 8628 + ret = jffs2_flash_write(c, to, vecs[i].iov_len, &thislen, 8631 + totlen += thislen; [all …]
|