/linux-6.1.9/Documentation/ABI/obsolete/ |
D | sysfs-driver-hid-roccat-ryos | 4 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 …]
|
D | sysfs-driver-hid-roccat-isku | 8 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 …]
|
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.
|
/linux-6.1.9/arch/mips/sibyte/common/ |
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-6.1.9/drivers/mtd/devices/ |
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 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 …]
|
/linux-6.1.9/arch/alpha/lib/ |
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-6.1.9/tools/perf/ |
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-6.1.9/kernel/events/ |
D | internal.h | 136 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.1.9/drivers/mtd/tests/ |
D | subpagetest.c | 45 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 …]
|
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() 364 static void print_bufs(unsigned char *read, unsigned char *written, int start, 371 static void report_corrupt(unsigned char *read, unsigned char *written) in report_corrupt() argument 383 if (countdiffs(written, read, i, pgsize, &bytes, in report_corrupt() 395 first = countdiffs(written, read, i, pgsize, &bytes, in report_corrupt() [all …]
|
/linux-6.1.9/tools/include/nolibc/ |
D | stdio.h | 119 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.1.9/drivers/char/ |
D | mem.c | 202 ssize_t written, sz; in write_mem() local 212 written = 0; in write_mem() 222 written += sz; in write_mem() 244 if (written) in write_mem() 252 written += sz - copied; in write_mem() 253 if (written) in write_mem() 262 written += sz; in write_mem() 267 *ppos += written; in write_mem() 268 return written; in write_mem() 490 size_t written = 0; in read_iter_zero() local [all …]
|
D | lp.c | 306 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() 817 ssize_t written; in lp_console_write() local 836 written = parport_write(port, s, canwrite); in lp_console_write() 838 if (written <= 0) in lp_console_write() [all …]
|
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-6.1.9/tools/testing/selftests/safesetid/ |
D | safesetid-test.c | 56 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 216 written = write(fd, policy_str, strlen(policy_str)); in write_gid_policies() [all …]
|
/linux-6.1.9/drivers/net/ethernet/qualcomm/ |
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-6.1.9/drivers/s390/char/ |
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()
|
D | sclp_con.c | 165 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.1.9/lib/ |
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-6.1.9/drivers/tty/serial/ |
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-6.1.9/init/ |
D | initramfs.c | 465 long written; in flush_buffer() local 469 while ((written = write_buffer(buf, len)) < len && !message) { in flush_buffer() 470 char c = buf[written]; in flush_buffer() 472 buf += written; in flush_buffer() 473 len -= written; in flush_buffer() 476 buf += written; in flush_buffer() 477 len -= written; in flush_buffer() 491 long written; in unpack_to_rootfs() local 510 written = write_buffer(buf, len); in unpack_to_rootfs() 511 buf += written; in unpack_to_rootfs() [all …]
|
/linux-6.1.9/drivers/ata/ |
D | libata-transport.c | 529 int written; member 539 arg->written += sprintf(arg->buf + arg->written, in ata_show_ering() 542 arg->written += get_ata_err_names(ent->err_mask, 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() [all …]
|
/linux-6.1.9/fs/ubifs/ |
D | tnc_commit.c | 109 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 …]
|
/linux-6.1.9/drivers/nfc/nxp-nci/ |
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-6.1.9/mm/damon/ |
D | dbgfs.c | 131 int written = 0; in sprint_schemes() local 135 rc = scnprintf(&buf[written], len - written, in sprint_schemes() 157 written += rc; in sprint_schemes() 159 return written; in sprint_schemes() 326 int written = 0; in sprint_target_ids() local 337 rc = scnprintf(&buf[written], len - written, "%d ", id); in sprint_target_ids() 340 written += rc; in sprint_target_ids() 342 if (written) in sprint_target_ids() 343 written -= 1; in sprint_target_ids() 344 written += scnprintf(&buf[written], len - written, "\n"); in sprint_target_ids() [all …]
|