Home
last modified time | relevance | path

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

123456

/openbmc/linux/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/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 …]
H A Dindex.rst14 fake-numa-for-cpusets
/openbmc/u-boot/arch/riscv/lib/
H A Dbootm.c36 static void announce_and_cleanup(int fake) in announce_and_cleanup() argument
38 printf("\nStarting kernel ...%s\n\n", fake ? in announce_and_cleanup()
83 int fake = (flag & BOOTM_STATE_OS_FAKE_GO); in boot_jump_linux() local
92 announce_and_cleanup(fake); in boot_jump_linux()
94 if (!fake) { in boot_jump_linux()
/openbmc/linux/lib/kunit/
H A 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 …]
/openbmc/linux/fs/xfs/
H A Dxfs_rmap_item.c545 struct xfs_rmap_intent fake = { }; in xfs_rui_item_recover() local
551 fake.ri_type = XFS_RMAP_MAP; in xfs_rui_item_recover()
554 fake.ri_type = XFS_RMAP_MAP_SHARED; in xfs_rui_item_recover()
557 fake.ri_type = XFS_RMAP_UNMAP; in xfs_rui_item_recover()
560 fake.ri_type = XFS_RMAP_UNMAP_SHARED; in xfs_rui_item_recover()
563 fake.ri_type = XFS_RMAP_CONVERT; in xfs_rui_item_recover()
566 fake.ri_type = XFS_RMAP_CONVERT_SHARED; in xfs_rui_item_recover()
569 fake.ri_type = XFS_RMAP_ALLOC; in xfs_rui_item_recover()
572 fake.ri_type = XFS_RMAP_FREE; in xfs_rui_item_recover()
582 fake.ri_owner = map->me_owner; in xfs_rui_item_recover()
[all …]
H A Dxfs_bmap_item.c492 struct xfs_bmap_intent fake = { }; in xfs_bui_item_recover() local
511 fake.bi_whichfork = (map->me_flags & XFS_BMAP_EXTENT_ATTR_FORK) ? in xfs_bui_item_recover()
513 fake.bi_type = map->me_flags & XFS_BMAP_EXTENT_TYPE_MASK; in xfs_bui_item_recover()
532 if (fake.bi_type == XFS_BMAP_MAP) in xfs_bui_item_recover()
537 error = xfs_iext_count_may_overflow(ip, fake.bi_whichfork, iext_delta); in xfs_bui_item_recover()
543 fake.bi_owner = ip; in xfs_bui_item_recover()
544 fake.bi_bmap.br_startblock = map->me_startblock; in xfs_bui_item_recover()
545 fake.bi_bmap.br_startoff = map->me_startoff; in xfs_bui_item_recover()
546 fake.bi_bmap.br_blockcount = map->me_len; in xfs_bui_item_recover()
547 fake.bi_bmap.br_state = (map->me_flags & XFS_BMAP_EXTENT_UNWRITTEN) ? in xfs_bui_item_recover()
[all …]
H A Dxfs_refcount_item.c529 struct xfs_refcount_intent fake = { }; in xfs_cui_item_recover() local
539 fake.ri_type = refc_type; in xfs_cui_item_recover()
549 fake.ri_startblock = pmap->pe_startblock; in xfs_cui_item_recover()
550 fake.ri_blockcount = pmap->pe_len; in xfs_cui_item_recover()
553 xfs_refcount_update_get_group(mp, &fake); in xfs_cui_item_recover()
555 &fake, &rcur); in xfs_cui_item_recover()
556 xfs_refcount_update_put_group(&fake); in xfs_cui_item_recover()
566 if (fake.ri_blockcount > 0) { in xfs_cui_item_recover()
568 .br_startblock = fake.ri_startblock, in xfs_cui_item_recover()
569 .br_blockcount = fake.ri_blockcount, in xfs_cui_item_recover()
[all …]
H A Dxfs_extfree_item.c697 struct xfs_extent_free_item fake = { in xfs_efi_item_recover() local
705 fake.xefi_startblock = extp->ext_start; in xfs_efi_item_recover()
706 fake.xefi_blockcount = extp->ext_len; in xfs_efi_item_recover()
709 xfs_extent_free_get_group(mp, &fake); in xfs_efi_item_recover()
710 error = xfs_trans_free_extent(tp, efdp, &fake); in xfs_efi_item_recover()
711 xfs_extent_free_put_group(&fake); in xfs_efi_item_recover()
720 error = xfs_free_extent_later(tp, fake.xefi_startblock, in xfs_efi_item_recover()
721 fake.xefi_blockcount, in xfs_efi_item_recover()
723 fake.xefi_agresv); in xfs_efi_item_recover()
/openbmc/linux/arch/s390/include/asm/
H A Dgmap.h130 int fake);
132 int fake);
134 int fake);
136 int fake);
138 unsigned long *pgt, int *dat_protection, int *fake);
/openbmc/qemu/docs/system/devices/
H A Dccid.rst56 mkdir fake-smartcard
57 cd fake-smartcard
59 certutil -S -d sql:$PWD -s "CN=Fake Smart Card CA" -x -t TC,TC,TC -n fake-smartcard-ca
60 certutil -S -d sql:$PWD -t ,, -s "CN=John Doe" -n id-cert -c fake-smartcard-ca
61 …d sql:$PWD -t ,, -s "CN=John Doe (signing)" --nsCertType smime -n signing-cert -c fake-smartcard-ca
62 … -t ,, -s "CN=John Doe (encryption)" --nsCertType sslClient -n encryption-cert -c fake-smartcard-ca
72 certutil -L -r -d sql:$PWD -o fake-smartcard-ca.cer -n fake-smartcard-ca
76 certutil -A -d /etc/pki/nssdb -i fake-smartcard-ca.cer -t TC,TC,TC -n fake-smartcard-ca
88 fake-smartcard-ca CT,C,C
117 Run qemu as per above, and run vscclient from the "fake-smartcard"
/openbmc/u-boot/arch/arm/lib/
H A Dbootm.c89 static void announce_and_cleanup(int fake) in announce_and_cleanup() argument
105 printf("\nStarting kernel ...%s\n\n", fake ? in announce_and_cleanup()
327 int fake = (flag & BOOTM_STATE_OS_FAKE_GO); in boot_jump_linux() local
336 announce_and_cleanup(fake); in boot_jump_linux()
338 if (!fake) { in boot_jump_linux()
367 int fake = (flag & BOOTM_STATE_OS_FAKE_GO); in boot_jump_linux()
386 announce_and_cleanup(fake); in boot_jump_linux()
393 if (!fake) { in boot_jump_linux()
/openbmc/linux/drivers/net/wireless/marvell/libertas/
H A 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 …]
/openbmc/u-boot/arch/arc/lib/
H A Dbootm.c77 int fake = (flag & BOOTM_STATE_OS_FAKE_GO); in boot_jump_linux() local
85 printf("\nStarting kernel ...%s\n\n", fake ? in boot_jump_linux()
99 if (!fake) in boot_jump_linux()
/openbmc/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()
/openbmc/qemu/migration/
H A Dvmstate.c62 VMStateField *fake = g_new0(VMStateField, 1); in vmsd_create_fake_nullptr_field() local
68 fake->name = field->name; in vmsd_create_fake_nullptr_field()
69 fake->version_id = field->version_id; in vmsd_create_fake_nullptr_field()
72 fake->field_exists = NULL; in vmsd_create_fake_nullptr_field()
75 fake->size = 1; in vmsd_create_fake_nullptr_field()
76 fake->info = &vmstate_info_nullptr; in vmsd_create_fake_nullptr_field()
77 fake->flags = VMS_SINGLE; in vmsd_create_fake_nullptr_field()
81 return (const VMStateField *)fake; in vmsd_create_fake_nullptr_field()
/openbmc/linux/arch/s390/kvm/
H A Dgaccess.c1387 int *fake) in kvm_s390_shadow_tables() argument
1396 *fake = 0; in kvm_s390_shadow_tables()
1404 *fake = 1; in kvm_s390_shadow_tables()
1410 if (vaddr.rfx01 > asce.tl && !*fake) in kvm_s390_shadow_tables()
1437 if (*fake) { in kvm_s390_shadow_tables()
1456 rc = gmap_shadow_r2t(sg, saddr, rfte.val, *fake); in kvm_s390_shadow_tables()
1465 if (*fake) { in kvm_s390_shadow_tables()
1485 rc = gmap_shadow_r3t(sg, saddr, rste.val, *fake); in kvm_s390_shadow_tables()
1494 if (*fake) { in kvm_s390_shadow_tables()
1511 *fake = 1; in kvm_s390_shadow_tables()
[all …]
/openbmc/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
/openbmc/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()
/openbmc/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()
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/
H A Dpython3-trustme_1.2.1.bb1 DESCRIPTION = "A utility provides a fake certificate authority (CA)"
/openbmc/docs/designs/
H A Dphosphor-hwmon-refactoring.md53 - Add a fake sensor that can exhibit controllable behavior
61 - Add unit tests for error handlers using the fake sensor
/openbmc/linux/arch/s390/mm/
H A Dgmap.c1765 int fake) in gmap_shadow_r2t() argument
1779 if (fake) in gmap_shadow_r2t()
1803 if (fake) { in gmap_shadow_r2t()
1849 int fake) in gmap_shadow_r3t() argument
1863 if (fake) in gmap_shadow_r3t()
1887 if (fake) { in gmap_shadow_r3t()
1933 int fake) in gmap_shadow_sgt() argument
1947 if (fake) in gmap_shadow_sgt()
1971 if (fake) { in gmap_shadow_sgt()
2018 int *fake) in gmap_shadow_pgt_lookup() argument
[all …]
/openbmc/openbmc/poky/meta/recipes-graphics/libfakekey/
H A Dlibfakekey_git.bb2 DESCRIPTION = "libfakekey is a simple library for converting UTF-8 characters into 'fake' X \
/openbmc/linux/drivers/memory/tegra/
H A 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()

123456