Home
last modified time | relevance | path

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

1234

/linux-6.15/Documentation/arch/x86/x86_64/
H A Dfake-numa-for-cpusets.rst9 Using numa=fake and CPUSets for Resource Management
11 This document describes how the numa=fake x86_64 command-line option can be used
13 you can create fake NUMA nodes that represent contiguous chunks of memory and
20 more information on the numa=fake command line option and its various ways of
21 configuring fake nodes, see Documentation/admin-guide/kernel-parameters.txt
24 emulation setup of "numa=fake=4*512,". This will split our system memory into
30 A machine may be split as follows with "numa=fake=4*512," as reported by dmesg::
43 Documentation/admin-guide/cgroup-v1/cpusets.rst, you can assign fake nodes (i.e. contiguous memory
53 Now this cpuset, 'ddset', will only allowed access to fake nodes 0 and 1 for
57 available to them according to the fake nodes assigned as mems::
[all …]
H A Dindex.rst13 fake-numa-for-cpusets
/linux-6.15/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-6.15/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()
670 kunit_set_failure(&fake); 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()
714 struct kunit fake; in kunit_current_fail_test() local
716 kunit_init_test(&fake, "fake test", NULL); in kunit_current_fail_test()
720 current->kunit_test = &fake; in kunit_current_fail_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-6.15/drivers/net/wireless/marvell/libertas/
H A Dcfg.c1716 *fake++ = 4; in lbs_join_post()
1717 *fake++ = 0x82; in lbs_join_post()
1718 *fake++ = 0x84; in lbs_join_post()
1719 *fake++ = 0x8b; in lbs_join_post()
1720 *fake++ = 0x96; in lbs_join_post()
1723 *fake++ = 1; in lbs_join_post()
1727 *fake++ = 2; in lbs_join_post()
1729 *fake++ = 0; in lbs_join_post()
1733 *fake++ = 8; in lbs_join_post()
1734 *fake++ = 0x0c; in lbs_join_post()
[all …]
/linux-6.15/arch/s390/include/asm/
H A Dgmap.h121 int fake);
123 int fake);
125 int fake);
127 int fake);
/linux-6.15/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-6.15/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()
1265 if (*fake) { in kvm_s390_shadow_tables()
1293 if (*fake) { in kvm_s390_shadow_tables()
1322 if (*fake) { in kvm_s390_shadow_tables()
1339 *fake = 1; in kvm_s390_shadow_tables()
1360 if (*fake) { in kvm_s390_shadow_tables()
1377 *fake = 1; in kvm_s390_shadow_tables()
1471 &fake); in kvm_s390_shadow_fault()
[all …]
/linux-6.15/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-6.15/fs/ext4/
H A Dinline.c1279 struct ext4_dir_entry_2 fake; in ext4_inlinedir_to_tree() local
1315 fake.inode = cpu_to_le32(inode->i_ino); in ext4_inlinedir_to_tree()
1316 fake.name_len = 1; in ext4_inlinedir_to_tree()
1317 strcpy(fake.name, "."); in ext4_inlinedir_to_tree()
1318 fake.rec_len = ext4_rec_len_to_disk( in ext4_inlinedir_to_tree()
1322 de = &fake; in ext4_inlinedir_to_tree()
1325 fake.inode = cpu_to_le32(parent_ino); in ext4_inlinedir_to_tree()
1326 fake.name_len = 2; in ext4_inlinedir_to_tree()
1327 strcpy(fake.name, ".."); in ext4_inlinedir_to_tree()
1328 fake.rec_len = ext4_rec_len_to_disk( 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()
118 rlen, size, fake); in __ext4_check_dir_entry()
124 rlen, size, fake); in __ext4_check_dir_entry()
/linux-6.15/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-6.15/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-6.15/drivers/iio/dummy/
H A DKconfig28 The purpose of this is to generate 'fake' event interrupts thus
/linux-6.15/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-6.15/drivers/crypto/intel/qat/qat_common/
H A Dadf_dev_mgr.c48 static int adf_get_vf_real_id(u32 fake) in adf_get_vf_real_id() argument
55 if (ptr->fake_id == fake) in adf_get_vf_real_id()
/linux-6.15/tools/testing/selftests/firmware/
H A Dfw_lib.sh164 echo $(__setup_random_file fake)
/linux-6.15/arch/s390/mm/
H A Dgmap.c1512 int fake) in gmap_shadow_r2t() argument
1546 if (fake) { in gmap_shadow_r2t()
1592 int fake) in gmap_shadow_r3t() argument
1626 if (fake) { in gmap_shadow_r3t()
1672 int fake) in gmap_shadow_sgt() argument
1706 if (fake) { in gmap_shadow_sgt()
1769 int fake) in gmap_shadow_pgt() argument
1783 if (fake) in gmap_shadow_pgt()
1804 if (fake) { in gmap_shadow_pgt()
/linux-6.15/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_buf_kunit.c56 struct xe_pci_fake_data fake = { in guc_buf_test_init() local
64 test->priv = &fake; in guc_buf_test_init()
/linux-6.15/arch/arm64/boot/dts/rockchip/
H A Dpx30-ringneck-haikou-lvds-9904379.dtso7 * This adapter needs to be plugged in the fake PCIe connector called Video
/linux-6.15/tools/perf/util/
H A Dpmus.c767 static struct perf_pmu fake = { in perf_pmus__fake_pmu() local
770 .format = LIST_HEAD_INIT(fake.format), in perf_pmus__fake_pmu()
773 return &fake; in perf_pmus__fake_pmu()
/linux-6.15/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.

1234