/Linux-v5.15/net/netfilter/ |
D | nf_conntrack_helper.c | 2 /* 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 …]
|
D | nfnetlink_cthelper.c | 35 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 …]
|
D | xt_CT.c | 76 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 help->helper = helper; in xt_ct_set_helper() 182 if (info->helper[0]) { in xt_ct_tg_check() 183 if (strnlen(info->helper, sizeof(info->helper)) == sizeof(info->helper)) { in xt_ct_tg_check() 188 ret = xt_ct_set_helper(ct, info->helper, par); in xt_ct_tg_check() 212 nf_conntrack_helper_put(help->helper); in xt_ct_tg_check() [all …]
|
D | xt_helper.c | 29 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",
|
D | nf_conntrack_netbios_ns.c | 3 * NetBIOS name service broadcast connection tracking helper 8 * This helper tracks locally originating NetBIOS name service 26 MODULE_DESCRIPTION("NetBIOS name service broadcast connection tracking helper"); 46 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()
|
/Linux-v5.15/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_fbdev.c | 24 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 …]
|
/Linux-v5.15/drivers/gpu/drm/exynos/ |
D | exynos_drm_fbdev.c | 39 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 …]
|
/Linux-v5.15/drivers/net/wireless/marvell/libertas/ |
D | firmware.c | 16 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-v5.15/arch/mips/cavium-octeon/executive/ |
D | Makefile | 14 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-v5.15/drivers/gpu/drm/msm/ |
D | msm_fbdev.c | 47 struct drm_fb_helper *helper = (struct drm_fb_helper *)info->par; in msm_fbdev_mmap() local 48 struct msm_fbdev *fbdev = to_msm_fbdev(helper); in msm_fbdev_mmap() 54 static int msm_fbdev_create(struct drm_fb_helper *helper, in msm_fbdev_create() argument 57 struct msm_fbdev *fbdev = to_msm_fbdev(helper); in msm_fbdev_create() 58 struct drm_device *dev = helper->dev; in msm_fbdev_create() 97 fbi = drm_fb_helper_alloc_fbi(helper); in msm_fbdev_create() 107 helper->fb = fb; in msm_fbdev_create() 111 drm_fb_helper_fill_info(fbi, helper, sizes); in msm_fbdev_create() 141 /* initialize fbdev helper */ 146 struct drm_fb_helper *helper; in msm_fbdev_init() local [all …]
|
/Linux-v5.15/Documentation/gpu/ |
D | drm-kms-helpers.rst | 2 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-v5.15/drivers/gpu/drm/omapdrm/ |
D | omap_fbdev.c | 51 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 …]
|
/Linux-v5.15/drivers/gpu/drm/nouveau/ |
D | nouveau_fbcon.c | 67 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 …]
|
/Linux-v5.15/tools/testing/selftests/bpf/verifier/ |
D | helper_packet_access.c | 2 "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 …]
|
D | helper_value_access.c | 2 "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 …]
|
D | helper_access_var_len.c | 2 "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-v5.15/scripts/ |
D | bpf_doc.py | 43 class Helper(APIElement): class 45 An object representing the description of an eBPF helper function. 46 @proto: function prototype of the helper function 47 @desc: textual description of the helper function 48 @ret: description of the return value of the helper function 52 Break down helper function protocol into smaller chunks: return type, 80 list of eBPF helper functions. All the helpers that can be retrieved are 81 stored as Helper object, in the self.helpers() array. 101 return Helper(proto=proto, desc=desc, ret=ret) 134 # Helper can have empty description and we might be parsing another [all …]
|
/Linux-v5.15/include/drm/ |
D | drm_fb_helper.h | 6 * DRM framebuffer helper functions 74 * Driver callbacks used by the fbdev emulation helper library. 91 int (*fb_probe)(struct drm_fb_helper *helper, 99 * @funcs: driver callbacks for fb helper 141 * Top-level FBDEV helper lock. This protects all internal data 145 * protect all helper internal state with this lock as well as reduce 169 * If no outputs are connected (disconnected or unknown) the FB helper 182 * FB helper initialization. This needs to be tracked so that deferred 183 * FB helper setup can pass this on. 197 * define DRM_FB_HELPER_DEFAULT_OPS - helper define for drm drivers [all …]
|
/Linux-v5.15/tools/lib/traceevent/Documentation/ |
D | libtraceevent-reg_print_func.txt | 7 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-v5.15/drivers/gpu/drm/ |
D | drm_fb_helper.c | 6 * DRM framebuffer helper functions 88 * The fb helper functions are useful to provide an fbdev on top of a drm kernel 90 * helper functions used by many drivers to implement the kernel mode setting 100 * They should also notify the fb helper code from updates to the output 107 * All other functions exported by the fb helper library can be used to 112 * helper must be called first to initialize the minimum required to make 117 * encoders and connectors. To finish up the fbdev helper initialization, the 152 * @info: fbdev registered by the helper 156 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() [all …]
|
/Linux-v5.15/drivers/gpu/drm/i915/display/ |
D | intel_fbdev.c | 65 container_of(fb_helper, struct intel_fbdev, helper); in intel_fbdev_set_par() 79 container_of(fb_helper, struct intel_fbdev, helper); in intel_fbdev_blank() 94 container_of(fb_helper, struct intel_fbdev, helper); in intel_fbdev_pan_display() 115 static int intelfb_alloc(struct drm_fb_helper *helper, in intelfb_alloc() argument 119 container_of(helper, struct intel_fbdev, helper); in intelfb_alloc() 121 struct drm_device *dev = helper->dev; in intelfb_alloc() 172 static int intelfb_create(struct drm_fb_helper *helper, in intelfb_create() argument 176 container_of(helper, struct intel_fbdev, helper); in intelfb_create() 178 struct drm_device *dev = helper->dev; in intelfb_create() 208 ret = intelfb_alloc(helper, sizes); in intelfb_create() [all …]
|
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | tc_priv.h | 42 /* Helper struct for accessing a struct containing list_head array. 44 * |- Helper array 45 * [0] Helper item 0 48 * [1] Helper item 1 52 * 1. Get the helper item from the list_head item using 53 * helper item = 54 * container_of(list_head item, helper struct type, list_head field) 55 * 2. Get the contining struct from the helper item and its index in the array: 57 * container_of(helper item, containing struct type, helper field[index])
|
/Linux-v5.15/drivers/gpu/drm/radeon/ |
D | radeon_fb.c | 42 * this contains a helper + a radeon fb 43 * the helper contains a pointer to radeon framebuffer baseclass. 46 struct drm_fb_helper helper; /* must be first */ member 212 static int radeonfb_create(struct drm_fb_helper *helper, in radeonfb_create() argument 216 container_of(helper, struct radeon_fbdev, helper); in radeonfb_create() 245 info = drm_fb_helper_alloc_fbi(helper); in radeonfb_create() 262 /* setup helper */ in radeonfb_create() 263 rfbdev->helper.fb = fb; in radeonfb_create() 275 drm_fb_helper_fill_info(info, &rfbdev->helper, sizes); in radeonfb_create() 311 drm_fb_helper_unregister_fbi(&rfbdev->helper); in radeon_fbdev_destroy() [all …]
|
/Linux-v5.15/include/linux/ |
D | mii.h | 93 * 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-v5.15/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_fb.c | 45 this contains a helper + a amdgpu fb 46 the helper contains a pointer to amdgpu framebuffer baseclass. 197 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() 243 /* setup helper */ in amdgpufb_create() 244 rfbdev->helper.fb = fb; in amdgpufb_create() 253 drm_fb_helper_fill_info(info, &rfbdev->helper, sizes); in amdgpufb_create() 290 drm_fb_helper_unregister_fbi(&rfbdev->helper); in amdgpu_fbdev_destroy() 300 drm_fb_helper_fini(&rfbdev->helper); in amdgpu_fbdev_destroy() [all …]
|