/xen-4.10.0-shim-comet/xen/drivers/passthrough/ |
A D | iommu.c | 87 val = !!strncmp(s, "no-", 3); in parse_iommu_param() 98 else if ( !strncmp(s, "force", ss - s) || in parse_iommu_param() 99 !strncmp(s, "required", ss - s) ) in parse_iommu_param() 103 else if ( !strncmp(s, "igfx", ss - s) ) in parse_iommu_param() 105 else if ( !strncmp(s, "verbose", ss - s) ) in parse_iommu_param() 107 else if ( !strncmp(s, "snoop", ss - s) ) in parse_iommu_param() 109 else if ( !strncmp(s, "qinval", ss - s) ) in parse_iommu_param() 111 else if ( !strncmp(s, "intremap", ss - s) ) in parse_iommu_param() 113 else if ( !strncmp(s, "intpost", ss - s) ) in parse_iommu_param() 115 else if ( !strncmp(s, "debug", ss - s) ) in parse_iommu_param() [all …]
|
/xen-4.10.0-shim-comet/xen/common/ |
A D | kernel.c | 97 bool_assert = !!strncmp("no-", optkey, 3); in parse_params() 230 if ( !strncmp("no", s, len) || in parse_bool() 231 !strncmp("off", s, len) || in parse_bool() 232 !strncmp("false", s, len) || in parse_bool() 233 !strncmp("disable", s, len) || in parse_bool() 234 !strncmp("0", s, len) ) in parse_bool() 237 if ( !strncmp("yes", s, len) || in parse_bool() 238 !strncmp("on", s, len) || in parse_bool() 239 !strncmp("true", s, len) || in parse_bool() 240 !strncmp("enable", s, len) || in parse_bool() [all …]
|
/xen-4.10.0-shim-comet/xen/arch/x86/boot/ |
A D | cmdline.c | 67 static int strncmp(const char *cs, const char *ct, size_t count) in strncmp() function 176 return strncmp(cs, ct, max(strcspn(cs, _delim_chars), strlen(ct))); in strmaxcmp() 181 return strncmp(cs, ct, strlen(ct)); in strsubcmp() 202 if ( !strncmp(cmdline, opt, arg ? lo : max(lc, lo)) ) in find_opt()
|
/xen-4.10.0-shim-comet/tools/firmware/hvmloader/ |
A D | optionroms.c | 56 if ( strncmp((char *)rom->signature, "\x55\xaa", 2) || in scan_option_rom() 71 !strncmp((char *)pcih->signature, "PCIR", 4) && in scan_option_rom() 88 while ( (pnph != NULL) && strncmp((char *)pnph->signature, "$PnP", 4) ) in scan_option_rom()
|
A D | util.c | 141 int strncmp(const char *s1, const char *s2, uint32_t n) in strncmp() function 744 if ( strncmp(t->signature, "HVM INFO", 8) ) in validate_hvm_info() 902 if ( !strncmp(s, "qemu_xen_traditional", 21) ) in hvmloader_acpi_build_tables() 909 else if ( !strncmp(s, "qemu_xen", 9) ) in hvmloader_acpi_build_tables() 963 if ( !strncmp(xenstore_read("platform/acpi_s3", "1"), "1", 1) ) in hvmloader_acpi_build_tables() 965 if ( !strncmp(xenstore_read("platform/acpi_s4", "1"), "1", 1) ) in hvmloader_acpi_build_tables() 967 if ( !strncmp(xenstore_read("platform/acpi_laptop_slate", "0"), "1", 1) ) in hvmloader_acpi_build_tables()
|
/xen-4.10.0-shim-comet/xen/arch/x86/ |
A D | dom0_build.c | 62 if ( !strncmp(s, "min:", 4) ) in parse_dom0_mem() 64 else if ( !strncmp(s, "max:", 4) ) in parse_dom0_mem() 112 else if ( !strncmp(s, "relaxed", 7) && (!s[7] || s[7] == ',') ) in parse_dom0_nodes() 117 else if ( !strncmp(s, "strict", 6) && (!s[6] || s[6] == ',') ) in parse_dom0_nodes() 242 if ( !strncmp(s, "pvh", ss - s) ) in parse_dom0_param() 245 else if ( !strncmp(s, "shadow", ss - s) ) in parse_dom0_param()
|
A D | numa.c | 296 if ( !strncmp(opt,"off",3) ) in numa_setup() 298 else if ( !strncmp(opt,"on",2) ) in numa_setup() 301 else if ( !strncmp(opt, "fake=", 5) ) in numa_setup() 310 else if ( !strncmp(opt,"noacpi",6) ) in numa_setup()
|
A D | mpparse.c | 208 if (strncmp(str, BUSTYPE_ISA, sizeof(BUSTYPE_ISA)-1) == 0) { in MP_bus_info() 210 } else if (strncmp(str, BUSTYPE_EISA, sizeof(BUSTYPE_EISA)-1) == 0) { in MP_bus_info() 212 } else if (strncmp(str, BUSTYPE_PCI, sizeof(BUSTYPE_PCI)-1) == 0) { in MP_bus_info() 214 } else if (strncmp(str, BUSTYPE_MCA, sizeof(BUSTYPE_MCA)-1) == 0) { in MP_bus_info() 216 } else if (strncmp(str, BUSTYPE_NEC98, sizeof(BUSTYPE_NEC98)-1) == 0) { in MP_bus_info()
|
/xen-4.10.0-shim-comet/stubdom/vtpmmgr/ |
A D | init.c | 255 else if(!strncmp(authstr, "hash:", 5)) { in parse_auth_string() 270 else if(!strncmp(authstr, "text:", 5)) { in parse_auth_string() 292 if(!strncmp(argv[i], "owner_auth:", 10)) { in parse_cmdline_opts() 300 else if(!strncmp(argv[i], "srk_auth:", 8)) { in parse_cmdline_opts() 305 else if(!strncmp(argv[i], "tpmdriver=", 10)) { in parse_cmdline_opts() 314 else if(!strncmp(argv[i], "tpmiomem=",9)) { in parse_cmdline_opts() 319 else if(!strncmp(argv[i], "tpmirq=",7)) { in parse_cmdline_opts() 326 else if(!strncmp(argv[i], "tpmlocality=",12)) { in parse_cmdline_opts()
|
/xen-4.10.0-shim-comet/xen/include/xen/ |
A D | string.h | 34 int strncmp(const char *, const char *, size_t); 35 #define strncmp(s1, s2, n) __builtin_strncmp(s1, s2, n) macro
|
/xen-4.10.0-shim-comet/xen/arch/arm/arm64/lib/ |
A D | Makefile | 4 obj-y += strchr.o strcmp.o strlen.o strncmp.o strnlen.o strrchr.o
|
/xen-4.10.0-shim-comet/tools/debugger/gdbsx/gx/ |
A D | gx_main.c | 110 if (strncmp(buf, "pgd3 ", 5) == 0) { in _do_qRcmd_req() 150 if (strncmp("qRcmd,", remote_buf, 6) == 0) { in process_q_request() 285 if (strncmp(remote_buf, "vCont;", 6) == 0) { in process_v_request() 289 if (strncmp(remote_buf, "vCont?", 6) == 0) { in process_v_request()
|
/xen-4.10.0-shim-comet/tools/blktap2/drivers/ |
A D | block-log.c | 528 if (!strncmp(msg->msg, LOGCMD_SHMP, 4)) { in ctl_do_request() 530 } else if (!strncmp(msg->msg, LOGCMD_PEEK, 4)) { in ctl_do_request() 532 } else if (!strncmp(msg->msg, LOGCMD_CLEAR, 4)) { in ctl_do_request() 534 } else if (!strncmp(msg->msg, LOGCMD_GET, 4)) { in ctl_do_request() 536 } else if (!strncmp(msg->msg, LOGCMD_KICK, 4)) { in ctl_do_request()
|
/xen-4.10.0-shim-comet/tools/xenstore/ |
A D | utils.h | 11 #define strstarts(a,b) (strncmp((a),(b),strlen(b)) == 0)
|
/xen-4.10.0-shim-comet/xen/include/asm-arm/ |
A D | string.h | 21 int strncmp(const char *, const char *, size_t);
|
/xen-4.10.0-shim-comet/xen/common/libelf/ |
A D | libelf-dominfo.c | 325 else if ( !strncmp(value, "yes", 3) ) in elf_xen_parse_guest_info() 385 strncmp(parms->loader, "generic", 7)) && in elf_xen_note_check() 387 strncmp(parms->guest_os, "linux", 5)) ) in elf_xen_note_check() 398 strncmp(parms->xen_ver, "xen-3.0", 7) ) in elf_xen_note_check()
|
/xen-4.10.0-shim-comet/tools/libfsimage/zfs/ |
A D | fsi_zfs.h | 58 #define grub_strncmp strncmp
|
/xen-4.10.0-shim-comet/xen/arch/x86/x86_64/ |
A D | acpi_mmcfg.c | 57 if (!strncmp(mcfg->header.oem_id, "SGI", 3)) in acpi_mcfg_check_entry()
|
/xen-4.10.0-shim-comet/tools/xenbackendd/ |
A D | xenbackendd.c | 283 if (strncmp(vec[XS_WATCH_PATH], in main() 288 if (strncmp(vec[XS_WATCH_PATH], in main()
|
/xen-4.10.0-shim-comet/xen/drivers/char/ |
A D | console.c | 153 if ( !strncmp((s), (lvlstr), strlen(lvlstr)) ) { \ 817 if ( !strncmp(p, "vga", 3) ) in console_init_preirq() 820 else if ( !strncmp(p, "pv", 2) ) in console_init_preirq() 822 else if ( !strncmp(p, "xen", 3) ) in console_init_preirq() 825 else if ( !strncmp(p, "none", 4) ) in console_init_preirq() 957 if ( strncmp(p, device, strlen(device)) == 0 ) in console_has()
|
/xen-4.10.0-shim-comet/tools/misc/ |
A D | xen-diag.c | 84 if ( !strncmp(main_options[i].name, argv[1], strlen(argv[1])) ) in main()
|
/xen-4.10.0-shim-comet/tools/firmware/rombios/32bit/ |
A D | util.h | 16 int strncmp(const char *s1, const char *s2, uint32_t n);
|
/xen-4.10.0-shim-comet/stubdom/vtpm/ |
A D | vtpm.c | 306 else if (!strncmp(argv[i], "maintcmds=", 10)) { in parse_cmd_line() 313 else if(!strncmp(argv[i], "hwinitpcr=", 10)) { in parse_cmd_line() 356 else if(!strncmp(argv[i], "locality=", 9)) { in parse_cmd_line()
|
/xen-4.10.0-shim-comet/tools/xl/ |
A D | xl_cmdtable.c | 634 if (!strncmp(s, cmd_table[i].cmd_name, len)) { in cmdtable_lookup()
|
A D | xl_utils.h | 51 ( strncmp(a, b, strlen(b)) == 0 )
|