Home
last modified time | relevance | path

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

1234

/linux-6.3-rc2/arch/sparc/kernel/
A Dprom_64.c79 sprintf(tmp_buf, "%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()
155 sprintf(tmp_buf, "%s@%x,%x", in sbus_path_component()
181 sprintf(tmp_buf, "%s@%x", in pci_path_component()
279 sprintf(tmp_buf, "%s@%x", in usb_path_component()
363 char tmp_buf[64], *n; in build_path_component() local
365 tmp_buf[0] = '\0'; in build_path_component()
367 if (tmp_buf[0] == '\0') in build_path_component()
368 strcpy(tmp_buf, name); in build_path_component()
[all …]
A Dprom_32.c68 sprintf(tmp_buf, "%s@%x,%x", in sparc32_path_component()
85 sprintf(tmp_buf, "%s@%x,%x", in sbus_path_component()
106 sprintf(tmp_buf, "%s@%x,%x", in pci_path_component()
111 sprintf(tmp_buf, "%s@%x", in pci_path_component()
130 sprintf(tmp_buf, "%s@%x,%x", in ebus_path_component()
191 char tmp_buf[64], *n; in build_path_component() local
193 tmp_buf[0] = '\0'; in build_path_component()
194 __build_path_component(dp, tmp_buf); in build_path_component()
195 if (tmp_buf[0] == '\0') in build_path_component()
196 strcpy(tmp_buf, name); in build_path_component()
[all …]
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/btcoexist/
A Drtl_btc.c327 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()
358 (tmp_buf[4] << 8); in rtl_btc_btmpinfo_notify()
362 (tmp_buf[4] << 8); in rtl_btc_btmpinfo_notify()
369 (tmp_buf[4] << 8) | in rtl_btc_btmpinfo_notify()
370 (tmp_buf[5] << 16) | in rtl_btc_btmpinfo_notify()
[all …]
/linux-6.3-rc2/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
A 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
/linux-6.3-rc2/fs/ceph/
A Dacl.c173 void *tmp_buf = NULL; in ceph_pre_init_acls() local
199 tmp_buf = kmalloc(max(val_size1, val_size2), GFP_KERNEL); in ceph_pre_init_acls()
200 if (!tmp_buf) in ceph_pre_init_acls()
220 tmp_buf, val_size1); in ceph_pre_init_acls()
224 ceph_pagelist_append(pagelist, tmp_buf, val_size1); in ceph_pre_init_acls()
234 tmp_buf, val_size2); in ceph_pre_init_acls()
238 ceph_pagelist_append(pagelist, tmp_buf, val_size2); in ceph_pre_init_acls()
241 kfree(tmp_buf); in ceph_pre_init_acls()
251 kfree(tmp_buf); in ceph_pre_init_acls()
/linux-6.3-rc2/kernel/bpf/
A Dhelpers.c889 if (tmp_buf) in bpf_bprintf_prepare()
896 if (tmp_buf) { in bpf_bprintf_prepare()
917 if (!tmp_buf) in bpf_bprintf_prepare()
938 err = snprintf(tmp_buf, tmp_buf_end - tmp_buf, in bpf_bprintf_prepare()
955 if (!tmp_buf) in bpf_bprintf_prepare()
972 tmp_buf += err; in bpf_bprintf_prepare()
977 if (!tmp_buf) in bpf_bprintf_prepare()
986 tmp_buf++; in bpf_bprintf_prepare()
1009 if (tmp_buf) in bpf_bprintf_prepare()
1012 if (tmp_buf) { in bpf_bprintf_prepare()
[all …]
/linux-6.3-rc2/net/atm/
A 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()
A Dresources.c199 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.3-rc2/drivers/base/regmap/
A 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
175 tmp_buf = kmemdup(config->reg_defaults, map->num_reg_defaults * in regcache_init()
177 if (!tmp_buf) in regcache_init()
179 map->reg_defaults = tmp_buf; in regcache_init()
/linux-6.3-rc2/drivers/accel/habanalabs/common/
A Ddebugfs.c871 char tmp_buf[32]; in hl_data_read32() local
891 strlen(tmp_buf)); in hl_data_read32()
926 char tmp_buf[32]; in hl_data_read64() local
944 strlen(tmp_buf)); in hl_data_read64()
1078 char tmp_buf[200]; in hl_get_power_state() local
1091 sprintf(tmp_buf, in hl_get_power_state()
1094 strlen(tmp_buf)); in hl_get_power_state()
1132 char tmp_buf[32]; in hl_i2c_data_read() local
1150 strlen(tmp_buf)); in hl_i2c_data_read()
1293 char tmp_buf[200]; in hl_stop_on_err_read() local
[all …]
/linux-6.3-rc2/drivers/hid/intel-ish-hid/ipc/
A Dpci-ish.c63 char tmp_buf[100]; in ish_event_tracer() local
66 vsnprintf(tmp_buf, sizeof(tmp_buf), format, args); in ish_event_tracer()
69 trace_ishtp_dump(tmp_buf); in ish_event_tracer()
/linux-6.3-rc2/drivers/leds/
A Dled-core.c446 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-6.3-rc2/tools/perf/arch/x86/util/
A Diostat.c128 struct iio_root_port **tmp_buf; in iio_root_ports_list_insert() local
132 tmp_buf = realloc(list->rps, in iio_root_ports_list_insert()
134 if (!tmp_buf) { in iio_root_ports_list_insert()
138 tmp_buf[rp->idx] = rp; in iio_root_ports_list_insert()
139 list->rps = tmp_buf; in iio_root_ports_list_insert()
/linux-6.3-rc2/fs/jffs2/
A 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()
/linux-6.3-rc2/drivers/i2c/busses/
A Di2c-bcm-kona.c324 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()
A Di2c-brcmstb.c452 u8 *tmp_buf; in brcmstb_i2c_xfer() local
461 tmp_buf = pmsg->buf; in brcmstb_i2c_xfer()
505 rc = brcmstb_i2c_xfer_bsc_data(dev, tmp_buf, in brcmstb_i2c_xfer()
511 tmp_buf += bytes_to_xfer; in brcmstb_i2c_xfer()
/linux-6.3-rc2/drivers/net/wireless/silabs/wfx/
A Dmain.c223 u8 *tmp_buf; in wfx_send_pdata_pds() local
231 tmp_buf = kmemdup(pds->data, pds->size, GFP_KERNEL); in wfx_send_pdata_pds()
232 if (!tmp_buf) { in wfx_send_pdata_pds()
236 ret = wfx_send_pds(wdev, tmp_buf, pds->size); in wfx_send_pdata_pds()
237 kfree(tmp_buf); in wfx_send_pdata_pds()
/linux-6.3-rc2/drivers/iio/pressure/
A Ddlhl60d.c253 __be32 tmp_buf[2]; in dlh_trigger_handler() local
261 memcpy(tmp_buf + i, in dlh_trigger_handler()
267 iio_push_to_buffers(indio_dev, tmp_buf); in dlh_trigger_handler()
/linux-6.3-rc2/drivers/staging/axis-fifo/
A Daxis-fifo.c365 u32 tmp_buf[READ_BUF_SIZE]; in axis_fifo_read() local
439 tmp_buf[i] = ioread32(fifo->base_addr + in axis_fifo_read()
443 if (copy_to_user(buf + copied * sizeof(u32), tmp_buf, in axis_fifo_read()
486 u32 tmp_buf[WRITE_BUF_SIZE]; in axis_fifo_write() local
554 if (copy_from_user(tmp_buf, buf + copied * sizeof(u32), in axis_fifo_write()
562 iowrite32(tmp_buf[i], fifo->base_addr + in axis_fifo_write()
/linux-6.3-rc2/drivers/mtd/nand/raw/gpmi-nand/
A Dgpmi-nand.c1818 u8 *tmp_buf = this->raw_buffer; in gpmi_ecc_read_page_raw() local
1826 ret = nand_read_page_op(chip, page, 0, tmp_buf, in gpmi_ecc_read_page_raw()
1839 swap(tmp_buf[0], tmp_buf[mtd->writesize]); in gpmi_ecc_read_page_raw()
1846 memcpy(oob, tmp_buf, nfc_geo->metadata_size); in gpmi_ecc_read_page_raw()
1864 nand_extract_bits(oob, oob_bit_off, tmp_buf, in gpmi_ecc_read_page_raw()
1903 u8 *tmp_buf = this->raw_buffer; in gpmi_ecc_write_page_raw() local
1922 memcpy(tmp_buf, oob, nfc_geo->metadata_size); in gpmi_ecc_write_page_raw()
1929 nand_extract_bits(tmp_buf, dst_bit_off, buf, in gpmi_ecc_write_page_raw()
1939 nand_extract_bits(tmp_buf, dst_bit_off, oob, in gpmi_ecc_write_page_raw()
1949 memcpy(tmp_buf + mtd->writesize + oob_byte_off, in gpmi_ecc_write_page_raw()
[all …]
/linux-6.3-rc2/drivers/greybus/
A Des2.c1118 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.3-rc2/drivers/mtd/chips/
A Dcfi_cmdset_0002.c1836 map_word tmp_buf; in cfi_amdstd_write_words() local
1860 tmp_buf = map_word_load_partial(map, tmp_buf, buf, i, n); in cfi_amdstd_write_words()
1907 map_word tmp_buf; in cfi_amdstd_write_words() local
1927 tmp_buf = map_word_load_partial(map, tmp_buf, buf, 0, len); in cfi_amdstd_write_words()
1930 ofs, tmp_buf, FL_WRITING); in cfi_amdstd_write_words()
2327 map_word tmp_buf; in cfi_amdstd_panic_write() local
2339 tmp_buf = map_word_load_partial(map, tmp_buf, buf, i, n); in cfi_amdstd_panic_write()
2342 bus_ofs, tmp_buf); in cfi_amdstd_panic_write()
2387 map_word tmp_buf; in cfi_amdstd_panic_write() local
2395 tmp_buf = map_word_load_partial(map, tmp_buf, buf, 0, len); in cfi_amdstd_panic_write()
[all …]
/linux-6.3-rc2/drivers/hwmon/
A 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()
/linux-6.3-rc2/drivers/net/wireless/ath/ath9k/
A Dhtc_drv_txrx.c1086 struct ath9k_htc_rxbuf *rxbuf = NULL, *tmp_buf = NULL; in ath9k_rx_tasklet() local
1094 list_for_each_entry(tmp_buf, &priv->rx.rxbuf, list) { in ath9k_rx_tasklet()
1095 if (tmp_buf->in_process) { in ath9k_rx_tasklet()
1096 rxbuf = tmp_buf; in ath9k_rx_tasklet()
1143 struct ath9k_htc_rxbuf *rxbuf = NULL, *tmp_buf = NULL; in ath9k_htc_rxep() local
1151 list_for_each_entry(tmp_buf, &priv->rx.rxbuf, list) { in ath9k_htc_rxep()
1152 if (!tmp_buf->in_process) { in ath9k_htc_rxep()
1153 rxbuf = tmp_buf; in ath9k_htc_rxep()
/linux-6.3-rc2/fs/cifs/
A Dreaddir.c1067 char *tmp_buf = NULL; in cifs_readdir() local
1185 tmp_buf = kmalloc(UNICODE_NAME_MAX, GFP_KERNEL); in cifs_readdir()
1186 if (tmp_buf == NULL) { in cifs_readdir()
1202 *tmp_buf = 0; in cifs_readdir()
1204 tmp_buf, max_len, cfid); in cifs_readdir()
1221 ctx->pos, tmp_buf); in cifs_readdir()
1229 kfree(tmp_buf); in cifs_readdir()

Completed in 82 milliseconds

1234