Searched refs:buf_size (Results 51 - 75 of 555) sorted by relevance

1234567891011>>

/linux-master/tools/testing/selftests/resctrl/
H A Dresctrl.h151 unsigned char *alloc_buffer(size_t buf_size, int memflush);
152 void mem_flush(unsigned char *buf, size_t buf_size);
153 void fill_cache_read(unsigned char *buf, size_t buf_size, bool once);
154 int run_fill_buf(size_t buf_size, int memflush, int op, bool once);
/linux-master/include/uapi/linux/
H A Dcciss_ioctl.h45 WORD buf_size; /* size in bytes of the buf */ member in struct:_IOCTL_Command_struct
54 DWORD buf_size; /* size in bytes of the buf */ member in struct:_BIG_IOCTL_Command_struct
/linux-master/drivers/media/pci/ivtv/
H A Divtv-queue.h45 s->buf_size + 256, s->dma);
52 buf->dma_handle, s->buf_size + 256,
/linux-master/drivers/media/pci/cx18/
H A Dcx18-queue.h19 s->buf_size, s->dma);
26 s->buf_size, s->dma);
/linux-master/drivers/net/wireless/silabs/wfx/
H A Dhif_tx.h39 int wfx_hif_read_mib(struct wfx_dev *wdev, int vif_id, u16 mib_id, void *buf, size_t buf_size);
40 int wfx_hif_write_mib(struct wfx_dev *wdev, int vif_id, u16 mib_id, void *buf, size_t buf_size);
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_dsb_buffer.c30 WARN_ON(idx > (dsb_buf->buf_size - size) / sizeof(*dsb_buf->cmd_buf));
69 dsb_buf->buf_size = size;
/linux-master/drivers/net/ethernet/marvell/octeon_ep_vf/
H A Doctep_vf_config.h64 #define CFG_GET_OQ_BUF_SIZE(cfg) ((cfg)->oq.buf_size)
103 u16 buf_size; member in struct:octep_vf_oq_config
/linux-master/drivers/net/wireless/ath/wcn36xx/
H A Ddebug.c61 int buf_size; local
63 buf_size = min(count, (sizeof(buf)-1));
64 if (copy_from_user(buf, user_buf, buf_size))
105 int buf_size; local
112 buf_size = min(count, (sizeof(buf) - 1));
113 if (copy_from_user(buf, user_buf, buf_size))
/linux-master/drivers/infiniband/hw/erdma/
H A Derdma_cmdq.c92 u32 buf_size; local
97 buf_size = sq->depth << SQEBB_SHIFT;
100 dma_alloc_coherent(&dev->pdev->dev, WARPPED_BUFSIZE(buf_size),
105 sq->db_record = (u64 *)(sq->qbuf + buf_size);
115 sq->qbuf_dma_addr + buf_size);
124 u32 buf_size; local
127 buf_size = cq->depth << CQE_SHIFT;
130 dma_alloc_coherent(&dev->pdev->dev, WARPPED_BUFSIZE(buf_size),
137 cq->db_record = (u64 *)(cq->qbuf + buf_size);
146 cq->qbuf_dma_addr + buf_size);
155 u32 buf_size; local
[all...]
/linux-master/arch/s390/kernel/
H A Ddebug.c76 int nr_areas, int buf_size, umode_t mode);
222 int nr_areas, int buf_size, int level,
251 rc->buf_size = buf_size;
252 rc->entry_size = sizeof(debug_entry_t) + buf_size;
307 int nr_areas, int buf_size, umode_t mode)
311 rc = debug_info_alloc(name, pages_per_area, nr_areas, buf_size,
335 in->nr_areas, in->buf_size, in->level, mode);
634 * @buf_size: Size of data area in each debug entry
647 int nr_areas, int buf_size, umode_
221 debug_info_alloc(const char *name, int pages_per_area, int nr_areas, int buf_size, int level, int mode) argument
306 debug_info_create(const char *name, int pages_per_area, int nr_areas, int buf_size, umode_t mode) argument
646 debug_register_mode(const char *name, int pages_per_area, int nr_areas, int buf_size, umode_t mode, uid_t uid, gid_t gid) argument
687 debug_register(const char *name, int pages_per_area, int nr_areas, int buf_size) argument
[all...]
/linux-master/drivers/input/rmi4/
H A Drmi_spi.c56 int buf_size = rmi_spi->xfer_buf_size local
62 while (buf_size < len)
63 buf_size *= 2;
65 if (buf_size > RMI_SPI_XFER_SIZE_LIMIT)
66 buf_size = RMI_SPI_XFER_SIZE_LIMIT;
69 buf = devm_kcalloc(&spi->dev, buf_size, 2,
75 rmi_spi->tx_buf = &rmi_spi->rx_buf[buf_size];
76 rmi_spi->xfer_buf_size = buf_size;
82 rmi_spi->rx_xfer_count = buf_size;
87 rmi_spi->tx_xfer_count = buf_size;
[all...]
/linux-master/arch/powerpc/platforms/powernv/
H A Dopal-flash.c103 uint32_t buf_size; /* Image size */ member in struct:validate_flash_t
134 __be32 size = cpu_to_be32(validate_flash_data.buf_size);
140 validate_flash_data.buf_size = be32_to_cpu(size);
170 if (args_buf->buf_size > (VALIDATE_BUF_SIZE - len)) {
174 memcpy(buf + len, args_buf->buf, args_buf->buf_size);
175 len += args_buf->buf_size;
212 args_buf->buf_size = VALIDATE_BUF_SIZE;
/linux-master/drivers/firmware/
H A Draspberrypi.c140 * @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/tpm/
H A Dtpm2-space.c41 int tpm2_init_space(struct tpm_space *space, unsigned int buf_size) argument
43 space->context_buf = kzalloc(buf_size, GFP_KERNEL);
47 space->session_buf = kzalloc(buf_size, GFP_KERNEL);
55 space->buf_size = buf_size;
123 unsigned int buf_size, unsigned int *offset)
152 if ((*offset + body_size) > buf_size) {
318 space->buf_size);
320 space->buf_size);
503 space->context_buf, space->buf_size,
122 tpm2_save_context(struct tpm_chip *chip, u32 handle, u8 *buf, unsigned int buf_size, unsigned int *offset) argument
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx4/
H A Den_cq.c62 cq->buf_size = cq->size * mdev->dev->caps.cqe_size;
73 cq->buf_size);
102 memset(cq->buf, 0, cq->buf_size);
178 mlx4_free_hwq_res(mdev->dev, &cq->wqres, cq->buf_size);
183 cq->buf_size = 0;
/linux-master/drivers/gpu/drm/i915/
H A Dintel_wakeref.c203 const size_t buf_size = PAGE_SIZE; local
207 buf = kmalloc(buf_size, GFP_NOWAIT);
211 count = ref_tracker_dir_snprint(dir, buf, buf_size);
221 if (count >= buf_size)
223 count + 1 - buf_size);
/linux-master/drivers/dma/
H A Ddmatest.c98 * @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/include/uapi/rdma/
H A Dvmw_pvrdma-abi.h155 __u32 buf_size; member in struct:pvrdma_create_cq
166 __u32 buf_size; member in struct:pvrdma_resize_cq
172 __u32 buf_size; member in struct:pvrdma_create_srq
/linux-master/arch/s390/hypfs/
H A Dhypfs_diag.c165 int rc, buf_size; local
168 buf_size = PAGE_SIZE * (diag204_buf_pages + 1) + sizeof(d204->hdr);
169 base = vzalloc(buf_size);
/linux-master/drivers/hwtracing/coresight/
H A Dultrasoc-smb.c41 sdb->data_size = sdb->buf_size;
47 sdb->buf_size);
60 sdb->buf_rdptr %= sdb->buf_size;
133 if (sdb->buf_rdptr + to_copy > sdb->buf_size)
134 to_copy = sdb->buf_size - sdb->buf_rdptr;
174 return sysfs_emit(buf, "0x%lx\n", drvdata->sdb.buf_size);
176 static DEVICE_ATTR_RO(buf_size);
351 if (sdb->buf_rdptr + to_copy > sdb->buf_size)
352 to_copy = sdb->buf_size - sdb->buf_rdptr;
435 sdb->buf_size
[all...]
/linux-master/fs/jffs2/
H A Dscan.c40 unsigned char *buf, uint32_t buf_size, struct jffs2_summary *s);
96 uint32_t buf_size = 0; local
131 buf_size = (uint32_t)try_size;
151 ret = jffs2_scan_eraseblock(c, jeb, buf_size?flashbuf:(flashbuf+jeb->offset),
152 buf_size, s);
281 if (buf_size)
443 /* Called with 'buf_size == 0' if buf is in fact a pointer _directly_ into
446 unsigned char *buf, uint32_t buf_size, struct jffs2_summary *s) {
490 if (!buf_size) {
505 err = jffs2_fill_scan_buf(c, buf + buf_size
445 jffs2_scan_eraseblock(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, unsigned char *buf, uint32_t buf_size, struct jffs2_summary *s) argument
[all...]
/linux-master/arch/s390/include/asm/
H A Ddebug.h52 int buf_size; member in struct:debug_info
109 int buf_size);
112 int buf_size, umode_t mode, uid_t uid,
438 .buf_size = (_buf_size), \
467 * @buf_size: Size of data area in each debug entry
480 #define DEFINE_STATIC_DEBUG_INFO(var, name, pages, nr_areas, buf_size, view) \
483 __DEBUG_INFO_INIT(var, (name), (buf_size)); \
/linux-master/drivers/ntb/hw/amd/
H A Dntb_hw_amd.c844 size_t buf_size; local
851 buf_size = min(count, 0x800ul);
853 buf = kmalloc(buf_size, GFP_KERNEL);
859 off += scnprintf(buf + off, buf_size - off,
862 off += scnprintf(buf + off, buf_size - off,
866 off += scnprintf(buf + off, buf_size - off,
870 off += scnprintf(buf + off, buf_size - off,
873 off += scnprintf(buf + off, buf_size - off,
875 off += scnprintf(buf + off, buf_size - off,
878 off += scnprintf(buf + off, buf_size
[all...]
/linux-master/fs/hfsplus/
H A Dpart_tbl.c96 int buf_size = hfsplus_min_io_size(sb); local
112 if ((u8 *)pm - (u8 *)buf >= buf_size) {
/linux-master/drivers/net/wireless/ath/ath9k/
H A Drng.c24 static int ath9k_rng_data_read(struct ath_softc *sc, u32 *buf, u32 buf_size) argument
36 for (i = 0, j = 0; i < buf_size; i++) {

Completed in 480 milliseconds

1234567891011>>