| /linux/net/sched/ |
| H A D | cls_route.c | 397 struct route4_filter *fold, u32 flags, in route4_set_parms() argument 411 if (!fold && handle & 0x8000) { in route4_set_parms() 434 if (handle && (!fold || nhandle == (handle & ~0x7F00))) in route4_set_parms() 437 if (fold && !tb[TCA_ROUTE4_TO] && !tb[TCA_ROUTE4_FROM] && in route4_set_parms() 438 !tb[TCA_ROUTE4_IIF] && nhandle != fold->handle) { in route4_set_parms() 443 if (handle && !fold && nhandle != handle) { in route4_set_parms() 470 if (fp != fold && fp->handle == nhandle) { in route4_set_parms() 507 struct route4_filter *fold, *f1, *pfp, *f = NULL; in route4_change() 528 fold = *arg; in route4_change() 529 if (fold in route4_change() 501 struct route4_filter *fold, *f1, *pfp, *f = NULL; route4_change() local [all...] |
| H A D | cls_flow.c | 402 struct flow_filter *fold, *fnew; in flow_change() local 458 fold = *arg; in flow_change() 459 if (fold) { in flow_change() 461 if (fold->handle != handle && handle) in flow_change() 465 fnew->tp = fold->tp; in flow_change() 466 fnew->handle = fold->handle; in flow_change() 467 fnew->nkeys = fold->nkeys; in flow_change() 468 fnew->keymask = fold->keymask; in flow_change() 469 fnew->mode = fold->mode; in flow_change() 470 fnew->mask = fold->mask; in flow_change() [all …]
|
| H A D | cls_basic.c | 180 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() 218 if (!fold) in basic_change() 226 if (!fold) in basic_change() 233 if (fold) { in basic_change() 235 list_replace_rcu(&fold->link, &fnew->link); in basic_change() 236 tcf_unbind_filter(tp, &fold->res); in basic_change() 237 tcf_exts_get_net(&fold->exts); in basic_change() [all …]
|
| H A D | cls_flower.c | 2283 struct cls_fl_filter *fold, in fl_check_assign_mask() argument 2301 if (fold) { in fl_check_assign_mask() 2316 } else if (fold && fold->mask != fnew->mask) { in fl_check_assign_mask() 2337 struct cls_fl_filter *fold, in fl_ht_insert_unique() argument 2351 return fold && err == -EEXIST ? 0 : err; in fl_ht_insert_unique() 2367 struct cls_fl_filter *fold = *arg; in fl_change() local 2397 if (fold && handle && fold->handle != handle) { in fl_change() 2420 if (!fold) { in fl_change() 2490 err = fl_check_assign_mask(head, fnew, fold, mask); in fl_change() 2494 err = fl_ht_insert_unique(fnew, fold, &in_ht); in fl_change() [all …]
|
| /linux/include/linux/ |
| H A D | etherdevice.h | 356 u32 fold = ((*(const u32 *)addr1) ^ (*(const u32 *)addr2)) | in ether_addr_equal() local 359 return fold == 0; in ether_addr_equal() 385 u64 fold = (*(const u64 *)addr1) ^ (*(const u64 *)addr2); in ether_addr_equal_64bits() local 388 return (fold >> 16) == 0; in ether_addr_equal_64bits() 390 return (fold << 16) == 0; in ether_addr_equal_64bits() 572 unsigned long fold; in compare_ether_header() local 582 fold = *(unsigned long *)a ^ *(unsigned long *)b; in compare_ether_header() 583 fold |= *(unsigned long *)(a + 6) ^ *(unsigned long *)(b + 6); in compare_ether_header() 584 return fold; in compare_ether_header()
|
| /linux/Documentation/trace/ |
| H A D | function-graph-fold.vim | 5 " 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 D | test_xsk.sh | 111 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 D | csum_ipv6_magic.S | 104 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 D | unaligned-memory-access.rst | 135 u32 fold = ((*(const u32 *)addr1) ^ (*(const u32 *)addr2)) | 138 return fold == 0;
|
| /linux/rust/syn/gen/ |
| H A D | fold.rs | 1051 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 D | spanned.rs | 38 iter.fold(None, |_prev, next| Some(next)) in join_spans()
|
| /linux/rust/syn/ |
| H A D | punctuated.rs | 1102 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 D | lib.rs | 640 pub mod fold; module 874 pub use crate::gen::fold;
|
| /linux/Documentation/security/ |
| H A D | siphash.rst | 49 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 D | leds-blinkm.rst | 16 The interface this driver provides is 3-fold:
|
| /linux/kernel/bpf/ |
| H A D | states.c | 1116 struct bpf_func_state *fold, *fcur; in states_maybe_looping() local 1122 fold = old->frame[fr]; in states_maybe_looping() 1125 if (memcmp(&fold->regs[i], &fcur->regs[i], in states_maybe_looping()
|
| H A D | verifier.c | 4961 /* Only a constant offset is allowed here; fold it into off. */ in check_flow_keys_access() 7908 struct bpf_func_state *fold, *fcur; in widen_imprecise_scalars() local 7912 fold = old->frame[fr]; in widen_imprecise_scalars() 7917 &fold->regs[i], in widen_imprecise_scalars() 7920 num_slots = min(fold->allocated_stack / BPF_REG_SIZE, in widen_imprecise_scalars() 7923 if (!bpf_is_spilled_reg(&fold->stack[i]) || in widen_imprecise_scalars() 7928 &fold->stack[i].spilled_ptr, in widen_imprecise_scalars() 8331 * Therefore we fold these flags depending on the arg_type before comparison. in check_reg_type()
|
| /linux/Documentation/core-api/ |
| H A D | unaligned-memory-access.rst | 156 u32 fold = ((*(const u32 *)addr1) ^ (*(const u32 *)addr2)) | 159 return fold == 0;
|
| /linux/rust/pin-init/internal/src/ |
| H A D | init.rs | 87 if let Some(default_error) = attrs.iter().fold(None, |acc, attr| {
|
| /linux/net/wireless/ |
| H A D | scan.c | 1805 u8 fold = 0; in cfg80211_combine_bsses() local 1820 fold |= ie[2 + i]; in cfg80211_combine_bsses() 1822 if (fold) { in cfg80211_combine_bsses()
|
| /linux/tools/perf/Documentation/ |
| H A D | perf-probe.txt | 245 In addition, you can use "!" for specifying filter-out rule. You also can give several rules combined with "&" or "|", and fold those rules as one rule by using "(" ")".
|
| /linux/drivers/net/ethernet/freescale/enetc/ |
| H A D | enetc.c | 50 u64 fold = __swab64(ether_addr_to_u64(addr)) >> 16; in enetc_mac_addr_hash_idx() local 59 res |= (hweight64(fold & (mask << i)) & 0x1) << i; in enetc_mac_addr_hash_idx()
|
| /linux/Documentation/bpf/ |
| H A D | signing.rst | 178 module kfunc, is rejected when it would be bound. Together with the fold rule
|
| /linux/Documentation/translations/it_IT/process/ |
| H A D | coding-style.rst | 1198 Il compilatore valuterà la condizione come costante (constant-fold), e quindi
|