Home
last modified time | relevance | path

Searched refs:helper (Results 1 – 25 of 309) sorted by relevance

12345678910>>...13

/kernel/linux/linux-5.10/net/netfilter/
Dnf_conntrack_helper.c57 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()
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()
186 void nf_nat_helper_put(struct nf_conntrack_helper *helper) in nf_nat_helper_put() argument
190 nat = nf_conntrack_nat_helper_find(helper->nat_mod_name); in nf_nat_helper_put()
235 struct nf_conntrack_helper *helper = NULL; in __nf_ct_try_assign_helper() local
[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()
57 if ((helper->flags & 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()
116 nla_put(skb, CTA_HELP_INFO, help->helper->data_len, &help->data)) in nfnl_cthelper_to_nlattr()
168 nfnl_cthelper_parse_expect_policy(struct nf_conntrack_helper *helper, in nfnl_cthelper_parse_expect_policy() argument
[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()
95 nf_conntrack_helper_put(helper); in xt_ct_set_helper()
99 help->helper = helper; in xt_ct_set_helper()
183 if (info->helper[0]) { in xt_ct_tg_check()
184 if (strnlen(info->helper, sizeof(info->helper)) == sizeof(info->helper)) { in xt_ct_tg_check()
189 ret = xt_ct_set_helper(ct, info->helper, par); in xt_ct_tg_check()
213 nf_conntrack_helper_put(help->helper); in xt_ct_tg_check()
236 memcpy(info_v1.helper, info->helper, sizeof(info->helper)); in xt_ct_tg_check_v0()
[all …]
Dxt_helper.c29 const struct nf_conntrack_helper *helper; in helper_mt() local
42 helper = rcu_dereference(master_help->helper); in helper_mt()
43 if (!helper) in helper_mt()
49 ret ^= !strncmp(helper->name, info->name, in helper_mt()
50 strlen(helper->name)); in helper_mt()
Dnf_conntrack_expect.c312 exp->helper = NULL; in nf_ct_expect_init()
372 struct nf_conntrack_helper *helper; in nf_ct_expect_insert() local
380 helper = rcu_dereference_protected(master_help->helper, in nf_ct_expect_insert()
382 if (helper) { in nf_ct_expect_insert()
384 helper->expect_policy[exp->class].timeout * HZ; in nf_ct_expect_insert()
420 struct nf_conntrack_helper *helper; in __nf_ct_expect_check() local
446 helper = rcu_dereference_protected(master_help->helper, in __nf_ct_expect_check()
448 if (helper) { in __nf_ct_expect_check()
449 p = &helper->expect_policy[expect->class]; in __nf_ct_expect_check()
609 struct nf_conntrack_helper *helper; in exp_seq_show() local
[all …]
Dnf_conntrack_netbios_ns.c46 static struct nf_conntrack_helper helper __read_mostly = {
61 return nf_conntrack_helper_register(&helper); in nf_conntrack_netbios_ns_init()
66 nf_conntrack_helper_unregister(&helper); in nf_conntrack_netbios_ns_fini()
Dnf_conntrack_snmp.c53 static struct nf_conntrack_helper helper __read_mostly = {
66 return nf_conntrack_helper_register(&helper); in nf_conntrack_snmp_init()
71 nf_conntrack_helper_unregister(&helper); in nf_conntrack_snmp_fini()
/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-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/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()
152 struct drm_fb_helper *helper; in msm_fbdev_init() local
159 helper = &fbdev->base; in msm_fbdev_init()
[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-5.10/drivers/net/wireless/marvell/libertas/
Dfirmware.c16 const struct firmware *helper, const struct firmware *mainfw) in lbs_fw_loaded() argument
23 priv->fw_callback(priv, ret, helper, mainfw); in lbs_fw_loaded()
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()
174 const struct firmware **helper, in lbs_get_firmware() argument
180 BUG_ON(helper == NULL); in lbs_get_firmware()
185 while (iter && iter->helper) { in lbs_get_firmware()
189 if (*helper == NULL) { in lbs_get_firmware()
190 ret = request_firmware(helper, iter->helper, dev); in lbs_get_firmware()
208 release_firmware(*helper); in lbs_get_firmware()
[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/scripts/
Dbpf_helpers_doc.py155 helper = self.parse_helper()
156 self.helpers.append(helper)
179 def print_one(self, helper): argument
184 for helper in self.helpers:
185 self.print_one(helper)
355 def print_proto(self, helper): argument
360 proto = helper.proto_break_down()
381 def print_one(self, helper): argument
382 self.print_proto(helper)
384 if (helper.desc):
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_fbdev.c63 container_of(fb_helper, struct intel_fbdev, helper); in intel_fbdev_set_par()
77 container_of(fb_helper, struct intel_fbdev, helper); in intel_fbdev_blank()
92 container_of(fb_helper, struct intel_fbdev, helper); in intel_fbdev_pan_display()
113 static int intelfb_alloc(struct drm_fb_helper *helper, in intelfb_alloc() argument
117 container_of(helper, struct intel_fbdev, helper); in intelfb_alloc()
119 struct drm_device *dev = helper->dev; in intelfb_alloc()
162 static int intelfb_create(struct drm_fb_helper *helper, in intelfb_create() argument
166 container_of(helper, struct intel_fbdev, helper); in intelfb_create()
168 struct drm_device *dev = helper->dev; in intelfb_create()
197 ret = intelfb_alloc(helper, sizes); in intelfb_create()
[all …]
/kernel/linux/linux-5.10/include/drm/
Ddrm_fb_helper.h92 int (*fb_probe)(struct drm_fb_helper *helper,
214 void drm_fb_helper_prepare(struct drm_device *dev, struct drm_fb_helper *helper,
216 int drm_fb_helper_init(struct drm_device *dev, struct drm_fb_helper *helper);
217 void drm_fb_helper_fini(struct drm_fb_helper *helper);
276 struct drm_fb_helper *helper, in drm_fb_helper_prepare() argument
282 struct drm_fb_helper *helper) in drm_fb_helper_init() argument
285 helper->dev = dev; in drm_fb_helper_init()
286 dev->fb_helper = helper; in drm_fb_helper_init()
291 static inline void drm_fb_helper_fini(struct drm_fb_helper *helper) in drm_fb_helper_fini() argument
293 if (helper && helper->dev) in drm_fb_helper_fini()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_fb.c46 struct drm_fb_helper helper; /* must be first */ member
211 static int radeonfb_create(struct drm_fb_helper *helper, in radeonfb_create() argument
215 container_of(helper, struct radeon_fbdev, helper); in radeonfb_create()
244 info = drm_fb_helper_alloc_fbi(helper); in radeonfb_create()
262 rfbdev->helper.fb = fb; in radeonfb_create()
274 drm_fb_helper_fill_info(info, &rfbdev->helper, sizes); in radeonfb_create()
313 drm_fb_helper_unregister_fbi(&rfbdev->helper); in radeon_fbdev_destroy()
321 drm_fb_helper_fini(&rfbdev->helper); in radeon_fbdev_destroy()
354 drm_fb_helper_prepare(rdev->ddev, &rfbdev->helper, in radeon_fbdev_init()
357 ret = drm_fb_helper_init(rdev->ddev, &rfbdev->helper); in radeon_fbdev_init()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/arm64/pauth/
DMakefile15 TEST_GEN_FILES := pac_corruptor.o helper.o
27 $(OUTPUT)/helper.o: helper.c
34 $(OUTPUT)/exec_target: exec_target.c $(OUTPUT)/helper.o
37 $(OUTPUT)/pac: pac.c $(OUTPUT)/pac_corruptor.o $(OUTPUT)/helper.o
/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/
Dfb.c20 static inline struct tegra_fbdev *to_tegra_fbdev(struct drm_fb_helper *helper) in to_tegra_fbdev() argument
22 return container_of(helper, struct tegra_fbdev, base); in to_tegra_fbdev()
182 struct drm_fb_helper *helper = info->par; in tegra_fb_mmap() local
186 bo = tegra_fb_get_plane(helper->fb, 0); in tegra_fb_mmap()
204 static int tegra_fbdev_probe(struct drm_fb_helper *helper, in tegra_fbdev_probe() argument
207 struct tegra_fbdev *fbdev = to_tegra_fbdev(helper); in tegra_fbdev_probe()
208 struct tegra_drm *tegra = helper->dev->dev_private; in tegra_fbdev_probe()
209 struct drm_device *drm = helper->dev; in tegra_fbdev_probe()
235 info = drm_fb_helper_alloc_fbi(helper); in tegra_fbdev_probe()
252 helper->fb = fb; in tegra_fbdev_probe()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_fb.c197 static int amdgpufb_create(struct drm_fb_helper *helper, in amdgpufb_create() argument
200 struct amdgpu_fbdev *rfbdev = (struct amdgpu_fbdev *)helper; in amdgpufb_create()
228 info = drm_fb_helper_alloc_fbi(helper); in amdgpufb_create()
244 rfbdev->helper.fb = fb; in amdgpufb_create()
254 drm_fb_helper_fill_info(info, &rfbdev->helper, sizes); in amdgpufb_create()
294 drm_fb_helper_unregister_fbi(&rfbdev->helper); in amdgpu_fbdev_destroy()
304 drm_fb_helper_fini(&rfbdev->helper); in amdgpu_fbdev_destroy()
338 drm_fb_helper_prepare(adev_to_drm(adev), &rfbdev->helper, in amdgpu_fbdev_init()
341 ret = drm_fb_helper_init(adev_to_drm(adev), &rfbdev->helper); in amdgpu_fbdev_init()
351 drm_fb_helper_initial_config(&rfbdev->helper, bpp_sel); in amdgpu_fbdev_init()
[all …]
/kernel/linux/linux-5.10/tools/lib/traceevent/Documentation/
Dlibtraceevent-reg_print_func.txt7 Registers / Unregisters a helper function.
32 Some events may have helper functions in the print format arguments.
36 The _tep_register_print_function()_ registers such helper function. The _tep_
38 to the helper function. The _ret_type_ argument is the return type of the
39 helper function, value from the _tep_func_arg_type_ enum. The _name_ is the name
40 of the helper function, as seen in the print format arguments. The _..._ is a
44 The _tep_unregister_print_function()_ unregisters a helper function, previously
47 when the helper function was registered.
49 The _tep_func_handler_ is the type of the helper function. The _s_ argument is
51 The _args_ is a list of arguments, defined when the helper function was
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_fb_helper.c156 struct drm_fb_helper *helper = info->par; in drm_fb_helper_debug_enter() local
160 list_for_each_entry(helper, &kernel_fb_helper_list, kernel_fb_list) { in drm_fb_helper_debug_enter()
161 mutex_lock(&helper->client.modeset_mutex); in drm_fb_helper_debug_enter()
162 drm_client_for_each_modeset(mode_set, &helper->client) { in drm_fb_helper_debug_enter()
179 mutex_unlock(&helper->client.modeset_mutex); in drm_fb_helper_debug_enter()
192 struct drm_fb_helper *helper = info->par; in drm_fb_helper_debug_leave() local
193 struct drm_client_dev *client = &helper->client; in drm_fb_helper_debug_leave()
194 struct drm_device *dev = helper->dev; in drm_fb_helper_debug_leave()
291 struct drm_fb_helper *helper; in drm_fb_helper_force_kernel_mode() local
296 list_for_each_entry(helper, &kernel_fb_helper_list, kernel_fb_list) { in drm_fb_helper_force_kernel_mode()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dtest_bpftool.py152 for helper in helpers:
153 full_set.add(helper)
156 for helper in helpers:
157 not_full_set.add(helper)
/kernel/linux/linux-5.10/include/net/netfilter/
Dnf_conntrack_helper.h72 struct nf_conntrack_helper __rcu *helper; member
92 void nf_conntrack_helper_put(struct nf_conntrack_helper *helper);
94 void nf_ct_helper_init(struct nf_conntrack_helper *helper,
179 void nf_nat_helper_put(struct nf_conntrack_helper *helper);

12345678910>>...13