Home
last modified time | relevance | path

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

12

/openbmc/linux/net/sched/
H A Dcls_flow.c397 struct flow_filter *fold, *fnew; in flow_change() local
453 fold = *arg; in flow_change()
454 if (fold) { in flow_change()
456 if (fold->handle != handle && handle) in flow_change()
460 fnew->tp = fold->tp; in flow_change()
461 fnew->handle = fold->handle; in flow_change()
462 fnew->nkeys = fold->nkeys; in flow_change()
463 fnew->keymask = fold->keymask; in flow_change()
464 fnew->mode = fold->mode; in flow_change()
465 fnew->mask = fold->mask; in flow_change()
[all …]
H A 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 …]
H A 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()
H A Dcls_flower.c2154 struct cls_fl_filter *fold, in fl_check_assign_mask() argument
2172 if (fold) { in fl_check_assign_mask()
2187 } else if (fold && fold->mask != fnew->mask) { in fl_check_assign_mask()
2208 struct cls_fl_filter *fold, in fl_ht_insert_unique() argument
2222 return fold && err == -EEXIST ? 0 : err; in fl_ht_insert_unique()
2237 struct cls_fl_filter *fold = *arg; in fl_change() local
2267 if (fold && handle && fold->handle != handle) { in fl_change()
2290 if (!fold) { in fl_change()
2360 err = fl_check_assign_mask(head, fnew, fold, mask); in fl_change()
2364 err = fl_ht_insert_unique(fnew, fold, &in_ht); in fl_change()
[all …]
/openbmc/linux/include/linux/
H A 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()
/openbmc/linux/Documentation/trace/
H A 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,
/openbmc/linux/tools/testing/selftests/bpf/
H A 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)
/openbmc/linux/arch/alpha/lib/
H A Dcsum_ipv6_magic.S104 extwl $0,2,$1 # e0 : fold 18-bit value
109 extwl $0,2,$1 # e0 : fold 17-bit value
/openbmc/linux/Documentation/translations/zh_CN/core-api/
H A Dunaligned-memory-access.rst135 u32 fold = ((*(const u32 *)addr1) ^ (*(const u32 *)addr2)) |
138 return fold == 0;
/openbmc/openbmc-tools/ipkdbg/
H A Dipkdbg.in15 /bin/echo -e "$@" | fold >&2
19 /bin/echo -e "$@" | fold
/openbmc/linux/Documentation/leds/
H A Dleds-blinkm.rst16 The interface this driver provides is 2-fold:
/openbmc/linux/Documentation/security/
H A 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
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/uutils-coreutils/
H A Duutils-coreutils_0.0.29.bb41 env expand expr factor fmt fold groups head hostid id install \
/openbmc/u-boot/doc/
H A DREADME.unaligned-memory-access.txt150 u32 fold = ((*(const u32 *)addr1) ^ (*(const u32 *)addr2)) |
153 return fold == 0;
/openbmc/pldm/
H A D.clang-tidy10 bugprone-fold-init-type,
/openbmc/linux/Documentation/core-api/
H A Dunaligned-memory-access.rst156 u32 fold = ((*(const u32 *)addr1) ^ (*(const u32 *)addr2)) |
159 return fold == 0;
/openbmc/linux/Documentation/trace/rv/
H A Dda_monitor_synthesis.rst72 The benefits of the usage of macro for monitor synthesis are 3-fold as it:
/openbmc/libpldm/
H A D.clang-tidy10 bugprone-fold-init-type,
/openbmc/obmc-console/
H A D.clang-tidy10 bugprone-fold-init-type,
/openbmc/libcper/
H A D.clang-tidy10 bugprone-fold-init-type,
/openbmc/linux/drivers/net/ethernet/freescale/enetc/
H A 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()
/openbmc/phosphor-psu-code-mgmt/
H A D.clang-tidy10 bugprone-fold-init-type,
/openbmc/phosphor-bmc-code-mgmt/
H A D.clang-tidy10 bugprone-fold-init-type,
/openbmc/phosphor-state-manager/
H A D.clang-tidy10 bugprone-fold-init-type,
/openbmc/phosphor-led-manager/
H A D.clang-tidy10 bugprone-fold-init-type,

12