Home
last modified time | relevance | path

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

/linux-6.6.21/net/sched/
Dcls_flow.c396 struct flow_filter *fold, *fnew; in flow_change() local
452 fold = *arg; in flow_change()
453 if (fold) { in flow_change()
455 if (fold->handle != handle && handle) in flow_change()
459 fnew->tp = fold->tp; in flow_change()
460 fnew->handle = fold->handle; in flow_change()
461 fnew->nkeys = fold->nkeys; in flow_change()
462 fnew->keymask = fold->keymask; in flow_change()
463 fnew->mode = fold->mode; in flow_change()
464 fnew->mask = fold->mask; in flow_change()
[all …]
Dcls_route.c479 struct route4_filter *fold, *f1, *pfp, *f = NULL; in route4_change() local
500 fold = *arg; in route4_change()
501 if (fold && fold->handle != handle) in route4_change()
513 if (fold) { in route4_change()
514 f->id = fold->id; in route4_change()
515 f->iif = fold->iif; in route4_change()
516 f->handle = fold->handle; in route4_change()
518 f->tp = fold->tp; in route4_change()
519 f->bkt = fold->bkt; in route4_change()
540 if (fold) { in route4_change()
[all …]
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()
Dcls_flower.c2153 struct cls_fl_filter *fold, in fl_check_assign_mask() argument
2171 if (fold) { in fl_check_assign_mask()
2186 } else if (fold && fold->mask != fnew->mask) { in fl_check_assign_mask()
2207 struct cls_fl_filter *fold, in fl_ht_insert_unique() argument
2221 return fold && err == -EEXIST ? 0 : err; in fl_ht_insert_unique()
2236 struct cls_fl_filter *fold = *arg; in fl_change() local
2266 if (fold && handle && fold->handle != handle) { in fl_change()
2289 if (!fold) { in fl_change()
2359 err = fl_check_assign_mask(head, fnew, fold, mask); in fl_change()
2363 err = fl_ht_insert_unique(fnew, fold, &in_ht); in fl_change()
[all …]
/linux-6.6.21/include/linux/
Detherdevice.h349 u32 fold = ((*(const u32 *)addr1) ^ (*(const u32 *)addr2)) | in ether_addr_equal() local
352 return fold == 0; in ether_addr_equal()
378 u64 fold = (*(const u64 *)addr1) ^ (*(const u64 *)addr2); in ether_addr_equal_64bits() local
381 return (fold >> 16) == 0; in ether_addr_equal_64bits()
383 return (fold << 16) == 0; in ether_addr_equal_64bits()
567 unsigned long fold; in compare_ether_header() local
577 fold = *(unsigned long *)a ^ *(unsigned long *)b; in compare_ether_header()
578 fold |= *(unsigned long *)(a + 6) ^ *(unsigned long *)(b + 6); in compare_ether_header()
579 return fold; in compare_ether_header()
/linux-6.6.21/Documentation/trace/
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-6.6.21/tools/testing/selftests/bpf/
Dtest_xsk.sh95 VETH0_POSTFIX=$(cat ${URANDOM} | tr -dc '0-9' | fold -w 256 | head -n 1 | head --bytes 4)
97 VETH1_POSTFIX=$(cat ${URANDOM} | tr -dc '0-9' | fold -w 256 | head -n 1 | head --bytes 4)
/linux-6.6.21/arch/alpha/lib/
Dcsum_ipv6_magic.S104 extwl $0,2,$1 # e0 : fold 18-bit value
109 extwl $0,2,$1 # e0 : fold 17-bit value
/linux-6.6.21/Documentation/translations/zh_CN/core-api/
Dunaligned-memory-access.rst135 u32 fold = ((*(const u32 *)addr1) ^ (*(const u32 *)addr2)) |
138 return fold == 0;
/linux-6.6.21/Documentation/leds/
Dleds-blinkm.rst16 The interface this driver provides is 2-fold:
/linux-6.6.21/Documentation/security/
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-6.6.21/Documentation/core-api/
Dunaligned-memory-access.rst156 u32 fold = ((*(const u32 *)addr1) ^ (*(const u32 *)addr2)) |
159 return fold == 0;
/linux-6.6.21/Documentation/trace/rv/
Dda_monitor_synthesis.rst72 The benefits of the usage of macro for monitor synthesis are 3-fold as it:
/linux-6.6.21/drivers/net/ethernet/freescale/enetc/
Denetc_pf.c82 u64 fold = __swab64(ether_addr_to_u64(addr)) >> 16; in enetc_mac_addr_hash_idx() local
91 res |= (hweight64(fold & (mask << i)) & 0x1) << i; in enetc_mac_addr_hash_idx()
/linux-6.6.21/net/wireless/
Dscan.c1610 u8 fold = 0; in cfg80211_combine_bsses() local
1625 fold |= ie[2 + i]; in cfg80211_combine_bsses()
1627 if (fold) { in cfg80211_combine_bsses()
/linux-6.6.21/tools/perf/Documentation/
Dperf-probe.txt239 …r-out rule. You also can give several rules combined with "&" or "|", and fold those rules as one …
/linux-6.6.21/rust/alloc/
Dboxed.rs1971 self.fold(None, some) in last()
/linux-6.6.21/kernel/bpf/
Dverifier.c7797 struct bpf_func_state *fold, *fcur; in widen_imprecise_scalars() local
7802 fold = old->frame[fr]; in widen_imprecise_scalars()
7807 &fold->regs[i], in widen_imprecise_scalars()
7811 for (i = 0; i < fold->allocated_stack / BPF_REG_SIZE; i++) { in widen_imprecise_scalars()
7812 if (!is_spilled_reg(&fold->stack[i]) || in widen_imprecise_scalars()
7817 &fold->stack[i].spilled_ptr, in widen_imprecise_scalars()
16449 struct bpf_func_state *fold, *fcur; in states_maybe_looping() local
16455 fold = old->frame[fr]; in states_maybe_looping()
16458 if (memcmp(&fold->regs[i], &fcur->regs[i], in states_maybe_looping()
/linux-6.6.21/Documentation/translations/it_IT/process/
Dcoding-style.rst1174 Il compilatore valuterà la condizione come costante (constant-fold), e quindi
/linux-6.6.21/Documentation/process/
Dcoding-style.rst1171 The compiler will constant-fold the conditional away, and include or exclude