Home
last modified time | relevance | path

Searched full:helper (Results 1 – 25 of 3142) sorted by relevance

12345678910>>...126

/kernel/linux/linux-5.10/net/netfilter/
Dnf_conntrack_helper.c2 /* Helper handling for netfilter. */
41 "Enable automatic conntrack helper assignment (default 0)");
57 struct nf_conntrack_helper *helper; in __nf_ct_helper_find() local
65 hlist_for_each_entry_rcu(helper, &nf_ct_helper_hash[h], hnode) { in __nf_ct_helper_find()
66 if (nf_ct_tuple_src_mask_cmp(tuple, &helper->tuple, &mask)) in __nf_ct_helper_find()
67 return helper; in __nf_ct_helper_find()
106 if (request_module("nfct-helper-%s", name) == 0) { in nf_conntrack_helper_try_module_get()
127 void nf_conntrack_helper_put(struct nf_conntrack_helper *helper) in nf_conntrack_helper_put() argument
129 refcount_dec(&helper->refcnt); in nf_conntrack_helper_put()
130 module_put(helper->me); in nf_conntrack_helper_put()
[all …]
Dnfnetlink_cthelper.c35 struct nf_conntrack_helper helper; member
45 struct nf_conntrack_helper *helper; in nfnl_userspace_cthelper() local
52 helper = rcu_dereference(help->helper); in nfnl_userspace_cthelper()
53 if (helper == NULL) in nfnl_userspace_cthelper()
56 /* This is a user-space helper not yet configured, skip. */ in nfnl_userspace_cthelper()
57 if ((helper->flags & in nfnl_userspace_cthelper()
62 /* If the user-space helper is not available, don't block traffic. */ in nfnl_userspace_cthelper()
63 return NF_QUEUE_NR(helper->queue_num) | NF_VERDICT_FLAG_QUEUE_BYPASS; in nfnl_userspace_cthelper()
103 if (help->helper->data_len == 0) in nfnl_cthelper_from_nlattr()
115 if (help->helper->data_len && in nfnl_cthelper_to_nlattr()
[all …]
/kernel/linux/linux-4.19/net/netfilter/
Dnf_conntrack_helper.c1 /* Helper handling for netfilter. */
43 "Enable automatic conntrack helper assignment (default 0)");
117 struct nf_conntrack_helper *helper; in __nf_ct_helper_find() local
125 hlist_for_each_entry_rcu(helper, &nf_ct_helper_hash[h], hnode) { in __nf_ct_helper_find()
126 if (nf_ct_tuple_src_mask_cmp(tuple, &helper->tuple, &mask)) in __nf_ct_helper_find()
127 return helper; in __nf_ct_helper_find()
166 if (request_module("nfct-helper-%s", name) == 0) { in nf_conntrack_helper_try_module_get()
187 void nf_conntrack_helper_put(struct nf_conntrack_helper *helper) in nf_conntrack_helper_put() argument
189 refcount_dec(&helper->refcnt); in nf_conntrack_helper_put()
190 module_put(helper->me); in nf_conntrack_helper_put()
[all …]
Dnfnetlink_cthelper.c38 struct nf_conntrack_helper helper; member
48 struct nf_conntrack_helper *helper; in nfnl_userspace_cthelper() local
55 helper = rcu_dereference(help->helper); in nfnl_userspace_cthelper()
56 if (helper == NULL) in nfnl_userspace_cthelper()
59 /* This is a user-space helper not yet configured, skip. */ in nfnl_userspace_cthelper()
60 if ((helper->flags & in nfnl_userspace_cthelper()
65 /* If the user-space helper is not available, don't block traffic. */ in nfnl_userspace_cthelper()
66 return NF_QUEUE_NR(helper->queue_num) | NF_VERDICT_FLAG_QUEUE_BYPASS; in nfnl_userspace_cthelper()
106 if (help->helper->data_len == 0) in nfnl_cthelper_from_nlattr()
118 if (help->helper->data_len && in nfnl_cthelper_to_nlattr()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/rockchip/
Drockchip_drm_fbdev.c24 struct drm_fb_helper *helper = info->par; in rockchip_fbdev_mmap() local
25 struct rockchip_drm_private *private = to_drm_private(helper); in rockchip_fbdev_mmap()
39 static int rockchip_drm_fbdev_create(struct drm_fb_helper *helper, in rockchip_drm_fbdev_create() argument
42 struct rockchip_drm_private *private = to_drm_private(helper); in rockchip_drm_fbdev_create()
44 struct drm_device *dev = helper->dev; in rockchip_drm_fbdev_create()
69 fbi = drm_fb_helper_alloc_fbi(helper); in rockchip_drm_fbdev_create()
76 helper->fb = rockchip_drm_framebuffer_init(dev, &mode_cmd, in rockchip_drm_fbdev_create()
78 if (IS_ERR(helper->fb)) { in rockchip_drm_fbdev_create()
81 ret = PTR_ERR(helper->fb); in rockchip_drm_fbdev_create()
87 fb = helper->fb; in rockchip_drm_fbdev_create()
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/rockchip/
Drockchip_drm_fbdev.c32 struct drm_fb_helper *helper = info->par; in rockchip_fbdev_mmap() local
33 struct rockchip_drm_private *private = to_drm_private(helper); in rockchip_fbdev_mmap()
47 static int rockchip_drm_fbdev_create(struct drm_fb_helper *helper, in rockchip_drm_fbdev_create() argument
50 struct rockchip_drm_private *private = to_drm_private(helper); in rockchip_drm_fbdev_create()
52 struct drm_device *dev = helper->dev; in rockchip_drm_fbdev_create()
77 fbi = drm_fb_helper_alloc_fbi(helper); in rockchip_drm_fbdev_create()
84 helper->fb = rockchip_drm_framebuffer_init(dev, &mode_cmd, in rockchip_drm_fbdev_create()
86 if (IS_ERR(helper->fb)) { in rockchip_drm_fbdev_create()
89 ret = PTR_ERR(helper->fb); in rockchip_drm_fbdev_create()
93 fbi->par = helper; in rockchip_drm_fbdev_create()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/
Dexynos_drm_fbdev.c39 struct drm_fb_helper *helper = info->par; in exynos_drm_fb_mmap() local
40 struct exynos_drm_fbdev *exynos_fbd = to_exynos_fbdev(helper); in exynos_drm_fb_mmap()
52 ret = dma_mmap_attrs(to_dma_dev(helper->dev), vma, exynos_gem->cookie, in exynos_drm_fb_mmap()
56 DRM_DEV_ERROR(to_dma_dev(helper->dev), "failed to mmap.\n"); in exynos_drm_fb_mmap()
72 static int exynos_drm_fbdev_update(struct drm_fb_helper *helper, in exynos_drm_fbdev_update() argument
77 struct drm_framebuffer *fb = helper->fb; in exynos_drm_fbdev_update()
81 fbi = drm_fb_helper_alloc_fbi(helper); in exynos_drm_fbdev_update()
83 DRM_DEV_ERROR(to_dma_dev(helper->dev), in exynos_drm_fbdev_update()
90 drm_fb_helper_fill_info(fbi, helper, sizes); in exynos_drm_fbdev_update()
102 static int exynos_drm_fbdev_create(struct drm_fb_helper *helper, in exynos_drm_fbdev_create() argument
[all …]
/kernel/linux/linux-4.19/drivers/net/wireless/marvell/libertas/
Dfirmware.c15 const struct firmware *helper, const struct firmware *mainfw) in lbs_fw_loaded() argument
21 /* User must free helper/mainfw */ in lbs_fw_loaded()
22 priv->fw_callback(priv, ret, helper, mainfw); in lbs_fw_loaded()
78 /* No main firmware needed for this helper --> success! */ in helper_firmware_cb()
98 if (!iter->helper) { in load_next_firmware_from_table()
110 do_load_firmware(priv, iter->helper, helper_firmware_cb); in load_next_firmware_from_table()
120 * either a helper firmware and a main firmware (2-stage), or just the helper.
127 * terminated by an entry with a NULL helper name
163 * terminated by an entry with a NULL helper name
164 * @helper: On success, the helper firmware; caller must free
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas/
Dfirmware.c16 const struct firmware *helper, const struct firmware *mainfw) in lbs_fw_loaded() argument
22 /* User must free helper/mainfw */ in lbs_fw_loaded()
23 priv->fw_callback(priv, ret, helper, mainfw); in lbs_fw_loaded()
79 /* No main firmware needed for this helper --> success! */ in helper_firmware_cb()
99 if (!iter->helper) { in load_next_firmware_from_table()
111 do_load_firmware(priv, iter->helper, helper_firmware_cb); in load_next_firmware_from_table()
121 * either a helper firmware and a main firmware (2-stage), or just the helper.
128 * terminated by an entry with a NULL helper name
164 * terminated by an entry with a NULL helper name
165 * @helper: On success, the helper firmware; caller must free
[all …]
/kernel/linux/linux-4.19/arch/mips/cavium-octeon/executive/
DMakefile14 cvmx-helper-board.o cvmx-helper.o cvmx-helper-xaui.o \
15 cvmx-helper-rgmii.o cvmx-helper-sgmii.o cvmx-helper-npi.o \
16 cvmx-helper-loop.o cvmx-helper-spi.o cvmx-helper-util.o \
19 obj-y += cvmx-helper-errata.o cvmx-helper-jtag.o cvmx-boot-vector.o
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/executive/
DMakefile14 cvmx-helper-board.o cvmx-helper.o cvmx-helper-xaui.o \
15 cvmx-helper-rgmii.o cvmx-helper-sgmii.o cvmx-helper-npi.o \
16 cvmx-helper-loop.o cvmx-helper-spi.o cvmx-helper-util.o \
19 obj-y += cvmx-helper-errata.o cvmx-helper-jtag.o cvmx-boot-vector.o
/kernel/linux/linux-4.19/scripts/
Dbpf_helpers_doc.py25 class Helper(object): class
27 An object representing the description of an eBPF helper function.
28 @proto: function prototype of the helper function
29 @desc: textual description of the helper function
30 @ret: description of the return value of the helper function
39 Break down helper function protocol into smaller chunks: return type,
66 list of eBPF helper functions. All the helpers that can be retrieved are
67 stored as Helper object, in the self.helpers() array.
80 return Helper(proto=proto, desc=desc, ret=ret)
101 # Helper can have empty description and we might be parsing another
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/msm/
Dmsm_fbdev.c56 struct drm_fb_helper *helper = (struct drm_fb_helper *)info->par; in msm_fbdev_mmap() local
57 struct msm_fbdev *fbdev = to_msm_fbdev(helper); in msm_fbdev_mmap()
70 static int msm_fbdev_create(struct drm_fb_helper *helper, in msm_fbdev_create() argument
73 struct msm_fbdev *fbdev = to_msm_fbdev(helper); in msm_fbdev_create()
74 struct drm_device *dev = helper->dev; in msm_fbdev_create()
113 fbi = drm_fb_helper_alloc_fbi(helper); in msm_fbdev_create()
123 helper->fb = fb; in msm_fbdev_create()
125 fbi->par = helper; in msm_fbdev_create()
131 drm_fb_helper_fill_var(fbi, helper, sizes->fb_width, sizes->fb_height); in msm_fbdev_create()
161 /* initialize fbdev helper */
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/exynos/
Dexynos_drm_fbdev.c42 struct drm_fb_helper *helper = info->par; in exynos_drm_fb_mmap() local
43 struct exynos_drm_fbdev *exynos_fbd = to_exynos_fbdev(helper); in exynos_drm_fb_mmap()
55 ret = dma_mmap_attrs(to_dma_dev(helper->dev), vma, exynos_gem->cookie, in exynos_drm_fb_mmap()
75 static int exynos_drm_fbdev_update(struct drm_fb_helper *helper, in exynos_drm_fbdev_update() argument
80 struct drm_framebuffer *fb = helper->fb; in exynos_drm_fbdev_update()
85 fbi = drm_fb_helper_alloc_fbi(helper); in exynos_drm_fbdev_update()
91 fbi->par = helper; in exynos_drm_fbdev_update()
96 drm_fb_helper_fill_var(fbi, helper, sizes->fb_width, sizes->fb_height); in exynos_drm_fbdev_update()
117 static int exynos_drm_fbdev_create(struct drm_fb_helper *helper, in exynos_drm_fbdev_create() argument
120 struct exynos_drm_fbdev *exynos_fbdev = to_exynos_fbdev(helper); in exynos_drm_fbdev_create()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/
Dmsm_fbdev.c46 struct drm_fb_helper *helper = (struct drm_fb_helper *)info->par; in msm_fbdev_mmap() local
47 struct msm_fbdev *fbdev = to_msm_fbdev(helper); in msm_fbdev_mmap()
60 static int msm_fbdev_create(struct drm_fb_helper *helper, in msm_fbdev_create() argument
63 struct msm_fbdev *fbdev = to_msm_fbdev(helper); in msm_fbdev_create()
64 struct drm_device *dev = helper->dev; in msm_fbdev_create()
103 fbi = drm_fb_helper_alloc_fbi(helper); in msm_fbdev_create()
113 helper->fb = fb; in msm_fbdev_create()
117 drm_fb_helper_fill_info(fbi, helper, sizes); in msm_fbdev_create()
147 /* initialize fbdev helper */
152 struct drm_fb_helper *helper; in msm_fbdev_init() local
[all …]
/kernel/linux/linux-5.10/scripts/
Dbpf_helpers_doc.py25 class Helper(object): class
27 An object representing the description of an eBPF helper function.
28 @proto: function prototype of the helper function
29 @desc: textual description of the helper function
30 @ret: description of the return value of the helper function
39 Break down helper function protocol into smaller chunks: return type,
66 list of eBPF helper functions. All the helpers that can be retrieved are
67 stored as Helper object, in the self.helpers() array.
80 return Helper(proto=proto, desc=desc, ret=ret)
101 # Helper can have empty description and we might be parsing another
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/omapdrm/
Domap_fbdev.c59 struct drm_fb_helper *helper = get_fb(fbi); in omap_fbdev_pan_display() local
60 struct omap_fbdev *fbdev = to_omap_fbdev(helper); in omap_fbdev_pan_display()
62 if (!helper) in omap_fbdev_pan_display()
71 struct omap_drm_private *priv = helper->dev->dev_private; in omap_fbdev_pan_display()
100 static int omap_fbdev_create(struct drm_fb_helper *helper, in omap_fbdev_create() argument
103 struct omap_fbdev *fbdev = to_omap_fbdev(helper); in omap_fbdev_create()
104 struct drm_device *dev = helper->dev; in omap_fbdev_create()
173 fbi = drm_fb_helper_alloc_fbi(helper); in omap_fbdev_create()
183 helper->fb = fb; in omap_fbdev_create()
185 fbi->par = helper; in omap_fbdev_create()
[all …]
/kernel/linux/linux-4.19/Documentation/gpu/
Ddrm-kms-helpers.rst2 Mode Setting Helper Functions
5 The DRM subsystem aims for a strong separation between core code and helper
8 large set of helper libraries, which can be combined freely to pick and choose
15 exceptions) can be considered optional helper code.
21 the same set of common helper vtables. For really simple drivers (anything
36 Modeset Helper Reference for Common Vtables
47 Atomic Modeset Helper Functions Reference
68 Helper Functions Reference
77 Simple KMS Helper Reference
89 fbdev Helper Functions Reference
[all …]
/kernel/linux/linux-5.10/Documentation/gpu/
Ddrm-kms-helpers.rst2 Mode Setting Helper Functions
5 The DRM subsystem aims for a strong separation between core code and helper
8 large set of helper libraries, which can be combined freely to pick and choose
15 exceptions) can be considered optional helper code.
21 the same set of common helper vtables. For really simple drivers (anything
36 Modeset Helper Reference for Common Vtables
47 Atomic Modeset Helper Functions Reference
62 Helper Functions Reference
77 Atomic State Helper Reference
83 Simple KMS Helper Reference
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/
Domap_fbdev.c51 struct drm_fb_helper *helper = get_fb(fbi); in omap_fbdev_pan_display() local
52 struct omap_fbdev *fbdev = to_omap_fbdev(helper); in omap_fbdev_pan_display()
54 if (!helper) in omap_fbdev_pan_display()
63 struct omap_drm_private *priv = helper->dev->dev_private; in omap_fbdev_pan_display()
90 static int omap_fbdev_create(struct drm_fb_helper *helper, in omap_fbdev_create() argument
93 struct omap_fbdev *fbdev = to_omap_fbdev(helper); in omap_fbdev_create()
94 struct drm_device *dev = helper->dev; in omap_fbdev_create()
163 fbi = drm_fb_helper_alloc_fbi(helper); in omap_fbdev_create()
173 helper->fb = fb; in omap_fbdev_create()
177 drm_fb_helper_fill_info(fbi, helper, sizes); in omap_fbdev_create()
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/bochs/
Dbochs_fbdev.c17 container_of(fb_helper, struct bochs_device, fb.helper); in bochsfb_mmap()
50 static int bochsfb_create(struct drm_fb_helper *helper, in bochsfb_create() argument
54 container_of(helper, struct bochs_device, fb.helper); in bochsfb_create()
103 info = drm_fb_helper_alloc_fbi(helper); in bochsfb_create()
107 info->par = &bochs->fb.helper; in bochsfb_create()
115 /* setup helper */ in bochsfb_create()
117 bochs->fb.helper.fb = fb; in bochsfb_create()
124 drm_fb_helper_fill_var(info, &bochs->fb.helper, sizes->fb_width, in bochsfb_create()
144 drm_fb_helper_unregister_fbi(&bochs->fb.helper); in bochs_fbdev_destroy()
165 drm_fb_helper_prepare(bochs->dev, &bochs->fb.helper, in bochs_fbdev_init()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/
Dnouveau_fbcon.c67 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); in nouveau_fbcon_fillrect()
99 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); in nouveau_fbcon_copyarea()
131 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); in nouveau_fbcon_imageblit()
163 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); in nouveau_fbcon_sync()
190 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); in nouveau_fbcon_open()
203 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); in nouveau_fbcon_release()
233 if (drm->fbcon && drm->fbcon->helper.fbdev) { in nouveau_fbcon_accel_save_disable()
234 drm->fbcon->saved_flags = drm->fbcon->helper.fbdev->flags; in nouveau_fbcon_accel_save_disable()
235 drm->fbcon->helper.fbdev->flags |= FBINFO_HWACCEL_DISABLED; in nouveau_fbcon_accel_save_disable()
243 if (drm->fbcon && drm->fbcon->helper.fbdev) { in nouveau_fbcon_accel_restore()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/verifier/
Dhelper_packet_access.c2 "helper access to packet: test1, valid packet_ptr range",
23 "helper access to packet: test2, unchecked packet_ptr",
37 "helper access to packet: test3, variable add",
62 "helper access to packet: test4, packet_ptr with bad range",
83 "helper access to packet: test5, packet_ptr with too short range",
103 "helper access to packet: test6, cls valid packet_ptr range",
124 "helper access to packet: test7, cls unchecked packet_ptr",
139 "helper access to packet: test8, cls variable add",
165 "helper access to packet: test9, cls packet_ptr with bad range",
187 "helper access to packet: test10, cls packet_ptr with too short range",
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/nouveau/
Dnouveau_fbcon.c67 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); in nouveau_fbcon_fillrect()
99 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); in nouveau_fbcon_copyarea()
131 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); in nouveau_fbcon_imageblit()
163 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); in nouveau_fbcon_sync()
190 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); in nouveau_fbcon_open()
203 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); in nouveau_fbcon_release()
233 if (drm->fbcon && drm->fbcon->helper.fbdev) { in nouveau_fbcon_accel_save_disable()
234 drm->fbcon->saved_flags = drm->fbcon->helper.fbdev->flags; in nouveau_fbcon_accel_save_disable()
235 drm->fbcon->helper.fbdev->flags |= FBINFO_HWACCEL_DISABLED; in nouveau_fbcon_accel_save_disable()
243 if (drm->fbcon && drm->fbcon->helper.fbdev) { in nouveau_fbcon_accel_restore()
[all …]
/kernel/linux/linux-4.19/drivers/staging/vboxvideo/
Dvbox_fb.c73 struct drm_device *dev = fbdev->helper.dev; in vboxfb_create_object()
89 static int vboxfb_create(struct drm_fb_helper *helper, in vboxfb_create() argument
93 container_of(helper, struct vbox_fbdev, helper); in vboxfb_create()
94 struct drm_device *dev = fbdev->helper.dev; in vboxfb_create()
141 info = drm_fb_helper_alloc_fbi(helper); in vboxfb_create()
150 fbdev->helper.fb = fb; in vboxfb_create()
170 drm_fb_helper_fill_var(info, &fbdev->helper, sizes->fb_width, in vboxfb_create()
199 if (fbdev->helper.fbdev && fbdev->helper.fbdev->fbdefio) in vbox_fbdev_fini()
200 fb_deferred_io_cleanup(fbdev->helper.fbdev); in vbox_fbdev_fini()
203 drm_fb_helper_unregister_fbi(&fbdev->helper); in vbox_fbdev_fini()
[all …]

12345678910>>...126