Home
last modified time | relevance | path

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

/linux-6.12.1/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.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 …]
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.c2281 struct cls_fl_filter *fold, in fl_check_assign_mask() argument
2299 if (fold) { in fl_check_assign_mask()
2314 } else if (fold && fold->mask != fnew->mask) { in fl_check_assign_mask()
2335 struct cls_fl_filter *fold, in fl_ht_insert_unique() argument
2349 return fold && err == -EEXIST ? 0 : err; in fl_ht_insert_unique()
2365 struct cls_fl_filter *fold = *arg; in fl_change() local
2395 if (fold && handle && fold->handle != handle) { in fl_change()
2418 if (!fold) { in fl_change()
2488 err = fl_check_assign_mask(head, fnew, fold, mask); in fl_change()
2492 err = fl_ht_insert_unique(fnew, fold, &in_ht); in fl_change()
[all …]
/linux-6.12.1/include/linux/
Detherdevice.h355 u32 fold = ((*(const u32 *)addr1) ^ (*(const u32 *)addr2)) | in ether_addr_equal() local
358 return fold == 0; in ether_addr_equal()
384 u64 fold = (*(const u64 *)addr1) ^ (*(const u64 *)addr2); in ether_addr_equal_64bits() local
387 return (fold >> 16) == 0; in ether_addr_equal_64bits()
389 return (fold << 16) == 0; in ether_addr_equal_64bits()
571 unsigned long fold; in compare_ether_header() local
581 fold = *(unsigned long *)a ^ *(unsigned long *)b; in compare_ether_header()
582 fold |= *(unsigned long *)(a + 6) ^ *(unsigned long *)(b + 6); in compare_ether_header()
583 return fold; in compare_ether_header()
/linux-6.12.1/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.12.1/tools/testing/selftests/bpf/
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-6.12.1/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.12.1/Documentation/translations/zh_CN/core-api/
Dunaligned-memory-access.rst135 u32 fold = ((*(const u32 *)addr1) ^ (*(const u32 *)addr2)) |
138 return fold == 0;
/linux-6.12.1/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.12.1/Documentation/leds/
Dleds-blinkm.rst16 The interface this driver provides is 3-fold:
/linux-6.12.1/Documentation/core-api/
Dunaligned-memory-access.rst156 u32 fold = ((*(const u32 *)addr1) ^ (*(const u32 *)addr2)) |
159 return fold == 0;
/linux-6.12.1/Documentation/trace/rv/
Dda_monitor_synthesis.rst72 The benefits of the usage of macro for monitor synthesis are 3-fold as it:
/linux-6.12.1/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.12.1/net/wireless/
Dscan.c1696 u8 fold = 0; in cfg80211_combine_bsses() local
1711 fold |= ie[2 + i]; in cfg80211_combine_bsses()
1713 if (fold) { in cfg80211_combine_bsses()
/linux-6.12.1/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.12.1/kernel/bpf/
Dverifier.c8106 struct bpf_func_state *fold, *fcur; in widen_imprecise_scalars() local
8111 fold = old->frame[fr]; in widen_imprecise_scalars()
8116 &fold->regs[i], in widen_imprecise_scalars()
8120 for (i = 0; i < fold->allocated_stack / BPF_REG_SIZE; i++) { in widen_imprecise_scalars()
8121 if (!is_spilled_reg(&fold->stack[i]) || in widen_imprecise_scalars()
8126 &fold->stack[i].spilled_ptr, in widen_imprecise_scalars()
17771 struct bpf_func_state *fold, *fcur; in states_maybe_looping() local
17777 fold = old->frame[fr]; in states_maybe_looping()
17780 if (memcmp(&fold->regs[i], &fcur->regs[i], in states_maybe_looping()
/linux-6.12.1/Documentation/translations/it_IT/process/
Dcoding-style.rst1180 Il compilatore valuterà la condizione come costante (constant-fold), e quindi
/linux-6.12.1/Documentation/process/
Dcoding-style.rst1187 The compiler will constant-fold the conditional away, and include or exclude