Home
last modified time | relevance | path

Searched refs:fold (Results 1 – 20 of 20) sorted by relevance

/linux/net/sched/
H A Dcls_flow.c397 struct flow_filter *fold, *fnew; in flow_change() local
453 fold = *arg; in flow_change()
454 if (fold) { in flow_change()
456 if (fold->handle != handle && handle) in flow_change()
460 fnew->tp = fold->tp; in flow_change()
461 fnew->handle = fold->handle; in flow_change()
462 fnew->nkeys = fold->nkeys; in flow_change()
463 fnew->keymask = fold->keymask; in flow_change()
464 fnew->mode = fold->mode; in flow_change()
465 fnew->mask = fold->mask; in flow_change()
[all …]
H A Dcls_route.c483 struct route4_filter *fold, *f1, *pfp, *f = NULL; in route4_change() local
505 fold = *arg; in route4_change()
506 if (fold && fold->handle != handle) in route4_change()
518 if (fold) { in route4_change()
519 f->id = fold->id; in route4_change()
520 f->iif = fold->iif; in route4_change()
521 f->handle = fold->handle; in route4_change()
523 f->tp = fold->tp; in route4_change()
524 f->bkt = fold->bkt; in route4_change()
545 if (fold) { in route4_change()
[all …]
H A Dcls_basic.c180 struct basic_filter *fold = (struct basic_filter *) *arg; in basic_change() local
191 if (fold != NULL) { in basic_change()
192 if (handle && fold->handle != handle) in basic_change()
208 } else if (!fold) { in basic_change()
224 if (!fold) in basic_change()
231 if (fold) { in basic_change()
233 list_replace_rcu(&fold->link, &fnew->link); in basic_change()
234 tcf_unbind_filter(tp, &fold->res); in basic_change()
235 tcf_exts_get_net(&fold->exts); in basic_change()
236 tcf_queue_work(&fold->rwork, basic_delete_filter_work); in basic_change()
H A Dcls_flower.c2282 struct cls_fl_filter *fold, in fl_check_assign_mask() argument
2300 if (fold) { in fl_check_assign_mask()
2315 } else if (fold && fold->mask != fnew->mask) { in fl_check_assign_mask()
2336 struct cls_fl_filter *fold, in fl_ht_insert_unique() argument
2350 return fold && err == -EEXIST ? 0 : err; in fl_ht_insert_unique()
2366 struct cls_fl_filter *fold = *arg; in fl_change() local
2396 if (fold && handle && fold->handle != handle) { in fl_change()
2419 if (!fold) { in fl_change()
[all...]
/linux/Documentation/trace/
H A Dfunction-graph-fold.vim5 " use the usual vim fold commands, such as "za", to open and close nested
6 " functions. While closed, a fold will show the total time taken for a call,
/linux/tools/testing/selftests/bpf/
H A Dtest_xsk.sh111 VETH0_POSTFIX=$(cat ${URANDOM} | tr -dc '0-9' | fold -w 256 | head -n 1 | head --bytes 4)
113 VETH1_POSTFIX=$(cat ${URANDOM} | tr -dc '0-9' | fold -w 256 | head -n 1 | head --bytes 4)
/linux/arch/alpha/lib/
H A Dcsum_ipv6_magic.S104 extwl $0,2,$1 # e0 : fold 18-bit value
109 extwl $0,2,$1 # e0 : fold 17-bit value
/linux/Documentation/translations/zh_CN/core-api/
H A Dunaligned-memory-access.rst135 u32 fold = ((*(const u32 *)addr1) ^ (*(const u32 *)addr2)) |
138 return fold == 0;
/linux/rust/syn/gen/
H A Dfold.rs1051 args: crate::punctuated::fold(node.args, f, F::fold_generic_argument), in fold_angle_bracketed_generic_arguments()
1205 lifetimes: crate::punctuated::fold(node.lifetimes, f, F::fold_generic_param), in fold_bound_lifetimes()
1253 bounds: crate::punctuated::fold(node.bounds, f, F::fold_type_param_bound), in fold_constraint()
1281 variants: crate::punctuated::fold(node.variants, f, F::fold_variant), in fold_data_enum()
1449 elems: crate::punctuated::fold(node.elems, f, F::fold_expr), in fold_expr_array()
1539 args: crate::punctuated::fold(node.args, f, F::fold_expr), in fold_expr_call()
1569 inputs: crate::punctuated::fold(node.inputs, f, F::fold_pat), in fold_expr_closure()
1759 args: crate::punctuated::fold(node.args, f, F::fold_expr), in fold_expr_method_call()
1866 fields: crate::punctuated::fold(node.fields, f, F::fold_field_value), in fold_expr_struct()
1907 elems: crate::punctuated::fold(node.elems, f, F::fold_expr), in fold_expr_tuple()
[all …]
/linux/rust/quote/
H A Dspanned.rs38 iter.fold(None, |_prev, next| Some(next)) in join_spans()
/linux/rust/syn/
H A Dpunctuated.rs1102 pub(crate) fn fold<T, P, V, F>( in fold() function
1104 fold: &mut V, in fold()
1115 .map(|(t, p)| (f(fold, t), p)) in fold()
1118 Some(t) => Some(Box::new(f(fold, *t))), in fold()
H A Dlib.rs640 pub mod fold; module
874 pub use crate::gen::fold;
/linux/Documentation/security/
H A Dsiphash.rst49 will constant fold at compile-time and automatically choose one of the
168 will constant fold at compile-time and automatically choose one of the
/linux/Documentation/leds/
H A Dleds-blinkm.rst16 The interface this driver provides is 3-fold:
/linux/Documentation/core-api/
H A Dunaligned-memory-access.rst156 u32 fold = ((*(const u32 *)addr1) ^ (*(const u32 *)addr2)) |
159 return fold == 0;
/linux/net/wireless/
H A Dscan.c1741 u8 fold = 0; in cfg80211_combine_bsses() local
1756 fold |= ie[2 + i]; in cfg80211_combine_bsses()
1758 if (fold) { in cfg80211_combine_bsses()
/linux/tools/perf/Documentation/
H A Dperf-probe.txt239 …r-out rule. You also can give several rules combined with "&" or "|", and fold those rules as one …
/linux/Documentation/admin-guide/device-mapper/
H A Ddm-raid.rst435 # Mapping table for e.g. raid5_rs reshape causing the size of the raid device to double-fold once t…
/linux/kernel/bpf/
H A Dverifier.c8964 struct bpf_func_state *fold, *fcur; in widen_imprecise_scalars() local
8969 fold = old->frame[fr]; in widen_imprecise_scalars()
8974 &fold->regs[i], in widen_imprecise_scalars()
8978 num_slots = min(fold->allocated_stack / BPF_REG_SIZE, in widen_imprecise_scalars()
8981 if (!is_spilled_reg(&fold->stack[i]) || in widen_imprecise_scalars()
8986 &fold->stack[i].spilled_ptr, in widen_imprecise_scalars()
19609 struct bpf_func_state *fold, *fcur; in states_maybe_looping() local
19615 fold = old->frame[fr]; in states_maybe_looping()
19618 if (memcmp(&fold->regs[i], &fcur->regs[i], in states_maybe_looping()
/linux/Documentation/process/
H A Dcoding-style.rst1190 The compiler will constant-fold the conditional away, and include or exclude