Home
last modified time | relevance | path

Searched refs:fake (Results 1 – 25 of 65) sorted by relevance

123

/linux/drivers/of/
H A Doverlay_test.c62 struct kunit fake; in of_overlay_apply_kunit_cleanup() local
73 kunit_init_test(&fake, "fake test", NULL); in of_overlay_apply_kunit_cleanup()
74 KUNIT_ASSERT_EQ(test, fake.status, KUNIT_SUCCESS); in of_overlay_apply_kunit_cleanup()
77 of_overlay_apply_kunit(&fake, kunit_overlay_test)); in of_overlay_apply_kunit_cleanup()
81 of_node_put_kunit(&fake, np); in of_overlay_apply_kunit_cleanup()
88 kunit_cleanup(&fake); in of_overlay_apply_kunit_cleanup()
/linux/lib/kunit/
H A Dkunit-test.c665 struct kunit fake; in kunit_status_set_failure_test() local
667 kunit_init_test(&fake, "fake test", NULL); in kunit_status_set_failure_test()
669 KUNIT_EXPECT_EQ(test, fake.status, (enum kunit_status)KUNIT_SUCCESS); in kunit_status_set_failure_test()
670 kunit_set_failure(&fake); in kunit_status_set_failure_test()
671 KUNIT_EXPECT_EQ(test, fake.status, (enum kunit_status)KUNIT_FAILURE); in kunit_status_set_failure_test()
676 struct kunit fake; in kunit_status_mark_skipped_test() local
678 kunit_init_test(&fake, "fake test", NULL); in kunit_status_mark_skipped_test()
681 KUNIT_EXPECT_EQ(test, fake.status, KUNIT_SUCCESS); in kunit_status_mark_skipped_test()
682 KUNIT_EXPECT_STREQ(test, fake.status_comment, ""); in kunit_status_mark_skipped_test()
685 kunit_mark_skipped(&fake, "Accepts format string: %s", "YES"); in kunit_status_mark_skipped_test()
[all …]
H A Dplatform-test.c72 struct kunit fake; in kunit_platform_device_add_cleans_up() local
75 kunit_init_test(&fake, "kunit_platform_device_add_fake_test", NULL); in kunit_platform_device_add_cleans_up()
76 KUNIT_ASSERT_EQ(test, fake.status, KUNIT_SUCCESS); in kunit_platform_device_add_cleans_up()
78 pdev = kunit_platform_device_alloc(&fake, name, id); in kunit_platform_device_add_cleans_up()
80 KUNIT_ASSERT_EQ(test, 0, kunit_platform_device_add(&fake, pdev)); in kunit_platform_device_add_cleans_up()
87 kunit_cleanup(&fake); in kunit_platform_device_add_cleans_up()
/linux/arch/s390/include/asm/
H A Dgmap.h121 int fake);
123 int fake);
125 int fake);
127 int fake);
/linux/arch/s390/kvm/
H A Dgaccess.c1215 int *fake) in kvm_s390_shadow_tables() argument
1224 *fake = 0; in kvm_s390_shadow_tables()
1232 *fake = 1; in kvm_s390_shadow_tables()
1238 if (vaddr.rfx01 > asce.tl && !*fake) in kvm_s390_shadow_tables()
1265 if (*fake) { in kvm_s390_shadow_tables()
1284 rc = gmap_shadow_r2t(sg, saddr, rfte.val, *fake); in kvm_s390_shadow_tables()
1293 if (*fake) { in kvm_s390_shadow_tables()
1313 rc = gmap_shadow_r3t(sg, saddr, rste.val, *fake); in kvm_s390_shadow_tables()
1322 if (*fake) { in kvm_s390_shadow_tables()
1339 *fake = 1; in kvm_s390_shadow_tables()
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_autoload.c34 struct fake_kernel_struct *fake = (void *)ctx; in prog3() local
35 fake->whatever = 123; in prog3()
/linux/Documentation/driver-api/media/drivers/
H A Dvidtv.rst18 - A fake tuner driver, which will report a bad signal quality if the chosen
22 - A fake demod driver, which will constantly poll the fake signal quality
26 - A fake bridge driver, which is the module responsible for modprobing the
27 fake tuner and demod modules and implementing the demux logic. This module
32 passed to the bridge driver. This fake stream contains some hardcoded content.
81 This probability be used by the fake demodulator driver to
87 probability be used by the fake demodulator driver to eventually
129 Implements a fake tuner DVB driver.
132 Implements a fake demodulator DVB driver.
365 Vidtv is a fake driver and does not validate much of the information
/linux/fs/ext4/
H A Dinline.c1344 struct ext4_dir_entry_2 fake; in ext4_inlinedir_to_tree() local
1380 fake.inode = cpu_to_le32(inode->i_ino); in ext4_inlinedir_to_tree()
1381 fake.name_len = 1; in ext4_inlinedir_to_tree()
1382 strcpy(fake.name, "."); in ext4_inlinedir_to_tree()
1383 fake.rec_len = ext4_rec_len_to_disk( in ext4_inlinedir_to_tree()
1384 ext4_dir_rec_len(fake.name_len, NULL), in ext4_inlinedir_to_tree()
1386 ext4_set_de_type(inode->i_sb, &fake, S_IFDIR); in ext4_inlinedir_to_tree()
1387 de = &fake; in ext4_inlinedir_to_tree()
1390 fake.inode = cpu_to_le32(parent_ino); in ext4_inlinedir_to_tree()
1391 fake.name_len = 2; in ext4_inlinedir_to_tree()
[all …]
H A Ddir.c88 bool fake = is_fake_dir_entry(de); in __ext4_check_dir_entry() local
91 if (unlikely(rlen < ext4_dir_rec_len(1, fake ? NULL : dir))) in __ext4_check_dir_entry()
96 fake ? NULL : dir))) in __ext4_check_dir_entry()
115 rlen, size, fake); in __ext4_check_dir_entry()
121 rlen, size, fake); in __ext4_check_dir_entry()
/linux/drivers/edac/
H A Dghes_edac.c390 bool fake = false; in ghes_edac_register() local
410 fake = true; in ghes_edac_register()
436 if (fake) { in ghes_edac_register()
444 if (!fake) { in ghes_edac_register()
/linux/drivers/memory/tegra/
H A Dtegra210-emc-cc-r21021.c359 struct tegra210_emc_timing *fake, *last = emc->last, *next = emc->next; in tegra210_emc_r21021_set_clock() local
379 fake = tegra210_emc_find_timing(emc, last->rate * 1000UL); in tegra210_emc_r21021_set_clock()
489 if (periodic_compensation_handler(emc, DVFS_SEQUENCE, fake, next)) in tegra210_emc_r21021_set_clock()
668 tRTM = fake->dram_timings[RL] + div_o3(3600, src_clk_period) + in tegra210_emc_r21021_set_clock()
1056 value = (1000 * fake->dram_timings[T_RP]) / src_clk_period; in tegra210_emc_r21021_set_clock()
1065 delay += (1000 * fake->dram_timings[T_RP]) / in tegra210_emc_r21021_set_clock()
1067 delay += 4000 * fake->dram_timings[T_RFC]; in tegra210_emc_r21021_set_clock()
1089 delay = ((1000 * fake->dram_timings[T_RP] / src_clk_period) + in tegra210_emc_r21021_set_clock()
1090 (1000 * fake->dram_timings[T_RFC] / src_clk_period)); in tegra210_emc_r21021_set_clock()
/linux/drivers/iio/dummy/
H A DKconfig28 The purpose of this is to generate 'fake' event interrupts thus
/linux/tools/testing/selftests/net/packetdrill/
H A Dtcp_inq_server.pkt42 // We read 10K and we should have one "fake" byte because the connection is
H A Dtcp_inq_client.pkt42 // We read 10K and we should have one "fake" byte because the connection is
/linux/arch/s390/mm/
H A Dgmap.c1510 int fake) in gmap_shadow_r2t() argument
1544 if (fake) { in gmap_shadow_r2t()
1590 int fake) in gmap_shadow_r3t() argument
1624 if (fake) { in gmap_shadow_r3t()
1670 int fake) in gmap_shadow_sgt() argument
1704 if (fake) { in gmap_shadow_sgt()
1767 int fake) in gmap_shadow_pgt() argument
1781 if (fake) in gmap_shadow_pgt()
1802 if (fake) { in gmap_shadow_pgt()
/linux/tools/testing/selftests/firmware/
H A Dfw_lib.sh164 echo $(__setup_random_file fake)
/linux/drivers/gpu/drm/xe/tests/
H A Dxe_gt_sriov_pf_service_test.c14 struct xe_pci_fake_data fake = { in pf_service_test_init() local
22 test->priv = &fake; in pf_service_test_init()
H A Dxe_guc_relay_test.c27 struct xe_pci_fake_data fake = { in relay_test_init() local
35 test->priv = &fake; in relay_test_init()
/linux/Documentation/dev-tools/kunit/
H A Dusage.rst320 A fake class implements a piece of code that is different than what runs in a
323 example, implementing a fake EEPROM that stores the "contents" in an
725 is helpful, for example, when providing a fake implementation of a function, or
817 up a real device is not required to test any given function, so a fake device
820 KUnit provides helper functions to create and manage these fake devices, which
830 To create a fake device, use the ``kunit_device_register()``, which will create
833 instead. Like with managed drivers, KUnit-managed fake devices are automatically
852 // Create a fake device.
/linux/drivers/staging/vme_user/
H A DKconfig36 If you say Y here you get support for the fake VME bridge. This
/linux/Documentation/i2c/
H A Di2c-stub.rst8 This module is a very simple fake I2C/SMBus driver. It implements six
/linux/Documentation/filesystems/ext4/
H A Dchecksums.rst51 fake entry enclosing the checksum field.
H A Ddirectory.rst188 the entire directory entry block up to (but not including) the fake
366 - fake.inode
370 - fake.rec_len
/linux/tools/testing/selftests/arm64/signal/
H A DREADME53 successfully progressed up to the stage of triggering the fake sigreturn
/linux/Documentation/usb/
H A Dauthorization.rst91 can fake descriptors and device info. Don't trust that. You are

123