Home
last modified time | relevance | path

Searched refs:opaque (Results 1 – 25 of 156) sorted by relevance

1234567

/kernel/linux/linux-5.10/lib/zstd/
Dzstd_common.c51 void *ZSTD_stackAllocAll(void *opaque, size_t *size) in ZSTD_stackAllocAll() argument
53 ZSTD_stack *stack = (ZSTD_stack *)opaque; in ZSTD_stackAllocAll()
58 void *ZSTD_stackAlloc(void *opaque, size_t size) in ZSTD_stackAlloc() argument
60 ZSTD_stack *stack = (ZSTD_stack *)opaque; in ZSTD_stackAlloc()
63 void ZSTD_stackFree(void *opaque, void *address) in ZSTD_stackFree() argument
65 (void)opaque; in ZSTD_stackFree()
69 …oc(size_t size, ZSTD_customMem customMem) { return customMem.customAlloc(customMem.opaque, size); } in ZSTD_malloc()
74 customMem.customFree(customMem.opaque, ptr); in ZSTD_free()
Dzstd_internal.h227 typedef void *(*ZSTD_allocFunction)(void *opaque, size_t size);
228 typedef void (*ZSTD_freeFunction)(void *opaque, void *address);
232 void *opaque; member
250 void *ZSTD_stackAllocAll(void *opaque, size_t *size);
251 void *ZSTD_stackAlloc(void *opaque, size_t size);
252 void ZSTD_stackFree(void *opaque, void *address);
/kernel/linux/linux-5.10/include/linux/
Dbtree-128.h84 void visitor128(void *elem, unsigned long opaque, unsigned long *__key,
87 typedef void (*visitor128_t)(void *elem, unsigned long opaque,
91 unsigned long opaque, in btree_visitor128() argument
94 return btree_visitor(&head->h, &btree_geo128, opaque, in btree_visitor128()
99 unsigned long opaque, in btree_grim_visitor128() argument
102 return btree_grim_visitor(&head->h, &btree_geo128, opaque, in btree_grim_visitor128()
Dbtree-type.h116 void VISITOR_FN(void *elem, unsigned long opaque, unsigned long *key,
119 typedef void (*VISITOR_FN_T)(void *elem, unsigned long opaque,
123 unsigned long opaque, in BTREE_FN()
126 return btree_visitor(&head->h, BTREE_TYPE_GEO, opaque, in BTREE_FN()
131 unsigned long opaque, in BTREE_FN()
134 return btree_grim_visitor(&head->h, BTREE_TYPE_GEO, opaque, in BTREE_FN()
Dbtree.h192 unsigned long opaque,
193 void (*func)(void *elem, unsigned long opaque,
200 unsigned long opaque,
201 void (*func)(void *elem, unsigned long opaque,
/kernel/linux/linux-5.10/drivers/vfio/
Dvirqfd.c51 virqfd->handler(virqfd->opaque, virqfd->data)) && in virqfd_wakeup()
101 virqfd->thread(virqfd->opaque, virqfd->data); in virqfd_inject()
104 int vfio_virqfd_enable(void *opaque, in vfio_virqfd_enable() argument
120 virqfd->opaque = opaque; in vfio_virqfd_enable()
173 if ((!handler || handler(opaque, data)) && thread) in vfio_virqfd_enable()
/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/
Dplane.c66 copy->opaque = state->opaque; in tegra_plane_atomic_duplicate_state()
389 static int tegra_plane_format_get_alpha(unsigned int opaque, in tegra_plane_format_get_alpha() argument
392 if (tegra_plane_format_is_yuv(opaque, NULL)) { in tegra_plane_format_get_alpha()
393 *alpha = opaque; in tegra_plane_format_get_alpha()
397 switch (opaque) { in tegra_plane_format_get_alpha()
415 *alpha = opaque; in tegra_plane_format_get_alpha()
437 state->opaque = false; in tegra_plane_setup_opacity()
446 state->opaque = true; in tegra_plane_setup_opacity()
463 to_tegra_plane_state(old)->opaque == state->opaque) in tegra_plane_check_transparency()
/kernel/linux/linux-5.10/lib/
Dbtree.c677 unsigned long *node, unsigned long opaque, in __btree_for_each() argument
678 void (*func)(void *elem, unsigned long opaque, in __btree_for_each()
691 count = __btree_for_each(head, geo, child, opaque, in __btree_for_each()
694 func(child, opaque, bkey(geo, node, i), count++, in __btree_for_each()
702 static void empty(void *elem, unsigned long opaque, unsigned long *key, in empty() argument
707 void visitorl(void *elem, unsigned long opaque, unsigned long *key, in visitorl() argument
712 func(elem, opaque, *key, index); in visitorl()
716 void visitor32(void *elem, unsigned long opaque, unsigned long *__key, in visitor32() argument
722 func(elem, opaque, *key, index); in visitor32()
726 void visitor64(void *elem, unsigned long opaque, unsigned long *__key, in visitor64() argument
[all …]
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dmpic.c124 static int openpic_cpu_write_internal(void *opaque, gpa_t addr,
126 static int openpic_cpu_read_internal(void *opaque, gpa_t addr,
475 static void openpic_set_irq(void *opaque, int n_IRQ, int level) in openpic_set_irq() argument
477 struct openpic *opp = opaque; in openpic_set_irq()
688 static int openpic_gbl_write(void *opaque, gpa_t addr, u32 val) in openpic_gbl_write() argument
690 struct openpic *opp = opaque; in openpic_gbl_write()
744 static int openpic_gbl_read(void *opaque, gpa_t addr, u32 *ptr) in openpic_gbl_read() argument
746 struct openpic *opp = opaque; in openpic_gbl_read()
806 static int openpic_tmr_write(void *opaque, gpa_t addr, u32 val) in openpic_tmr_write() argument
808 struct openpic *opp = opaque; in openpic_tmr_write()
[all …]
/kernel/linux/linux-5.10/include/xen/interface/io/
Dring.h377 static inline void name##_read_packet(void *opaque, \
386 memcpy(opaque, buf + *masked_cons, size); \
388 memcpy(opaque, buf + *masked_cons, ring_size - *masked_cons); \
389 memcpy((unsigned char *)opaque + ring_size - *masked_cons, buf, \
396 const void *opaque, \
404 memcpy(buf + *masked_prod, opaque, size); \
406 memcpy(buf + *masked_prod, opaque, ring_size - *masked_prod); \
407 memcpy(buf, (unsigned char *)opaque + (ring_size - *masked_prod), \
/kernel/linux/linux-5.10/drivers/vfio/platform/
Dvfio_platform.c27 struct platform_device *dev = (struct platform_device *) vdev->opaque; in get_platform_resource()
45 struct platform_device *pdev = (struct platform_device *) vdev->opaque; in get_platform_irq()
59 vdev->opaque = (void *) pdev; in vfio_platform_probe()
Dvfio_amba.c23 struct amba_device *adev = (struct amba_device *) vdev->opaque; in get_amba_resource()
33 struct amba_device *adev = (struct amba_device *) vdev->opaque; in get_amba_irq()
58 vdev->opaque = (void *) adev; in vfio_amba_probe()
/kernel/linux/linux-5.10/net/vmw_vsock/
Daf_vsock_tap.c92 void vsock_deliver_tap(struct sk_buff *build_skb(void *opaque), void *opaque) in vsock_deliver_tap() argument
101 skb = build_skb(opaque); in vsock_deliver_tap()
/kernel/linux/linux-5.10/fs/coda/
Dcoda_linux.c32 sprintf(s, "(%08x.%08x.%08x.%08x)", f->opaque[0], f->opaque[1], f->opaque[2], f->opaque[3]); in coda_f2s()
/kernel/linux/linux-5.10/drivers/scsi/snic/
Dvnic_cq.h63 u8 type, u16 q_number, u16 completed_index, void *opaque), in svnic_cq_service() argument
64 void *opaque) in svnic_cq_service()
79 q_number, completed_index, opaque)) in svnic_cq_service()
Dvnic_wq.h131 struct cq_desc *cq_desc, struct vnic_wq_buf *buf, void *opaque), in svnic_wq_service() argument
132 void *opaque) in svnic_wq_service()
139 (*buf_service)(wq, cq_desc, buf, opaque); in svnic_wq_service()
/kernel/linux/linux-5.10/drivers/scsi/fnic/
Dvnic_cq.h73 u8 type, u16 q_number, u16 completed_index, void *opaque), in vnic_cq_service() argument
74 void *opaque) in vnic_cq_service()
89 q_number, completed_index, opaque)) in vnic_cq_service()
Dvnic_wq.h144 struct cq_desc *cq_desc, struct vnic_wq_buf *buf, void *opaque), in vnic_wq_service() argument
145 void *opaque) in vnic_wq_service()
152 (*buf_service)(wq, cq_desc, buf, opaque); in vnic_wq_service()
/kernel/linux/linux-5.10/drivers/net/ethernet/cisco/enic/
Dvnic_cq.h75 u8 type, u16 q_number, u16 completed_index, void *opaque), in vnic_cq_service() argument
76 void *opaque) in vnic_cq_service()
91 q_number, completed_index, opaque)) in vnic_cq_service()
/kernel/linux/linux-5.10/drivers/iommu/
Dioasid.c61 static ioasid_t default_alloc(ioasid_t min, ioasid_t max, void *opaque);
62 static void default_free(ioasid_t ioasid, void *opaque);
77 static ioasid_t default_alloc(ioasid_t min, ioasid_t max, void *opaque) in default_alloc() argument
81 if (xa_alloc(&default_allocator.xa, &id, opaque, XA_LIMIT(min, max), GFP_ATOMIC)) { in default_alloc()
89 static void default_free(ioasid_t ioasid, void *opaque) in default_free() argument
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_common/
Dicp_qat_fw_pke.h15 __u64 opaque; member
51 __u64 opaque; member
/kernel/linux/linux-5.10/arch/x86/kvm/
Di8259.c305 static void pic_ioport_write(void *opaque, u32 addr, u32 val) in pic_ioport_write() argument
307 struct kvm_kpic_state *s = opaque; in pic_ioport_write()
420 static u32 pic_ioport_read(void *opaque, u32 addr) in pic_ioport_read() argument
422 struct kvm_kpic_state *s = opaque; in pic_ioport_read()
439 static void elcr_ioport_write(void *opaque, u32 addr, u32 val) in elcr_ioport_write() argument
441 struct kvm_kpic_state *s = opaque; in elcr_ioport_write()
445 static u32 elcr_ioport_read(void *opaque, u32 addr1) in elcr_ioport_read() argument
447 struct kvm_kpic_state *s = opaque; in elcr_ioport_read()
/kernel/linux/linux-5.10/drivers/virtio/
Dvirtio_pci_common.c50 static irqreturn_t vp_config_changed(int irq, void *opaque) in vp_config_changed() argument
52 struct virtio_pci_device *vp_dev = opaque; in vp_config_changed()
59 static irqreturn_t vp_vring_interrupt(int irq, void *opaque) in vp_vring_interrupt() argument
61 struct virtio_pci_device *vp_dev = opaque; in vp_vring_interrupt()
82 static irqreturn_t vp_interrupt(int irq, void *opaque) in vp_interrupt() argument
84 struct virtio_pci_device *vp_dev = opaque; in vp_interrupt()
97 vp_config_changed(irq, opaque); in vp_interrupt()
99 return vp_vring_interrupt(irq, opaque); in vp_interrupt()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dcoda.h109 u_int32_t opaque[4]; member
111 #define coda_f2i(fid) (fid ? (fid->opaque[3] ^ (fid->opaque[2] << 10) ^ (fid->opaque[1] << 20) ^ fi…
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dcoda.h111 u_int32_t opaque[4]; member
114 (fid ? (fid->opaque[3] ^ (fid->opaque[2]<<10) ^ (fid->opaque[1]<<20) ^ fid->opaque[0]) : 0)

1234567