Searched refs:expected (Results 176 - 200 of 312) sorted by relevance

1234567891011>>

/linux-master/drivers/i2c/busses/
H A Di2c-mt7621.c112 static int mtk_i2c_check_ack(struct mtk_i2c *i2c, u32 expected) argument
115 u32 ack_expected = (expected << 16) & SM0CTL1_ACK_MASK;
/linux-master/tools/perf/dlfilters/
H A Ddlfilter-test-api-v0.c181 if (sample->x != expected.x) \
182 return test_fail("'" #x "' not expected value\n"); \
187 struct perf_dlfilter_sample expected = { local
H A Ddlfilter-test-api-v2.c196 if (sample->x != expected.x) \
197 return test_fail("'" #x "' not expected value\n"); \
202 struct perf_dlfilter_sample expected = { local
/linux-master/drivers/gpu/drm/i915/gt/
H A Dintel_engine_user.c298 unsigned int expected = engine->default_state ? bit : 0; local
300 if ((isolation & bit) != expected) {
/linux-master/tools/testing/selftests/net/
H A Dsrv6_end_dt4_l3vpn_test.sh181 local expected=$2
184 if [ ${rc} -eq ${expected} ]; then
H A Dsrv6_end_dt6_l3vpn_test.sh182 local expected=$2
185 if [ ${rc} -eq ${expected} ]; then
H A Dfdb_flush.sh5 # Check that flush works as expected with all the supported arguments and verify
71 local expected=$2
77 if [ ${rc} -eq ${expected} ]; then
85 echo " rc=$rc, expected $expected"
587 # remotes for a given key. Verify that only the expected remotes are
H A Dtest_bridge_backup_port.sh60 local expected=$2
63 if [ ${rc} -eq ${expected} ]; then
71 echo " rc=$rc, expected $expected"
H A Dsrv6_hencap_red_l3vpn_test.sh201 local expected="$2"
204 if [ "${rc}" -eq "${expected}" ]; then
H A Dsrv6_hl2encap_red_l2vpn_test.sh152 local expected="$2"
155 if [ "${rc}" -eq "${expected}" ]; then
H A Dsrv6_end_flavors_test.sh228 local expected="$2"
231 if [ "${rc}" -eq "${expected}" ]; then
/linux-master/fs/ubifs/
H A Dauth.c129 * @hash: the expected hash
134 * expected.
148 ubifs_err(c, "hash expected: %*ph%s", len, hash, cont);
156 * @expected: the expected hash
163 const u8 *expected)
172 if (ubifs_check_hash(c, expected, calc))
383 * This function calculates a HMAC of a UBIFS node. The HMAC is expected to be
162 __ubifs_node_check_hash(const struct ubifs_info *c, const void *node, const u8 *expected) argument
H A Dubifs.h146 /* Maximum expected tree height for use by bottom_up_buf */
1603 * @expected: first hash
1606 * Compare two hashes @expected and @got. Returns 0 when they are equal, a
1610 const u8 *expected, const u8 *got)
1612 return crypto_memneq(expected, got, c->hash_len);
1618 * @expected: first HMAC
1621 * Compare two hashes @expected and @got. Returns 0 when they are equal, a
1625 const u8 *expected, const u8 *got)
1627 return crypto_memneq(expected, got, c->hmac_desc_len);
1639 const u8 *expected);
1609 ubifs_check_hash(const struct ubifs_info *c, const u8 *expected, const u8 *got) argument
1624 ubifs_check_hmac(const struct ubifs_info *c, const u8 *expected, const u8 *got) argument
1640 ubifs_node_check_hash(const struct ubifs_info *c, const void *buf, const u8 *expected) argument
[all...]
/linux-master/drivers/dma/
H A Ddmatest.c381 u8 expected = pattern | gen_inv_idx(counter, is_memset); local
386 thread_name, index, expected, actual);
390 thread_name, index, expected, actual);
393 thread_name, index, expected, actual);
396 thread_name, index, expected, actual);
406 u8 expected; local
414 expected = pattern | gen_inv_idx(counter, is_memset);
415 if (actual != expected) {
/linux-master/drivers/i3c/master/mipi-i3c-hci/
H A Dpio.c501 unsigned int received, expected, to_keep; local
504 expected = RESP_DATA_LENGTH(xfer->response);
505 if (expected > received) {
507 expected - received);
508 } else if (received > expected) {
510 to_keep = DIV_ROUND_UP(expected, 4);
/linux-master/drivers/gpu/drm/i915/gem/selftests/
H A Di915_gem_context.c529 pr_err("%pS: Invalid value at object %d page %ld/%ld, offset %d/%d: found %x expected %x\n",
540 pr_err("%pS: Invalid value at object %d page %ld, offset %d: found %x expected %x (uninitialised)\n",
668 * up in the expected pages of our obj.
797 * up in the expected pages of our obj.
1137 __check_rpcs(const char *name, u32 rpcs, int slices, unsigned int expected, argument
1140 if (slices == expected)
1150 name, prefix, slices, expected, suffix);
1166 unsigned int expected,
1181 ret = __check_rpcs(name, rpcs, ret, expected, "Context", "!");
1198 ret = __check_rpcs(name, rpcs, ret, expected,
1162 __sseu_finish(const char *name, unsigned int flags, struct intel_context *ce, struct drm_i915_gem_object *obj, unsigned int expected, struct igt_spinner *spin) argument
1781 u32 expected; local
[all...]
/linux-master/tools/testing/selftests/drivers/net/netdevsim/
H A Dnexthop.sh59 local expected="$1"; shift
62 if [[ "$out" != "$expected" ]]; then
72 local expected
79 expected=$1; shift
83 if ((expected != count)); then
413 check_err $? "Group expected to be unbalanced"
418 check_err $? "Group expected to be balanced"
439 check_err $? "Group expected to be unbalanced"
448 check_err $? "Group expected to still be unbalanced"
453 check_err $? "Group expected t
[all...]
/linux-master/drivers/misc/mei/
H A Dhw-txe.c213 * @expected: expected aliveness value
217 * Return: 0 if the expected value was received, -ETIME otherwise
219 static int mei_txe_aliveness_poll(struct mei_device *dev, u32 expected) argument
228 if (hw->aliveness == expected) {
246 * @expected: expected aliveness value
252 static int mei_txe_aliveness_wait(struct mei_device *dev, u32 expected) argument
261 if (hw->aliveness == expected)
270 ret = hw->aliveness == expected
[all...]
/linux-master/arch/alpha/kernel/
H A Dcore_cia.c1205 int expected;
1215 expected = mcheck_expected(0);
1216 if (!expected && vector == 0x660)
1217 expected = cia_decode_mchk(la_ptr);
1218 process_mcheck_info(vector, la_ptr, "CIA", expected);
1202 int expected; local
/linux-master/lib/
H A Dtest_rhashtable.c145 bool expected = !(i % 2); local
151 expected = false;
155 if (expected && !obj) {
158 } else if (!expected && obj) {
162 } else if (expected && obj) {
607 pr_err(" wrong object returned (got %d-%d, expected %d-%d)\n",
/linux-master/tools/testing/selftests/netfilter/
H A Dnft_queue.sh207 echo "FAIL: $proto expected failure, got $lret" 1>&2
222 local expected=$1
248 if [ x"$last" != x"$expected packets total" ]; then
249 echo "FAIL: Expected $expected packets total, but got $last" 1>&2
/linux-master/drivers/media/common/videobuf2/
H A Dvideobuf2-dma-contig.c56 dma_addr_t expected = sg_dma_address(sgt->sgl); local
61 if (sg_dma_address(s) != expected)
63 expected += sg_dma_len(s);
/linux-master/mm/
H A Dreadahead.c553 pgoff_t expected, prev_index; local
570 * It's the expected callback index, assume sequential access.
573 expected = round_down(ra->start + ra->size - ra->async_size,
575 if (index == expected || index == (ra->start + ra->size)) {
/linux-master/drivers/gpu/drm/
H A Ddrm_prime.c850 dma_addr_t expected = sg_dma_address(sgt->sgl); local
860 if (sg_dma_address(sg) != expected)
862 expected += len;
/linux-master/drivers/char/tpm/
H A Dtpm_tis_core.c348 u32 expected; local
358 expected = be32_to_cpu(*(__be32 *) (buf + 2));
359 if (expected > count || expected < TPM_HEADER_SIZE) {
365 expected - TPM_HEADER_SIZE);
371 if (size < expected) {
585 /* Verify receipt of the expected IRQ */

Completed in 222 milliseconds

1234567891011>>