Lines Matching full:input
14 static const u8 input[] = { in defragment_0() local
24 u8 *data = kunit_kzalloc(test, sizeof(input), GFP_KERNEL); in defragment_0()
28 ret = cfg80211_defragment_element((void *)input, in defragment_0()
29 input, sizeof(input), in defragment_0()
33 ret = cfg80211_defragment_element((void *)input, in defragment_0()
34 input, sizeof(input), in defragment_0()
38 KUNIT_EXPECT_MEMEQ(test, data, input + 3, 253); in defragment_0()
44 static const u8 input[] = { in defragment_1() local
57 u8 *data = kunit_kzalloc(test, sizeof(input), GFP_KERNEL); in defragment_1()
63 for_each_element(elem, input, sizeof(input)) in defragment_1()
69 ret = cfg80211_defragment_element((void *)input, in defragment_1()
70 input, sizeof(input), in defragment_1()
74 ret = cfg80211_defragment_element((void *)input, in defragment_1()
75 input, sizeof(input), in defragment_1()
80 KUNIT_EXPECT_MEMEQ(test, data, input + 3, 254); in defragment_1()
81 KUNIT_EXPECT_MEMEQ(test, data + 254, input + 255 + 4, 7); in defragment_1()
87 static const u8 input[] = { in defragment_2() local
105 u8 *data = kunit_kzalloc(test, sizeof(input), GFP_KERNEL); in defragment_2()
111 for_each_element(elem, input, sizeof(input)) in defragment_2()
117 ret = cfg80211_defragment_element((void *)input, in defragment_2()
118 input, sizeof(input), in defragment_2()
123 ret = cfg80211_defragment_element((void *)input, in defragment_2()
124 input, sizeof(input), in defragment_2()
128 KUNIT_EXPECT_MEMEQ(test, data, input + 3, 254); in defragment_2()
129 KUNIT_EXPECT_MEMEQ(test, data + 254, input + 257 + 2, 255); in defragment_2()
130 KUNIT_EXPECT_MEMEQ(test, data + 254 + 255, input + 2 * 257 + 2, 1); in defragment_2()
136 static const u8 input[] = { in defragment_at_end() local
146 u8 *data = kunit_kzalloc(test, sizeof(input), GFP_KERNEL); in defragment_at_end()
150 ret = cfg80211_defragment_element((void *)input, in defragment_at_end()
151 input, sizeof(input), in defragment_at_end()
155 ret = cfg80211_defragment_element((void *)input, in defragment_at_end()
156 input, sizeof(input), in defragment_at_end()
160 KUNIT_EXPECT_MEMEQ(test, data, input + 3, 254); in defragment_at_end()
161 KUNIT_EXPECT_MEMEQ(test, data + 254, input + 255 + 4, 7); in defragment_at_end()