/linux-master/drivers/mtd/maps/ |
H A D | sbc_gxx.c | 115 unsigned long thislen = len; local 117 thislen = WINDOW_LENGTH-(from & WINDOW_MASK); 121 memcpy_fromio(to, iomapadr + (from & WINDOW_MASK), thislen); 123 to += thislen; 124 from += thislen; 125 len -= thislen; 140 unsigned long thislen = len; local 142 thislen = WINDOW_LENGTH-(to & WINDOW_MASK); 146 memcpy_toio(iomapadr + (to & WINDOW_MASK), from, thislen); 148 to += thislen; [all...] |
/linux-master/fs/fuse/ |
H A D | xattr.c | 97 size_t thislen = strnlen(list, size); local 99 if (!thislen || thislen == size) 102 size -= thislen + 1; 103 list += thislen + 1;
|
H A D | virtio_fs.c | 621 unsigned int len, i, thislen; local 635 thislen = ap->descs[i].length; 636 if (len < thislen) { 639 zero_user_segment(page, len, thislen); 642 len -= thislen;
|
/linux-master/drivers/net/ethernet/i825xx/ |
H A D | ether1.c | 128 unsigned int page, thislen, offset; local 136 thislen = 4096 - offset; 138 thislen = length; 144 length -= thislen; 177 : "r" (addr), "r" (thislen), "1" (data)); 181 thislen = length; 182 if (thislen > 4096) 183 thislen = 4096; 185 } while (thislen); 191 unsigned int page, thislen, offse local [all...] |
/linux-master/drivers/mtd/nand/onenand/ |
H A D | onenand_base.c | 1049 * @thislen: oob length to read 1052 int thislen) 1059 column, thislen); 1123 int read = 0, column, thislen; local 1148 thislen = min_t(int, writesize, len - read); 1151 if (column + thislen > writesize) 1152 thislen = writesize - column; 1167 this->read_bufferram(mtd, ONENAND_DATARAM, buf, column, thislen); 1181 read += thislen; 1185 from += thislen; 1051 onenand_transfer_auto_oob(struct mtd_info *mtd, uint8_t *buf, int column, int thislen) argument 1224 int read = 0, column, thislen; local 1349 int read = 0, thislen, column, oobsize; local 1542 int read = 0, thislen, column; local 1646 int thislen, column; local 1734 int thislen = min_t(int, mtd->writesize - column, len - written); local 1783 onenand_fill_auto_oob(struct mtd_info *mtd, u_char *oob_buf, const u_char *buf, int column, int thislen) argument 1801 int written = 0, column, thislen = 0, subpage = 0; local 2023 int thislen = min_t(int, oobsize, len - written); local 2800 int thislen = min_t(int, oobsize, len - written); local [all...] |
/linux-master/drivers/mtd/chips/ |
H A D | cfi_cmdset_0020.c | 397 unsigned long thislen; local 403 thislen = (1<<cfi->chipshift) - ofs; 405 thislen = len; 407 ret = do_read_onechip(map, &cfi->chips[chipnum], ofs, thislen, buf); 411 *retlen += thislen; 412 len -= thislen; 413 buf += thislen; 668 size_t totlen = 0, thislen; local 695 ret = mtd_write(mtd, to, ECCBUF_SIZE, &thislen, 697 totlen += thislen; [all...] |
H A D | cfi_cmdset_0001.c | 1423 unsigned long thislen; local 1435 thislen = (1<<cfi->chipshift) - ofs; 1437 thislen = len; 1439 ret = do_point_onechip(map, &cfi->chips[chipnum], ofs, thislen); 1443 *retlen += thislen; 1444 len -= thislen; 1467 unsigned long thislen; local 1475 thislen = (1<<cfi->chipshift) - ofs; 1477 thislen = len; 1492 len -= thislen; 1545 unsigned long thislen; local [all...] |
H A D | cfi_cmdset_0002.c | 1248 unsigned long thislen; local 1254 thislen = (1<<cfi->chipshift) - ofs; 1256 thislen = len; 1258 ret = do_read_onechip(map, &cfi->chips[chipnum], ofs, thislen, buf); 1262 *retlen += thislen; 1263 len -= thislen; 1264 buf += thislen; 1357 unsigned long thislen; local 1363 thislen = (1<<3) - ofs; 1365 thislen [all...] |
/linux-master/drivers/mtd/ |
H A D | nftlcore.c | 480 u16 ChainLength = 0, thislen; local 485 thislen = 0; 488 thislen++; 489 //printk("VUC %d reaches len %d with EUN %d\n", chain, thislen, EUN); 491 if (thislen > 0xff00) { 495 if (thislen > 0xff10) { 498 thislen = 0; 503 if (thislen > ChainLength) { 504 //printk("New longest chain is %d with length %d\n", chain, thislen); 505 ChainLength = thislen; [all...] |
H A D | inftlcore.c | 406 u16 ChainLength = 0, thislen; local 414 thislen = 0; 417 thislen++; 419 if (thislen > 0xff00) { 427 thislen = 0; 432 if (thislen > ChainLength) { 433 ChainLength = thislen;
|
H A D | mtdcore.c | 2372 size_t totlen = 0, thislen; local 2378 ret = mtd_write(mtd, to, vecs[i].iov_len, &thislen, 2380 totlen += thislen; 2381 if (ret || thislen != vecs[i].iov_len)
|
/linux-master/fs/qnx6/ |
H A D | dir.c | 181 int thislen; local 187 thislen = fs16_to_cpu(sbi, lf->lf_size); 188 if (len != thislen) {
|
/linux-master/net/sunrpc/auth_gss/ |
H A D | gss_krb5_crypto.c | 388 int thislen = desc->fraglen + sg->length; local 412 fraglen = thislen & (crypto_sync_skcipher_blocksize(tfm) - 1); 413 thislen -= fraglen; 415 if (thislen == 0) 422 thislen, desc->iv); 486 int thislen = desc->fraglen + sg->length; local 499 fraglen = thislen & (crypto_sync_skcipher_blocksize(tfm) - 1); 500 thislen -= fraglen; 502 if (thislen == 0) 508 thislen, des [all...] |
/linux-master/drivers/mtd/lpddr/ |
H A D | lpddr_cmds.c | 550 unsigned long thislen; local 562 thislen = (1<<lpddr->chipshift) - ofs; 564 thislen = len; 574 *retlen += thislen; 575 len -= thislen; 596 unsigned long thislen; local 604 thislen = (1<<lpddr->chipshift) - ofs; 606 thislen = len; 622 len -= thislen;
|
/linux-master/net/sunrpc/ |
H A D | xdr.c | 1138 size_t thislen; local 1152 thislen = xdr->buf->page_len % PAGE_SIZE; 1153 thislen = min_t(size_t, nbytes, PAGE_SIZE - thislen); 1155 p = xdr_reserve_space(xdr, thislen); 1159 nbytes -= thislen; 2181 unsigned int page_len, thislen, page_offset; local 2189 thislen = buf->head[0].iov_len - offset; 2190 if (thislen > len) 2191 thislen [all...] |
/linux-master/drivers/scsi/esas2r/ |
H A D | esas2r_flash.c | 284 u32 thislen; local 291 thislen = (u32)le16_to_cpu(bh->image_length) * 512; 293 if (thislen > len) 296 len -= thislen; 297 offset += thislen; 1167 u32 thislen; local 1170 thislen = (u32)le16_to_cpu(bh->image_length) * 512; 1171 if (thislen == 0 1172 || thislen + offset > len 1176 offset += thislen; [all...] |
/linux-master/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_fcoe.c | 149 unsigned int thislen = 0; local 218 thislen = min((bufflen - thisoff), len); 227 * ((i == (dmacount - 1)) && (thislen == len)) 230 if (((i != (dmacount - 1)) || (thislen != len)) 231 && ((thislen + thisoff) != bufflen)) 238 len -= thislen; 239 addr += thislen; 244 lastsize = thisoff + thislen;
|
/linux-master/drivers/usb/atm/ |
H A D | speedtch.c | 269 int thislen = min_t(int, PAGE_SIZE, fw1->size - offset); local 270 memcpy(buffer, fw1->data + offset, thislen); 273 buffer, thislen, &actual_length, DATA_TIMEOUT); 296 int thislen = min_t(int, PAGE_SIZE, fw2->size - offset); local 297 memcpy(buffer, fw2->data + offset, thislen); 300 buffer, thislen, &actual_length, DATA_TIMEOUT);
|
/linux-master/fs/xfs/ |
H A D | xfs_rtalloc.c | 273 xfs_rtxnum_t thislen; /* this extent size */ local 275 thislen = next - i; 276 if (thislen >= minlen && thislen > bestlen) { 278 bestlen = thislen;
|
/linux-master/fs/overlayfs/ |
H A D | dir.c | 968 int thislen; local 973 thislen = strlen(name); 976 thislen = d->d_name.len; 980 if (thislen + (name[0] != '/') > buflen) { 986 buflen -= thislen; 987 memcpy(&buf[buflen], name, thislen);
|
H A D | namei.c | 339 size_t thislen = next - s; local 346 err = ovl_lookup_single(base, d, s, thislen, 356 rem -= thislen + 1;
|