Home
last modified time | relevance | path

Searched refs:tmp_buf (Results 1 – 25 of 78) sorted by relevance

1234

/kernel/linux/linux-5.10/arch/sparc/kernel/
Dprom_64.c66 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 …]
Dprom_32.c57 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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/btcoexist/
Drtl_btc.c306 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 …]
/kernel/linux/linux-5.10/fs/ceph/
Dacl.c167 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()
/kernel/linux/linux-5.10/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
DEventClass.py59 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
/kernel/linux/linux-5.10/fs/pstore/
Dplatform.c400 char tmp_buf[ERROR_DESC_MAX_LEN]; in dump_stacktrace() local
407 memset(tmp_buf, 0, sizeof(tmp_buf)); in dump_stacktrace()
412 if (stack_len >= sizeof(tmp_buf)) { in dump_stacktrace()
413 tmp_buf[sizeof(tmp_buf) - 1] = '\0'; in dump_stacktrace()
416 stack_len += scnprintf(tmp_buf + stack_len, sizeof(tmp_buf) - stack_len, in dump_stacktrace()
419 if (strncmp(tmp_buf, "panic", strlen("panic")) == 0) in dump_stacktrace()
422 (void)memset(tmp_buf, 0, sizeof(tmp_buf)); in dump_stacktrace()
427 stack_len = min(buf_size - com_len, strlen(tmp_buf)); in dump_stacktrace()
428 memcpy(pbuf + com_len, tmp_buf, stack_len); in dump_stacktrace()
/kernel/linux/linux-5.10/net/atm/
Daddr.c140 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()
Dresources.c201 int *tmp_buf, *tmp_p; in atm_getnames() local
212 tmp_buf = kmalloc(size, GFP_ATOMIC); in atm_getnames()
213 if (!tmp_buf) { in atm_getnames()
217 tmp_p = tmp_buf; in atm_getnames()
223 error = ((copy_to_user(buf, tmp_buf, size)) || in atm_getnames()
226 kfree(tmp_buf); in atm_getnames()
/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/
Ddebugfs.c699 char tmp_buf[32]; in hl_data_read32() local
724 sprintf(tmp_buf, "0x%08x\n", val); in hl_data_read32()
725 return simple_read_from_buffer(buf, count, ppos, tmp_buf, in hl_data_read32()
726 strlen(tmp_buf)); in hl_data_read32()
768 char tmp_buf[32]; in hl_data_read64() local
788 sprintf(tmp_buf, "0x%016llx\n", val); in hl_data_read64()
789 return simple_read_from_buffer(buf, count, ppos, tmp_buf, in hl_data_read64()
790 strlen(tmp_buf)); in hl_data_read64()
827 char tmp_buf[200]; in hl_get_power_state() local
840 sprintf(tmp_buf, in hl_get_power_state()
[all …]
/kernel/linux/linux-5.10/drivers/base/regmap/
Dregcache.c32 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()
/kernel/linux/linux-5.10/drivers/hid/intel-ish-hid/ipc/
Dpci-ish.c56 char tmp_buf[100]; in ish_event_tracer() local
59 vsnprintf(tmp_buf, sizeof(tmp_buf), format, args); in ish_event_tracer()
62 trace_ishtp_dump(tmp_buf); in ish_event_tracer()
/kernel/linux/linux-5.10/drivers/leds/
Dled-core.c452 char tmp_buf[LED_MAX_NAME_SIZE]; in led_compose_name() local
455 snprintf(tmp_buf, LED_MAX_NAME_SIZE, "%s:%s-%d", in led_compose_name()
459 snprintf(tmp_buf, LED_MAX_NAME_SIZE, "%s:%s", in led_compose_name()
465 devicename, tmp_buf); in led_compose_name()
467 strscpy(led_classdev_name, tmp_buf, LED_MAX_NAME_SIZE); in led_compose_name()
/kernel/linux/linux-5.10/fs/jffs2/
Dcompr.c155 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()
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-bcm-kona.c334 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()
/kernel/linux/linux-5.10/drivers/staging/wfx/
Dmain.c219 u8 *tmp_buf; in wfx_send_pdata_pds() local
227 tmp_buf = kmemdup(pds->data, pds->size, GFP_KERNEL); in wfx_send_pdata_pds()
228 if (!tmp_buf) { in wfx_send_pdata_pds()
232 ret = wfx_send_pds(wdev, tmp_buf, pds->size); in wfx_send_pdata_pds()
233 kfree(tmp_buf); in wfx_send_pdata_pds()
/kernel/linux/linux-5.10/drivers/iio/pressure/
Ddlhl60d.c254 __be32 tmp_buf[2]; in dlh_trigger_handler() local
262 memcpy(tmp_buf + i, in dlh_trigger_handler()
268 iio_push_to_buffers(indio_dev, tmp_buf); in dlh_trigger_handler()
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/gpmi-nand/
Dgpmi-nand.c1596 u8 *tmp_buf = this->raw_buffer; in gpmi_ecc_read_page_raw() local
1604 ret = nand_read_page_op(chip, page, 0, tmp_buf, in gpmi_ecc_read_page_raw()
1617 swap(tmp_buf[0], tmp_buf[mtd->writesize]); in gpmi_ecc_read_page_raw()
1624 memcpy(oob, tmp_buf, nfc_geo->metadata_size); in gpmi_ecc_read_page_raw()
1632 nand_extract_bits(buf, step * eccsize * 8, tmp_buf, in gpmi_ecc_read_page_raw()
1642 nand_extract_bits(oob, oob_bit_off, tmp_buf, in gpmi_ecc_read_page_raw()
1654 tmp_buf + mtd->writesize + oob_byte_off, in gpmi_ecc_read_page_raw()
1681 u8 *tmp_buf = this->raw_buffer; in gpmi_ecc_write_page_raw() local
1694 memset(tmp_buf, 0xff, mtd->writesize + mtd->oobsize); in gpmi_ecc_write_page_raw()
1700 memcpy(tmp_buf, oob, nfc_geo->metadata_size); in gpmi_ecc_write_page_raw()
[all …]
/kernel/linux/linux-5.10/drivers/media/usb/tm6000/
Dtm6000-usb-isoc.h33 u32 tmp_buf; member
/kernel/linux/linux-5.10/drivers/staging/axis-fifo/
Daxis-fifo.c364 u32 tmp_buf[READ_BUF_SIZE]; in axis_fifo_read() local
438 tmp_buf[i] = ioread32(fifo->base_addr + in axis_fifo_read()
442 if (copy_to_user(buf + copied * sizeof(u32), tmp_buf, in axis_fifo_read()
485 u32 tmp_buf[WRITE_BUF_SIZE]; in axis_fifo_write() local
553 if (copy_from_user(tmp_buf, buf + copied * sizeof(u32), in axis_fifo_write()
561 iowrite32(tmp_buf[i], fifo->base_addr + in axis_fifo_write()
/kernel/linux/linux-5.10/fs/cifs/
Dreaddir.c941 char *tmp_buf = NULL; in cifs_readdir() local
1004 tmp_buf = kmalloc(UNICODE_NAME_MAX, GFP_KERNEL); in cifs_readdir()
1005 if (tmp_buf == NULL) { in cifs_readdir()
1021 *tmp_buf = 0; in cifs_readdir()
1023 tmp_buf, max_len); in cifs_readdir()
1034 ctx->pos, tmp_buf); in cifs_readdir()
1042 kfree(tmp_buf); in cifs_readdir()
/kernel/linux/linux-5.10/drivers/greybus/
Des2.c1123 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()
/kernel/linux/linux-5.10/drivers/mtd/chips/
Dcfi_cmdset_0002.c1830 map_word tmp_buf; in cfi_amdstd_write_words() local
1847 tmp_buf = map_read(map, bus_ofs+chipstart); in cfi_amdstd_write_words()
1854 tmp_buf = map_word_load_partial(map, tmp_buf, buf, i, n); in cfi_amdstd_write_words()
1857 bus_ofs, tmp_buf, FL_WRITING); in cfi_amdstd_write_words()
1901 map_word tmp_buf; in cfi_amdstd_write_words() local
1917 tmp_buf = map_read(map, ofs + chipstart); in cfi_amdstd_write_words()
1921 tmp_buf = map_word_load_partial(map, tmp_buf, buf, 0, len); in cfi_amdstd_write_words()
1924 ofs, tmp_buf, FL_WRITING); in cfi_amdstd_write_words()
2321 map_word tmp_buf; in cfi_amdstd_panic_write() local
2328 tmp_buf = map_read(map, bus_ofs + chipstart); in cfi_amdstd_panic_write()
[all …]
/kernel/linux/linux-5.10/drivers/hwmon/
Dnpcm750-pwm-fan.c215 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()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
Dhtc_drv_txrx.c1081 struct ath9k_htc_rxbuf *rxbuf = NULL, *tmp_buf = NULL; in ath9k_rx_tasklet() local
1089 list_for_each_entry(tmp_buf, &priv->rx.rxbuf, list) { in ath9k_rx_tasklet()
1090 if (tmp_buf->in_process) { in ath9k_rx_tasklet()
1091 rxbuf = tmp_buf; in ath9k_rx_tasklet()
1138 struct ath9k_htc_rxbuf *rxbuf = NULL, *tmp_buf = NULL; in ath9k_htc_rxep() local
1146 list_for_each_entry(tmp_buf, &priv->rx.rxbuf, list) { in ath9k_htc_rxep()
1147 if (!tmp_buf->in_process) { in ath9k_htc_rxep()
1148 rxbuf = tmp_buf; in ath9k_htc_rxep()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dtrx.c225 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()

1234