/kernel/linux/linux-5.10/net/sched/ |
H A D | cls_route.c | 477 struct route4_filter *fold, *f1, *pfp, *f = NULL; in route4_change() local 498 fold = *arg; in route4_change() 499 if (fold && handle && 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->handle = fold->handle; in route4_change() 516 f->tp = fold->tp; in route4_change() 517 f->bkt = fold in route4_change() [all...] |
H A D | cls_flow.c | 394 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() 456 /* Copy fold into fnew */ 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 in flow_change() [all...] |
H A D | cls_basic.c | 178 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 in basic_change() [all...] |
H A D | cls_flower.c | 1869 struct cls_fl_filter *fold, in fl_check_assign_mask() 1887 if (fold) { in fl_check_assign_mask() 1902 } else if (fold && fold->mask != fnew->mask) { in fl_check_assign_mask() 1956 struct cls_fl_filter *fold, in fl_ht_insert_unique() 1970 return fold && err == -EEXIST ? 0 : err; in fl_ht_insert_unique() 1984 struct cls_fl_filter *fold = *arg; in fl_change() local 2013 if (fold && handle && fold->handle != handle) { in fl_change() 2044 err = fl_check_assign_mask(head, fnew, fold, mas in fl_change() 1867 fl_check_assign_mask(struct cls_fl_head *head, struct cls_fl_filter *fnew, struct cls_fl_filter *fold, struct fl_flow_mask *mask) fl_check_assign_mask() argument 1955 fl_ht_insert_unique(struct cls_fl_filter *fnew, struct cls_fl_filter *fold, bool *in_ht) fl_ht_insert_unique() argument [all...] |
/kernel/linux/linux-6.6/net/sched/ |
H A D | cls_route.c | 479 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 in route4_change() [all...] |
H A D | cls_flow.c | 396 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() 458 /* Copy fold into fnew */ 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 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() 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 in basic_change() [all...] |
H A D | cls_flower.c | 2153 struct cls_fl_filter *fold, in fl_check_assign_mask() 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() 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() 2151 fl_check_assign_mask(struct cls_fl_head *head, struct cls_fl_filter *fnew, struct cls_fl_filter *fold, struct fl_flow_mask *mask) fl_check_assign_mask() argument 2206 fl_ht_insert_unique(struct cls_fl_filter *fnew, struct cls_fl_filter *fold, bool *in_ht) fl_ht_insert_unique() argument [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | etherdevice.h | 341 u32 fold = ((*(const u32 *)addr1) ^ (*(const u32 *)addr2)) | in ether_addr_equal() local 344 return fold == 0; in ether_addr_equal() 370 u64 fold = (*(const u64 *)addr1) ^ (*(const u64 *)addr2); in ether_addr_equal_64bits() local 373 return (fold >> 16) == 0; in ether_addr_equal_64bits() 375 return (fold << 16) == 0; in ether_addr_equal_64bits() 523 unsigned long fold; in compare_ether_header() local 533 fold = *(unsigned long *)a ^ *(unsigned long *)b; in compare_ether_header() 534 fold |= *(unsigned long *)(a + 6) ^ *(unsigned long *)(b + 6); in compare_ether_header() 535 return fold; in compare_ether_header()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | etherdevice.h | 349 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()
|
/kernel/linux/linux-5.10/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,
|
/kernel/linux/linux-6.6/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,
|
/kernel/linux/linux-5.10/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
|
/kernel/linux/linux-6.6/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
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | test_xsk.sh | 95 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)
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc_pf.c | 78 u64 fold = __swab64(ether_addr_to_u64(addr)) >> 16; in enetc_mac_addr_hash_idx() local 87 res |= (hweight64(fold & (mask << i)) & 0x1) << i; in enetc_mac_addr_hash_idx()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc_pf.c | 82 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()
|
/kernel/linux/linux-6.6/rust/alloc/ |
H A D | boxed.rs | 1971 self.fold(None, some)
|
/kernel/linux/linux-5.10/net/wireless/ |
H A D | scan.c | 1573 u8 fold = 0; in cfg80211_combine_bsses() local 1588 fold |= ie[2 + i]; in cfg80211_combine_bsses() 1590 if (fold) { in cfg80211_combine_bsses()
|
/kernel/linux/linux-6.6/net/wireless/ |
H A D | scan.c | 1610 u8 fold = 0; in cfg80211_combine_bsses() local 1625 fold |= ie[2 + i]; in cfg80211_combine_bsses() 1627 if (fold) { in cfg80211_combine_bsses()
|
/kernel/linux/linux-6.6/kernel/bpf/ |
H A D | verifier.c | 7797 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() 8159 * Therefore we fold these flags depending on the arg_type before comparison. in check_reg_type() 16452 struct bpf_func_state *fold, *fcur; in states_maybe_looping() local 16458 fold = old->frame[fr]; in states_maybe_looping() 16461 if (memcmp(&fold in states_maybe_looping() [all...] |
/kernel/linux/linux-5.10/kernel/bpf/ |
H A D | verifier.c | 4678 * Therefore we fold these flags depending on the arg_type before comparison. in check_reg_type() 9793 struct bpf_func_state *fold, *fcur; in states_maybe_looping() local 9799 fold = old->frame[fr]; in states_maybe_looping() 9802 if (memcmp(&fold->regs[i], &fcur->regs[i], in states_maybe_looping()
|