written 12 arch/alpha/lib/srm_puts.c long remaining, written; written 17 arch/alpha/lib/srm_puts.c for (remaining = len; remaining > 0; remaining -= written) written 19 arch/alpha/lib/srm_puts.c written = callback_puts(0, str, remaining); written 20 arch/alpha/lib/srm_puts.c written &= 0xffffffff; written 21 arch/alpha/lib/srm_puts.c str += written; written 16 arch/mips/sibyte/common/cfe_console.c int i, last, written; written 24 arch/mips/sibyte/common/cfe_console.c written = cfe_write(cfe_cons_handle, &str[last], i-last); written 25 arch/mips/sibyte/common/cfe_console.c if (written < 0) written 27 arch/mips/sibyte/common/cfe_console.c last += written; written 35 arch/mips/sibyte/common/cfe_console.c written = cfe_write(cfe_cons_handle, &str[last], count-last); written 36 arch/mips/sibyte/common/cfe_console.c if (written < 0) written 38 arch/mips/sibyte/common/cfe_console.c last += written; written 365 arch/powerpc/platforms/powernv/opal.c int written; written 378 arch/powerpc/platforms/powernv/opal.c written = total_len; written 380 arch/powerpc/platforms/powernv/opal.c written = -EAGAIN; written 390 arch/powerpc/platforms/powernv/opal.c written = -EAGAIN; written 396 arch/powerpc/platforms/powernv/opal.c written = opal_error_code(rc); written 400 arch/powerpc/platforms/powernv/opal.c written = be64_to_cpu(olen); written 401 arch/powerpc/platforms/powernv/opal.c if (written < total_len) { written 405 arch/powerpc/platforms/powernv/opal.c "len=%d written=%d\n", total_len, written); written 407 arch/powerpc/platforms/powernv/opal.c if (!written) written 408 arch/powerpc/platforms/powernv/opal.c written = -EAGAIN; written 415 arch/powerpc/platforms/powernv/opal.c return written; written 1582 arch/um/drivers/ubd_kern.c int n, count, written, res; written 1606 arch/um/drivers/ubd_kern.c written = 0; written 1610 arch/um/drivers/ubd_kern.c ((char *) io_req_buffer) + written, written 1611 arch/um/drivers/ubd_kern.c n - written); written 1613 arch/um/drivers/ubd_kern.c written += res; written 1615 arch/um/drivers/ubd_kern.c if (written < n) { written 1618 arch/um/drivers/ubd_kern.c } while (written < n); written 984 block/blk-cgroup.c size_t written; written 989 block/blk-cgroup.c written = pol->pd_stat_fn(blkg->pd[i], buf+off, size-off); written 990 block/blk-cgroup.c if (written) written 992 block/blk-cgroup.c off += written; written 494 drivers/ata/libata-transport.c int written; written 504 drivers/ata/libata-transport.c arg->written += sprintf(arg->buf + arg->written, written 507 drivers/ata/libata-transport.c arg->written += get_ata_err_names(ent->err_mask, written 508 drivers/ata/libata-transport.c arg->buf + arg->written); written 520 drivers/ata/libata-transport.c return arg.written; written 531 drivers/ata/libata-transport.c int written = 0, i = 0; written 536 drivers/ata/libata-transport.c written += snprintf(buf+written, 20, "%04x%c", written 540 drivers/ata/libata-transport.c return written; written 550 drivers/ata/libata-transport.c int written = 0, i = 0; written 555 drivers/ata/libata-transport.c written += snprintf(buf+written, 20, "%08x%c", written 560 drivers/ata/libata-transport.c buf[written-1] = '\n'; written 561 drivers/ata/libata-transport.c return written; written 241 drivers/base/firmware_loader/fallback.c ssize_t written = count; written 283 drivers/base/firmware_loader/fallback.c written = rc; written 299 drivers/base/firmware_loader/fallback.c return written; written 990 drivers/block/pktcdvd.c char written[PACKET_MAX_SIZE]; written 1000 drivers/block/pktcdvd.c memset(written, 0, sizeof(written)); written 1010 drivers/block/pktcdvd.c written[f] = 1; written 1026 drivers/block/pktcdvd.c if (written[f]) written 866 drivers/block/zram/zram_drv.c ssize_t index, written = 0; written 890 drivers/block/zram/zram_drv.c copied = snprintf(kbuf + written, count, written 903 drivers/block/zram/zram_drv.c written += copied; written 911 drivers/block/zram/zram_drv.c if (copy_to_user(buf, kbuf, written)) written 912 drivers/block/zram/zram_drv.c written = -EFAULT; written 915 drivers/block/zram/zram_drv.c return written; written 306 drivers/char/lp.c ssize_t written; written 344 drivers/char/lp.c written = parport_write(port, kbuf, copy_size); written 345 drivers/char/lp.c if (written > 0) { written 346 drivers/char/lp.c copy_size -= written; written 347 drivers/char/lp.c count -= written; written 348 drivers/char/lp.c buf += written; written 349 drivers/char/lp.c retv += written; written 818 drivers/char/lp.c ssize_t written; written 837 drivers/char/lp.c written = parport_write(port, s, canwrite); written 839 drivers/char/lp.c if (written <= 0) written 842 drivers/char/lp.c s += written; written 843 drivers/char/lp.c count -= written; written 844 drivers/char/lp.c canwrite -= written; written 855 drivers/char/lp.c written = parport_write(port, crlf, i); written 856 drivers/char/lp.c if (written > 0) written 857 drivers/char/lp.c i -= written, crlf += written; written 858 drivers/char/lp.c } while (i > 0 && (CONSOLE_LP_STRICT || written > 0)); written 860 drivers/char/lp.c } while (count > 0 && (CONSOLE_LP_STRICT || written > 0)); written 202 drivers/char/mem.c ssize_t written, sz; written 212 drivers/char/mem.c written = 0; written 222 drivers/char/mem.c written += sz; written 244 drivers/char/mem.c if (written) written 252 drivers/char/mem.c written += sz - copied; written 253 drivers/char/mem.c if (written) written 262 drivers/char/mem.c written += sz; written 267 drivers/char/mem.c *ppos += written; written 268 drivers/char/mem.c return written; written 523 drivers/char/mem.c ssize_t written, sz; written 526 drivers/char/mem.c written = 0; written 535 drivers/char/mem.c written += sz; written 555 drivers/char/mem.c written += sz - copied; written 556 drivers/char/mem.c if (written) written 563 drivers/char/mem.c written += sz; written 568 drivers/char/mem.c *ppos += written; written 569 drivers/char/mem.c return written; written 707 drivers/char/mem.c size_t written = 0; written 716 drivers/char/mem.c return written ? written : -EFAULT; written 717 drivers/char/mem.c written += n; written 719 drivers/char/mem.c return written ? written : -ERESTARTSYS; written 722 drivers/char/mem.c return written; written 148 drivers/char/nwflash.c int written; written 180 drivers/char/nwflash.c written = 0; written 221 drivers/char/nwflash.c count - written); written 226 drivers/char/nwflash.c rc = write_block(p, buf, count - written); written 251 drivers/char/nwflash.c written += rc; written 255 drivers/char/nwflash.c printk(KERN_DEBUG "flash_write: written 0x%X bytes OK.\n", written); written 260 drivers/char/nwflash.c return written; written 445 drivers/char/xilinx_hwicap/xilinx_hwicap.c ssize_t written = 0; written 483 drivers/char/xilinx_hwicap/xilinx_hwicap.c buf + written, written 490 drivers/char/xilinx_hwicap/xilinx_hwicap.c if (copy_from_user(kbuf, buf + written, len)) { written 510 drivers/char/xilinx_hwicap/xilinx_hwicap.c written += len; written 515 drivers/char/xilinx_hwicap/xilinx_hwicap.c buf + written, left)) { written 517 drivers/char/xilinx_hwicap/xilinx_hwicap.c written += left; written 523 drivers/char/xilinx_hwicap/xilinx_hwicap.c status = written; written 1215 drivers/crypto/bcm/cipher.c u32 written; /* Number of bytes of data written */ written 1232 drivers/crypto/bcm/cipher.c written = spu_msg_sg_add(&sg, &assoc_sg, &assoc_offset, written 1234 drivers/crypto/bcm/cipher.c if (written < assoc_len) { written 1254 drivers/crypto/bcm/cipher.c written = spu_msg_sg_add(&sg, &rctx->src_sg, &rctx->src_skip, written 1256 drivers/crypto/bcm/cipher.c if (written < datalen) { written 190 drivers/firmware/meson/meson_sm.c u32 written; written 203 drivers/firmware/meson/meson_sm.c if (meson_sm_call(cmd_index, &written, arg0, arg1, arg2, arg3, arg4) < 0) written 206 drivers/firmware/meson/meson_sm.c if (!written) written 209 drivers/firmware/meson/meson_sm.c return written; written 127 drivers/gnss/core.c size_t written = 0; written 146 drivers/gnss/core.c size_t n = count - written; written 172 drivers/gnss/core.c written += ret; written 175 drivers/gnss/core.c if (written == count) written 179 drivers/gnss/core.c if (written) written 180 drivers/gnss/core.c ret = written; written 229 drivers/gpu/drm/drm_sysfs.c int written = 0; written 233 drivers/gpu/drm/drm_sysfs.c written += snprintf(buf + written, PAGE_SIZE - written, "%s\n", written 238 drivers/gpu/drm/drm_sysfs.c return written; written 165 drivers/md/bcache/btree.c return ((void *) btree_bset_first(b)) + b->written * block_bytes(b->c); written 176 drivers/md/bcache/btree.c if (b->written < btree_blocks(b)) written 227 drivers/md/bcache/btree.c b->written < btree_blocks(b) && i->seq == b->keys.set[0].data->seq; written 234 drivers/md/bcache/btree.c if (b->written + set_blocks(i, block_bytes(b->c)) > written 260 drivers/md/bcache/btree.c b->written += set_blocks(i, block_bytes(b->c)); written 278 drivers/md/bcache/btree.c if (b->written < btree_blocks(b)) written 468 drivers/md/bcache/btree.c BUG_ON(b->written >= btree_blocks(b)); written 469 drivers/md/bcache/btree.c BUG_ON(b->written && !i->keys); written 487 drivers/md/bcache/btree.c b->written += set_blocks(i, block_bytes(b->c)); written 538 drivers/md/bcache/btree.c BUG_ON(!b->written); written 987 drivers/md/bcache/btree.c b->written = 0; written 1060 drivers/md/bcache/btree.c BUG_ON(!b->written); written 2368 drivers/md/bcache/btree.c BUG_ON(!b->written); written 134 drivers/md/bcache/btree.h uint16_t written; /* would be nice to kill */ written 48 drivers/md/bcache/debug.c v->written = 0; written 98 drivers/md/bcache/debug.c pr_err("b->written %u\n", b->written); written 74 drivers/md/bcache/sysfs.c read_attribute(written); written 1001 drivers/md/bcache/sysfs.c sysfs_hprint(written, atomic_long_read(&ca->sectors_written) << 9); written 298 drivers/md/raid5-cache.c wbi = dev->written; written 299 drivers/md/raid5-cache.c dev->written = NULL; written 315 drivers/md/raid5-cache.c if (sh->dev[i].written) { written 2665 drivers/md/raid5-cache.c if (s->injournal > 0 || s->written > 0) written 511 drivers/md/raid5.c if (dev->toread || dev->read || dev->towrite || dev->written || written 515 drivers/md/raid5.c dev->read, dev->towrite, dev->written, written 1473 drivers/md/raid5.c (dev->written || written 1749 drivers/md/raid5.c BUG_ON(dev->written); written 1750 drivers/md/raid5.c wbi = dev->written = chosen; written 1811 drivers/md/raid5.c if (dev->written || i == pd_idx || i == qd_idx) { written 1878 drivers/md/raid5.c if (head_sh->dev[i].written || written 3404 drivers/md/raid5.c bi = sh->dev[i].written; written 3405 drivers/md/raid5.c sh->dev[i].written = NULL; written 3454 drivers/md/raid5.c s->written = 0; written 3760 drivers/md/raid5.c if (sh->dev[i].written) { written 3778 drivers/md/raid5.c wbi = dev->written; written 3779 drivers/md/raid5.c dev->written = NULL; written 4402 drivers/md/raid5.c dev->toread, dev->towrite, dev->written); written 4431 drivers/md/raid5.c if (dev->written) written 4432 drivers/md/raid5.c s->written++; written 4547 drivers/md/raid5.c if (test_bit(R5_InJournal, &dev->flags) && dev->written) written 4730 drivers/md/raid5.c s.replacing || s.to_write || s.written) { written 4760 drivers/md/raid5.c if (s.to_read+s.to_write+s.written) written 4788 drivers/md/raid5.c dev->written || test_bit(R5_InJournal, written 4818 drivers/md/raid5.c if (s.written && written 256 drivers/md/raid5.h struct bio *toread, *read, *towrite, *written; written 275 drivers/md/raid5.h int locked, uptodate, to_read, to_write, failed, written; written 1448 drivers/media/dvb-core/dvb_ca_en50221.c int written; written 1495 drivers/media/dvb-core/dvb_ca_en50221.c written = 0; written 1511 drivers/media/dvb-core/dvb_ca_en50221.c written = 1; written 1519 drivers/media/dvb-core/dvb_ca_en50221.c if (!written) { written 411 drivers/media/dvb-frontends/nxt200x.c u8 buf[3], written = 0, chunkpos = 0; written 432 drivers/media/dvb-frontends/nxt200x.c if (written == 0) { written 441 drivers/media/dvb-frontends/nxt200x.c written++; written 444 drivers/media/dvb-frontends/nxt200x.c if ((written % 4) == 0) written 449 drivers/media/dvb-frontends/nxt200x.c if ((written == 255) || (position+1 == fw->size)) { written 451 drivers/media/dvb-frontends/nxt200x.c nxt200x_writebytes(state, chunkpos+4-(written %4), written 452 drivers/media/dvb-frontends/nxt200x.c &fw->data[position-(written %4) + 1], written 453 drivers/media/dvb-frontends/nxt200x.c written %4); written 467 drivers/media/dvb-frontends/nxt200x.c written = 0; written 2534 drivers/misc/vmw_vmci/vmci_queue_pair.c size_t written; written 2550 drivers/misc/vmw_vmci/vmci_queue_pair.c written = (size_t) (free_space > buf_size ? buf_size : free_space); written 2552 drivers/misc/vmw_vmci/vmci_queue_pair.c if (likely(tail + written < produce_q_size)) { written 2553 drivers/misc/vmw_vmci/vmci_queue_pair.c result = qp_memcpy_to_queue_iter(produce_q, tail, from, written); written 2562 drivers/misc/vmw_vmci/vmci_queue_pair.c written - tmp); written 2568 drivers/misc/vmw_vmci/vmci_queue_pair.c vmci_q_header_add_producer_tail(produce_q->q_header, written, written 2570 drivers/misc/vmw_vmci/vmci_queue_pair.c return written; written 132 drivers/mtd/devices/bcm47xxsflash.c int written = 0; written 151 drivers/mtd/devices/bcm47xxsflash.c written++; written 161 drivers/mtd/devices/bcm47xxsflash.c written++; written 170 drivers/mtd/devices/bcm47xxsflash.c return written; written 180 drivers/mtd/devices/bcm47xxsflash.c int written = 0; written 206 drivers/mtd/devices/bcm47xxsflash.c written++; written 213 drivers/mtd/devices/bcm47xxsflash.c return written; written 220 drivers/mtd/devices/bcm47xxsflash.c int written; written 228 drivers/mtd/devices/bcm47xxsflash.c written = bcm47xxsflash_write_st(mtd, to, len, buf); written 231 drivers/mtd/devices/bcm47xxsflash.c written = bcm47xxsflash_write_at(mtd, to, len, buf); written 236 drivers/mtd/devices/bcm47xxsflash.c if (written < 0) { written 238 drivers/mtd/devices/bcm47xxsflash.c return written; written 240 drivers/mtd/devices/bcm47xxsflash.c to += (loff_t)written; written 241 drivers/mtd/devices/bcm47xxsflash.c len -= written; written 242 drivers/mtd/devices/bcm47xxsflash.c *retlen += written; written 243 drivers/mtd/devices/bcm47xxsflash.c buf += written; written 1705 drivers/mtd/nand/onenand/onenand_base.c int written = 0; written 1726 drivers/mtd/nand/onenand/onenand_base.c while (written < len) { written 1727 drivers/mtd/nand/onenand/onenand_base.c int thislen = min_t(int, mtd->writesize - column, len - written); written 1754 drivers/mtd/nand/onenand/onenand_base.c written += thislen; written 1756 drivers/mtd/nand/onenand/onenand_base.c if (written == len) written 1764 drivers/mtd/nand/onenand/onenand_base.c *retlen = written; written 1794 drivers/mtd/nand/onenand/onenand_base.c int written = 0, column, thislen = 0, subpage = 0; written 1828 drivers/mtd/nand/onenand/onenand_base.c if (written < len) { written 1831 drivers/mtd/nand/onenand/onenand_base.c thislen = min_t(int, mtd->writesize - column, len - written); written 1881 drivers/mtd/nand/onenand/onenand_base.c written -= prevlen; written 1887 drivers/mtd/nand/onenand/onenand_base.c if (written == len) { written 1906 drivers/mtd/nand/onenand/onenand_base.c ((written + thislen) < len)) { written 1935 drivers/mtd/nand/onenand/onenand_base.c written += thislen; written 1937 drivers/mtd/nand/onenand/onenand_base.c if (written == len) written 1941 drivers/mtd/nand/onenand/onenand_base.c written += thislen; written 1953 drivers/mtd/nand/onenand/onenand_base.c if (written != len) written 1956 drivers/mtd/nand/onenand/onenand_base.c ops->retlen = written; written 1979 drivers/mtd/nand/onenand/onenand_base.c int written = 0, oobcmd; written 2018 drivers/mtd/nand/onenand/onenand_base.c while (written < len) { written 2019 drivers/mtd/nand/onenand/onenand_base.c int thislen = min_t(int, oobsize, len - written); written 2062 drivers/mtd/nand/onenand/onenand_base.c written += thislen; written 2063 drivers/mtd/nand/onenand/onenand_base.c if (written == len) written 2071 drivers/mtd/nand/onenand/onenand_base.c ops->oobretlen = written; written 2779 drivers/mtd/nand/onenand/onenand_base.c int written = 0; written 2797 drivers/mtd/nand/onenand/onenand_base.c while (written < len) { written 2798 drivers/mtd/nand/onenand/onenand_base.c int thislen = min_t(int, oobsize, len - written); written 2877 drivers/mtd/nand/onenand/onenand_base.c written += thislen; written 2878 drivers/mtd/nand/onenand/onenand_base.c if (written == len) written 2886 drivers/mtd/nand/onenand/onenand_base.c ops->oobretlen = written; written 2681 drivers/mtd/spi-nor/spi-nor.c ssize_t written; written 2709 drivers/mtd/spi-nor/spi-nor.c written = ret; written 2714 drivers/mtd/spi-nor/spi-nor.c *retlen += written; written 2715 drivers/mtd/spi-nor/spi-nor.c i += written; written 99 drivers/mtd/tests/mtd_test.c size_t written; written 102 drivers/mtd/tests/mtd_test.c err = mtd_write(mtd, addr, size, &written, buf); written 103 drivers/mtd/tests/mtd_test.c if (!err && written != size) written 45 drivers/mtd/tests/subpagetest.c size_t written; written 50 drivers/mtd/tests/subpagetest.c err = mtd_write(mtd, addr, subpgsize, &written, writebuf); written 51 drivers/mtd/tests/subpagetest.c if (unlikely(err || written != subpgsize)) { written 54 drivers/mtd/tests/subpagetest.c if (written != subpgsize) { written 56 drivers/mtd/tests/subpagetest.c pr_err(" written: %#zx\n", written); written 64 drivers/mtd/tests/subpagetest.c err = mtd_write(mtd, addr, subpgsize, &written, writebuf); written 65 drivers/mtd/tests/subpagetest.c if (unlikely(err || written != subpgsize)) { written 68 drivers/mtd/tests/subpagetest.c if (written != subpgsize) { written 70 drivers/mtd/tests/subpagetest.c pr_err(" written: %#zx\n", written); written 80 drivers/mtd/tests/subpagetest.c size_t written; written 88 drivers/mtd/tests/subpagetest.c err = mtd_write(mtd, addr, subpgsize * k, &written, writebuf); written 89 drivers/mtd/tests/subpagetest.c if (unlikely(err || written != subpgsize * k)) { written 92 drivers/mtd/tests/subpagetest.c if (written != subpgsize * k) { written 96 drivers/mtd/tests/subpagetest.c written); written 73 drivers/mtd/tests/torturetest.c static void report_corrupt(unsigned char *read, unsigned char *written); written 146 drivers/mtd/tests/torturetest.c size_t written; written 154 drivers/mtd/tests/torturetest.c err = mtd_write(mtd, addr, len, &written, buf); written 157 drivers/mtd/tests/torturetest.c " bytes\n", err, ebnum, written); written 160 drivers/mtd/tests/torturetest.c if (written != len) { written 162 drivers/mtd/tests/torturetest.c " reported\n", written, len); written 366 drivers/mtd/tests/torturetest.c static void print_bufs(unsigned char *read, unsigned char *written, int start, written 373 drivers/mtd/tests/torturetest.c static void report_corrupt(unsigned char *read, unsigned char *written) written 385 drivers/mtd/tests/torturetest.c if (countdiffs(written, read, i, pgsize, &bytes, written 397 drivers/mtd/tests/torturetest.c first = countdiffs(written, read, i, pgsize, &bytes, written 413 drivers/mtd/tests/torturetest.c print_bufs(read, written, offset, len); written 417 drivers/mtd/tests/torturetest.c static void print_bufs(unsigned char *read, unsigned char *written, int start, written 429 drivers/mtd/tests/torturetest.c if (read[start + i + j1] != written[start + i + j1]) written 441 drivers/mtd/tests/torturetest.c printk(" %02x", written[start + i + j2]); written 226 drivers/mtd/ubi/io.c size_t written; written 271 drivers/mtd/ubi/io.c err = mtd_write(ubi->mtd, addr, len, &written, buf); written 274 drivers/mtd/ubi/io.c err, len, pnum, offset, written); written 278 drivers/mtd/ubi/io.c ubi_assert(written == len); written 452 drivers/mtd/ubi/io.c size_t written; written 478 drivers/mtd/ubi/io.c err = mtd_write(ubi->mtd, addr, 4, &written, (void *)&data); written 490 drivers/mtd/ubi/io.c err = mtd_write(ubi->mtd, addr, 4, &written, (void *)&data); written 4535 drivers/net/ethernet/broadcom/bnx2.c u32 written, offset32, len32; written 4583 drivers/net/ethernet/broadcom/bnx2.c written = 0; written 4584 drivers/net/ethernet/broadcom/bnx2.c while ((written < len32) && (rc == 0)) { written 4590 drivers/net/ethernet/broadcom/bnx2.c page_start = offset32 + written; written 4595 drivers/net/ethernet/broadcom/bnx2.c data_start = (written == 0) ? offset32 : page_start; written 4702 drivers/net/ethernet/broadcom/bnx2.c written += data_end - data_start; written 1747 drivers/net/ethernet/chelsio/cxgb3/sge.c unsigned int written = 0; written 1775 drivers/net/ethernet/chelsio/cxgb3/sge.c written += ndesc; written 1794 drivers/net/ethernet/chelsio/cxgb3/sge.c if (likely(written)) written 2095 drivers/net/ethernet/chelsio/cxgb4/sge.c unsigned int written = 0; written 2106 drivers/net/ethernet/chelsio/cxgb4/sge.c written += ndesc; written 2126 drivers/net/ethernet/chelsio/cxgb4/sge.c if (written > 16) { written 2127 drivers/net/ethernet/chelsio/cxgb4/sge.c cxgb4_ring_tx_db(q->adap, &q->q, written); written 2128 drivers/net/ethernet/chelsio/cxgb4/sge.c written = 0; written 2134 drivers/net/ethernet/chelsio/cxgb4/sge.c if (written) written 2135 drivers/net/ethernet/chelsio/cxgb4/sge.c cxgb4_ring_tx_db(q->adap, &q->q, written); written 2253 drivers/net/ethernet/chelsio/cxgb4/sge.c unsigned int written = 0; written 2334 drivers/net/ethernet/chelsio/cxgb4/sge.c written += ndesc; written 2335 drivers/net/ethernet/chelsio/cxgb4/sge.c if (unlikely(written > 32)) { written 2336 drivers/net/ethernet/chelsio/cxgb4/sge.c cxgb4_ring_tx_db(q->adap, &q->q, written); written 2337 drivers/net/ethernet/chelsio/cxgb4/sge.c written = 0; written 2350 drivers/net/ethernet/chelsio/cxgb4/sge.c if (likely(written)) written 2351 drivers/net/ethernet/chelsio/cxgb4/sge.c cxgb4_ring_tx_db(q->adap, &q->q, written); written 1397 drivers/net/ethernet/intel/ice/ice_flex_pipe.c devm_kfree(ice_hw_to_dev(hw), hw->blk[i].es.written); written 1434 drivers/net/ethernet/intel/ice/ice_flex_pipe.c memset(es->written, 0, es->count * sizeof(*es->written)); written 1539 drivers/net/ethernet/intel/ice/ice_flex_pipe.c es->written = devm_kcalloc(ice_hw_to_dev(hw), es->count, written 1540 drivers/net/ethernet/intel/ice/ice_flex_pipe.c sizeof(*es->written), GFP_KERNEL); written 259 drivers/net/ethernet/intel/ice/ice_flex_type.h u8 *written; written 242 drivers/net/ethernet/qualcomm/qca_spi.c u32 written; written 259 drivers/net/ethernet/qualcomm/qca_spi.c written = qcaspi_write_legacy(qca, written 263 drivers/net/ethernet/qualcomm/qca_spi.c written = qcaspi_write_burst(qca, written 268 drivers/net/ethernet/qualcomm/qca_spi.c if (written != count) written 131 drivers/net/ethernet/qualcomm/qca_uart.c int written; written 151 drivers/net/ethernet/qualcomm/qca_uart.c written = serdev_device_write_buf(qca->serdev, qca->tx_head, written 153 drivers/net/ethernet/qualcomm/qca_uart.c if (written > 0) { written 154 drivers/net/ethernet/qualcomm/qca_uart.c qca->tx_left -= written; written 155 drivers/net/ethernet/qualcomm/qca_uart.c qca->tx_head += written; written 204 drivers/net/ethernet/qualcomm/qca_uart.c int written; written 236 drivers/net/ethernet/qualcomm/qca_uart.c written = serdev_device_write_buf(qca->serdev, qca->tx_buffer, written 238 drivers/net/ethernet/qualcomm/qca_uart.c if (written > 0) { written 239 drivers/net/ethernet/qualcomm/qca_uart.c qca->tx_left = (pos - qca->tx_buffer) - written; written 240 drivers/net/ethernet/qualcomm/qca_uart.c qca->tx_head = qca->tx_buffer + written; written 241 drivers/net/ethernet/qualcomm/qca_uart.c n_stats->tx_bytes += written; written 104 drivers/nfc/nxp-nci/firmware.c remaining_len = fw_info->frame_size - fw_info->written; written 116 drivers/nfc/nxp-nci/firmware.c skb_put_data(skb, fw_info->data + fw_info->written, chunk_len); written 139 drivers/nfc/nxp-nci/firmware.c if (fw_info->written == 0) { written 153 drivers/nfc/nxp-nci/firmware.c fw_info->written += r; written 184 drivers/nfc/nxp-nci/firmware.c if (fw_info->written == fw_info->frame_size) { written 187 drivers/nfc/nxp-nci/firmware.c fw_info->written = 0; written 234 drivers/nfc/nxp-nci/firmware.c fw_info->written = 0; written 41 drivers/nfc/nxp-nci/nxp-nci.h size_t written; written 412 drivers/parport/ieee1284_ops.c size_t written; written 429 drivers/parport/ieee1284_ops.c for (written = 0; written < len; written++, buf++) { written 486 drivers/parport/ieee1284_ops.c return written; written 647 drivers/parport/ieee1284_ops.c size_t written; written 665 drivers/parport/ieee1284_ops.c for (written = 0; written < len; written++, buf++) { written 722 drivers/parport/ieee1284_ops.c return written; written 1142 drivers/parport/parport_ip32.c size_t written; written 1152 drivers/parport/parport_ip32.c written = len; written 1155 drivers/parport/parport_ip32.c for (written = 0; written < len; written++) { written 1164 drivers/parport/parport_ip32.c return written; written 1432 drivers/parport/parport_ip32.c size_t written; written 1454 drivers/parport/parport_ip32.c written = len - parport_ip32_dma_get_residue(); written 1458 drivers/parport/parport_ip32.c return written; written 1473 drivers/parport/parport_ip32.c size_t written = 0; written 1477 drivers/parport/parport_ip32.c written = (p->modes & PARPORT_MODE_DMA) ? written 1480 drivers/parport/parport_ip32.c return written; written 1626 drivers/parport/parport_ip32.c size_t written = 0; written 1653 drivers/parport/parport_ip32.c written = parport_ip32_fifo_write_block(p, buf, len); written 1659 drivers/parport/parport_ip32.c written -= parport_ip32_get_fifo_residue(p, ECR_MODE_PPF); written 1671 drivers/parport/parport_ip32.c return written; written 1692 drivers/parport/parport_ip32.c size_t written = 0; written 1734 drivers/parport/parport_ip32.c written = parport_ip32_fifo_write_block(p, buf, len); written 1740 drivers/parport/parport_ip32.c written -= parport_ip32_get_fifo_residue(p, ECR_MODE_ECP); written 1752 drivers/parport/parport_ip32.c return written; written 335 drivers/parport/parport_pc.c size_t written = 0; written 348 drivers/parport/parport_pc.c for (; written < length; written++) { written 357 drivers/parport/parport_pc.c return written; written 389 drivers/parport/parport_pc.c size_t written = 0; written 399 drivers/parport/parport_pc.c for (; written < length; written++) { written 408 drivers/parport/parport_pc.c return written; written 429 drivers/parport/parport_pc.c size_t written; written 434 drivers/parport/parport_pc.c written = parport_pc_epp_write_data(port, buf, length, flags); written 437 drivers/parport/parport_pc.c return written; written 458 drivers/parport/parport_pc.c size_t written; written 463 drivers/parport/parport_pc.c written = parport_pc_epp_write_addr(port, buf, length, flags); written 466 drivers/parport/parport_pc.c return written; written 713 drivers/parport/parport_pc.c size_t written; written 735 drivers/parport/parport_pc.c written = parport_pc_fifo_write_block(port, buf, length); written 757 drivers/parport/parport_pc.c for (written -= priv->fifo_depth; ; written++) { written 779 drivers/parport/parport_pc.c return written; written 788 drivers/parport/parport_pc.c size_t written; written 831 drivers/parport/parport_pc.c written = parport_pc_fifo_write_block(port, buf, length); written 853 drivers/parport/parport_pc.c for (written -= priv->fifo_depth; ; written++) { written 894 drivers/parport/parport_pc.c return written; written 85 drivers/s390/char/con3215.c int written; /* number of bytes in write requests */ written 177 drivers/s390/char/con3215.c if (raw->count <= raw->written) written 188 drivers/s390/char/con3215.c raw->written -= req->len; written 192 drivers/s390/char/con3215.c req->start = (raw->head - raw->count + raw->written) & written 210 drivers/s390/char/con3215.c raw->written += len; written 438 drivers/s390/char/con3215.c raw->written -= req->len; written 455 drivers/s390/char/con3215.c raw->written -= req->len; written 474 drivers/s390/char/con3215.c BUG_ON(raw->written != 0); written 1040 drivers/s390/char/con3215.c int i, written; written 1045 drivers/s390/char/con3215.c written = count; written 1059 drivers/s390/char/con3215.c return written; written 229 drivers/s390/char/monwriter.c size_t len, written; written 234 drivers/s390/char/monwriter.c for (written = 0; written < count; ) { written 236 drivers/s390/char/monwriter.c len = min(count - written, monpriv->hdr_to_read); written 239 drivers/s390/char/monwriter.c if (copy_from_user(to, data + written, len)) { written 244 drivers/s390/char/monwriter.c written += len; written 255 drivers/s390/char/monwriter.c len = min(count - written, monpriv->data_to_read); written 258 drivers/s390/char/monwriter.c if (copy_from_user(to, data + written, len)) { written 263 drivers/s390/char/monwriter.c written += len; written 273 drivers/s390/char/monwriter.c return written; written 167 drivers/s390/char/sclp_con.c int written; written 196 drivers/s390/char/sclp_con.c written = sclp_write(sclp_conbuf, (const unsigned char *) written 198 drivers/s390/char/sclp_con.c if (written == count) written 208 drivers/s390/char/sclp_con.c message += written; written 209 drivers/s390/char/sclp_con.c count -= written; written 176 drivers/s390/char/sclp_tty.c int written; written 201 drivers/s390/char/sclp_tty.c written = sclp_write(sclp_ttybuf, str, count); written 202 drivers/s390/char/sclp_tty.c overall_written += written; written 203 drivers/s390/char/sclp_tty.c if (written == count) written 215 drivers/s390/char/sclp_tty.c str += written; written 216 drivers/s390/char/sclp_tty.c count -= written; written 410 drivers/s390/char/sclp_vt220.c int written; written 438 drivers/s390/char/sclp_vt220.c written = sclp_vt220_add_msg(sclp_vt220_current_request, written 440 drivers/s390/char/sclp_vt220.c overall_written += written; written 441 drivers/s390/char/sclp_vt220.c if (written == count) written 451 drivers/s390/char/sclp_vt220.c buf += written; written 452 drivers/s390/char/sclp_vt220.c count -= written; written 192 drivers/s390/char/tape_char.c size_t written; written 223 drivers/s390/char/tape_char.c written = 0; written 236 drivers/s390/char/tape_char.c written += block_size - request->rescnt; written 249 drivers/s390/char/tape_char.c if (written > 0) written 264 drivers/s390/char/tape_char.c return rc ? rc : written; written 215 drivers/scsi/aic7xxx/aic79xx_proc.c int written; written 218 drivers/scsi/aic7xxx/aic79xx_proc.c written = -EINVAL; written 260 drivers/scsi/aic7xxx/aic79xx_proc.c written = length; written 268 drivers/scsi/aic7xxx/aic79xx_proc.c return (written); written 195 drivers/scsi/aic7xxx/aic7xxx_proc.c int written; written 198 drivers/scsi/aic7xxx/aic7xxx_proc.c written = -EINVAL; written 275 drivers/scsi/aic7xxx/aic7xxx_proc.c written = length; written 282 drivers/scsi/aic7xxx/aic7xxx_proc.c return (written); written 2796 drivers/scsi/isci/host.c int written; written 2800 drivers/scsi/isci/host.c written = sci_write_gpio_tx_gp(ihost, reg_index, reg_count, write_data); written 2803 drivers/scsi/isci/host.c written = -EINVAL; written 2806 drivers/scsi/isci/host.c return written; written 118 drivers/scsi/libsas/sas_host_smp.c int written; written 125 drivers/scsi/libsas/sas_host_smp.c written = i->dft->lldd_write_gpio(sas_ha, reg_type, reg_index, written 128 drivers/scsi/libsas/sas_host_smp.c if (written < 0) { written 130 drivers/scsi/libsas/sas_host_smp.c written = 0; written 134 drivers/scsi/libsas/sas_host_smp.c return written; written 19378 drivers/scsi/lpfc/lpfc_sli.c uint32_t written = 0; written 19397 drivers/scsi/lpfc/lpfc_sli.c if (i >= LPFC_MBX_WR_CONFIG_MAX_BDE || written >= size) written 19402 drivers/scsi/lpfc/lpfc_sli.c if (written + SLI4_PAGE_SIZE >= size) { written 19404 drivers/scsi/lpfc/lpfc_sli.c (size - written); written 19405 drivers/scsi/lpfc/lpfc_sli.c written += (size - written); written 19412 drivers/scsi/lpfc/lpfc_sli.c written += SLI4_PAGE_SIZE; written 19417 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_wr_object_write_length, &wr_object->u.request, written); written 197 drivers/soc/fsl/dpaa2-console.c size_t written = 0; written 223 drivers/soc/fsl/dpaa2-console.c written += bytes_end; written 232 drivers/soc/fsl/dpaa2-console.c written += bytes; written 234 drivers/soc/fsl/dpaa2-console.c return written; written 442 drivers/staging/gasket/gasket_core.c ssize_t written; written 458 drivers/staging/gasket/gasket_core.c written = scnprintf(buf, PAGE_SIZE - total_written, written 460 drivers/staging/gasket/gasket_core.c total_written += written; written 461 drivers/staging/gasket/gasket_core.c buf += written; written 263 drivers/staging/gasket/gasket_interrupt.c ssize_t written = 0, total_written = 0; written 288 drivers/staging/gasket/gasket_interrupt.c written = written 292 drivers/staging/gasket/gasket_interrupt.c total_written += written; written 293 drivers/staging/gasket/gasket_interrupt.c buf += written; written 475 drivers/tty/ehv_bytechan.c unsigned int written = 0; written 492 drivers/tty/ehv_bytechan.c written += len; written 497 drivers/tty/ehv_bytechan.c return written; written 503 drivers/tty/hvc/hvc_console.c int rsize, written = 0; written 527 drivers/tty/hvc/hvc_console.c written += rsize; written 551 drivers/tty/hvc/hvc_console.c return written; written 223 drivers/tty/hvc/hvc_iucv.c int written; written 242 drivers/tty/hvc/hvc_iucv.c written = 0; written 259 drivers/tty/hvc/hvc_iucv.c written = -EIO; written 270 drivers/tty/hvc/hvc_iucv.c written = min_t(int, rb->mbuf->datalen - rb->offset, count); written 271 drivers/tty/hvc/hvc_iucv.c memcpy(buf, rb->mbuf->data + rb->offset, written); written 272 drivers/tty/hvc/hvc_iucv.c if (written < (rb->mbuf->datalen - rb->offset)) { written 273 drivers/tty/hvc/hvc_iucv.c rb->offset += written; written 299 drivers/tty/hvc/hvc_iucv.c return written; written 319 drivers/tty/hvc/hvc_iucv.c int written; written 330 drivers/tty/hvc/hvc_iucv.c written = hvc_iucv_write(priv, buf, count, &has_more_data); written 337 drivers/tty/hvc/hvc_iucv.c return written; written 274 drivers/tty/serdev/core.c int written = 0; written 291 drivers/tty/serdev/core.c written += ret; written 306 drivers/tty/serdev/core.c if (timeout <= 0 && written == 0) { written 313 drivers/tty/serdev/core.c return written; written 459 drivers/tty/serial/sunhv.c unsigned long written; written 466 drivers/tty/serial/sunhv.c &written); written 473 drivers/tty/serial/sunhv.c page_bytes -= written; written 474 drivers/tty/serial/sunhv.c ra += written; written 66 drivers/tty/serial/tegra-tcu.c unsigned int written = 0, i = 0; written 72 drivers/tty/serial/tegra-tcu.c value |= TCU_MBOX_BYTE(written++, '\n'); written 76 drivers/tty/serial/tegra-tcu.c value |= TCU_MBOX_BYTE(written++, '\r'); written 79 drivers/tty/serial/tegra-tcu.c value |= TCU_MBOX_BYTE(written++, s[i++]); written 82 drivers/tty/serial/tegra-tcu.c if (written == 3) { written 84 drivers/tty/serial/tegra-tcu.c value = written = 0; written 88 drivers/tty/serial/tegra-tcu.c if (written) written 89 drivers/tty/serial/tegra-tcu.c tegra_tcu_write_one(tcu, value, written); written 907 drivers/tty/tty_io.c ssize_t ret, written = 0; written 964 drivers/tty/tty_io.c written += ret; written 974 drivers/tty/tty_io.c if (written) { written 976 drivers/tty/tty_io.c ret = written; written 452 drivers/tty/vt/vc_screen.c long attr, size, written; written 485 drivers/tty/vt/vc_screen.c written = 0; written 507 drivers/tty/vt/vc_screen.c if (written) written 520 drivers/tty/vt/vc_screen.c if (written) written 619 drivers/tty/vt/vc_screen.c written += orig_count; written 625 drivers/tty/vt/vc_screen.c *ppos += written; written 626 drivers/tty/vt/vc_screen.c ret = written; written 627 drivers/tty/vt/vc_screen.c if (written) written 143 drivers/usb/image/mdc800.c int written; written 373 drivers/usb/image/mdc800.c mdc800->written = 1; written 859 drivers/usb/image/mdc800.c wait_event_timeout(mdc800->write_wait, mdc800->written, written 861 drivers/usb/image/mdc800.c mdc800->written = 0; written 1000 drivers/usb/image/mdc800.c mdc800->written = 0; written 484 drivers/usb/misc/uss720.c size_t written = 0; written 488 drivers/usb/misc/uss720.c for (; written < length; written++) { written 500 drivers/usb/misc/uss720.c return written; written 542 drivers/usb/misc/uss720.c size_t written = 0; written 546 drivers/usb/misc/uss720.c for (; written < length; written++) { written 558 drivers/usb/misc/uss720.c return written; written 599 drivers/usb/misc/uss720.c size_t written = 0; written 603 drivers/usb/misc/uss720.c for (; written < len; written++) { written 609 drivers/usb/misc/uss720.c return written; written 343 drivers/xen/xenbus/xenbus_comms.c unsigned int written; written 358 drivers/xen/xenbus/xenbus_comms.c state.written = 0; written 372 drivers/xen/xenbus/xenbus_comms.c err = xb_write(base + state.written, len - state.written); written 375 drivers/xen/xenbus/xenbus_comms.c state.written += err; written 376 drivers/xen/xenbus/xenbus_comms.c if (state.written != len) written 380 drivers/xen/xenbus/xenbus_comms.c state.written = 0; written 680 fs/affs/file.c int written; written 696 fs/affs/file.c written = 0; written 703 fs/affs/file.c written = PTR_ERR(bh); written 712 fs/affs/file.c written += tmp; written 718 fs/affs/file.c written = PTR_ERR(bh); written 750 fs/affs/file.c written += bsize; written 785 fs/affs/file.c written += tmp; written 801 fs/affs/file.c return written; written 805 fs/affs/file.c if (!written) written 806 fs/affs/file.c written = PTR_ERR(bh); written 1832 fs/btrfs/file.c ssize_t written; written 1837 fs/btrfs/file.c written = generic_file_direct_write(iocb, from); written 1839 fs/btrfs/file.c if (written < 0 || !iov_iter_count(from)) written 1840 fs/btrfs/file.c return written; written 1859 fs/btrfs/file.c written += written_buffered; written 1864 fs/btrfs/file.c return written ? written : err; written 1141 fs/ceph/file.c int written = 0; written 1230 fs/ceph/file.c written += len; written 1241 fs/ceph/file.c if (ret != -EOLDSNAPC && written > 0) { written 1242 fs/ceph/file.c ret = written; written 1420 fs/ceph/file.c ssize_t count, written = 0; written 1534 fs/ceph/file.c written = ceph_direct_read_write(iocb, &data, snapc, written 1537 fs/ceph/file.c written = ceph_sync_write(iocb, &data, pos, snapc); written 1542 fs/ceph/file.c if (written > 0) written 1543 fs/ceph/file.c iov_iter_advance(from, written); written 1553 fs/ceph/file.c written = generic_perform_write(file, from, pos); written 1554 fs/ceph/file.c if (likely(written >= 0)) written 1555 fs/ceph/file.c iocb->ki_pos = pos + written; written 1559 fs/ceph/file.c if (written >= 0) { written 1578 fs/ceph/file.c if (written == -EOLDSNAPC) { written 1584 fs/ceph/file.c if (written >= 0) { written 1588 fs/ceph/file.c written = generic_write_sync(iocb, written); written 1600 fs/ceph/file.c return written ? written : err; written 905 fs/cifs/cifsfs.c ssize_t written; written 909 fs/cifs/cifsfs.c written = cifs_user_writev(iocb, from); written 910 fs/cifs/cifsfs.c if (written > 0 && CIFS_CACHE_READ(cinode)) { written 917 fs/cifs/cifsfs.c return written; written 920 fs/cifs/cifsfs.c written = cifs_get_writer(cinode); written 921 fs/cifs/cifsfs.c if (written) written 922 fs/cifs/cifsfs.c return written; written 924 fs/cifs/cifsfs.c written = generic_file_write_iter(iocb, from); written 936 fs/cifs/cifsfs.c return written; written 2229 fs/cifs/cifssmb.c unsigned int written; written 2239 fs/cifs/cifssmb.c written = le16_to_cpu(smb->CountHigh); written 2240 fs/cifs/cifssmb.c written <<= 16; written 2241 fs/cifs/cifssmb.c written += le16_to_cpu(smb->Count); written 2248 fs/cifs/cifssmb.c if (written > wdata->bytes) written 2249 fs/cifs/cifssmb.c written &= 0xFFFF; written 2251 fs/cifs/cifssmb.c if (written < wdata->bytes) written 2254 fs/cifs/cifssmb.c wdata->bytes = written; written 3226 fs/cifs/file.c ssize_t written; written 3228 fs/cifs/file.c written = cifs_get_writer(cinode); written 3229 fs/cifs/file.c if (written) written 3230 fs/cifs/file.c return written; written 3236 fs/cifs/file.c written = generic_file_write_iter(iocb, from); written 3239 fs/cifs/file.c written = cifs_writev(iocb, from); written 3248 fs/cifs/file.c written = cifs_user_writev(iocb, from); written 3264 fs/cifs/file.c return written; written 3377 fs/cifs/file.c size_t written; written 3382 fs/cifs/file.c written = copy_to_iter(addr, copy, iter); written 3385 fs/cifs/file.c written = copy_page_to_iter(page, 0, copy, iter); written 3386 fs/cifs/file.c remaining -= written; written 3387 fs/cifs/file.c if (written < copy && iov_iter_count(iter) > 0) written 746 fs/cifs/smb1ops.c struct cifs_io_parms *parms, unsigned int *written, written 751 fs/cifs/smb1ops.c return CIFSSMBWrite2(xid, parms, written, iov, nr_segs); written 1781 fs/cifs/smb2ops.c struct cifs_io_parms *parms, unsigned int *written, written 1787 fs/cifs/smb2ops.c return SMB2_write(xid, parms, written, iov, nr_segs); written 3865 fs/cifs/smb2pdu.c unsigned int written; written 3877 fs/cifs/smb2pdu.c written = le32_to_cpu(rsp->DataLength); written 3884 fs/cifs/smb2pdu.c if (written > wdata->bytes) written 3885 fs/cifs/smb2pdu.c written &= 0xFFFF; written 3887 fs/cifs/smb2pdu.c if (written < wdata->bytes) written 3890 fs/cifs/smb2pdu.c wdata->bytes = written; written 832 fs/coredump.c if (cprm->written + nr > cprm->limit) written 841 fs/coredump.c cprm->written += n; written 891 fs/ecryptfs/crypto.c static void write_ecryptfs_marker(char *page_virt, size_t *written) written 900 fs/ecryptfs/crypto.c (*written) = MAGIC_ECRYPTFS_MARKER_SIZE_BYTES; written 905 fs/ecryptfs/crypto.c size_t *written) written 916 fs/ecryptfs/crypto.c (*written) = 4; written 1019 fs/ecryptfs/crypto.c size_t *written) written 1030 fs/ecryptfs/crypto.c (*written) = 6; written 1072 fs/ecryptfs/crypto.c size_t written; written 1076 fs/ecryptfs/crypto.c write_ecryptfs_marker((page_virt + offset), &written); written 1077 fs/ecryptfs/crypto.c offset += written; written 1079 fs/ecryptfs/crypto.c &written); written 1080 fs/ecryptfs/crypto.c offset += written; written 1082 fs/ecryptfs/crypto.c &written); written 1083 fs/ecryptfs/crypto.c offset += written; written 1085 fs/ecryptfs/crypto.c ecryptfs_dentry, &written, written 1091 fs/ecryptfs/crypto.c offset += written; written 595 fs/ecryptfs/ecryptfs_kernel.h size_t *written); written 648 fs/ecryptfs/ecryptfs_kernel.h size_t *written); written 2408 fs/ecryptfs/keystore.c size_t written; written 2437 fs/ecryptfs/keystore.c &written); written 2445 fs/ecryptfs/keystore.c (*len) += written; written 2449 fs/ecryptfs/keystore.c ECRYPTFS_SIG_SIZE, &written); written 2455 fs/ecryptfs/keystore.c (*len) += written; written 2459 fs/ecryptfs/keystore.c crypt_stat, key_rec, &written); written 2465 fs/ecryptfs/keystore.c (*len) += written; written 72 fs/ecryptfs/mmap.c size_t written; written 76 fs/ecryptfs/mmap.c &written); written 131 fs/ecryptfs/mmap.c size_t written; written 138 fs/ecryptfs/mmap.c &written); written 845 fs/ext2/inode.c ssize_t written, unsigned flags, struct iomap *iomap) written 848 fs/ext2/inode.c written < length && written 3571 fs/ext4/inode.c ssize_t written, unsigned flags, struct iomap *iomap) written 3586 fs/ext4/inode.c if (ext4_update_inode_size(inode, offset + written)) written 3595 fs/ext4/inode.c written_blk = (offset + written) >> blkbits; written 334 fs/f2fs/checkpoint.c long diff, written; written 351 fs/f2fs/checkpoint.c written = f2fs_sync_meta_pages(sbi, META, wbc->nr_to_write, FS_META_IO); written 353 fs/f2fs/checkpoint.c wbc->nr_to_write = max((long)0, wbc->nr_to_write - written - diff); written 1272 fs/fuse/file.c ssize_t written = 0; written 1306 fs/fuse/file.c written = generic_file_direct_write(iocb, from); written 1307 fs/fuse/file.c if (written < 0 || !iov_iter_count(from)) written 1310 fs/fuse/file.c pos += written; written 1328 fs/fuse/file.c written += written_buffered; written 1331 fs/fuse/file.c written = fuse_perform_write(iocb, mapping, from, iocb->ki_pos); written 1332 fs/fuse/file.c if (written >= 0) written 1333 fs/fuse/file.c iocb->ki_pos += written; written 1338 fs/fuse/file.c if (written > 0) written 1339 fs/fuse/file.c written = generic_write_sync(iocb, written); written 1341 fs/fuse/file.c return written ? written : err; written 1205 fs/gfs2/bmap.c ssize_t written, unsigned flags, struct iomap *iomap) written 1231 fs/gfs2/bmap.c if (length != written && (iomap->flags & IOMAP_F_NEW)) { written 1236 fs/gfs2/bmap.c pos = (pos + written + blockmask) & ~blockmask; written 1246 fs/gfs2/bmap.c if (unlikely(!written)) written 548 fs/gfs2/log.c LIST_HEAD(written); written 559 fs/gfs2/log.c list_move(&ip->i_ordered, &written); written 564 fs/gfs2/log.c list_splice(&written, &sdp->sd_log_ordered); written 130 fs/hfsplus/xattr.c int index, written; written 217 fs/hfsplus/xattr.c written = 0; written 218 fs/hfsplus/xattr.c for (; written < node_size; index++, written += PAGE_SIZE) { written 228 fs/hfsplus/xattr.c memcpy(kaddr, buf + written, written 229 fs/hfsplus/xattr.c min_t(size_t, PAGE_SIZE, node_size - written)); written 27 fs/iomap/apply.c loff_t written = 0, ret; written 61 fs/iomap/apply.c written = actor(inode, pos, length, data, &iomap); written 69 fs/iomap/apply.c written > 0 ? written : 0, written 73 fs/iomap/apply.c return written ? written : ret; written 743 fs/iomap/buffered-io.c ssize_t written = 0; written 809 fs/iomap/buffered-io.c written += copied; written 815 fs/iomap/buffered-io.c return written ? written : status; written 823 fs/iomap/buffered-io.c loff_t pos = iocb->ki_pos, ret = 0, written = 0; written 831 fs/iomap/buffered-io.c written += ret; written 834 fs/iomap/buffered-io.c return written ? written : ret; written 859 fs/iomap/buffered-io.c ssize_t written = 0; written 891 fs/iomap/buffered-io.c written += status; written 897 fs/iomap/buffered-io.c return written; written 948 fs/iomap/buffered-io.c loff_t written = 0; written 970 fs/iomap/buffered-io.c written += bytes; written 975 fs/iomap/buffered-io.c return written; written 932 fs/jfs/jfs_logmgr.c int written; /* written since last syncpt */ written 988 fs/jfs/jfs_logmgr.c logdiff(written, lsn, log); written 989 fs/jfs/jfs_logmgr.c free = logsize - written; written 1017 fs/jfs/jfs_logmgr.c log->nextsync = written + more; written 1025 fs/jfs/jfs_logmgr.c (written > LOGSYNC_BARRIER(logsize)) && log->active) { written 597 fs/nfs/file.c unsigned long written = 0; written 634 fs/nfs/file.c written = result; written 635 fs/nfs/file.c iocb->ki_pos += written; written 636 fs/nfs/file.c result = generic_write_sync(iocb, written); written 646 fs/nfs/file.c nfs_add_stats(inode, NFSIOS_NORMALWRITTENBYTES, written); written 792 fs/nfs/filelayout/filelayout.c INIT_LIST_HEAD(&buckets[i].written); written 802 fs/nfs/filelayout/filelayout.c list_splice(&cinfo->ds->buckets[i].written, written 803 fs/nfs/filelayout/filelayout.c &buckets[i].written); written 1098 fs/nfs/filelayout/filelayout.c list_for_each_entry_safe(freq, t, &b->written, wb_list) { written 783 fs/nfs/flexfilelayout/flexfilelayout.c INIT_LIST_HEAD(&buckets[i].written); written 80 fs/nfs/pnfs_nfs.c written); written 95 fs/nfs/pnfs_nfs.c struct list_head *src = &bucket->written; written 145 fs/nfs/pnfs_nfs.c nwritten = nfs_scan_commit_list(&b->written, dst, cinfo, 0); written 149 fs/nfs/pnfs_nfs.c if (list_empty(&b->written)) { written 937 fs/nfs/pnfs_nfs.c list = &buckets[ds_commit_idx].written; written 1742 fs/ntfs/file.c ssize_t status, written = 0; written 1901 fs/ntfs/file.c written += copied; written 1911 fs/ntfs/file.c written ? "written" : "status", (unsigned long)written, written 1913 fs/ntfs/file.c return written ? written : status; written 1929 fs/ntfs/file.c ssize_t written = 0; written 1937 fs/ntfs/file.c written = ntfs_perform_write(file, from, iocb->ki_pos); written 1940 fs/ntfs/file.c iocb->ki_pos += written; written 1941 fs/ntfs/file.c if (likely(written > 0)) written 1942 fs/ntfs/file.c written = generic_write_sync(iocb, written); written 1943 fs/ntfs/file.c return written ? written : err; written 1556 fs/ocfs2/aops.c int ret, written = 0; written 1608 fs/ocfs2/aops.c written = 1; written 1610 fs/ocfs2/aops.c return written ? written : ret; written 2279 fs/ocfs2/file.c ssize_t written = 0; written 2377 fs/ocfs2/file.c written = __generic_file_write_iter(iocb, from); written 2379 fs/ocfs2/file.c BUG_ON(written == -EIOCBQUEUED && !direct_io); written 2390 fs/ocfs2/file.c if ((written == -EIOCBQUEUED) || (!ocfs2_iocb_is_rw_locked(iocb))) { written 2394 fs/ocfs2/file.c if (unlikely(written <= 0)) written 2400 fs/ocfs2/file.c iocb->ki_pos - written, written 2403 fs/ocfs2/file.c written = ret; written 2408 fs/ocfs2/file.c written = ret; written 2413 fs/ocfs2/file.c iocb->ki_pos - written, written 2427 fs/ocfs2/file.c if (written) written 2428 fs/ocfs2/file.c ret = written; written 293 fs/pipe.c size_t written; written 306 fs/pipe.c written = copy_page_to_iter(buf->page, buf->offset, chars, to); written 307 fs/pipe.c if (unlikely(written < chars)) { written 1723 fs/reiserfs/journal.c int written = 0; written 1741 fs/reiserfs/journal.c (!num_trans && written < num_blocks)) { written 1754 fs/reiserfs/journal.c written += ret; written 721 fs/ubifs/io.c int err, written, n, aligned_len = ALIGN(len, 8); written 784 fs/ubifs/io.c written = 0; written 803 fs/ubifs/io.c written += wbuf->avail; written 822 fs/ubifs/io.c written += wbuf->size; written 836 fs/ubifs/io.c err = ubifs_leb_write(c, wbuf->lnum, buf + written, written 843 fs/ubifs/io.c written += n; written 853 fs/ubifs/io.c memcpy(wbuf->buf, buf + written, len); written 109 fs/ubifs/tnc_commit.c int len, gap_remains, gap_pos, written, pad_len; written 119 fs/ubifs/tnc_commit.c written = 0; written 137 fs/ubifs/tnc_commit.c written += 1; written 149 fs/ubifs/tnc_commit.c lnum, gap_start, gap_end, gap_end - gap_start, written, pad_len); written 152 fs/ubifs/tnc_commit.c return written; written 228 fs/ubifs/tnc_commit.c int lnum, dirt = 0, gap_start, gap_end, err, written, tot_written; written 277 fs/ubifs/tnc_commit.c written = fill_gap(c, lnum, gap_start, gap_end, &dirt); written 278 fs/ubifs/tnc_commit.c if (written < 0) { written 280 fs/ubifs/tnc_commit.c return written; /* Error code */ written 282 fs/ubifs/tnc_commit.c tot_written += written; written 290 fs/ubifs/tnc_commit.c written = fill_gap(c, lnum, gap_start, gap_end, &dirt); written 291 fs/ubifs/tnc_commit.c if (written < 0) written 292 fs/ubifs/tnc_commit.c return written; /* Error code */ written 293 fs/ubifs/tnc_commit.c tot_written += written; written 358 fs/ubifs/tnc_commit.c int err, leb_needed_cnt, written, p = 0, old_idx_lebs, *gap_lebs; written 370 fs/ubifs/tnc_commit.c written = layout_leb_in_gaps(c, p); written 371 fs/ubifs/tnc_commit.c if (written < 0) { written 372 fs/ubifs/tnc_commit.c err = written; written 391 fs/ubifs/tnc_commit.c cnt -= written; written 403 fs/ubifs/xattr.c int err, len, written = 0; written 432 fs/ubifs/xattr.c memcpy(buffer + written, fname_name(&nm), fname_len(&nm) + 1); written 433 fs/ubifs/xattr.c written += fname_len(&nm) + 1; written 447 fs/ubifs/xattr.c ubifs_assert(c, written <= size); written 448 fs/ubifs/xattr.c return written; written 1070 fs/xfs/xfs_iomap.c ssize_t written, written 1084 fs/xfs/xfs_iomap.c written = 0; written 1092 fs/xfs/xfs_iomap.c if (unlikely(!written)) written 1095 fs/xfs/xfs_iomap.c start_fsb = XFS_B_TO_FSB(mp, offset + written); written 1127 fs/xfs/xfs_iomap.c ssize_t written, written 1133 fs/xfs/xfs_iomap.c length, written, iomap); written 88 include/linux/binfmts.h loff_t written; written 350 include/linux/fs.h size_t written; written 122 include/linux/iomap.h ssize_t written, unsigned flags, struct iomap *iomap); written 1266 include/linux/nfs_xdr.h struct list_head written; written 126 include/linux/virtio_vsock.h ssize_t written, struct vsock_transport_send_notify_data *data); written 17 include/sound/wavefront.h then WavePatch-format files cannot be read/written correctly. written 274 include/trace/events/bcache.h __entry->block = b->written; written 293 include/trace/events/jbd2.h __field( __u32, written ) written 302 include/trace/events/jbd2.h __entry->written = stats->cs_written; written 310 include/trace/events/jbd2.h __entry->forced_to_close, __entry->written, __entry->dropped) written 310 init/do_mounts_rd.c long written = ksys_write(crd_outfd, window, outcnt); written 311 init/do_mounts_rd.c if (written != outcnt) { written 315 init/do_mounts_rd.c written, outcnt); written 419 init/initramfs.c long written; written 423 init/initramfs.c while ((written = write_buffer(buf, len)) < len && !message) { written 424 init/initramfs.c char c = buf[written]; written 426 init/initramfs.c buf += written; written 427 init/initramfs.c len -= written; written 430 init/initramfs.c buf += written; written 431 init/initramfs.c len -= written; written 445 init/initramfs.c long written; written 464 init/initramfs.c written = write_buffer(buf, len); written 465 init/initramfs.c buf += written; written 466 init/initramfs.c len -= written; written 622 init/initramfs.c ssize_t written; written 633 init/initramfs.c written = xwrite(fd, (char *)initrd_start, initrd_end - initrd_start); written 634 init/initramfs.c if (written != initrd_end - initrd_start) written 636 init/initramfs.c written, initrd_end - initrd_start); written 130 kernel/events/internal.h unsigned long size, written; \ written 134 kernel/events/internal.h written = memcpy_func(__VA_ARGS__); \ written 135 kernel/events/internal.h written = size - written; \ written 137 kernel/events/internal.h len -= written; \ written 138 kernel/events/internal.h handle->addr += written; \ written 140 kernel/events/internal.h buf += written; \ written 141 kernel/events/internal.h handle->size -= written; \ written 150 kernel/events/internal.h } while (len && written == size); \ written 1129 kernel/relay.c size_t written = 0; written 1154 kernel/relay.c written += ret; written 1162 kernel/relay.c return written; written 6389 kernel/trace/trace.c ssize_t written; written 6429 kernel/trace/trace.c written = -EFAULT; written 6431 kernel/trace/trace.c written = cnt; written 6451 kernel/trace/trace.c if (written > 0) written 6452 kernel/trace/trace.c *fpos += written; written 6454 kernel/trace/trace.c return written; written 6469 kernel/trace/trace.c ssize_t written; written 6508 kernel/trace/trace.c written = -EFAULT; written 6510 kernel/trace/trace.c written = cnt; written 6514 kernel/trace/trace.c if (written > 0) written 6515 kernel/trace/trace.c *fpos += written; written 6517 kernel/trace/trace.c return written; written 508 kernel/umh.c ssize_t written; written 516 kernel/umh.c written = kernel_write(file, data, len, &pos); written 517 kernel/umh.c if (written != len) { written 518 kernel/umh.c err = written; written 5393 kernel/workqueue.c int node, written = 0; written 5398 kernel/workqueue.c written += scnprintf(buf + written, PAGE_SIZE - written, written 5403 kernel/workqueue.c written += scnprintf(buf + written, PAGE_SIZE - written, "\n"); written 5407 kernel/workqueue.c return written; written 5414 kernel/workqueue.c int written; written 5417 kernel/workqueue.c written = scnprintf(buf, PAGE_SIZE, "%d\n", wq->unbound_attrs->nice); written 5420 kernel/workqueue.c return written; written 5467 kernel/workqueue.c int written; written 5470 kernel/workqueue.c written = scnprintf(buf, PAGE_SIZE, "%*pb\n", written 5473 kernel/workqueue.c return written; written 5504 kernel/workqueue.c int written; written 5507 kernel/workqueue.c written = scnprintf(buf, PAGE_SIZE, "%d\n", written 5511 kernel/workqueue.c return written; written 5555 kernel/workqueue.c int written; written 5558 kernel/workqueue.c written = scnprintf(buf, PAGE_SIZE, "%*pb\n", written 5562 kernel/workqueue.c return written; written 263 lib/string.c ssize_t written; written 265 lib/string.c written = strscpy(dest, src, count); written 266 lib/string.c if (written < 0 || written == count - 1) written 267 lib/string.c return written; written 269 lib/string.c memset(dest + written + 1, 0, count - written - 1); written 271 lib/string.c return written; written 41 lib/test_printf.c int ret, written; written 70 lib/test_printf.c written = min(bufsize-1, elen); written 71 lib/test_printf.c if (test_buffer[written]) { written 77 lib/test_printf.c if (memchr_inv(test_buffer + written + 1, FILL_CHAR, BUF_SIZE + PAD_SIZE - (written + 1))) { written 83 lib/test_printf.c if (memcmp(test_buffer, expect, written)) { written 85 lib/test_printf.c bufsize, fmt, test_buffer, written, expect); written 35 lib/test_strscpy.c int written; written 60 lib/test_strscpy.c written = strscpy_pad(buf, src, count); written 61 lib/test_strscpy.c if ((written) != (expected)) { written 62 lib/test_strscpy.c pr_err("%d != %d (written, expected)\n", written, expected); written 66 lib/test_strscpy.c if (count && written == -E2BIG) { written 2010 mm/filemap.c struct iov_iter *iter, ssize_t written) written 2151 mm/filemap.c written += ret; written 2259 mm/filemap.c return written ? written : error; written 3150 mm/filemap.c ssize_t written; written 3163 mm/filemap.c written = filemap_write_and_wait_range(mapping, pos, written 3165 mm/filemap.c if (written) written 3175 mm/filemap.c written = invalidate_inode_pages2_range(mapping, written 3181 mm/filemap.c if (written) { written 3182 mm/filemap.c if (written == -EBUSY) written 3187 mm/filemap.c written = mapping->a_ops->direct_IO(iocb, from); written 3206 mm/filemap.c if (written > 0) { written 3207 mm/filemap.c pos += written; written 3208 mm/filemap.c write_len -= written; written 3217 mm/filemap.c return written; written 3249 mm/filemap.c ssize_t written = 0; written 3318 mm/filemap.c written += copied; written 3323 mm/filemap.c return written ? written : status; written 3353 mm/filemap.c ssize_t written = 0; written 3370 mm/filemap.c written = generic_file_direct_write(iocb, from); written 3378 mm/filemap.c if (written < 0 || !iov_iter_count(from) || IS_DAX(inode)) written 3402 mm/filemap.c written += status; written 3413 mm/filemap.c written = generic_perform_write(file, from, iocb->ki_pos); written 3414 mm/filemap.c if (likely(written > 0)) written 3415 mm/filemap.c iocb->ki_pos += written; written 3419 mm/filemap.c return written ? written : err; written 1085 mm/page-writeback.c unsigned long written) written 1102 mm/page-writeback.c bw = written - min(written, wb->written_stamp); written 1354 mm/page-writeback.c unsigned long written; written 1365 mm/page-writeback.c written = percpu_counter_read(&wb->stat[WB_WRITTEN]); written 1387 mm/page-writeback.c wb_update_write_bandwidth(wb, elapsed, written); written 1391 mm/page-writeback.c wb->written_stamp = written; written 1593 mm/zsmalloc.c int written = 0; written 1615 mm/zsmalloc.c written += size; written 1617 mm/zsmalloc.c if (written == class->size) written 1631 mm/zsmalloc.c s_size = class->size - written; written 1639 mm/zsmalloc.c d_size = class->size - written; written 1570 net/vmw_vsock/af_vsock.c ssize_t written; written 1629 net/vmw_vsock/af_vsock.c written = transport->stream_enqueue( written 1632 net/vmw_vsock/af_vsock.c if (written < 0) { written 1637 net/vmw_vsock/af_vsock.c total_written += written; written 1640 net/vmw_vsock/af_vsock.c vsk, written, &send_data); written 790 net/vmw_vsock/hyperv_transport.c int hvs_notify_send_post_enqueue(struct vsock_sock *vsk, ssize_t written, written 577 net/vmw_vsock/virtio_transport_common.c ssize_t written, struct vsock_transport_send_notify_data *data) written 2013 net/vmw_vsock/vmci_transport.c ssize_t written, written 2017 net/vmw_vsock/vmci_transport.c &vsk->sk, written, written 549 net/vmw_vsock/vmci_transport_notify.c ssize_t written, written 564 net/vmw_vsock/vmci_transport_notify.c if (written >= vmci_trans(vsk)->produce_size - data->produce_tail) written 66 net/vmw_vsock/vmci_transport_notify.h int (*send_post_enqueue) (struct sock *sk, ssize_t written, written 305 net/vmw_vsock/vmci_transport_notify_qstate.c ssize_t written, written 319 net/vmw_vsock/vmci_transport_notify_qstate.c vmci_qpair_produce_buf_ready(vmci_trans(vsk)->qpair) == written; written 176 samples/mei/mei-amt-version.c ssize_t written; written 185 samples/mei/mei-amt-version.c written = write(me->fd, buffer, len); written 186 samples/mei/mei-amt-version.c if (written < 0) { written 189 samples/mei/mei-amt-version.c written, strerror(errno)); written 206 samples/mei/mei-amt-version.c rc = written; written 374 samples/mei/mei-amt-version.c ssize_t written; written 385 samples/mei/mei-amt-version.c written = mei_send_msg(&acmd->mei_cl, written 387 samples/mei/mei-amt-version.c if (written != command_sz) written 206 security/keys/big_key.c ssize_t written; written 253 security/keys/big_key.c written = kernel_write(file, buf->virt, enclen, &pos); written 254 security/keys/big_key.c if (written != enclen) { written 255 security/keys/big_key.c ret = written; written 256 security/keys/big_key.c if (written >= 0) written 1023 sound/core/seq/seq_clientmgr.c int written = 0, len; written 1104 sound/core/seq/seq_clientmgr.c written += len; written 1115 sound/core/seq/seq_clientmgr.c return written ? written : err; written 878 sound/isa/wavefront/wavefront_synth.c unsigned int written; written 1071 sound/isa/wavefront/wavefront_synth.c for (written = 0, blocknum = 0; written 1072 sound/isa/wavefront/wavefront_synth.c written < length; written += max_blksize, blocknum++) { written 1074 sound/isa/wavefront/wavefront_synth.c if ((length - written) > max_blksize) { written 1078 sound/isa/wavefront/wavefront_synth.c blocksize = ALIGN(length - written, 8); written 178 tools/perf/builtin-record.c ssize_t aio_ret, written; written 184 tools/perf/builtin-record.c written = aio_ret = aio_return(cblock); written 188 tools/perf/builtin-record.c written = 0; written 191 tools/perf/builtin-record.c rem_size = cblock->aio_nbytes - written; written 208 tools/perf/builtin-record.c rem_off = cblock->aio_offset + written; written 209 tools/perf/builtin-record.c rem_buf = (void *)(cblock->aio_buf + written); written 16 tools/perf/perf-read-vdso.c size_t size, written; written 24 tools/perf/perf-read-vdso.c written = fwrite(start, 1, size, stdout); written 25 tools/perf/perf-read-vdso.c if (!written) written 27 tools/perf/perf-read-vdso.c start += written; written 28 tools/perf/perf-read-vdso.c size -= written; written 38 tools/testing/selftests/capabilities/test_execve.c ssize_t written; written 56 tools/testing/selftests/capabilities/test_execve.c written = write(fd, buf, buf_len); written 57 tools/testing/selftests/capabilities/test_execve.c if (written != buf_len) { written 58 tools/testing/selftests/capabilities/test_execve.c if (written >= 0) { written 61 tools/testing/selftests/mount/unprivileged-remount-test.c ssize_t written; written 80 tools/testing/selftests/mount/unprivileged-remount-test.c written = write(fd, buf, buf_len); written 81 tools/testing/selftests/mount/unprivileged-remount-test.c if (written != buf_len) { written 82 tools/testing/selftests/mount/unprivileged-remount-test.c if (written >= 0) { written 44 tools/testing/selftests/safesetid/safesetid-test.c ssize_t written; written 64 tools/testing/selftests/safesetid/safesetid-test.c written = write(fd, buf, buf_len); written 65 tools/testing/selftests/safesetid/safesetid-test.c if (written != buf_len) { written 66 tools/testing/selftests/safesetid/safesetid-test.c if (written >= 0) { written 150 tools/testing/selftests/safesetid/safesetid-test.c ssize_t written; written 156 tools/testing/selftests/safesetid/safesetid-test.c written = write(fd, policy_str, strlen(policy_str)); written 157 tools/testing/selftests/safesetid/safesetid-test.c if (written != strlen(policy_str)) { written 158 tools/testing/selftests/safesetid/safesetid-test.c if (written >= 0) { written 198 tools/virtio/vringh_test.c u16 head, written; written 216 tools/virtio/vringh_test.c written = 0; written 261 tools/virtio/vringh_test.c written = 0; written 268 tools/virtio/vringh_test.c written = err; written 273 tools/virtio/vringh_test.c err = vringh_complete_user(&vrh, head, written);