/linux/Documentation/ABI/obsolete/ |
A D | sysfs-driver-hid-roccat-ryos | 16 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 D | sysfs-driver-hid-roccat-isku | 8 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 D | sysfs-driver-hid-roccat-savu | 7 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.
|
A D | sysfs-driver-hid-roccat-konepure | 8 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
|
/linux/drivers/mtd/devices/ |
A D | bcm47xxsflash.c | 132 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/arch/mips/sibyte/common/ |
A D | cfe_console.c | 16 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/arch/alpha/lib/ |
A D | srm_puts.c | 12 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/kernel/events/ |
A D | internal.h | 131 unsigned long size, written; \ 135 written = memcpy_func(__VA_ARGS__); \ 136 written = size - written; \ 138 len -= written; \ 139 handle->addr += written; \ 141 buf += written; \ 142 handle->size -= written; \ 151 } while (len && written == size); \
|
/linux/drivers/mtd/tests/ |
A D | subpagetest.c | 45 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 D | torturetest.c | 73 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/tools/perf/ |
A D | perf-read-vdso.c | 16 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/drivers/char/ |
A D | mem.c | 212 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() 494 return written ? written : -EFAULT; in read_iter_zero() 495 written += n; in read_iter_zero() 497 return written ? written : -ERESTARTSYS; in read_iter_zero() 501 return written ? written : -EAGAIN; in read_iter_zero() [all …]
|
A D | lp.c | 306 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 D | nwflash.c | 148 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/drivers/net/ethernet/qualcomm/ |
A D | qca_uart.c | 131 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/tools/testing/selftests/safesetid/ |
A D | safesetid-test.c | 44 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()
|
/linux/drivers/s390/char/ |
A D | monwriter.c | 223 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()
|
/linux/lib/ |
A D | test_strscpy.c | 35 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()
|
/linux/drivers/ata/ |
A D | libata-transport.c | 494 int written; member 504 arg->written += sprintf(arg->buf + arg->written, in ata_show_ering() 508 arg->buf + arg->written); in ata_show_ering() 520 return arg.written; in show_ata_dev_ering() 531 int written = 0, i = 0; in show_ata_dev_id() local 536 written += scnprintf(buf+written, 20, "%04x%c", in show_ata_dev_id() 540 return written; in show_ata_dev_id() 550 int written = 0, i = 0; in show_ata_dev_gscr() local 555 written += scnprintf(buf+written, 20, "%08x%c", in show_ata_dev_gscr() 560 buf[written-1] = '\n'; in show_ata_dev_gscr() [all …]
|
/linux/init/ |
A D | initramfs.c | 440 long written; in flush_buffer() local 445 char c = buf[written]; in flush_buffer() 447 buf += written; in flush_buffer() 448 len -= written; in flush_buffer() 451 buf += written; in flush_buffer() 452 len -= written; in flush_buffer() 466 long written; in unpack_to_rootfs() local 485 written = write_buffer(buf, len); in unpack_to_rootfs() 486 buf += written; in unpack_to_rootfs() 487 len -= written; in unpack_to_rootfs() [all …]
|
/linux/mm/damon/ |
A D | dbgfs.c | 103 int written = 0; in sprint_schemes() local 107 rc = scnprintf(&buf[written], len - written, in sprint_schemes() 124 written += rc; in sprint_schemes() 126 return written; in sprint_schemes() 287 rc = scnprintf(&buf[written], len - written, "%lu ", id); in sprint_target_ids() 290 written += rc; in sprint_target_ids() 292 if (written) in sprint_target_ids() 293 written -= 1; in sprint_target_ids() 294 written += scnprintf(&buf[written], len - written, "\n"); in sprint_target_ids() 295 return written; in sprint_target_ids() [all …]
|
/linux/drivers/tty/serial/ |
A D | tegra-tcu.c | 66 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/fs/ubifs/ |
A D | tnc_commit.c | 119 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/drivers/nfc/nxp-nci/ |
A D | firmware.c | 102 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/samples/mei/ |
A D | mei-amt-version.c | 201 ssize_t written; in mei_send_msg() local 206 written = write(me->fd, buffer, len); in mei_send_msg() 207 if (written < 0) { in mei_send_msg() 210 written, strerror(errno)); in mei_send_msg() 215 rc = written; in mei_send_msg() 383 ssize_t written; in amt_host_if_call() local 394 written = mei_send_msg(&acmd->mei_cl, in amt_host_if_call() 396 if (written != command_sz) in amt_host_if_call()
|