/linux-6.12.1/arch/sparc/kernel/ |
D | prom_64.c | 66 static void __init sun4v_path_component(struct device_node *dp, char *tmp_buf) in sun4v_path_component() argument 79 sprintf(tmp_buf, "%s@%x,%x", in sun4v_path_component() 94 sprintf(tmp_buf, "%s@%s%x,%x", in sun4v_path_component() 98 sprintf(tmp_buf, "%s@%s%x", in sun4v_path_component() 103 sprintf(tmp_buf, "%s@%x", in sun4v_path_component() 108 static void __init sun4u_path_component(struct device_node *dp, char *tmp_buf) in sun4u_path_component() argument 120 sprintf(tmp_buf, "%s@%x,%x", in sun4u_path_component() 136 sprintf(tmp_buf, "%s@%x,%x", in sun4u_path_component() 144 static void __init sbus_path_component(struct device_node *dp, char *tmp_buf) in sbus_path_component() argument 155 sprintf(tmp_buf, "%s@%x,%x", in sbus_path_component() [all …]
|
D | prom_32.c | 57 static void __init sparc32_path_component(struct device_node *dp, char *tmp_buf) in sparc32_path_component() argument 68 sprintf(tmp_buf, "%s@%x,%x", in sparc32_path_component() 74 static void __init sbus_path_component(struct device_node *dp, char *tmp_buf) in sbus_path_component() argument 85 sprintf(tmp_buf, "%s@%x,%x", in sbus_path_component() 92 static void __init pci_path_component(struct device_node *dp, char *tmp_buf) in pci_path_component() argument 106 sprintf(tmp_buf, "%s@%x,%x", in pci_path_component() 111 sprintf(tmp_buf, "%s@%x", in pci_path_component() 118 static void __init ebus_path_component(struct device_node *dp, char *tmp_buf) in ebus_path_component() argument 130 sprintf(tmp_buf, "%s@%x,%x", in ebus_path_component() 136 static void __init ambapp_path_component(struct device_node *dp, char *tmp_buf) in ambapp_path_component() argument [all …]
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/btcoexist/ |
D | rtl_btc.c | 306 void rtl_btc_btinfo_notify(struct rtl_priv *rtlpriv, u8 *tmp_buf, u8 length) in rtl_btc_btinfo_notify() argument 313 exhalbtc_bt_info_notify(btcoexist, tmp_buf, length); in rtl_btc_btinfo_notify() 316 void rtl_btc_btmpinfo_notify(struct rtl_priv *rtlpriv, u8 *tmp_buf, u8 length) in rtl_btc_btmpinfo_notify() argument 327 if ((length < 4) || (!tmp_buf)) in rtl_btc_btmpinfo_notify() 330 extid = tmp_buf[0]; in rtl_btc_btmpinfo_notify() 335 seq = tmp_buf[2] >> 4; in rtl_btc_btmpinfo_notify() 336 data = &tmp_buf[3]; in rtl_btc_btmpinfo_notify() 341 bt_real_fw_ver = tmp_buf[3] | (tmp_buf[4] << 8); in rtl_btc_btmpinfo_notify() 342 bt_fw_ver = tmp_buf[5]; in rtl_btc_btmpinfo_notify() 357 btcoexist->bt_info.bt_supported_feature = tmp_buf[3] | in rtl_btc_btmpinfo_notify() [all …]
|
/linux-6.12.1/lib/ |
D | checksum_kunit.c | 449 static u8 tmp_buf[TEST_BUFLEN]; variable 487 memcpy(&tmp_buf[align], random_buf, in test_csum_fixed_random_inputs() 495 result = full_csum(&tmp_buf[align], len, sum); in test_csum_fixed_random_inputs() 512 memset(tmp_buf, 0xff, TEST_BUFLEN); in test_csum_all_carry_inputs() 520 result = full_csum(&tmp_buf[align], len, sum); in test_csum_all_carry_inputs() 528 result = full_csum(&tmp_buf[align], len, sum); in test_csum_all_carry_inputs() 552 memset(tmp_buf, 0x4, TEST_BUFLEN); in test_csum_no_carry_inputs() 560 result = full_csum(&tmp_buf[align], len, sum); in test_csum_no_carry_inputs() 568 result = full_csum(&tmp_buf[align], len, sum); in test_csum_no_carry_inputs()
|
/linux-6.12.1/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/ |
D | EventClass.py | 59 tmp_buf=raw_buf[0:80] 60 flags, ip, ax, bx, cx, dx, si, di, bp, sp = struct.unpack('QQQQQQQQQQ', tmp_buf) 74 del tmp_buf 88 tmp_buf=raw_buf[144:176] 89 status, dla, dse, lat = struct.unpack('QQQQ', tmp_buf) 97 del tmp_buf
|
/linux-6.12.1/fs/ceph/ |
D | acl.c | 175 void *tmp_buf = NULL; in ceph_pre_init_acls() local 201 tmp_buf = kmalloc(max(val_size1, val_size2), GFP_KERNEL); in ceph_pre_init_acls() 202 if (!tmp_buf) in ceph_pre_init_acls() 222 tmp_buf, val_size1); in ceph_pre_init_acls() 226 ceph_pagelist_append(pagelist, tmp_buf, val_size1); in ceph_pre_init_acls() 236 tmp_buf, val_size2); in ceph_pre_init_acls() 240 ceph_pagelist_append(pagelist, tmp_buf, val_size2); in ceph_pre_init_acls() 243 kfree(tmp_buf); in ceph_pre_init_acls() 253 kfree(tmp_buf); in ceph_pre_init_acls()
|
D | crypto.c | 340 char tmp_buf[NAME_MAX]; in ceph_encode_encrypted_dname() local 342 elen = snprintf(tmp_buf, sizeof(tmp_buf), "_%.*s_%ld", in ceph_encode_encrypted_dname() 344 memcpy(buf, tmp_buf, elen); in ceph_encode_encrypted_dname() 455 char tmp_buf[CEPH_BASE64_CHARS(NAME_MAX)]; in ceph_fname_to_usr() local 457 name_len = snprintf(tmp_buf, sizeof(tmp_buf), "_%.*s_%ld", in ceph_fname_to_usr() 459 memcpy(oname->name, tmp_buf, name_len); in ceph_fname_to_usr()
|
/linux-6.12.1/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_bo.h | 203 struct vmw_bo *tmp_buf = *buf; in vmw_bo_unreference() local 206 if (tmp_buf) in vmw_bo_unreference() 207 ttm_bo_put(&tmp_buf->tbo); in vmw_bo_unreference() 224 struct vmw_bo *tmp_buf = *buf; in vmw_user_bo_unref() local 227 if (tmp_buf) in vmw_user_bo_unref() 228 drm_gem_object_put(&tmp_buf->tbo.base); in vmw_user_bo_unref()
|
/linux-6.12.1/drivers/hid/ |
D | hid-goodix-spi.c | 392 u8 tmp_buf[GOODIX_HID_MAX_INBUF_SIZE]; in goodix_hid_get_raw_report() local 418 memset(tmp_buf, 0, GOODIX_HID_ACK_HEADER_SIZE); in goodix_hid_get_raw_report() 421 put_unaligned_le16(cmd_register, tmp_buf + tx_len); in goodix_hid_get_raw_report() 424 tmp_buf[tx_len] = (report_type == HID_FEATURE_REPORT ? 0x03 : 0x01) << 4; in goodix_hid_get_raw_report() 425 tmp_buf[tx_len] |= reportnum >= 0x0F ? 0x0F : reportnum; in goodix_hid_get_raw_report() 428 tmp_buf[tx_len++] = GOODIX_HID_GET_REPORT_CMD; in goodix_hid_get_raw_report() 430 memcpy(tmp_buf + tx_len, args, args_len); in goodix_hid_get_raw_report() 434 error = goodix_spi_write(ts, ts->hid_report_addr, tmp_buf, tx_len); in goodix_hid_get_raw_report() 490 u8 tmp_buf[GOODIX_HID_MAX_INBUF_SIZE]; in goodix_hid_set_raw_report() local 506 memset(tmp_buf, 0, GOODIX_HID_ACK_HEADER_SIZE); in goodix_hid_set_raw_report() [all …]
|
/linux-6.12.1/net/atm/ |
D | addr.c | 140 struct sockaddr_atmsvc *tmp_buf, *tmp_bufp; in atm_get_addr() local 149 tmp_buf = tmp_bufp = kmalloc(total, GFP_ATOMIC); in atm_get_addr() 150 if (!tmp_buf) { in atm_get_addr() 158 if (copy_to_user(buf, tmp_buf, total < size ? total : size)) in atm_get_addr() 160 kfree(tmp_buf); in atm_get_addr()
|
D | resources.c | 199 int *tmp_buf, *tmp_p; in atm_getnames() local 210 tmp_buf = kmalloc(size, GFP_ATOMIC); in atm_getnames() 211 if (!tmp_buf) { in atm_getnames() 215 tmp_p = tmp_buf; in atm_getnames() 220 error = ((copy_to_user(buf, tmp_buf, size)) || in atm_getnames() 223 kfree(tmp_buf); in atm_getnames()
|
/linux-6.12.1/drivers/base/regmap/ |
D | regcache.c | 30 void *tmp_buf; in regcache_hw_init() local 59 tmp_buf = kmalloc(map->cache_size_raw, GFP_KERNEL); in regcache_hw_init() 60 if (!tmp_buf) { in regcache_hw_init() 64 ret = regmap_raw_read(map, 0, tmp_buf, in regcache_hw_init() 68 map->reg_defaults_raw = tmp_buf; in regcache_hw_init() 71 kfree(tmp_buf); in regcache_hw_init() 117 void *tmp_buf; in regcache_init() local 173 tmp_buf = kmemdup_array(config->reg_defaults, map->num_reg_defaults, in regcache_init() 175 if (!tmp_buf) in regcache_init() 177 map->reg_defaults = tmp_buf; in regcache_init()
|
/linux-6.12.1/kernel/bpf/ |
D | helpers.c | 823 char *unsafe_ptr = NULL, *tmp_buf = NULL, *tmp_buf_end, *fmt_end; in bpf_bprintf_prepare() local 840 tmp_buf = buffers->bin_args; in bpf_bprintf_prepare() 841 tmp_buf_end = tmp_buf + MAX_BPRINTF_BIN_ARGS; in bpf_bprintf_prepare() 842 data->bin_args = (u32 *)tmp_buf; in bpf_bprintf_prepare() 897 if (tmp_buf) in bpf_bprintf_prepare() 904 if (tmp_buf) { in bpf_bprintf_prepare() 905 err = snprintf(tmp_buf, in bpf_bprintf_prepare() 906 (tmp_buf_end - tmp_buf), in bpf_bprintf_prepare() 909 tmp_buf += (err + 1); in bpf_bprintf_prepare() 925 if (!tmp_buf) in bpf_bprintf_prepare() [all …]
|
/linux-6.12.1/drivers/accel/habanalabs/common/ |
D | debugfs.c | 843 char tmp_buf[32]; in hl_data_read32() local 861 sprintf(tmp_buf, "0x%08x\n", val); in hl_data_read32() 862 return simple_read_from_buffer(buf, count, ppos, tmp_buf, in hl_data_read32() 863 strlen(tmp_buf)); in hl_data_read32() 898 char tmp_buf[32]; in hl_data_read64() local 914 sprintf(tmp_buf, "0x%016llx\n", val); in hl_data_read64() 915 return simple_read_from_buffer(buf, count, ppos, tmp_buf, in hl_data_read64() 916 strlen(tmp_buf)); in hl_data_read64() 1050 char tmp_buf[200]; in hl_get_power_state() local 1063 sprintf(tmp_buf, in hl_get_power_state() [all …]
|
/linux-6.12.1/drivers/hid/intel-ish-hid/ipc/ |
D | pci-ish.c | 82 char tmp_buf[100]; in ish_event_tracer() local 85 vsnprintf(tmp_buf, sizeof(tmp_buf), format, args); in ish_event_tracer() 88 trace_ishtp_dump(tmp_buf); in ish_event_tracer()
|
/linux-6.12.1/tools/perf/arch/x86/util/ |
D | iostat.c | 129 struct iio_root_port **tmp_buf; in iio_root_ports_list_insert() local 133 tmp_buf = realloc(list->rps, in iio_root_ports_list_insert() 135 if (!tmp_buf) { in iio_root_ports_list_insert() 139 tmp_buf[rp->idx] = rp; in iio_root_ports_list_insert() 140 list->rps = tmp_buf; in iio_root_ports_list_insert()
|
/linux-6.12.1/fs/jffs2/ |
D | compr.c | 155 unsigned char *output_buf = NULL, *tmp_buf; in jffs2_compress() local 190 tmp_buf = kmalloc(orig_slen, GFP_KERNEL); in jffs2_compress() 192 if (!tmp_buf) { in jffs2_compress() 198 this->compr_buf = tmp_buf; in jffs2_compress()
|
/linux-6.12.1/drivers/leds/ |
D | led-core.c | 539 char tmp_buf[LED_MAX_NAME_SIZE]; in led_compose_name() local 542 snprintf(tmp_buf, LED_MAX_NAME_SIZE, "%s:%s-%d", in led_compose_name() 546 snprintf(tmp_buf, LED_MAX_NAME_SIZE, "%s:%s", in led_compose_name() 552 devicename, tmp_buf); in led_compose_name() 554 strscpy(led_classdev_name, tmp_buf, LED_MAX_NAME_SIZE); in led_compose_name()
|
/linux-6.12.1/drivers/i2c/busses/ |
D | i2c-bcm-kona.c | 324 uint8_t *tmp_buf = msg->buf; in bcm_kona_i2c_read_fifo() local 332 rc = bcm_kona_i2c_read_fifo_single(dev, tmp_buf, bytes_to_read, in bcm_kona_i2c_read_fifo() 338 tmp_buf += bytes_to_read; in bcm_kona_i2c_read_fifo() 448 uint8_t *tmp_buf = msg->buf; in bcm_kona_i2c_write_fifo() local 454 rc = bcm_kona_i2c_write_fifo_single(dev, tmp_buf, in bcm_kona_i2c_write_fifo() 460 tmp_buf += bytes_to_write; in bcm_kona_i2c_write_fifo()
|
/linux-6.12.1/drivers/net/wireless/silabs/wfx/ |
D | main.c | 225 u8 *tmp_buf; in wfx_send_pdata_pds() local 233 tmp_buf = kmemdup(pds->data, pds->size, GFP_KERNEL); in wfx_send_pdata_pds() 234 if (!tmp_buf) { in wfx_send_pdata_pds() 238 ret = wfx_send_pds(wdev, tmp_buf, pds->size); in wfx_send_pdata_pds() 239 kfree(tmp_buf); in wfx_send_pdata_pds()
|
/linux-6.12.1/drivers/iio/pressure/ |
D | dlhl60d.c | 253 __be32 tmp_buf[2] = { }; in dlh_trigger_handler() local 260 memcpy(&tmp_buf[i++], in dlh_trigger_handler() 265 iio_push_to_buffers(indio_dev, tmp_buf); in dlh_trigger_handler()
|
/linux-6.12.1/drivers/staging/axis-fifo/ |
D | axis-fifo.c | 358 u32 tmp_buf[READ_BUF_SIZE]; in axis_fifo_read() local 430 tmp_buf[i] = ioread32(fifo->base_addr + in axis_fifo_read() 434 if (copy_to_user(buf + copied * sizeof(u32), tmp_buf, in axis_fifo_read() 477 u32 tmp_buf[WRITE_BUF_SIZE]; in axis_fifo_write() local 543 if (copy_from_user(tmp_buf, buf + copied * sizeof(u32), in axis_fifo_write() 551 iowrite32(tmp_buf[i], fifo->base_addr + in axis_fifo_write()
|
/linux-6.12.1/drivers/mtd/nand/raw/gpmi-nand/ |
D | gpmi-nand.c | 1835 u8 *tmp_buf = this->raw_buffer; in gpmi_ecc_read_page_raw() local 1843 ret = nand_read_page_op(chip, page, 0, tmp_buf, in gpmi_ecc_read_page_raw() 1856 swap(tmp_buf[0], tmp_buf[mtd->writesize]); in gpmi_ecc_read_page_raw() 1863 memcpy(oob, tmp_buf, nfc_geo->metadata_size); in gpmi_ecc_read_page_raw() 1871 nand_extract_bits(buf, step * eccsize * 8, tmp_buf, in gpmi_ecc_read_page_raw() 1881 nand_extract_bits(oob, oob_bit_off, tmp_buf, in gpmi_ecc_read_page_raw() 1893 tmp_buf + mtd->writesize + oob_byte_off, in gpmi_ecc_read_page_raw() 1920 u8 *tmp_buf = this->raw_buffer; in gpmi_ecc_write_page_raw() local 1933 memset(tmp_buf, 0xff, mtd->writesize + mtd->oobsize); in gpmi_ecc_write_page_raw() 1939 memcpy(tmp_buf, oob, nfc_geo->metadata_size); in gpmi_ecc_write_page_raw() [all …]
|
/linux-6.12.1/drivers/greybus/ |
D | es2.c | 1118 char *tmp_buf; in apb_log_read() local 1123 tmp_buf = kmalloc(count, GFP_KERNEL); in apb_log_read() 1124 if (!tmp_buf) in apb_log_read() 1127 copied = kfifo_out(&es2->apb_log_fifo, tmp_buf, count); in apb_log_read() 1128 ret = simple_read_from_buffer(buf, count, ppos, tmp_buf, copied); in apb_log_read() 1130 kfree(tmp_buf); in apb_log_read() 1171 char tmp_buf[3]; in apb_log_enable_read() local 1173 sprintf(tmp_buf, "%d\n", enable); in apb_log_enable_read() 1174 return simple_read_from_buffer(buf, count, ppos, tmp_buf, 2); in apb_log_enable_read()
|
/linux-6.12.1/drivers/mtd/chips/ |
D | cfi_cmdset_0002.c | 1834 map_word tmp_buf; in cfi_amdstd_write_words() local 1851 tmp_buf = map_read(map, bus_ofs+chipstart); in cfi_amdstd_write_words() 1858 tmp_buf = map_word_load_partial(map, tmp_buf, buf, i, n); in cfi_amdstd_write_words() 1861 bus_ofs, tmp_buf, FL_WRITING); in cfi_amdstd_write_words() 1905 map_word tmp_buf; in cfi_amdstd_write_words() local 1921 tmp_buf = map_read(map, ofs + chipstart); in cfi_amdstd_write_words() 1925 tmp_buf = map_word_load_partial(map, tmp_buf, buf, 0, len); in cfi_amdstd_write_words() 1928 ofs, tmp_buf, FL_WRITING); in cfi_amdstd_write_words() 2325 map_word tmp_buf; in cfi_amdstd_panic_write() local 2332 tmp_buf = map_read(map, bus_ofs + chipstart); in cfi_amdstd_panic_write() [all …]
|