Home
last modified time | relevance | path

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

12345678910>>...92

/Linux-v6.1/net/netfilter/
Dnf_conntrack_helper.c2 /* Helper handling for netfilter. */
83 if (request_module("nfct-helper-%s", name) == 0) { in nf_conntrack_helper_try_module_get()
104 void nf_conntrack_helper_put(struct nf_conntrack_helper *helper) in nf_conntrack_helper_put() argument
106 refcount_dec(&helper->refcnt); in nf_conntrack_helper_put()
107 module_put(helper->me); in nf_conntrack_helper_put()
163 void nf_nat_helper_put(struct nf_conntrack_helper *helper) in nf_nat_helper_put() argument
167 nat = nf_conntrack_nat_helper_find(helper->nat_mod_name); in nf_nat_helper_put()
184 pr_debug("failed to add helper extension area"); in nf_ct_helper_ext_add()
192 struct nf_conntrack_helper *helper = NULL; in __nf_ct_try_assign_helper() local
195 /* 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 …]
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 …]
Dnf_conntrack_broadcast.c3 * broadcast connection tracking helper
23 const struct nf_conntrack_helper *helper; in nf_conntrack_broadcast_help() local
63 helper = rcu_dereference(help->helper); in nf_conntrack_broadcast_help()
64 if (helper) in nf_conntrack_broadcast_help()
65 exp->tuple.src.u.udp.port = helper->tuple.src.u.udp.port; in nf_conntrack_broadcast_help()
73 exp->helper = NULL; in nf_conntrack_broadcast_help()
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()
75 .name = "helper",
Dnf_conntrack_netbios_ns.c3 * NetBIOS name service broadcast connection tracking helper
8 * This helper tracks locally originating NetBIOS name service
27 MODULE_DESCRIPTION("NetBIOS name service broadcast connection tracking helper");
47 static struct nf_conntrack_helper helper __read_mostly = {
62 return nf_conntrack_helper_register(&helper); in nf_conntrack_netbios_ns_init()
67 nf_conntrack_helper_unregister(&helper); in nf_conntrack_netbios_ns_fini()
/Linux-v6.1/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 …]
/Linux-v6.1/drivers/gpu/drm/exynos/
Dexynos_drm_fbdev.c41 struct drm_fb_helper *helper = info->par; in exynos_drm_fb_mmap() local
42 struct exynos_drm_fbdev *exynos_fbd = to_exynos_fbdev(helper); in exynos_drm_fb_mmap()
57 static int exynos_drm_fbdev_update(struct drm_fb_helper *helper, in exynos_drm_fbdev_update() argument
62 struct drm_framebuffer *fb = helper->fb; in exynos_drm_fbdev_update()
66 fbi = drm_fb_helper_alloc_fbi(helper); in exynos_drm_fbdev_update()
68 DRM_DEV_ERROR(to_dma_dev(helper->dev), in exynos_drm_fbdev_update()
75 drm_fb_helper_fill_info(fbi, helper, sizes); in exynos_drm_fbdev_update()
87 static int exynos_drm_fbdev_create(struct drm_fb_helper *helper, in exynos_drm_fbdev_create() argument
90 struct exynos_drm_fbdev *exynos_fbdev = to_exynos_fbdev(helper); in exynos_drm_fbdev_create()
92 struct drm_device *dev = helper->dev; in exynos_drm_fbdev_create()
[all …]
/Linux-v6.1/drivers/gpu/drm/msm/
Dmsm_fbdev.c48 struct drm_fb_helper *helper = (struct drm_fb_helper *)info->par; in msm_fbdev_mmap() local
49 struct msm_fbdev *fbdev = to_msm_fbdev(helper); in msm_fbdev_mmap()
55 static int msm_fbdev_create(struct drm_fb_helper *helper, in msm_fbdev_create() argument
58 struct msm_fbdev *fbdev = to_msm_fbdev(helper); in msm_fbdev_create()
59 struct drm_device *dev = helper->dev; in msm_fbdev_create()
96 fbi = drm_fb_helper_alloc_fbi(helper); in msm_fbdev_create()
106 helper->fb = fb; in msm_fbdev_create()
110 drm_fb_helper_fill_info(fbi, helper, sizes); in msm_fbdev_create()
137 /* initialize fbdev helper */
142 struct drm_fb_helper *helper; in msm_fbdev_init() local
[all …]
/Linux-v6.1/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
/Linux-v6.1/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 …]
/Linux-v6.1/drivers/gpu/drm/omapdrm/
Domap_fbdev.c52 struct drm_fb_helper *helper = get_fb(fbi); in omap_fbdev_pan_display() local
53 struct omap_fbdev *fbdev = to_omap_fbdev(helper); in omap_fbdev_pan_display()
55 if (!helper) in omap_fbdev_pan_display()
64 struct omap_drm_private *priv = helper->dev->dev_private; in omap_fbdev_pan_display()
91 static int omap_fbdev_create(struct drm_fb_helper *helper, in omap_fbdev_create() argument
94 struct omap_fbdev *fbdev = to_omap_fbdev(helper); in omap_fbdev_create()
95 struct drm_device *dev = helper->dev; in omap_fbdev_create()
164 fbi = drm_fb_helper_alloc_fbi(helper); in omap_fbdev_create()
174 helper->fb = fb; in omap_fbdev_create()
178 drm_fb_helper_fill_info(fbi, helper, sizes); in omap_fbdev_create()
[all …]
/Linux-v6.1/drivers/gpu/drm/nouveau/
Dnouveau_fbcon.c68 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); in nouveau_fbcon_fillrect()
100 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); in nouveau_fbcon_copyarea()
132 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); in nouveau_fbcon_imageblit()
164 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); in nouveau_fbcon_sync()
191 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); in nouveau_fbcon_open()
204 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); in nouveau_fbcon_release()
234 if (drm->fbcon && drm->fbcon->helper.fbdev) { in nouveau_fbcon_accel_save_disable()
235 drm->fbcon->saved_flags = drm->fbcon->helper.fbdev->flags; in nouveau_fbcon_accel_save_disable()
236 drm->fbcon->helper.fbdev->flags |= FBINFO_HWACCEL_DISABLED; in nouveau_fbcon_accel_save_disable()
244 if (drm->fbcon && drm->fbcon->helper.fbdev) { in nouveau_fbcon_accel_restore()
[all …]
/Linux-v6.1/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 …]
Dhelper_value_access.c2 "helper access to map: full range",
21 "helper access to map: partial range",
40 "helper access to map: empty range",
59 "helper access to map: out-of-bound range",
79 "helper access to map: negative range",
99 "helper access to adjusted map (via const imm): full range",
120 "helper access to adjusted map (via const imm): partial range",
140 "helper access to adjusted map (via const imm): empty range",
160 "helper access to adjusted map (via const imm): out-of-bound range",
182 "helper access to adjusted map (via const imm): negative range (> adjustment)",
[all …]
Dhelper_access_var_len.c2 "helper access to variable memory: stack, bitwise AND + JMP, correct bounds",
30 "helper access to variable memory: stack, bitwise AND, zero included",
47 "helper access to variable memory: stack, bitwise AND + JMP, wrong max",
67 "helper access to variable memory: stack, JMP, correct bounds",
95 "helper access to variable memory: stack, JMP (signed), correct bounds",
123 "helper access to variable memory: stack, JMP, bounds + offset",
144 "helper access to variable memory: stack, JMP, wrong max",
164 "helper access to variable memory: stack, JMP, no max check",
184 "helper access to variable memory: stack, JMP, no min check",
202 "helper access to variable memory: stack, JMP (signed), no min check",
[all …]
/Linux-v6.1/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.
113 return Helper(proto=proto, desc=desc, ret=ret)
[all …]
/Linux-v6.1/include/drm/
Ddrm_fb_helper.h6 * DRM framebuffer helper functions
75 * Driver callbacks used by the fbdev emulation helper library.
92 int (*fb_probe)(struct drm_fb_helper *helper,
100 * @funcs: driver callbacks for fb helper
142 * Top-level FBDEV helper lock. This protects all internal data
146 * protect all helper internal state with this lock as well as reduce
170 * If no outputs are connected (disconnected or unknown) the FB helper
183 * FB helper initialization. This needs to be tracked so that deferred
184 * FB helper setup can pass this on.
198 * define DRM_FB_HELPER_DEFAULT_OPS - helper define for drm drivers
[all …]
/Linux-v6.1/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 …]
/Linux-v6.1/drivers/gpu/drm/i915/display/
Dintel_fbdev.c54 struct drm_fb_helper helper; member
84 container_of(fb_helper, struct intel_fbdev, helper); in intel_fbdev_set_par()
98 container_of(fb_helper, struct intel_fbdev, helper); in intel_fbdev_blank()
113 container_of(fb_helper, struct intel_fbdev, helper); in intel_fbdev_pan_display()
134 static int intelfb_alloc(struct drm_fb_helper *helper, in intelfb_alloc() argument
138 container_of(helper, struct intel_fbdev, helper); in intelfb_alloc()
140 struct drm_device *dev = helper->dev; in intelfb_alloc()
191 static int intelfb_create(struct drm_fb_helper *helper, in intelfb_create() argument
195 container_of(helper, struct intel_fbdev, helper); in intelfb_create()
197 struct drm_device *dev = helper->dev; in intelfb_create()
[all …]
/Linux-v6.1/drivers/gpu/drm/radeon/
Dradeon_fb.c43 * this contains a helper + a radeon fb
44 * the helper contains a pointer to radeon framebuffer baseclass.
47 struct drm_fb_helper helper; /* must be first */ member
213 static int radeonfb_create(struct drm_fb_helper *helper, in radeonfb_create() argument
217 container_of(helper, struct radeon_fbdev, helper); in radeonfb_create()
246 info = drm_fb_helper_alloc_fbi(helper); in radeonfb_create()
263 /* setup helper */ in radeonfb_create()
264 rfbdev->helper.fb = fb; in radeonfb_create()
276 drm_fb_helper_fill_info(info, &rfbdev->helper, sizes); in radeonfb_create()
312 drm_fb_helper_unregister_fbi(&rfbdev->helper); in radeon_fbdev_destroy()
[all …]
/Linux-v6.1/drivers/gpu/drm/
Ddrm_fb_helper.c6 * DRM framebuffer helper functions
89 * The fb helper functions are useful to provide an fbdev on top of a drm kernel
91 * helper functions used by many drivers to implement the kernel mode setting
101 * They should also notify the fb helper code from updates to the output
108 * All other functions exported by the fb helper library can be used to
113 * helper must be called first to initialize the minimum required to make
118 * encoders and connectors. To finish up the fbdev helper initialization, the
153 * @info: fbdev registered by the helper
157 struct drm_fb_helper *helper = info->par; in drm_fb_helper_debug_enter() local
161 list_for_each_entry(helper, &kernel_fb_helper_list, kernel_fb_list) { in drm_fb_helper_debug_enter()
[all …]
/Linux-v6.1/tools/testing/selftests/netfilter/
Dnft_conntrack_helper.sh3 # This tests connection tracking helper assignment:
4 # 1. can attach ftp helper to a connection from nft ruleset.
75 ct helper ftp {
80 tcp dport 2121 ct helper set "ftp"
84 tcp dport 2121 ct helper set "ftp"
103 …ip netns exec ${netns} conntrack -L -f $family -p tcp --dport $port 2> /dev/null |grep -q 'helper=…
106 echo "FAIL: ${netns} did not show attached helper $message" 1>&2
109 echo "PASS: ${netns} did not show attached helper $message" 1>&2
113 echo "PASS: ${netns} connection on port $port has ftp helper attached" 1>&2
115 echo "FAIL: ${netns} connection on port $port has ftp helper attached" 1>&2
/Linux-v6.1/include/linux/
Dmii.h93 * A small helper function for a common case. Returns one
111 * A small helper function that translates ethtool advertisement
139 * A small helper function that translates linkmode advertisement
167 * A small helper function that translates MII_ADVERTISE bits
194 * A small helper function that translates ethtool advertisement
214 * A small helper function that translates linkmode advertisement
236 * A small helper function that translates MII_CTRL1000
256 * A small helper function that translates MII_LPA
274 * A small helper function that translates MII_STAT1000
295 * A small helper function that translates MII_STAT1000 bits, when in
[all …]
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_priv.h48 /* Helper struct for accessing a struct containing list_head array.
50 * |- Helper array
51 * [0] Helper item 0
54 * [1] Helper item 1
58 * 1. Get the helper item from the list_head item using
59 * helper item =
60 * container_of(list_head item, helper struct type, list_head field)
61 * 2. Get the contining struct from the helper item and its index in the array:
63 * container_of(helper item, containing struct type, helper field[index])

12345678910>>...92