| /linux/net/netfilter/ |
| H A D | nfnetlink_cthelper.c | 35 struct nf_conntrack_helper *helper; member 44 struct nf_conntrack_helper *helper; in nfnl_userspace_cthelper() local 53 helper = rcu_dereference(help->helper); in nfnl_userspace_cthelper() 54 if (helper == NULL) in nfnl_userspace_cthelper() 57 helper_flags = READ_ONCE(helper->flags); in nfnl_userspace_cthelper() 59 /* This is a user-space helper not yet configured, skip. */ 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() 102 const struct nf_conntrack_helper *helper; in nfnl_cthelper_from_nlattr() local 110 helper = rcu_dereference(help->helper); in nfnl_cthelper_from_nlattr() [all …]
|
| H A 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",
|
| H A D | nf_conntrack_expect.c | 64 /* nf_conntrack_expect helper functions */ 321 * master's helper is safe, because the packet holds a reference on 330 struct nf_conntrack_helper *helper = NULL; in nf_ct_expect_init() local 347 helper = rcu_dereference(help->helper); in nf_ct_expect_init() 349 rcu_assign_pointer(exp->helper, helper); in nf_ct_expect_init() 418 struct nf_conntrack_helper *helper; in nf_ct_expect_insert() local 424 helper = rcu_dereference_protected(master_help->helper, in nf_ct_expect_insert() 426 if (helper) in nf_ct_expect_insert() 427 exp->timeout += helper->expect_policy[exp->class].timeout * HZ; in nf_ct_expect_insert() 468 struct nf_conntrack_helper *helper; in __nf_ct_expect_check() local [all …]
|
| /linux/drivers/net/wireless/marvell/libertas/ |
| H A 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/arch/mips/cavium-octeon/executive/ |
| H A 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/drivers/gpu/drm/msm/ |
| H A D | msm_fbdev.c | 34 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() 66 static int msm_fbdev_fb_dirty(struct drm_fb_helper *helper, in msm_fbdev_fb_dirty() argument 69 struct drm_device *dev = helper->dev; in msm_fbdev_fb_dirty() 76 if (helper->fb->funcs->dirty) { in msm_fbdev_fb_dirty() 77 ret = helper->fb->funcs->dirty(helper->fb, NULL, 0, 0, clip, 1); in msm_fbdev_fb_dirty() [all …]
|
| /linux/drivers/gpu/drm/omapdrm/ |
| H A D | omap_fbdev.c | 45 struct drm_fb_helper *helper = fbdev->dev->fb_helper; in pan_worker() local 46 struct fb_info *fbi = helper->info; in pan_worker() 47 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 65 if (!helper) in FB_GEN_DEFAULT_DEFERRED_DMAMEM_OPS() 68 priv = helper->dev->dev_private; in FB_GEN_DEFAULT_DEFERRED_DMAMEM_OPS() 94 struct drm_fb_helper *helper = info->par; in omap_fbdev_fb_destroy() local 95 struct drm_framebuffer *fb = helper->fb; in omap_fbdev_fb_destroy() 101 drm_fb_helper_fini(helper); in omap_fbdev_fb_destroy() 106 drm_client_release(&helper->client); in omap_fbdev_fb_destroy() [all …]
|
| /linux/scripts/ |
| H A D | bpf_doc.py | 16 helpersDocStart = 'Start of BPF helper function descriptions:' 54 class Helper(APIElement): class 56 An object representing the description of an eBPF helper function. 57 @proto: function prototype of the helper function 58 @desc: textual description of the helper function 59 @ret: description of the return value of the helper function 68 Break down helper function protocol into smaller chunks: return type, 107 list of eBPF helper functions. All the helpers that can be retrieved are 108 stored as Helper object, in the self.helpers() array. 135 return Helper(proto=proto, desc=desc, ret=ret, attrs=attrs) [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | verifier_helper_packet_access.c | 16 __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 acces [all...] |
| H A D | verifier_helper_value_access.c | 42 __description("helper access to map: full range") 68 __description("helper access to map: partial range") 98 __description("helper access to map: empty range") 125 __description("helper access to map: possibly-empty ange") 154 __description("helper access to map: out-of-bound range") 180 __description("helper access to map: negative range") 205 __description("helper access to adjusted map (via const imm): full range") 233 __description("helper access to adjusted map (via const imm): partial range") 260 __description("helper access to adjusted map (via const imm): empty range") 286 __description("helper acces [all...] |
| H A D | verifier_helper_access_var_len.c | 35 __description("helper access to variable memory: stack, bitwise AND + JMP, correct bounds") 67 __description("helper access to variable memory: stack, bitwise AND, zero included") 87 /* Call bpf_ringbuf_output(), it is one of a few helper functions with\ in stack_bitwise_and_zero_included() 102 __description("helper access to variable memory: stack, bitwise AND + JMP, wrong max") 125 __description("helper access to variable memory: stack, JMP, correct bounds") 157 __description("helper access to variable memory: stack, JMP (signed), correct bounds") 189 __description("helper access to variable memory: stack, JMP, bounds + offset") 213 __description("helper access to variable memory: stack, JMP, wrong max") 236 __description("helper access to variable memory: stack, JMP, no max check") 260 __description("helper access to variable memory: stack, JMP, no min check") [all …]
|
| /linux/tools/testing/vma/ |
| H A D | shared.h | 75 * Helper function which provides a wrapper around a merge existing VMA 83 * Helper function to allocate a VMA and link it to the tree. 89 /* Helper function providing a dummy vm_ops->close() method.*/ 94 /* Helper function to simply allocate a VMA. */ 99 /* Helper function to detach and free a VMA. */ 102 /* Helper function to allocate a VMA and link it to the tree. */ 108 * Helper function to reset the dummy anon_vma to indicate it has not been 114 * Helper function to remove all VMAs and destroy the maple tree associated with 119 /* Helper function to determine if VMA has had vma_start_write() performed. */ 129 /* Helper functio [all...] |
| /linux/include/drm/ |
| H A D | drm_fb_helper.h | 6 * DRM framebuffer helper functions 69 * Driver callbacks used by the fbdev emulation helper library. 84 int (*fb_dirty)(struct drm_fb_helper *helper, struct drm_clip_rect *clip); 97 void (*fb_restore)(struct drm_fb_helper *helper); 111 void (*fb_set_suspend)(struct drm_fb_helper *helper, bool suspend); 118 * @funcs: driver callbacks for fb helper 160 * Top-level FBDEV helper lock. This protects all internal data 164 * protect all helper internal state with this lock as well as reduce 181 * If no outputs are connected (disconnected or unknown) the FB helper 194 * FB helper initialization. This needs to be tracked so that deferred [all …]
|
| /linux/tools/testing/selftests/net/netfilter/ |
| H A D | nft_conntrack_helper.sh | 3 # This tests connection tracking helper assignment: 4 # 1. can attach ftp helper to a connection from nft ruleset. 51 ct helper ftp { 56 tcp dport 2121 ct helper set "ftp" 60 tcp dport 2121 ct helper set "ftp" 79 …xec "$netns" conntrack -L -f $family -p tcp --dport "$port" 2> /dev/null |grep -q 'helper=ftp';then 81 echo "FAIL: ${netns} did not show attached helper $message" 1>&2 84 echo "PASS: ${netns} did not show attached helper $message" 1>&2 88 echo "PASS: ${netns} connection on port $port has ftp helper attached" 1>&2 90 echo "FAIL: ${netns} connection on port $port has ftp helper attached" 1>&2
|
| /linux/include/linux/ |
| H A 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 237 * A small helper function that translates MII_CTRL1000 257 * A small helper function that translates MII_LPA 275 * A small helper function that translates MII_STAT1000 296 * A small helper function that translates MII_STAT1000 bits, when in [all …]
|
| /linux/arch/um/os-Linux/ |
| H A D | irq.c | 25 /* Helper to return an Epoll data pointer from an epoll event structure. 34 /* Helper to compare events versus the events in the epoll structure. 43 /* Helper to set the event mask. 67 * Helper to run the actual epoll_wait 90 * Helper to add a fd to epoll 108 * Helper to mod the fd event mask and/or data backreference 125 * Helper to delete the epoll fd
|
| /linux/drivers/media/v4l2-core/ |
| H A D | v4l2-ctrls-api.c | 21 /* Internal temporary helper struct, one for each v4l2_ext_control */ 35 * Helper functions to copy control payload data from kernel space to 39 /* Helper function: copy the given control value back to the caller */ 69 /* Helper function: copy the current control value back to the caller */ 75 /* Helper function: copy the new control value back to the caller */ 82 /* Helper function: copy the request value back to the caller */ 89 /* Helper function: copy the initial control value back to the caller */ 97 /* Helper function: copy the minimum control value back to the caller */ 105 /* Helper function: copy the maximum control value back to the caller */ 113 /* Helper function: copy the caller-provider value as the new control value */ [all …]
|
| /linux/fs/ubifs/ |
| H A D | misc.h | 12 * This file contains miscellaneous helper functions. 22 * This helper function returns %1 if @znode is dirty and %0 otherwise. 33 * This helper function returns %1 if @znode is obsolete and %0 otherwise. 44 * This helper function returns %1 if @znode is has COW flag set and %0 69 * This helper function looks for znode child starting at index @start. Returns 142 * This is a helper function which encodes major/minor numbers of a device node 158 * This is a helper function which increased amount of dirty LEB space. Returns 171 * This helper function cleans the "taken" flag of a logical eraseblock in the 267 * This helper function returns the log LEB number which goes next after LEB
|
| /linux/tools/include/uapi/linux/ |
| H A D | bpf.h | 1299 * restrict map and helper usage for such programs. Sleepable BPF programs can 1830 * accessible through bpf_get_attach_cookie() BPF helper 1846 * accessible through bpf_get_attach_cookie() BPF helper 1956 * developers about the multiple available eBPF helper functions. It can be 1970 * Start of BPF helper function descriptions: 1993 * elements always exist), the helper would return an error. 2023 * This helper is a "printk()-like" facility for debugging. It 2030 * Each time the helper is called, it appends a line to the trace. 2066 * helper will return **-EINVAL** (but print nothing) if it 2072 * states that the helper shoul [all...] |
| /linux/tools/testing/selftests/bpf/ |
| H A D | test_bpftool.py | |
| /linux/drivers/gpu/drm/ |
| H A D | drm_fbdev_ttm.c | 141 static int drm_fbdev_ttm_helper_fb_dirty(struct drm_fb_helper *helper, in drm_fbdev_ttm_helper_fb_dirty() argument 144 struct drm_device *dev = helper->dev; in drm_fbdev_ttm_helper_fb_dirty() 151 ret = drm_fbdev_ttm_damage_blit(helper, clip); in drm_fbdev_ttm_helper_fb_dirty() 155 if (helper->fb->funcs->dirty) { in drm_fbdev_ttm_helper_fb_dirty() 156 ret = helper->fb->funcs->dirty(helper->fb, NULL, 0, 0, clip, 1); in drm_fbdev_ttm_helper_fb_dirty() 157 if (drm_WARN_ONCE(dev, ret, "Dirty helper failed: ret=%d\n", ret)) in drm_fbdev_ttm_helper_fb_dirty()
|
| H A D | drm_fbdev_shmem.c | 106 static int drm_fbdev_shmem_helper_fb_dirty(struct drm_fb_helper *helper, in drm_fbdev_shmem_helper_fb_dirty() argument 109 struct drm_device *dev = helper->dev; in drm_fbdev_shmem_helper_fb_dirty() 116 if (helper->fb->funcs->dirty) { in drm_fbdev_shmem_helper_fb_dirty() 117 ret = helper->fb->funcs->dirty(helper->fb, NULL, 0, 0, clip, 1); in drm_fbdev_shmem_helper_fb_dirty() 118 if (drm_WARN_ONCE(dev, ret, "Dirty helper failed: ret=%d\n", ret)) in drm_fbdev_shmem_helper_fb_dirty()
|
| /linux/Documentation/bpf/ |
| H A D | map_devmap.rst | 13 used as backend maps for the XDP BPF helper call ``bpf_redirect_map()``. 57 This helper will return ``XDP_REDIRECT`` on success, or the value of the two 69 helper. 85 helper. This helper replaces existing elements atomically. The ``value`` parameter 123 helper. 133 helper. This helper will return 0 on success, or negative error in case of
|
| /linux/security/ |
| H A D | Kconfig | 187 bool "Force all usermode helper calls through a single binary" 190 binary programs through the "usermode helper" kernel 200 "real" usermode helper binary, based on the first argument 204 If you wish for all usermode helper programs are to be 209 string "Path to the static usermode helper binary" 211 default "/sbin/usermode-helper" 213 The binary called by the kernel when any usermode helper 218 If you wish for all usermode helper programs to be disabled,
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/ |
| H A D | helper.h | 9 /* General acl helper functions */ 13 /* Egress acl helper functions */ 22 /* Ingress acl helper functions */
|