Home
last modified time | relevance | path

Searched refs:written (Results 1 – 25 of 1040) sorted by relevance

12345678910>>...42

/linux-6.3-rc2/Documentation/ABI/obsolete/
A Dsysfs-driver-hid-roccat-ryos16 When written, the device activates the set profile immediately.
25 a specific profile. Profile index is included in written data.
27 Before reading this file, control has to be written to select
36 in written data. The data has to be 95 bytes long.
37 Before reading this file, control has to be written to select
46 written data. The data has to be 35 bytes long.
47 Before reading this file, control has to be written to select
56 in written data. The data has to be 23 bytes long.
76 in written data. The data has to be 294 bytes long.
87 written data. The data has to be 6 bytes long.
[all …]
A Dsysfs-driver-hid-roccat-isku8 When written, this file sets the number of the startup profile
26 written data. The data has to be 6 bytes long.
27 Before reading this file, control has to be written to select
36 in written data. The data has to be 6 bytes long.
37 Before reading this file, control has to be written to select
46 in written data. The data has to be 65 bytes long.
56 in written data. The data has to be 41 bytes long.
66 written data. The data has to be 35 bytes long.
76 written data. The data has to be 29 bytes long.
86 in written data. The data has to be 23 bytes long.
[all …]
A Dsysfs-driver-hid-roccat-savu7 button layout. When written, this file lets one write the
13 Before reading this file, control has to be written to select
20 Description: When written, this file lets one select which data from which
32 When written, this file lets one write the respective profile
44 When written, the device can be reset.
51 Description: When written, this file lets one store macros with max 500
53 Button and profile numbers are included in written data.
55 Before reading this file, control has to be written to select
66 When written, the mouse activates the set profile immediately.
/linux-6.3-rc2/arch/mips/sibyte/common/
A Dcfe_console.c16 int i, last, written; in cfe_console_write() local
24 written = cfe_write(cfe_cons_handle, &str[last], i-last); in cfe_console_write()
25 if (written < 0) in cfe_console_write()
27 last += written; in cfe_console_write()
35 written = cfe_write(cfe_cons_handle, &str[last], count-last); in cfe_console_write()
36 if (written < 0) in cfe_console_write()
38 last += written; in cfe_console_write()
/linux-6.3-rc2/drivers/mtd/devices/
A Dbcm47xxsflash.c132 int written = 0; in bcm47xxsflash_write_st() local
151 written++; in bcm47xxsflash_write_st()
161 written++; in bcm47xxsflash_write_st()
170 return written; in bcm47xxsflash_write_st()
180 int written = 0; in bcm47xxsflash_write_at() local
206 written++; in bcm47xxsflash_write_at()
213 return written; in bcm47xxsflash_write_at()
220 int written; in bcm47xxsflash_write() local
238 return written; in bcm47xxsflash_write()
241 len -= written; in bcm47xxsflash_write()
[all …]
/linux-6.3-rc2/arch/alpha/lib/
A Dsrm_puts.c12 long remaining, written; in srm_puts() local
17 for (remaining = len; remaining > 0; remaining -= written) in srm_puts()
19 written = callback_puts(0, str, remaining); in srm_puts()
20 written &= 0xffffffff; in srm_puts()
21 str += written; in srm_puts()
/linux-6.3-rc2/tools/perf/
A Dperf-read-vdso.c16 size_t size, written; in main() local
24 written = fwrite(start, 1, size, stdout); in main()
25 if (!written) in main()
27 start += written; in main()
28 size -= written; in main()
/linux-6.3-rc2/kernel/events/
A Dinternal.h136 unsigned long size, written; \
140 written = memcpy_func(__VA_ARGS__); \
141 written = size - written; \
143 len -= written; \
144 handle->addr += written; \
146 buf += written; \
147 handle->size -= written; \
156 } while (len && written == size); \
/linux-6.3-rc2/drivers/mtd/tests/
A Dsubpagetest.c45 size_t written; in write_eraseblock() local
51 if (unlikely(err || written != subpgsize)) { in write_eraseblock()
54 if (written != subpgsize) { in write_eraseblock()
56 pr_err(" written: %#zx\n", written); in write_eraseblock()
65 if (unlikely(err || written != subpgsize)) { in write_eraseblock()
68 if (written != subpgsize) { in write_eraseblock()
70 pr_err(" written: %#zx\n", written); in write_eraseblock()
80 size_t written; in write_eraseblock2() local
89 if (unlikely(err || written != subpgsize * k)) { in write_eraseblock2()
92 if (written != subpgsize * k) { in write_eraseblock2()
[all …]
A Dtorturetest.c73 static void report_corrupt(unsigned char *read, unsigned char *written);
146 size_t written; in write_pattern() local
154 err = mtd_write(mtd, addr, len, &written, buf); in write_pattern()
157 " bytes\n", err, ebnum, written); in write_pattern()
160 if (written != len) { in write_pattern()
162 " reported\n", written, len); in write_pattern()
383 if (countdiffs(written, read, i, pgsize, &bytes, in report_corrupt()
395 first = countdiffs(written, read, i, pgsize, &bytes, in report_corrupt()
411 print_bufs(read, written, offset, len); in report_corrupt()
427 if (read[start + i + j1] != written[start + i + j1]) in print_bufs()
[all …]
/linux-6.3-rc2/tools/include/nolibc/
A Dstdio.h119 size_t written; in fwrite() local
121 for (written = 0; written < nmemb; written++) { in fwrite()
126 return written; in fwrite()
175 unsigned int written; in vfprintf() local
180 written = ofs = escape = lpref = 0; in vfprintf()
262 written += len; in vfprintf()
273 return written; in vfprintf()
/linux-6.3-rc2/drivers/char/
A Dmem.c212 written = 0; in write_mem()
222 written += sz; in write_mem()
244 if (written) in write_mem()
253 if (written) in write_mem()
262 written += sz; in write_mem()
268 return written; in write_mem()
499 return written ? written : -EFAULT; in read_iter_zero()
500 written += n; in read_iter_zero()
502 return written ? written : -ERESTARTSYS; in read_iter_zero()
506 return written ? written : -EAGAIN; in read_iter_zero()
[all …]
A Dlp.c306 ssize_t written; in lp_write() local
345 if (written > 0) { in lp_write()
347 count -= written; in lp_write()
348 buf += written; in lp_write()
349 retv += written; in lp_write()
817 ssize_t written; in lp_console_write() local
838 if (written <= 0) in lp_console_write()
841 s += written; in lp_console_write()
842 count -= written; in lp_console_write()
856 i -= written; in lp_console_write()
[all …]
A Dnwflash.c148 int written; in flash_write() local
180 written = 0; in flash_write()
221 count - written); in flash_write()
226 rc = write_block(p, buf, count - written); in flash_write()
251 written += rc; in flash_write()
255 printk(KERN_DEBUG "flash_write: written 0x%X bytes OK.\n", written); in flash_write()
260 return written; in flash_write()
/linux-6.3-rc2/tools/testing/selftests/safesetid/
A Dsafesetid-test.c56 ssize_t written; in vmaybe_write_file() local
76 written = write(fd, buf, buf_len); in vmaybe_write_file()
77 if (written != buf_len) { in vmaybe_write_file()
78 if (written >= 0) { in vmaybe_write_file()
186 ssize_t written; in write_uid_policies() local
192 written = write(fd, policy_str, strlen(policy_str)); in write_uid_policies()
193 if (written != strlen(policy_str)) { in write_uid_policies()
194 if (written >= 0) { in write_uid_policies()
210 ssize_t written; in write_gid_policies() local
217 if (written != strlen(policy_str)) { in write_gid_policies()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/qualcomm/
A Dqca_uart.c131 int written; in qcauart_transmit() local
151 written = serdev_device_write_buf(qca->serdev, qca->tx_head, in qcauart_transmit()
153 if (written > 0) { in qcauart_transmit()
154 qca->tx_left -= written; in qcauart_transmit()
155 qca->tx_head += written; in qcauart_transmit()
204 int written; in qcauart_netdev_xmit() local
236 written = serdev_device_write_buf(qca->serdev, qca->tx_buffer, in qcauart_netdev_xmit()
238 if (written > 0) { in qcauart_netdev_xmit()
239 qca->tx_left = (pos - qca->tx_buffer) - written; in qcauart_netdev_xmit()
240 qca->tx_head = qca->tx_buffer + written; in qcauart_netdev_xmit()
[all …]
/linux-6.3-rc2/drivers/s390/char/
A Dmonwriter.c223 size_t len, written; in monwrite_write() local
228 for (written = 0; written < count; ) { in monwrite_write()
230 len = min(count - written, monpriv->hdr_to_read); in monwrite_write()
233 if (copy_from_user(to, data + written, len)) { in monwrite_write()
238 written += len; in monwrite_write()
249 len = min(count - written, monpriv->data_to_read); in monwrite_write()
252 if (copy_from_user(to, data + written, len)) { in monwrite_write()
257 written += len; in monwrite_write()
267 return written; in monwrite_write()
A Dsclp_con.c165 int written; in sclp_console_write() local
192 written = sclp_write(sclp_conbuf, (const unsigned char *) in sclp_console_write()
194 if (written == count) in sclp_console_write()
204 message += written; in sclp_console_write()
205 count -= written; in sclp_console_write()
/linux-6.3-rc2/drivers/tty/serial/
A Dtegra-tcu.c66 unsigned int written = 0, i = 0; in tegra_tcu_write() local
72 value |= TCU_MBOX_BYTE(written++, '\n'); in tegra_tcu_write()
76 value |= TCU_MBOX_BYTE(written++, '\r'); in tegra_tcu_write()
79 value |= TCU_MBOX_BYTE(written++, s[i++]); in tegra_tcu_write()
82 if (written == 3) { in tegra_tcu_write()
84 value = written = 0; in tegra_tcu_write()
88 if (written) in tegra_tcu_write()
89 tegra_tcu_write_one(tcu, value, written); in tegra_tcu_write()
/linux-6.3-rc2/init/
A Dinitramfs.c466 long written; in flush_buffer() local
471 char c = buf[written]; in flush_buffer()
473 buf += written; in flush_buffer()
474 len -= written; in flush_buffer()
477 buf += written; in flush_buffer()
478 len -= written; in flush_buffer()
492 long written; in unpack_to_rootfs() local
511 written = write_buffer(buf, len); in unpack_to_rootfs()
512 buf += written; in unpack_to_rootfs()
513 len -= written; in unpack_to_rootfs()
[all …]
/linux-6.3-rc2/drivers/ata/
A Dlibata-transport.c529 int written; member
539 arg->written += sprintf(arg->buf + arg->written, in ata_show_ering()
543 arg->buf + arg->written); in ata_show_ering()
555 return arg.written; in show_ata_dev_ering()
566 int written = 0, i = 0; in show_ata_dev_id() local
571 written += scnprintf(buf+written, 20, "%04x%c", in show_ata_dev_id()
575 return written; in show_ata_dev_id()
585 int written = 0, i = 0; in show_ata_dev_gscr() local
590 written += scnprintf(buf+written, 20, "%08x%c", in show_ata_dev_gscr()
595 buf[written-1] = '\n'; in show_ata_dev_gscr()
[all …]
/linux-6.3-rc2/fs/ubifs/
A Dtnc_commit.c119 written = 0; in fill_gap()
137 written += 1; in fill_gap()
152 return written; in fill_gap()
278 if (written < 0) { in layout_leb_in_gaps()
282 tot_written += written; in layout_leb_in_gaps()
291 if (written < 0) in layout_leb_in_gaps()
292 return written; /* Error code */ in layout_leb_in_gaps()
293 tot_written += written; in layout_leb_in_gaps()
371 if (written < 0) { in layout_in_gaps()
372 err = written; in layout_in_gaps()
[all …]
/linux-6.3-rc2/Documentation/devicetree/bindings/memory-controllers/
A Dxlnx,zynqmp-ocmc-1.0.yaml16 being written, the ECC is generated and written into the ECC RAM along with
17 the write-data that is written into the data RAM. If one or more bytes are
18 not written, then the read operation results in an correctable error or
/linux-6.3-rc2/drivers/nfc/nxp-nci/
A Dfirmware.c102 remaining_len = fw_info->frame_size - fw_info->written; in nxp_nci_fw_send_chunk()
114 skb_put_data(skb, fw_info->data + fw_info->written, chunk_len); in nxp_nci_fw_send_chunk()
136 if (fw_info->written == 0) { in nxp_nci_fw_send()
150 fw_info->written += r; in nxp_nci_fw_send()
181 if (fw_info->written == fw_info->frame_size) { in nxp_nci_fw_work()
184 fw_info->written = 0; in nxp_nci_fw_work()
231 fw_info->written = 0; in nxp_nci_fw_download()
/linux-6.3-rc2/mm/damon/
A Ddbgfs.c139 int written = 0; in sprint_schemes() local
143 rc = scnprintf(&buf[written], len - written, in sprint_schemes()
165 written += rc; in sprint_schemes()
167 return written; in sprint_schemes()
345 rc = scnprintf(&buf[written], len - written, "%d ", id); in sprint_target_ids()
348 written += rc; in sprint_target_ids()
350 if (written) in sprint_target_ids()
351 written -= 1; in sprint_target_ids()
352 written += scnprintf(&buf[written], len - written, "\n"); in sprint_target_ids()
353 return written; in sprint_target_ids()
[all …]

Completed in 45 milliseconds

12345678910>>...42