Home
last modified time | relevance | path

Searched refs:src1 (Results 1 – 5 of 5) sorted by relevance

/tools/include/linux/
Dbitmap.h73 static inline void bitmap_or(unsigned long *dst, const unsigned long *src1, in bitmap_or() argument
77 *dst = *src1 | *src2; in bitmap_or()
79 __bitmap_or(dst, src1, src2, nbits); in bitmap_or()
117 static inline bool bitmap_and(unsigned long *dst, const unsigned long *src1, in bitmap_and() argument
121 return (*dst = *src1 & *src2 & BITMAP_LAST_WORD_MASK(nbits)) != 0; in bitmap_and()
122 return __bitmap_and(dst, src1, src2, nbits); in bitmap_and()
132 static inline bool bitmap_equal(const unsigned long *src1, in bitmap_equal() argument
136 return !((*src1 ^ *src2) & BITMAP_LAST_WORD_MASK(nbits)); in bitmap_equal()
139 return !memcmp(src1, src2, nbits / 8); in bitmap_equal()
140 return __bitmap_equal(src1, src2, nbits); in bitmap_equal()
[all …]
/tools/testing/selftests/bpf/progs/
Dcpumask_common.h31 u32 bpf_cpumask_first_and(const struct cpumask *src1,
41 const struct cpumask *src1,
44 const struct cpumask *src1,
47 const struct cpumask *src1,
49 bool bpf_cpumask_equal(const struct cpumask *src1, const struct cpumask *src2) __ksym;
50 bool bpf_cpumask_intersects(const struct cpumask *src1, const struct cpumask *src2) __ksym;
51 bool bpf_cpumask_subset(const struct cpumask *src1, const struct cpumask *src2) __ksym;
56 u32 bpf_cpumask_any_and_distribute(const struct cpumask *src1, const struct cpumask *src2) __ksym;
/tools/testing/selftests/net/forwarding/
Dbridge_mdb.sh292 local src1=${src_prefix}1
307 source_list $src1
310 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 &> /dev/null
315 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 &> /dev/null
322 filter_mode exclude source_list $src1
326 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | \
340 filter_mode exclude source_list $src1
344 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "temp"
357 filter_mode include source_list $src1
361 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "temp"
[all …]
/tools/testing/selftests/drivers/net/dsa/
Dbridge_mdb.sh292 local src1=${src_prefix}1
307 source_list $src1
310 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 &> /dev/null
315 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 &> /dev/null
322 filter_mode exclude source_list $src1
326 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | \
340 filter_mode exclude source_list $src1
344 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "temp"
357 filter_mode include source_list $src1
361 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "temp"
[all …]
/tools/testing/selftests/net/
Dtest_vxlan_mdb.sh542 local src1=$1; shift
551 … add dev vx0 port vx0 grp $grp permanent filter_mode exclude source_list $src1 dst $vtep_ip src_vn…
555 run_cmd "bridge -n $ns1 -d -s mdb show dev vx0 | grep $grp | grep \"src $src1\""
558 …lace dev vx0 port vx0 grp $grp permanent filter_mode exclude source_list $src1 dst $vtep_ip src_vn…
562 run_cmd "bridge -n $ns1 -d -s mdb show dev vx0 | grep $grp | grep \"src $src1\""
569 run_cmd "bridge -n $ns1 -d -s mdb show dev vx0 | grep $grp | grep \"src $src1\""
577 …lace dev vx0 port vx0 grp $grp permanent filter_mode include source_list $src1 dst $vtep_ip src_vn…
580 run_cmd "bridge -n $ns1 -d -s mdb show dev vx0 | grep $grp | grep \"src $src1\""
582 run_cmd "bridge -n $ns1 -d -s mdb show dev vx0 | grep $grp | grep \"src $src1\" | grep blocked"
585 …lace dev vx0 port vx0 grp $grp permanent filter_mode exclude source_list $src1 dst $vtep_ip src_vn…
[all …]