| /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 122 const struct nf_conntrack_helper *helper; nfnl_cthelper_to_nlattr() local 183 nfnl_cthelper_parse_expect_policy(struct nf_conntrack_helper * helper,const struct nlattr * attr) nfnl_cthelper_parse_expect_policy() argument 225 struct nf_conntrack_helper *helper; nfnl_cthelper_create() local 332 nfnl_cthelper_update_policy_all(struct nlattr * tb[],struct nf_conntrack_helper * helper) nfnl_cthelper_update_policy_all() argument 371 nfnl_cthelper_update_policy(struct nf_conntrack_helper * helper,const struct nlattr * attr) nfnl_cthelper_update_policy() argument 396 nfnl_cthelper_update(const struct nlattr * const tb[],struct nf_conntrack_helper * helper) nfnl_cthelper_update() argument 434 struct nf_conntrack_helper *cur, *helper = NULL; nfnl_cthelper_new() local 478 nfnl_cthelper_dump_tuple(struct sk_buff * skb,struct nf_conntrack_helper * helper) nfnl_cthelper_dump_tuple() argument 502 nfnl_cthelper_dump_policy(struct sk_buff * skb,struct nf_conntrack_helper * helper) nfnl_cthelper_dump_policy() argument 543 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 | 110 void nf_conntrack_helper_put(struct nf_conntrack_helper *helper) in nf_conntrack_helper_put() argument 112 module_put(helper->me); in nf_conntrack_helper_put() 113 if (refcount_dec_and_test(&helper->ct_refcnt)) in nf_conntrack_helper_put() 114 kfree_rcu(helper, rcu); in nf_conntrack_helper_put() 170 void nf_nat_helper_put(struct nf_conntrack_helper *helper) in nf_nat_helper_put() argument 174 nat = nf_conntrack_nat_helper_find(helper->nat_mod_name); in nf_nat_helper_put() 199 struct nf_conntrack_helper *helper = NULL; in __nf_ct_try_assign_helper() local 211 helper = rcu_dereference(help->helper); in __nf_ct_try_assign_helper() 215 if (helper == NULL) { in __nf_ct_try_assign_helper() 217 struct nf_conntrack_helper *tmp = rcu_dereference(help->helper); in __nf_ct_try_assign_helper() [all …]
|
| H A D | nf_conntrack_ovs.c | 18 const struct nf_conntrack_helper *helper; in nf_ct_helper() local 30 helper = rcu_dereference(help->helper); in nf_ct_helper() 31 if (!helper) in nf_ct_helper() 34 if (helper->nfproto != NFPROTO_UNSPEC && in nf_ct_helper() 35 helper->nfproto != proto) in nf_ct_helper() 59 WARN_ONCE(1, "helper invoked on non-IP family!"); in nf_ct_helper() 63 if (helper->l4proto != proto) in nf_ct_helper() 66 helper_cb = rcu_dereference(helper->help); in nf_ct_helper() 74 /* Adjust seqs after helper in nf_ct_helper() 88 struct nf_conntrack_helper *helper; nf_ct_add_helper() local [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()
|
| H A D | nf_conntrack_expect.c | 64 /* nf_conntrack_expect helper functions */ 330 * master's helper is safe, because the packet holds a reference on in nf_ct_expect_init() local 339 struct nf_conntrack_helper *helper = NULL; in nf_ct_expect_init() 361 helper = rcu_dereference(help->helper); in nf_ct_expect_init() 363 rcu_assign_pointer(exp->helper, helper); in nf_ct_expect_init() 432 struct nf_conntrack_helper *helper; in nf_ct_expect_insert() 438 helper = rcu_dereference_protected(master_help->helper, in nf_ct_expect_insert() 423 struct nf_conntrack_helper *helper; nf_ct_expect_insert() local 472 struct nf_conntrack_helper *helper; __nf_ct_expect_check() local 707 struct nf_conntrack_helper *helper; exp_seq_show() local [all...] |
| H A D | nf_conntrack_broadcast.c | 24 const struct nf_conntrack_helper *helper; in nf_conntrack_broadcast_help() local 70 helper = rcu_dereference(help->helper); in nf_conntrack_broadcast_help() 78 rcu_assign_pointer(exp->helper, helper); in nf_conntrack_broadcast_help()
|
| H A D | nf_conntrack_netbios_ns.c | 46 static struct nf_conntrack_helper helper __read_mostly; 55 nf_ct_helper_init(&helper, AF_INET, IPPROTO_UDP, HELPER_NAME, in nf_conntrack_netbios_ns_init() 58 return nf_conntrack_helper_register(&helper, &helper_ptr); in nf_conntrack_netbios_ns_init()
|
| H A D | nf_conntrack_snmp.c | 48 static struct nf_conntrack_helper helper __read_mostly; 55 nf_ct_helper_init(&helper, AF_INET, IPPROTO_UDP, in nf_conntrack_snmp_init() 60 return nf_conntrack_helper_register(&helper, &helper_ptr); in nf_conntrack_snmp_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() 1942 struct nf_conntrack_helper *helper; in ctnetlink_change_helper() 1953 /* don't change helper o in ctnetlink_change_helper() 1931 struct nf_conntrack_helper *helper; ctnetlink_change_helper() local 2233 struct nf_conntrack_helper *helper; ctnetlink_create_conntrack() local 3007 struct nf_conntrack_helper *helper; ctnetlink_exp_dump_expect() local 3392 struct nf_conntrack_helper *helper; expect_iter_name() local 3529 struct nf_conntrack_helper *helper; ctnetlink_alloc_expect() local [all...] |
| /linux/drivers/gpu/drm/msm/ |
| H A D | msm_fbdev.c | 35 struct drm_fb_helper *helper = (struct drm_fb_helper *)info->par; in FB_GEN_DEFAULT_DEFERRED_SYSMEM_OPS() local 36 struct drm_gem_object *bo = msm_framebuffer_bo(helper->fb, 0); in FB_GEN_DEFAULT_DEFERRED_SYSMEM_OPS() 43 struct drm_fb_helper *helper = (struct drm_fb_helper *)info->par; in msm_fbdev_fb_destroy() local 44 struct drm_gem_object *bo = msm_framebuffer_bo(helper->fb, 0); in msm_fbdev_fb_destroy() 48 drm_fb_helper_fini(helper); in msm_fbdev_fb_destroy() 52 drm_client_buffer_delete(helper->buffer); in msm_fbdev_fb_destroy() 53 drm_client_release(&helper->client); in msm_fbdev_fb_destroy() 65 static int msm_fbdev_fb_dirty(struct drm_fb_helper *helper, in msm_fbdev_fb_dirty() argument 68 struct drm_device *dev = helper->dev; in msm_fbdev_fb_dirty() 75 if (helper in msm_fbdev_fb_dirty() 88 msm_fbdev_driver_fbdev_probe(struct drm_fb_helper * helper,struct drm_fb_helper_surface_size * sizes) msm_fbdev_driver_fbdev_probe() argument [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/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() 100 if (!iter->helper) { in load_next_firmware_from_table() 112 do_load_firmware(priv, iter->helper, helper_firmware_cb); in load_next_firmware_from_table() 175 const struct firmware **helper, in lbs_get_firmware() argument 181 BUG_ON(helper == NULL); in lbs_get_firmware() 186 while (iter && iter->helper) { in lbs_get_firmware() 190 if (*helper == NULL) { in lbs_get_firmware() 191 ret = request_firmware(helper, iter->helper, dev); in lbs_get_firmware() 209 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/include/net/netfilter/ |
| H A D | nf_conntrack_helper.h | 68 /* name of NAT helper module */ 72 /* nf_conn feature for connections that have a helper */ 75 struct nf_conntrack_helper __rcu *helper; 82 /* private helper information. */ 95 void nf_conntrack_helper_put(struct nf_conntrack_helper *helper); 97 void nf_ct_helper_init(struct nf_conntrack_helper *helper, 119 pr_warn("The %s conntrack helper is scheduled for removal.\n" \ 152 struct nf_conntrack_helper *helper; in nf_ct_help_put() 159 helper = rcu_dereference(help->helper); in nf_ct_help_put() 73 struct nf_conntrack_helper __rcu *helper; global() member 150 struct nf_conntrack_helper *helper; nf_ct_help_put() local [all...] |
| /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/drivers/gpu/drm/ |
| H A D | drm_fb_helper.c | |
| 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()
|
| 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() 184 if (drm_WARN_ONCE(dev, ret, "Dirty helper failed: ret=%d\n", ret)) in drm_fbdev_dma_helper_fb_dirty()
|
| /linux/tools/testing/selftests/coredump/ |
| H A D | coredump_notify_signal_test.c | 128 char pattern[PATH_MAX], helper[PATH_MAX], *p; in TEST_F() local 137 n = readlink("/proc/self/exe", helper, sizeof(helper) - 1); in TEST_F() 139 helper[n] = '\0'; in TEST_F() 140 p = strstr(helper, "coredump_notify_signal_test"); in TEST_F() 142 ASSERT_LE((size_t)(p - helper) + sizeof("coredump_notify_signal_helper"), in TEST_F() 143 sizeof(helper)); in TEST_F() 145 if (access(helper, X_OK)) in TEST_F() 148 ASSERT_LT(snprintf(pattern, sizeof(pattern), "|%s", helper), in TEST_F()
|
| /linux/tools/objtool/tests/generic/fixtures/ |
| H A D | abs_and_addressable.c | 28 int helper(int x); 29 int helper(int x) { return x + 1; } in helper() function 40 return helper(x) + (int)(long)abs_sym + 1; in target() 42 return helper(x) + (int)(long)abs_sym; in target()
|
| /linux/include/drm/ |
| H A D | drm_fb_helper.h | |
| /linux/tools/testing/selftests/bpf/ |
| H A D | test_bpftool.py | |
| /linux/drivers/iio/light/ |
| H A D | rohm-bu27034.c | 639 unsigned int helper; in bu27034_fixp_calc_t1_64bit() local 644 helper = gain1 * gain1; in bu27034_fixp_calc_t1_64bit() 645 if (helper > ch0) { in bu27034_fixp_calc_t1_64bit() 646 do_div(helper64, helper); in bu27034_fixp_calc_t1_64bit() 653 return gain_mul_div_helper(helper64, gain0, helper); in bu27034_fixp_calc_t1_64bit() 661 unsigned int helper, tmp; in bu27034_fixp_calc_t1() local 668 helper = coeff * ch1 * ch1; in bu27034_fixp_calc_t1() 669 tmp = helper * gain0; in bu27034_fixp_calc_t1() 671 helper = ch1 * ch1; in bu27034_fixp_calc_t1() 673 if (check_mul_overflow(helper, coeff, &helper)) in bu27034_fixp_calc_t1() [all …]
|
| /linux/tools/testing/selftests/bpf/benchs/ |
| H A D | run_bench_strncmp.sh | 9 for b in no-helper helper; do
|