/kernel/linux/linux-5.10/tools/debugging/ |
D | kernel-chktaint | 55 if [ `expr $T % 2` -eq 0 ]; then 62 T=`expr $T / 2` 63 if [ `expr $T % 2` -eq 0 ]; then 70 T=`expr $T / 2` 71 if [ `expr $T % 2` -eq 0 ]; then 78 T=`expr $T / 2` 79 if [ `expr $T % 2` -eq 0 ]; then 86 T=`expr $T / 2` 87 if [ `expr $T % 2` -eq 0 ]; then 94 T=`expr $T / 2` [all …]
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | expr.y | 48 %type <num> expr if_expr 83 expr IF expr ELSE expr { $$ = $3 ? $1 : $5; } 84 | expr 87 expr: NUMBER 99 | expr '|' expr { $$ = (long)$1 | (long)$3; } 100 | expr '&' expr { $$ = (long)$1 & (long)$3; } 101 | expr '^' expr { $$ = (long)$1 ^ (long)$3; } 102 | expr '<' expr { $$ = $1 < $3; } 103 | expr '>' expr { $$ = $1 > $3; } 104 | expr '+' expr { $$ = $1 + $3; } [all …]
|
/kernel/linux/linux-5.10/scripts/kconfig/ |
D | expr.h | 38 struct expr *expr; member 42 struct expr { struct 52 for (e = (l); e && (s = e->right.sym); e = e->left.expr) 55 struct expr *expr; member 197 struct expr *expr; /* the optional conditional part of the property */ member 247 struct expr *visibility; 253 struct expr *dep; 294 struct expr *expr_alloc_symbol(struct symbol *sym); 295 struct expr *expr_alloc_one(enum expr_type type, struct expr *ce); 296 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2); [all …]
|
D | expr.c | 16 static struct expr *expr_eliminate_yn(struct expr *e); 18 struct expr *expr_alloc_symbol(struct symbol *sym) in expr_alloc_symbol() 20 struct expr *e = xcalloc(1, sizeof(*e)); in expr_alloc_symbol() 26 struct expr *expr_alloc_one(enum expr_type type, struct expr *ce) in expr_alloc_one() 28 struct expr *e = xcalloc(1, sizeof(*e)); in expr_alloc_one() 30 e->left.expr = ce; in expr_alloc_one() 34 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2) in expr_alloc_two() 36 struct expr *e = xcalloc(1, sizeof(*e)); in expr_alloc_two() 38 e->left.expr = e1; in expr_alloc_two() 39 e->right.expr = e2; in expr_alloc_two() [all …]
|
D | menu.c | 82 static struct expr *rewrite_m(struct expr *e) in rewrite_m() 89 e->left.expr = rewrite_m(e->left.expr); in rewrite_m() 93 e->left.expr = rewrite_m(e->left.expr); in rewrite_m() 94 e->right.expr = rewrite_m(e->right.expr); in rewrite_m() 107 void menu_add_dep(struct expr *dep) in menu_add_dep() 128 static struct property *menu_add_prop(enum prop_type type, struct expr *expr, in menu_add_prop() argument 129 struct expr *dep) in menu_add_prop() 139 prop->expr = expr; in menu_add_prop() 140 prop->visible.expr = dep; in menu_add_prop() 157 struct expr *dep) in menu_add_prompt() [all …]
|
D | symbol.c | 88 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_get_default_prop() 100 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_get_range_prop() 144 val2 = sym_get_range_val(prop->expr->left.sym, base); in sym_validate_range() 146 val2 = sym_get_range_val(prop->expr->right.sym, base); in sym_validate_range() 190 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_calc_visibility() 212 if (sym->dir_dep.expr) in sym_calc_visibility() 213 tri = expr_calc_value(sym->dir_dep.expr); in sym_calc_visibility() 221 if (sym->rev_dep.expr) in sym_calc_visibility() 222 tri = expr_calc_value(sym->rev_dep.expr); in sym_calc_visibility() 230 if (sym->implied.expr) in sym_calc_visibility() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
D | i915_gem.h | 48 #define GEM_WARN_ON(expr) WARN_ON(expr) argument 51 #define GEM_DEBUG_EXEC(expr) expr argument 52 #define GEM_DEBUG_BUG_ON(expr) GEM_BUG_ON(expr) argument 53 #define GEM_DEBUG_WARN_ON(expr) GEM_WARN_ON(expr) argument 59 #define GEM_BUG_ON(expr) BUILD_BUG_ON_INVALID(expr) argument 60 #define GEM_WARN_ON(expr) ({ unlikely(!!(expr)); }) argument 63 #define GEM_DEBUG_EXEC(expr) do { } while (0) argument 64 #define GEM_DEBUG_BUG_ON(expr) argument 65 #define GEM_DEBUG_WARN_ON(expr) ({ BUILD_BUG_ON_INVALID(expr); 0; }) argument 76 #define GEM_TRACE_DUMP_ON(expr) \ argument [all …]
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | nft_dynset.c | 23 struct nft_expr *expr; member 27 static void *nft_dynset_new(struct nft_set *set, const struct nft_expr *expr, in nft_dynset_new() argument 30 const struct nft_dynset *priv = nft_expr_priv(expr); in nft_dynset_new() 47 if (priv->expr != NULL && in nft_dynset_new() 48 nft_expr_clone(nft_set_ext_expr(ext), priv->expr) < 0) in nft_dynset_new() 61 void nft_dynset_eval(const struct nft_expr *expr, in nft_dynset_eval() argument 64 const struct nft_dynset *priv = nft_expr_priv(expr); in nft_dynset_eval() 75 expr, regs, &ext)) { in nft_dynset_eval() 106 const struct nft_expr *expr, in nft_dynset_init() argument 109 struct nft_dynset *priv = nft_expr_priv(expr); in nft_dynset_init() [all …]
|
D | nft_objref.c | 14 #define nft_objref_priv(expr) *((struct nft_object **)nft_expr_priv(expr)) argument 16 static void nft_objref_eval(const struct nft_expr *expr, in nft_objref_eval() argument 20 struct nft_object *obj = nft_objref_priv(expr); in nft_objref_eval() 26 const struct nft_expr *expr, in nft_objref_init() argument 29 struct nft_object *obj = nft_objref_priv(expr); in nft_objref_init() 44 nft_objref_priv(expr) = obj; in nft_objref_init() 50 static int nft_objref_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_objref_dump() argument 52 const struct nft_object *obj = nft_objref_priv(expr); in nft_objref_dump() 66 const struct nft_expr *expr, in nft_objref_deactivate() argument 69 struct nft_object *obj = nft_objref_priv(expr); in nft_objref_deactivate() [all …]
|
D | nf_tables_core.c | 50 static void nft_bitwise_fast_eval(const struct nft_expr *expr, in nft_bitwise_fast_eval() argument 53 const struct nft_bitwise_fast_expr *priv = nft_expr_priv(expr); in nft_bitwise_fast_eval() 60 static void nft_cmp_fast_eval(const struct nft_expr *expr, in nft_cmp_fast_eval() argument 63 const struct nft_cmp_fast_expr *priv = nft_expr_priv(expr); in nft_cmp_fast_eval() 70 static void nft_cmp16_fast_eval(const struct nft_expr *expr, in nft_cmp16_fast_eval() argument 73 const struct nft_cmp16_fast_expr *priv = nft_expr_priv(expr); in nft_cmp16_fast_eval() 114 static bool nft_payload_fast_eval(const struct nft_expr *expr, in nft_payload_fast_eval() argument 118 const struct nft_payload *priv = nft_expr_priv(expr); in nft_payload_fast_eval() 176 static void expr_call_ops_eval(const struct nft_expr *expr, in expr_call_ops_eval() argument 181 unsigned long e = (unsigned long)expr->ops->eval; in expr_call_ops_eval() [all …]
|
D | nft_immediate.c | 18 void nft_immediate_eval(const struct nft_expr *expr, in nft_immediate_eval() argument 22 const struct nft_immediate_expr *priv = nft_expr_priv(expr); in nft_immediate_eval() 47 const struct nft_expr *expr, in nft_immediate_init() argument 50 struct nft_immediate_expr *priv = nft_expr_priv(expr); in nft_immediate_init() 98 const struct nft_expr *expr) in nft_immediate_activate() argument 100 const struct nft_immediate_expr *priv = nft_expr_priv(expr); in nft_immediate_activate() 106 const struct nft_expr *expr, in nft_immediate_deactivate() argument 109 const struct nft_immediate_expr *priv = nft_expr_priv(expr); in nft_immediate_deactivate() 118 const struct nft_expr *expr) in nft_immediate_destroy() argument 120 const struct nft_immediate_expr *priv = nft_expr_priv(expr); in nft_immediate_destroy() [all …]
|
D | nft_compat.c | 67 static void nft_target_eval_xt(const struct nft_expr *expr, in nft_target_eval_xt() argument 71 void *info = nft_expr_priv(expr); in nft_target_eval_xt() 72 struct xt_target *target = expr->ops->data; in nft_target_eval_xt() 93 static void nft_target_eval_bridge(const struct nft_expr *expr, in nft_target_eval_bridge() argument 97 void *info = nft_expr_priv(expr); in nft_target_eval_bridge() 98 struct xt_target *target = expr->ops->data; in nft_target_eval_bridge() 228 nft_target_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_target_init() argument 231 void *info = nft_expr_priv(expr); in nft_target_init() 232 struct xt_target *target = expr->ops->data; in nft_target_init() 263 static void __nft_mt_tg_destroy(struct module *me, const struct nft_expr *expr) in __nft_mt_tg_destroy() argument [all …]
|
D | nft_fwd_netdev.c | 24 static void nft_fwd_netdev_eval(const struct nft_expr *expr, in nft_fwd_netdev_eval() argument 28 struct nft_fwd_netdev *priv = nft_expr_priv(expr); in nft_fwd_netdev_eval() 45 const struct nft_expr *expr, in nft_fwd_netdev_init() argument 48 struct nft_fwd_netdev *priv = nft_expr_priv(expr); in nft_fwd_netdev_init() 57 static int nft_fwd_netdev_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_fwd_netdev_dump() argument 59 struct nft_fwd_netdev *priv = nft_expr_priv(expr); in nft_fwd_netdev_dump() 72 const struct nft_expr *expr) in nft_fwd_netdev_offload() argument 74 const struct nft_fwd_netdev *priv = nft_expr_priv(expr); in nft_fwd_netdev_offload() 80 static bool nft_fwd_netdev_offload_action(const struct nft_expr *expr) in nft_fwd_netdev_offload_action() argument 91 static void nft_fwd_neigh_eval(const struct nft_expr *expr, in nft_fwd_neigh_eval() argument [all …]
|
D | nft_dup_netdev.c | 20 static void nft_dup_netdev_eval(const struct nft_expr *expr, in nft_dup_netdev_eval() argument 24 struct nft_dup_netdev *priv = nft_expr_priv(expr); in nft_dup_netdev_eval() 35 const struct nft_expr *expr, in nft_dup_netdev_init() argument 38 struct nft_dup_netdev *priv = nft_expr_priv(expr); in nft_dup_netdev_init() 47 static int nft_dup_netdev_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_dup_netdev_dump() argument 49 struct nft_dup_netdev *priv = nft_expr_priv(expr); in nft_dup_netdev_dump() 62 const struct nft_expr *expr) in nft_dup_netdev_offload() argument 64 const struct nft_dup_netdev *priv = nft_expr_priv(expr); in nft_dup_netdev_offload() 70 static bool nft_dup_netdev_offload_action(const struct nft_expr *expr) in nft_dup_netdev_offload_action() argument
|
D | nft_redir.c | 29 const struct nft_expr *expr, in nft_redir_validate() argument 44 const struct nft_expr *expr, in nft_redir_init() argument 47 struct nft_redir *priv = nft_expr_priv(expr); in nft_redir_init() 78 static int nft_redir_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_redir_dump() argument 80 const struct nft_redir *priv = nft_expr_priv(expr); in nft_redir_dump() 101 static void nft_redir_ipv4_eval(const struct nft_expr *expr, in nft_redir_ipv4_eval() argument 105 struct nft_redir *priv = nft_expr_priv(expr); in nft_redir_ipv4_eval() 123 nft_redir_ipv4_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_redir_ipv4_destroy() argument 149 static void nft_redir_ipv6_eval(const struct nft_expr *expr, in nft_redir_ipv6_eval() argument 153 struct nft_redir *priv = nft_expr_priv(expr); in nft_redir_ipv6_eval() [all …]
|
D | nft_masq.c | 29 const struct nft_expr *expr, in nft_masq_validate() argument 43 const struct nft_expr *expr, in nft_masq_init() argument 47 struct nft_masq *priv = nft_expr_priv(expr); in nft_masq_init() 76 static int nft_masq_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_masq_dump() argument 78 const struct nft_masq *priv = nft_expr_priv(expr); in nft_masq_dump() 98 static void nft_masq_ipv4_eval(const struct nft_expr *expr, in nft_masq_ipv4_eval() argument 102 struct nft_masq *priv = nft_expr_priv(expr); in nft_masq_ipv4_eval() 118 nft_masq_ipv4_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_masq_ipv4_destroy() argument 144 static void nft_masq_ipv6_eval(const struct nft_expr *expr, in nft_masq_ipv6_eval() argument 148 struct nft_masq *priv = nft_expr_priv(expr); in nft_masq_ipv6_eval() [all …]
|
D | nft_queue.c | 28 static void nft_queue_eval(const struct nft_expr *expr, in nft_queue_eval() argument 32 struct nft_queue *priv = nft_expr_priv(expr); in nft_queue_eval() 55 static void nft_queue_sreg_eval(const struct nft_expr *expr, in nft_queue_sreg_eval() argument 59 struct nft_queue *priv = nft_expr_priv(expr); in nft_queue_sreg_eval() 79 const struct nft_expr *expr, in nft_queue_init() argument 82 struct nft_queue *priv = nft_expr_priv(expr); in nft_queue_init() 108 const struct nft_expr *expr, in nft_queue_sreg_init() argument 111 struct nft_queue *priv = nft_expr_priv(expr); in nft_queue_sreg_init() 130 static int nft_queue_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_queue_dump() argument 132 const struct nft_queue *priv = nft_expr_priv(expr); in nft_queue_dump() [all …]
|
D | nft_lookup.c | 26 void nft_lookup_eval(const struct nft_expr *expr, in nft_lookup_eval() argument 30 const struct nft_lookup *priv = nft_expr_priv(expr); in nft_lookup_eval() 61 const struct nft_expr *expr, in nft_lookup_init() argument 64 struct nft_lookup *priv = nft_expr_priv(expr); in nft_lookup_init() 122 const struct nft_expr *expr, in nft_lookup_deactivate() argument 125 struct nft_lookup *priv = nft_expr_priv(expr); in nft_lookup_deactivate() 131 const struct nft_expr *expr) in nft_lookup_activate() argument 133 struct nft_lookup *priv = nft_expr_priv(expr); in nft_lookup_activate() 139 const struct nft_expr *expr) in nft_lookup_destroy() argument 141 struct nft_lookup *priv = nft_expr_priv(expr); in nft_lookup_destroy() [all …]
|
/kernel/linux/linux-5.10/drivers/pinctrl/aspeed/ |
D | pinctrl-aspeed.c | 75 const struct aspeed_sig_expr *expr) in aspeed_sig_expr_enable() argument 79 pr_debug("Enabling signal %s for %s\n", expr->signal, in aspeed_sig_expr_enable() 80 expr->function); in aspeed_sig_expr_enable() 82 ret = aspeed_sig_expr_eval(ctx, expr, true); in aspeed_sig_expr_enable() 87 return aspeed_sig_expr_set(ctx, expr, true); in aspeed_sig_expr_enable() 93 const struct aspeed_sig_expr *expr) in aspeed_sig_expr_disable() argument 97 pr_debug("Disabling signal %s for %s\n", expr->signal, in aspeed_sig_expr_disable() 98 expr->function); in aspeed_sig_expr_disable() 100 ret = aspeed_sig_expr_eval(ctx, expr, true); in aspeed_sig_expr_disable() 105 return aspeed_sig_expr_set(ctx, expr, false); in aspeed_sig_expr_disable() [all …]
|
/kernel/linux/linux-5.10/include/net/netfilter/ |
D | nft_meta.h | 18 const struct nft_expr *expr, 22 const struct nft_expr *expr, 26 const struct nft_expr *expr); 29 const struct nft_expr *expr); 31 void nft_meta_get_eval(const struct nft_expr *expr, 35 void nft_meta_set_eval(const struct nft_expr *expr, 40 const struct nft_expr *expr); 43 const struct nft_expr *expr,
|
D | nf_tables_core.h | 103 void nft_meta_get_eval(const struct nft_expr *expr, 105 void nft_cmp_eval(const struct nft_expr *expr, 107 void nft_lookup_eval(const struct nft_expr *expr, 109 void nft_payload_eval(const struct nft_expr *expr, 111 void nft_immediate_eval(const struct nft_expr *expr, 113 void nft_bitwise_eval(const struct nft_expr *expr, 115 void nft_range_eval(const struct nft_expr *expr, 117 void nft_byteorder_eval(const struct nft_expr *expr, 119 void nft_dynset_eval(const struct nft_expr *expr, 121 void nft_rt_get_eval(const struct nft_expr *expr,
|
D | nft_fib.h | 21 int nft_fib_dump(struct sk_buff *skb, const struct nft_expr *expr); 22 int nft_fib_init(const struct nft_ctx *ctx, const struct nft_expr *expr, 24 int nft_fib_validate(const struct nft_ctx *ctx, const struct nft_expr *expr, 28 void nft_fib4_eval_type(const struct nft_expr *expr, struct nft_regs *regs, 30 void nft_fib4_eval(const struct nft_expr *expr, struct nft_regs *regs, 33 void nft_fib6_eval_type(const struct nft_expr *expr, struct nft_regs *regs, 35 void nft_fib6_eval(const struct nft_expr *expr, struct nft_regs *regs,
|
/kernel/linux/linux-5.10/fs/xfs/ |
D | xfs_linux.h | 201 #define ASSERT_ALWAYS(expr) \ argument 202 (likely(expr) ? (void)0 : assfail(NULL, #expr, __FILE__, __LINE__)) 205 #define ASSERT(expr) \ argument 206 (likely(expr) ? (void)0 : assfail(NULL, #expr, __FILE__, __LINE__)) 212 #define ASSERT(expr) \ argument 213 (likely(expr) ? (void)0 : asswarn(NULL, #expr, __FILE__, __LINE__)) 217 #define ASSERT(expr) ((void)0) argument 222 #define XFS_IS_CORRUPT(mp, expr) \ argument 223 (unlikely(expr) ? xfs_corruption_error(#expr, XFS_ERRLEVEL_LOW, (mp), \
|
/kernel/linux/linux-5.10/security/selinux/ss/ |
D | conditional.c | 24 static int cond_evaluate_expr(struct policydb *p, struct cond_expr *expr) in cond_evaluate_expr() argument 30 if (expr->len == 0) in cond_evaluate_expr() 33 for (i = 0; i < expr->len; i++) { in cond_evaluate_expr() 34 struct cond_expr_node *node = &expr->nodes[i]; in cond_evaluate_expr() 98 new_state = cond_evaluate_expr(p, &node->expr); in evaluate_cond_node() 142 kfree(node->expr.nodes); in cond_node_destroy() 361 static int expr_node_isvalid(struct policydb *p, struct cond_expr_node *expr) in expr_node_isvalid() argument 363 if (expr->expr_type <= 0 || expr->expr_type > COND_LAST) { in expr_node_isvalid() 368 if (expr->bool > p->p_bools.nprim) { in expr_node_isvalid() 389 node->expr.nodes = kcalloc(len, sizeof(*node->expr.nodes), GFP_KERNEL); in cond_read_node() [all …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | build_bug.h | 77 #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) argument 78 #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) argument 82 #define _Static_assert(expr, ...) argument
|