| /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() 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. */ 66 return NF_QUEUE_NR(helper->queue_num) | NF_VERDICT_FLAG_QUEUE_BYPASS; 102 const struct nf_conntrack_helper *helper; in nfnl_cthelper_from_nlattr() 45 struct nf_conntrack_helper *helper; nfnl_userspace_cthelper() local 99 const struct nf_conntrack_helper *helper; nfnl_cthelper_from_nlattr() local 116 const struct nf_conntrack_helper *helper; nfnl_cthelper_to_nlattr() local 172 nfnl_cthelper_parse_expect_policy(struct nf_conntrack_helper * helper,const struct nlattr * attr) nfnl_cthelper_parse_expect_policy() argument 222 struct nf_conntrack_helper *helper; nfnl_cthelper_create() local 319 nfnl_cthelper_update_policy_all(struct nlattr * tb[],struct nf_conntrack_helper * helper) nfnl_cthelper_update_policy_all() argument 358 nfnl_cthelper_update_policy(struct nf_conntrack_helper * helper,const struct nlattr * attr) nfnl_cthelper_update_policy() argument 383 nfnl_cthelper_update(const struct nlattr * const tb[],struct nf_conntrack_helper * helper) nfnl_cthelper_update() argument 421 struct nf_conntrack_helper *cur, *helper = NULL; nfnl_cthelper_new() local 465 nfnl_cthelper_dump_tuple(struct sk_buff * skb,struct nf_conntrack_helper * helper) nfnl_cthelper_dump_tuple() argument 489 nfnl_cthelper_dump_policy(struct sk_buff * skb,struct nf_conntrack_helper * helper) nfnl_cthelper_dump_policy() argument 530 nfnl_cthelper_fill_info(struct sk_buff * skb,u32 portid,u32 seq,u32 type,int event,struct nf_conntrack_helper * helper) nfnl_cthelper_fill_info() argument [all...] |
| H A D | nf_conntrack_helper.c | 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 module_put(helper->me); in nf_conntrack_helper_put() 109 if (refcount_dec_and_test(&helper->ct_refcnt)) in nf_conntrack_helper_put() 110 kfree_rcu(helper, rcu); in nf_conntrack_helper_put() 166 void nf_nat_helper_put(struct nf_conntrack_helper *helper) in nf_nat_helper_put() 170 nat = nf_conntrack_nat_helper_find(helper->nat_mod_name); in nf_nat_helper_put() 195 struct nf_conntrack_helper *helper = NULL; in __nf_ct_try_assign_helper() 198 /* We already got a helper explicitly attached (e.g. nft_ct) */ in __nf_ct_try_assign_helper() 207 helper in __nf_ct_try_assign_helper() 165 nf_nat_helper_put(struct nf_conntrack_helper * helper) nf_nat_helper_put() argument 194 struct nf_conntrack_helper *helper = NULL; __nf_ct_try_assign_helper() local 257 struct nf_conntrack_helper *helper; nf_ct_helper_destroy() local 336 const struct nf_conntrack_helper *helper; nf_ct_helper_log() local 436 nf_ct_helper_init(struct nf_conntrack_helper * helper,u16 l3num,u16 protonum,const char * name,u16 default_port,u16 spec_port,u32 id,const struct nf_conntrack_expect_policy * exp_pol,u32 expect_class_max,int (* help)(struct sk_buff * skb,unsigned int protoff,struct nf_conn * ct,enum ip_conntrack_info ctinfo),int (* from_nlattr)(struct nlattr * attr,struct nf_conn * ct),struct module * module) nf_ct_helper_init() argument 466 nf_conntrack_helpers_register(struct nf_conntrack_helper * helper,unsigned int n) nf_conntrack_helpers_register() argument 486 nf_conntrack_helpers_unregister(struct nf_conntrack_helper * helper,unsigned int n) nf_conntrack_helpers_unregister() argument [all...] |
| H A D | xt_CT.c | 77 struct nf_conntrack_helper *helper; in xt_ct_set_helper() local 87 helper = nf_conntrack_helper_try_module_get(helper_name, par->family, in xt_ct_set_helper() 89 if (helper == NULL) { in xt_ct_set_helper() 90 pr_info_ratelimited("No such helper \"%s\"\n", helper_name); in xt_ct_set_helper() 96 nf_conntrack_helper_put(helper); in xt_ct_set_helper() 100 rcu_assign_pointer(help->helper, helper); in xt_ct_set_helper() 142 struct nf_conntrack_helper *helper; in xt_ct_put_helper() local 150 helper = rcu_dereference_raw(help->helper); in xt_ct_put_helper() [all...] |
| H A D | nf_conntrack_broadcast.c | 3 * broadcast connection tracking helper 23 const struct nf_conntrack_helper *helper; in nf_conntrack_broadcast_help() local 68 helper = rcu_dereference(help->helper); in nf_conntrack_broadcast_help() 69 if (helper) in nf_conntrack_broadcast_help() 70 exp->tuple.src.u.udp.port = helper->tuple.src.u.udp.port; in nf_conntrack_broadcast_help() 78 rcu_assign_pointer(exp->helper, helper); in nf_conntrack_broadcast_help() 94 MODULE_DESCRIPTION("Broadcast connection tracking helper");
|
| 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()
|
| H A D | nf_conntrack_expect.c | 64 /* nf_conntrack_expect helper functions */ in nf_ct_unlink_expect_report() 321 * master's helper is safe, because the packet holds a reference on in nf_ct_expect_init() 330 struct nf_conntrack_helper *helper = NULL; in nf_ct_expect_init() 347 helper = rcu_dereference(help->helper); in nf_ct_expect_init() 349 rcu_assign_pointer(exp->helper, helper); in nf_ct_expect_init() 417 struct nf_conntrack_helper *helper; in nf_ct_expect_insert() 423 helper = rcu_dereference_protected(master_help->helper, in nf_ct_expect_insert() 327 struct nf_conntrack_helper *helper = NULL; nf_ct_expect_init() local 412 struct nf_conntrack_helper *helper; nf_ct_expect_insert() local 462 struct nf_conntrack_helper *helper; __nf_ct_expect_check() local 655 struct nf_conntrack_helper *helper; exp_seq_show() local [all...] |
| H A D | nf_conntrack_netbios_ns.c | 3 * 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; 56 nf_ct_helper_init(&helper, AF_INET, IPPROTO_UDP, HELPER_NAME, 60 return nf_conntrack_helper_register(&helper, &helper_ptr); in nf_conntrack_netbios_ns_init()
|
| H A D | nf_conntrack_netlink.c | 227 struct nf_conntrack_helper *helper; in ctnetlink_dump_helpinfo() local 233 helper = rcu_dereference(help->helper); in ctnetlink_dump_helpinfo() 234 if (!helper) in ctnetlink_dump_helpinfo() 240 if (nla_put_string(skb, CTA_HELP_NAME, helper->name)) in ctnetlink_dump_helpinfo() 243 if (rcu_access_pointer(helper->help) && in ctnetlink_dump_helpinfo() 244 helper->to_nlattr) in ctnetlink_dump_helpinfo() 245 helper->to_nlattr(skb, ct); in ctnetlink_dump_helpinfo() 1929 struct nf_conntrack_helper *helper; in ctnetlink_change_helper() 1940 /* don't change helper o in ctnetlink_change_helper() 1928 struct nf_conntrack_helper *helper; ctnetlink_change_helper() local 2241 struct nf_conntrack_helper *helper; ctnetlink_create_conntrack() local 3011 struct nf_conntrack_helper *helper; ctnetlink_exp_dump_expect() local 3395 struct nf_conntrack_helper *helper; expect_iter_name() local 3538 struct nf_conntrack_helper *helper; ctnetlink_alloc_expect() local [all...] |
| /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/drivers/gpu/drm/exynos/ |
| H A D | exynos_drm_fbdev.c | 31 struct drm_fb_helper *helper = info->par; in exynos_drm_fb_mmap() 32 struct drm_gem_object *obj = drm_gem_fb_get_obj(helper->fb, 0); in exynos_drm_fb_mmap() 59 int exynos_drm_fbdev_driver_fbdev_probe(struct drm_fb_helper *helper, in exynos_drm_fbdev_update() 62 struct drm_client_dev *client = &helper->client; in exynos_drm_fbdev_update() 65 struct fb_info *info = helper->info; in exynos_drm_fbdev_update() 111 helper->funcs = &exynos_drm_fbdev_helper_funcs; in exynos_drm_fbdev_driver_fbdev_probe() 112 helper->buffer = buffer; in exynos_drm_fbdev_driver_fbdev_probe() 113 helper->fb = buffer->fb; in exynos_drm_fbdev_driver_fbdev_probe() 117 drm_fb_helper_fill_info(info, helper, sizes); in exynos_drm_fbdev_driver_fbdev_probe() 30 struct drm_fb_helper *helper = info->par; exynos_drm_fb_mmap() local 57 exynos_drm_fbdev_update(struct drm_fb_helper * helper,struct drm_fb_helper_surface_size * sizes,struct exynos_drm_gem * exynos_gem) exynos_drm_fbdev_update() argument 84 exynos_drm_fbdev_driver_fbdev_probe(struct drm_fb_helper * helper,struct drm_fb_helper_surface_size * sizes) exynos_drm_fbdev_driver_fbdev_probe() argument
|
| /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/tegra/ |
| H A D | fbdev.c | 27 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 tegra_bo *bo = tegra_fb_get_plane(helper->fb, 0); in tegra_fbdev_fb_destroy() 45 drm_fb_helper_fini(helper); in tegra_fbdev_fb_destroy() 53 drm_client_buffer_delete(helper->buffer); in tegra_fbdev_fb_destroy() 54 drm_client_release(&helper->client); in tegra_fbdev_fb_destroy() 69 int tegra_fbdev_driver_fbdev_probe(struct drm_fb_helper *helper, 72 struct drm_client_dev *client = &helper->client; in tegra_fbdev_driver_fbdev_probe() 76 struct fb_info *info = helper in tegra_fbdev_driver_fbdev_probe() 70 tegra_fbdev_driver_fbdev_probe(struct drm_fb_helper * helper,struct drm_fb_helper_surface_size * sizes) tegra_fbdev_driver_fbdev_probe() argument [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 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 …]
|
| H A D | decl.h | 18 const char *helper; member 24 const struct firmware *helper, const struct firmware *mainfw); 71 const struct firmware **helper,
|
| /linux/scripts/ |
| H A D | bpf_doc.py | 292 helper = self.parse_helper() 293 self.helpers.append(helper) 294 proto = helper.proto_break_down() 331 for helper in self.helpers: 332 proto = helper.proto_break_down() 356 helper.enum_val = enum_val 385 def print_one(self, helper): argument 627 def print_proto(self, helper): argument 632 proto = helper.proto_break_down() 653 def print_one(self, helper): argument [all …]
|
| /linux/include/drm/ |
| H A D | drm_fb_helper.h | 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); 235 void drm_fb_helper_prepare(struct drm_device *dev, struct drm_fb_helper *helper, 239 int drm_fb_helper_init(struct drm_device *dev, struct drm_fb_helper *helper); 240 void drm_fb_helper_fini(struct drm_fb_helper *helper);
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_fb_helper.c | 6 * DRM framebuffer helper functions 82 * The fb helper functions are useful to provide an fbdev on top of a drm kernel 84 * helper functions used by many drivers to implement the kernel mode setting 91 * All other functions exported by the fb helper library can be used to 96 * helper must be called first to initialize the minimum required to make 101 * encoders and connectors. To finish up the fbdev helper initialization, the 157 * @fb_helper: driver-allocated fbdev helper, can be NULL 160 * This helper should be called from fbdev emulation's &drm_client_funcs.restore 185 * @info: fbdev registered by the helper 220 struct drm_fb_helper *helper in drm_fb_helper_resume_worker() local 228 drm_fb_helper_fb_dirty(struct drm_fb_helper * helper) drm_fb_helper_fb_dirty() argument 270 struct drm_fb_helper *helper = container_of(work, struct drm_fb_helper, damage_work); drm_fb_helper_damage_work() local 288 drm_fb_helper_prepare(struct drm_device * dev,struct drm_fb_helper * helper,unsigned int preferred_bpp,const struct drm_fb_helper_funcs * funcs) drm_fb_helper_prepare() argument 432 drm_fb_helper_add_damage_clip(struct drm_fb_helper * helper,u32 x,u32 y,u32 width,u32 height) drm_fb_helper_add_damage_clip() argument 446 drm_fb_helper_damage(struct drm_fb_helper * helper,u32 x,u32 y,u32 width,u32 height) drm_fb_helper_damage() argument 535 struct drm_fb_helper *helper = info->par; drm_fb_helper_deferred_io() local [all...] |
| 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()
|
| 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()
|
| H A D | drm_fbdev_dma.c | 168 static int drm_fbdev_dma_helper_fb_dirty(struct drm_fb_helper *helper, in drm_fbdev_dma_helper_fb_dirty() argument 171 struct drm_device *dev = helper->dev; in drm_fbdev_dma_helper_fb_dirty() 178 if (helper->fb->funcs->dirty) { in drm_fbdev_dma_helper_fb_dirty() 179 ret = drm_fbdev_dma_damage_blit(helper, clip); in drm_fbdev_dma_helper_fb_dirty() 183 ret = helper->fb->funcs->dirty(helper->fb, NULL, 0, 0, clip, 1); in drm_fbdev_dma_helper_fb_dirty()
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | test_bpftool.py | |
| /linux/include/net/netfilter/ |
| H A D | nf_conntrack_helper.h | 67 /* name of NAT helper module */ 71 /* nf_conn feature for connections that have a helper */ 74 struct nf_conntrack_helper __rcu *helper; 81 /* private helper information. */ 94 void nf_conntrack_helper_put(struct nf_conntrack_helper *helper); 96 void nf_ct_helper_init(struct nf_conntrack_helper *helper, 118 pr_warn("The %s conntrack helper is scheduled for removal.\n" \ 151 struct nf_conntrack_helper *helper; 158 helper = rcu_dereference(help->helper); 72 struct nf_conntrack_helper __rcu *helper; global() member [all...] |
| /linux/tools/testing/selftests/bpf/benchs/ |
| H A D | run_bench_strncmp.sh | 9 for b in no-helper helper; do
|
| /linux/sound/soc/sdw_utils/ |
| H A D | Kconfig | 5 This option enables to use SoundWire common helper functions and 6 SoundWire codec helper functions in machine driver.
|