| /linux/drivers/mtd/maps/ |
| H 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() 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 …]
|
| /linux/drivers/mtd/nand/onenand/ |
| H A 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 …]
|
| /linux/drivers/net/ethernet/i825xx/ |
| H A 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 …]
|
| /linux/drivers/mtd/chips/ |
| H A D | cfi_cmdset_0020.c | 394 unsigned long thislen; in cfi_staa_read() 400 thislen = (1<<cfi->chipshift) - ofs; in cfi_staa_read() 402 thislen = len; in cfi_staa_read() 404 ret = do_read_onechip(map, &cfi->chips[chipnum], ofs, thislen, buf); in cfi_staa_read() 408 *retlen += thislen; in cfi_staa_read() 409 len -= thislen; in cfi_staa_read() 410 buf += thislen; in cfi_staa_read() 665 size_t totlen = 0, thislen; in cfi_staa_writev() 692 ret = mtd_write(mtd, to, ECCBUF_SIZE, &thislen, in cfi_staa_writev() 694 totlen += thislen; in cfi_staa_writev() 396 unsigned long thislen; cfi_staa_read() local 667 size_t totlen = 0, thislen; cfi_staa_writev() local [all...] |
| H A D | cfi_cmdset_0001.c | 1419 unsigned long thislen; in cfi_intelext_point() local 1431 thislen = (1<<cfi->chipshift) - ofs; in cfi_intelext_point() 1433 thislen = len; in cfi_intelext_point() 1435 ret = do_point_onechip(map, &cfi->chips[chipnum], ofs, thislen); in cfi_intelext_point() 1439 *retlen += thislen; in cfi_intelext_point() 1440 len -= thislen; in cfi_intelext_point() 1463 unsigned long thislen; in cfi_intelext_unpoint() local 1471 thislen = (1<<cfi->chipshift) - ofs; in cfi_intelext_unpoint() 1473 thislen = len; in cfi_intelext_unpoint() 1488 len -= thislen; in cfi_intelext_unpoint() [all …]
|
| H A D | cfi_cmdset_0002.c | 1248 unsigned long thislen; in cfi_amdstd_read() 1254 thislen = (1<<cfi->chipshift) - ofs; in cfi_amdstd_read() 1256 thislen = len; in cfi_amdstd_read() 1258 ret = do_read_onechip(map, &cfi->chips[chipnum], ofs, thislen, buf); in cfi_amdstd_read() 1262 *retlen += thislen; in cfi_amdstd_read() 1263 len -= thislen; in cfi_amdstd_read() 1264 buf += thislen; in cfi_amdstd_read() 1357 unsigned long thislen; in cfi_amdstd_secsi_read() 1363 thislen = (1<<3) - ofs; in cfi_amdstd_secsi_read() 1365 thislen in cfi_amdstd_secsi_read() 1247 unsigned long thislen; cfi_amdstd_read() local 1356 unsigned long thislen; cfi_amdstd_secsi_read() local [all...] |
| /linux/net/sunrpc/auth_gss/ |
| H A D | gss_krb5_crypto.c | 244 int thislen = desc->fraglen + sg->length; encryptor() local 313 int thislen = desc->fraglen + sg->length; decryptor() local
|
| /linux/tools/testing/selftests/filesystems/mount-notify/ |
| H A D | mount-notify_test.c | 122 unsigned int thislen; in expect_notify() local 148 thislen = meta->event_len; in expect_notify() 149 self->rem -= thislen; in expect_notify() 150 self->next += thislen; in expect_notify() 153 thislen -= sizeof(*meta); in expect_notify() 155 mnt = ((void *) meta) + meta->event_len - thislen; in expect_notify() 157 ASSERT_EQ(thislen, sizeof(*mnt)); in expect_notify()
|
| H A D | mount-notify_test_ns.c | 149 unsigned int thislen; in expect_notify() local 175 thislen = meta->event_len; in expect_notify() 176 self->rem -= thislen; in expect_notify() 177 self->next += thislen; in expect_notify() 180 thislen -= sizeof(*meta); in expect_notify() 182 mnt = ((void *) meta) + meta->event_len - thislen; in expect_notify() 184 ASSERT_EQ(thislen, sizeof(*mnt)); in expect_notify()
|
| /linux/drivers/mtd/ |
| H A D | nftlcore.c | 479 u16 ChainLength = 0, thislen; in NFTL_makefreeblock() local 484 thislen = 0; in NFTL_makefreeblock() 487 thislen++; in NFTL_makefreeblock() 490 if (thislen > 0xff00) { in NFTL_makefreeblock() 494 if (thislen > 0xff10) { in NFTL_makefreeblock() 497 thislen = 0; in NFTL_makefreeblock() 502 if (thislen > ChainLength) { in NFTL_makefreeblock() 504 ChainLength = thislen; in NFTL_makefreeblock()
|
| H 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()
|
| /linux/drivers/mtd/lpddr/ |
| H A D | lpddr_cmds.c | 549 unsigned long thislen; in lpddr_point() local 561 thislen = (1UL << lpddr->chipshift) - ofs; in lpddr_point() 563 thislen = len; in lpddr_point() 573 *retlen += thislen; in lpddr_point() 574 len -= thislen; in lpddr_point() 595 unsigned long thislen; in lpddr_unpoint() local 603 thislen = (1UL << lpddr->chipshift) - ofs; in lpddr_unpoint() 605 thislen = len; in lpddr_unpoint() 621 len -= thislen; in lpddr_unpoint()
|
| /linux/net/sunrpc/ |
| H A D | xdr.c | 213 unsigned int page_len, thislen, page_offset; in xdr_inline_pages() 224 thislen = min_t(unsigned int, 229 thislen); 233 len -= thislen; 246 thislen = PAGE_SIZE - page_offset; in _shift_data_left_pages() 248 if (thislen > page_len) in _shift_data_left_pages() 249 thislen = page_len; in _shift_data_left_pages() 253 thislen, page_offset); in _shift_data_left_pages() 257 page_len -= thislen; in _shift_data_left_pages() 260 thislen in _shift_data_left_pages() 1114 size_t thislen; xdr_reserve_space_vec() local 2157 unsigned int page_len, thislen, page_offset; xdr_process_buf() local [all...] |
| /linux/init/ |
| H A D | initramfs_test.c | 51 size_t thislen; in fill_cpio() 54 thislen = sprintf(pos, in fill_cpio() 61 pr_debug("packing (%zu): %.*s\n", thislen, (int)thislen, pos); in fill_cpio() 62 if (thislen != CPIO_HDRLEN + c->namesize) in fill_cpio() 38 size_t thislen; fill_cpio() local
|
| /linux/drivers/scsi/esas2r/ |
| H 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/ |
| H 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/ |
| H A D | dir.c | 186 int thislen; in qnx6_long_match() local 192 thislen = fs16_to_cpu(sbi, lf->lf_size); in qnx6_long_match() 193 if (len != thislen) { in qnx6_long_match()
|
| /linux/drivers/usb/atm/ |
| H A D | speedtch.c | 270 int thislen = min_t(int, PAGE_SIZE, fw1->size - offset); in speedtch_upload_firmware() local 271 memcpy(buffer, fw1->data + offset, thislen); in speedtch_upload_firmware() 274 buffer, thislen, &actual_length, DATA_TIMEOUT); in speedtch_upload_firmware() 297 int thislen = min_t(int, PAGE_SIZE, fw2->size - offset); in speedtch_upload_firmware() local 298 memcpy(buffer, fw2->data + offset, thislen); in speedtch_upload_firmware() 301 buffer, thislen, &actual_length, DATA_TIMEOUT); in speedtch_upload_firmware()
|
| /linux/fs/xfs/ |
| H A D | xfs_rtalloc.c | 298 xfs_rtxnum_t thislen; /* this extent size */ in xfs_rtallocate_extent_block() local 300 thislen = next - i; in xfs_rtallocate_extent_block() 301 if (thislen >= minlen && thislen > bestlen) { in xfs_rtallocate_extent_block() 303 bestlen = thislen; in xfs_rtallocate_extent_block()
|