Home
last modified time | relevance | path

Searched refs:thislen (Results 1 - 25 of 45) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/mtd/maps/
H A Dsbc_gxx.c115 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-6.6/drivers/mtd/maps/
H A Dsbc_gxx.c115 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/fs/qnx4/
H A Dnamei.c30 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-6.6/fs/qnx4/
H A Dnamei.c30 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/mtd/nand/onenand/
H A Donenand_base.c1049 * @param thislen oob length to read
1052 int thislen) in onenand_transfer_auto_oob()
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()
1051 onenand_transfer_auto_oob(struct mtd_info *mtd, uint8_t *buf, int column, int thislen) onenand_transfer_auto_oob() argument
1224 int read = 0, column, thislen; onenand_read_ops_nolock() local
1349 int read = 0, thislen, column, oobsize; onenand_read_oob_nolock() local
1530 int read = 0, thislen, column; onenand_bbt_read_oob() local
1634 int thislen, column; onenand_verify() local
1722 int thislen = min_t(int, mtd->writesize - column, len - written); onenand_panic_write() local
1771 onenand_fill_auto_oob(struct mtd_info *mtd, u_char *oob_buf, const u_char *buf, int column, int thislen) onenand_fill_auto_oob() argument
1789 int written = 0, column, thislen = 0, subpage = 0; onenand_write_ops_nolock() local
2014 int thislen = min_t(int, oobsize, len - written); onenand_write_oob_nolock() local
2793 int thislen = min_t(int, oobsize, len - written); onenand_otp_write_oob_nolock() local
[all...]
/kernel/linux/linux-6.6/drivers/mtd/nand/onenand/
H A Donenand_base.c1049 * @thislen: oob length to read
1052 int thislen) in onenand_transfer_auto_oob()
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()
1051 onenand_transfer_auto_oob(struct mtd_info *mtd, uint8_t *buf, int column, int thislen) onenand_transfer_auto_oob() argument
1224 int read = 0, column, thislen; onenand_read_ops_nolock() local
1349 int read = 0, thislen, column, oobsize; onenand_read_oob_nolock() local
1542 int read = 0, thislen, column; onenand_bbt_read_oob() local
1646 int thislen, column; onenand_verify() local
1734 int thislen = min_t(int, mtd->writesize - column, len - written); onenand_panic_write() local
1783 onenand_fill_auto_oob(struct mtd_info *mtd, u_char *oob_buf, const u_char *buf, int column, int thislen) onenand_fill_auto_oob() argument
1801 int written = 0, column, thislen = 0, subpage = 0; onenand_write_ops_nolock() local
2023 int thislen = min_t(int, oobsize, len - written); onenand_write_oob_nolock() local
2800 int thislen = min_t(int, oobsize, len - written); onenand_otp_write_oob_nolock() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/i825xx/
H A Dether1.c128 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, offse in ether1_readbuffer() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/i825xx/
H A Dether1.c128 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, offse in ether1_readbuffer() local
[all...]
/kernel/linux/linux-5.10/drivers/mtd/chips/
H A Dcfi_cmdset_0020.c396 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...]
/kernel/linux/linux-6.6/drivers/mtd/chips/
H A Dcfi_cmdset_0020.c397 unsigned long thislen; in cfi_staa_read() local
403 thislen = (1<<cfi->chipshift) - ofs; in cfi_staa_read()
405 thislen = len; in cfi_staa_read()
407 ret = do_read_onechip(map, &cfi->chips[chipnum], ofs, thislen, buf); in cfi_staa_read()
411 *retlen += thislen; in cfi_staa_read()
412 len -= thislen; in cfi_staa_read()
413 buf += thislen; in cfi_staa_read()
668 size_t totlen = 0, thislen; in cfi_staa_writev() local
695 ret = mtd_write(mtd, to, ECCBUF_SIZE, &thislen, in cfi_staa_writev()
697 totlen += thislen; in cfi_staa_writev()
[all...]
/kernel/linux/linux-6.6/fs/fuse/
H A Dxattr.c97 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()
/kernel/linux/linux-5.10/net/sunrpc/
H A Dxdr.c813 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 > le in xdr_process_buf()
[all...]
/kernel/linux/linux-5.10/fs/fuse/
H A Dxattr.c95 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()
/kernel/linux/linux-5.10/drivers/mtd/
H A Dnftlcore.c480 u16 ChainLength = 0, thislen; in NFTL_makefreeblock() local
485 thislen = 0; in NFTL_makefreeblock()
488 thislen++; in NFTL_makefreeblock()
489 //printk("VUC %d reaches len %d with EUN %d\n", chain, thislen, EUN); 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()
504 //printk("New longest chain is %d with length %d\n", chain, thislen); in NFTL_makefreeblock()
505 ChainLength = thislen; in NFTL_makefreeblock()
[all...]
H A Dinftlcore.c406 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()
/kernel/linux/linux-6.6/drivers/mtd/
H A Dnftlcore.c480 u16 ChainLength = 0, thislen; in NFTL_makefreeblock() local
485 thislen = 0; in NFTL_makefreeblock()
488 thislen++; in NFTL_makefreeblock()
489 //printk("VUC %d reaches len %d with EUN %d\n", chain, thislen, EUN); 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()
504 //printk("New longest chain is %d with length %d\n", chain, thislen); in NFTL_makefreeblock()
505 ChainLength = thislen; in NFTL_makefreeblock()
[all...]
H A Dinftlcore.c406 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()
/kernel/linux/linux-5.10/net/sunrpc/auth_gss/
H A Dgss_krb5_crypto.c338 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, des in decryptor()
[all...]
/kernel/linux/linux-5.10/drivers/mtd/lpddr/
H A Dlpddr_cmds.c553 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-6.6/drivers/mtd/lpddr/
H A Dlpddr_cmds.c550 unsigned long thislen; in lpddr_point() local
562 thislen = (1<<lpddr->chipshift) - ofs; in lpddr_point()
564 thislen = len; in lpddr_point()
574 *retlen += thislen; in lpddr_point()
575 len -= thislen; in lpddr_point()
596 unsigned long thislen; in lpddr_unpoint() local
604 thislen = (1<<lpddr->chipshift) - ofs; in lpddr_unpoint()
606 thislen = len; in lpddr_unpoint()
622 len -= thislen; in lpddr_unpoint()
/kernel/linux/linux-6.6/net/sunrpc/
H A Dxdr.c1138 size_t thislen; in xdr_reserve_space_vec() local
1152 thislen = xdr->buf->page_len % PAGE_SIZE; in xdr_reserve_space_vec()
1153 thislen = min_t(size_t, nbytes, PAGE_SIZE - thislen); in xdr_reserve_space_vec()
1155 p = xdr_reserve_space(xdr, thislen); in xdr_reserve_space_vec()
1159 nbytes -= thislen; in xdr_reserve_space_vec()
2181 unsigned int page_len, thislen, page_offset; in xdr_process_buf() local
2189 thislen = buf->head[0].iov_len - offset; in xdr_process_buf()
2190 if (thislen > len) in xdr_process_buf()
2191 thislen in xdr_process_buf()
[all...]
/kernel/linux/linux-5.10/drivers/scsi/esas2r/
H A Desas2r_flash.c284 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()
[all...]
/kernel/linux/linux-6.6/net/sunrpc/auth_gss/
H A Dgss_krb5_crypto.c388 int thislen = desc->fraglen + sg->length; in encryptor() local
412 fraglen = thislen & (crypto_sync_skcipher_blocksize(tfm) - 1); in encryptor()
413 thislen -= fraglen; in encryptor()
415 if (thislen == 0) in encryptor()
422 thislen, desc->iv); in encryptor()
486 int thislen = desc->fraglen + sg->length; in decryptor() local
499 fraglen = thislen & (crypto_sync_skcipher_blocksize(tfm) - 1); in decryptor()
500 thislen -= fraglen; in decryptor()
502 if (thislen == 0) in decryptor()
508 thislen, des in decryptor()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/esas2r/
H A Desas2r_flash.c284 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()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_fcoe.c149 unsigned int thislen = 0; in ixgbe_fcoe_ddp_setup() local
218 thislen = min((bufflen - thisoff), len); in ixgbe_fcoe_ddp_setup()
227 * ((i == (dmacount - 1)) && (thislen == 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()

Completed in 31 milliseconds

12