Home
last modified time | relevance | path

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

12345678910>>...177

/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-6.6/net/netfilter/
Dnf_conntrack_helper.c2 /* Helper handling for netfilter. */
85 if (request_module("nfct-helper-%s", name) == 0) { in nf_conntrack_helper_try_module_get()
106 void nf_conntrack_helper_put(struct nf_conntrack_helper *helper) in nf_conntrack_helper_put() argument
108 refcount_dec(&helper->refcnt); in nf_conntrack_helper_put()
109 module_put(helper->me); in nf_conntrack_helper_put()
165 void nf_nat_helper_put(struct nf_conntrack_helper *helper) in nf_nat_helper_put() argument
169 nat = nf_conntrack_nat_helper_find(helper->nat_mod_name); in nf_nat_helper_put()
186 pr_debug("failed to add helper extension area"); in nf_ct_helper_ext_add()
194 struct nf_conntrack_helper *helper = NULL; in __nf_ct_try_assign_helper() local
197 /* We already got a helper explicitly attached. The function in __nf_ct_try_assign_helper()
[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()
99 const struct nf_conntrack_helper *helper; in nfnl_cthelper_from_nlattr() local
104 helper = rcu_dereference(help->helper); in nfnl_cthelper_from_nlattr()
[all …]
Dnf_conntrack_ovs.c15 const struct nf_conntrack_helper *helper; in nf_ct_helper() local
27 helper = rcu_dereference(help->helper); in nf_ct_helper()
28 if (!helper) in nf_ct_helper()
31 if (helper->tuple.src.l3num != NFPROTO_UNSPEC && in nf_ct_helper()
32 helper->tuple.src.l3num != proto) in nf_ct_helper()
56 WARN_ONCE(1, "helper invoked on non-IP family!"); in nf_ct_helper()
60 if (helper->tuple.dst.protonum != proto) in nf_ct_helper()
63 err = helper->help(skb, protoff, ct, ctinfo); in nf_ct_helper()
67 /* Adjust seqs after helper. This is needed due to some helpers (e.g., in nf_ct_helper()
81 struct nf_conntrack_helper *helper; in nf_ct_add_helper() local
[all …]
Dxt_CT.c76 struct nf_conntrack_helper *helper; in xt_ct_set_helper() local
86 helper = nf_conntrack_helper_try_module_get(helper_name, par->family, in xt_ct_set_helper()
88 if (helper == NULL) { in xt_ct_set_helper()
89 pr_info_ratelimited("No such helper \"%s\"\n", helper_name); in xt_ct_set_helper()
95 nf_conntrack_helper_put(helper); in xt_ct_set_helper()
99 rcu_assign_pointer(help->helper, helper); in xt_ct_set_helper()
141 struct nf_conntrack_helper *helper; in xt_ct_put_helper() local
149 helper = rcu_dereference_raw(help->helper); in xt_ct_put_helper()
150 if (helper) in xt_ct_put_helper()
151 nf_conntrack_helper_put(helper); in xt_ct_put_helper()
[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-6.6/drivers/gpu/drm/msm/
Dmsm_fbdev.c34 struct drm_fb_helper *helper = (struct drm_fb_helper *)info->par; in FB_GEN_DEFAULT_DEFERRED_SYSMEM_OPS() local
35 struct drm_gem_object *bo = msm_framebuffer_bo(helper->fb, 0); in FB_GEN_DEFAULT_DEFERRED_SYSMEM_OPS()
42 struct drm_fb_helper *helper = (struct drm_fb_helper *)info->par; in msm_fbdev_fb_destroy() local
43 struct drm_framebuffer *fb = helper->fb; in msm_fbdev_fb_destroy()
48 drm_fb_helper_fini(helper); in msm_fbdev_fb_destroy()
54 drm_client_release(&helper->client); in msm_fbdev_fb_destroy()
55 drm_fb_helper_unprepare(helper); in msm_fbdev_fb_destroy()
56 kfree(helper); in msm_fbdev_fb_destroy()
68 static int msm_fbdev_create(struct drm_fb_helper *helper, in msm_fbdev_create() argument
71 struct drm_device *dev = helper->dev; in msm_fbdev_create()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/tegra/
Dfbdev.c27 struct drm_fb_helper *helper = info->par; in tegra_fb_mmap() local
31 bo = tegra_fb_get_plane(helper->fb, 0); in tegra_fb_mmap()
42 struct drm_fb_helper *helper = info->par; in tegra_fbdev_fb_destroy() local
43 struct drm_framebuffer *fb = helper->fb; in tegra_fbdev_fb_destroy()
46 drm_fb_helper_fini(helper); in tegra_fbdev_fb_destroy()
55 drm_client_release(&helper->client); in tegra_fbdev_fb_destroy()
56 drm_fb_helper_unprepare(helper); in tegra_fbdev_fb_destroy()
57 kfree(helper); in tegra_fbdev_fb_destroy()
69 static int tegra_fbdev_probe(struct drm_fb_helper *helper, in tegra_fbdev_probe() argument
72 struct tegra_drm *tegra = helper->dev->dev_private; in tegra_fbdev_probe()
[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-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-6.6/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-6.6/drivers/gpu/drm/omapdrm/
Domap_fbdev.c44 struct drm_fb_helper *helper = &fbdev->base; in pan_worker() local
45 struct fb_info *fbi = helper->info; in pan_worker()
46 struct drm_gem_object *bo = drm_gem_fb_get_obj(helper->fb, 0); in pan_worker()
61 struct drm_fb_helper *helper = get_fb(fbi); in FB_GEN_DEFAULT_DEFERRED_DMAMEM_OPS() local
62 struct omap_fbdev *fbdev = to_omap_fbdev(helper); in FB_GEN_DEFAULT_DEFERRED_DMAMEM_OPS()
64 if (!helper) in FB_GEN_DEFAULT_DEFERRED_DMAMEM_OPS()
73 struct omap_drm_private *priv = helper->dev->dev_private; in FB_GEN_DEFAULT_DEFERRED_DMAMEM_OPS()
92 struct drm_fb_helper *helper = info->par; in omap_fbdev_fb_destroy() local
93 struct drm_framebuffer *fb = helper->fb; in omap_fbdev_fb_destroy()
95 struct omap_fbdev *fbdev = to_omap_fbdev(helper); in omap_fbdev_fb_destroy()
[all …]
/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-6.6/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/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-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-6.6/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 GEM Atomic Helper Reference
[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-6.6/scripts/
Dbpf_doc.py15 helpersDocStart = 'Start of BPF helper function descriptions:'
46 class Helper(APIElement): class
48 An object representing the description of an eBPF helper function.
49 @proto: function prototype of the helper function
50 @desc: textual description of the helper function
51 @ret: description of the return value of the helper function
59 Break down helper function protocol into smaller chunks: return type,
87 list of eBPF helper functions. All the helpers that can be retrieved are
88 stored as Helper object, in the self.helpers() array.
114 return Helper(proto=proto, desc=desc, ret=ret)
[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-6.6/include/drm/
Ddrm_fb_helper.h6 * DRM framebuffer helper functions
69 * Driver callbacks used by the fbdev emulation helper library.
86 int (*fb_probe)(struct drm_fb_helper *helper,
101 int (*fb_dirty)(struct drm_fb_helper *helper, struct drm_clip_rect *clip);
108 * @funcs: driver callbacks for fb helper
150 * Top-level FBDEV helper lock. This protects all internal data
154 * protect all helper internal state with this lock as well as reduce
178 * If no outputs are connected (disconnected or unknown) the FB helper
191 * FB helper initialization. This needs to be tracked so that deferred
192 * FB helper setup can pass this on.
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
Dverifier_helper_packet_access.c16 __description("helper access to packet: test1, valid packet_ptr range")
41 __description("helper access to packet: test2, unchecked packet_ptr")
59 __description("helper access to packet: test3, variable add")
89 __description("helper access to packet: test4, packet_ptr with bad range")
114 __description("helper access to packet: test5, packet_ptr with too short range")
138 __description("helper access to packet: test6, cls valid packet_ptr range")
163 __description("helper access to packet: test7, cls unchecked packet_ptr")
181 __description("helper access to packet: test8, cls variable add")
211 __description("helper access to packet: test9, cls packet_ptr with bad range")
236 __description("helper access to packet: test10, cls packet_ptr with too short range")
[all …]

12345678910>>...177