/linux-6.6.21/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.6.21/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.6.21/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.6.21/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.6.21/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.6.21/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.6.21/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.6.21/drivers/char/ |
D | mem.c | 195 ssize_t written, sz; in write_mem() local 205 written = 0; in write_mem() 215 written += sz; in write_mem() 237 if (written) in write_mem() 245 written += sz - copied; in write_mem() 246 if (written) in write_mem() 255 written += sz; in write_mem() 260 *ppos += written; in write_mem() 261 return written; in write_mem() 483 size_t written = 0; in read_iter_zero() local [all …]
|
D | lp.c | 308 ssize_t written; in lp_write() local 346 written = parport_write(port, kbuf, copy_size); in lp_write() 347 if (written > 0) { in lp_write() 348 copy_size -= written; in lp_write() 349 count -= written; in lp_write() 350 buf += written; in lp_write() 351 retv += written; in lp_write() 819 ssize_t written; in lp_console_write() local 838 written = parport_write(port, s, canwrite); in lp_console_write() 840 if (written <= 0) in lp_console_write() [all …]
|
/linux-6.6.21/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.6.21/drivers/net/ethernet/qualcomm/ |
D | qca_uart.c | 130 int written; in qcauart_transmit() local 150 written = serdev_device_write_buf(qca->serdev, qca->tx_head, in qcauart_transmit() 152 if (written > 0) { in qcauart_transmit() 153 qca->tx_left -= written; in qcauart_transmit() 154 qca->tx_head += written; in qcauart_transmit() 203 int written; in qcauart_netdev_xmit() local 235 written = serdev_device_write_buf(qca->serdev, qca->tx_buffer, in qcauart_netdev_xmit() 237 if (written > 0) { in qcauart_netdev_xmit() 238 qca->tx_left = (pos - qca->tx_buffer) - written; in qcauart_netdev_xmit() 239 qca->tx_head = qca->tx_buffer + written; in qcauart_netdev_xmit() [all …]
|
/linux-6.6.21/tools/include/nolibc/ |
D | stdio.h | 165 size_t written; in fwrite() local 167 for (written = 0; written < nmemb; written++) { in fwrite() 172 return written; in fwrite() 221 unsigned int written; in vfprintf() local 226 written = ofs = escape = lpref = 0; in vfprintf() 308 written += len; in vfprintf() 319 return written; in vfprintf()
|
/linux-6.6.21/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()
|
/linux-6.6.21/drivers/base/regmap/ |
D | regmap-ram.c | 24 data->written[reg] = true; in regmap_ram_write() 45 kfree(data->written); in regmap_ram_free_context() 73 data->written = kcalloc(sizeof(bool), config->max_register + 1, in __regmap_init_ram() 75 if (!data->written) in __regmap_init_ram()
|
D | regmap-kunit.c | 224 data->written[i] = false; in write_readonly() 232 KUNIT_EXPECT_EQ(test, i != 5, data->written[i]); in write_readonly() 378 KUNIT_EXPECT_TRUE(test, data->written[i]); in register_patch() 382 KUNIT_EXPECT_FALSE(test, data->written[i]); in register_patch() 413 data->written[i] = false; in stride() 419 KUNIT_EXPECT_FALSE(test, data->written[i]); in stride() 427 KUNIT_EXPECT_TRUE(test, data->written[i]); in stride() 480 data->written[i] = false; in basic_ranges() 488 data->written[test_range.selector_reg] = false; in basic_ranges() 489 data->written[test_range.window_start] = false; in basic_ranges() [all …]
|
/linux-6.6.21/drivers/tty/serial/ |
D | tegra-tcu.c | 65 unsigned int written = 0, i = 0; in tegra_tcu_write() local 71 value |= TCU_MBOX_BYTE(written++, '\n'); in tegra_tcu_write() 75 value |= TCU_MBOX_BYTE(written++, '\r'); in tegra_tcu_write() 78 value |= TCU_MBOX_BYTE(written++, s[i++]); in tegra_tcu_write() 81 if (written == 3) { in tegra_tcu_write() 83 value = written = 0; in tegra_tcu_write() 87 if (written) in tegra_tcu_write() 88 tegra_tcu_write_one(tcu, value, written); in tegra_tcu_write()
|
/linux-6.6.21/init/ |
D | initramfs.c | 459 long written; in flush_buffer() local 463 while ((written = write_buffer(buf, len)) < len && !message) { in flush_buffer() 464 char c = buf[written]; in flush_buffer() 466 buf += written; in flush_buffer() 467 len -= written; in flush_buffer() 470 buf += written; in flush_buffer() 471 len -= written; in flush_buffer() 485 long written; in unpack_to_rootfs() local 504 written = write_buffer(buf, len); in unpack_to_rootfs() 505 buf += written; in unpack_to_rootfs() [all …]
|
/linux-6.6.21/drivers/ata/ |
D | libata-transport.c | 536 int written; member 546 arg->written += sprintf(arg->buf + arg->written, in ata_show_ering() 549 arg->written += get_ata_err_names(ent->err_mask, in ata_show_ering() 550 arg->buf + arg->written); in ata_show_ering() 562 return arg.written; in show_ata_dev_ering() 573 int written = 0, i = 0; in show_ata_dev_id() local 578 written += scnprintf(buf+written, 20, "%04x%c", in show_ata_dev_id() 582 return written; in show_ata_dev_id() 592 int written = 0, i = 0; in show_ata_dev_gscr() local 597 written += scnprintf(buf+written, 20, "%08x%c", in show_ata_dev_gscr() [all …]
|
/linux-6.6.21/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.6.21/Documentation/devicetree/bindings/memory-controllers/ |
D | xlnx,zynqmp-ocmc-1.0.yaml | 16 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.6.21/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.6.21/mm/damon/ |
D | dbgfs.c | 139 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() 334 int written = 0; in sprint_target_ids() local 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() [all …]
|