/linux-master/tools/testing/selftests/powerpc/papr_vpd/ |
H A D | papr_vpd.c | 198 char *bufs[2]; local 200 for (size_t i = 0; i < ARRAY_SIZE(bufs); ++i) { 201 bufs[i] = malloc(size); 202 FAIL_IF(!bufs[i]); 203 ssize_t consumed = pread(fd, bufs[i], size, 0); 207 FAIL_IF(memcmp(bufs[0], bufs[1], size));
|
/linux-master/fs/smb/client/ |
H A D | smb2ops.c | 4821 struct mid_q_entry **mids, char **bufs, 4882 bufs[*num_mids] = buf; 4916 struct mid_q_entry **mids, char **bufs, int *num_mids) 4942 return receive_encrypted_standard(server, mids, bufs, num_mids); 4820 receive_encrypted_standard(struct TCP_Server_Info *server, struct mid_q_entry **mids, char **bufs, int *num_mids) argument 4915 smb3_receive_transform(struct TCP_Server_Info *server, struct mid_q_entry **mids, char **bufs, int *num_mids) argument
|
H A D | connect.c | 1164 char *bufs[MAX_COMPOUND]; local 1239 memset(bufs, 0, sizeof(bufs)); 1247 bufs, 1251 bufs[0] = buf; 1286 if (bufs[i] != NULL) { 1288 server->ops->is_network_name_deleted(bufs[i], 1300 server->ops->is_oplock_break(bufs[i], 1302 smb2_add_credits_from_hdr(bufs[i], server); 1307 cifs_dump_mem("Received Data is: ", bufs[ [all...] |
/linux-master/tools/include/uapi/sound/ |
H A D | asound.h | 614 void __user * __user *bufs; member in struct:snd_xfern
|
/linux-master/io_uring/ |
H A D | io_uring.c | 4159 BUILD_BUG_ON(offsetof(struct io_uring_buf_ring, bufs) != 0);
|
H A D | kbuf.c | 151 buf = &br->bufs[head]; 386 struct io_buffer *bufs[IO_BUFFER_ALLOC_BATCH]; local 411 ARRAY_SIZE(bufs), (void **) bufs); 417 bufs[0] = kmem_cache_alloc(io_buf_cachep, GFP_KERNEL); 418 if (!bufs[0]) 424 list_add_tail(&bufs[--allocated]->list, &ctx->io_buffers_cache); 506 flex_array_size(br, bufs, reg->ring_entries),
|
/linux-master/include/acpi/ |
H A D | acpi_bus.h | 355 void **bufs; member in struct:acpi_device_properties
|
/linux-master/drivers/net/ethernet/amd/pds_core/ |
H A D | core.h | 98 struct pdsc_buf_info bufs[PDS_CORE_MAX_FRAGS]; member in struct:pdsc_q_info
|
/linux-master/drivers/net/ethernet/amazon/ena/ |
H A D | ena_xdp.c | 57 ena_buf = tx_info->bufs;
|
H A D | ena_netdev.c | 143 "Failed to prepare tx bufs\n"); 692 ena_buf = tx_info->bufs; 2508 ena_buf = tx_info->bufs; 2630 ena_tx_ctx.ena_bufs = tx_info->bufs;
|
/linux-master/drivers/net/ethernet/intel/idpf/ |
H A D | idpf_txrx.c | 20 stack->bufs[stack->top++] = buf; 34 return stack->bufs[--stack->top]; 104 if (!txq->buf_stack.bufs) 108 kfree(txq->buf_stack.bufs[i]); 110 kfree(txq->buf_stack.bufs); 111 txq->buf_stack.bufs = NULL; 186 tx_q->buf_stack.bufs = 189 if (!tx_q->buf_stack.bufs) 196 tx_q->buf_stack.bufs[i] = kzalloc(sizeof(*tx_q->buf_stack.bufs[ [all...] |
/linux-master/kernel/bpf/ |
H A D | helpers.c | 778 static int try_get_buffers(struct bpf_bprintf_buffers **bufs) argument 789 *bufs = this_cpu_ptr(&bpf_bprintf_bufs[nest_level - 1]);
|
/linux-master/drivers/s390/net/ |
H A D | qeth_core_main.c | 197 for (i = 0; i < ARRAY_SIZE(queue->bufs); i++) 198 queue->bufs[i].pool_entry = NULL; 340 q->bufs[i].buffer = q->qdio_bufs[i]; 1351 QETH_TXQ_STAT_INC(queue, bufs); 1461 if (!q->bufs[j]) 1464 qeth_clear_output_buffer(q, q->bufs[j], true, 0); 1466 qeth_free_out_buf(q->bufs[j]); 1467 q->bufs[j] = NULL; 2576 q->bufs[bidx] = newbuf; 2610 qeth_free_out_buf(q->bufs[ [all...] |
/linux-master/drivers/staging/octeon/ |
H A D | octeon-stubs.h | 48 uint64_t bufs:8; member in struct:cvmx_pip_wqe_word2::__anon254 72 uint64_t bufs:8; member in struct:cvmx_pip_wqe_word2::__anon255 101 uint64_t bufs:8; member in struct:cvmx_pip_wqe_word2::__anon257
|
/linux-master/drivers/nvme/host/ |
H A D | pci.c | 1940 void **bufs; local 1955 bufs = kcalloc(max_entries, sizeof(*bufs), GFP_KERNEL); 1956 if (!bufs) 1963 bufs[i] = dma_alloc_attrs(dev->dev, len, &dma_addr, GFP_KERNEL, 1965 if (!bufs[i]) 1980 dev->host_mem_desc_bufs = bufs; 1987 dma_free_attrs(dev->dev, size, bufs[i], 1992 kfree(bufs);
|
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_ddp.c | 1301 * @bufs: pointer to an array of buffers 1311 ice_dwnld_cfg_bufs_no_lock(struct ice_hw *hw, struct ice_buf *bufs, u32 start, argument 1319 if (!bufs || !count) 1326 bh = (struct ice_buf_hdr *)(bufs + start); 1334 bh = (struct ice_buf_hdr *)(bufs + start + i); 1385 struct ice_buf_table *bufs; local 1393 bufs = ice_find_buf_table(seg); 1394 buf_count = le32_to_cpu(bufs->buf_count); 1399 return ice_dwnld_cfg_bufs_no_lock(hw, bufs->buf_array, start, count, 1529 * @bufs 1536 ice_dwnld_cfg_bufs(struct ice_hw *hw, struct ice_buf *bufs, u32 count) argument 1717 ice_update_pkg_no_lock(struct ice_hw *hw, struct ice_buf *bufs, u32 count) argument 1749 ice_update_pkg(struct ice_hw *hw, struct ice_buf *bufs, u32 count) argument [all...] |
/linux-master/arch/riscv/kernel/ |
H A D | unaligned_access_speed.c | 221 struct page **bufs = kcalloc(cpu_count, sizeof(*bufs), GFP_KERNEL); local 223 if (!bufs) { 233 bufs[cpu] = alloc_pages(GFP_KERNEL, MISALIGNED_BUFFER_ORDER); 234 if (!bufs[cpu]) { 241 on_each_cpu(check_unaligned_access_nonboot_cpu, bufs, 1); 244 smp_call_on_cpu(0, check_unaligned_access, bufs[0], true); 255 if (bufs[cpu]) 256 __free_pages(bufs[cpu], MISALIGNED_BUFFER_ORDER); 259 kfree(bufs); [all...] |
/linux-master/drivers/virtio/ |
H A D | virtio_ring.c | 941 u16 bufs; local 958 bufs = (u16)(vq->split.avail_idx_shadow - vq->last_used_idx) * 3 / 4; 962 cpu_to_virtio16(_vq->vdev, vq->last_used_idx + bufs)); 965 - vq->last_used_idx) > bufs)) { 1810 u16 bufs; local 1821 bufs = (vq->packed.vring.num - vq->vq.num_free) * 3 / 4; 1825 used_idx = packed_last_used(last_used_idx) + bufs;
|
/linux-master/drivers/infiniband/hw/hns/ |
H A D | hns_roce_device.h | 1228 int hns_roce_get_kmem_bufs(struct hns_roce_dev *hr_dev, dma_addr_t *bufs, 1231 int hns_roce_get_umem_bufs(struct hns_roce_dev *hr_dev, dma_addr_t *bufs,
|
/linux-master/include/media/ |
H A D | videobuf2-core.h | 562 * @bufs: videobuf2 buffer structures 631 struct vb2_buffer **bufs; member in struct:vb2_queue 1261 if (!q->bufs) 1268 return q->bufs[index];
|
/linux-master/fs/fuse/ |
H A D | dev.c | 1376 struct pipe_buffer *bufs; local 1383 bufs = kvmalloc_array(pipe->max_usage, sizeof(struct pipe_buffer), 1385 if (!bufs) 1389 cs.pipebufs = bufs; 1405 bufs[page_nr].ops = &nosteal_pipe_buf_ops; 1406 bufs[page_nr].flags = 0; 1407 ret = add_to_pipe(pipe, &bufs[page_nr++]); 1415 put_page(bufs[page_nr].page); 1417 kvfree(bufs); 2028 struct pipe_buffer *bufs; local [all...] |
/linux-master/drivers/tty/ |
H A D | mips_ejtag_fdc.c | 1218 const char *bufs[1] = { kgdbfdc_wbuf }; local 1224 word = mips_ejtag_fdc_encode(bufs, &kgdbfdc_wbuflen, 1);
|
/linux-master/drivers/media/usb/usbtv/ |
H A D | usbtv-video.c | 420 if (list_empty(&usbtv->bufs)) { 427 buf = list_first_entry(&usbtv->bufs, struct usbtv_buf, list); 549 while (!list_empty(&usbtv->bufs)) { 550 struct usbtv_buf *buf = list_first_entry(&usbtv->bufs, 754 list_add_tail(&buf->list, &usbtv->bufs); 891 INIT_LIST_HEAD(&usbtv->bufs);
|
/linux-master/drivers/media/pci/intel/ipu3/ |
H A D | ipu3-cio2.c | 563 b = q->bufs[q->bufs_first]; 569 q->bufs[q->bufs_first] = NULL; 788 if (q->bufs[i]) { 790 vb2_buffer_done(&q->bufs[i]->vbb.vb2_buf, 792 q->bufs[i] = NULL; 823 q->bufs[i] = NULL; 941 if (!q->bufs[next]) { 942 q->bufs[next] = b; 1896 if (q->bufs[j]) 1905 arrange(q->bufs, sizeo [all...] |
/linux-master/crypto/ |
H A D | testmgr.c | 544 char *bufs[XBUFSIZE]; member in struct:test_sglist 553 return __testmgr_alloc_buf(tsgl->bufs, 1 /* two pages per buffer */); 558 return __testmgr_free_buf(tsgl->bufs, 1 /* two pages per buffer */); 564 * @tsgl: the scatterlist to build. @tsgl->bufs[] contains an array of 2-page 636 addr = &tsgl->bufs[i][offset];
|