expr 141 arch/ia64/hp/common/sba_iommu.c #define ASSERT(expr) \ expr 142 arch/ia64/hp/common/sba_iommu.c if(!(expr)) { \ expr 143 arch/ia64/hp/common/sba_iommu.c printk( "\n" __FILE__ ":%d: Assertion " #expr " failed!\n",__LINE__); \ expr 144 arch/ia64/hp/common/sba_iommu.c panic(#expr); \ expr 147 arch/ia64/hp/common/sba_iommu.c #define ASSERT(expr) expr 15 arch/mips/math-emu/ieee754dp.h #define assert(expr) ((void)0) expr 15 arch/mips/math-emu/ieee754sp.h #define assert(expr) ((void)0) expr 348 arch/powerpc/include/asm/ppc_asm.h #define LOAD_REG_IMMEDIATE(reg, expr) __LOAD_REG_IMMEDIATE reg, expr expr 350 arch/powerpc/include/asm/ppc_asm.h #define LOAD_REG_IMMEDIATE_SYM(reg, tmp, expr) \ expr 351 arch/powerpc/include/asm/ppc_asm.h lis tmp, (expr)@highest; \ expr 352 arch/powerpc/include/asm/ppc_asm.h lis reg, (expr)@__AS_ATHIGH; \ expr 353 arch/powerpc/include/asm/ppc_asm.h ori tmp, tmp, (expr)@higher; \ expr 354 arch/powerpc/include/asm/ppc_asm.h ori reg, reg, (expr)@l; \ expr 368 arch/powerpc/include/asm/ppc_asm.h #define LOAD_REG_IMMEDIATE(reg, expr) __LOAD_REG_IMMEDIATE_32 reg, expr expr 370 arch/powerpc/include/asm/ppc_asm.h #define LOAD_REG_IMMEDIATE_SYM(reg,expr) \ expr 371 arch/powerpc/include/asm/ppc_asm.h lis reg,(expr)@ha; \ expr 372 arch/powerpc/include/asm/ppc_asm.h addi reg,reg,(expr)@l; expr 16 arch/um/include/shared/os.h #define CATCH_EINTR(expr) while ((errno = 0, ((expr) < 0)) && (errno == EINTR)) expr 599 arch/x86/kernel/uprobes.c #define COND(op_y, op_n, expr) \ expr 600 arch/x86/kernel/uprobes.c case 0x ## op_y: DO((expr) != 0) \ expr 601 arch/x86/kernel/uprobes.c case 0x ## op_n: DO((expr) == 0) expr 608 arch/x86/kernel/uprobes.c #define DO(expr) \ expr 623 arch/x86/kernel/uprobes.c #define DO(expr) \ expr 624 arch/x86/kernel/uprobes.c return expr; expr 86 drivers/atm/fore200e.c #define ASSERT(expr) if (!(expr)) { \ expr 88 drivers/atm/fore200e.c __func__, __LINE__, #expr); \ expr 92 drivers/atm/fore200e.c #define ASSERT(expr) do {} while (0) expr 614 drivers/block/rbd.c #define rbd_assert(expr) \ expr 615 drivers/block/rbd.c if (unlikely(!(expr))) { \ expr 619 drivers/block/rbd.c __func__, __LINE__, #expr); \ expr 623 drivers/block/rbd.c # define rbd_assert(expr) ((void) 0) expr 44 drivers/block/skd_main.c #define SKD_ASSERT(expr) \ expr 46 drivers/block/skd_main.c if (unlikely(!(expr))) { \ expr 48 drivers/block/skd_main.c # expr, __FILE__, __func__, __LINE__); \ expr 94 drivers/block/sx8.c #define assert(expr) expr 96 drivers/block/sx8.c #define assert(expr) \ expr 97 drivers/block/sx8.c if(unlikely(!(expr))) { \ expr 99 drivers/block/sx8.c #expr, __FILE__, __func__, __LINE__); \ expr 61 drivers/gpu/drm/amd/display/dc/os_types.h #define ASSERT_CRITICAL(expr) do { \ expr 62 drivers/gpu/drm/amd/display/dc/os_types.h if (WARN_ON(!(expr))) { \ expr 67 drivers/gpu/drm/amd/display/dc/os_types.h #define ASSERT_CRITICAL(expr) do { \ expr 68 drivers/gpu/drm/amd/display/dc/os_types.h if (WARN_ON(!(expr))) { \ expr 75 drivers/gpu/drm/amd/display/dc/os_types.h #define ASSERT(expr) ASSERT_CRITICAL(expr) expr 78 drivers/gpu/drm/amd/display/dc/os_types.h #define ASSERT(expr) WARN_ON(!(expr)) expr 215 drivers/gpu/drm/drm_mm.c #define RB_INSERT(root, member, expr) do { \ expr 217 drivers/gpu/drm/drm_mm.c u64 x = expr(node); \ expr 220 drivers/gpu/drm/drm_mm.c if (x < expr(rb_entry(rb, struct drm_mm_node, member))) \ expr 47 drivers/gpu/drm/i915/i915_gem.h #define GEM_WARN_ON(expr) WARN_ON(expr) expr 50 drivers/gpu/drm/i915/i915_gem.h #define GEM_DEBUG_EXEC(expr) expr expr 51 drivers/gpu/drm/i915/i915_gem.h #define GEM_DEBUG_BUG_ON(expr) GEM_BUG_ON(expr) expr 52 drivers/gpu/drm/i915/i915_gem.h #define GEM_DEBUG_WARN_ON(expr) GEM_WARN_ON(expr) expr 58 drivers/gpu/drm/i915/i915_gem.h #define GEM_BUG_ON(expr) BUILD_BUG_ON_INVALID(expr) expr 59 drivers/gpu/drm/i915/i915_gem.h #define GEM_WARN_ON(expr) ({ unlikely(!!(expr)); }) expr 62 drivers/gpu/drm/i915/i915_gem.h #define GEM_DEBUG_EXEC(expr) do { } while (0) expr 63 drivers/gpu/drm/i915/i915_gem.h #define GEM_DEBUG_BUG_ON(expr) expr 64 drivers/gpu/drm/i915/i915_gem.h #define GEM_DEBUG_WARN_ON(expr) ({ BUILD_BUG_ON_INVALID(expr); 0; }) expr 70 drivers/gpu/drm/i915/i915_gem.h #define GEM_TRACE_DUMP_ON(expr) \ expr 71 drivers/gpu/drm/i915/i915_gem.h do { if (expr) ftrace_dump(DUMP_ALL); } while (0) expr 75 drivers/gpu/drm/i915/i915_gem.h #define GEM_TRACE_DUMP_ON(expr) BUILD_BUG_ON_INVALID(expr) expr 247 drivers/gpu/drm/i915/i915_gem_gtt.h #define __px_choose_expr(x, type, expr, other) \ expr 251 drivers/gpu/drm/i915/i915_gem_gtt.h ({ type __x = (type)(x); expr; }), \ expr 19 drivers/gpu/drm/i915/intel_wakeref.h #define INTEL_WAKEREF_BUG_ON(expr) BUG_ON(expr) expr 21 drivers/gpu/drm/i915/intel_wakeref.h #define INTEL_WAKEREF_BUG_ON(expr) BUILD_BUG_ON_INVALID(expr) expr 17 drivers/mtd/ubi/debug.h #define ubi_assert(expr) do { \ expr 18 drivers/mtd/ubi/debug.h if (unlikely(!(expr))) { \ expr 44 drivers/net/ethernet/hisilicon/hns/hnae.h #define assert(expr) \ expr 46 drivers/net/ethernet/hisilicon/hns/hnae.h if (!(expr)) { \ expr 48 drivers/net/ethernet/hisilicon/hns/hnae.h #expr, __FILE__, __func__, __LINE__); \ expr 56 drivers/net/ethernet/hisilicon/hns/hnae.h #define assert(expr) expr 134 drivers/net/ethernet/realtek/8139too.c # define assert(expr) do {} while (0) expr 136 drivers/net/ethernet/realtek/8139too.c # define assert(expr) \ expr 137 drivers/net/ethernet/realtek/8139too.c if (unlikely(!(expr))) { \ expr 139 drivers/net/ethernet/realtek/8139too.c #expr, __FILE__, __func__, __LINE__); \ expr 336 drivers/net/wireless/broadcom/b43legacy/b43legacy.h # define B43legacy_BUG_ON(expr) \ expr 338 drivers/net/wireless/broadcom/b43legacy/b43legacy.h if (unlikely((expr))) { \ expr 340 drivers/net/wireless/broadcom/b43legacy/b43legacy.h #expr); \ expr 341 drivers/net/wireless/broadcom/b43legacy/b43legacy.h BUG_ON(expr); \ expr 3044 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c char expr[80] = "<???>"; expr 3063 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c sh->assert_exp_addr, (u8 *)expr, 80); expr 3070 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c file, sh->assert_line, expr); expr 2103 drivers/net/wireless/marvell/mwifiex/fw.h u8 expr[0]; expr 1459 drivers/net/wireless/marvell/mwifiex/sta_cmd.c cpu_to_le16(pos - mef_entry->expr); expr 2545 drivers/pinctrl/aspeed/pinctrl-aspeed-g4.c const struct aspeed_sig_expr *expr, expr 2551 drivers/pinctrl/aspeed/pinctrl-aspeed-g4.c for (i = 0; i < expr->ndescs; i++) { expr 2552 drivers/pinctrl/aspeed/pinctrl-aspeed-g4.c const struct aspeed_sig_desc *desc = &expr->descs[i]; expr 2587 drivers/pinctrl/aspeed/pinctrl-aspeed-g4.c ret = aspeed_sig_expr_eval(ctx, expr, enable); expr 2673 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c const struct aspeed_sig_expr *expr, expr 2679 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c for (i = 0; i < expr->ndescs; i++) { expr 2680 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c const struct aspeed_sig_desc *desc = &expr->descs[i]; expr 2713 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c const struct aspeed_sig_expr *expr, expr 2719 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c for (i = 0; i < expr->ndescs; i++) { expr 2720 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c const struct aspeed_sig_desc *desc = &expr->descs[i]; expr 2773 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c ret = aspeed_sig_expr_eval(ctx, expr, enable); expr 2247 drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c const struct aspeed_sig_expr *expr, expr 2253 drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c for (i = 0; i < expr->ndescs; i++) { expr 2254 drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c const struct aspeed_sig_desc *desc = &expr->descs[i]; expr 2291 drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c ret = aspeed_sig_expr_eval(ctx, expr, enable); expr 75 drivers/pinctrl/aspeed/pinctrl-aspeed.c const struct aspeed_sig_expr *expr) expr 79 drivers/pinctrl/aspeed/pinctrl-aspeed.c ret = aspeed_sig_expr_eval(ctx, expr, true); expr 84 drivers/pinctrl/aspeed/pinctrl-aspeed.c return aspeed_sig_expr_set(ctx, expr, true); expr 90 drivers/pinctrl/aspeed/pinctrl-aspeed.c const struct aspeed_sig_expr *expr) expr 94 drivers/pinctrl/aspeed/pinctrl-aspeed.c ret = aspeed_sig_expr_eval(ctx, expr, true); expr 99 drivers/pinctrl/aspeed/pinctrl-aspeed.c return aspeed_sig_expr_set(ctx, expr, false); expr 157 drivers/pinctrl/aspeed/pinctrl-aspeed.c const struct aspeed_sig_expr ***prios, **funcs, *expr; expr 162 drivers/pinctrl/aspeed/pinctrl-aspeed.c while ((expr = *funcs)) { expr 163 drivers/pinctrl/aspeed/pinctrl-aspeed.c const char *str = get(expr); expr 195 drivers/pinctrl/aspeed/pinctrl-aspeed.c static const char *aspeed_sig_expr_function(const struct aspeed_sig_expr *expr) expr 197 drivers/pinctrl/aspeed/pinctrl-aspeed.c return expr->function; expr 205 drivers/pinctrl/aspeed/pinctrl-aspeed.c static const char *aspeed_sig_expr_signal(const struct aspeed_sig_expr *expr) expr 207 drivers/pinctrl/aspeed/pinctrl-aspeed.c return expr->signal; expr 228 drivers/pinctrl/aspeed/pinctrl-aspeed.c const struct aspeed_sig_expr *expr = NULL; expr 244 drivers/pinctrl/aspeed/pinctrl-aspeed.c expr = aspeed_find_expr_by_name(funcs, pfunc->name); expr 246 drivers/pinctrl/aspeed/pinctrl-aspeed.c if (expr) expr 256 drivers/pinctrl/aspeed/pinctrl-aspeed.c if (!expr) { expr 269 drivers/pinctrl/aspeed/pinctrl-aspeed.c ret = aspeed_sig_expr_enable(&pdata->pinmux, expr); expr 277 drivers/pinctrl/aspeed/pinctrl-aspeed.c static bool aspeed_expr_is_gpio(const struct aspeed_sig_expr *expr) expr 286 drivers/pinctrl/aspeed/pinctrl-aspeed.c return strncmp(expr->signal, "GPIO", 4) == 0; expr 310 drivers/pinctrl/aspeed/pinctrl-aspeed.c const struct aspeed_sig_expr ***prios, **funcs, *expr; expr 342 drivers/pinctrl/aspeed/pinctrl-aspeed.c expr = *funcs; expr 349 drivers/pinctrl/aspeed/pinctrl-aspeed.c if (!expr) expr 356 drivers/pinctrl/aspeed/pinctrl-aspeed.c return aspeed_sig_expr_enable(&pdata->pinmux, expr); expr 82 drivers/pinctrl/aspeed/pinmux-aspeed.c const struct aspeed_sig_expr *expr, bool enabled) expr 88 drivers/pinctrl/aspeed/pinmux-aspeed.c return ctx->ops->eval(ctx, expr, enabled); expr 90 drivers/pinctrl/aspeed/pinmux-aspeed.c for (i = 0; i < expr->ndescs; i++) { expr 91 drivers/pinctrl/aspeed/pinmux-aspeed.c const struct aspeed_sig_desc *desc = &expr->descs[i]; expr 780 drivers/pinctrl/aspeed/pinmux-aspeed.h const struct aspeed_sig_expr *expr, bool enabled); expr 782 drivers/pinctrl/aspeed/pinmux-aspeed.h const struct aspeed_sig_expr *expr, bool enabled); expr 802 drivers/pinctrl/aspeed/pinmux-aspeed.h const struct aspeed_sig_expr *expr, bool enabled); expr 805 drivers/pinctrl/aspeed/pinmux-aspeed.h const struct aspeed_sig_expr *expr, expr 808 drivers/pinctrl/aspeed/pinmux-aspeed.h return ctx->ops->set(ctx, expr, enabled); expr 77 drivers/staging/rtl8188eu/include/odm_debug.h #define ASSERT(expr) expr 87 drivers/staging/rtl8188eu/include/odm_debug.h #define ODM_RT_ASSERT(pDM_Odm, expr, fmt) \ expr 88 drivers/staging/rtl8188eu/include/odm_debug.h if (!(expr)) { \ expr 89 drivers/staging/rtl8188eu/include/odm_debug.h pr_info("Assertion failed! %s at ......\n", #expr); \ expr 99 drivers/staging/rtl8192u/r8192U.h #define RTL8192U_ASSERT(expr) \ expr 101 drivers/staging/rtl8192u/r8192U.h if (!(expr)) { \ expr 103 drivers/staging/rtl8192u/r8192U.h #expr, __FILE__, __func__, __LINE__); \ expr 126 drivers/staging/rtl8192u/r8192U.h #define RTL8192U_ASSERT(expr) do {} while (0) expr 95 drivers/staging/rtl8723bs/hal/odm_debug.h #define ASSERT(expr) expr 120 drivers/staging/rtl8723bs/hal/odm_debug.h #define ODM_RT_ASSERT(pDM_Odm, expr, fmt)\ expr 122 drivers/staging/rtl8723bs/hal/odm_debug.h if (!expr) {\ expr 123 drivers/staging/rtl8723bs/hal/odm_debug.h DbgPrint("Assertion failed! %s at ......\n", #expr);\ expr 157 drivers/staging/rtl8723bs/hal/odm_debug.h #define ODM_RT_ASSERT(pDM_Odm, expr, fmt) no_printk fmt expr 38 drivers/usb/gadget/udc/aspeed-vhub/epn.c #define CHECK(ep, expr, fmt...) \ expr 40 drivers/usb/gadget/udc/aspeed-vhub/epn.c if (!(expr)) EPDBG(ep, "CHECK:" fmt); \ expr 43 drivers/usb/gadget/udc/aspeed-vhub/epn.c #define CHECK(ep, expr, fmt...) do { } while(0) expr 71 drivers/video/fbdev/cirrusfb.c #define assert(expr) \ expr 72 drivers/video/fbdev/cirrusfb.c if (!(expr)) { \ expr 74 drivers/video/fbdev/cirrusfb.c #expr, __FILE__, __func__, __LINE__); \ expr 77 drivers/video/fbdev/cirrusfb.c #define assert(expr) expr 43 drivers/video/fbdev/nvidia/nvidia.c #define assert(expr) \ expr 44 drivers/video/fbdev/nvidia/nvidia.c if (!(expr)) { \ expr 46 drivers/video/fbdev/nvidia/nvidia.c #expr,__FILE__,__func__,__LINE__); \ expr 50 drivers/video/fbdev/nvidia/nvidia.c #define assert(expr) expr 70 drivers/video/fbdev/riva/fbdev.c #define assert(expr) \ expr 71 drivers/video/fbdev/riva/fbdev.c if(!(expr)) { \ expr 73 drivers/video/fbdev/riva/fbdev.c #expr,__FILE__,__func__,__LINE__); \ expr 77 drivers/video/fbdev/riva/fbdev.c #define assert(expr) expr 3112 fs/btrfs/ctree.h static inline void assertfail(const char *expr, const char *file, int line) expr 3114 fs/btrfs/ctree.h pr_err("assertion failed: %s, in %s:%d\n", expr, file, line); expr 3118 fs/btrfs/ctree.h #define ASSERT(expr) \ expr 3119 fs/btrfs/ctree.h (likely(expr) ? (void)0 : assertfail(#expr, __FILE__, __LINE__)) expr 3122 fs/btrfs/ctree.h static inline void assertfail(const char *expr, const char* file, int line) { } expr 3123 fs/btrfs/ctree.h #define ASSERT(expr) (void)(expr) expr 2991 fs/ubifs/debug.c void ubifs_assert_failed(struct ubifs_info *c, const char *expr, expr 2994 fs/ubifs/debug.c ubifs_err(c, "UBIFS assert failed: %s, in %s:%u", expr, file, line); expr 139 fs/ubifs/debug.h void ubifs_assert_failed(struct ubifs_info *c, const char *expr, expr 142 fs/ubifs/debug.h #define ubifs_assert(c, expr) do { \ expr 143 fs/ubifs/debug.h if (unlikely(!(expr))) { \ expr 144 fs/ubifs/debug.h ubifs_assert_failed((struct ubifs_info *)c, #expr, __FILE__, \ expr 71 fs/xfs/xfs_error.h #define XFS_TEST_ERROR(expr, mp, tag) \ expr 72 fs/xfs/xfs_error.h ((expr) || xfs_errortag_test((mp), #expr, __FILE__, __LINE__, (tag))) expr 82 fs/xfs/xfs_error.h #define XFS_TEST_ERROR(expr, mp, tag) (expr) expr 225 fs/xfs/xfs_linux.h #define ASSERT_ALWAYS(expr) \ expr 226 fs/xfs/xfs_linux.h (likely(expr) ? (void)0 : assfail(#expr, __FILE__, __LINE__)) expr 229 fs/xfs/xfs_linux.h #define ASSERT(expr) \ expr 230 fs/xfs/xfs_linux.h (likely(expr) ? (void)0 : assfail(#expr, __FILE__, __LINE__)) expr 236 fs/xfs/xfs_linux.h #define ASSERT(expr) \ expr 237 fs/xfs/xfs_linux.h (likely(expr) ? (void)0 : asswarn(#expr, __FILE__, __LINE__)) expr 241 fs/xfs/xfs_linux.h #define ASSERT(expr) ((void)0) expr 89 fs/xfs/xfs_message.c asswarn(char *expr, char *file, int line) expr 92 fs/xfs/xfs_message.c expr, file, line); expr 97 fs/xfs/xfs_message.c assfail(char *expr, char *file, int line) expr 100 fs/xfs/xfs_message.c expr, file, line); expr 60 fs/xfs/xfs_message.h extern void assfail(char *expr, char *f, int l); expr 61 fs/xfs/xfs_message.h extern void asswarn(char *expr, char *f, int l); expr 52 include/drm/drm_mm.h #define DRM_MM_BUG_ON(expr) BUG_ON(expr) expr 54 include/drm/drm_mm.h #define DRM_MM_BUG_ON(expr) BUILD_BUG_ON_INVALID(expr) expr 77 include/linux/build_bug.h #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) expr 78 include/linux/build_bug.h #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) expr 377 include/linux/jbd2.h #define J_ASSERT_BH(bh, expr) J_ASSERT(expr) expr 378 include/linux/jbd2.h #define J_ASSERT_JH(jh, expr) J_ASSERT(expr) expr 381 include/linux/jbd2.h #define J_EXPECT(expr, why...) J_ASSERT(expr) expr 382 include/linux/jbd2.h #define J_EXPECT_BH(bh, expr, why...) J_ASSERT_BH(bh, expr) expr 383 include/linux/jbd2.h #define J_EXPECT_JH(jh, expr, why...) J_ASSERT_JH(jh, expr) expr 385 include/linux/jbd2.h #define __journal_expect(expr, why...) \ expr 387 include/linux/jbd2.h int val = (expr); \ expr 391 include/linux/jbd2.h __func__, #expr); \ expr 396 include/linux/jbd2.h #define J_EXPECT(expr, why...) __journal_expect(expr, ## why) expr 397 include/linux/jbd2.h #define J_EXPECT_BH(bh, expr, why...) __journal_expect(expr, ## why) expr 398 include/linux/jbd2.h #define J_EXPECT_JH(jh, expr, why...) __journal_expect(expr, ## why) expr 413 include/linux/trace_events.h #define __TRACE_EVENT_PERF_PERM(name, expr...) \ expr 409 include/linux/tracepoint.h #define TRACE_EVENT_PERF_PERM(event, expr...) expr 547 include/linux/tracepoint.h #define TRACE_EVENT_PERF_PERM(event, expr...) expr 331 include/net/netfilter/nf_tables.h const struct nft_expr *expr, expr 777 include/net/netfilter/nf_tables.h void (*eval)(const struct nft_expr *expr, expr 785 include/net/netfilter/nf_tables.h const struct nft_expr *expr, expr 788 include/net/netfilter/nf_tables.h const struct nft_expr *expr); expr 790 include/net/netfilter/nf_tables.h const struct nft_expr *expr, expr 793 include/net/netfilter/nf_tables.h const struct nft_expr *expr); expr 795 include/net/netfilter/nf_tables.h const struct nft_expr *expr); expr 797 include/net/netfilter/nf_tables.h const struct nft_expr *expr); expr 799 include/net/netfilter/nf_tables.h const struct nft_expr *expr, expr 802 include/net/netfilter/nf_tables.h const struct nft_expr *expr); expr 805 include/net/netfilter/nf_tables.h const struct nft_expr *expr); expr 827 include/net/netfilter/nf_tables.h static inline void *nft_expr_priv(const struct nft_expr *expr) expr 829 include/net/netfilter/nf_tables.h return (void *)expr->data; expr 834 include/net/netfilter/nf_tables.h void nft_expr_destroy(const struct nft_ctx *ctx, struct nft_expr *expr); expr 836 include/net/netfilter/nf_tables.h const struct nft_expr *expr); expr 863 include/net/netfilter/nf_tables.h static inline struct nft_expr *nft_expr_next(const struct nft_expr *expr) expr 865 include/net/netfilter/nf_tables.h return ((void *)expr) + expr->ops->size; expr 883 include/net/netfilter/nf_tables.h #define nft_rule_for_each_expr(expr, last, rule) \ expr 884 include/net/netfilter/nf_tables.h for ((expr) = nft_expr_first(rule), (last) = nft_expr_last(rule); \ expr 885 include/net/netfilter/nf_tables.h (expr) != (last); \ expr 886 include/net/netfilter/nf_tables.h (expr) = nft_expr_next(expr)) expr 1086 include/net/netfilter/nf_tables.h #define nft_expr_obj(expr) *((struct nft_object **)nft_expr_priv(expr)) expr 81 include/net/netfilter/nf_tables_core.h void nft_meta_get_eval(const struct nft_expr *expr, expr 83 include/net/netfilter/nf_tables_core.h void nft_cmp_eval(const struct nft_expr *expr, expr 85 include/net/netfilter/nf_tables_core.h void nft_lookup_eval(const struct nft_expr *expr, expr 87 include/net/netfilter/nf_tables_core.h void nft_payload_eval(const struct nft_expr *expr, expr 89 include/net/netfilter/nf_tables_core.h void nft_immediate_eval(const struct nft_expr *expr, expr 91 include/net/netfilter/nf_tables_core.h void nft_bitwise_eval(const struct nft_expr *expr, expr 93 include/net/netfilter/nf_tables_core.h void nft_range_eval(const struct nft_expr *expr, expr 95 include/net/netfilter/nf_tables_core.h void nft_byteorder_eval(const struct nft_expr *expr, expr 97 include/net/netfilter/nf_tables_core.h void nft_dynset_eval(const struct nft_expr *expr, expr 99 include/net/netfilter/nf_tables_core.h void nft_rt_get_eval(const struct nft_expr *expr, expr 21 include/net/netfilter/nft_fib.h int nft_fib_dump(struct sk_buff *skb, const struct nft_expr *expr); expr 22 include/net/netfilter/nft_fib.h int nft_fib_init(const struct nft_ctx *ctx, const struct nft_expr *expr, expr 24 include/net/netfilter/nft_fib.h int nft_fib_validate(const struct nft_ctx *ctx, const struct nft_expr *expr, expr 28 include/net/netfilter/nft_fib.h void nft_fib4_eval_type(const struct nft_expr *expr, struct nft_regs *regs, expr 30 include/net/netfilter/nft_fib.h void nft_fib4_eval(const struct nft_expr *expr, struct nft_regs *regs, expr 33 include/net/netfilter/nft_fib.h void nft_fib6_eval_type(const struct nft_expr *expr, struct nft_regs *regs, expr 35 include/net/netfilter/nft_fib.h void nft_fib6_eval(const struct nft_expr *expr, struct nft_regs *regs, expr 18 include/net/netfilter/nft_meta.h const struct nft_expr *expr, expr 22 include/net/netfilter/nft_meta.h const struct nft_expr *expr, expr 26 include/net/netfilter/nft_meta.h const struct nft_expr *expr); expr 29 include/net/netfilter/nft_meta.h const struct nft_expr *expr); expr 31 include/net/netfilter/nft_meta.h void nft_meta_get_eval(const struct nft_expr *expr, expr 35 include/net/netfilter/nft_meta.h void nft_meta_set_eval(const struct nft_expr *expr, expr 40 include/net/netfilter/nft_meta.h const struct nft_expr *expr); expr 43 include/net/netfilter/nft_meta.h const struct nft_expr *expr, expr 18 include/net/netfilter/nft_reject.h const struct nft_expr *expr, expr 22 include/net/netfilter/nft_reject.h const struct nft_expr *expr, expr 25 include/net/netfilter/nft_reject.h int nft_reject_dump(struct sk_buff *skb, const struct nft_expr *expr); expr 151 include/trace/trace_events.h #define TRACE_EVENT_PERF_PERM(name, expr...) \ expr 152 include/trace/trace_events.h __TRACE_EVENT_PERF_PERM(name, expr) expr 219 include/trace/trace_events.h #define TRACE_EVENT_PERF_PERM(event, expr...) expr 313 kernel/trace/trace_events_hist.c char *expr[TRACING_MAP_VARS_MAX]; expr 2360 kernel/trace/trace_events_hist.c static void expr_field_str(struct hist_field *field, char *expr) expr 2363 kernel/trace/trace_events_hist.c strcat(expr, "$"); expr 2365 kernel/trace/trace_events_hist.c strcat(expr, hist_field_name(field, 0)); expr 2371 kernel/trace/trace_events_hist.c strcat(expr, "."); expr 2372 kernel/trace/trace_events_hist.c strcat(expr, flags_str); expr 2379 kernel/trace/trace_events_hist.c char *expr; expr 2384 kernel/trace/trace_events_hist.c expr = kzalloc(MAX_FILTER_STR_VAL, GFP_KERNEL); expr 2385 kernel/trace/trace_events_hist.c if (!expr) expr 2389 kernel/trace/trace_events_hist.c expr_field_str(field, expr); expr 2390 kernel/trace/trace_events_hist.c return expr; expr 2396 kernel/trace/trace_events_hist.c strcat(expr, "-("); expr 2399 kernel/trace/trace_events_hist.c kfree(expr); expr 2402 kernel/trace/trace_events_hist.c strcat(expr, subexpr); expr 2403 kernel/trace/trace_events_hist.c strcat(expr, ")"); expr 2407 kernel/trace/trace_events_hist.c return expr; expr 2410 kernel/trace/trace_events_hist.c expr_field_str(field->operands[0], expr); expr 2414 kernel/trace/trace_events_hist.c strcat(expr, "-"); expr 2417 kernel/trace/trace_events_hist.c strcat(expr, "+"); expr 2420 kernel/trace/trace_events_hist.c kfree(expr); expr 2424 kernel/trace/trace_events_hist.c expr_field_str(field->operands[1], expr); expr 2426 kernel/trace/trace_events_hist.c return expr; expr 2766 kernel/trace/trace_events_hist.c field = hist_data->attrs->var_defs.expr[i]; expr 2978 kernel/trace/trace_events_hist.c struct hist_field *operand1, *expr = NULL; expr 3010 kernel/trace/trace_events_hist.c expr = create_hist_field(hist_data, NULL, flags, var_name); expr 3011 kernel/trace/trace_events_hist.c if (!expr) { expr 3023 kernel/trace/trace_events_hist.c expr->flags |= operand1->flags & expr 3025 kernel/trace/trace_events_hist.c expr->fn = hist_field_unary_minus; expr 3026 kernel/trace/trace_events_hist.c expr->operands[0] = operand1; expr 3027 kernel/trace/trace_events_hist.c expr->operator = FIELD_OP_UNARY_MINUS; expr 3028 kernel/trace/trace_events_hist.c expr->name = expr_str(expr, 0); expr 3029 kernel/trace/trace_events_hist.c expr->type = kstrdup(operand1->type, GFP_KERNEL); expr 3030 kernel/trace/trace_events_hist.c if (!expr->type) { expr 3035 kernel/trace/trace_events_hist.c return expr; expr 3037 kernel/trace/trace_events_hist.c destroy_hist_field(expr, 0); expr 3082 kernel/trace/trace_events_hist.c struct hist_field *operand1 = NULL, *operand2 = NULL, *expr = NULL; expr 3142 kernel/trace/trace_events_hist.c expr = create_hist_field(hist_data, NULL, flags, var_name); expr 3143 kernel/trace/trace_events_hist.c if (!expr) { expr 3151 kernel/trace/trace_events_hist.c expr->operands[0] = operand1; expr 3152 kernel/trace/trace_events_hist.c expr->operands[1] = operand2; expr 3153 kernel/trace/trace_events_hist.c expr->operator = field_op; expr 3154 kernel/trace/trace_events_hist.c expr->name = expr_str(expr, 0); expr 3155 kernel/trace/trace_events_hist.c expr->type = kstrdup(operand1->type, GFP_KERNEL); expr 3156 kernel/trace/trace_events_hist.c if (!expr->type) { expr 3163 kernel/trace/trace_events_hist.c expr->fn = hist_field_minus; expr 3166 kernel/trace/trace_events_hist.c expr->fn = hist_field_plus; expr 3173 kernel/trace/trace_events_hist.c return expr; expr 3177 kernel/trace/trace_events_hist.c destroy_hist_field(expr, 0); expr 4714 kernel/trace/trace_events_hist.c char *expr = hist_data->attrs->var_defs.expr[i]; expr 4716 kernel/trace/trace_events_hist.c ret = create_var_field(hist_data, j++, file, var_name, expr); expr 4730 kernel/trace/trace_events_hist.c kfree(hist_data->attrs->var_defs.expr[i]); expr 4777 kernel/trace/trace_events_hist.c hist_data->attrs->var_defs.expr[n_vars++] = s; expr 154 mm/backing-dev.c #define BDI_SHOW(name, expr) \ expr 160 mm/backing-dev.c return snprintf(page, PAGE_SIZE-1, "%lld\n", (long long)expr); \ expr 21 net/bridge/netfilter/nft_meta_bridge.c static void nft_meta_bridge_get_eval(const struct nft_expr *expr, expr 25 net/bridge/netfilter/nft_meta_bridge.c const struct nft_meta *priv = nft_expr_priv(expr); expr 60 net/bridge/netfilter/nft_meta_bridge.c return nft_meta_get_eval(expr, regs, pkt); expr 70 net/bridge/netfilter/nft_meta_bridge.c const struct nft_expr *expr, expr 73 net/bridge/netfilter/nft_meta_bridge.c struct nft_meta *priv = nft_expr_priv(expr); expr 87 net/bridge/netfilter/nft_meta_bridge.c return nft_meta_get_init(ctx, expr, tb); expr 297 net/bridge/netfilter/nft_reject_bridge.c static void nft_reject_bridge_eval(const struct nft_expr *expr, expr 301 net/bridge/netfilter/nft_reject_bridge.c struct nft_reject *priv = nft_expr_priv(expr); expr 360 net/bridge/netfilter/nft_reject_bridge.c const struct nft_expr *expr, expr 368 net/bridge/netfilter/nft_reject_bridge.c const struct nft_expr *expr, expr 371 net/bridge/netfilter/nft_reject_bridge.c struct nft_reject *priv = nft_expr_priv(expr); expr 400 net/bridge/netfilter/nft_reject_bridge.c const struct nft_expr *expr) expr 402 net/bridge/netfilter/nft_reject_bridge.c const struct nft_reject *priv = nft_expr_priv(expr); expr 20 net/ipv4/netfilter/nft_dup_ipv4.c static void nft_dup_ipv4_eval(const struct nft_expr *expr, expr 24 net/ipv4/netfilter/nft_dup_ipv4.c struct nft_dup_ipv4 *priv = nft_expr_priv(expr); expr 34 net/ipv4/netfilter/nft_dup_ipv4.c const struct nft_expr *expr, expr 37 net/ipv4/netfilter/nft_dup_ipv4.c struct nft_dup_ipv4 *priv = nft_expr_priv(expr); expr 55 net/ipv4/netfilter/nft_dup_ipv4.c static int nft_dup_ipv4_dump(struct sk_buff *skb, const struct nft_expr *expr) expr 57 net/ipv4/netfilter/nft_dup_ipv4.c struct nft_dup_ipv4 *priv = nft_expr_priv(expr); expr 27 net/ipv4/netfilter/nft_fib_ipv4.c void nft_fib4_eval_type(const struct nft_expr *expr, struct nft_regs *regs, expr 30 net/ipv4/netfilter/nft_fib_ipv4.c const struct nft_fib *priv = nft_expr_priv(expr); expr 57 net/ipv4/netfilter/nft_fib_ipv4.c void nft_fib4_eval(const struct nft_expr *expr, struct nft_regs *regs, expr 60 net/ipv4/netfilter/nft_fib_ipv4.c const struct nft_fib *priv = nft_expr_priv(expr); expr 19 net/ipv4/netfilter/nft_reject_ipv4.c static void nft_reject_ipv4_eval(const struct nft_expr *expr, expr 23 net/ipv4/netfilter/nft_reject_ipv4.c struct nft_reject *priv = nft_expr_priv(expr); expr 20 net/ipv6/netfilter/nft_dup_ipv6.c static void nft_dup_ipv6_eval(const struct nft_expr *expr, expr 24 net/ipv6/netfilter/nft_dup_ipv6.c struct nft_dup_ipv6 *priv = nft_expr_priv(expr); expr 32 net/ipv6/netfilter/nft_dup_ipv6.c const struct nft_expr *expr, expr 35 net/ipv6/netfilter/nft_dup_ipv6.c struct nft_dup_ipv6 *priv = nft_expr_priv(expr); expr 53 net/ipv6/netfilter/nft_dup_ipv6.c static int nft_dup_ipv6_dump(struct sk_buff *skb, const struct nft_expr *expr) expr 55 net/ipv6/netfilter/nft_dup_ipv6.c struct nft_dup_ipv6 *priv = nft_expr_priv(expr); expr 120 net/ipv6/netfilter/nft_fib_ipv6.c void nft_fib6_eval_type(const struct nft_expr *expr, struct nft_regs *regs, expr 123 net/ipv6/netfilter/nft_fib_ipv6.c const struct nft_fib *priv = nft_expr_priv(expr); expr 138 net/ipv6/netfilter/nft_fib_ipv6.c void nft_fib6_eval(const struct nft_expr *expr, struct nft_regs *regs, expr 141 net/ipv6/netfilter/nft_fib_ipv6.c const struct nft_fib *priv = nft_expr_priv(expr); expr 19 net/ipv6/netfilter/nft_reject_ipv6.c static void nft_reject_ipv6_eval(const struct nft_expr *expr, expr 23 net/ipv6/netfilter/nft_reject_ipv6.c struct nft_reject *priv = nft_expr_priv(expr); expr 254 net/netfilter/nf_tables_api.c struct nft_expr *expr; expr 256 net/netfilter/nf_tables_api.c expr = nft_expr_first(rule); expr 257 net/netfilter/nf_tables_api.c while (expr != nft_expr_last(rule) && expr->ops) { expr 258 net/netfilter/nf_tables_api.c if (expr->ops->activate) expr 259 net/netfilter/nf_tables_api.c expr->ops->activate(ctx, expr); expr 261 net/netfilter/nf_tables_api.c expr = nft_expr_next(expr); expr 269 net/netfilter/nf_tables_api.c struct nft_expr *expr; expr 271 net/netfilter/nf_tables_api.c expr = nft_expr_first(rule); expr 272 net/netfilter/nf_tables_api.c while (expr != nft_expr_last(rule) && expr->ops) { expr 273 net/netfilter/nf_tables_api.c if (expr->ops->deactivate) expr 274 net/netfilter/nf_tables_api.c expr->ops->deactivate(ctx, expr, phase); expr 276 net/netfilter/nf_tables_api.c expr = nft_expr_next(expr); expr 2133 net/netfilter/nf_tables_api.c const struct nft_expr *expr) expr 2135 net/netfilter/nf_tables_api.c if (nla_put_string(skb, NFTA_EXPR_NAME, expr->ops->type->name)) expr 2138 net/netfilter/nf_tables_api.c if (expr->ops->dump) { expr 2143 net/netfilter/nf_tables_api.c if (expr->ops->dump(skb, expr) < 0) expr 2155 net/netfilter/nf_tables_api.c const struct nft_expr *expr) expr 2162 net/netfilter/nf_tables_api.c if (nf_tables_fill_expr_info(skb, expr) < 0) expr 2230 net/netfilter/nf_tables_api.c struct nft_expr *expr) expr 2235 net/netfilter/nf_tables_api.c expr->ops = ops; expr 2237 net/netfilter/nf_tables_api.c err = ops->init(ctx, expr, (const struct nlattr **)info->tb); expr 2244 net/netfilter/nf_tables_api.c expr->ops = NULL; expr 2249 net/netfilter/nf_tables_api.c struct nft_expr *expr) expr 2251 net/netfilter/nf_tables_api.c const struct nft_expr_type *type = expr->ops->type; expr 2253 net/netfilter/nf_tables_api.c if (expr->ops->destroy) expr 2254 net/netfilter/nf_tables_api.c expr->ops->destroy(ctx, expr); expr 2262 net/netfilter/nf_tables_api.c struct nft_expr *expr; expr 2271 net/netfilter/nf_tables_api.c expr = kzalloc(info.ops->size, GFP_KERNEL); expr 2272 net/netfilter/nf_tables_api.c if (expr == NULL) expr 2275 net/netfilter/nf_tables_api.c err = nf_tables_newexpr(ctx, &info, expr); expr 2279 net/netfilter/nf_tables_api.c return expr; expr 2281 net/netfilter/nf_tables_api.c kfree(expr); expr 2292 net/netfilter/nf_tables_api.c void nft_expr_destroy(const struct nft_ctx *ctx, struct nft_expr *expr) expr 2294 net/netfilter/nf_tables_api.c nf_tables_expr_destroy(ctx, expr); expr 2295 net/netfilter/nf_tables_api.c kfree(expr); expr 2350 net/netfilter/nf_tables_api.c const struct nft_expr *expr, *next; expr 2381 net/netfilter/nf_tables_api.c nft_rule_for_each_expr(expr, next, rule) { expr 2382 net/netfilter/nf_tables_api.c if (nft_expr_dump(skb, NFTA_LIST_ELEM, expr) < 0) expr 2637 net/netfilter/nf_tables_api.c struct nft_expr *expr, *next; expr 2643 net/netfilter/nf_tables_api.c expr = nft_expr_first(rule); expr 2644 net/netfilter/nf_tables_api.c while (expr != nft_expr_last(rule) && expr->ops) { expr 2645 net/netfilter/nf_tables_api.c next = nft_expr_next(expr); expr 2646 net/netfilter/nf_tables_api.c nf_tables_expr_destroy(ctx, expr); expr 2647 net/netfilter/nf_tables_api.c expr = next; expr 2661 net/netfilter/nf_tables_api.c struct nft_expr *expr, *last; expr 2673 net/netfilter/nf_tables_api.c nft_rule_for_each_expr(expr, last, rule) { expr 2674 net/netfilter/nf_tables_api.c if (!expr->ops->validate) expr 2677 net/netfilter/nf_tables_api.c err = expr->ops->validate(ctx, expr, &data); expr 2729 net/netfilter/nf_tables_api.c struct nft_expr *expr; expr 2843 net/netfilter/nf_tables_api.c expr = nft_expr_first(rule); expr 2845 net/netfilter/nf_tables_api.c err = nf_tables_newexpr(&ctx, &info[i], expr); expr 2853 net/netfilter/nf_tables_api.c expr = nft_expr_next(expr); expr 4463 net/netfilter/nf_tables_api.c struct nft_expr *expr = nft_set_ext_expr(ext); expr 4465 net/netfilter/nf_tables_api.c if (expr->ops->destroy_clone) { expr 4466 net/netfilter/nf_tables_api.c expr->ops->destroy_clone(&ctx, expr); expr 4467 net/netfilter/nf_tables_api.c module_put(expr->ops->type->owner); expr 4469 net/netfilter/nf_tables_api.c nf_tables_expr_destroy(&ctx, expr); expr 7254 net/netfilter/nf_tables_api.c const struct nft_expr *expr, *last; expr 7263 net/netfilter/nf_tables_api.c nft_rule_for_each_expr(expr, last, rule) { expr 7268 net/netfilter/nf_tables_api.c if (strcmp(expr->ops->type->name, "immediate")) expr 7271 net/netfilter/nf_tables_api.c priv = nft_expr_priv(expr); expr 50 net/netfilter/nf_tables_core.c static void nft_cmp_fast_eval(const struct nft_expr *expr, expr 53 net/netfilter/nf_tables_core.c const struct nft_cmp_fast_expr *priv = nft_expr_priv(expr); expr 61 net/netfilter/nf_tables_core.c static bool nft_payload_fast_eval(const struct nft_expr *expr, expr 65 net/netfilter/nf_tables_core.c const struct nft_payload *priv = nft_expr_priv(expr); expr 123 net/netfilter/nf_tables_core.c static void expr_call_ops_eval(const struct nft_expr *expr, expr 128 net/netfilter/nf_tables_core.c unsigned long e = (unsigned long)expr->ops->eval; expr 131 net/netfilter/nf_tables_core.c return fun(expr, regs, pkt); } while (0) expr 145 net/netfilter/nf_tables_core.c expr->ops->eval(expr, regs, pkt); expr 155 net/netfilter/nf_tables_core.c const struct nft_expr *expr, *last; expr 176 net/netfilter/nf_tables_core.c nft_rule_for_each_expr(expr, last, rule) { expr 177 net/netfilter/nf_tables_core.c if (expr->ops == &nft_cmp_fast_ops) expr 178 net/netfilter/nf_tables_core.c nft_cmp_fast_eval(expr, ®s); expr 179 net/netfilter/nf_tables_core.c else if (expr->ops != &nft_payload_fast_ops || expr 180 net/netfilter/nf_tables_core.c !nft_payload_fast_eval(expr, ®s, pkt)) expr 181 net/netfilter/nf_tables_core.c expr_call_ops_eval(expr, ®s, pkt); expr 37 net/netfilter/nf_tables_offload.c struct nft_expr *expr; expr 39 net/netfilter/nf_tables_offload.c expr = nft_expr_first(rule); expr 40 net/netfilter/nf_tables_offload.c while (expr->ops && expr != nft_expr_last(rule)) { expr 41 net/netfilter/nf_tables_offload.c if (expr->ops->offload_flags & NFT_OFFLOAD_F_ACTION) expr 44 net/netfilter/nf_tables_offload.c expr = nft_expr_next(expr); expr 54 net/netfilter/nf_tables_offload.c expr = nft_expr_first(rule); expr 64 net/netfilter/nf_tables_offload.c while (expr->ops && expr != nft_expr_last(rule)) { expr 65 net/netfilter/nf_tables_offload.c if (!expr->ops->offload) { expr 69 net/netfilter/nf_tables_offload.c err = expr->ops->offload(ctx, flow, expr); expr 73 net/netfilter/nf_tables_offload.c expr = nft_expr_next(expr); expr 26 net/netfilter/nft_bitwise.c void nft_bitwise_eval(const struct nft_expr *expr, expr 29 net/netfilter/nft_bitwise.c const struct nft_bitwise *priv = nft_expr_priv(expr); expr 47 net/netfilter/nft_bitwise.c const struct nft_expr *expr, expr 50 net/netfilter/nft_bitwise.c struct nft_bitwise *priv = nft_expr_priv(expr); expr 105 net/netfilter/nft_bitwise.c static int nft_bitwise_dump(struct sk_buff *skb, const struct nft_expr *expr) expr 107 net/netfilter/nft_bitwise.c const struct nft_bitwise *priv = nft_expr_priv(expr); expr 134 net/netfilter/nft_bitwise.c const struct nft_expr *expr) expr 136 net/netfilter/nft_bitwise.c const struct nft_bitwise *priv = nft_expr_priv(expr); expr 26 net/netfilter/nft_byteorder.c void nft_byteorder_eval(const struct nft_expr *expr, expr 30 net/netfilter/nft_byteorder.c const struct nft_byteorder *priv = nft_expr_priv(expr); expr 96 net/netfilter/nft_byteorder.c const struct nft_expr *expr, expr 99 net/netfilter/nft_byteorder.c struct nft_byteorder *priv = nft_expr_priv(expr); expr 150 net/netfilter/nft_byteorder.c static int nft_byteorder_dump(struct sk_buff *skb, const struct nft_expr *expr) expr 152 net/netfilter/nft_byteorder.c const struct nft_byteorder *priv = nft_expr_priv(expr); expr 25 net/netfilter/nft_cmp.c void nft_cmp_eval(const struct nft_expr *expr, expr 29 net/netfilter/nft_cmp.c const struct nft_cmp_expr *priv = nft_expr_priv(expr); expr 71 net/netfilter/nft_cmp.c static int nft_cmp_init(const struct nft_ctx *ctx, const struct nft_expr *expr, expr 74 net/netfilter/nft_cmp.c struct nft_cmp_expr *priv = nft_expr_priv(expr); expr 99 net/netfilter/nft_cmp.c static int nft_cmp_dump(struct sk_buff *skb, const struct nft_expr *expr) expr 101 net/netfilter/nft_cmp.c const struct nft_cmp_expr *priv = nft_expr_priv(expr); expr 141 net/netfilter/nft_cmp.c const struct nft_expr *expr) expr 143 net/netfilter/nft_cmp.c const struct nft_cmp_expr *priv = nft_expr_priv(expr); expr 158 net/netfilter/nft_cmp.c const struct nft_expr *expr, expr 161 net/netfilter/nft_cmp.c struct nft_cmp_fast_expr *priv = nft_expr_priv(expr); expr 187 net/netfilter/nft_cmp.c const struct nft_expr *expr) expr 189 net/netfilter/nft_cmp.c const struct nft_cmp_fast_expr *priv = nft_expr_priv(expr); expr 204 net/netfilter/nft_cmp.c static int nft_cmp_fast_dump(struct sk_buff *skb, const struct nft_expr *expr) expr 206 net/netfilter/nft_cmp.c const struct nft_cmp_fast_expr *priv = nft_expr_priv(expr); expr 67 net/netfilter/nft_compat.c static void nft_target_eval_xt(const struct nft_expr *expr, expr 71 net/netfilter/nft_compat.c void *info = nft_expr_priv(expr); expr 72 net/netfilter/nft_compat.c struct xt_target *target = expr->ops->data; expr 93 net/netfilter/nft_compat.c static void nft_target_eval_bridge(const struct nft_expr *expr, expr 97 net/netfilter/nft_compat.c void *info = nft_expr_priv(expr); expr 98 net/netfilter/nft_compat.c struct xt_target *target = expr->ops->data; expr 217 net/netfilter/nft_compat.c nft_target_init(const struct nft_ctx *ctx, const struct nft_expr *expr, expr 220 net/netfilter/nft_compat.c void *info = nft_expr_priv(expr); expr 221 net/netfilter/nft_compat.c struct xt_target *target = expr->ops->data; expr 251 net/netfilter/nft_compat.c nft_target_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) expr 253 net/netfilter/nft_compat.c struct xt_target *target = expr->ops->data; expr 254 net/netfilter/nft_compat.c void *info = nft_expr_priv(expr); expr 266 net/netfilter/nft_compat.c kfree(expr->ops); expr 287 net/netfilter/nft_compat.c static int nft_target_dump(struct sk_buff *skb, const struct nft_expr *expr) expr 289 net/netfilter/nft_compat.c const struct xt_target *target = expr->ops->data; expr 290 net/netfilter/nft_compat.c void *info = nft_expr_priv(expr); expr 305 net/netfilter/nft_compat.c const struct nft_expr *expr, expr 308 net/netfilter/nft_compat.c struct xt_target *target = expr->ops->data; expr 328 net/netfilter/nft_compat.c static void __nft_match_eval(const struct nft_expr *expr, expr 333 net/netfilter/nft_compat.c struct xt_match *match = expr->ops->data; expr 356 net/netfilter/nft_compat.c static void nft_match_large_eval(const struct nft_expr *expr, expr 360 net/netfilter/nft_compat.c struct nft_xt_match_priv *priv = nft_expr_priv(expr); expr 362 net/netfilter/nft_compat.c __nft_match_eval(expr, regs, pkt, priv->info); expr 365 net/netfilter/nft_compat.c static void nft_match_eval(const struct nft_expr *expr, expr 369 net/netfilter/nft_compat.c __nft_match_eval(expr, regs, pkt, nft_expr_priv(expr)); expr 432 net/netfilter/nft_compat.c __nft_match_init(const struct nft_ctx *ctx, const struct nft_expr *expr, expr 436 net/netfilter/nft_compat.c struct xt_match *match = expr->ops->data; expr 458 net/netfilter/nft_compat.c nft_match_init(const struct nft_ctx *ctx, const struct nft_expr *expr, expr 461 net/netfilter/nft_compat.c return __nft_match_init(ctx, expr, tb, nft_expr_priv(expr)); expr 465 net/netfilter/nft_compat.c nft_match_large_init(const struct nft_ctx *ctx, const struct nft_expr *expr, expr 468 net/netfilter/nft_compat.c struct nft_xt_match_priv *priv = nft_expr_priv(expr); expr 469 net/netfilter/nft_compat.c struct xt_match *m = expr->ops->data; expr 476 net/netfilter/nft_compat.c ret = __nft_match_init(ctx, expr, tb, priv->info); expr 483 net/netfilter/nft_compat.c __nft_match_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr, expr 486 net/netfilter/nft_compat.c struct xt_match *match = expr->ops->data; expr 498 net/netfilter/nft_compat.c kfree(expr->ops); expr 502 net/netfilter/nft_compat.c nft_match_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) expr 504 net/netfilter/nft_compat.c __nft_match_destroy(ctx, expr, nft_expr_priv(expr)); expr 508 net/netfilter/nft_compat.c nft_match_large_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) expr 510 net/netfilter/nft_compat.c struct nft_xt_match_priv *priv = nft_expr_priv(expr); expr 512 net/netfilter/nft_compat.c __nft_match_destroy(ctx, expr, priv->info); expr 516 net/netfilter/nft_compat.c static int __nft_match_dump(struct sk_buff *skb, const struct nft_expr *expr, expr 519 net/netfilter/nft_compat.c struct xt_match *match = expr->ops->data; expr 533 net/netfilter/nft_compat.c static int nft_match_dump(struct sk_buff *skb, const struct nft_expr *expr) expr 535 net/netfilter/nft_compat.c return __nft_match_dump(skb, expr, nft_expr_priv(expr)); expr 546 net/netfilter/nft_compat.c const struct nft_expr *expr, expr 549 net/netfilter/nft_compat.c struct xt_match *match = expr->ops->data; expr 165 net/netfilter/nft_connlimit.c static void nft_connlimit_eval(const struct nft_expr *expr, expr 169 net/netfilter/nft_connlimit.c struct nft_connlimit *priv = nft_expr_priv(expr); expr 174 net/netfilter/nft_connlimit.c static int nft_connlimit_dump(struct sk_buff *skb, const struct nft_expr *expr) expr 176 net/netfilter/nft_connlimit.c struct nft_connlimit *priv = nft_expr_priv(expr); expr 182 net/netfilter/nft_connlimit.c const struct nft_expr *expr, expr 185 net/netfilter/nft_connlimit.c struct nft_connlimit *priv = nft_expr_priv(expr); expr 191 net/netfilter/nft_connlimit.c const struct nft_expr *expr) expr 193 net/netfilter/nft_connlimit.c struct nft_connlimit *priv = nft_expr_priv(expr); expr 211 net/netfilter/nft_connlimit.c const struct nft_expr *expr) expr 213 net/netfilter/nft_connlimit.c struct nft_connlimit *priv = nft_expr_priv(expr); expr 218 net/netfilter/nft_connlimit.c static bool nft_connlimit_gc(struct net *net, const struct nft_expr *expr) expr 220 net/netfilter/nft_connlimit.c struct nft_connlimit *priv = nft_expr_priv(expr); expr 194 net/netfilter/nft_counter.c static void nft_counter_eval(const struct nft_expr *expr, expr 198 net/netfilter/nft_counter.c struct nft_counter_percpu_priv *priv = nft_expr_priv(expr); expr 203 net/netfilter/nft_counter.c static int nft_counter_dump(struct sk_buff *skb, const struct nft_expr *expr) expr 205 net/netfilter/nft_counter.c struct nft_counter_percpu_priv *priv = nft_expr_priv(expr); expr 211 net/netfilter/nft_counter.c const struct nft_expr *expr, expr 214 net/netfilter/nft_counter.c struct nft_counter_percpu_priv *priv = nft_expr_priv(expr); expr 220 net/netfilter/nft_counter.c const struct nft_expr *expr) expr 222 net/netfilter/nft_counter.c struct nft_counter_percpu_priv *priv = nft_expr_priv(expr); expr 58 net/netfilter/nft_ct.c static void nft_ct_get_eval(const struct nft_expr *expr, expr 62 net/netfilter/nft_ct.c const struct nft_ct *priv = nft_expr_priv(expr); expr 233 net/netfilter/nft_ct.c static void nft_ct_set_zone_eval(const struct nft_expr *expr, expr 238 net/netfilter/nft_ct.c const struct nft_ct *priv = nft_expr_priv(expr); expr 279 net/netfilter/nft_ct.c static void nft_ct_set_eval(const struct nft_expr *expr, expr 283 net/netfilter/nft_ct.c const struct nft_ct *priv = nft_expr_priv(expr); expr 388 net/netfilter/nft_ct.c const struct nft_expr *expr, expr 391 net/netfilter/nft_ct.c struct nft_ct *priv = nft_expr_priv(expr); expr 540 net/netfilter/nft_ct.c const struct nft_expr *expr, expr 543 net/netfilter/nft_ct.c struct nft_ct *priv = nft_expr_priv(expr); expr 622 net/netfilter/nft_ct.c const struct nft_expr *expr) expr 628 net/netfilter/nft_ct.c const struct nft_expr *expr) expr 630 net/netfilter/nft_ct.c struct nft_ct *priv = nft_expr_priv(expr); expr 636 net/netfilter/nft_ct.c static int nft_ct_get_dump(struct sk_buff *skb, const struct nft_expr *expr) expr 638 net/netfilter/nft_ct.c const struct nft_ct *priv = nft_expr_priv(expr); expr 675 net/netfilter/nft_ct.c static int nft_ct_set_dump(struct sk_buff *skb, const struct nft_expr *expr) expr 677 net/netfilter/nft_ct.c const struct nft_ct *priv = nft_expr_priv(expr); expr 762 net/netfilter/nft_ct.c static void nft_notrack_eval(const struct nft_expr *expr, expr 20 net/netfilter/nft_dup_netdev.c static void nft_dup_netdev_eval(const struct nft_expr *expr, expr 24 net/netfilter/nft_dup_netdev.c struct nft_dup_netdev *priv = nft_expr_priv(expr); expr 35 net/netfilter/nft_dup_netdev.c const struct nft_expr *expr, expr 38 net/netfilter/nft_dup_netdev.c struct nft_dup_netdev *priv = nft_expr_priv(expr); expr 47 net/netfilter/nft_dup_netdev.c static int nft_dup_netdev_dump(struct sk_buff *skb, const struct nft_expr *expr) expr 49 net/netfilter/nft_dup_netdev.c struct nft_dup_netdev *priv = nft_expr_priv(expr); expr 62 net/netfilter/nft_dup_netdev.c const struct nft_expr *expr) expr 64 net/netfilter/nft_dup_netdev.c const struct nft_dup_netdev *priv = nft_expr_priv(expr); expr 23 net/netfilter/nft_dynset.c struct nft_expr *expr; expr 44 net/netfilter/nft_dynset.c static void *nft_dynset_new(struct nft_set *set, const struct nft_expr *expr, expr 47 net/netfilter/nft_dynset.c const struct nft_dynset *priv = nft_expr_priv(expr); expr 64 net/netfilter/nft_dynset.c if (priv->expr != NULL && expr 65 net/netfilter/nft_dynset.c nft_expr_clone(nft_set_ext_expr(ext), priv->expr) < 0) expr 78 net/netfilter/nft_dynset.c void nft_dynset_eval(const struct nft_expr *expr, expr 81 net/netfilter/nft_dynset.c const struct nft_dynset *priv = nft_expr_priv(expr); expr 93 net/netfilter/nft_dynset.c expr, regs, &ext)) { expr 129 net/netfilter/nft_dynset.c const struct nft_expr *expr, expr 132 net/netfilter/nft_dynset.c struct nft_dynset *priv = nft_expr_priv(expr); expr 209 net/netfilter/nft_dynset.c priv->expr = nft_expr_init(ctx, tb[NFTA_DYNSET_EXPR]); expr 210 net/netfilter/nft_dynset.c if (IS_ERR(priv->expr)) expr 211 net/netfilter/nft_dynset.c return PTR_ERR(priv->expr); expr 214 net/netfilter/nft_dynset.c if (!(priv->expr->ops->type->flags & NFT_EXPR_STATEFUL)) expr 217 net/netfilter/nft_dynset.c if (priv->expr->ops->type->flags & NFT_EXPR_GC) { expr 230 net/netfilter/nft_dynset.c if (priv->expr != NULL) expr 232 net/netfilter/nft_dynset.c priv->expr->ops->size); expr 251 net/netfilter/nft_dynset.c if (priv->expr != NULL) expr 252 net/netfilter/nft_dynset.c nft_expr_destroy(ctx, priv->expr); expr 257 net/netfilter/nft_dynset.c const struct nft_expr *expr, expr 260 net/netfilter/nft_dynset.c struct nft_dynset *priv = nft_expr_priv(expr); expr 266 net/netfilter/nft_dynset.c const struct nft_expr *expr) expr 268 net/netfilter/nft_dynset.c struct nft_dynset *priv = nft_expr_priv(expr); expr 274 net/netfilter/nft_dynset.c const struct nft_expr *expr) expr 276 net/netfilter/nft_dynset.c struct nft_dynset *priv = nft_expr_priv(expr); expr 278 net/netfilter/nft_dynset.c if (priv->expr != NULL) expr 279 net/netfilter/nft_dynset.c nft_expr_destroy(ctx, priv->expr); expr 284 net/netfilter/nft_dynset.c static int nft_dynset_dump(struct sk_buff *skb, const struct nft_expr *expr) expr 286 net/netfilter/nft_dynset.c const struct nft_dynset *priv = nft_expr_priv(expr); expr 302 net/netfilter/nft_dynset.c if (priv->expr && nft_expr_dump(skb, NFTA_DYNSET_EXPR, priv->expr)) expr 36 net/netfilter/nft_exthdr.c static void nft_exthdr_ipv6_eval(const struct nft_expr *expr, expr 40 net/netfilter/nft_exthdr.c struct nft_exthdr *priv = nft_expr_priv(expr); expr 129 net/netfilter/nft_exthdr.c static void nft_exthdr_ipv4_eval(const struct nft_expr *expr, expr 133 net/netfilter/nft_exthdr.c struct nft_exthdr *priv = nft_expr_priv(expr); expr 179 net/netfilter/nft_exthdr.c static void nft_exthdr_tcp_eval(const struct nft_expr *expr, expr 184 net/netfilter/nft_exthdr.c struct nft_exthdr *priv = nft_expr_priv(expr); expr 222 net/netfilter/nft_exthdr.c static void nft_exthdr_tcp_set_eval(const struct nft_expr *expr, expr 227 net/netfilter/nft_exthdr.c struct nft_exthdr *priv = nft_expr_priv(expr); expr 316 net/netfilter/nft_exthdr.c const struct nft_expr *expr, expr 319 net/netfilter/nft_exthdr.c struct nft_exthdr *priv = nft_expr_priv(expr); expr 364 net/netfilter/nft_exthdr.c const struct nft_expr *expr, expr 367 net/netfilter/nft_exthdr.c struct nft_exthdr *priv = nft_expr_priv(expr); expr 413 net/netfilter/nft_exthdr.c const struct nft_expr *expr, expr 416 net/netfilter/nft_exthdr.c struct nft_exthdr *priv = nft_expr_priv(expr); expr 417 net/netfilter/nft_exthdr.c int err = nft_exthdr_init(ctx, expr, tb); expr 452 net/netfilter/nft_exthdr.c static int nft_exthdr_dump(struct sk_buff *skb, const struct nft_expr *expr) expr 454 net/netfilter/nft_exthdr.c const struct nft_exthdr *priv = nft_expr_priv(expr); expr 462 net/netfilter/nft_exthdr.c static int nft_exthdr_dump_set(struct sk_buff *skb, const struct nft_expr *expr) expr 464 net/netfilter/nft_exthdr.c const struct nft_exthdr *priv = nft_expr_priv(expr); expr 28 net/netfilter/nft_fib.c int nft_fib_validate(const struct nft_ctx *ctx, const struct nft_expr *expr, expr 31 net/netfilter/nft_fib.c const struct nft_fib *priv = nft_expr_priv(expr); expr 64 net/netfilter/nft_fib.c int nft_fib_init(const struct nft_ctx *ctx, const struct nft_expr *expr, expr 67 net/netfilter/nft_fib.c struct nft_fib *priv = nft_expr_priv(expr); expr 118 net/netfilter/nft_fib.c int nft_fib_dump(struct sk_buff *skb, const struct nft_expr *expr) expr 120 net/netfilter/nft_fib.c const struct nft_fib *priv = nft_expr_priv(expr); expr 14 net/netfilter/nft_fib_inet.c static void nft_fib_inet_eval(const struct nft_expr *expr, expr 18 net/netfilter/nft_fib_inet.c const struct nft_fib *priv = nft_expr_priv(expr); expr 25 net/netfilter/nft_fib_inet.c return nft_fib4_eval(expr, regs, pkt); expr 27 net/netfilter/nft_fib_inet.c return nft_fib4_eval_type(expr, regs, pkt); expr 34 net/netfilter/nft_fib_inet.c return nft_fib6_eval(expr, regs, pkt); expr 36 net/netfilter/nft_fib_inet.c return nft_fib6_eval_type(expr, regs, pkt); expr 21 net/netfilter/nft_fib_netdev.c static void nft_fib_netdev_eval(const struct nft_expr *expr, expr 25 net/netfilter/nft_fib_netdev.c const struct nft_fib *priv = nft_expr_priv(expr); expr 32 net/netfilter/nft_fib_netdev.c return nft_fib4_eval(expr, regs, pkt); expr 34 net/netfilter/nft_fib_netdev.c return nft_fib4_eval_type(expr, regs, pkt); expr 43 net/netfilter/nft_fib_netdev.c return nft_fib6_eval(expr, regs, pkt); expr 45 net/netfilter/nft_fib_netdev.c return nft_fib6_eval_type(expr, regs, pkt); expr 70 net/netfilter/nft_flow_offload.c static void nft_flow_offload_eval(const struct nft_expr *expr, expr 74 net/netfilter/nft_flow_offload.c struct nft_flow_offload *priv = nft_expr_priv(expr); expr 145 net/netfilter/nft_flow_offload.c const struct nft_expr *expr, expr 159 net/netfilter/nft_flow_offload.c const struct nft_expr *expr, expr 162 net/netfilter/nft_flow_offload.c struct nft_flow_offload *priv = nft_expr_priv(expr); expr 181 net/netfilter/nft_flow_offload.c const struct nft_expr *expr, expr 184 net/netfilter/nft_flow_offload.c struct nft_flow_offload *priv = nft_expr_priv(expr); expr 190 net/netfilter/nft_flow_offload.c const struct nft_expr *expr) expr 192 net/netfilter/nft_flow_offload.c struct nft_flow_offload *priv = nft_expr_priv(expr); expr 198 net/netfilter/nft_flow_offload.c const struct nft_expr *expr) expr 203 net/netfilter/nft_flow_offload.c static int nft_flow_offload_dump(struct sk_buff *skb, const struct nft_expr *expr) expr 205 net/netfilter/nft_flow_offload.c struct nft_flow_offload *priv = nft_expr_priv(expr); expr 24 net/netfilter/nft_fwd_netdev.c static void nft_fwd_netdev_eval(const struct nft_expr *expr, expr 28 net/netfilter/nft_fwd_netdev.c struct nft_fwd_netdev *priv = nft_expr_priv(expr); expr 45 net/netfilter/nft_fwd_netdev.c const struct nft_expr *expr, expr 48 net/netfilter/nft_fwd_netdev.c struct nft_fwd_netdev *priv = nft_expr_priv(expr); expr 57 net/netfilter/nft_fwd_netdev.c static int nft_fwd_netdev_dump(struct sk_buff *skb, const struct nft_expr *expr) expr 59 net/netfilter/nft_fwd_netdev.c struct nft_fwd_netdev *priv = nft_expr_priv(expr); expr 72 net/netfilter/nft_fwd_netdev.c const struct nft_expr *expr) expr 74 net/netfilter/nft_fwd_netdev.c const struct nft_fwd_netdev *priv = nft_expr_priv(expr); expr 86 net/netfilter/nft_fwd_netdev.c static void nft_fwd_neigh_eval(const struct nft_expr *expr, expr 90 net/netfilter/nft_fwd_netdev.c struct nft_fwd_neigh *priv = nft_expr_priv(expr); expr 147 net/netfilter/nft_fwd_netdev.c const struct nft_expr *expr, expr 150 net/netfilter/nft_fwd_netdev.c struct nft_fwd_neigh *priv = nft_expr_priv(expr); expr 181 net/netfilter/nft_fwd_netdev.c static int nft_fwd_neigh_dump(struct sk_buff *skb, const struct nft_expr *expr) expr 183 net/netfilter/nft_fwd_netdev.c struct nft_fwd_neigh *priv = nft_expr_priv(expr); expr 197 net/netfilter/nft_fwd_netdev.c const struct nft_expr *expr, expr 26 net/netfilter/nft_hash.c static void nft_jhash_eval(const struct nft_expr *expr, expr 30 net/netfilter/nft_hash.c struct nft_jhash *priv = nft_expr_priv(expr); expr 46 net/netfilter/nft_hash.c static void nft_symhash_eval(const struct nft_expr *expr, expr 50 net/netfilter/nft_hash.c struct nft_symhash *priv = nft_expr_priv(expr); expr 70 net/netfilter/nft_hash.c const struct nft_expr *expr, expr 73 net/netfilter/nft_hash.c struct nft_jhash *priv = nft_expr_priv(expr); expr 117 net/netfilter/nft_hash.c const struct nft_expr *expr, expr 120 net/netfilter/nft_hash.c struct nft_symhash *priv = nft_expr_priv(expr); expr 143 net/netfilter/nft_hash.c const struct nft_expr *expr) expr 145 net/netfilter/nft_hash.c const struct nft_jhash *priv = nft_expr_priv(expr); expr 170 net/netfilter/nft_hash.c const struct nft_expr *expr) expr 172 net/netfilter/nft_hash.c const struct nft_symhash *priv = nft_expr_priv(expr); expr 18 net/netfilter/nft_immediate.c void nft_immediate_eval(const struct nft_expr *expr, expr 22 net/netfilter/nft_immediate.c const struct nft_immediate_expr *priv = nft_expr_priv(expr); expr 33 net/netfilter/nft_immediate.c const struct nft_expr *expr, expr 36 net/netfilter/nft_immediate.c struct nft_immediate_expr *priv = nft_expr_priv(expr); expr 65 net/netfilter/nft_immediate.c const struct nft_expr *expr) expr 67 net/netfilter/nft_immediate.c const struct nft_immediate_expr *priv = nft_expr_priv(expr); expr 73 net/netfilter/nft_immediate.c const struct nft_expr *expr, expr 76 net/netfilter/nft_immediate.c const struct nft_immediate_expr *priv = nft_expr_priv(expr); expr 84 net/netfilter/nft_immediate.c static int nft_immediate_dump(struct sk_buff *skb, const struct nft_expr *expr) expr 86 net/netfilter/nft_immediate.c const struct nft_immediate_expr *priv = nft_expr_priv(expr); expr 99 net/netfilter/nft_immediate.c const struct nft_expr *expr, expr 102 net/netfilter/nft_immediate.c const struct nft_immediate_expr *priv = nft_expr_priv(expr); expr 154 net/netfilter/nft_immediate.c const struct nft_expr *expr) expr 156 net/netfilter/nft_immediate.c const struct nft_immediate_expr *priv = nft_expr_priv(expr); expr 129 net/netfilter/nft_limit.c static void nft_limit_pkts_eval(const struct nft_expr *expr, expr 133 net/netfilter/nft_limit.c struct nft_limit_pkts *priv = nft_expr_priv(expr); expr 148 net/netfilter/nft_limit.c const struct nft_expr *expr, expr 151 net/netfilter/nft_limit.c struct nft_limit_pkts *priv = nft_expr_priv(expr); expr 162 net/netfilter/nft_limit.c static int nft_limit_pkts_dump(struct sk_buff *skb, const struct nft_expr *expr) expr 164 net/netfilter/nft_limit.c const struct nft_limit_pkts *priv = nft_expr_priv(expr); expr 178 net/netfilter/nft_limit.c static void nft_limit_bytes_eval(const struct nft_expr *expr, expr 182 net/netfilter/nft_limit.c struct nft_limit *priv = nft_expr_priv(expr); expr 190 net/netfilter/nft_limit.c const struct nft_expr *expr, expr 193 net/netfilter/nft_limit.c struct nft_limit *priv = nft_expr_priv(expr); expr 199 net/netfilter/nft_limit.c const struct nft_expr *expr) expr 201 net/netfilter/nft_limit.c const struct nft_limit *priv = nft_expr_priv(expr); expr 104 net/netfilter/nft_log.c static void nft_log_eval(const struct nft_expr *expr, expr 108 net/netfilter/nft_log.c const struct nft_log *priv = nft_expr_priv(expr); expr 132 net/netfilter/nft_log.c const struct nft_expr *expr, expr 135 net/netfilter/nft_log.c struct nft_log *priv = nft_expr_priv(expr); expr 212 net/netfilter/nft_log.c const struct nft_expr *expr) expr 214 net/netfilter/nft_log.c struct nft_log *priv = nft_expr_priv(expr); expr 226 net/netfilter/nft_log.c static int nft_log_dump(struct sk_buff *skb, const struct nft_expr *expr) expr 228 net/netfilter/nft_log.c const struct nft_log *priv = nft_expr_priv(expr); expr 26 net/netfilter/nft_lookup.c void nft_lookup_eval(const struct nft_expr *expr, expr 30 net/netfilter/nft_lookup.c const struct nft_lookup *priv = nft_expr_priv(expr); expr 58 net/netfilter/nft_lookup.c const struct nft_expr *expr, expr 61 net/netfilter/nft_lookup.c struct nft_lookup *priv = nft_expr_priv(expr); expr 119 net/netfilter/nft_lookup.c const struct nft_expr *expr, expr 122 net/netfilter/nft_lookup.c struct nft_lookup *priv = nft_expr_priv(expr); expr 128 net/netfilter/nft_lookup.c const struct nft_expr *expr) expr 130 net/netfilter/nft_lookup.c struct nft_lookup *priv = nft_expr_priv(expr); expr 136 net/netfilter/nft_lookup.c const struct nft_expr *expr) expr 138 net/netfilter/nft_lookup.c struct nft_lookup *priv = nft_expr_priv(expr); expr 143 net/netfilter/nft_lookup.c static int nft_lookup_dump(struct sk_buff *skb, const struct nft_expr *expr) expr 145 net/netfilter/nft_lookup.c const struct nft_lookup *priv = nft_expr_priv(expr); expr 195 net/netfilter/nft_lookup.c const struct nft_expr *expr, expr 198 net/netfilter/nft_lookup.c const struct nft_lookup *priv = nft_expr_priv(expr); expr 29 net/netfilter/nft_masq.c const struct nft_expr *expr, expr 43 net/netfilter/nft_masq.c const struct nft_expr *expr, expr 47 net/netfilter/nft_masq.c struct nft_masq *priv = nft_expr_priv(expr); expr 80 net/netfilter/nft_masq.c static int nft_masq_dump(struct sk_buff *skb, const struct nft_expr *expr) expr 82 net/netfilter/nft_masq.c const struct nft_masq *priv = nft_expr_priv(expr); expr 102 net/netfilter/nft_masq.c static void nft_masq_ipv4_eval(const struct nft_expr *expr, expr 106 net/netfilter/nft_masq.c struct nft_masq *priv = nft_expr_priv(expr); expr 122 net/netfilter/nft_masq.c nft_masq_ipv4_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) expr 148 net/netfilter/nft_masq.c static void nft_masq_ipv6_eval(const struct nft_expr *expr, expr 152 net/netfilter/nft_masq.c struct nft_masq *priv = nft_expr_priv(expr); expr 168 net/netfilter/nft_masq.c nft_masq_ipv6_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) expr 208 net/netfilter/nft_masq.c static void nft_masq_inet_eval(const struct nft_expr *expr, expr 214 net/netfilter/nft_masq.c return nft_masq_ipv4_eval(expr, regs, pkt); expr 216 net/netfilter/nft_masq.c return nft_masq_ipv6_eval(expr, regs, pkt); expr 223 net/netfilter/nft_masq.c nft_masq_inet_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) expr 59 net/netfilter/nft_meta.c void nft_meta_get_eval(const struct nft_expr *expr, expr 63 net/netfilter/nft_meta.c const struct nft_meta *priv = nft_expr_priv(expr); expr 269 net/netfilter/nft_meta.c void nft_meta_set_eval(const struct nft_expr *expr, expr 273 net/netfilter/nft_meta.c const struct nft_meta *meta = nft_expr_priv(expr); expr 318 net/netfilter/nft_meta.c const struct nft_expr *expr, expr 321 net/netfilter/nft_meta.c struct nft_meta *priv = nft_expr_priv(expr); expr 390 net/netfilter/nft_meta.c const struct nft_expr *expr, expr 394 net/netfilter/nft_meta.c const struct nft_meta *priv = nft_expr_priv(expr); expr 422 net/netfilter/nft_meta.c const struct nft_expr *expr, expr 425 net/netfilter/nft_meta.c struct nft_meta *priv = nft_expr_priv(expr); expr 452 net/netfilter/nft_meta.c const struct nft_expr *expr, expr 455 net/netfilter/nft_meta.c struct nft_meta *priv = nft_expr_priv(expr); expr 491 net/netfilter/nft_meta.c const struct nft_expr *expr) expr 493 net/netfilter/nft_meta.c const struct nft_meta *priv = nft_expr_priv(expr); expr 506 net/netfilter/nft_meta.c int nft_meta_set_dump(struct sk_buff *skb, const struct nft_expr *expr) expr 508 net/netfilter/nft_meta.c const struct nft_meta *priv = nft_expr_priv(expr); expr 523 net/netfilter/nft_meta.c const struct nft_expr *expr) expr 525 net/netfilter/nft_meta.c const struct nft_meta *priv = nft_expr_priv(expr); expr 534 net/netfilter/nft_meta.c const struct nft_expr *expr) expr 536 net/netfilter/nft_meta.c const struct nft_meta *priv = nft_expr_priv(expr); expr 33 net/netfilter/nft_nat.c static void nft_nat_eval(const struct nft_expr *expr, expr 37 net/netfilter/nft_nat.c const struct nft_nat *priv = nft_expr_priv(expr); expr 85 net/netfilter/nft_nat.c const struct nft_expr *expr, expr 88 net/netfilter/nft_nat.c struct nft_nat *priv = nft_expr_priv(expr); expr 111 net/netfilter/nft_nat.c static int nft_nat_init(const struct nft_ctx *ctx, const struct nft_expr *expr, expr 114 net/netfilter/nft_nat.c struct nft_nat *priv = nft_expr_priv(expr); expr 205 net/netfilter/nft_nat.c static int nft_nat_dump(struct sk_buff *skb, const struct nft_expr *expr) expr 207 net/netfilter/nft_nat.c const struct nft_nat *priv = nft_expr_priv(expr); expr 251 net/netfilter/nft_nat.c nft_nat_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) expr 253 net/netfilter/nft_nat.c const struct nft_nat *priv = nft_expr_priv(expr); expr 278 net/netfilter/nft_nat.c static void nft_nat_inet_eval(const struct nft_expr *expr, expr 282 net/netfilter/nft_nat.c const struct nft_nat *priv = nft_expr_priv(expr); expr 285 net/netfilter/nft_nat.c nft_nat_eval(expr, regs, pkt); expr 37 net/netfilter/nft_numgen.c static void nft_ng_inc_eval(const struct nft_expr *expr, expr 41 net/netfilter/nft_numgen.c struct nft_ng_inc *priv = nft_expr_priv(expr); expr 54 net/netfilter/nft_numgen.c const struct nft_expr *expr, expr 57 net/netfilter/nft_numgen.c struct nft_ng_inc *priv = nft_expr_priv(expr); expr 94 net/netfilter/nft_numgen.c static int nft_ng_inc_dump(struct sk_buff *skb, const struct nft_expr *expr) expr 96 net/netfilter/nft_numgen.c const struct nft_ng_inc *priv = nft_expr_priv(expr); expr 116 net/netfilter/nft_numgen.c static void nft_ng_random_eval(const struct nft_expr *expr, expr 120 net/netfilter/nft_numgen.c struct nft_ng_random *priv = nft_expr_priv(expr); expr 126 net/netfilter/nft_numgen.c const struct nft_expr *expr, expr 129 net/netfilter/nft_numgen.c struct nft_ng_random *priv = nft_expr_priv(expr); expr 149 net/netfilter/nft_numgen.c static int nft_ng_random_dump(struct sk_buff *skb, const struct nft_expr *expr) expr 151 net/netfilter/nft_numgen.c const struct nft_ng_random *priv = nft_expr_priv(expr); expr 14 net/netfilter/nft_objref.c #define nft_objref_priv(expr) *((struct nft_object **)nft_expr_priv(expr)) expr 16 net/netfilter/nft_objref.c static void nft_objref_eval(const struct nft_expr *expr, expr 20 net/netfilter/nft_objref.c struct nft_object *obj = nft_objref_priv(expr); expr 26 net/netfilter/nft_objref.c const struct nft_expr *expr, expr 29 net/netfilter/nft_objref.c struct nft_object *obj = nft_objref_priv(expr); expr 44 net/netfilter/nft_objref.c nft_objref_priv(expr) = obj; expr 50 net/netfilter/nft_objref.c static int nft_objref_dump(struct sk_buff *skb, const struct nft_expr *expr) expr 52 net/netfilter/nft_objref.c const struct nft_object *obj = nft_objref_priv(expr); expr 66 net/netfilter/nft_objref.c const struct nft_expr *expr, expr 69 net/netfilter/nft_objref.c struct nft_object *obj = nft_objref_priv(expr); expr 78 net/netfilter/nft_objref.c const struct nft_expr *expr) expr 80 net/netfilter/nft_objref.c struct nft_object *obj = nft_objref_priv(expr); expr 102 net/netfilter/nft_objref.c static void nft_objref_map_eval(const struct nft_expr *expr, expr 106 net/netfilter/nft_objref.c struct nft_objref_map *priv = nft_expr_priv(expr); expr 123 net/netfilter/nft_objref.c const struct nft_expr *expr, expr 126 net/netfilter/nft_objref.c struct nft_objref_map *priv = nft_expr_priv(expr); expr 155 net/netfilter/nft_objref.c static int nft_objref_map_dump(struct sk_buff *skb, const struct nft_expr *expr) expr 157 net/netfilter/nft_objref.c const struct nft_objref_map *priv = nft_expr_priv(expr); expr 170 net/netfilter/nft_objref.c const struct nft_expr *expr, expr 173 net/netfilter/nft_objref.c struct nft_objref_map *priv = nft_expr_priv(expr); expr 179 net/netfilter/nft_objref.c const struct nft_expr *expr) expr 181 net/netfilter/nft_objref.c struct nft_objref_map *priv = nft_expr_priv(expr); expr 187 net/netfilter/nft_objref.c const struct nft_expr *expr) expr 189 net/netfilter/nft_objref.c struct nft_objref_map *priv = nft_expr_priv(expr); expr 20 net/netfilter/nft_osf.c static void nft_osf_eval(const struct nft_expr *expr, struct nft_regs *regs, expr 23 net/netfilter/nft_osf.c struct nft_osf *priv = nft_expr_priv(expr); expr 56 net/netfilter/nft_osf.c const struct nft_expr *expr, expr 59 net/netfilter/nft_osf.c struct nft_osf *priv = nft_expr_priv(expr); expr 90 net/netfilter/nft_osf.c static int nft_osf_dump(struct sk_buff *skb, const struct nft_expr *expr) expr 92 net/netfilter/nft_osf.c const struct nft_osf *priv = nft_expr_priv(expr); expr 110 net/netfilter/nft_osf.c const struct nft_expr *expr, expr 73 net/netfilter/nft_payload.c void nft_payload_eval(const struct nft_expr *expr, expr 77 net/netfilter/nft_payload.c const struct nft_payload *priv = nft_expr_priv(expr); expr 128 net/netfilter/nft_payload.c const struct nft_expr *expr, expr 131 net/netfilter/nft_payload.c struct nft_payload *priv = nft_expr_priv(expr); expr 142 net/netfilter/nft_payload.c static int nft_payload_dump(struct sk_buff *skb, const struct nft_expr *expr) expr 144 net/netfilter/nft_payload.c const struct nft_payload *priv = nft_expr_priv(expr); expr 355 net/netfilter/nft_payload.c const struct nft_expr *expr) expr 357 net/netfilter/nft_payload.c const struct nft_payload *priv = nft_expr_priv(expr); expr 492 net/netfilter/nft_payload.c static void nft_payload_set_eval(const struct nft_expr *expr, expr 496 net/netfilter/nft_payload.c const struct nft_payload_set *priv = nft_expr_priv(expr); expr 548 net/netfilter/nft_payload.c const struct nft_expr *expr, expr 551 net/netfilter/nft_payload.c struct nft_payload_set *priv = nft_expr_priv(expr); expr 585 net/netfilter/nft_payload.c static int nft_payload_set_dump(struct sk_buff *skb, const struct nft_expr *expr) expr 587 net/netfilter/nft_payload.c const struct nft_payload_set *priv = nft_expr_priv(expr); expr 28 net/netfilter/nft_queue.c static void nft_queue_eval(const struct nft_expr *expr, expr 32 net/netfilter/nft_queue.c struct nft_queue *priv = nft_expr_priv(expr); expr 55 net/netfilter/nft_queue.c static void nft_queue_sreg_eval(const struct nft_expr *expr, expr 59 net/netfilter/nft_queue.c struct nft_queue *priv = nft_expr_priv(expr); expr 79 net/netfilter/nft_queue.c const struct nft_expr *expr, expr 82 net/netfilter/nft_queue.c struct nft_queue *priv = nft_expr_priv(expr); expr 108 net/netfilter/nft_queue.c const struct nft_expr *expr, expr 111 net/netfilter/nft_queue.c struct nft_queue *priv = nft_expr_priv(expr); expr 130 net/netfilter/nft_queue.c static int nft_queue_dump(struct sk_buff *skb, const struct nft_expr *expr) expr 132 net/netfilter/nft_queue.c const struct nft_queue *priv = nft_expr_priv(expr); expr 146 net/netfilter/nft_queue.c nft_queue_sreg_dump(struct sk_buff *skb, const struct nft_expr *expr) expr 148 net/netfilter/nft_queue.c const struct nft_queue *priv = nft_expr_priv(expr); expr 183 net/netfilter/nft_quota.c static void nft_quota_eval(const struct nft_expr *expr, expr 187 net/netfilter/nft_quota.c struct nft_quota *priv = nft_expr_priv(expr); expr 193 net/netfilter/nft_quota.c const struct nft_expr *expr, expr 196 net/netfilter/nft_quota.c struct nft_quota *priv = nft_expr_priv(expr); expr 201 net/netfilter/nft_quota.c static int nft_quota_dump(struct sk_buff *skb, const struct nft_expr *expr) expr 203 net/netfilter/nft_quota.c struct nft_quota *priv = nft_expr_priv(expr); expr 23 net/netfilter/nft_range.c void nft_range_eval(const struct nft_expr *expr, expr 26 net/netfilter/nft_range.c const struct nft_range_expr *priv = nft_expr_priv(expr); expr 50 net/netfilter/nft_range.c static int nft_range_init(const struct nft_ctx *ctx, const struct nft_expr *expr, expr 53 net/netfilter/nft_range.c struct nft_range_expr *priv = nft_expr_priv(expr); expr 117 net/netfilter/nft_range.c static int nft_range_dump(struct sk_buff *skb, const struct nft_expr *expr) expr 119 net/netfilter/nft_range.c const struct nft_range_expr *priv = nft_expr_priv(expr); expr 29 net/netfilter/nft_redir.c const struct nft_expr *expr, expr 44 net/netfilter/nft_redir.c const struct nft_expr *expr, expr 47 net/netfilter/nft_redir.c struct nft_redir *priv = nft_expr_priv(expr); expr 82 net/netfilter/nft_redir.c static int nft_redir_dump(struct sk_buff *skb, const struct nft_expr *expr) expr 84 net/netfilter/nft_redir.c const struct nft_redir *priv = nft_expr_priv(expr); expr 105 net/netfilter/nft_redir.c static void nft_redir_ipv4_eval(const struct nft_expr *expr, expr 109 net/netfilter/nft_redir.c struct nft_redir *priv = nft_expr_priv(expr); expr 127 net/netfilter/nft_redir.c nft_redir_ipv4_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) expr 153 net/netfilter/nft_redir.c static void nft_redir_ipv6_eval(const struct nft_expr *expr, expr 157 net/netfilter/nft_redir.c struct nft_redir *priv = nft_expr_priv(expr); expr 176 net/netfilter/nft_redir.c nft_redir_ipv6_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) expr 203 net/netfilter/nft_redir.c static void nft_redir_inet_eval(const struct nft_expr *expr, expr 209 net/netfilter/nft_redir.c return nft_redir_ipv4_eval(expr, regs, pkt); expr 211 net/netfilter/nft_redir.c return nft_redir_ipv6_eval(expr, regs, pkt); expr 218 net/netfilter/nft_redir.c nft_redir_inet_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) expr 27 net/netfilter/nft_reject.c const struct nft_expr *expr, expr 38 net/netfilter/nft_reject.c const struct nft_expr *expr, expr 41 net/netfilter/nft_reject.c struct nft_reject *priv = nft_expr_priv(expr); expr 62 net/netfilter/nft_reject.c int nft_reject_dump(struct sk_buff *skb, const struct nft_expr *expr) expr 64 net/netfilter/nft_reject.c const struct nft_reject *priv = nft_expr_priv(expr); expr 17 net/netfilter/nft_reject_inet.c static void nft_reject_inet_eval(const struct nft_expr *expr, expr 21 net/netfilter/nft_reject_inet.c struct nft_reject *priv = nft_expr_priv(expr); expr 62 net/netfilter/nft_reject_inet.c const struct nft_expr *expr, expr 65 net/netfilter/nft_reject_inet.c struct nft_reject *priv = nft_expr_priv(expr); expr 94 net/netfilter/nft_reject_inet.c const struct nft_expr *expr) expr 96 net/netfilter/nft_reject_inet.c const struct nft_reject *priv = nft_expr_priv(expr); expr 53 net/netfilter/nft_rt.c void nft_rt_get_eval(const struct nft_expr *expr, expr 57 net/netfilter/nft_rt.c const struct nft_rt *priv = nft_expr_priv(expr); expr 111 net/netfilter/nft_rt.c const struct nft_expr *expr, expr 114 net/netfilter/nft_rt.c struct nft_rt *priv = nft_expr_priv(expr); expr 150 net/netfilter/nft_rt.c const struct nft_expr *expr) expr 152 net/netfilter/nft_rt.c const struct nft_rt *priv = nft_expr_priv(expr); expr 164 net/netfilter/nft_rt.c static int nft_rt_validate(const struct nft_ctx *ctx, const struct nft_expr *expr, expr 167 net/netfilter/nft_rt.c const struct nft_rt *priv = nft_expr_priv(expr); expr 117 net/netfilter/nft_set_hash.c const struct nft_expr *expr, expr 133 net/netfilter/nft_set_hash.c he = new(set, expr, regs); expr 318 net/netfilter/nft_set_hash.c struct nft_expr *expr = nft_set_ext_expr(&he->ext); expr 320 net/netfilter/nft_set_hash.c if (expr->ops->gc && expr 321 net/netfilter/nft_set_hash.c expr->ops->gc(read_pnet(&set->net), expr)) expr 17 net/netfilter/nft_socket.c static void nft_socket_eval(const struct nft_expr *expr, expr 21 net/netfilter/nft_socket.c const struct nft_socket *priv = nft_expr_priv(expr); expr 77 net/netfilter/nft_socket.c const struct nft_expr *expr, expr 80 net/netfilter/nft_socket.c struct nft_socket *priv = nft_expr_priv(expr); expr 115 net/netfilter/nft_socket.c const struct nft_expr *expr) expr 117 net/netfilter/nft_socket.c const struct nft_socket *priv = nft_expr_priv(expr); expr 241 net/netfilter/nft_synproxy.c static void nft_synproxy_eval(const struct nft_expr *expr, expr 245 net/netfilter/nft_synproxy.c const struct nft_synproxy *priv = nft_expr_priv(expr); expr 251 net/netfilter/nft_synproxy.c const struct nft_expr *expr, expr 259 net/netfilter/nft_synproxy.c const struct nft_expr *expr, expr 262 net/netfilter/nft_synproxy.c struct nft_synproxy *priv = nft_expr_priv(expr); expr 268 net/netfilter/nft_synproxy.c const struct nft_expr *expr) expr 273 net/netfilter/nft_synproxy.c static int nft_synproxy_dump(struct sk_buff *skb, const struct nft_expr *expr) expr 275 net/netfilter/nft_synproxy.c struct nft_synproxy *priv = nft_expr_priv(expr); expr 21 net/netfilter/nft_tproxy.c static void nft_tproxy_eval_v4(const struct nft_expr *expr, expr 25 net/netfilter/nft_tproxy.c const struct nft_tproxy *priv = nft_expr_priv(expr); expr 78 net/netfilter/nft_tproxy.c static void nft_tproxy_eval_v6(const struct nft_expr *expr, expr 82 net/netfilter/nft_tproxy.c const struct nft_tproxy *priv = nft_expr_priv(expr); expr 150 net/netfilter/nft_tproxy.c static void nft_tproxy_eval(const struct nft_expr *expr, expr 154 net/netfilter/nft_tproxy.c const struct nft_tproxy *priv = nft_expr_priv(expr); expr 161 net/netfilter/nft_tproxy.c nft_tproxy_eval_v4(expr, regs, pkt); expr 170 net/netfilter/nft_tproxy.c nft_tproxy_eval_v6(expr, regs, pkt); expr 185 net/netfilter/nft_tproxy.c const struct nft_expr *expr, expr 188 net/netfilter/nft_tproxy.c struct nft_tproxy *priv = nft_expr_priv(expr); expr 267 net/netfilter/nft_tproxy.c const struct nft_expr *expr) expr 269 net/netfilter/nft_tproxy.c const struct nft_tproxy *priv = nft_expr_priv(expr); expr 21 net/netfilter/nft_tunnel.c static void nft_tunnel_get_eval(const struct nft_expr *expr, expr 25 net/netfilter/nft_tunnel.c const struct nft_tunnel *priv = nft_expr_priv(expr); expr 73 net/netfilter/nft_tunnel.c const struct nft_expr *expr, expr 76 net/netfilter/nft_tunnel.c struct nft_tunnel *priv = nft_expr_priv(expr); expr 110 net/netfilter/nft_tunnel.c const struct nft_expr *expr) expr 112 net/netfilter/nft_tunnel.c const struct nft_tunnel *priv = nft_expr_priv(expr); expr 33 net/netfilter/nft_xfrm.c const struct nft_expr *expr, expr 36 net/netfilter/nft_xfrm.c struct nft_xfrm *priv = nft_expr_priv(expr); expr 193 net/netfilter/nft_xfrm.c static void nft_xfrm_get_eval(const struct nft_expr *expr, expr 197 net/netfilter/nft_xfrm.c const struct nft_xfrm *priv = nft_expr_priv(expr); expr 214 net/netfilter/nft_xfrm.c const struct nft_expr *expr) expr 216 net/netfilter/nft_xfrm.c const struct nft_xfrm *priv = nft_expr_priv(expr); expr 231 net/netfilter/nft_xfrm.c static int nft_xfrm_validate(const struct nft_ctx *ctx, const struct nft_expr *expr, expr 234 net/netfilter/nft_xfrm.c const struct nft_xfrm *priv = nft_expr_priv(expr); expr 205 scripts/genksyms/genksyms.c struct string_list *expr; expr 210 scripts/genksyms/genksyms.c expr = copy_list_range(last_enum_expr, NULL); expr 212 scripts/genksyms/genksyms.c expr, expr 478 scripts/genksyms/parse.y struct string_list *expr = copy_list_range(*$3, *$2); expr 479 scripts/genksyms/parse.y add_symbol(name, SYM_ENUM_CONST, expr, 0); expr 373 scripts/kconfig/confdata.c if (expr_calc_value(prop->visible.expr) == no || expr 374 scripts/kconfig/confdata.c prop->expr->type != E_SYMBOL) expr 376 scripts/kconfig/confdata.c sym_calc_value(prop->expr->left.sym); expr 377 scripts/kconfig/confdata.c name = sym_get_string_value(prop->expr->left.sym); expr 1174 scripts/kconfig/confdata.c struct expr *e; expr 1189 scripts/kconfig/confdata.c expr_list_for_each_sym(prop->expr, e, sym) expr 1199 scripts/kconfig/confdata.c expr_list_for_each_sym(prop->expr, e, sym) { expr 1222 scripts/kconfig/confdata.c struct expr *e; expr 1229 scripts/kconfig/confdata.c expr_list_for_each_sym(prop->expr, e, sym) { expr 16 scripts/kconfig/expr.c static int expr_eq(struct expr *e1, struct expr *e2); expr 17 scripts/kconfig/expr.c static struct expr *expr_eliminate_yn(struct expr *e); expr 19 scripts/kconfig/expr.c struct expr *expr_alloc_symbol(struct symbol *sym) expr 21 scripts/kconfig/expr.c struct expr *e = xcalloc(1, sizeof(*e)); expr 27 scripts/kconfig/expr.c struct expr *expr_alloc_one(enum expr_type type, struct expr *ce) expr 29 scripts/kconfig/expr.c struct expr *e = xcalloc(1, sizeof(*e)); expr 31 scripts/kconfig/expr.c e->left.expr = ce; expr 35 scripts/kconfig/expr.c struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2) expr 37 scripts/kconfig/expr.c struct expr *e = xcalloc(1, sizeof(*e)); expr 39 scripts/kconfig/expr.c e->left.expr = e1; expr 40 scripts/kconfig/expr.c e->right.expr = e2; expr 44 scripts/kconfig/expr.c struct expr *expr_alloc_comp(enum expr_type type, struct symbol *s1, struct symbol *s2) expr 46 scripts/kconfig/expr.c struct expr *e = xcalloc(1, sizeof(*e)); expr 53 scripts/kconfig/expr.c struct expr *expr_alloc_and(struct expr *e1, struct expr *e2) expr 60 scripts/kconfig/expr.c struct expr *expr_alloc_or(struct expr *e1, struct expr *e2) expr 67 scripts/kconfig/expr.c struct expr *expr_copy(const struct expr *org) expr 69 scripts/kconfig/expr.c struct expr *e; expr 81 scripts/kconfig/expr.c e->left.expr = expr_copy(org->left.expr); expr 95 scripts/kconfig/expr.c e->left.expr = expr_copy(org->left.expr); expr 96 scripts/kconfig/expr.c e->right.expr = expr_copy(org->right.expr); expr 108 scripts/kconfig/expr.c void expr_free(struct expr *e) expr 117 scripts/kconfig/expr.c expr_free(e->left.expr); expr 128 scripts/kconfig/expr.c expr_free(e->left.expr); expr 129 scripts/kconfig/expr.c expr_free(e->right.expr); expr 151 scripts/kconfig/expr.c static void __expr_eliminate_eq(enum expr_type type, struct expr **ep1, struct expr **ep2) expr 156 scripts/kconfig/expr.c __expr_eliminate_eq(type, &e1->left.expr, &e2); expr 157 scripts/kconfig/expr.c __expr_eliminate_eq(type, &e1->right.expr, &e2); expr 161 scripts/kconfig/expr.c __expr_eliminate_eq(type, &e1, &e2->left.expr); expr 162 scripts/kconfig/expr.c __expr_eliminate_eq(type, &e1, &e2->right.expr); expr 222 scripts/kconfig/expr.c void expr_eliminate_eq(struct expr **ep1, struct expr **ep2) expr 253 scripts/kconfig/expr.c static int expr_eq(struct expr *e1, struct expr *e2) expr 277 scripts/kconfig/expr.c return expr_eq(e1->left.expr, e2->left.expr); expr 317 scripts/kconfig/expr.c static struct expr *expr_eliminate_yn(struct expr *e) expr 319 scripts/kconfig/expr.c struct expr *tmp; expr 323 scripts/kconfig/expr.c e->left.expr = expr_eliminate_yn(e->left.expr); expr 324 scripts/kconfig/expr.c e->right.expr = expr_eliminate_yn(e->right.expr); expr 325 scripts/kconfig/expr.c if (e->left.expr->type == E_SYMBOL) { expr 326 scripts/kconfig/expr.c if (e->left.expr->left.sym == &symbol_no) { expr 327 scripts/kconfig/expr.c expr_free(e->left.expr); expr 328 scripts/kconfig/expr.c expr_free(e->right.expr); expr 331 scripts/kconfig/expr.c e->right.expr = NULL; expr 333 scripts/kconfig/expr.c } else if (e->left.expr->left.sym == &symbol_yes) { expr 334 scripts/kconfig/expr.c free(e->left.expr); expr 335 scripts/kconfig/expr.c tmp = e->right.expr; expr 336 scripts/kconfig/expr.c *e = *(e->right.expr); expr 341 scripts/kconfig/expr.c if (e->right.expr->type == E_SYMBOL) { expr 342 scripts/kconfig/expr.c if (e->right.expr->left.sym == &symbol_no) { expr 343 scripts/kconfig/expr.c expr_free(e->left.expr); expr 344 scripts/kconfig/expr.c expr_free(e->right.expr); expr 347 scripts/kconfig/expr.c e->right.expr = NULL; expr 349 scripts/kconfig/expr.c } else if (e->right.expr->left.sym == &symbol_yes) { expr 350 scripts/kconfig/expr.c free(e->right.expr); expr 351 scripts/kconfig/expr.c tmp = e->left.expr; expr 352 scripts/kconfig/expr.c *e = *(e->left.expr); expr 359 scripts/kconfig/expr.c e->left.expr = expr_eliminate_yn(e->left.expr); expr 360 scripts/kconfig/expr.c e->right.expr = expr_eliminate_yn(e->right.expr); expr 361 scripts/kconfig/expr.c if (e->left.expr->type == E_SYMBOL) { expr 362 scripts/kconfig/expr.c if (e->left.expr->left.sym == &symbol_no) { expr 363 scripts/kconfig/expr.c free(e->left.expr); expr 364 scripts/kconfig/expr.c tmp = e->right.expr; expr 365 scripts/kconfig/expr.c *e = *(e->right.expr); expr 368 scripts/kconfig/expr.c } else if (e->left.expr->left.sym == &symbol_yes) { expr 369 scripts/kconfig/expr.c expr_free(e->left.expr); expr 370 scripts/kconfig/expr.c expr_free(e->right.expr); expr 373 scripts/kconfig/expr.c e->right.expr = NULL; expr 377 scripts/kconfig/expr.c if (e->right.expr->type == E_SYMBOL) { expr 378 scripts/kconfig/expr.c if (e->right.expr->left.sym == &symbol_no) { expr 379 scripts/kconfig/expr.c free(e->right.expr); expr 380 scripts/kconfig/expr.c tmp = e->left.expr; expr 381 scripts/kconfig/expr.c *e = *(e->left.expr); expr 384 scripts/kconfig/expr.c } else if (e->right.expr->left.sym == &symbol_yes) { expr 385 scripts/kconfig/expr.c expr_free(e->left.expr); expr 386 scripts/kconfig/expr.c expr_free(e->right.expr); expr 389 scripts/kconfig/expr.c e->right.expr = NULL; expr 403 scripts/kconfig/expr.c struct expr *expr_trans_bool(struct expr *e) expr 411 scripts/kconfig/expr.c e->left.expr = expr_trans_bool(e->left.expr); expr 412 scripts/kconfig/expr.c e->right.expr = expr_trans_bool(e->right.expr); expr 432 scripts/kconfig/expr.c static struct expr *expr_join_or(struct expr *e1, struct expr *e2) expr 434 scripts/kconfig/expr.c struct expr *tmp; expr 444 scripts/kconfig/expr.c tmp = e1->left.expr; expr 451 scripts/kconfig/expr.c if (e2->left.expr->type != E_SYMBOL) expr 453 scripts/kconfig/expr.c sym2 = e2->left.expr->left.sym; expr 481 scripts/kconfig/expr.c if ((e1->type == E_NOT && e1->left.expr->type == E_SYMBOL && e2->type == E_SYMBOL) || expr 482 scripts/kconfig/expr.c (e2->type == E_NOT && e2->left.expr->type == E_SYMBOL && e1->type == E_SYMBOL)) expr 496 scripts/kconfig/expr.c static struct expr *expr_join_and(struct expr *e1, struct expr *e2) expr 498 scripts/kconfig/expr.c struct expr *tmp; expr 508 scripts/kconfig/expr.c tmp = e1->left.expr; expr 515 scripts/kconfig/expr.c if (e2->left.expr->type != E_SYMBOL) expr 517 scripts/kconfig/expr.c sym2 = e2->left.expr->left.sym; expr 597 scripts/kconfig/expr.c static void expr_eliminate_dups1(enum expr_type type, struct expr **ep1, struct expr **ep2) expr 601 scripts/kconfig/expr.c struct expr *tmp; expr 606 scripts/kconfig/expr.c expr_eliminate_dups1(type, &e1->left.expr, &e2); expr 607 scripts/kconfig/expr.c expr_eliminate_dups1(type, &e1->right.expr, &e2); expr 611 scripts/kconfig/expr.c expr_eliminate_dups1(type, &e1, &e2->left.expr); expr 612 scripts/kconfig/expr.c expr_eliminate_dups1(type, &e1, &e2->right.expr); expr 665 scripts/kconfig/expr.c struct expr *expr_eliminate_dups(struct expr *e) expr 695 scripts/kconfig/expr.c struct expr *expr_transform(struct expr *e) expr 697 scripts/kconfig/expr.c struct expr *tmp; expr 712 scripts/kconfig/expr.c e->left.expr = expr_transform(e->left.expr); expr 713 scripts/kconfig/expr.c e->right.expr = expr_transform(e->right.expr); expr 722 scripts/kconfig/expr.c e->left.expr = expr_alloc_symbol(e->left.sym); expr 756 scripts/kconfig/expr.c e->left.expr = expr_alloc_symbol(e->left.sym); expr 762 scripts/kconfig/expr.c switch (e->left.expr->type) { expr 765 scripts/kconfig/expr.c tmp = e->left.expr->left.expr; expr 766 scripts/kconfig/expr.c free(e->left.expr); expr 774 scripts/kconfig/expr.c tmp = e->left.expr; expr 782 scripts/kconfig/expr.c tmp = e->left.expr; expr 790 scripts/kconfig/expr.c tmp = e->left.expr; expr 797 scripts/kconfig/expr.c tmp = e->left.expr; expr 799 scripts/kconfig/expr.c e->right.expr = expr_alloc_one(E_NOT, tmp->right.expr); expr 801 scripts/kconfig/expr.c tmp->right.expr = NULL; expr 806 scripts/kconfig/expr.c tmp = e->left.expr; expr 808 scripts/kconfig/expr.c e->right.expr = expr_alloc_one(E_NOT, tmp->right.expr); expr 810 scripts/kconfig/expr.c tmp->right.expr = NULL; expr 814 scripts/kconfig/expr.c if (e->left.expr->left.sym == &symbol_yes) { expr 816 scripts/kconfig/expr.c tmp = e->left.expr; expr 823 scripts/kconfig/expr.c if (e->left.expr->left.sym == &symbol_mod) { expr 825 scripts/kconfig/expr.c tmp = e->left.expr; expr 832 scripts/kconfig/expr.c if (e->left.expr->left.sym == &symbol_no) { expr 834 scripts/kconfig/expr.c tmp = e->left.expr; expr 852 scripts/kconfig/expr.c int expr_contains_symbol(struct expr *dep, struct symbol *sym) expr 860 scripts/kconfig/expr.c return expr_contains_symbol(dep->left.expr, sym) || expr 861 scripts/kconfig/expr.c expr_contains_symbol(dep->right.expr, sym); expr 873 scripts/kconfig/expr.c return expr_contains_symbol(dep->left.expr, sym); expr 880 scripts/kconfig/expr.c bool expr_depends_symbol(struct expr *dep, struct symbol *sym) expr 887 scripts/kconfig/expr.c return expr_depends_symbol(dep->left.expr, sym) || expr 888 scripts/kconfig/expr.c expr_depends_symbol(dep->right.expr, sym); expr 923 scripts/kconfig/expr.c struct expr *expr_trans_compare(struct expr *e, enum expr_type type, struct symbol *sym) expr 925 scripts/kconfig/expr.c struct expr *e1, *e2; expr 935 scripts/kconfig/expr.c e1 = expr_trans_compare(e->left.expr, E_EQUAL, sym); expr 936 scripts/kconfig/expr.c e2 = expr_trans_compare(e->right.expr, E_EQUAL, sym); expr 945 scripts/kconfig/expr.c e1 = expr_trans_compare(e->left.expr, E_EQUAL, sym); expr 946 scripts/kconfig/expr.c e2 = expr_trans_compare(e->right.expr, E_EQUAL, sym); expr 955 scripts/kconfig/expr.c return expr_trans_compare(e->left.expr, type == E_EQUAL ? E_UNEQUAL : E_EQUAL, sym); expr 1031 scripts/kconfig/expr.c tristate expr_calc_value(struct expr *e) expr 1047 scripts/kconfig/expr.c val1 = expr_calc_value(e->left.expr); expr 1048 scripts/kconfig/expr.c val2 = expr_calc_value(e->right.expr); expr 1051 scripts/kconfig/expr.c val1 = expr_calc_value(e->left.expr); expr 1052 scripts/kconfig/expr.c val2 = expr_calc_value(e->right.expr); expr 1055 scripts/kconfig/expr.c val1 = expr_calc_value(e->left.expr); expr 1139 scripts/kconfig/expr.c void expr_print(struct expr *e, expr 1159 scripts/kconfig/expr.c expr_print(e->left.expr, fn, data, E_NOT); expr 1196 scripts/kconfig/expr.c expr_print(e->left.expr, fn, data, E_OR); expr 1198 scripts/kconfig/expr.c expr_print(e->right.expr, fn, data, E_OR); expr 1201 scripts/kconfig/expr.c expr_print(e->left.expr, fn, data, E_AND); expr 1203 scripts/kconfig/expr.c expr_print(e->right.expr, fn, data, E_AND); expr 1207 scripts/kconfig/expr.c if (e->left.expr) { expr 1209 scripts/kconfig/expr.c expr_print(e->left.expr, fn, data, E_LIST); expr 1236 scripts/kconfig/expr.c void expr_fprint(struct expr *e, FILE *out) expr 1271 scripts/kconfig/expr.c void expr_gstr_print(struct expr *e, struct gstr *gs) expr 1281 scripts/kconfig/expr.c static void expr_print_revdep(struct expr *e, expr 1286 scripts/kconfig/expr.c expr_print_revdep(e->left.expr, fn, data, pr_type, title); expr 1287 scripts/kconfig/expr.c expr_print_revdep(e->right.expr, fn, data, pr_type, title); expr 1300 scripts/kconfig/expr.c void expr_gstr_print_revdep(struct expr *e, struct gstr *gs, expr 38 scripts/kconfig/expr.h struct expr *expr; expr 52 scripts/kconfig/expr.h for (e = (l); e && (s = e->right.sym); e = e->left.expr) expr 55 scripts/kconfig/expr.h struct expr *expr; expr 198 scripts/kconfig/expr.h struct expr *expr; /* the optional conditional part of the property */ expr 248 scripts/kconfig/expr.h struct expr *visibility; expr 254 scripts/kconfig/expr.h struct expr *dep; expr 295 scripts/kconfig/expr.h struct expr *expr_alloc_symbol(struct symbol *sym); expr 296 scripts/kconfig/expr.h struct expr *expr_alloc_one(enum expr_type type, struct expr *ce); expr 297 scripts/kconfig/expr.h struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2); expr 298 scripts/kconfig/expr.h struct expr *expr_alloc_comp(enum expr_type type, struct symbol *s1, struct symbol *s2); expr 299 scripts/kconfig/expr.h struct expr *expr_alloc_and(struct expr *e1, struct expr *e2); expr 300 scripts/kconfig/expr.h struct expr *expr_alloc_or(struct expr *e1, struct expr *e2); expr 301 scripts/kconfig/expr.h struct expr *expr_copy(const struct expr *org); expr 302 scripts/kconfig/expr.h void expr_free(struct expr *e); expr 303 scripts/kconfig/expr.h void expr_eliminate_eq(struct expr **ep1, struct expr **ep2); expr 304 scripts/kconfig/expr.h tristate expr_calc_value(struct expr *e); expr 305 scripts/kconfig/expr.h struct expr *expr_trans_bool(struct expr *e); expr 306 scripts/kconfig/expr.h struct expr *expr_eliminate_dups(struct expr *e); expr 307 scripts/kconfig/expr.h struct expr *expr_transform(struct expr *e); expr 308 scripts/kconfig/expr.h int expr_contains_symbol(struct expr *dep, struct symbol *sym); expr 309 scripts/kconfig/expr.h bool expr_depends_symbol(struct expr *dep, struct symbol *sym); expr 310 scripts/kconfig/expr.h struct expr *expr_trans_compare(struct expr *e, enum expr_type type, struct symbol *sym); expr 312 scripts/kconfig/expr.h void expr_fprint(struct expr *e, FILE *out); expr 314 scripts/kconfig/expr.h void expr_gstr_print(struct expr *e, struct gstr *gs); expr 315 scripts/kconfig/expr.h void expr_gstr_print_revdep(struct expr *e, struct gstr *gs, expr 318 scripts/kconfig/expr.h static inline int expr_is_yes(struct expr *e) expr 323 scripts/kconfig/expr.h static inline int expr_is_no(struct expr *e) expr 72 scripts/kconfig/lkc.h void menu_add_dep(struct expr *dep); expr 73 scripts/kconfig/lkc.h void menu_add_visibility(struct expr *dep); expr 74 scripts/kconfig/lkc.h struct property *menu_add_prompt(enum prop_type type, char *prompt, struct expr *dep); expr 75 scripts/kconfig/lkc.h void menu_add_expr(enum prop_type type, struct expr *expr, struct expr *dep); expr 76 scripts/kconfig/lkc.h void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep); expr 65 scripts/kconfig/lkc_proto.h void expr_print(struct expr *e, void (*fn)(void *, struct symbol *, const char *), void *data, int prevtoken); expr 81 scripts/kconfig/menu.c static struct expr *rewrite_m(struct expr *e) expr 88 scripts/kconfig/menu.c e->left.expr = rewrite_m(e->left.expr); expr 92 scripts/kconfig/menu.c e->left.expr = rewrite_m(e->left.expr); expr 93 scripts/kconfig/menu.c e->right.expr = rewrite_m(e->right.expr); expr 106 scripts/kconfig/menu.c void menu_add_dep(struct expr *dep) expr 127 scripts/kconfig/menu.c static struct property *menu_add_prop(enum prop_type type, char *prompt, struct expr *expr, struct expr *dep) expr 132 scripts/kconfig/menu.c prop->expr = expr; expr 133 scripts/kconfig/menu.c prop->visible.expr = dep; expr 149 scripts/kconfig/menu.c struct expr *dup_expr; expr 164 scripts/kconfig/menu.c prop->visible.expr expr 165 scripts/kconfig/menu.c = expr_alloc_and(prop->visible.expr, expr 177 scripts/kconfig/menu.c struct property *menu_add_prompt(enum prop_type type, char *prompt, struct expr *dep) expr 182 scripts/kconfig/menu.c void menu_add_visibility(struct expr *expr) expr 185 scripts/kconfig/menu.c expr); expr 188 scripts/kconfig/menu.c void menu_add_expr(enum prop_type type, struct expr *expr, struct expr *dep) expr 190 scripts/kconfig/menu.c menu_add_prop(type, NULL, expr, dep); expr 193 scripts/kconfig/menu.c void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep) expr 236 scripts/kconfig/menu.c prop->expr->type != E_SYMBOL) expr 240 scripts/kconfig/menu.c if (prop->expr->type != E_SYMBOL) expr 280 scripts/kconfig/menu.c if (!menu_validate_number(sym, prop->expr->left.sym) || expr 281 scripts/kconfig/menu.c !menu_validate_number(sym, prop->expr->right.sym)) expr 295 scripts/kconfig/menu.c struct expr *parentdep, *basedep, *dep, *dep2, **ep; expr 331 scripts/kconfig/menu.c parentdep = parent->prompt->visible.expr; expr 386 scripts/kconfig/menu.c dep = rewrite_m(prop->visible.expr); expr 392 scripts/kconfig/menu.c prop->visible.expr = dep; expr 400 scripts/kconfig/menu.c es->rev_dep.expr = expr_alloc_or(es->rev_dep.expr, expr 404 scripts/kconfig/menu.c es->implied.expr = expr_alloc_or(es->implied.expr, expr 442 scripts/kconfig/menu.c basedep = parent->prompt ? parent->prompt->visible.expr : NULL; expr 449 scripts/kconfig/menu.c dep = menu->prompt ? menu->prompt->visible.expr : menu->dep; expr 490 scripts/kconfig/menu.c sym->dir_dep.expr = expr_alloc_or(sym->dir_dep.expr, parent->dep); expr 521 scripts/kconfig/menu.c prop->visible.expr = expr_alloc_and(expr_copy(basedep), expr 522 scripts/kconfig/menu.c prop->visible.expr); expr 527 scripts/kconfig/menu.c for (ep = &prop->expr; *ep; ep = &(*ep)->left.expr) expr 595 scripts/kconfig/menu.c sym->rev_dep.expr = expr_alloc_or(sym->rev_dep.expr, expr 596 scripts/kconfig/menu.c expr_alloc_and(parent->prompt->visible.expr, expr 643 scripts/kconfig/menu.c visible = menu->prompt->visible.tri = expr_calc_value(menu->prompt->visible.expr); expr 782 scripts/kconfig/menu.c expr_gstr_print(prop->expr, r); expr 804 scripts/kconfig/menu.c expr_gstr_print(prop->expr, r); expr 816 scripts/kconfig/menu.c if (!expr_is_yes(prop->visible.expr)) { expr 818 scripts/kconfig/menu.c expr_gstr_print(prop->visible.expr, r); expr 824 scripts/kconfig/menu.c if (sym->rev_dep.expr) { expr 825 scripts/kconfig/menu.c expr_gstr_print_revdep(sym->rev_dep.expr, r, yes, " Selected by [y]:\n"); expr 826 scripts/kconfig/menu.c expr_gstr_print_revdep(sym->rev_dep.expr, r, mod, " Selected by [m]:\n"); expr 827 scripts/kconfig/menu.c expr_gstr_print_revdep(sym->rev_dep.expr, r, no, " Selected by [n]:\n"); expr 831 scripts/kconfig/menu.c if (sym->implied.expr) { expr 832 scripts/kconfig/menu.c expr_gstr_print_revdep(sym->implied.expr, r, yes, " Implied by [y]:\n"); expr 833 scripts/kconfig/menu.c expr_gstr_print_revdep(sym->implied.expr, r, mod, " Implied by [m]:\n"); expr 834 scripts/kconfig/menu.c expr_gstr_print_revdep(sym->implied.expr, r, no, " Implied by [n]:\n"); expr 39 scripts/kconfig/parser.y struct expr *expr; expr 97 scripts/kconfig/parser.y %type <expr> expr expr 98 scripts/kconfig/parser.y %type <expr> if_expr expr 190 scripts/kconfig/parser.y config_option: default expr if_expr T_EOL expr 316 scripts/kconfig/parser.y if_entry: T_IF expr T_EOL expr 416 scripts/kconfig/parser.y depends: T_DEPENDS T_ON expr T_EOL expr 447 scripts/kconfig/parser.y | T_IF expr { $$ = $2; } expr 450 scripts/kconfig/parser.y expr: symbol { $$ = expr_alloc_symbol($1); } expr 457 scripts/kconfig/parser.y | T_OPEN_PAREN expr T_CLOSE_PAREN { $$ = $2; } expr 458 scripts/kconfig/parser.y | T_NOT expr { $$ = expr_alloc_one(E_NOT, $2); } expr 459 scripts/kconfig/parser.y | expr T_OR expr { $$ = expr_alloc_two(E_OR, $1, $3); } expr 460 scripts/kconfig/parser.y | expr T_AND expr { $$ = expr_alloc_two(E_AND, $1, $3); } expr 628 scripts/kconfig/parser.y if (!expr_is_yes(prop->visible.expr)) { expr 630 scripts/kconfig/parser.y expr_fprint(prop->visible.expr, out); expr 636 scripts/kconfig/parser.y expr_fprint(prop->expr, out); expr 637 scripts/kconfig/parser.y if (!expr_is_yes(prop->visible.expr)) { expr 639 scripts/kconfig/parser.y expr_fprint(prop->visible.expr, out); expr 648 scripts/kconfig/parser.y expr_fprint(prop->expr, out); expr 653 scripts/kconfig/parser.y expr_fprint(prop->expr, out); expr 658 scripts/kconfig/parser.y expr_fprint(prop->expr, out); expr 708 scripts/kconfig/parser.y if (!expr_is_yes(prop->visible.expr)) { expr 710 scripts/kconfig/parser.y expr_fprint(prop->visible.expr, out); expr 110 scripts/kconfig/qconf.cc tristate expr; expr 162 scripts/kconfig/qconf.cc expr = sym_get_tristate_value(sym); expr 163 scripts/kconfig/qconf.cc switch (expr) { expr 186 scripts/kconfig/qconf.cc if (expr != no) expr 188 scripts/kconfig/qconf.cc if (expr != mod) expr 190 scripts/kconfig/qconf.cc if (expr != yes) expr 1114 scripts/kconfig/qconf.cc if (_menu->prompt->visible.expr) { expr 1116 scripts/kconfig/qconf.cc expr_print(_menu->prompt->visible.expr, expr_print_help, &debug, E_NONE); expr 1136 scripts/kconfig/qconf.cc if (sym->rev_dep.expr) { expr 1138 scripts/kconfig/qconf.cc expr_print(sym->rev_dep.expr, expr_print_help, &debug, E_NONE); expr 1154 scripts/kconfig/qconf.cc expr_print(prop->expr, expr_print_help, &debug, E_NONE); expr 1160 scripts/kconfig/qconf.cc expr_print(prop->expr, expr_print_help, &debug, E_NONE); expr 1169 scripts/kconfig/qconf.cc if (prop->visible.expr) { expr 1171 scripts/kconfig/qconf.cc expr_print(prop->visible.expr, expr_print_help, &debug, E_NONE); expr 82 scripts/kconfig/symbol.c prop->visible.tri = expr_calc_value(prop->visible.expr); expr 94 scripts/kconfig/symbol.c prop->visible.tri = expr_calc_value(prop->visible.expr); expr 138 scripts/kconfig/symbol.c val2 = sym_get_range_val(prop->expr->left.sym, base); expr 140 scripts/kconfig/symbol.c val2 = sym_get_range_val(prop->expr->right.sym, base); expr 184 scripts/kconfig/symbol.c prop->visible.tri = expr_calc_value(prop->visible.expr); expr 206 scripts/kconfig/symbol.c if (sym->dir_dep.expr) expr 207 scripts/kconfig/symbol.c tri = expr_calc_value(sym->dir_dep.expr); expr 215 scripts/kconfig/symbol.c if (sym->rev_dep.expr) expr 216 scripts/kconfig/symbol.c tri = expr_calc_value(sym->rev_dep.expr); expr 224 scripts/kconfig/symbol.c if (sym->implied.expr && sym->dir_dep.tri != no) expr 225 scripts/kconfig/symbol.c tri = expr_calc_value(sym->implied.expr); expr 244 scripts/kconfig/symbol.c struct expr *e; expr 248 scripts/kconfig/symbol.c prop->visible.tri = expr_calc_value(prop->visible.expr); expr 258 scripts/kconfig/symbol.c expr_list_for_each_sym(prop->expr, e, def_sym) expr 270 scripts/kconfig/symbol.c struct expr *e; expr 276 scripts/kconfig/symbol.c expr_list_for_each_sym(prop->expr, e, def_sym) { expr 308 scripts/kconfig/symbol.c expr_gstr_print(sym->dir_dep.expr, &gs); expr 311 scripts/kconfig/symbol.c expr_gstr_print_revdep(sym->rev_dep.expr, &gs, yes, expr 313 scripts/kconfig/symbol.c expr_gstr_print_revdep(sym->rev_dep.expr, &gs, mod, expr 323 scripts/kconfig/symbol.c struct expr *e; expr 389 scripts/kconfig/symbol.c newval.tri = EXPR_AND(expr_calc_value(prop->expr), expr 446 scripts/kconfig/symbol.c expr_list_for_each_sym(prop->expr, e, choice_sym) { expr 512 scripts/kconfig/symbol.c struct expr *e; expr 517 scripts/kconfig/symbol.c for (e = prop->expr; e; e = e->left.expr) { expr 611 scripts/kconfig/symbol.c return val >= sym_get_range_val(prop->expr->left.sym, 10) && expr 612 scripts/kconfig/symbol.c val <= sym_get_range_val(prop->expr->right.sym, 10); expr 620 scripts/kconfig/symbol.c return val >= sym_get_range_val(prop->expr->left.sym, 16) && expr 621 scripts/kconfig/symbol.c val <= sym_get_range_val(prop->expr->right.sym, 16); expr 713 scripts/kconfig/symbol.c val = EXPR_AND(expr_calc_value(prop->expr), prop->visible.tri); expr 1011 scripts/kconfig/symbol.c struct expr **expr; expr 1086 scripts/kconfig/symbol.c } else if (stack->expr == &sym->dir_dep.expr) { expr 1091 scripts/kconfig/symbol.c } else if (stack->expr == &sym->rev_dep.expr) { expr 1096 scripts/kconfig/symbol.c } else if (stack->expr == &sym->implied.expr) { expr 1101 scripts/kconfig/symbol.c } else if (stack->expr) { expr 1125 scripts/kconfig/symbol.c static struct symbol *sym_check_expr_deps(struct expr *e) expr 1134 scripts/kconfig/symbol.c sym = sym_check_expr_deps(e->left.expr); expr 1137 scripts/kconfig/symbol.c return sym_check_expr_deps(e->right.expr); expr 1139 scripts/kconfig/symbol.c return sym_check_expr_deps(e->left.expr); expr 1168 scripts/kconfig/symbol.c stack.expr = &sym->dir_dep.expr; expr 1169 scripts/kconfig/symbol.c sym2 = sym_check_expr_deps(sym->dir_dep.expr); expr 1173 scripts/kconfig/symbol.c stack.expr = &sym->rev_dep.expr; expr 1174 scripts/kconfig/symbol.c sym2 = sym_check_expr_deps(sym->rev_dep.expr); expr 1178 scripts/kconfig/symbol.c stack.expr = &sym->implied.expr; expr 1179 scripts/kconfig/symbol.c sym2 = sym_check_expr_deps(sym->implied.expr); expr 1183 scripts/kconfig/symbol.c stack.expr = NULL; expr 1190 scripts/kconfig/symbol.c sym2 = sym_check_expr_deps(prop->visible.expr); expr 1195 scripts/kconfig/symbol.c stack.expr = &prop->expr; expr 1196 scripts/kconfig/symbol.c sym2 = sym_check_expr_deps(prop->expr); expr 1199 scripts/kconfig/symbol.c stack.expr = NULL; expr 1212 scripts/kconfig/symbol.c struct expr *e; expr 1218 scripts/kconfig/symbol.c expr_list_for_each_sym(prop->expr, e, sym) expr 1227 scripts/kconfig/symbol.c expr_list_for_each_sym(prop->expr, e, sym) { expr 1233 scripts/kconfig/symbol.c expr_list_for_each_sym(prop->expr, e, sym) expr 1300 scripts/kconfig/symbol.c if (prop->expr && (prop->expr->type == E_SYMBOL || expr 1301 scripts/kconfig/symbol.c prop->expr->type == E_LIST)) expr 1302 scripts/kconfig/symbol.c return prop->expr->left.sym; expr 114 scripts/mod/modpost.c void *do_nofail(void *ptr, const char *expr) expr 117 scripts/mod/modpost.c fatal("modpost: Memory allocation failure: %s.\n", expr); expr 98 scripts/mod/modpost.h void *do_nofail(void *ptr, const char *expr); expr 24 security/selinux/ss/conditional.c static int cond_evaluate_expr(struct policydb *p, struct cond_expr *expr) expr 31 security/selinux/ss/conditional.c for (cur = expr; cur; cur = cur->next) { expr 93 security/selinux/ss/conditional.c new_state = cond_evaluate_expr(p, node->expr); expr 145 security/selinux/ss/conditional.c for (cur_expr = node->expr; cur_expr; cur_expr = next_expr) { expr 381 security/selinux/ss/conditional.c static int expr_isvalid(struct policydb *p, struct cond_expr *expr) expr 383 security/selinux/ss/conditional.c if (expr->expr_type <= 0 || expr->expr_type > COND_LAST) { expr 388 security/selinux/ss/conditional.c if (expr->bool > p->p_bools.nprim) { expr 400 security/selinux/ss/conditional.c struct cond_expr *expr = NULL, *last = NULL; expr 417 security/selinux/ss/conditional.c expr = kzalloc(sizeof(*expr), GFP_KERNEL); expr 418 security/selinux/ss/conditional.c if (!expr) expr 421 security/selinux/ss/conditional.c expr->expr_type = le32_to_cpu(buf[0]); expr 422 security/selinux/ss/conditional.c expr->bool = le32_to_cpu(buf[1]); expr 424 security/selinux/ss/conditional.c if (!expr_isvalid(p, expr)) { expr 426 security/selinux/ss/conditional.c kfree(expr); expr 431 security/selinux/ss/conditional.c node->expr = expr; expr 433 security/selinux/ss/conditional.c last->next = expr; expr 434 security/selinux/ss/conditional.c last = expr; expr 563 security/selinux/ss/conditional.c for (cur_expr = node->expr; cur_expr != NULL; cur_expr = cur_expr->next) expr 571 security/selinux/ss/conditional.c for (cur_expr = node->expr; cur_expr != NULL; cur_expr = cur_expr->next) { expr 55 security/selinux/ss/conditional.h struct cond_expr *expr; expr 59 security/selinux/ss/constraint.h struct constraint_expr *expr; /* constraint on permissions */ expr 206 security/selinux/ss/policydb.c static void constraint_expr_destroy(struct constraint_expr *expr) expr 208 security/selinux/ss/policydb.c if (expr) { expr 209 security/selinux/ss/policydb.c ebitmap_destroy(&expr->names); expr 210 security/selinux/ss/policydb.c if (expr->type_names) { expr 211 security/selinux/ss/policydb.c ebitmap_destroy(&expr->type_names->types); expr 212 security/selinux/ss/policydb.c ebitmap_destroy(&expr->type_names->negset); expr 213 security/selinux/ss/policydb.c kfree(expr->type_names); expr 215 security/selinux/ss/policydb.c kfree(expr); expr 232 security/selinux/ss/policydb.c e = constraint->expr; expr 245 security/selinux/ss/policydb.c e = constraint->expr; expr 1220 security/selinux/ss/policydb.c c->expr = e; expr 2817 security/selinux/ss/policydb.c for (e = c->expr; e; e = e->next) expr 2824 security/selinux/ss/policydb.c for (e = c->expr; e; e = e->next) { expr 686 security/selinux/ss/services.c constraint->expr)) { expr 809 security/selinux/ss/services.c tcontext, constraint->expr)) { expr 366 tools/perf/util/dwarf-aux.c Dwarf_Op *expr; expr 375 tools/perf/util/dwarf-aux.c ret = dwarf_getlocation(&attr, &expr, &nexpr); expr 379 tools/perf/util/dwarf-aux.c if (expr[0].atom != DW_OP_plus_uconst || nexpr != 1) { expr 381 tools/perf/util/dwarf-aux.c expr[0].atom, nexpr); expr 384 tools/perf/util/dwarf-aux.c *offs = (Dwarf_Word)expr[0].number; expr 36 tools/perf/util/expr.y %type <num> expr if_expr expr 69 tools/perf/util/expr.y expr IF expr ELSE expr { $$ = $3 ? $1 : $5; } expr 70 tools/perf/util/expr.y | expr expr 73 tools/perf/util/expr.y expr: NUMBER expr 79 tools/perf/util/expr.y | expr '|' expr { $$ = (long)$1 | (long)$3; } expr 80 tools/perf/util/expr.y | expr '&' expr { $$ = (long)$1 & (long)$3; } expr 81 tools/perf/util/expr.y | expr '^' expr { $$ = (long)$1 ^ (long)$3; } expr 82 tools/perf/util/expr.y | expr '+' expr { $$ = $1 + $3; } expr 83 tools/perf/util/expr.y | expr '-' expr { $$ = $1 - $3; } expr 84 tools/perf/util/expr.y | expr '*' expr { $$ = $1 * $3; } expr 85 tools/perf/util/expr.y | expr '/' expr { if ($3 == 0) YYABORT; $$ = $1 / $3; } expr 86 tools/perf/util/expr.y | expr '%' expr { if ((long)$3 == 0) YYABORT; $$ = (long)$1 % (long)$3; } expr 87 tools/perf/util/expr.y | '-' expr %prec NEG { $$ = -$2; } expr 89 tools/perf/util/expr.y | MIN '(' expr ',' expr ')' { $$ = $3 < $5 ? $3 : $5; } expr 90 tools/perf/util/expr.y | MAX '(' expr ',' expr ')' { $$ = $3 > $5 ? $3 : $5; } expr 158 tools/perf/util/metricgroup.c struct metric_expr *expr; expr 186 tools/perf/util/metricgroup.c expr = malloc(sizeof(struct metric_expr)); expr 187 tools/perf/util/metricgroup.c if (!expr) { expr 191 tools/perf/util/metricgroup.c expr->metric_expr = eg->metric_expr; expr 192 tools/perf/util/metricgroup.c expr->metric_name = eg->metric_name; expr 193 tools/perf/util/metricgroup.c expr->metric_unit = eg->metric_unit; expr 194 tools/perf/util/metricgroup.c expr->metric_events = metric_events; expr 195 tools/perf/util/metricgroup.c list_add(&expr->nd, &me->head); expr 222 tools/perf/util/string.c char *expr = malloc(size); expr 224 tools/perf/util/string.c if (expr) { expr 226 tools/perf/util/string.c char *e = expr; expr 244 tools/perf/util/string.c return expr; expr 247 tools/perf/util/string.c free(expr); expr 8 tools/testing/selftests/powerpc/include/basic_asm.h #define LOAD_REG_IMMEDIATE(reg, expr) \ expr 9 tools/testing/selftests/powerpc/include/basic_asm.h lis reg, (expr)@highest; \ expr 10 tools/testing/selftests/powerpc/include/basic_asm.h ori reg, reg, (expr)@higher; \ expr 12 tools/testing/selftests/powerpc/include/basic_asm.h oris reg, reg, (expr)@high; \ expr 13 tools/testing/selftests/powerpc/include/basic_asm.h ori reg, reg, (expr)@l; expr 348 tools/testing/selftests/powerpc/primitives/asm/ppc_asm.h #define LOAD_REG_IMMEDIATE(reg, expr) __LOAD_REG_IMMEDIATE reg, expr expr 350 tools/testing/selftests/powerpc/primitives/asm/ppc_asm.h #define LOAD_REG_IMMEDIATE_SYM(reg, tmp, expr) \ expr 351 tools/testing/selftests/powerpc/primitives/asm/ppc_asm.h lis tmp, (expr)@highest; \ expr 352 tools/testing/selftests/powerpc/primitives/asm/ppc_asm.h lis reg, (expr)@__AS_ATHIGH; \ expr 353 tools/testing/selftests/powerpc/primitives/asm/ppc_asm.h ori tmp, tmp, (expr)@higher; \ expr 354 tools/testing/selftests/powerpc/primitives/asm/ppc_asm.h ori reg, reg, (expr)@l; \ expr 368 tools/testing/selftests/powerpc/primitives/asm/ppc_asm.h #define LOAD_REG_IMMEDIATE(reg, expr) __LOAD_REG_IMMEDIATE_32 reg, expr expr 370 tools/testing/selftests/powerpc/primitives/asm/ppc_asm.h #define LOAD_REG_IMMEDIATE_SYM(reg,expr) \ expr 371 tools/testing/selftests/powerpc/primitives/asm/ppc_asm.h lis reg,(expr)@ha; \ expr 372 tools/testing/selftests/powerpc/primitives/asm/ppc_asm.h addi reg,reg,(expr)@l;