/linux-master/tools/testing/selftests/net/forwarding/ |
H A D | vxlan_bridge_1d_ipv6.sh | 525 local expect=${expects[$key]} 527 ((expect == delta)) 528 check_err $? "${counters[$key]}: Expected to capture $expect packets, got $delta." 611 local expect=$1; shift 619 ((expect <= delta && delta <= expect + 5)) 620 check_err $? "$capture_dev: Expected to capture $expect packets, got $delta." 718 local expect=$1; shift 731 ((expect <= delta && delta <= expect [all...] |
H A D | bridge_vlan_mcast.sh | 101 local expect=$1 110 if [ $expect -eq 0 ]; then 192 local expect=$4 207 if [[ $tcstats != $expect || \ 208 $(($post_tx_xstats-$pre_tx_xstats)) != $expect || \
|
H A D | bridge_mdb_max.sh | 1036 local expect=$1; shift 1043 eval "[[ $max $expect ]]" 1044 check_err $? "$locus: maxgroups attribute expected to be $expect, but was $max" 1046 eval "[[ $n $expect ]]" 1047 check_err $? "$locus: ngroups attribute expected to be $expect, but was $n"
|
H A D | vxlan_asymmetric.sh | 501 local expect=$1; shift 504 (( expect == actual )) 505 check_err $? "expected $expect arps got $actual"
|
/linux-master/tools/testing/selftests/mm/ |
H A D | khugepaged.c | 58 struct mem_ops *ops, bool expect); 497 struct mem_ops *ops, bool expect) 515 if (((bool)ret) == expect) 517 else if (!ops->check_huge(p, expect ? nr_hpages : 0)) 526 struct mem_ops *ops, bool expect) 533 __madvise_collapse(msg, p, nr_hpages, ops, expect); 570 struct mem_ops *ops, bool expect) 573 if (expect) 588 if (ops->check_huge(p, expect ? nr_hpages : 0)) 496 __madvise_collapse(const char *msg, char *p, int nr_hpages, struct mem_ops *ops, bool expect) argument 525 madvise_collapse(const char *msg, char *p, int nr_hpages, struct mem_ops *ops, bool expect) argument 569 khugepaged_collapse(const char *msg, char *p, int nr_hpages, struct mem_ops *ops, bool expect) argument
|
/linux-master/drivers/gpu/drm/i915/selftests/ |
H A D | i915_syncmap.c | 292 * If we then reuse the same set of contexts, we expect to build an 576 bool expect; local 579 expect = seqno_later(last_seqno, seqno); 584 if (i915_syncmap_is_later(&sync, context, seqno) != expect) { 586 context, last_seqno, seqno, expect);
|
/linux-master/tools/testing/selftests/powerpc/nx-gzip/ |
H A D | gunz_test.c | 277 int c, expect, i, cc, rc = 0; local 336 c = GETINPC(inpf); expect = 0x1f; /* ID1 */ 337 if (c != expect) 340 c = GETINPC(inpf); expect = 0x8b; /* ID2 */ 341 if (c != expect) 344 c = GETINPC(inpf); expect = 0x08; /* CM */ 345 if (c != expect) 978 fprintf(stderr, "error: not a gzip file, expect %x, read %x\n", 979 expect, c);
|
/linux-master/tools/testing/selftests/bpf/verifier/ |
H A D | atomic_fetch.c | 95 #define __ATOMIC_FETCH_OP_TEST(src_reg, dst_reg, operand1, op, operand2, expect) \ 112 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, expect, 2), \
|
/linux-master/drivers/char/ |
H A D | nvram.c | 124 unsigned short expect; local 128 expect = __nvram_read_byte(PC_CKS_LOC)<<8 | 130 return (sum & 0xffff) == expect;
|
/linux-master/tools/testing/selftests/filesystems/statmount/ |
H A D | statmount_test.c | 526 size_t num, expect = 1 << log2_num; local 541 if (num != expect) { 543 res, expect);
|
/linux-master/drivers/input/tablet/ |
H A D | wacom_serial4.c | 167 u8 expect; member in struct:wacom 286 if (wacom->data[0] != '~' || wacom->data[1] != wacom->expect) { 470 wacom->expect = cmd[1]; 483 wacom->expect = 0;
|
/linux-master/include/linux/netfilter/ |
H A D | nf_conntrack_sip.h | 120 unsigned int (*expect)(struct sk_buff *skb, member in struct:nf_nat_sip_hooks
|
/linux-master/drivers/block/drbd/ |
H A D | drbd_polymorph_printk.h | 129 * expect - Make an assertion 133 #define expect(x, exp) ({ \ macro
|
H A D | drbd_receiver.c | 415 if (!expect(device, !(peer_req->flags & EE_CALL_AL_COMPLETE_IO))) { 1878 if (!expect(peer_device, data_size == 0)) 1882 if (!expect(peer_device, data_size == 0)) 1887 if (!expect(peer_device, IS_ALIGNED(ds, 512))) 1890 if (!expect(peer_device, ds <= (DRBD_MAX_BBIO_SECTORS << 9))) 1892 } else if (!expect(peer_device, ds <= DRBD_MAX_BIO_SIZE)) 1988 int digest_size, err, expect; local 2010 expect = min_t(int, data_size, bvec.bv_len); 2011 err = drbd_recv_all_warn(peer_device->connection, mapped, expect); 2015 data_size -= expect; 5284 const int expect = sizeof(struct p_connection_features); local 5971 int expect = header_size; local [all...] |
/linux-master/arch/s390/include/uapi/asm/ |
H A D | dasd.h | 220 struct format_data_t expect; member in struct:format_check_t
|
/linux-master/lib/ |
H A D | atomic64_test.c | 72 #define TEST_ARGS(bit, op, init, ret, expect, args...) \ 76 BUG_ON(atomic##bit##_read(&v) != expect); \
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | btf.c | 6892 struct btf_raw_data expect; member in struct:btf_dedup_test 6908 .expect = { 6930 .expect = { 6992 .expect = { 7049 .expect = { 7090 .expect = { 7144 .expect = { 7204 .expect = { 7252 .expect = { 7290 .expect [all...] |
/linux-master/fs/btrfs/tests/ |
H A D | extent-io-tests.c | 353 u8 expect; local 356 expect = bitmap_get_value8(bitmap, ALIGN(i, BITS_PER_BYTE)); 359 "bits do not match, start byte 0 bit %lu, byte %lu has 0x%02x expect 0x%02x", 360 i, i / BITS_PER_BYTE, has, expect); 368 u8 expect; local 371 expect = bitmap_get_value8(bitmap, ALIGN(i, BITS_PER_BYTE)); 374 "bits do not match, start byte %lu bit %lu, byte %lu has 0x%02x expect 0x%02x", 376 i / BITS_PER_BYTE, has, expect);
|
/linux-master/kernel/ |
H A D | static_call_inline.c | 532 int expect; member in struct:static_call_data 549 WARN_ON(static_call(sc_selftest)(scd->val) != scd->expect);
|
/linux-master/include/net/bluetooth/ |
H A D | bluetooth.h | 466 u16 expect; member in struct:bt_skb_cb 480 #define hci_skb_expect(skb) bt_cb((skb))->expect
|
/linux-master/drivers/net/ethernet/rocker/ |
H A D | rocker_main.c | 158 const unsigned char *expect, size_t size) 172 if (buf[i] != expect[i]) { 174 buf[i], i, expect[i]); 190 unsigned char *expect; local 200 expect = buf + ROCKER_TEST_DMA_BUF_SIZE; 212 memset(expect, ROCKER_TEST_DMA_FILL_PATTERN, ROCKER_TEST_DMA_BUF_SIZE); 214 dma_handle, buf, expect, 219 memset(expect, 0, ROCKER_TEST_DMA_BUF_SIZE); 221 dma_handle, buf, expect, 228 expect[ 155 rocker_dma_test_one(const struct rocker *rocker, struct rocker_wait *wait, u32 test_type, dma_addr_t dma_handle, const unsigned char *buf, const unsigned char *expect, size_t size) argument [all...] |
/linux-master/drivers/hwtracing/intel_th/ |
H A D | msu.c | 708 enum lockout_state expect, 721 if (old != expect) { 728 if (old == expect && new == WIN_LOCKED) 730 else if (old == expect && old == WIN_LOCKED) 737 if (expect == WIN_READY && old == WIN_LOCKED) 741 if (expect == WIN_LOCKED && old == new) 746 expect, old); 707 msc_win_set_lockout(struct msc_window *win, enum lockout_state expect, enum lockout_state new) argument
|
/linux-master/drivers/iio/adc/ |
H A D | xilinx-ams.c | 462 u32 expect = AMS_PS_CSTS_PS_READY; local 470 ret = readl_poll_timeout(ams->base + AMS_PS_CSTS, reg, (reg & expect), 551 u32 expect = AMS_ISR1_EOC_MASK; local 560 writel(expect, ams->base + AMS_ISR_1); 561 ret = readl_poll_timeout(ams->base + AMS_ISR_1, reg, (reg & expect),
|
/linux-master/tools/testing/selftests/rseq/ |
H A D | param_test.c | 614 intptr_t *targetptr, newval, expect; local 619 expect = (intptr_t)RSEQ_READ_ONCE(list->c[cpu].head); 622 node->next = (struct percpu_list_node *)expect; 624 targetptr, expect, newval, cpu);
|
/linux-master/drivers/net/ieee802154/ |
H A D | atusb.c | 197 u8 expect = atusb->tx_ack_seq; local 199 dev_dbg(&usb_dev->dev, "%s (0x%02x/0x%02x)\n", __func__, seq, expect); 200 if (seq == expect) { 209 * unlikely case now that seq == expect is then true, but can
|