/linux-master/tools/perf/arch/x86/util/ |
H A D | intel-bts.c | 348 static bool intel_bts_first_wrap(u64 *data, size_t buf_size) argument 352 b = buf_size >> 3;
|
/linux-master/tools/perf/arch/arm64/util/ |
H A D | arm-spe.c | 365 size_t buf_size = buffer_size; local 378 watermark = buf_size - 512; 398 buf_size /= sizeof(u64); 404 for (i = watermark; i < buf_size; i++)
|
/linux-master/fs/netfs/ |
H A D | fscache_cookie.c | 281 size_t buf_size; local 283 buf_size = round_up(index_key_len, sizeof(__le32)); 286 buf = kzalloc(buf_size, GFP_KERNEL); 296 buf, buf_size);
|
/linux-master/drivers/dma/ |
H A D | dmatest.c | 98 * @buf_size: size of the memcpy test buffer 115 unsigned int buf_size; member in struct:dmatest_params 344 unsigned int buf_size, bool is_memset) 354 for ( ; i < buf_size; i++) 361 unsigned int buf_size, bool is_memset) 372 for ( ; i < buf_size; i++) 530 unsigned int buf_size, u8 align) 543 d->raw[i] = kmalloc(buf_size + align, d->gfp_flags); 591 unsigned int buf_size; local 658 buf_size 343 dmatest_init_srcs(u8 **bufs, unsigned int start, unsigned int len, unsigned int buf_size, bool is_memset) argument 360 dmatest_init_dsts(u8 **bufs, unsigned int start, unsigned int len, unsigned int buf_size, bool is_memset) argument 529 dmatest_alloc_test_data(struct dmatest_data *d, unsigned int buf_size, u8 align) argument [all...] |
/linux-master/drivers/rpmsg/ |
H A D | virtio_rpmsg_bus.c | 41 * @buf_size: size of one rx or tx buffer 61 unsigned int buf_size; member in struct:virtproc_info 453 ret = vrp->sbufs + vrp->buf_size * vrp->last_sbuf++; 579 if (len > vrp->buf_size - sizeof(struct rpmsg_hdr)) { 706 return vch->vrp->buf_size - sizeof(struct rpmsg_hdr); 732 if (len > vrp->buf_size || 765 rpmsg_sg_init(&sg, msg, vrp->buf_size); 911 vrp->buf_size = MAX_RPMSG_BUF_SIZE; 913 total_buf_space = vrp->num_bufs * vrp->buf_size; 936 void *cpu_addr = vrp->rbufs + i * vrp->buf_size; [all...] |
/linux-master/drivers/mtd/ubi/ |
H A D | debug.c | 402 size_t buf_size; local 411 buf_size = min_t(size_t, count, (sizeof(buf) - 1)); 412 if (copy_from_user(buf, user_buf, buf_size)) {
|
/linux-master/drivers/input/touchscreen/ |
H A D | wdt87xx_i2c.c | 278 u8 *buf, size_t buf_size) 283 size_t rx_len = buf_size + 2; 309 rx_len = min_t(size_t, buf_size, get_unaligned_le16(rx_buf)); 318 const u8 *buf, size_t buf_size) 337 tx_buf[tx_len++] = (buf_size & 0xFF); 338 tx_buf[tx_len++] = ((buf_size & 0xFF00) >> 8); 340 if (tx_len + buf_size > sizeof(tx_buf)) 343 memcpy(&tx_buf[tx_len], buf, buf_size); 344 tx_len += buf_size; 277 wdt87xx_get_feature(struct i2c_client *client, u8 *buf, size_t buf_size) argument 317 wdt87xx_set_feature(struct i2c_client *client, const u8 *buf, size_t buf_size) argument
|
/linux-master/drivers/gpu/drm/gma500/ |
H A D | psb_intel_sdvo.c | 862 uint8_t buf_size; 873 psb_intel_sdvo_read_response(encoder, &buf_size, 1); 876 for (j = 0; j <= buf_size; j += 8) {
|
/linux-master/drivers/firmware/ |
H A D | raspberrypi.c | 140 * @buf_size: Buffer size. 150 u32 tag, void *tag_data, size_t buf_size) 160 void *data = kmalloc(sizeof(*header) + buf_size, GFP_KERNEL); 167 header->buf_size = buf_size; 169 memcpy(data + sizeof(*header), tag_data, buf_size); 171 ret = rpi_firmware_property_list(fw, data, buf_size + sizeof(*header)); 173 memcpy(tag_data, data + sizeof(*header), buf_size); 149 rpi_firmware_property(struct rpi_firmware *fw, u32 tag, void *tag_data, size_t buf_size) argument
|
/linux-master/drivers/char/ |
H A D | virtio_console.c | 403 static struct port_buffer *alloc_buf(struct virtio_device *vdev, size_t buf_size, argument 438 buf->buf = dma_alloc_coherent(buf->dev, buf_size, &buf->dma, 442 buf->buf = kmalloc(buf_size, GFP_KERNEL); 449 buf->size = buf_size;
|
/linux-master/sound/x86/ |
H A D | intel_hdmi_audio.c | 1141 int buf_size; local 1144 buf_size = params_buffer_bytes(hw_params); 1146 __func__, buf_size);
|
/linux-master/sound/soc/qcom/qdsp6/ |
H A D | audioreach.h | 182 uint32_t buf_size; member in struct:apm_data_cmd_wr_sh_mem_ep_data_buffer 194 uint32_t buf_size; member in struct:apm_data_cmd_wr_sh_mem_ep_data_buffer_v2 273 uint32_t buf_size; member in struct:data_cmd_rd_sh_mem_ep_data_buffer 297 uint32_t buf_size; member in struct:data_cmd_rd_sh_mem_ep_data_buffer_v2
|
/linux-master/sound/soc/amd/acp/ |
H A D | acp63.c | 279 u64 buf_size; local 289 buf_size = frames_to_bytes(substream->runtime, buf_in_frames); 291 config_acp_dma(adata, stream, buf_size);
|
H A D | acp70.c | 214 u64 buf_size; local 222 buf_size = frames_to_bytes(substream->runtime, buf_in_frames); 224 config_acp_dma(adata, stream, buf_size);
|
H A D | acp-renoir.c | 223 u64 buf_size; local 230 buf_size = frames_to_bytes(substream->runtime, buf_in_frames); 232 config_acp_dma(adata, stream, buf_size);
|
/linux-master/sound/pci/hda/ |
H A D | patch_ca0132.c | 2139 unsigned int *buf_size, unsigned int size_count) 2142 unsigned int size = *buf_size; 2167 *buf_size = count; 3009 unsigned int buf_size; member in struct:dma_engine 3047 dma->buf_size, 3421 dma_engine->buf_size = (ovly ? DSP_DMA_WRITE_BUFLEN_OVLY : 3436 dma_engine->buf_size, 2138 dspio_read_multiple(struct hda_codec *codec, unsigned int *buffer, unsigned int *buf_size, unsigned int size_count) argument
|
/linux-master/lib/ |
H A D | test_firmware.c | 60 * @buf_size: size of buf to allocate when into_buf is true 103 size_t buf_size; member in struct:test_config 233 test_fw_config->buf_size = TEST_FIRMWARE_BUF_SIZE; 309 "buf_size:\t%zu\n", test_fw_config->buf_size); 548 &test_fw_config->buf_size); 559 return test_dev_config_show_size_t(buf, test_fw_config->buf_size); 879 test_fw_config->buf_size, 887 test_fw_config->buf_size);
|
/linux-master/drivers/scsi/fnic/ |
H A D | fnic_trace.c | 205 int buf_size = debug->buf_size; local 210 len = scnprintf(debug->debug_buffer + len, buf_size - len, 215 len += scnprintf(debug->debug_buffer + len, buf_size - len, 233 len += scnprintf(debug->debug_buffer + len, buf_size - len, 237 len += scnprintf(debug->debug_buffer + len, buf_size - len, 270 len += scnprintf(debug->debug_buffer + len, buf_size - len, 276 len += scnprintf(debug->debug_buffer + len, buf_size - len, 280 len += scnprintf(debug->debug_buffer + len, buf_size - len, 284 len += scnprintf(debug->debug_buffer + len, buf_size [all...] |
H A D | fnic_stats.h | 125 int buf_size; member in struct:stats_debug_info
|
H A D | fnic_debugfs.c | 581 int buf_size = 2 * PAGE_SIZE; local 587 debug->debug_buffer = vmalloc(buf_size); 593 debug->buf_size = buf_size; 594 memset((void *)debug->debug_buffer, 0, buf_size);
|
/linux-master/drivers/platform/x86/dell/ |
H A D | dcdbas.c | 149 unsigned long buf_size; local 152 buf_size = simple_strtoul(buf, NULL, 10); 154 /* make sure SMI data buffer is at least buf_size */ 156 ret = smi_data_buf_realloc(buf_size);
|
/linux-master/drivers/net/wireless/realtek/rtw88/ |
H A D | main.h | 1977 u32 buf_size; member in struct:rtw_chan_list
|
H A D | fw.c | 2093 if (list->size > list->buf_size) 2274 list->buf_size = size;
|
/linux-master/drivers/net/wireless/marvell/mwifiex/ |
H A D | sdio.c | 2108 card->mpa_rx.buf_size))) { 2424 card->mpa_tx.buf_size = mpa_tx_buf_size; 2434 card->mpa_rx.buf_size = rx_buf_size; 2440 card->mpa_tx.buf_size = 0; 2441 card->mpa_rx.buf_size = 0;
|
H A D | sdio.h | 99 <= a->mpa_tx.buf_size) 138 ((a->mpa_rx.buf_len+rx_len) <= a->mpa_rx.buf_size) 157 u32 buf_size; member in struct:mwifiex_sdio_mpa_tx 169 u32 buf_size; member in struct:mwifiex_sdio_mpa_rx
|