Searched refs:written (Results 1 - 200 of 3209) sorted by relevance

1234567891011>>

/linux-4.1.27/arch/alpha/lib/
H A Dsrm_puts.c11 long remaining, written; srm_puts() local
16 for (remaining = len; remaining > 0; remaining -= written) srm_puts()
18 written = callback_puts(0, str, remaining); srm_puts()
19 written &= 0xffffffff; srm_puts()
20 str += written; srm_puts()
H A Dstrncpy.S37 or $4, $27, $4 # written byte and the last byte in COUNT
/linux-4.1.27/tools/perf/
H A Dperf-read-vdso.c15 size_t size, written; main() local
23 written = fwrite(start, 1, size, stdout); main()
24 if (!written) main()
26 start += written; main()
27 size -= written; main()
/linux-4.1.27/arch/mips/sibyte/common/
H A Dcfe_console.c15 int i, last, written; cfe_console_write() local
23 written = cfe_write(cfe_cons_handle, &str[last], i-last); cfe_console_write()
24 if (written < 0) cfe_console_write()
26 last += written; cfe_console_write()
34 written = cfe_write(cfe_cons_handle, &str[last], count-last); cfe_console_write()
35 if (written < 0) cfe_console_write()
37 last += written; cfe_console_write()
/linux-4.1.27/include/linux/platform_data/
H A Defm32-spi.h8 * @location: pinmux location for the I/O pins (to be written to the ROUTE
H A Defm32-uart.h12 * @location: pinmux location for the I/O pins (to be written to the ROUTE
H A Dat24.h17 * @page_size: number of byte which can be written in one go
/linux-4.1.27/arch/tile/include/uapi/arch/
H A Dsim_def.h34 * Values which can be written to SPR_SIM_CONTROL.
37 /** If written to SPR_SIM_CONTROL, stops profiling. */
40 /** If written to SPR_SIM_CONTROL, starts profiling. */
43 /** If written to SPR_SIM_CONTROL, clears profiling counters. */
46 /** If written to SPR_SIM_CONTROL, checkpoints the simulator. */
50 * If written to SPR_SIM_CONTROL, combined with a mask (shifted by 8),
56 * If written to SPR_SIM_CONTROL, combined with a mask (shifted by 8),
61 /** If written to SPR_SIM_CONTROL, clears chip-level profiling counters. */
64 /** If written to SPR_SIM_CONTROL, disables chip-level profiling. */
67 /** If written to SPR_SIM_CONTROL, enables chip-level profiling. */
70 /** If written to SPR_SIM_CONTROL, enables chip-level functional mode */
73 /** If written to SPR_SIM_CONTROL, disables chip-level functional mode. */
77 * If written to SPR_SIM_CONTROL, enables chip-level functional mode.
85 * If written to SPR_SIM_CONTROL, combined with a character (shifted by 8),
94 * If written to SPR_SIM_CONTROL, clears the --grind-coherence state for
101 /** If written to SPR_SIM_CONTROL, shuts down the simulator. */
105 * If written to SPR_SIM_CONTROL, combined with a pid (shifted by 8),
111 * If written to SPR_SIM_CONTROL, combined with a pid (shifted by 8),
117 * If written to SPR_SIM_CONTROL, combined with a pid (shifted by 8),
123 * If written to SPR_SIM_CONTROL, combined with a character (shifted by 8),
130 * If written to SPR_SIM_CONTROL, combined with a character (shifted by 8),
138 * If written to SPR_SIM_CONTROL, combined with a character (shifted by 8),
146 * If written to SPR_SIM_CONTROL, combined with a character (shifted by 8),
154 * If written to SPR_SIM_CONTROL, combined with a flag (shifted by 8),
161 /** If written to SPR_SIM_CONTROL, enables memory tracing. */
164 /** If written to SPR_SIM_CONTROL, disables memory tracing. */
168 * If written to SPR_SIM_CONTROL, changes the shaping parameters of one of
175 * If written to SPR_SIM_CONTROL, combined with character (shifted by 8),
182 * If written to SPR_SIM_CONTROL, indicates that the simulated system
188 * If written to SPR_SIM_CONTROL, triggers a simulator syscall.
194 * If written to SPR_SIM_CONTROL, combined with a pid (shifted by 8),
201 * If written to SPR_SIM_CONTROL, combined with a mPIPE shim number
209 * If written to SPR_SIM_CONTROL, combined with a mPIPE shim number
217 * If written to SPR_SIM_CONTROL, combined with a mPIPE shim number
252 * SIM_CONTROL_SET_TRACING, and written to SPR_SIM_CONTROL.
299 * SIM_CONTROL_DUMP, and written to SPR_SIM_CONTROL.
355 * SIM_CONTROL_PROFILER_CHIP_xxx, and written to SPR_SIM_CONTROL.
/linux-4.1.27/drivers/mtd/tests/
H A Dsubpagetest.c58 size_t written; write_eraseblock() local
63 err = mtd_write(mtd, addr, subpgsize, &written, writebuf); write_eraseblock()
64 if (unlikely(err || written != subpgsize)) { write_eraseblock()
67 if (written != subpgsize) { write_eraseblock()
69 pr_err(" written: %#zx\n", written); write_eraseblock()
77 err = mtd_write(mtd, addr, subpgsize, &written, writebuf); write_eraseblock()
78 if (unlikely(err || written != subpgsize)) { write_eraseblock()
81 if (written != subpgsize) { write_eraseblock()
83 pr_err(" written: %#zx\n", written); write_eraseblock()
93 size_t written; write_eraseblock2() local
101 err = mtd_write(mtd, addr, subpgsize * k, &written, writebuf); write_eraseblock2()
102 if (unlikely(err || written != subpgsize * k)) { write_eraseblock2()
105 if (written != subpgsize) { write_eraseblock2()
108 pr_err(" written: %#08zx\n", write_eraseblock2()
109 written); write_eraseblock2()
153 pr_info("------------- written----------------\n"); verify_eraseblock()
180 pr_info("------------- written----------------\n"); verify_eraseblock()
351 pr_info("written up to eraseblock %u\n", i); mtd_subpagetest_init()
357 pr_info("written %u eraseblocks\n", i); mtd_subpagetest_init()
394 pr_info("written up to eraseblock %u\n", i); mtd_subpagetest_init()
400 pr_info("written %u eraseblocks\n", i); mtd_subpagetest_init()
H A Dtorturetest.c61 MODULE_PARM_DESC(check, "if the written data should be checked");
84 static void report_corrupt(unsigned char *read, unsigned char *written);
157 size_t written; write_pattern() local
165 err = mtd_write(mtd, addr, len, &written, buf); write_pattern()
167 pr_err("error %d while writing EB %d, written %zd" write_pattern()
168 " bytes\n", err, ebnum, written); write_pattern()
171 if (written != len) { write_pattern()
172 pr_info("written only %zd bytes of %zd, but no error" write_pattern()
173 " reported\n", written, len); write_pattern()
378 static void print_bufs(unsigned char *read, unsigned char *written, int start,
383 * written.
385 static void report_corrupt(unsigned char *read, unsigned char *written) report_corrupt() argument
397 if (countdiffs(written, read, i, pgsize, &bytes, report_corrupt()
409 first = countdiffs(written, read, i, pgsize, &bytes, report_corrupt()
425 print_bufs(read, written, offset, len); report_corrupt()
429 static void print_bufs(unsigned char *read, unsigned char *written, int start, print_bufs() argument
441 if (read[start + i + j1] != written[start + i + j1]) print_bufs()
453 printk(" %02x", written[start + i + j2]); print_bufs()
H A Dmtd_test.c103 size_t written; mtdtest_write() local
106 err = mtd_write(mtd, addr, size, &written, buf); mtdtest_write()
107 if (!err && written != size) mtdtest_write()
/linux-4.1.27/drivers/mtd/devices/
H A Dbcm47xxsflash.c123 int written = 0; bcm47xxsflash_write_st() local
135 return 1; /* 1B written */ bcm47xxsflash_write_st()
142 written++; bcm47xxsflash_write_st()
152 written++; bcm47xxsflash_write_st()
161 return written; bcm47xxsflash_write_st()
171 int written = 0; bcm47xxsflash_write_at() local
197 written++; bcm47xxsflash_write_at()
204 return written; bcm47xxsflash_write_at()
211 int written; bcm47xxsflash_write() local
219 written = bcm47xxsflash_write_st(mtd, to, len, buf); bcm47xxsflash_write()
222 written = bcm47xxsflash_write_at(mtd, to, len, buf); bcm47xxsflash_write()
227 if (written < 0) { bcm47xxsflash_write()
229 return written; bcm47xxsflash_write()
231 to += (loff_t)written; bcm47xxsflash_write()
232 len -= written; bcm47xxsflash_write()
233 *retlen += written; bcm47xxsflash_write()
234 buf += written; bcm47xxsflash_write()
/linux-4.1.27/drivers/staging/sm750fb/
H A Dddk750.h8 * without the written consent of the copyright owner.
H A Dddk750_swi2c.h6 * without the written consent of the copyright owner.
57 * to be written
58 * registerIndex - Slave device's register to be written
59 * data - Data to be written to the register
H A Dddk750_hwi2c.c86 * length - Total number of bytes to be written to the device
87 * pBuffer - The buffer that contains the data to be written to the
91 * Total number of bytes those are actually written.
114 /* Set the number of bytes to be written */ hwI2CWriteData()
135 /* Total byte written */ hwI2CWriteData()
246 * to be written
247 * registerIndex - Slave device's register to be written
248 * data - Data to be written to the register
/linux-4.1.27/arch/mips/include/asm/
H A Dtypes.h8 * written by Ralf Baechle
H A Dcop2.h7 * written by Ralf Baechle <ralf@linux-mips.org>
H A Dirq.h6 * Copyright (C) 1994 by Waldorf GMBH, written by Ralf Baechle
/linux-4.1.27/arch/mips/mti-malta/
H A DMakefile6 # written by Ralf Baechle <ralf@linux-mips.org>
H A Dmalta-platform.c7 * written by Ralf Baechle (ralf@linux-mips.org)
8 * written by Ralf Baechle <ralf@linux-mips.org>
/linux-4.1.27/kernel/events/
H A Dinternal.h132 unsigned long size, written; \
136 written = memcpy_func(handle->addr, buf, size); \
137 written = size - written; \
139 len -= written; \
140 handle->addr += written; \
141 buf += written; \
142 handle->size -= written; \
151 } while (len && written == size); \
/linux-4.1.27/drivers/isdn/hardware/eicon/
H A Dmntfunc.c246 int written = 0; maint_read_write() local
268 pbuf[written++] = (byte) size; maint_read_write()
269 pbuf[written++] = (byte) (size >> 8); maint_read_write()
270 pbuf[written++] = 0; maint_read_write()
271 pbuf[written++] = 0; maint_read_write()
275 memcpy(&pbuf[written], pmsg, size); maint_read_write()
277 written += size; maint_read_write()
280 pbuf[written++] = 0; maint_read_write()
281 pbuf[written++] = 0; maint_read_write()
282 pbuf[written++] = 0; maint_read_write()
283 pbuf[written++] = 0; maint_read_write()
285 if ((count < written) || diva_os_copy_to_user(NULL, buf, (void *) pbuf, written)) { maint_read_write()
288 ret = written; maint_read_write()
H A Distream.c64 does return amount of data written to stream.
65 'final' does indicate that piece of data to be written is
67 return 0 if zero lengh packet was written
78 int written = 0, to_write = -1; diva_istream_write() local
93 break; /* only part of message was written */ diva_istream_write()
106 written += to_write; diva_istream_write()
134 return (written); diva_istream_write()
139 Does return amount of data written to buffer
/linux-4.1.27/include/linux/
H A Dtask_io_accounting.h15 /* bytes written */
32 * written to disk.
H A Dvt.h12 #define VT_PREWRITE 0x0005 /* A char is about to be written to the console */
H A Dvia.h9 #define VIA_FUNCTION_PROBE 0xFF /* Special magic value to be used in code, not to be written into chip */
H A Dnfs_iostat.h29 * 1. SERVER - the number of payload bytes read from or written
33 * 2. NORMAL - the number of bytes read or written by applications
36 * 3. DIRECT - the number of bytes read or written from files
54 * These count the number of pages read or written via nfs_readpage(),
H A Dtrace_seq.h27 * trace_seq_used - amount of actual data written to buffer
30 * Returns the amount of data written to the buffer.
50 * that is about to be written to and then return the result
H A Dscc.h32 unsigned char tailtime; /* Delay after last byte written */
65 unsigned char wreg[16]; /* Copy of last written value in WRx */
H A Dseq_buf.h67 /* How much buffer was written? */ seq_buf_used()
99 * Commit @num bytes of data written to a buffer previously acquired
H A Dlp.h88 * the value written to ports to test existence. PC-style ports will
89 * return the value written. AT-style ports will return 0. so why not
H A Dinet.h5 * from NET2D which was written by:
H A Drio_drv.h68 * @data: Data to be written
98 * @data: Data to be written
129 * @data: Data to be written
160 * @data: Data to be written
192 * @data: Data to be written
223 * @data: Data to be written
/linux-4.1.27/arch/sh/drivers/pci/
H A Dfixups-titan.c6 * Modified from ops-snapgear.c written by David McCullough
7 * Highly leveraged from pci-bigsur.c, written by Dustin McIntire.
H A Dfixups-snapgear.c8 * Highly leveraged from pci-bigsur.c, written by Dustin McIntire.
/linux-4.1.27/arch/sh/include/mach-common/mach/
H A Dsecureedge5410.h19 * We need to remember what was written to the ioport as some bits
21 * written :-|
/linux-4.1.27/arch/tile/include/arch/
H A Dtrio.h29 * writable from PCIe space. Writes to this register will not be written to
31 * page of the BASE/LIM range is not otherwise written.
41 * When written with a 1, the associated MAP_SQ region's doorbell
47 * When written with a 1, the descriptor at the head of the associated
H A Dtrio_shm.h27 * The TRIO DMA descriptor is written by software and consumed by hardware.
66 * completed (all data has been read from or written to the Tile-side
93 * a new descriptor is written into the ring, software must toggle this
94 * bit. The net effect is that the GEN bit being written into new
H A Dmpipe_shm.h27 * The eDMA descriptor is written by software and consumed by hardware. It
42 * a new descriptor is written into the ring, software must toggle this
43 * bit. The net effect is that the GEN bit being written into new
207 * Notification ring into which this packet descriptor is written.
208 * Typically written by load balancer, but can be overridden by
230 * Written by the iDMA hardware. Indicates the number of bytes written
234 * will be reduced to reflect the actual number of valid bytes written to
253 * select the ring into which this packet descriptor is written.
296 * sequence number when the packet descriptor is written to a
352 * Checksum seed written by classification program. Overwritten with
/linux-4.1.27/arch/mips/mti-sead3/
H A DMakefile6 # written by Ralf Baechle <ralf@linux-mips.org>
/linux-4.1.27/arch/parisc/include/asm/
H A Dptrace.h0 /* written by Philipp Rumpf, Copyright (C) 1999 SuSE GmbH Nuernberg
/linux-4.1.27/drivers/s390/char/
H A Dmonwriter.c219 size_t len, written; monwrite_write() local
224 for (written = 0; written < count; ) { monwrite_write()
226 len = min(count - written, monpriv->hdr_to_read); monwrite_write()
229 if (copy_from_user(to, data + written, len)) { monwrite_write()
234 written += len; monwrite_write()
245 len = min(count - written, monpriv->data_to_read); monwrite_write()
248 if (copy_from_user(to, data + written, len)) { monwrite_write()
253 written += len; monwrite_write()
263 return written; monwrite_write()
H A Dsclp_tty.c83 * will accept for queuing to be written. This number is subject
176 int written; sclp_tty_write_string() local
201 written = sclp_write(sclp_ttybuf, str, count); sclp_tty_write_string()
202 overall_written += written; sclp_tty_write_string()
203 if (written == count) sclp_tty_write_string()
206 * Not all characters could be written to the current sclp_tty_write_string()
215 str += written; sclp_tty_write_string()
216 count -= written; sclp_tty_write_string()
255 * sclp_write() without final '\n' - will be written.
269 * This routine is called by the kernel after it has written a series of
284 * in the SCCB (will be written next time the SCLP is not busy) as well as
285 * characters in the write buffer (will not be written as long as there is a
538 * written at start of each line by VM/CP sclp_tty_init()
H A Dsclp_con.c166 int written; sclp_console_write() local
195 written = sclp_write(sclp_conbuf, (const unsigned char *) sclp_console_write()
197 if (written == count) sclp_console_write()
200 * Not all characters could be written to the current sclp_console_write()
207 message += written; sclp_console_write()
208 count -= written; sclp_console_write()
342 * written at start of each line by VM/CP sclp_console_init()
H A Dtape_char.c191 size_t written; tapechar_write() local
222 written = 0; tapechar_write()
235 written += block_size - request->rescnt; tapechar_write()
243 * Ok, the device has no more space. It has NOT written tapechar_write()
248 if (written > 0) tapechar_write()
257 * Since process_eov positions the tape in front of the written tapechar_write()
263 return rc ? rc : written; tapechar_write()
H A Dsclp_vt220.c399 * of bytes written.
407 int written; __sclp_vt220_write() local
435 written = sclp_vt220_add_msg(sclp_vt220_current_request, __sclp_vt220_write()
437 overall_written += written; __sclp_vt220_write()
438 if (written == count) __sclp_vt220_write()
441 * Not all characters could be written to the current __sclp_vt220_write()
448 buf += written; __sclp_vt220_write()
449 count -= written; __sclp_vt220_write()
546 * This routine is called by the kernel after it has written a
560 * will accept for queuing to be written. This number is subject
/linux-4.1.27/drivers/char/
H A Dmem.c162 ssize_t written, sz; write_mem() local
172 written = 0; write_mem()
182 written += sz; write_mem()
199 if (written) write_mem()
207 written += sz - copied; write_mem()
208 if (written) write_mem()
216 written += sz; write_mem()
219 *ppos += written; write_mem()
220 return written; write_mem()
458 ssize_t written, sz; do_write_kmem() local
461 written = 0; do_write_kmem()
470 written += sz; do_write_kmem()
488 written += sz - copied; do_write_kmem()
489 if (written) do_write_kmem()
496 written += sz; do_write_kmem()
499 *ppos += written; do_write_kmem()
500 return written; do_write_kmem()
636 size_t written = 0; read_iter_zero() local
645 return written ? written : -EFAULT; read_iter_zero()
646 written += n; read_iter_zero()
648 return written ? written : -ERESTARTSYS; read_iter_zero()
651 return written; read_iter_zero()
H A Dnwflash.c147 int written; flash_write() local
179 written = 0; flash_write()
220 count - written); flash_write()
225 rc = write_block(p, buf, count - written); flash_write()
250 written += rc; flash_write()
254 printk(KERN_DEBUG "flash_write: written 0x%X bytes OK.\n", written); flash_write()
259 return written; flash_write()
423 * write_block will limit number of bytes written to the space in this block
H A Dlp.c301 ssize_t written; lp_write() local
339 written = parport_write (port, kbuf, copy_size); lp_write()
340 if (written > 0) { lp_write()
341 copy_size -= written; lp_write()
342 count -= written; lp_write()
343 buf += written; lp_write()
344 retv += written; lp_write()
774 ssize_t written; lp_console_write() local
793 written = parport_write (port, s, canwrite); lp_console_write()
795 if (written <= 0) lp_console_write()
798 s += written; lp_console_write()
799 count -= written; lp_console_write()
800 canwrite -= written; lp_console_write()
811 written = parport_write (port, crlf, i); lp_console_write()
812 if (written > 0) lp_console_write()
813 i -= written, crlf += written; lp_console_write()
814 } while (i > 0 && (CONSOLE_LP_STRICT || written > 0)); lp_console_write()
816 } while (count > 0 && (CONSOLE_LP_STRICT || written > 0)); lp_console_write()
/linux-4.1.27/fs/xfs/
H A Dxfs_itable.h82 long *written); /* # of bytes written */
89 long *written); /* # of bytes written */
H A Dxfs_aops.h46 struct inode *io_inode; /* file being written to */
H A Dxfs_itable.c538 long *written) /* # of bytes written */ xfs_inumbers_fmt()
542 *written = count * sizeof(*buffer); xfs_inumbers_fmt()
606 long written; xfs_inumbers() local
608 error = formatter(ubuffer, buffer, bufidx, &written); xfs_inumbers()
611 ubuffer += written; xfs_inumbers()
635 long written; xfs_inumbers() local
637 error = formatter(ubuffer, buffer, bufidx, &written); xfs_inumbers()
534 xfs_inumbers_fmt( void __user *ubuffer, const struct xfs_inogrp *buffer, long count, long *written) xfs_inumbers_fmt() argument
/linux-4.1.27/arch/mips/include/uapi/asm/
H A Dtypes.h8 * written by Ralf Baechle
/linux-4.1.27/arch/mips/kernel/
H A Dearly_printk.c8 * written by Ralf Baechle (ralf@linux-mips.org)
/linux-4.1.27/arch/nios2/include/asm/
H A Dpgtable-bits.h28 * as zero, but can be written as non-zero.
/linux-4.1.27/tools/include/asm-generic/
H A Dbitops.h12 * C language equivalents written by Theodore Ts'o, 9/26/92
/linux-4.1.27/drivers/infiniband/hw/usnic/
H A Dusnic_transport.h26 * Returns number of bytes written, excluding null terminator. If
27 * nothing was written, the function returns 0.
/linux-4.1.27/arch/mips/loongson/loongson-3/
H A Dcop2-ex.c7 * written by Huacai Chen <chenhc@lemote.com>
11 * written by Ralf Baechle <ralf@linux-mips.org>
/linux-4.1.27/include/linux/i2c/
H A Dpcf857x.h27 * inferred by reading the chip's value and knowing the last value written
28 * to it. If you leave n_latch initialized to zero, that last written
/linux-4.1.27/drivers/video/fbdev/matrox/
H A Dmatroxfb_g450.c384 0xF9, /* modified by code (F9 written...) */ cve2_init_TVdata()
385 0x00, /* ? not written */ cve2_init_TVdata()
391 0x00, /* ? not written */ cve2_init_TVdata()
425 0x00, /* 35 written multiple times */ cve2_init_TVdata()
426 0x00, /* 36 not written */ cve2_init_TVdata()
433 0x00, /* 3E written multiple times */ cve2_init_TVdata()
434 0x00, /* 3F not written */ cve2_init_TVdata()
440 0xF9, /* modified by code (F9 written...) */ cve2_init_TVdata()
441 0x00, /* ? not written */ cve2_init_TVdata()
447 0x00, /* ? not written */ cve2_init_TVdata()
480 0x00, /* 35 written multiple times */ cve2_init_TVdata()
481 0x00, /* 36 not written */ cve2_init_TVdata()
488 0x00, /* 3E written multiple times */ cve2_init_TVdata()
489 0x00, /* never written */ cve2_init_TVdata()
H A Dmatroxfb_maven.c375 0x00, /* ? not written */ maven_init_TVdata()
376 0x00, /* modified by code (F9 written...) */ maven_init_TVdata()
377 0x00, /* ? not written */ maven_init_TVdata()
383 0x00, /* ? not written */ maven_init_TVdata()
413 0x00, /* 35 written multiple times */ maven_init_TVdata()
414 0x00, /* 36 not written */ maven_init_TVdata()
421 0x00, /* 3E written multiple times */ maven_init_TVdata()
422 0x00, /* 3F not written */ maven_init_TVdata()
427 0x00, /* ? not written */ maven_init_TVdata()
428 0x00, /* modified by code (F9 written...) */ maven_init_TVdata()
429 0x00, /* ? not written */ maven_init_TVdata()
435 0x00, /* ? not written */ maven_init_TVdata()
465 0x00, /* 35 written multiple times */ maven_init_TVdata()
466 0x00, /* 36 not written */ maven_init_TVdata()
473 0x00, /* 3E written multiple times */ maven_init_TVdata()
474 0x00, /* never written */ maven_init_TVdata()
/linux-4.1.27/init/
H A Dinitramfs.c425 long written; flush_buffer() local
429 while ((written = write_buffer(buf, len)) < len && !message) { flush_buffer()
430 char c = buf[written]; flush_buffer()
432 buf += written; flush_buffer()
433 len -= written; flush_buffer()
436 buf += written; flush_buffer()
437 len -= written; flush_buffer()
451 long written; unpack_to_rootfs() local
470 written = write_buffer(buf, len); unpack_to_rootfs()
471 buf += written; unpack_to_rootfs()
472 len -= written; unpack_to_rootfs()
631 ssize_t written = xwrite(fd, (char *)initrd_start, populate_rootfs() local
634 if (written != initrd_end - initrd_start) populate_rootfs()
636 written, initrd_end - initrd_start); populate_rootfs()
/linux-4.1.27/security/keys/
H A Dbig_key.c52 ssize_t written; big_key_preparse() local
77 written = kernel_write(file, prep->data, prep->datalen, 0); big_key_preparse()
78 if (written != datalen) { big_key_preparse()
79 ret = written; big_key_preparse()
80 if (written >= 0) big_key_preparse()
/linux-4.1.27/drivers/nfc/nxp-nci/
H A Dfirmware.c115 remaining_len = fw_info->frame_size - fw_info->written; nxp_nci_fw_send_chunk()
127 memcpy(skb_put(skb, chunk_len), fw_info->data + fw_info->written, nxp_nci_fw_send_chunk()
151 if (fw_info->written == 0) { nxp_nci_fw_send()
165 fw_info->written += r; nxp_nci_fw_send()
196 if (fw_info->written == fw_info->frame_size) { nxp_nci_fw_work()
199 fw_info->written = 0; nxp_nci_fw_work()
246 fw_info->written = 0; nxp_nci_fw_download()
/linux-4.1.27/include/linux/mfd/syscon/
H A Datmel-smc.h75 * encoded value that can be written in the SMC_SETUP register.
105 * encoded value that can be written in the SMC_PULSE register.
135 * encoded value that can be written in the SMC_CYCLE register.
/linux-4.1.27/drivers/md/bcache/
H A Ddebug.c47 v->written = 0; bch_btree_verify()
88 printk(KERN_ERR "*** block %zu not written\n",
95 printk(KERN_ERR "b->written %u\n", b->written);
/linux-4.1.27/arch/mips/boot/dts/include/dt-bindings/dma/
H A Djz4780-dma.h5 * Request type numbers for the JZ4780 DMA controller (written to the DRTn
/linux-4.1.27/arch/mips/cavium-octeon/
H A Dcpu.c7 * written by Ralf Baechle <ralf@linux-mips.org>
/linux-4.1.27/fs/ramfs/
H A Dfile-mmu.c15 * how virtual filesystems can be written.
/linux-4.1.27/arch/sh/include/cpu-sh4/cpu/
H A Dsq.h19 * mapped to any physical address space. Since data is written (and aligned)
/linux-4.1.27/arch/mips/lib/
H A Diomap-pci.c7 * written by Ralf Baechle <ralf@linux-mips.org>
H A Dr3k_dump_tlb.c4 * Copyright (C) 1994, 1995 by Waldorf Electronics, written by Ralf Baechle.
/linux-4.1.27/arch/mips/pnx833x/common/
H A Dreset.c8 * Based on software written by:
H A Dprom.c8 * Based on software written by:
H A Dsetup.c8 * Based on software written by:
/linux-4.1.27/arch/powerpc/boot/dts/include/dt-bindings/dma/
H A Djz4780-dma.h5 * Request type numbers for the JZ4780 DMA controller (written to the DRTn
/linux-4.1.27/arch/arm64/boot/dts/include/dt-bindings/dma/
H A Djz4780-dma.h5 * Request type numbers for the JZ4780 DMA controller (written to the DRTn
/linux-4.1.27/arch/metag/boot/dts/include/dt-bindings/dma/
H A Djz4780-dma.h5 * Request type numbers for the JZ4780 DMA controller (written to the DRTn
/linux-4.1.27/arch/arm/boot/dts/include/dt-bindings/dma/
H A Djz4780-dma.h5 * Request type numbers for the JZ4780 DMA controller (written to the DRTn
/linux-4.1.27/sound/usb/line6/
H A Dplayback.h22 * written to the output buffer (i.e., the input signal) will be repeated in
/linux-4.1.27/include/asm-generic/
H A Dbitops.h9 * C language equivalents written by Theodore Ts'o, 9/26/92
/linux-4.1.27/include/dt-bindings/dma/
H A Djz4780-dma.h5 * Request type numbers for the JZ4780 DMA controller (written to the DRTn
/linux-4.1.27/arch/sh/mm/
H A Dtlb-pteaex.c43 * EPR bits need to be written out to PTEA, with the remainder of __update_tlb()
45 * and PR bits, which are cleared) being written out in PTEL. __update_tlb()
H A Dtlb-sh4.c39 * EPR bits need to be written out to PTEA, with the remainder of __update_tlb()
41 * and PR bits, which are cleared) being written out in PTEL. __update_tlb()
/linux-4.1.27/include/sound/
H A Dseq_midi_event.h46 /* encode from byte stream - return number of written bytes if success */
50 /* decode from event to bytes - return number of written bytes if success */
H A Dwm8962.h44 /* Setup for microphone detection, raw value to be written to
/linux-4.1.27/include/media/
H A Dtvp7002.h8 * written by Mauro Carvalho Chehab (mchehab@infradead.org),
9 * the TVP514x driver written by Vaibhav Hiremath <hvaibhav@ti.com>
H A Dadv7343.h27 * Registers can be read from and written in sleep mode.
H A Dtuner-types.h64 value written to the tda9887 is inverted. So a 0 here
69 value written to the tda9887 is inverted. So a 0 here
/linux-4.1.27/include/uapi/linux/
H A Dmic_ioctl.h33 * @out_len: The aggregate of the total length written to or read from
70 * as they should be written into the device page. The total size
H A Dbsg.h56 __u32 response_len; /* [o] bytes of response actually written */
H A Dresource.h69 * and other sensitive information are never written to disk.
/linux-4.1.27/arch/powerpc/include/asm/
H A Duser.h10 * Core file format: The core file is written in such a way that gdb
26 * that an integral number of pages is written.
H A Dmmu-8xx.h10 * operations when written/read. A TLB entry is created when the Mx_RPN
11 * is written, and the contents of several registers are used to
31 * about the last instruction TLB miss. When MI_RPN is written, bits in
42 * TLB entry when the MI_RPN is written.
91 * about the last instruction TLB miss. When MD_RPN is written, bits in
111 * when the MD_RPN is written. It is also provides the hardware assist
/linux-4.1.27/arch/cris/include/asm/
H A Duser.h10 * Core file format: The core file is written in such a way that gdb
25 * that an integral number of pages is written.
/linux-4.1.27/arch/ia64/include/asm/
H A Duser.h5 * Core file format: The core file is written in such a way that gdb
21 * that an integral number of pages is written.
/linux-4.1.27/arch/m32r/include/asm/
H A Duser.h9 * Core file format: The core file is written in such a way that gdb
25 * that an integral number of pages is written.
/linux-4.1.27/arch/alpha/include/asm/
H A Duser.h11 * Core file format: The core file is written in such a way that gdb
27 * that an integral number of pages is written.
/linux-4.1.27/drivers/staging/unisys/common-spar/include/
H A Dvbusdeviceinfo.h46 * Returns the number of bytes written to <p>.
49 * case, we simply return the number of bytes that WOULD HAVE been written
98 * written to <p>.
100 * Returns the number of bytes written to <p>.
146 * written to <p>.
150 * Returns the number of bytes written to <p>.
/linux-4.1.27/fs/ubifs/
H A Dtnc_commit.c33 * @lnum: LEB number where new index node will be written
34 * @offs: offset where new index node will be written
109 * This function returns the number of index nodes written into the gap.
114 int len, gap_remains, gap_pos, written, pad_len; fill_gap() local
124 written = 0; fill_gap()
142 written += 1; fill_gap()
153 dbg_gc("LEB %d:%d to %d len %d nodes written %d wasted bytes %d", fill_gap()
154 lnum, gap_start, gap_end, gap_end - gap_start, written, pad_len); fill_gap()
157 return written; fill_gap()
226 * This function returns the number of index nodes written into the gaps, or a
233 int lnum, dirt = 0, gap_start, gap_end, err, written, tot_written; layout_leb_in_gaps() local
282 written = fill_gap(c, lnum, gap_start, gap_end, &dirt); layout_leb_in_gaps()
283 if (written < 0) { layout_leb_in_gaps()
285 return written; /* Error code */ layout_leb_in_gaps()
287 tot_written += written; layout_leb_in_gaps()
295 written = fill_gap(c, lnum, gap_start, gap_end, &dirt); layout_leb_in_gaps()
296 if (written < 0) layout_leb_in_gaps()
297 return written; /* Error code */ layout_leb_in_gaps()
298 tot_written += written; layout_leb_in_gaps()
363 int err, leb_needed_cnt, written, *p; layout_in_gaps() local
374 written = layout_leb_in_gaps(c, p); layout_in_gaps()
375 if (written < 0) { layout_in_gaps()
376 err = written; layout_in_gaps()
395 cnt -= written; layout_in_gaps()
H A Dlpt_commit.c560 * pnodes. Note that pnodes that have never been written (lnum == 0) are
694 * properties tree to be written. The "small" LPT model does not use LPT
775 * written) and un-maps LPT LEBs that were marked for trivial GC.
892 * @lnum: LEB number where nnode was written
893 * @offs: offset where nnode was written
898 * dirty. The dirty nodes are written next commit, after which the LEB is free
941 * @lnum: LEB number where pnode was written
942 * @offs: offset where pnode was written
947 * dirty. The dirty nodes are written next commit, after which the LEB is free
971 * @lnum: LEB number where ltab was written
972 * @offs: offset where ltab was written
977 * dirty. The dirty nodes are written next commit, after which the LEB is free
996 * @lnum: LEB number where lsave was written
997 * @offs: offset where lsave was written
1002 * dirty. The dirty nodes are written next commit, after which the LEB is free
1023 * @lnum: LEB number where node was written
1024 * @offs: offset where node was written
1029 * dirty. The dirty nodes are written next commit, after which the LEB is free
1143 * in the LEB being garbage-collected as dirty. The dirty nodes are written
1512 * @lnum: LEB number where nnode was written
1513 * @offs: offset where nnode was written
1547 * @lnum: LEB number where pnode was written
1548 * @offs: offset where pnode was written
1576 * @lnum: LEB number where ltab node was written
1577 * @offs: offset where ltab node was written
1589 * @lnum: LEB number where lsave node was written
1590 * @offs: offset where lsave node was written
1603 * @lnum: LEB number where node was written
1604 * @offs: offset where node was written
1625 * @lnum: LEB number where node was written
1626 * @offs: offset where node was written
1774 * @len: length written
1781 * o %3 - check that we've written the right number of bytes.
/linux-4.1.27/drivers/ata/
H A Dlibata-transport.c492 int written; member in struct:ata_show_ering_arg
501 arg->written += sprintf(arg->buf + arg->written, ata_show_ering()
504 arg->written += get_ata_err_names(ent->err_mask, ata_show_ering()
505 arg->buf + arg->written); ata_show_ering()
517 return arg.written; show_ata_dev_ering()
528 int written = 0, i = 0; show_ata_dev_id() local
533 written += snprintf(buf+written, 20, "%04x%c", show_ata_dev_id()
537 return written; show_ata_dev_id()
547 int written = 0, i = 0; show_ata_dev_gscr() local
552 written += snprintf(buf+written, 20, "%08x%c", show_ata_dev_gscr()
557 buf[written-1] = '\n'; show_ata_dev_gscr()
558 return written; show_ata_dev_gscr()
/linux-4.1.27/fs/ceph/
H A Dfile.c571 int written = 0; ceph_sync_direct_write() local
649 written += n; ceph_sync_direct_write()
661 if (ret != -EOLDSNAPC && written > 0) { ceph_sync_direct_write()
663 ret = written; ceph_sync_direct_write()
689 int written = 0; ceph_sync_write() local
779 written += len; ceph_sync_write()
792 if (ret != -EOLDSNAPC && written > 0) { ceph_sync_write()
793 ret = written; ceph_sync_write()
944 ssize_t count, written = 0; ceph_write_iter() local
1004 written = ceph_sync_direct_write(iocb, &data, pos); ceph_write_iter()
1006 written = ceph_sync_write(iocb, &data, pos); ceph_write_iter()
1007 if (written == -EOLDSNAPC) { ceph_write_iter()
1015 if (written > 0) ceph_write_iter()
1016 iov_iter_advance(from, written); ceph_write_iter()
1026 written = generic_perform_write(file, from, pos); ceph_write_iter()
1027 if (likely(written >= 0)) ceph_write_iter()
1028 iocb->ki_pos = pos + written; ceph_write_iter()
1034 if (written >= 0) { ceph_write_iter()
1049 if (written >= 0 && ceph_write_iter()
1052 err = vfs_fsync_range(file, pos, pos + written - 1, 1); ceph_write_iter()
1054 written = err; ceph_write_iter()
1063 return written ? written : err; ceph_write_iter()
/linux-4.1.27/drivers/media/usb/gspca/
H A Dspca505.c149 /* DIFF not written */
151 /* DIFF not written */
153 /* DIFF not written */
155 /* DIFF not written */
157 /* DIFF not written */
159 /* DIFF not written */
161 /* DIFF not written */
163 /* DIFF not written */
165 /* DIFF not written */
167 /* DIFF not written */
169 /* DIFF not written */
171 /* DIFF not written */
173 /* DIFF not written */
179 /* DIFF not written */
/linux-4.1.27/drivers/tty/vt/
H A Dvc_screen.c380 long attr, size, written; vcs_write() local
410 written = 0; vcs_write()
432 if (written) vcs_write()
441 * Return data written up to now on failure. vcs_write()
445 if (written) vcs_write()
544 written += orig_count; vcs_write()
550 *ppos += written; vcs_write()
551 ret = written; vcs_write()
552 if (written) vcs_write()
/linux-4.1.27/Documentation/misc-devices/mei/
H A Dmei-amt-version.c51 * from this software without specific prior written permission.
176 ssize_t written; mei_send_msg() local
185 written = write(me->fd, buffer, len); mei_send_msg()
186 if (written < 0) { mei_send_msg()
189 written, strerror(errno)); mei_send_msg()
206 rc = written; mei_send_msg()
374 ssize_t written; amt_host_if_call() local
385 written = mei_send_msg(&acmd->mei_cl, amt_host_if_call()
387 if (written != command_sz) amt_host_if_call()
/linux-4.1.27/drivers/scsi/aic7xxx/
H A Daic7xxx_proc.c18 * from this software without specific prior written permission.
195 int written; ahc_proc_write_seeprom() local
198 written = -EINVAL; ahc_proc_write_seeprom()
275 written = length; ahc_proc_write_seeprom()
282 return (written); ahc_proc_write_seeprom()
H A Daic79xx_proc.c18 * from this software without specific prior written permission.
215 int written; ahd_proc_write_seeprom() local
218 written = -EINVAL; ahd_proc_write_seeprom()
260 written = length; ahd_proc_write_seeprom()
268 return (written); ahd_proc_write_seeprom()
/linux-4.1.27/drivers/scsi/libsas/
H A Dsas_host_smp.c121 int written; sas_host_smp_write_gpio() local
128 written = i->dft->lldd_write_gpio(sas_ha, reg_type, reg_index, sas_host_smp_write_gpio()
131 if (written < 0) { sas_host_smp_write_gpio()
133 written = 0; sas_host_smp_write_gpio()
137 return written; sas_host_smp_write_gpio()
/linux-4.1.27/drivers/usb/misc/sisusbvga/
H A Dsisusb_con.c22 * * derived from this software without specific psisusbr written permission.
370 ssize_t written; sisusbcon_putc() local
383 (long)SISUSB_HADDR(x, y), 2, &written); sisusbcon_putc() local
394 ssize_t written; sisusbcon_putcs() local
418 (long)SISUSB_HADDR(x, y), count * 2, &written); sisusbcon_putcs() local
429 ssize_t written; sisusbcon_clear() local
472 (long)SISUSB_HADDR(x, y), length, &written); sisusbcon_clear() local
483 ssize_t written; sisusbcon_bmove() local
505 (long)SISUSB_HADDR(dx, dy), length, &written); sisusbcon_bmove() local
515 ssize_t written; sisusbcon_switch() local
554 length, &written); sisusbcon_switch()
637 ssize_t written; sisusbcon_blank() local
664 c->vc_screenbuf_size, &written); sisusbcon_blank() local
850 ssize_t written; sisusbcon_scroll_area() local
880 (long)SISUSB_HADDR(0, t), length, &written); sisusbcon_scroll_area()
893 ssize_t written; sisusbcon_scroll() local
985 c->vc_screenbuf_size, &written); sisusbcon_scroll() local
991 delta, &written); sisusbcon_scroll() local
996 delta, &written); sisusbcon_scroll()
/linux-4.1.27/drivers/gpio/
H A Dgpio-mm-lantiq.c25 * written to outputs 16 bit to the latches.
58 * @val: Value to be written to specified signal.
79 * @val: Value to be written to specified signal.
/linux-4.1.27/drivers/usb/misc/
H A Duss720.c503 size_t written = 0; parport_uss720_epp_write_data()
507 for (; written < length; written++) { parport_uss720_epp_write_data()
519 return written; parport_uss720_epp_write_data()
561 size_t written = 0; parport_uss720_epp_write_addr() local
565 for (; written < length; written++) { parport_uss720_epp_write_addr()
577 return written; parport_uss720_epp_write_addr()
618 size_t written = 0; parport_uss720_ecp_write_addr() local
622 for (; written < len; written++) { parport_uss720_ecp_write_addr()
628 return written; parport_uss720_ecp_write_addr()
/linux-4.1.27/arch/arm/mach-pxa/include/mach/
H A Dsmemc.h24 #define SXLCR (SMEMC_VIRT + 0x18) /* LCR value to be written to SDRAM-Timing Synchronous Flash */
26 #define SXMRS (SMEMC_VIRT + 0x24) /* MRS value to be written to Synchronous Flash or SMROM */
33 #define MDMRS (SMEMC_VIRT + 0x40) /* MRS value to be written to SDRAM */
/linux-4.1.27/drivers/net/wireless/rsi/
H A Drsi_91x_usb.c25 * @len: Length to be written.
60 * @data: Pointer to the data that has to be written.
61 * @count: Number of multiple bytes to be written.
190 * @len: Length of data to be written.
281 * @data: Pointer to the data that has to be written.
282 * @count: Number of multiple bytes to be written on to the registers.
331 * @pkt: Pointer to the data to be written on to the card.
332 * @len: Length of the data to be written on to the card.
H A Drsi_91x_usb_ops.c27 * @fw: Pointer to the firmware value to be written.
29 * @num_blocks: Number of blocks to be written to the card.
/linux-4.1.27/drivers/pwm/
H A Dpwm-ab8500.c35 * get the first 8 bits that are be written to ab8500_pwm_config()
40 * get bits [9:10] that are to be written to ab8500_pwm_config()
/linux-4.1.27/arch/sparc/include/asm/
H A Dbackoff.h29 * The cpu will block the number of cycles written into the register,
34 * into the pause counter. If a value smaller than 8 is written, the
H A Dswitch_to_64.h23 /* so that ASI is only written if it changes, think again. */ \
/linux-4.1.27/drivers/gpu/host1x/
H A Dcdma.h47 u32 fence; /* index we've written */
75 unsigned int last_pos; /* last value written to DMAPUT */
/linux-4.1.27/drivers/md/persistent-data/
H A Ddm-block-manager.h71 * written back to the disk sometime after dm_bm_unlock is called.
103 * this function. All dirty blocks are guaranteed to be written and flushed
/linux-4.1.27/arch/sh/include/asm/
H A Duser.h8 * Core file format: The core file is written in such a way that gdb
23 * that an integral number of pages is written.
/linux-4.1.27/arch/avr32/include/asm/
H A Dcacheflush.h35 * Make sure any cacheline containing virtual address vaddr is written
47 * Make sure any cacheline containing virtual address vaddr is written
H A Duser.h19 * Core file format: The core file is written in such a way that gdb
34 * that an integral number of pages is written.
/linux-4.1.27/arch/arm/kernel/
H A Dfiq.c7 * FIQ support written by Philip Blundell <philb@gnu.org>, 1998.
9 * FIQ support re-written by Russell King to be more generic
/linux-4.1.27/samples/kobject/
H A Dkobject-example.c19 * "foo", "baz", and "bar". If an integer is written to these files, it can be
28 * The "foo" file where a static variable is read from and written to.
/linux-4.1.27/drivers/isdn/hisax/
H A Dicc.h13 * written by Karsten Keil.
/linux-4.1.27/drivers/hwmon/
H A Dhih6130.c169 * @buf: sysfs buffer (PAGE_SIZE) where measurement values are written to
172 * Returns number of bytes written into buffer, negative errno on error.
191 * @buf: sysfs buffer (PAGE_SIZE) where measurement values are written to
194 * Returns number of bytes written into buffer, negative errno on error.
H A Dsht21.c128 * @buf: sysfs buffer (PAGE_SIZE) where measurement values are written to
131 * Returns number of bytes written into buffer, negative errno on error.
150 * @buf: sysfs buffer (PAGE_SIZE) where measurement values are written to
153 * Returns number of bytes written into buffer, negative errno on error.
/linux-4.1.27/drivers/misc/vmw_vmci/
H A Dvmci_doorbell.h37 * written to the checkpoint as is, so changing this structure will
/linux-4.1.27/drivers/mtd/nand/
H A Dsm_common.h12 /* Full oob structure as written on the flash */
H A Ddocg4.c58 * written at a time, because the addresses do not increment in the normal
70 * data written by the TrueFFS library (i.e., by PalmOS, Windows, etc), since
72 * This will also skip the check of the "page written" flag.
223 * Byte 15 (the last) is used by the driver as a "page written" flag.
391 /* skip additional check of "written flag" if ignore_badblocks */ correct_data()
397 * errors. Check the "written flag" in last oob byte, which correct_data()
398 * is set to zero when a page is written. If more than half correct_data()
517 * erasure, and after page data is written. On error, the status is read_progstatus()
662 * read/written immediately after the 512 bytes of page data. This oob mtd_to_docg4_address()
670 * written as a unit. Each "sub-page" is always addressed individually, mtd_to_docg4_address()
671 * its data read/written, and ecc handled before the next "sub-page" is mtd_to_docg4_address()
677 * The address that is written to the device consists of four bytes: the mtd_to_docg4_address()
890 /* only 2 bytes of address are written to specify erase block */ docg4_erase_block()
941 /* oob bytes 0 through 5 are written to I/O reg */ write_page()
944 /* oob byte 6 written to a separate reg */ write_page()
960 ecc_buf[7] = 0; /* clear the "page written" flag */ write_page()
998 * if the same page is subsequently written. This allows user space docg4_write_oob()
1250 * The way the nand infrastructure code is written, a memory-based bbt init_mtd_structs()
/linux-4.1.27/drivers/media/rc/keymaps/
H A Drc-encore-enltv2.c16 /* Encore ENLTV2-FM - silver plastic - "Wand Media" written at the botton
H A Drc-genius-tvgo-a11mce.c50 an alternate name written */
/linux-4.1.27/drivers/pci/pcie/
H A Dportdrv_acpi.c30 * allows to be enabled for @port is written to @srv_mask.
/linux-4.1.27/drivers/pci/
H A Dsetup-irq.c4 * Extruded from code written by
/linux-4.1.27/arch/unicore32/include/asm/
H A Dcacheflush.h81 * Ensure that the data held in page is written back.
107 * is visible to DMA, or data written by DMA to system memory is
163 * see data written in the specified area.
168 * flush_dcache_page is used when the kernel has written to the page
/linux-4.1.27/drivers/char/tpm/st33zp24/
H A Di2c.c40 * @param: tpm_register, the tpm tis register where the data should be written
43 * @return: Returns negative errno, or else the number of bytes written.
79 * @param: tpm_register, the tpm tis register where the data should be written
82 * @return: number of byte written successfully: should be one if success.
/linux-4.1.27/arch/mips/include/asm/mips-boards/
H A Dsead3-addr.h7 * written by Ralf Baechle <ralf@linux-mips.org>
/linux-4.1.27/drivers/video/fbdev/msm/
H A Dmddi_hw.h227 * Bits [7:6] = 01 Pixel data is written to the offline image buffer.
228 * Bits [7:6] = 00 Pixel data is written to the buffer to refresh display.
229 * Bits [7:6] = 11 Pixel data is written to all image buffers.
283 /* the register address that is to be written to or read from. */
/linux-4.1.27/drivers/media/common/siano/
H A Dsmsir.h10 - Code almost re-written
/linux-4.1.27/drivers/media/dvb-frontends/
H A Dbcm3510.h6 * GPL/Linux driver written by Patrick Boettcher <patrick.boettcher@desy.de>
H A Dtda8083.h6 written by Ralph Metzler <ralph@convergence.de>
/linux-4.1.27/include/trace/events/
H A Djbd2.h292 __field( __u32, written )
301 __entry->written = stats->cs_written;
306 "written %u dropped %u",
309 __entry->forced_to_close, __entry->written, __entry->dropped)
/linux-4.1.27/include/linux/usb/
H A Dehci-dbgp.h4 * Originally written by:
/linux-4.1.27/arch/powerpc/platforms/82xx/
H A Dpq2ads.h10 * Originally written by Dan Malek for Motorola MPC8260 family
/linux-4.1.27/arch/s390/include/uapi/asm/
H A Dkvm_virtio.h30 /* A status byte, written by the Guest. */
/linux-4.1.27/arch/mips/netlogic/xlp/
H A Dcop2-ex.c10 * written by Ralf Baechle <ralf@linux-mips.org>
/linux-4.1.27/arch/openrisc/include/asm/
H A Dbitops.h23 * Where we haven't written assembly versions yet, we fall back to the
/linux-4.1.27/arch/parisc/include/uapi/asm/
H A Dptrace.h0 /* written by Philipp Rumpf, Copyright (C) 1999 SuSE GmbH Nuernberg
/linux-4.1.27/arch/avr32/mach-at32ap/
H A Dhmatrix.c29 * @value: value to be written to the register at @offset
/linux-4.1.27/arch/ia64/scripts/
H A Dunwcheck.py9 # Based on a shell/awk script originally written by Harish Patil,
/linux-4.1.27/arch/arm/mach-omap2/
H A Dcm-regbits-7xx.h6 * Generated by code originally written by:
H A Dprcm_mpu7xx.h6 * Generated by code originally written by:
H A Dclock36xx.c11 * Parts of this code are based on code written by
/linux-4.1.27/arch/arm/mach-sa1100/include/mach/
H A Dshannon.h5 * written by <forsyth@vitanuova.com> */
/linux-4.1.27/arch/arm/nwfpe/
H A Dmilieu.h12 of this code was written as part of a project to build a fixed-point vector
/linux-4.1.27/arch/arm/include/asm/
H A Dfiq.h6 * Re-written by Russell King
H A Duser.h6 /* Core file format: The core file is written in such a way that gdb
25 number of pages is written.
/linux-4.1.27/arch/alpha/kernel/
H A Dirq_pyxis.c4 * Based on code written by David A Rusling (david.rusling@reo.mts.dec.com).
H A Dpc873xx.c38 outb(data, base + 1); /* Must be written twice */ pc873xx_write()
/linux-4.1.27/arch/arc/kernel/
H A Dctx_sw_asm.S10 * -This is the more "natural" hand written assembler
/linux-4.1.27/fs/ecryptfs/
H A Dread_write.c37 * Returns bytes written on success; less than zero on error
56 * @page_for_lower: The page containing the data to be written to the
98 * written to the lower page cache (via VFS writes). This function
244 * written
/linux-4.1.27/fs/gfs2/
H A Dbmap.h23 * @len: the number of bytes to be written to the file
/linux-4.1.27/mm/
H A Dmaccess.c40 * @src: pointer to the data that shall be written
H A Dfilemap.c205 * At this point page must be either written or cleaned by truncate. __delete_from_page_cache()
397 * written partially (e.g. -ENOSPC), so we wait for it. filemap_write_and_wait()
421 * Note that `lend' is inclusive (describes the last byte to be written) so
1453 * @written: already copied
1462 struct iov_iter *iter, ssize_t written) do_generic_file_read()
1571 written += ret; do_generic_file_read()
1677 return written ? written : error; do_generic_file_read()
2299 * If we have written data it becomes a short write. If we have generic_write_checks()
2338 ssize_t written; generic_file_direct_write() local
2346 written = filemap_write_and_wait_range(mapping, pos, pos + write_len - 1); generic_file_direct_write()
2347 if (written) generic_file_direct_write()
2357 written = invalidate_inode_pages2_range(mapping, generic_file_direct_write()
2363 if (written) { generic_file_direct_write()
2364 if (written == -EBUSY) generic_file_direct_write()
2371 written = mapping->a_ops->direct_IO(iocb, &data, pos); generic_file_direct_write()
2386 if (written > 0) { generic_file_direct_write()
2387 pos += written; generic_file_direct_write()
2388 iov_iter_advance(from, written); generic_file_direct_write()
2396 return written; generic_file_direct_write()
2428 ssize_t written = 0; generic_perform_write() local
2503 written += copied; generic_perform_write()
2508 return written ? written : status; generic_perform_write()
2534 ssize_t written = 0; __generic_file_write_iter() local
2551 written = generic_file_direct_write(iocb, from, iocb->ki_pos); __generic_file_write_iter()
2559 if (written < 0 || !iov_iter_count(from) || IS_DAX(inode)) __generic_file_write_iter()
2566 * direct-written, or the error code if that was zero. Note __generic_file_write_iter()
2568 * will return -EFOO even if some bytes were written. __generic_file_write_iter()
2575 * We need to ensure that the page cache pages are written to __generic_file_write_iter()
2583 written += status; __generic_file_write_iter()
2590 * the number of bytes which were direct-written __generic_file_write_iter()
2594 written = generic_perform_write(file, from, iocb->ki_pos); __generic_file_write_iter()
2595 if (likely(written > 0)) __generic_file_write_iter()
2596 iocb->ki_pos += written; __generic_file_write_iter()
2600 return written ? written : err; __generic_file_write_iter()
1461 do_generic_file_read(struct file *filp, loff_t *ppos, struct iov_iter *iter, ssize_t written) do_generic_file_read() argument
/linux-4.1.27/net/nfc/nci/
H A Dlib.c10 * This file is based on lib.c, which was written
/linux-4.1.27/samples/bpf/
H A Dbpf_helpers.h10 /* helper functions called from eBPF programs written in C */
/linux-4.1.27/sound/arm/
H A Daaci.h46 #define AACI_DR1 0x090 /* data read/written fifo 1 */
47 #define AACI_DR2 0x0b0 /* data read/written fifo 2 */
48 #define AACI_DR3 0x0d0 /* data read/written fifo 3 */
49 #define AACI_DR4 0x0f0 /* data read/written fifo 4 */
/linux-4.1.27/sound/pci/au88x0/
H A Dau88x0_wt.h50 delay, /* b W All 4 values are written at once with same value. */
/linux-4.1.27/tools/testing/selftests/mount/
H A Dunprivileged-remount-test.c60 ssize_t written; vmaybe_write_file() local
79 written = write(fd, buf, buf_len); vmaybe_write_file()
80 if (written != buf_len) { vmaybe_write_file()
81 if (written >= 0) { vmaybe_write_file()
/linux-4.1.27/include/linux/amba/
H A Dmmci.h18 * in MMCIPWR) or:ed and written into the MMCIPWR register of the
/linux-4.1.27/include/linux/mfd/
H A Dtc6393xb.h9 * Based on code written by Sharp/Lineo for 2.4 kernels
/linux-4.1.27/drivers/staging/comedi/drivers/
H A Dunioxx5.c31 This card supports digital and analog I/O. It written for g01
75 /* for saving previous written value for analog modules */
77 unsigned char usp_prev_wr_val[3]; /* previous written value */
220 /* getting previous written value */ __unioxx5_digital_write()
229 /* saving new written value */ __unioxx5_digital_write()
343 /* gets previously written value */ unioxx5_insn_config()
367 /* saves written value */ unioxx5_insn_config()
/linux-4.1.27/drivers/parport/
H A Dieee1284_ops.c411 size_t written; parport_ieee1284_ecp_write_data()
428 for (written = 0; written < len; written++, buf++) { parport_ieee1284_ecp_write_data()
485 return written; parport_ieee1284_ecp_write_data()
646 size_t written; parport_ieee1284_ecp_write_addr()
664 for (written = 0; written < len; written++, buf++) { parport_ieee1284_ecp_write_addr()
721 return written; parport_ieee1284_ecp_write_addr()
H A Dparport_ip32.c1153 size_t written; parport_ip32_epp_write() local
1163 written = len; parport_ip32_epp_write()
1166 for (written = 0; written < len; written++) { parport_ip32_epp_write()
1175 return written; parport_ip32_epp_write()
1271 * Returns the number of bytes that can safely be written in the FIFO. A
1311 * Returns the number of bytes that can safely be written in the FIFO. A
1388 * FIFO. Returns the number of bytes that were actually written. It can work
1432 * FIFO. Returns the number of bytes that were actually written. The
1443 size_t written; parport_ip32_fifo_write_block_dma() local
1465 written = len - parport_ip32_dma_get_residue(); parport_ip32_fifo_write_block_dma()
1469 return written; parport_ip32_fifo_write_block_dma()
1479 * p FIFO. Returns the number of bytes that were actually written.
1484 size_t written = 0; parport_ip32_fifo_write_block() local
1488 written = (p->modes & PARPORT_MODE_DMA) ? parport_ip32_fifo_write_block()
1491 return written; parport_ip32_fifo_write_block()
1637 size_t written = 0; parport_ip32_compat_write_data() local
1664 written = parport_ip32_fifo_write_block(p, buf, len); parport_ip32_compat_write_data()
1670 written -= parport_ip32_get_fifo_residue(p, ECR_MODE_PPF); parport_ip32_compat_write_data()
1682 return written; parport_ip32_compat_write_data()
1703 size_t written = 0; parport_ip32_ecp_write_data() local
1745 written = parport_ip32_fifo_write_block(p, buf, len); parport_ip32_ecp_write_data()
1751 written -= parport_ip32_get_fifo_residue(p, ECR_MODE_ECP); parport_ip32_ecp_write_data()
1763 return written; parport_ip32_ecp_write_data()
/linux-4.1.27/drivers/net/ethernet/sfc/
H A Dio.h25 * Many CSRs are very wide and cannot be read or written atomically.
28 * the BIU collects the written value and does not write to the
29 * underlying register until all 4 dwords have been written. A
50 * written. If the collector and the current write together do not
52 * will be written as zero.
/linux-4.1.27/drivers/char/xilinx_hwicap/
H A Dxilinx_hwicap.c235 * Create the data to be written to the ICAP. hwicap_command_desync()
269 * Create the data to be written to the ICAP. hwicap_get_configuration_register()
441 ssize_t written = 0; hwicap_write() local
479 buf + written, hwicap_write()
486 if (copy_from_user(kbuf, buf + written, len)) { hwicap_write()
506 written += len; hwicap_write()
511 buf + written, left)) { hwicap_write()
513 written += left; hwicap_write()
519 status = written; hwicap_write()
/linux-4.1.27/drivers/misc/eeprom/
H A Dat25.c95 /* 8/16/24-bit address is written MSB first */ at25_ee_read()
154 unsigned written = 0; at25_ee_write() local
199 /* 8/16/24-bit address is written MSB first */ at25_ee_write()
258 written += segment; at25_ee_write()
265 return written ? written : status; at25_ee_write()
/linux-4.1.27/drivers/net/wireless/rt2x00/
H A Drt2x00usb.h93 * @buffer: Buffer where information will be read/written to by device
114 * @buffer: Buffer where information will be read/written to by device
136 * @buffer: Buffer where information will be read/written to by device
252 * @value: Data which should be written
271 * @value: Data which should be written
290 * @value: Data which should be written
/linux-4.1.27/fs/logfs/
H A Dinode.c33 * are being written out - and waiting for GC to make progress, naturally.
238 * In logfs inodes are written to an inode file. The inode file, like any
241 * written to the inode file, so it is stored in the journal instead.
243 * Secondly, this inode cannot be written back and destroyed before all other
244 * inodes have been written. The ordering is important. Linux' VFS is happily
249 * So logfs makes sure the master inode is not written until all other inodes
/linux-4.1.27/fs/ntfs/
H A Dfile.c249 /* Set the page dirty so it gets written out. */ ntfs_attr_extend_initialized()
394 /* The first byte after the last cluster being written to. */ ntfs_prepare_file_for_write()
563 * @bytes: number of bytes to be written
572 * only partially being written to.
685 * the buffer is only partially being written to, we ntfs_prepare_pages_for_non_resident_write()
732 * gets written out if we allocated it. On the other ntfs_prepare_pages_for_non_resident_write()
755 * uptodate and is only partially being written ntfs_prepare_pages_for_non_resident_write()
790 * written out. If it is partially being written to, ntfs_prepare_pages_for_non_resident_write()
1394 * @bytes: number of bytes to be written
1498 /* Mark the mft record dirty, so it gets written back. */ ntfs_commit_pages_after_non_resident_write()
1522 * @bytes: number of bytes to be written
1534 * Setting the buffers dirty ensures that they get written out later when
1658 /* Mark the mft record dirty, so it gets written back. */ ntfs_commit_pages_after_write()
1756 ssize_t status, written = 0; ntfs_perform_write() local
1865 * being written to. ntfs_perform_write()
1915 written += copied; ntfs_perform_write()
1924 ntfs_debug("Done. Returning %s (written 0x%lx, status %li).", ntfs_perform_write()
1925 written ? "written" : "status", (unsigned long)written, ntfs_perform_write()
1927 return written ? written : status; ntfs_perform_write()
1943 ssize_t written = 0; ntfs_file_write_iter() local
1951 written = ntfs_perform_write(file, from, iocb->ki_pos); ntfs_file_write_iter()
1954 if (likely(written > 0)) { ntfs_file_write_iter()
1955 err = generic_write_sync(file, iocb->ki_pos, written); ntfs_file_write_iter()
1957 written = 0; ntfs_file_write_iter()
1959 iocb->ki_pos += written; ntfs_file_write_iter()
1960 return written ? written : err; ntfs_file_write_iter()
1978 * Also, if @datasync is true, we do not wait on the inode to be written out
1979 * but we always wait on the page cache pages to be written out.
/linux-4.1.27/drivers/ide/
H A Dbuddha.c6 * This driver was written based on the specifications in README.buddha and
116 * X-Surf needs 0 written to IRQ register to ensure ISA bit A11 stays at 0 xsurf_clear_irq()
/linux-4.1.27/drivers/media/i2c/
H A Dtvp7002_reg.h8 * written by Mauro Carvalho Chehab (mchehab@infradead.org),
9 * the TVP514x driver written by Vaibhav Hiremath <hvaibhav@ti.com>
/linux-4.1.27/drivers/scsi/ufs/
H A Dufs-qcom.h126 * Make sure assertion of ufs phy reset is written to ufs_qcom_assert_reset()
138 * Make sure de-assertion of ufs phy reset is written to ufs_qcom_deassert_reset()
/linux-4.1.27/drivers/staging/speakup/
H A Dspeakup_acntsa.c2 * originally written by: Kirk Reiser <kirk@braille.uwo.ca>
22 * this code is specificly written as a driver for the speakup screenreview
H A Dspeakup_audptr.c2 * originally written by: Kirk Reiser <kirk@braille.uwo.ca>
22 * specificly written as a driver for the speakup screenreview
H A Dspeakup_bns.c2 * originally written by: Kirk Reiser <kirk@braille.uwo.ca>
22 * this code is specificly written as a driver for the speakup screenreview
H A Dspeakup_dummy.c2 * originally written by: Kirk Reiser <kirk@braille.uwo.ca>
24 * specificly written as a driver for the speakup screenreview
H A Dspeakup_ltlk.c2 * originally written by: Kirk Reiser <kirk@braille.uwo.ca>
22 * specificly written as a driver for the speakup screenreview
H A Dspeakup_spkout.c2 * originally written by: Kirk Reiser <kirk@braille.uwo.ca>
22 * specificly written as a driver for the speakup screenreview
H A Dspeakup_txprt.c2 * originally written by: Kirk Reiser <kirk@braille.uwo.ca>
22 * specificly written as a driver for the speakup screenreview
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_dcb.h5 * Unless you and Broadcom execute a separate written software license
12 * license other than the GPL, without Broadcom's express prior written
/linux-4.1.27/arch/sparc/include/uapi/asm/
H A Dperfctr.h31 /* Disable UltraSparc performance counters. The PCR is written
47 * written.
/linux-4.1.27/arch/powerpc/platforms/cell/spufs/
H A Dcoredump.c175 roundup(cprm->written - total + sz, 4) - cprm->written)) spufs_arch_write_note()
/linux-4.1.27/arch/s390/include/asm/
H A Duser.h12 /* Core file format: The core file is written in such a way that gdb
31 number of pages is written.
/linux-4.1.27/arch/mn10300/mm/
H A Dcache-flush-icache.c23 * run code from it that we've just written into it
104 * This is used by the kernel to globally flush some code it has just written
/linux-4.1.27/arch/arm64/include/asm/
H A Dcacheflush.h68 * Ensure that the data held in page is written back.
109 * flush_dcache_page is used when the kernel has written to the page
/linux-4.1.27/arch/cris/arch-v10/drivers/
H A Deeprom.c513 int i, written, restart=1; eeprom_write() local
527 written = 0; eeprom_write()
531 while( (written < count) && (p < eeprom.size)) eeprom_write()
635 i2c_outbyte(buf[written]); eeprom_write()
643 written++; eeprom_write()
645 } while( written < count && ( p % eeprom.sequential_write_pagesize )); eeprom_write()
654 if (written == 0 && p >= eeprom.size){ eeprom_write()
658 return written; eeprom_write()
/linux-4.1.27/arch/frv/include/asm/
H A Duser.h17 /* Core file format: The core file is written in such a way that gdb
41 * written.
/linux-4.1.27/arch/m68k/include/asm/
H A Duser.h4 /* Core file format: The core file is written in such a way that gdb
23 number of pages is written.

Completed in 3769 milliseconds

1234567891011>>