Home
last modified time | relevance | path

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

1234

/linux/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/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/kernel/bpf/
A Dhelpers.c834 if (tmp_buf) in bpf_bprintf_prepare()
841 if (tmp_buf) { in bpf_bprintf_prepare()
862 if (!tmp_buf) in bpf_bprintf_prepare()
883 err = snprintf(tmp_buf, tmp_buf_end - tmp_buf, in bpf_bprintf_prepare()
900 if (!tmp_buf) in bpf_bprintf_prepare()
917 tmp_buf += err; in bpf_bprintf_prepare()
922 if (!tmp_buf) in bpf_bprintf_prepare()
931 tmp_buf++; in bpf_bprintf_prepare()
954 if (tmp_buf) in bpf_bprintf_prepare()
957 if (tmp_buf) { in bpf_bprintf_prepare()
[all …]
/linux/fs/ceph/
A Dacl.c172 void *tmp_buf = NULL; in ceph_pre_init_acls() local
198 tmp_buf = kmalloc(max(val_size1, val_size2), GFP_KERNEL); in ceph_pre_init_acls()
199 if (!tmp_buf) in ceph_pre_init_acls()
219 tmp_buf, val_size1); in ceph_pre_init_acls()
223 ceph_pagelist_append(pagelist, tmp_buf, val_size1); in ceph_pre_init_acls()
233 tmp_buf, val_size2); in ceph_pre_init_acls()
237 ceph_pagelist_append(pagelist, tmp_buf, val_size2); in ceph_pre_init_acls()
240 kfree(tmp_buf); in ceph_pre_init_acls()
250 kfree(tmp_buf); in ceph_pre_init_acls()
/linux/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/drivers/misc/habanalabs/common/
A Ddebugfs.c623 char tmp_buf[32]; in hl_data_read32() local
650 strlen(tmp_buf)); in hl_data_read32()
696 char tmp_buf[32]; in hl_data_read64() local
723 strlen(tmp_buf)); in hl_data_read64()
824 char tmp_buf[200]; in hl_get_power_state() local
837 sprintf(tmp_buf, in hl_get_power_state()
840 strlen(tmp_buf)); in hl_get_power_state()
876 char tmp_buf[32]; in hl_i2c_data_read() local
1025 char tmp_buf[200]; in hl_clk_gate_read() local
1067 char tmp_buf[200]; in hl_stop_on_err_read() local
[all …]
/linux/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/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
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/drivers/hid/intel-ish-hid/ipc/
A Dpci-ish.c60 char tmp_buf[100]; in ish_event_tracer() local
63 vsnprintf(tmp_buf, sizeof(tmp_buf), format, args); in ish_event_tracer()
66 trace_ishtp_dump(tmp_buf); in ish_event_tracer()
/linux/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/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/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/drivers/mtd/nand/raw/gpmi-nand/
A Dgpmi-nand.c1580 u8 *tmp_buf = this->raw_buffer; in gpmi_ecc_read_page_raw() local
1588 ret = nand_read_page_op(chip, page, 0, tmp_buf, in gpmi_ecc_read_page_raw()
1601 swap(tmp_buf[0], tmp_buf[mtd->writesize]); in gpmi_ecc_read_page_raw()
1608 memcpy(oob, tmp_buf, nfc_geo->metadata_size); in gpmi_ecc_read_page_raw()
1626 nand_extract_bits(oob, oob_bit_off, tmp_buf, in gpmi_ecc_read_page_raw()
1665 u8 *tmp_buf = this->raw_buffer; in gpmi_ecc_write_page_raw() local
1684 memcpy(tmp_buf, oob, nfc_geo->metadata_size); in gpmi_ecc_write_page_raw()
1691 nand_extract_bits(tmp_buf, dst_bit_off, buf, in gpmi_ecc_write_page_raw()
1701 nand_extract_bits(tmp_buf, dst_bit_off, oob, in gpmi_ecc_write_page_raw()
1711 memcpy(tmp_buf + mtd->writesize + oob_byte_off, in gpmi_ecc_write_page_raw()
[all …]
/linux/drivers/i2c/busses/
A 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()
/linux/drivers/staging/wfx/
A Dmain.c232 u8 *tmp_buf; in wfx_send_pdata_pds() local
240 tmp_buf = kmemdup(pds->data, pds->size, GFP_KERNEL); in wfx_send_pdata_pds()
241 if (!tmp_buf) { in wfx_send_pdata_pds()
245 ret = wfx_send_pds(wdev, tmp_buf, pds->size); in wfx_send_pdata_pds()
246 kfree(tmp_buf); in wfx_send_pdata_pds()
/linux/drivers/iio/pressure/
A 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()
/linux/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/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/fs/cifs/
A Dreaddir.c948 char *tmp_buf = NULL; in cifs_readdir() local
1012 tmp_buf = kmalloc(UNICODE_NAME_MAX, GFP_KERNEL); in cifs_readdir()
1013 if (tmp_buf == NULL) { in cifs_readdir()
1029 *tmp_buf = 0; in cifs_readdir()
1031 tmp_buf, max_len); in cifs_readdir()
1042 ctx->pos, tmp_buf); in cifs_readdir()
1050 kfree(tmp_buf); in cifs_readdir()
/linux/drivers/mtd/chips/
A Dcfi_cmdset_0002.c1842 map_word tmp_buf; in cfi_amdstd_write_words() local
1866 tmp_buf = map_word_load_partial(map, tmp_buf, buf, i, n); in cfi_amdstd_write_words()
1913 map_word tmp_buf; in cfi_amdstd_write_words() local
1933 tmp_buf = map_word_load_partial(map, tmp_buf, buf, 0, len); in cfi_amdstd_write_words()
1936 ofs, tmp_buf, FL_WRITING); in cfi_amdstd_write_words()
2333 map_word tmp_buf; in cfi_amdstd_panic_write() local
2345 tmp_buf = map_word_load_partial(map, tmp_buf, buf, i, n); in cfi_amdstd_panic_write()
2348 bus_ofs, tmp_buf); in cfi_amdstd_panic_write()
2393 map_word tmp_buf; in cfi_amdstd_panic_write() local
2401 tmp_buf = map_word_load_partial(map, tmp_buf, buf, 0, len); in cfi_amdstd_panic_write()
[all …]
/linux/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/drivers/net/wireless/ath/ath9k/
A Dhtc_drv_txrx.c1073 struct ath9k_htc_rxbuf *rxbuf = NULL, *tmp_buf = NULL; in ath9k_rx_tasklet() local
1081 list_for_each_entry(tmp_buf, &priv->rx.rxbuf, list) { in ath9k_rx_tasklet()
1082 if (tmp_buf->in_process) { in ath9k_rx_tasklet()
1083 rxbuf = tmp_buf; in ath9k_rx_tasklet()
1130 struct ath9k_htc_rxbuf *rxbuf = NULL, *tmp_buf = NULL; in ath9k_htc_rxep() local
1134 list_for_each_entry(tmp_buf, &priv->rx.rxbuf, list) { in ath9k_htc_rxep()
1135 if (!tmp_buf->in_process) { in ath9k_htc_rxep()
1136 rxbuf = tmp_buf; in ath9k_htc_rxep()
/linux/drivers/media/usb/tm6000/
A Dtm6000-usb-isoc.h33 u32 tmp_buf; member

Completed in 82 milliseconds

1234