Home
last modified time | relevance | path

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

12345678910>>...56

/kernel/linux/linux-5.10/fs/iomap/
Dapply.c29 loff_t written = 0, ret; in iomap_apply() local
50 written = -EIO; in iomap_apply()
54 written = -EIO; in iomap_apply()
84 written = actor(inode, pos, length, data, &iomap, in iomap_apply()
94 written > 0 ? written : 0, in iomap_apply()
98 return written ? written : ret; in iomap_apply()
/kernel/linux/linux-5.10/Documentation/ABI/obsolete/
Dsysfs-driver-hid-roccat-ryos4 Description: When written, this file lets one select which data from which
16 When written, the device activates the set profile immediately.
24 Description: When written, this file lets one set the default of all keys for
25 a specific profile. Profile index is included in written data.
27 Before reading this file, control has to be written to select
34 Description: When written, this file lets one set the function of the
36 in written data. The data has to be 95 bytes long.
37 Before reading this file, control has to be written to select
44 Description: When written, this file lets one set the function of the macro
46 written data. The data has to be 35 bytes long.
[all …]
Dsysfs-driver-hid-roccat-isku8 When written, this file sets the number of the startup profile
23 Description: When written, this file lets one deactivate certain keys like
26 written data. The data has to be 6 bytes long.
27 Before reading this file, control has to be written to select
34 Description: When written, this file lets one set the function of the
36 in written data. The data has to be 6 bytes long.
37 Before reading this file, control has to be written to select
44 Description: When written, this file lets one set the function of the
46 in written data. The data has to be 65 bytes long.
47 Before reading this file, control has to be written to select
[all …]
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.
Dsysfs-driver-hid-roccat-konepure8 When written, the mouse activates the set profile immediately.
16 Description: When written, this file lets one select which data from which
25 When written, the device can be reset.
34 When written, this file lets one set the sequence for a specific
36 included in written data. The data has to be 2082 bytes long.
46 When written, this file lets one write the respective profile
51 Before reading this file, control has to be written to select
62 When written, this file lets one write the respective profile
67 Before reading this file, control has to be written to select
91 Description: When written a calibration process for the tracking control unit
/kernel/linux/linux-5.10/arch/mips/sibyte/common/
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()
/kernel/linux/linux-5.10/arch/alpha/lib/
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()
/kernel/linux/linux-5.10/drivers/mtd/devices/
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
228 written = bcm47xxsflash_write_st(mtd, to, len, buf); in bcm47xxsflash_write()
231 written = bcm47xxsflash_write_at(mtd, to, len, buf); in bcm47xxsflash_write()
[all …]
/kernel/linux/linux-5.10/tools/perf/
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()
/kernel/linux/linux-5.10/drivers/mtd/tests/
Dsubpagetest.c45 size_t written; in write_eraseblock() local
50 err = mtd_write(mtd, addr, subpgsize, &written, writebuf); in write_eraseblock()
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()
64 err = mtd_write(mtd, addr, subpgsize, &written, writebuf); 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
[all …]
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()
366 static void print_bufs(unsigned char *read, unsigned char *written, int start,
373 static void report_corrupt(unsigned char *read, unsigned char *written) in report_corrupt() argument
385 if (countdiffs(written, read, i, pgsize, &bytes, in report_corrupt()
397 first = countdiffs(written, read, i, pgsize, &bytes, in report_corrupt()
[all …]
/kernel/linux/linux-5.10/kernel/events/
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); \
/kernel/linux/linux-5.10/drivers/char/
Dmem.c206 ssize_t written, sz; in write_mem() local
216 written = 0; in write_mem()
226 written += sz; in write_mem()
248 if (written) in write_mem()
256 written += sz - copied; in write_mem()
257 if (written) in write_mem()
266 written += sz; in write_mem()
271 *ppos += written; in write_mem()
272 return written; in write_mem()
527 ssize_t written, sz; in do_write_kmem() local
[all …]
Dlp.c306 ssize_t written; in lp_write() local
344 written = parport_write(port, kbuf, copy_size); in lp_write()
345 if (written > 0) { in lp_write()
346 copy_size -= written; in lp_write()
347 count -= written; in lp_write()
348 buf += written; in lp_write()
349 retv += written; in lp_write()
818 ssize_t written; in lp_console_write() local
837 written = parport_write(port, s, canwrite); in lp_console_write()
839 if (written <= 0) in lp_console_write()
[all …]
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()
/kernel/linux/linux-5.10/tools/testing/selftests/safesetid/
Dsafesetid-test.c44 ssize_t written; in vmaybe_write_file() local
64 written = write(fd, buf, buf_len); in vmaybe_write_file()
65 if (written != buf_len) { in vmaybe_write_file()
66 if (written >= 0) { in vmaybe_write_file()
150 ssize_t written; in write_policies() local
156 written = write(fd, policy_str, strlen(policy_str)); in write_policies()
157 if (written != strlen(policy_str)) { in write_policies()
158 if (written >= 0) { in write_policies()
/kernel/linux/linux-5.10/lib/
Dtest_strscpy.c35 int written; in tc() local
60 written = strscpy_pad(buf, src, count); in tc()
61 if ((written) != (expected)) { in tc()
62 pr_err("%d != %d (written, expected)\n", written, expected); in tc()
66 if (count && written == -E2BIG) { in tc()
/kernel/linux/linux-5.10/drivers/net/ethernet/qualcomm/
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 …]
/kernel/linux/linux-5.10/init/
Dinitramfs.c427 long written; in flush_buffer() local
431 while ((written = write_buffer(buf, len)) < len && !message) { in flush_buffer()
432 char c = buf[written]; in flush_buffer()
434 buf += written; in flush_buffer()
435 len -= written; in flush_buffer()
438 buf += written; in flush_buffer()
439 len -= written; in flush_buffer()
453 long written; in unpack_to_rootfs() local
472 written = write_buffer(buf, len); in unpack_to_rootfs()
473 buf += written; in unpack_to_rootfs()
[all …]
/kernel/linux/linux-5.10/drivers/s390/char/
Dmonwriter.c229 size_t len, written; in monwrite_write() local
234 for (written = 0; written < count; ) { in monwrite_write()
236 len = min(count - written, monpriv->hdr_to_read); in monwrite_write()
239 if (copy_from_user(to, data + written, len)) { in monwrite_write()
244 written += len; in monwrite_write()
255 len = min(count - written, monpriv->data_to_read); in monwrite_write()
258 if (copy_from_user(to, data + written, len)) { in monwrite_write()
263 written += len; in monwrite_write()
273 return written; in monwrite_write()
/kernel/linux/linux-5.10/drivers/tty/serial/
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()
/kernel/liteos_a/testsuites/unittest/basic/mem/shm/full/
Dshm_test_001.cpp38 int written; member
59 if (shared->written == 1) { in ShmReadFunc()
63 shared->written = 0; in ShmReadFunc()
101 while (shared->written == 1) { in ShmWriteFunc()
115 shared->written = 1; in ShmWriteFunc()
/kernel/linux/linux-5.10/drivers/ata/
Dlibata-transport.c499 int written; member
509 arg->written += sprintf(arg->buf + arg->written, in ata_show_ering()
512 arg->written += get_ata_err_names(ent->err_mask, in ata_show_ering()
513 arg->buf + arg->written); in ata_show_ering()
525 return arg.written; in show_ata_dev_ering()
536 int written = 0, i = 0; in show_ata_dev_id() local
541 written += scnprintf(buf+written, 20, "%04x%c", in show_ata_dev_id()
545 return written; in show_ata_dev_id()
555 int written = 0, i = 0; in show_ata_dev_gscr() local
560 written += scnprintf(buf+written, 20, "%08x%c", in show_ata_dev_gscr()
[all …]
/kernel/linux/linux-5.10/drivers/nfc/nxp-nci/
Dfirmware.c104 remaining_len = fw_info->frame_size - fw_info->written; in nxp_nci_fw_send_chunk()
116 skb_put_data(skb, fw_info->data + fw_info->written, chunk_len); in nxp_nci_fw_send_chunk()
139 if (fw_info->written == 0) { in nxp_nci_fw_send()
153 fw_info->written += r; in nxp_nci_fw_send()
184 if (fw_info->written == fw_info->frame_size) { in nxp_nci_fw_work()
187 fw_info->written = 0; in nxp_nci_fw_work()
234 fw_info->written = 0; in nxp_nci_fw_download()
/kernel/linux/linux-5.10/fs/ubifs/
Dtnc_commit.c109 int len, gap_remains, gap_pos, written, pad_len; in fill_gap() local
119 written = 0; in fill_gap()
137 written += 1; in fill_gap()
149 lnum, gap_start, gap_end, gap_end - gap_start, written, pad_len); in fill_gap()
152 return written; in fill_gap()
228 int lnum, dirt = 0, gap_start, gap_end, err, written, tot_written; in layout_leb_in_gaps() local
277 written = fill_gap(c, lnum, gap_start, gap_end, &dirt); in layout_leb_in_gaps()
278 if (written < 0) { in layout_leb_in_gaps()
280 return written; /* Error code */ in layout_leb_in_gaps()
282 tot_written += written; in layout_leb_in_gaps()
[all …]

12345678910>>...56