Home
last modified time | relevance | path

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

1234

/Linux-v6.6/Documentation/arch/x86/x86_64/
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/arch/x86/x86_64/boot-options.rst.
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 …]
Dindex.rst14 fake-numa-for-cpusets
Dboot-options.rst173 numa=fake=<size>[MG]
177 numa=fake=<N>
178 If given as an integer, fills all system RAM with N fake nodes
181 numa=fake=<N>U
/Linux-v6.6/lib/kunit/
Dkunit-test.c584 struct kunit fake; in kunit_status_set_failure_test() local
586 kunit_init_test(&fake, "fake test", NULL); in kunit_status_set_failure_test()
588 KUNIT_EXPECT_EQ(test, fake.status, (enum kunit_status)KUNIT_SUCCESS); in kunit_status_set_failure_test()
589 kunit_set_failure(&fake); in kunit_status_set_failure_test()
590 KUNIT_EXPECT_EQ(test, fake.status, (enum kunit_status)KUNIT_FAILURE); in kunit_status_set_failure_test()
595 struct kunit fake; in kunit_status_mark_skipped_test() local
597 kunit_init_test(&fake, "fake test", NULL); in kunit_status_mark_skipped_test()
600 KUNIT_EXPECT_EQ(test, fake.status, KUNIT_SUCCESS); in kunit_status_mark_skipped_test()
601 KUNIT_EXPECT_STREQ(test, fake.status_comment, ""); in kunit_status_mark_skipped_test()
604 kunit_mark_skipped(&fake, "Accepts format string: %s", "YES"); in kunit_status_mark_skipped_test()
[all …]
/Linux-v6.6/fs/xfs/
Dxfs_rmap_item.c542 struct xfs_rmap_intent fake = { }; in xfs_rui_item_recover() local
548 fake.ri_type = XFS_RMAP_MAP; in xfs_rui_item_recover()
551 fake.ri_type = XFS_RMAP_MAP_SHARED; in xfs_rui_item_recover()
554 fake.ri_type = XFS_RMAP_UNMAP; in xfs_rui_item_recover()
557 fake.ri_type = XFS_RMAP_UNMAP_SHARED; in xfs_rui_item_recover()
560 fake.ri_type = XFS_RMAP_CONVERT; in xfs_rui_item_recover()
563 fake.ri_type = XFS_RMAP_CONVERT_SHARED; in xfs_rui_item_recover()
566 fake.ri_type = XFS_RMAP_ALLOC; in xfs_rui_item_recover()
569 fake.ri_type = XFS_RMAP_FREE; in xfs_rui_item_recover()
579 fake.ri_owner = map->me_owner; in xfs_rui_item_recover()
[all …]
Dxfs_bmap_item.c492 struct xfs_bmap_intent fake = { }; in xfs_bui_item_recover() local
510 fake.bi_whichfork = (map->me_flags & XFS_BMAP_EXTENT_ATTR_FORK) ? in xfs_bui_item_recover()
512 fake.bi_type = map->me_flags & XFS_BMAP_EXTENT_TYPE_MASK; in xfs_bui_item_recover()
529 if (fake.bi_type == XFS_BMAP_MAP) in xfs_bui_item_recover()
534 error = xfs_iext_count_may_overflow(ip, fake.bi_whichfork, iext_delta); in xfs_bui_item_recover()
540 fake.bi_owner = ip; in xfs_bui_item_recover()
541 fake.bi_bmap.br_startblock = map->me_startblock; in xfs_bui_item_recover()
542 fake.bi_bmap.br_startoff = map->me_startoff; in xfs_bui_item_recover()
543 fake.bi_bmap.br_blockcount = map->me_len; in xfs_bui_item_recover()
544 fake.bi_bmap.br_state = (map->me_flags & XFS_BMAP_EXTENT_UNWRITTEN) ? in xfs_bui_item_recover()
[all …]
Dxfs_refcount_item.c527 struct xfs_refcount_intent fake = { }; in xfs_cui_item_recover() local
537 fake.ri_type = refc_type; in xfs_cui_item_recover()
547 fake.ri_startblock = pmap->pe_startblock; in xfs_cui_item_recover()
548 fake.ri_blockcount = pmap->pe_len; in xfs_cui_item_recover()
551 xfs_refcount_update_get_group(mp, &fake); in xfs_cui_item_recover()
553 &fake, &rcur); in xfs_cui_item_recover()
554 xfs_refcount_update_put_group(&fake); in xfs_cui_item_recover()
564 if (fake.ri_blockcount > 0) { in xfs_cui_item_recover()
566 .br_startblock = fake.ri_startblock, in xfs_cui_item_recover()
567 .br_blockcount = fake.ri_blockcount, in xfs_cui_item_recover()
[all …]
Dxfs_extfree_item.c694 struct xfs_extent_free_item fake = { in xfs_efi_item_recover() local
702 fake.xefi_startblock = extp->ext_start; in xfs_efi_item_recover()
703 fake.xefi_blockcount = extp->ext_len; in xfs_efi_item_recover()
706 xfs_extent_free_get_group(mp, &fake); in xfs_efi_item_recover()
707 error = xfs_trans_free_extent(tp, efdp, &fake); in xfs_efi_item_recover()
708 xfs_extent_free_put_group(&fake); in xfs_efi_item_recover()
717 error = xfs_free_extent_later(tp, fake.xefi_startblock, in xfs_efi_item_recover()
718 fake.xefi_blockcount, in xfs_efi_item_recover()
720 fake.xefi_agresv); in xfs_efi_item_recover()
/Linux-v6.6/arch/s390/include/asm/
Dgmap.h130 int fake);
132 int fake);
134 int fake);
136 int fake);
138 unsigned long *pgt, int *dat_protection, int *fake);
/Linux-v6.6/drivers/net/wireless/marvell/libertas/
Dcfg.c1700 u8 *fake = fake_ie; in lbs_join_post() local
1709 *fake++ = WLAN_EID_SSID; in lbs_join_post()
1710 *fake++ = params->ssid_len; in lbs_join_post()
1711 memcpy(fake, params->ssid, params->ssid_len); in lbs_join_post()
1712 fake += params->ssid_len; in lbs_join_post()
1714 *fake++ = WLAN_EID_SUPP_RATES; in lbs_join_post()
1715 *fake++ = 4; in lbs_join_post()
1716 *fake++ = 0x82; in lbs_join_post()
1717 *fake++ = 0x84; in lbs_join_post()
1718 *fake++ = 0x8b; in lbs_join_post()
[all …]
/Linux-v6.6/tools/testing/selftests/bpf/progs/
Dtest_autoload.c34 struct fake_kernel_struct *fake = (void *)ctx; in prog3() local
35 fake->whatever = 123; in prog3()
/Linux-v6.6/arch/s390/kvm/
Dgaccess.c1383 int *fake) in kvm_s390_shadow_tables() argument
1391 *fake = 0; in kvm_s390_shadow_tables()
1398 *fake = 1; in kvm_s390_shadow_tables()
1404 if (vaddr.rfx01 > asce.tl && !*fake) in kvm_s390_shadow_tables()
1431 if (*fake) { in kvm_s390_shadow_tables()
1450 rc = gmap_shadow_r2t(sg, saddr, rfte.val, *fake); in kvm_s390_shadow_tables()
1458 if (*fake) { in kvm_s390_shadow_tables()
1478 rc = gmap_shadow_r3t(sg, saddr, rste.val, *fake); in kvm_s390_shadow_tables()
1486 if (*fake) { in kvm_s390_shadow_tables()
1503 *fake = 1; in kvm_s390_shadow_tables()
[all …]
/Linux-v6.6/Documentation/driver-api/media/drivers/
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-v6.6/fs/ext4/
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 …]
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-v6.6/drivers/edac/
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-v6.6/arch/s390/mm/
Dgmap.c1752 int fake) in gmap_shadow_r2t() argument
1766 if (fake) in gmap_shadow_r2t()
1790 if (fake) { in gmap_shadow_r2t()
1836 int fake) in gmap_shadow_r3t() argument
1850 if (fake) in gmap_shadow_r3t()
1874 if (fake) { in gmap_shadow_r3t()
1920 int fake) in gmap_shadow_sgt() argument
1934 if (fake) in gmap_shadow_sgt()
1958 if (fake) { in gmap_shadow_sgt()
2005 int *fake) in gmap_shadow_pgt_lookup() argument
[all …]
/Linux-v6.6/drivers/memory/tegra/
Dtegra210-emc-cc-r21021.c607 struct tegra210_emc_timing *fake, *last = emc->last, *next = emc->next; in tegra210_emc_r21021_set_clock() local
627 fake = tegra210_emc_find_timing(emc, last->rate * 1000UL); in tegra210_emc_r21021_set_clock()
742 value = periodic_compensation_handler(emc, DVFS_SEQUENCE, fake, in tegra210_emc_r21021_set_clock()
925 tRTM = fake->dram_timings[RL] + div_o3(3600, src_clk_period) + in tegra210_emc_r21021_set_clock()
1313 value = (1000 * fake->dram_timings[T_RP]) / src_clk_period; in tegra210_emc_r21021_set_clock()
1322 delay += (1000 * fake->dram_timings[T_RP]) / in tegra210_emc_r21021_set_clock()
1324 delay += 4000 * fake->dram_timings[T_RFC]; in tegra210_emc_r21021_set_clock()
1346 delay = ((1000 * fake->dram_timings[T_RP] / src_clk_period) + in tegra210_emc_r21021_set_clock()
1347 (1000 * fake->dram_timings[T_RFC] / src_clk_period)); in tegra210_emc_r21021_set_clock()
/Linux-v6.6/drivers/iio/dummy/
DKconfig28 The purpose of this is to generate 'fake' event interrupts thus
/Linux-v6.6/drivers/crypto/intel/qat/qat_common/
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-v6.6/tools/testing/selftests/firmware/
Dfw_lib.sh164 echo $(__setup_random_file fake)
/Linux-v6.6/drivers/staging/vme_user/
DKconfig22 If you say Y here you get support for the fake VME bridge. This
/Linux-v6.6/drivers/phy/tegra/
Dxusb.c1084 int fake; in tegra_xusb_update_usb3_fake_port() local
1092 fake = tegra_xusb_find_unused_usb3_port(usb2->base.padctl); in tegra_xusb_update_usb3_fake_port()
1093 if (fake < 0) { in tegra_xusb_update_usb3_fake_port()
1098 dev_dbg(&usb2->base.dev, "Found unused usb3 port: %d\n", fake); in tegra_xusb_update_usb3_fake_port()
1099 usb2->usb3_port_fake = fake; in tegra_xusb_update_usb3_fake_port()
/Linux-v6.6/Documentation/i2c/
Di2c-stub.rst8 This module is a very simple fake I2C/SMBus driver. It implements six
/Linux-v6.6/Documentation/filesystems/ext4/
Dchecksums.rst51 fake entry enclosing the checksum field.

1234