| /linux/tools/testing/selftests/arm64/fp/ |
| H A D | sve-ptrace.c | 454 void *write_buf; in ptrace_set_sve_get_sve_data() local 465 write_buf = malloc(data_size); in ptrace_set_sve_get_sve_data() 466 if (!write_buf) { in ptrace_set_sve_get_sve_data() 471 write_sve = write_buf; in ptrace_set_sve_get_sve_data() 480 fill_buf(write_buf + SVE_PT_SVE_ZREG_OFFSET(vq, i), in ptrace_set_sve_get_sve_data() 484 fill_buf(write_buf + SVE_PT_SVE_PREG_OFFSET(vq, i), in ptrace_set_sve_get_sve_data() 487 fill_buf(write_buf + SVE_PT_SVE_FPSR_OFFSET(vq), SVE_PT_SVE_FPSR_SIZE); in ptrace_set_sve_get_sve_data() 488 fill_buf(write_buf + SVE_PT_SVE_FPCR_OFFSET(vq), SVE_PT_SVE_FPCR_SIZE); in ptrace_set_sve_get_sve_data() 516 if (memcmp(write_buf + SVE_PT_SVE_ZREG_OFFSET(vq, i), in ptrace_set_sve_get_sve_data() 525 if (memcmp(write_buf + SVE_PT_SVE_PREG_OFFSET(vq, i), in ptrace_set_sve_get_sve_data() [all …]
|
| H A D | za-ptrace.c | 194 void *write_buf; in ptrace_set_get_data() local 204 write_buf = malloc(data_size); in ptrace_set_get_data() 205 if (!write_buf) { in ptrace_set_get_data() 210 write_za = write_buf; in ptrace_set_get_data() 217 fill_buf(write_buf + ZA_PT_ZA_OFFSET, ZA_PT_ZA_SIZE(vq)); in ptrace_set_get_data() 239 ksft_test_result(memcmp(write_buf + ZA_PT_ZA_OFFSET, in ptrace_set_get_data() 247 free(write_buf); in ptrace_set_get_data()
|
| /linux/drivers/hid/ |
| H A D | hid-kysona.c | 96 u8 *write_buf; in kysona_m600_fetch_online() local 100 write_buf = kmemdup(kysona_online_request, sizeof(kysona_online_request), GFP_KERNEL); in kysona_m600_fetch_online() 101 if (!write_buf) in kysona_m600_fetch_online() 105 write_buf, sizeof(kysona_online_request), in kysona_m600_fetch_online() 111 kfree(write_buf); in kysona_m600_fetch_online() 126 u8 *write_buf; in kysona_m600_fetch_battery() local 130 write_buf = kmemdup(kysona_battery_request, sizeof(kysona_battery_request), GFP_KERNEL); in kysona_m600_fetch_battery() 131 if (!write_buf) in kysona_m600_fetch_battery() 135 write_buf, sizeof(kysona_battery_request), in kysona_m600_fetch_battery() 141 kfree(write_buf); in kysona_m600_fetch_battery()
|
| /linux/drivers/input/joystick/ |
| H A D | adafruit-seesaw.c | 117 u8 write_buf[sizeof(reg) + sizeof(value)]; in seesaw_register_write_u8() local 120 put_unaligned_be16(reg, write_buf); in seesaw_register_write_u8() 121 write_buf[sizeof(reg)] = value; in seesaw_register_write_u8() 123 ret = i2c_master_send(client, write_buf, sizeof(write_buf)); in seesaw_register_write_u8() 133 u8 write_buf[sizeof(reg) + sizeof(value)]; in seesaw_register_write_u32() local 136 put_unaligned_be16(reg, write_buf); in seesaw_register_write_u32() 137 put_unaligned_be32(value, write_buf + sizeof(reg)); in seesaw_register_write_u32() 138 ret = i2c_master_send(client, write_buf, sizeof(write_buf)); in seesaw_register_write_u32()
|
| /linux/samples/seccomp/ |
| H A D | bpf-fancy.c | 55 JEQ(STDOUT_FILENO, JUMP(&l, write_buf)), in main() 56 JEQ(STDERR_FILENO, JUMP(&l, write_buf)), in main() 59 LABEL(&l, write_buf), in main()
|
| /linux/drivers/gnss/ |
| H A D | core.c | 151 if (copy_from_user(gdev->write_buf, buf, n)) { in gnss_write() 164 ret = gdev->ops->write_raw(gdev, gdev->write_buf, n); in gnss_write() 217 kfree(gdev->write_buf); in gnss_device_release() 260 gdev->write_buf = kzalloc(GNSS_WRITE_BUF_SIZE, GFP_KERNEL); in gnss_allocate_device() 261 if (!gdev->write_buf) in gnss_allocate_device()
|
| /linux/drivers/mtd/lpddr/ |
| H A D | lpddr2_nvm.c | 322 u_char *write_buf = (u_char *)buf; in lpddr2_nvm_write() local 336 my_data = write_buf[tot_len]; in lpddr2_nvm_write() 337 my_data += (write_buf[tot_len+1]) << 8; in lpddr2_nvm_write() 339 my_data += (write_buf[tot_len+2]) << 16; in lpddr2_nvm_write() 340 my_data += (write_buf[tot_len+3]) << 24; in lpddr2_nvm_write() 353 0x00, add, current_len, write_buf + tot_len); in lpddr2_nvm_write()
|
| /linux/drivers/platform/x86/intel/telemetry/ |
| H A D | pltdrv.c | 249 u32 write_buf; in telemetry_plt_config_ioss_event() local 251 write_buf = evt_id | TELEM_EVENT_ENABLE; in telemetry_plt_config_ioss_event() 252 write_buf <<= BITS_PER_BYTE; in telemetry_plt_config_ioss_event() 253 write_buf |= index; in telemetry_plt_config_ioss_event() 256 IOSS_TELEM_EVENT_WRITE, &write_buf, in telemetry_plt_config_ioss_event() 262 u32 write_buf; in telemetry_plt_config_pss_event() local 265 write_buf = evt_id | TELEM_EVENT_ENABLE; in telemetry_plt_config_pss_event() 267 index, 0, &write_buf, NULL); in telemetry_plt_config_pss_event()
|
| /linux/drivers/mtd/nand/raw/ |
| H A D | nand_legacy.c | 76 chip->legacy.write_buf(chip, &byte, 1); in nand_write_byte() 106 chip->legacy.write_buf(chip, (uint8_t *)&word, 2); in nand_write_byte16() 606 if (!chip->legacy.write_buf || chip->legacy.write_buf == nand_write_buf) in nand_legacy_set_defaults() 607 chip->legacy.write_buf = busw ? nand_write_buf16 : nand_write_buf; in nand_legacy_set_defaults()
|
| H A D | socrates_nand.c | 171 nand_chip->legacy.write_buf = socrates_nand_write_buf; in socrates_nand_probe()
|
| H A D | pasemi_nand.c | 159 chip->legacy.write_buf = pasemi_write_buf; in pasemi_nand_probe()
|
| H A D | lpc32xx_slc.c | 704 chip->legacy.write_buf(chip, chip->oob_poi, mtd->oobsize); in lpc32xx_nand_write_page_syndrome() 722 chip->legacy.write_buf(chip, chip->oob_poi, mtd->oobsize); in lpc32xx_nand_write_page_raw_syndrome() 908 chip->legacy.write_buf = lpc32xx_nand_write_buf; in lpc32xx_nand_probe()
|
| H A D | xway_nand.c | 190 data->chip.legacy.write_buf = xway_write_buf; in xway_nand_probe()
|
| H A D | ndfc.c | 148 chip->legacy.write_buf = ndfc_write_buf; in ndfc_chip_init()
|
| H A D | hisi504_nand.c | 575 chip->legacy.write_buf(chip, chip->oob_poi, mtd->oobsize); in hisi_nand_write_page_hwecc() 772 chip->legacy.write_buf = hisi_nfc_write_buf; in hisi_nfc_probe()
|
| H A D | txx9ndfmc.c | 331 chip->legacy.write_buf = txx9ndfmc_write_buf; in txx9ndfmc_probe()
|
| H A D | sh_flctl.c | 617 chip->legacy.write_buf(chip, chip->oob_poi, mtd->oobsize); in flctl_write_page_hwecc() 1168 nand->legacy.write_buf = flctl_write_buf; in flctl_probe()
|
| /linux/drivers/net/wireless/morsemicro/mm81x/ |
| H A D | yaps_hw.c | 322 char *write_buf = to_chip_buffer_aligned; in mm81x_yaps_hw_write_pkts() local 356 write_buf = to_chip_buffer_aligned; in mm81x_yaps_hw_write_pkts() 378 *((__le32 *)write_buf) = cpu_to_le32(delim); in mm81x_yaps_hw_write_pkts() 379 memcpy(write_buf + sizeof(delim), pkts[i].skb->data, in mm81x_yaps_hw_write_pkts() 382 write_buf += tx_len; in mm81x_yaps_hw_write_pkts()
|
| /linux/include/linux/mtd/ |
| H A D | platnand.h | 59 void (*write_buf)(struct nand_chip *chip, const uint8_t *buf, int len); member
|
| /linux/drivers/media/i2c/ |
| H A D | thp7312.c | 1443 const u8 *write_buf, u16 write_size) in thp7312_write_buf() argument 1448 ret = i2c_master_send(client, write_buf, write_size); in thp7312_write_buf() 1453 const u8 *write_buf, u16 write_size) in __thp7312_flash_reg_write() argument 1475 memcpy((temp_write_buf + 2), write_buf, write_size); in __thp7312_flash_reg_write() 1487 const u8 *write_buf, u16 write_size, in __thp7312_flash_reg_read() argument 1494 ret = __thp7312_flash_reg_write(thp7312, write_buf, write_size); in __thp7312_flash_reg_read() 1628 u8 *write_buf = thp7312->fw_write_buf; in thp7312_write_download_data_by_unit() local 1634 write_buf[0] = (addr >> 8) & 0xff; in thp7312_write_download_data_by_unit() 1635 write_buf[1] = (addr >> 0) & 0xff; in thp7312_write_download_data_by_unit() 1636 memcpy(&write_buf[2], data, size); in thp7312_write_download_data_by_unit() [all …]
|
| /linux/include/linux/ |
| H A D | gnss.h | 55 char *write_buf; member
|
| /linux/security/tomoyo/ |
| H A D | common.c | 672 char *data = head->write_buf; in tomoyo_write_profile() 896 char *data = head->write_buf; in tomoyo_write_manager() 1184 char *data = head->write_buf; in tomoyo_write_domain() 1716 char *buf = head->write_buf; in tomoyo_read_pid() 1782 .data = head->write_buf, in tomoyo_write_exception() 2402 char *data = head->write_buf; in tomoyo_write_answer() 2536 char *data = head->write_buf; in tomoyo_write_stat() 2635 head->write_buf = kzalloc(head->writebuf_size, GFP_NOFS); in tomoyo_open_control() 2636 if (!head->write_buf) { in tomoyo_open_control() 2809 cp0 = head->write_buf; in tomoyo_write_control() [all …]
|
| H A D | gc.c | 635 kfree(head->write_buf); in tomoyo_gc_thread() 665 * tomoyo_write_control() can concurrently update write_buf from in tomoyo_notify_gc() 668 is_write = data_race(head->write_buf != NULL); in tomoyo_notify_gc() 674 kfree(head->write_buf);
|
| /linux/net/sunrpc/ |
| H A D | cache.c | 932 char *write_buf; in cache_downcall() local 940 write_buf = kvmalloc(count + 1, GFP_KERNEL); in cache_downcall() 941 if (!write_buf) in cache_downcall() 944 ret = cache_do_downcall(write_buf, buf, count, cd); in cache_downcall() 945 kvfree(write_buf); in cache_downcall()
|
| /linux/arch/arm/mach-orion5x/ |
| H A D | ts78xx-setup.c | 243 .write_buf = ts78xx_ts_nand_write_buf,
|