/linux-master/tools/testing/selftests/resctrl/ |
H A D | resctrl.h | 151 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 D | cciss_ioctl.h | 45 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 D | ivtv-queue.h | 45 s->buf_size + 256, s->dma); 52 buf->dma_handle, s->buf_size + 256,
|
/linux-master/drivers/media/pci/cx18/ |
H A D | cx18-queue.h | 19 s->buf_size, s->dma); 26 s->buf_size, s->dma);
|
/linux-master/drivers/net/wireless/silabs/wfx/ |
H A D | hif_tx.h | 39 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 D | intel_dsb_buffer.c | 30 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 D | octep_vf_config.h | 64 #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 D | debug.c | 61 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 D | erdma_cmdq.c | 92 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 D | debug.c | 76 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 D | rmi_spi.c | 56 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 D | opal-flash.c | 103 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 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/tpm/ |
H A D | tpm2-space.c | 41 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 D | en_cq.c | 62 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 D | intel_wakeref.c | 203 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 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/include/uapi/rdma/ |
H A D | vmw_pvrdma-abi.h | 155 __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 D | hypfs_diag.c | 165 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 D | ultrasoc-smb.c | 41 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 D | scan.c | 40 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 D | debug.h | 52 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 D | ntb_hw_amd.c | 844 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 D | part_tbl.c | 96 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 D | rng.c | 24 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++) {
|