Home
last modified time | relevance | path

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

/Linux-v6.1/net/sched/
Dcls_route.c477 struct route4_filter *fold, *f1, *pfp, *f = NULL; in route4_change() local
498 fold = *arg; in route4_change()
499 if (fold && fold->handle != handle) in route4_change()
511 if (fold) { in route4_change()
512 f->id = fold->id; in route4_change()
513 f->iif = fold->iif; in route4_change()
514 f->res = fold->res; in route4_change()
515 f->handle = fold->handle; in route4_change()
517 f->tp = fold->tp; in route4_change()
518 f->bkt = fold->bkt; in route4_change()
[all …]
Dcls_flow.c394 struct flow_filter *fold, *fnew; in flow_change() local
450 fold = *arg; in flow_change()
451 if (fold) { in flow_change()
453 if (fold->handle != handle && handle) in flow_change()
457 fnew->tp = fold->tp; in flow_change()
458 fnew->handle = fold->handle; in flow_change()
459 fnew->nkeys = fold->nkeys; in flow_change()
460 fnew->keymask = fold->keymask; in flow_change()
461 fnew->mode = fold->mode; in flow_change()
462 fnew->mask = fold->mask; in flow_change()
[all …]
Dcls_basic.c178 struct basic_filter *fold = (struct basic_filter *) *arg; in basic_change() local
189 if (fold != NULL) { in basic_change()
190 if (handle && fold->handle != handle) in basic_change()
206 } else if (!fold) { in basic_change()
222 if (!fold) in basic_change()
229 if (fold) { in basic_change()
231 list_replace_rcu(&fold->link, &fnew->link); in basic_change()
232 tcf_unbind_filter(tp, &fold->res); in basic_change()
233 tcf_exts_get_net(&fold->exts); in basic_change()
234 tcf_queue_work(&fold->rwork, basic_delete_filter_work); in basic_change()
Dcls_flower.c2034 struct cls_fl_filter *fold, in fl_check_assign_mask() argument
2052 if (fold) { in fl_check_assign_mask()
2067 } else if (fold && fold->mask != fnew->mask) { in fl_check_assign_mask()
2122 struct cls_fl_filter *fold, in fl_ht_insert_unique() argument
2136 return fold && err == -EEXIST ? 0 : err; in fl_ht_insert_unique()
2151 struct cls_fl_filter *fold = *arg; in fl_change() local
2180 if (fold && handle && fold->handle != handle) { in fl_change()
2212 err = fl_check_assign_mask(head, fnew, fold, mask); in fl_change()
2216 err = fl_ht_insert_unique(fnew, fold, &in_ht); in fl_change()
2239 if (fold) { in fl_change()
[all …]
/Linux-v6.1/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()
553 unsigned long fold; in compare_ether_header() local
563 fold = *(unsigned long *)a ^ *(unsigned long *)b; in compare_ether_header()
564 fold |= *(unsigned long *)(a + 6) ^ *(unsigned long *)(b + 6); in compare_ether_header()
565 return fold; in compare_ether_header()
/Linux-v6.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-v6.1/tools/testing/selftests/bpf/
Dtest_xsk.sh98 VETH0_POSTFIX=$(cat ${URANDOM} | tr -dc '0-9' | fold -w 256 | head -n 1 | head --bytes 4)
100 VETH1_POSTFIX=$(cat ${URANDOM} | tr -dc '0-9' | fold -w 256 | head -n 1 | head --bytes 4)
/Linux-v6.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-v6.1/Documentation/translations/zh_CN/core-api/
Dunaligned-memory-access.rst135 u32 fold = ((*(const u32 *)addr1) ^ (*(const u32 *)addr2)) |
138 return fold == 0;
/Linux-v6.1/Documentation/leds/
Dleds-blinkm.rst16 The interface this driver provides is 2-fold:
/Linux-v6.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-v6.1/Documentation/core-api/
Dunaligned-memory-access.rst156 u32 fold = ((*(const u32 *)addr1) ^ (*(const u32 *)addr2)) |
159 return fold == 0;
/Linux-v6.1/Documentation/trace/rv/
Dda_monitor_synthesis.rst72 The benefits of the usage of macro for monitor synthesis are 3-fold as it:
/Linux-v6.1/mm/
Dfilemap.c802 struct folio *fold = page_folio(old); in replace_page_cache_page() local
817 mem_cgroup_migrate(fold, fnew); in replace_page_cache_page()
834 free_folio(fold); in replace_page_cache_page()
835 folio_put(fold); in replace_page_cache_page()
/Linux-v6.1/drivers/staging/media/atomisp/
DTODO175 there are any specific things that can be done to fold in support for
/Linux-v6.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-v6.1/net/wireless/
Dscan.c1539 u8 fold = 0; in cfg80211_combine_bsses() local
1554 fold |= ie[2 + i]; in cfg80211_combine_bsses()
1556 if (fold) { in cfg80211_combine_bsses()
/Linux-v6.1/rust/alloc/
Dboxed.rs1836 self.fold(None, some) in last()
/Linux-v6.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-v6.1/Documentation/translations/it_IT/process/
Dcoding-style.rst1174 Il compilatore valuterà la condizione come costante (constant-fold), e quindi
/Linux-v6.1/Documentation/process/
Dcoding-style.rst1171 The compiler will constant-fold the conditional away, and include or exclude
/Linux-v6.1/kernel/bpf/
Dverifier.c11885 struct bpf_func_state *fold, *fcur; in states_maybe_looping() local
11891 fold = old->frame[fr]; in states_maybe_looping()
11894 if (memcmp(&fold->regs[i], &fcur->regs[i], in states_maybe_looping()