/Linux-v5.4/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-v5.4/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-v5.4/fs/ceph/ |
D | acl.c | 167 void *tmp_buf = NULL; in ceph_pre_init_acls() local 193 tmp_buf = kmalloc(max(val_size1, val_size2), GFP_KERNEL); in ceph_pre_init_acls() 194 if (!tmp_buf) in ceph_pre_init_acls() 214 tmp_buf, val_size1); in ceph_pre_init_acls() 218 ceph_pagelist_append(pagelist, tmp_buf, val_size1); in ceph_pre_init_acls() 228 tmp_buf, val_size2); in ceph_pre_init_acls() 232 ceph_pagelist_append(pagelist, tmp_buf, val_size2); in ceph_pre_init_acls() 235 kfree(tmp_buf); in ceph_pre_init_acls() 245 kfree(tmp_buf); in ceph_pre_init_acls()
|
/Linux-v5.4/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-v5.4/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 | 202 int *tmp_buf, *tmp_p; in atm_dev_ioctl() local 232 tmp_buf = kmalloc(size, GFP_ATOMIC); in atm_dev_ioctl() 233 if (!tmp_buf) { in atm_dev_ioctl() 237 tmp_p = tmp_buf; in atm_dev_ioctl() 243 error = ((copy_to_user(buf, tmp_buf, size)) || in atm_dev_ioctl() 246 kfree(tmp_buf); in atm_dev_ioctl()
|
/Linux-v5.4/drivers/base/regmap/ |
D | regcache.c | 32 void *tmp_buf; in regcache_hw_init() local 61 tmp_buf = kmalloc(map->cache_size_raw, GFP_KERNEL); in regcache_hw_init() 62 if (!tmp_buf) { in regcache_hw_init() 66 ret = regmap_raw_read(map, 0, tmp_buf, in regcache_hw_init() 70 map->reg_defaults_raw = tmp_buf; in regcache_hw_init() 73 kfree(tmp_buf); in regcache_hw_init() 119 void *tmp_buf; in regcache_init() local 169 tmp_buf = kmemdup(config->reg_defaults, map->num_reg_defaults * in regcache_init() 171 if (!tmp_buf) in regcache_init() 173 map->reg_defaults = tmp_buf; in regcache_init()
|
/Linux-v5.4/drivers/hid/intel-ish-hid/ipc/ |
D | pci-ish.c | 54 char tmp_buf[100]; in ish_event_tracer() local 57 vsnprintf(tmp_buf, sizeof(tmp_buf), format, args); in ish_event_tracer() 60 trace_ishtp_dump(tmp_buf); in ish_event_tracer()
|
/Linux-v5.4/drivers/leds/ |
D | led-core.c | 446 char tmp_buf[LED_MAX_NAME_SIZE]; in led_compose_name() local 449 snprintf(tmp_buf, LED_MAX_NAME_SIZE, "%s:%s-%d", in led_compose_name() 453 snprintf(tmp_buf, LED_MAX_NAME_SIZE, "%s:%s", in led_compose_name() 459 devicename, tmp_buf); in led_compose_name() 461 strscpy(led_classdev_name, tmp_buf, LED_MAX_NAME_SIZE); in led_compose_name()
|
/Linux-v5.4/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-v5.4/drivers/misc/habanalabs/ |
D | debugfs.c | 606 char tmp_buf[32]; in hl_data_read32() local 626 sprintf(tmp_buf, "0x%08x\n", val); in hl_data_read32() 627 return simple_read_from_buffer(buf, count, ppos, tmp_buf, in hl_data_read32() 628 strlen(tmp_buf)); in hl_data_read32() 665 char tmp_buf[200]; in hl_get_power_state() local 678 sprintf(tmp_buf, in hl_get_power_state() 680 return simple_read_from_buffer(buf, count, ppos, tmp_buf, in hl_get_power_state() 681 strlen(tmp_buf)); in hl_get_power_state() 717 char tmp_buf[32]; in hl_i2c_data_read() local 733 sprintf(tmp_buf, "0x%02x\n", val); in hl_i2c_data_read() [all …]
|
/Linux-v5.4/drivers/i2c/busses/ |
D | i2c-bcm-kona.c | 334 uint8_t *tmp_buf = msg->buf; in bcm_kona_i2c_read_fifo() local 342 rc = bcm_kona_i2c_read_fifo_single(dev, tmp_buf, bytes_to_read, in bcm_kona_i2c_read_fifo() 348 tmp_buf += bytes_to_read; in bcm_kona_i2c_read_fifo() 458 uint8_t *tmp_buf = msg->buf; in bcm_kona_i2c_write_fifo() local 464 rc = bcm_kona_i2c_write_fifo_single(dev, tmp_buf, in bcm_kona_i2c_write_fifo() 470 tmp_buf += bytes_to_write; in bcm_kona_i2c_write_fifo()
|
D | i2c-brcmstb.c | 463 u8 *tmp_buf; in brcmstb_i2c_xfer() local 472 tmp_buf = pmsg->buf; in brcmstb_i2c_xfer() 516 rc = brcmstb_i2c_xfer_bsc_data(dev, tmp_buf, in brcmstb_i2c_xfer() 522 tmp_buf += bytes_to_xfer; in brcmstb_i2c_xfer()
|
/Linux-v5.4/fs/cifs/ |
D | readdir.c | 797 char *tmp_buf = NULL; in cifs_readdir() local 853 tmp_buf = kmalloc(UNICODE_NAME_MAX, GFP_KERNEL); in cifs_readdir() 854 if (tmp_buf == NULL) { in cifs_readdir() 870 *tmp_buf = 0; in cifs_readdir() 872 tmp_buf, max_len); in cifs_readdir() 883 ctx->pos, tmp_buf); in cifs_readdir() 891 kfree(tmp_buf); in cifs_readdir()
|
/Linux-v5.4/drivers/mtd/nand/raw/gpmi-nand/ |
D | gpmi-nand.c | 1723 u8 *tmp_buf = this->raw_buffer; in gpmi_ecc_read_page_raw() local 1731 ret = nand_read_page_op(chip, page, 0, tmp_buf, in gpmi_ecc_read_page_raw() 1744 swap(tmp_buf[0], tmp_buf[mtd->writesize]); in gpmi_ecc_read_page_raw() 1751 memcpy(oob, tmp_buf, nfc_geo->metadata_size); in gpmi_ecc_read_page_raw() 1760 tmp_buf, src_bit_off, in gpmi_ecc_read_page_raw() 1771 tmp_buf, src_bit_off, in gpmi_ecc_read_page_raw() 1783 tmp_buf + mtd->writesize + oob_byte_off, in gpmi_ecc_read_page_raw() 1810 u8 *tmp_buf = this->raw_buffer; in gpmi_ecc_write_page_raw() local 1823 memset(tmp_buf, 0xff, mtd->writesize + mtd->oobsize); in gpmi_ecc_write_page_raw() 1829 memcpy(tmp_buf, oob, nfc_geo->metadata_size); in gpmi_ecc_write_page_raw() [all …]
|
/Linux-v5.4/drivers/media/usb/tm6000/ |
D | tm6000-usb-isoc.h | 33 u32 tmp_buf; member
|
/Linux-v5.4/drivers/greybus/ |
D | es2.c | 1123 char *tmp_buf; in apb_log_read() local 1128 tmp_buf = kmalloc(count, GFP_KERNEL); in apb_log_read() 1129 if (!tmp_buf) in apb_log_read() 1132 copied = kfifo_out(&es2->apb_log_fifo, tmp_buf, count); in apb_log_read() 1133 ret = simple_read_from_buffer(buf, count, ppos, tmp_buf, copied); in apb_log_read() 1135 kfree(tmp_buf); in apb_log_read() 1176 char tmp_buf[3]; in apb_log_enable_read() local 1178 sprintf(tmp_buf, "%d\n", enable); in apb_log_enable_read() 1179 return simple_read_from_buffer(buf, count, ppos, tmp_buf, 3); in apb_log_enable_read()
|
/Linux-v5.4/drivers/mtd/chips/ |
D | cfi_cmdset_0002.c | 1832 map_word tmp_buf; in cfi_amdstd_write_words() local 1849 tmp_buf = map_read(map, bus_ofs+chipstart); in cfi_amdstd_write_words() 1856 tmp_buf = map_word_load_partial(map, tmp_buf, buf, i, n); in cfi_amdstd_write_words() 1859 bus_ofs, tmp_buf, FL_WRITING); in cfi_amdstd_write_words() 1903 map_word tmp_buf; in cfi_amdstd_write_words() local 1919 tmp_buf = map_read(map, ofs + chipstart); in cfi_amdstd_write_words() 1923 tmp_buf = map_word_load_partial(map, tmp_buf, buf, 0, len); in cfi_amdstd_write_words() 1926 ofs, tmp_buf, FL_WRITING); in cfi_amdstd_write_words() 2322 map_word tmp_buf; in cfi_amdstd_panic_write() local 2329 tmp_buf = map_read(map, bus_ofs + chipstart); in cfi_amdstd_panic_write() [all …]
|
/Linux-v5.4/drivers/hwmon/ |
D | npcm750-pwm-fan.c | 215 u32 tmp_buf, ctrl_en_bit, env_bit; in npcm7xx_pwm_config_set() local 224 tmp_buf = ioread32(NPCM7XX_PWM_REG_CR(data->pwm_base, module)); in npcm7xx_pwm_config_set() 250 tmp_buf &= ~ctrl_en_bit; in npcm7xx_pwm_config_set() 251 tmp_buf |= env_bit; in npcm7xx_pwm_config_set() 254 tmp_buf |= ctrl_en_bit; in npcm7xx_pwm_config_set() 255 tmp_buf &= ~env_bit; in npcm7xx_pwm_config_set() 258 iowrite32(tmp_buf, NPCM7XX_PWM_REG_CR(data->pwm_base, module)); in npcm7xx_pwm_config_set()
|
/Linux-v5.4/drivers/staging/axis-fifo/ |
D | axis-fifo.c | 351 u32 tmp_buf[READ_BUF_SIZE]; in axis_fifo_read() local 420 tmp_buf[i] = ioread32(fifo->base_addr + in axis_fifo_read() 424 if (copy_to_user(buf + copied * sizeof(u32), tmp_buf, in axis_fifo_read() 446 u32 tmp_buf[WRITE_BUF_SIZE]; in axis_fifo_write() local 516 if (copy_from_user(tmp_buf, buf + copied * sizeof(u32), in axis_fifo_write() 523 iowrite32(tmp_buf[i], fifo->base_addr + in axis_fifo_write()
|
/Linux-v5.4/drivers/net/wireless/ath/ath9k/ |
D | htc_drv_txrx.c | 1052 struct ath9k_htc_rxbuf *rxbuf = NULL, *tmp_buf = NULL; in ath9k_rx_tasklet() local 1060 list_for_each_entry(tmp_buf, &priv->rx.rxbuf, list) { in ath9k_rx_tasklet() 1061 if (tmp_buf->in_process) { in ath9k_rx_tasklet() 1062 rxbuf = tmp_buf; in ath9k_rx_tasklet() 1109 struct ath9k_htc_rxbuf *rxbuf = NULL, *tmp_buf = NULL; in ath9k_htc_rxep() local 1113 list_for_each_entry(tmp_buf, &priv->rx.rxbuf, list) { in ath9k_htc_rxep() 1114 if (!tmp_buf->in_process) { in ath9k_htc_rxep() 1115 rxbuf = tmp_buf; in ath9k_htc_rxep()
|
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
D | trx.c | 202 u8 *tmp_buf; in _rtl92se_translate_rx_signal_stuff() local 208 tmp_buf = skb->data + pstats->rx_drvinfo_size + pstats->rx_bufshift; in _rtl92se_translate_rx_signal_stuff() 210 hdr = (struct ieee80211_hdr *)tmp_buf; in _rtl92se_translate_rx_signal_stuff() 231 rtl_process_phyinfo(hw, tmp_buf, pstats); in _rtl92se_translate_rx_signal_stuff()
|
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | trx.c | 225 u8 *tmp_buf; in translate_rx_signal_stuff() local 231 tmp_buf = skb->data + pstatus->rx_drvinfo_size + pstatus->rx_bufshift; in translate_rx_signal_stuff() 233 hdr = (struct ieee80211_hdr *)tmp_buf; in translate_rx_signal_stuff() 257 rtl_process_phyinfo(hw, tmp_buf, pstatus); in translate_rx_signal_stuff()
|
/Linux-v5.4/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_minidump.c | 1173 __le32 *tmp_buf; in __qlcnic_fw_cmd_get_minidump_temp() local 1192 tmp_buf = tmp_addr; in __qlcnic_fw_cmd_get_minidump_temp() 1195 *buffer++ = __le32_to_cpu(*tmp_buf++); in __qlcnic_fw_cmd_get_minidump_temp() 1210 u32 version, csum, *tmp_buf; in qlcnic_fw_cmd_get_minidump_temp() local 1230 tmp_buf = (u32 *)fw_dump->tmpl_hdr; in qlcnic_fw_cmd_get_minidump_temp() 1234 err = __qlcnic_fw_cmd_get_minidump_temp(adapter, tmp_buf, temp_size); in qlcnic_fw_cmd_get_minidump_temp() 1238 err = qlcnic_fw_flash_get_minidump_temp(adapter, (u8 *)tmp_buf, in qlcnic_fw_cmd_get_minidump_temp() 1251 csum = qlcnic_temp_checksum((uint32_t *)tmp_buf, temp_size); in qlcnic_fw_cmd_get_minidump_temp()
|