Searched refs:buf_size (Results 26 - 50 of 555) sorted by relevance

1234567891011>>

/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_cudbg.h36 int cxgb4_cudbg_collect(struct adapter *adap, void *buf, u32 *buf_size,
/linux-master/drivers/media/pci/cx18/
H A Dcx18-queue.c93 u32 buf_size = s->buf_size; local
98 if (bytesused >= buf_size) {
99 buf->bytesused = buf_size;
100 bytesused -= buf_size;
294 cx18_writel(cx, s->buf_size,
306 partial_buf_size = s->mdl_size % s->buf_size;
323 u32 buf_size = s->buf_size; local
329 buf_size, dm
[all...]
/linux-master/include/uapi/linux/
H A Drandom.h43 int buf_size; member in struct:rand_pool_info
/linux-master/drivers/net/ethernet/freescale/fman/
H A Dfman_sp.c14 u16 buf_size = 0; local
22 buf_size = fm_ext_pools->ext_buf_pool[i].size;
27 sizes_array[fm_ext_pools->ext_buf_pool[i].id] = buf_size;
37 if (buf_size < sizes_array[ordered_array[j]]) {
/linux-master/drivers/infiniband/sw/rxe/
H A Drxe_queue.c14 size_t buf_size, struct rxe_mmap_info **ip_p)
20 ip = rxe_create_mmap_info(rxe, buf_size, udata, buf);
52 memset(q->buf->data, 0, q->buf_size - sizeof(struct rxe_queue_buf));
59 size_t buf_size; local
87 buf_size = sizeof(struct rxe_queue_buf) + num_slots * elem_size;
89 q->buf = vmalloc_user(buf_size);
96 q->buf_size = buf_size;
163 new_q->buf_size, &new_q->ip);
12 do_mmap_info(struct rxe_dev *rxe, struct mminfo __user *outbuf, struct ib_udata *udata, struct rxe_queue_buf *buf, size_t buf_size, struct rxe_mmap_info **ip_p) argument
/linux-master/drivers/media/platform/mediatek/vcodec/common/
H A Dmtk_vcodec_dbgfs.h40 * @buf_size: buffer size of dbgfs
48 int buf_size; member in struct:mtk_vcodec_dbgfs
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_dsb_buffer.h17 size_t buf_size; member in struct:intel_dsb_buffer
/linux-master/drivers/scsi/fnic/
H A Dfnic_trace.c205 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...]
/linux-master/drivers/net/wireless/ti/wlcore/
H A Drx.c202 u32 buf_size; local
220 buf_size = 0;
227 if (buf_size + align_pkt_len > wl->aggr_buf_size)
229 buf_size += align_pkt_len;
234 if (buf_size == 0) {
241 ret = wlcore_hw_prepare_read(wl, des, buf_size);
246 buf_size, true);
252 while (pkt_offset < buf_size) {
/linux-master/include/uapi/linux/hsi/
H A Dcs-protocol.h60 __u32 buf_size; /* bytes */ member in struct:cs_buffer_config
80 __u32 buf_size; /* 0=disabled, otherwise the transfer size */ member in struct:cs_mmap_config_block
/linux-master/drivers/gpu/drm/xe/display/
H A Dxe_dsb_buffer.c30 WARN_ON(idx > (dsb_buf->buf_size - size) / sizeof(*dsb_buf->cmd_buf));
57 dsb_buf->buf_size = size;
/linux-master/drivers/media/platform/ti/omap3isp/
H A Disphist.c137 hist->buf_size = conf->buf_size;
194 cfg.src_maxburst = hist->buf_size / 4;
204 hist->buf_size, DMA_DEV_TO_MEM,
252 * optimization. It avoids 3/4 of the jumps. We also know buf_size is
255 for (i = hist->buf_size / 16; i > 0; i--) {
308 u32 buf_size; local
350 buf_size = hist_get_buf_size(user_cfg);
351 if (buf_size > user_cfg->buf_size)
[all...]
H A Dispstat.h40 u32 buf_size; member in struct:ispstat_buffer
49 * new_conf->buf_size value must be changed to the exact buffer size
56 * stat->priv->buf_size value must be set to the exact buffer size for
107 u32 buf_size; member in struct:ispstat
123 u32 buf_size; member in struct:ispstat_generic_config
/linux-master/drivers/infiniband/hw/erdma/
H A Derdma_eq.c86 u32 buf_size; local
89 buf_size = eq->depth << EQE_SHIFT;
92 dma_alloc_coherent(&dev->pdev->dev, WARPPED_BUFSIZE(buf_size),
102 eq->db_record = (u64 *)(eq->qbuf + buf_size);
110 eq->qbuf_dma_addr + buf_size);
232 u32 buf_size = ERDMA_DEFAULT_EQ_DEPTH << EQE_SHIFT; local
236 dma_alloc_coherent(&dev->pdev->dev, WARPPED_BUFSIZE(buf_size),
248 eq->db_record = (u64 *)(eq->qbuf + buf_size);
262 u32 buf_size = ERDMA_DEFAULT_EQ_DEPTH << EQE_SHIFT; local
279 dma_free_coherent(&dev->pdev->dev, WARPPED_BUFSIZE(buf_size), e
[all...]
/linux-master/drivers/hwtracing/coresight/
H A Dcoresight-catu.c118 unsigned long buf_size = tmc_sg_table_buf_size(catu_table); local
124 offset %= buf_size;
145 unsigned long table_end, buf_size, offset = 0; local
147 buf_size = tmc_sg_table_buf_size(catu_table);
152 while (offset < buf_size) {
153 table_end = offset + SZ_1M < buf_size ?
154 offset + SZ_1M : buf_size;
190 unsigned long offset, buf_size, table_end; local
195 buf_size = tmc_sg_table_buf_size(catu_table);
202 while (offset < buf_size) {
[all...]
/linux-master/drivers/media/platform/verisilicon/
H A Dhantro_postproc.c199 unsigned int buf_size; local
209 buf_size = pix_mp.plane_fmt[0].sizeimage;
211 buf_size += hantro_h264_mv_size(pix_mp.width,
214 buf_size += hantro_vp9_mv_size(pix_mp.width,
217 buf_size += hantro_hevc_mv_size(pix_mp.width,
220 buf_size += hantro_av1_mv_size(pix_mp.width,
223 return buf_size;
230 unsigned int buf_size = hantro_postproc_buffer_size(ctx); local
232 if (!buf_size)
240 priv->cpu = dma_alloc_attrs(vpu->dev, buf_size,
270 unsigned int buf_size = hantro_postproc_buffer_size(ctx); local
[all...]
/linux-master/arch/x86/kernel/cpu/microcode/
H A Damd.c132 * of @buf of size @buf_size.
134 static bool verify_container(const u8 *buf, size_t buf_size) argument
138 if (buf_size <= CONTAINER_HDR_SZ) {
154 * beginning of @buf of size @buf_size.
156 static bool verify_equivalence_table(const u8 *buf, size_t buf_size) argument
161 if (!verify_container(buf, buf_size))
171 buf_size -= CONTAINER_HDR_SZ;
175 buf_size < equiv_tbl_len) {
185 * beginning of @buf of size @buf_size.
191 __verify_patch_section(const u8 *buf, size_t buf_size, u3 argument
227 __verify_patch_size(u8 family, u32 sh_psize, size_t buf_size) argument
264 verify_patch(u8 family, const u8 *buf, size_t buf_size, u32 *patch_size) argument
703 install_equiv_cpu_table(const u8 *buf, size_t buf_size) argument
[all...]
/linux-master/tools/perf/tests/
H A Dapi-io.c59 size_t buf_size, struct io *io)
70 io->buf = malloc(buf_size);
77 io__init(io, io->fd, io->buf, buf_size);
88 static int do_test_get_char(const char *test_string, size_t buf_size) argument
95 if (setup_test(path, test_string, buf_size, &io))
300 size_t buf_size = 128; local
310 if (setup_test(path, test_string, buf_size, &io))
58 setup_test(char path[PATH_MAX], const char *contents, size_t buf_size, struct io *io) argument
/linux-master/net/wireless/
H A Ddebugfs.c42 char *buf, int buf_size, int offset)
44 if (WARN_ON(offset > buf_size))
49 buf_size - offset,
54 buf_size - offset,
69 unsigned int offset = 0, buf_size = PAGE_SIZE, i; local
74 buf = kzalloc(buf_size, GFP_KERNEL);
84 buf, buf_size, offset);
41 ht_print_chan(struct ieee80211_channel *chan, char *buf, int buf_size, int offset) argument
/linux-master/include/linux/
H A Dvmw_vmci_api.h65 const void *buf, size_t buf_size, int mode);
67 void *buf, size_t buf_size, int mode);
68 ssize_t vmci_qpair_peek(struct vmci_qp *qpair, void *buf, size_t buf_size,
/linux-master/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc_cmd_v6.c35 const struct s5p_mfc_buf_size_v6 *buf_size = dev->variant->buf_size->priv; local
43 mfc_write(dev, buf_size->dev_ctx, S5P_FIMV_CONTEXT_MEM_SIZE_V6);
/linux-master/drivers/staging/most/dim2/
H A Dhal.c472 u16 dim_norm_ctrl_async_buffer_size(u16 buf_size) argument
476 if (buf_size > max_size)
479 return buf_size;
482 static inline u16 norm_isoc_buffer_size(u16 buf_size, u16 packet_length) argument
487 if (buf_size > max_size)
488 buf_size = max_size;
490 n = buf_size / packet_length;
498 static inline u16 norm_sync_buffer_size(u16 buf_size, u16 bytes_per_frame) argument
504 if (buf_size > max_size)
505 buf_size
644 channel_start(struct dim_channel *ch, u32 buf_addr, u16 buf_size) argument
786 dim_norm_isoc_buffer_size(u16 buf_size, u16 packet_length) argument
800 dim_norm_sync_buffer_size(u16 buf_size, u16 bytes_per_frame) argument
[all...]
/linux-master/include/linux/mailbox/
H A Dmtk-cmdq-mailbox.h77 size_t buf_size; /* real buffer size */ member in struct:cmdq_pkt
/linux-master/drivers/ntb/hw/intel/
H A Dntb_hw_gen1.c498 size_t buf_size; local
506 buf_size = min(count, 0x800ul);
508 buf = kmalloc(buf_size, GFP_KERNEL);
514 off += scnprintf(buf + off, buf_size - off,
517 off += scnprintf(buf + off, buf_size - off,
522 off += scnprintf(buf + off, buf_size - off,
524 off += scnprintf(buf + off, buf_size - off,
528 off += scnprintf(buf + off, buf_size - off,
532 off += scnprintf(buf + off, buf_size - off,
534 off += scnprintf(buf + off, buf_size
[all...]
/linux-master/drivers/net/ethernet/hisilicon/hns/
H A Dhns_dsaf_rcb.h90 u16 buf_size; member in struct:ring_pair_cb
114 int hns_rcb_buf_size2type(u32 buf_size);
161 void hns_rcb_set_rx_ring_bs(struct hnae_queue *q, u32 buf_size);
162 void hns_rcb_set_tx_ring_bs(struct hnae_queue *q, u32 buf_size);

Completed in 232 milliseconds

1234567891011>>