/linux/drivers/mtd/maps/ |
A 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() 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() 149 from += thislen; in sbc_gxx_copy_to() [all …]
|
/linux/drivers/mtd/nand/onenand/ |
A D | onenand_base.c | 1052 int thislen) in onenand_transfer_auto_oob() argument 1186 buf += thislen; in onenand_mlc_read_ops_nolock() 1307 buf += thislen; in onenand_read_ops_nolock() 1384 thislen = min_t(int, thislen, len); in onenand_read_oob_nolock() 1410 buf += thislen; in onenand_read_oob_nolock() 1559 thislen = min_t(int, thislen, len); in onenand_bbt_read_oob() 1577 buf += thislen; in onenand_bbt_read_oob() 1656 len -= thislen; in onenand_verify() 1657 buf += thislen; in onenand_verify() 1755 to += thislen; in onenand_panic_write() [all …]
|
/linux/fs/qnx4/ |
A 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()
|
/linux/drivers/net/ethernet/i825xx/ |
A D | ether1.c | 138 thislen = length; in ether1_writebuffer() 144 length -= thislen; 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() 201 thislen = length; in ether1_readbuffer() 207 length -= thislen; in ether1_readbuffer() 244 thislen = length; in ether1_readbuffer() 246 thislen = 4096; in ether1_readbuffer() [all …]
|
/linux/drivers/mtd/chips/ |
A D | cfi_cmdset_0020.c | 396 unsigned long thislen; in cfi_staa_read() local 404 thislen = len; 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 696 totlen += thislen; in cfi_staa_writev() 705 &thislen, elem_base); in cfi_staa_writev() 706 totlen += thislen; in cfi_staa_writev() 709 to += thislen; in cfi_staa_writev() [all …]
|
A D | cfi_cmdset_0001.c | 1406 unsigned long thislen; in cfi_intelext_point() local 1420 thislen = len; in cfi_intelext_point() 1426 *retlen += thislen; in cfi_intelext_point() 1427 len -= thislen; in cfi_intelext_point() 1450 unsigned long thislen; in cfi_intelext_unpoint() local 1460 thislen = len; in cfi_intelext_unpoint() 1475 len -= thislen; in cfi_intelext_unpoint() 1536 thislen = len; in cfi_intelext_read() 1542 *retlen += thislen; in cfi_intelext_read() 1543 len -= thislen; in cfi_intelext_read() [all …]
|
A D | cfi_cmdset_0002.c | 1256 unsigned long thislen; in cfi_amdstd_read() local 1264 thislen = len; in cfi_amdstd_read() 1270 *retlen += thislen; in cfi_amdstd_read() 1271 len -= thislen; in cfi_amdstd_read() 1272 buf += thislen; in cfi_amdstd_read() 1365 unsigned long thislen; in cfi_amdstd_secsi_read() local 1371 thislen = (1<<3) - ofs; in cfi_amdstd_secsi_read() 1373 thislen = len; in cfi_amdstd_secsi_read() 1380 *retlen += thislen; in cfi_amdstd_secsi_read() 1381 len -= thislen; in cfi_amdstd_secsi_read() [all …]
|
/linux/fs/fuse/ |
A D | xattr.c | 97 size_t thislen = strnlen(list, size); in fuse_verify_xattr_list() local 99 if (!thislen || thislen == size) in fuse_verify_xattr_list() 102 size -= thislen + 1; in fuse_verify_xattr_list() 103 list += thislen + 1; in fuse_verify_xattr_list()
|
A D | virtio_fs.c | 551 unsigned int len, i, thislen; in virtio_fs_request_complete() local 565 thislen = ap->descs[i].length; in virtio_fs_request_complete() 566 if (len < thislen) { in virtio_fs_request_complete() 569 zero_user_segment(page, len, thislen); in virtio_fs_request_complete() 572 len -= thislen; in virtio_fs_request_complete()
|
/linux/net/sunrpc/auth_gss/ |
A 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()
|
/linux/net/sunrpc/ |
A D | xdr.c | 1036 int thislen; in xdr_reserve_space_vec() local 1051 thislen = min_t(size_t, nbytes, PAGE_SIZE - thislen); in xdr_reserve_space_vec() 1060 nbytes -= thislen; in xdr_reserve_space_vec() 2029 if (thislen > len) in xdr_process_buf() 2030 thislen = len; in xdr_process_buf() 2036 len -= thislen; in xdr_process_buf() 2053 thislen = page_len; in xdr_process_buf() 2058 page_len -= thislen; in xdr_process_buf() 2069 if (thislen > len) in xdr_process_buf() 2070 thislen = len; in xdr_process_buf() [all …]
|
/linux/drivers/mtd/ |
A 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()
|
A 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()
|
A D | mtdcore.c | 2228 size_t totlen = 0, thislen; in default_mtd_writev() local 2234 ret = mtd_write(mtd, to, vecs[i].iov_len, &thislen, in default_mtd_writev() 2236 totlen += thislen; in default_mtd_writev() 2237 if (ret || thislen != vecs[i].iov_len) in default_mtd_writev()
|
/linux/drivers/mtd/lpddr/ |
A 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()
|
/linux/drivers/scsi/esas2r/ |
A 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()
|
/linux/drivers/net/ethernet/intel/ixgbe/ |
A 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()
|
/linux/fs/qnx6/ |
A 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()
|
/linux/drivers/usb/atm/ |
A 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()
|
/linux/fs/overlayfs/ |
A D | dir.c | 980 int thislen; in ovl_get_redirect() local 985 thislen = strlen(name); in ovl_get_redirect() 988 thislen = d->d_name.len; in ovl_get_redirect() 992 if (thislen + (name[0] != '/') > buflen) { in ovl_get_redirect() 998 buflen -= thislen; in ovl_get_redirect() 999 memcpy(&buf[buflen], name, thislen); in ovl_get_redirect()
|
A D | namei.c | 320 size_t thislen = next - s; in ovl_lookup_layer() local 327 err = ovl_lookup_single(base, d, s, thislen, in ovl_lookup_layer() 337 rem -= thislen + 1; in ovl_lookup_layer()
|
/linux/fs/xfs/ |
A 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()
|