/xen/xen/common/ |
A D | kernel.c | 99 bool_assert = !!strncmp("no-", optkey, 3); in parse_params() 235 if ( !strncmp("on", s, 2) ) in parse_bool() 237 if ( !strncmp("no", s, 2) ) in parse_bool() 242 if ( !strncmp("yes", s, 3) ) in parse_bool() 244 if ( !strncmp("off", s, 3) ) in parse_bool() 249 if ( !strncmp("true", s, 4) ) in parse_bool() 254 if ( !strncmp("false", s, 5) ) in parse_bool() 259 if ( !strncmp("enable", s, 6) ) in parse_bool() 264 if ( !strncmp("disable", s, 7) ) in parse_bool() 275 int val = !!strncmp(s, "no-", 3); in parse_boolean() [all …]
|
A D | version.c | 110 if ( strncmp(ELFNOTE_NAME(n), "GNU", n->namesz) != 0 ) in xen_build_id_check()
|
/xen/xen/arch/x86/boot/ |
A D | cmdline.c | 69 static int strncmp(const char *cs, const char *ct, size_t count) in strncmp() function 179 return strncmp(cs, ct, max(strcspn(cs, _delim_chars), strlen(ct))); in strmaxcmp() 184 return strncmp(cs, ct, strlen(ct)); in strsubcmp() 205 if ( !strncmp(cmdline, opt, arg ? lo : max(lc, lo)) ) in find_opt()
|
/xen/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() 929 if ( !strncmp(s, "qemu_xen_traditional", 21) ) in hvmloader_acpi_build_tables() 936 else if ( !strncmp(s, "qemu_xen", 9) ) in hvmloader_acpi_build_tables() 990 if ( !strncmp(xenstore_read("platform/acpi_s3", "1"), "1", 1) ) in hvmloader_acpi_build_tables() 992 if ( !strncmp(xenstore_read("platform/acpi_s4", "1"), "1", 1) ) in hvmloader_acpi_build_tables() 994 if ( !strncmp(xenstore_read("platform/acpi_laptop_slate", "0"), "1", 1) ) in hvmloader_acpi_build_tables()
|
/xen/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/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/xen/arch/arm/arm64/lib/ |
A D | Makefile | 4 obj-y += strchr.o strcmp.o strlen.o strncmp.o strnlen.o strrchr.o
|
/xen/xen/arch/x86/ |
A D | numa.c | 295 if ( !strncmp(opt,"off",3) ) in numa_setup() 297 else if ( !strncmp(opt,"on",2) ) in numa_setup() 300 else if ( !strncmp(opt, "fake=", 5) ) in numa_setup() 309 else if ( !strncmp(opt,"noacpi",6) ) in numa_setup()
|
A D | dom0_build.c | 131 if ( !strncmp(s, "min:", 4) ) in parse_dom0_mem() 133 else if ( !strncmp(s, "max:", 4) ) in parse_dom0_mem() 181 else if ( !strncmp(s, "relaxed", 7) && (!s[7] || s[7] == ',') ) in parse_dom0_nodes() 186 else if ( !strncmp(s, "strict", 6) && (!s[6] || s[6] == ',') ) in parse_dom0_nodes()
|
A D | mpparse.c | 222 if (strncmp(str, BUSTYPE_ISA, sizeof(BUSTYPE_ISA)-1) == 0) { in MP_bus_info() 224 } else if (strncmp(str, BUSTYPE_EISA, sizeof(BUSTYPE_EISA)-1) == 0) { in MP_bus_info() 226 } else if (strncmp(str, BUSTYPE_PCI, sizeof(BUSTYPE_PCI)-1) == 0) { in MP_bus_info() 228 } else if (strncmp(str, BUSTYPE_MCA, sizeof(BUSTYPE_MCA)-1) == 0) { in MP_bus_info() 230 } else if (strncmp(str, BUSTYPE_NEC98, sizeof(BUSTYPE_NEC98)-1) == 0) { in MP_bus_info()
|
/xen/tools/debugger/gdbsx/gx/ |
A D | gx_main.c | 111 if (strncmp(buf, "pgd3 ", 5) == 0) { in _do_qRcmd_req() 151 if (strncmp("qRcmd,", remote_buf, 6) == 0) { in process_q_request() 286 if (strncmp(remote_buf, "vCont;", 6) == 0) { in process_v_request() 290 if (strncmp(remote_buf, "vCont?", 6) == 0) { in process_v_request()
|
/xen/tools/xenstore/ |
A D | utils.h | 13 #define strstarts(a,b) (strncmp((a),(b),strlen(b)) == 0)
|
/xen/xen/include/asm-arm/ |
A D | string.h | 21 int strncmp(const char *, const char *, size_t);
|
/xen/xen/common/libelf/ |
A D | libelf-dominfo.c | 326 else if ( !strncmp(value, "yes", 3) ) in elf_xen_parse_guest_info() 393 strncmp(parms->loader, "generic", 7)) && in elf_xen_note_check() 395 strncmp(parms->guest_os, "linux", 5)) ) in elf_xen_note_check() 406 strncmp(parms->xen_ver, "xen-3.0", 7) ) in elf_xen_note_check()
|
/xen/tools/libfsimage/zfs/ |
A D | fsi_zfs.h | 58 #define grub_strncmp strncmp
|
/xen/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/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/xen/drivers/char/ |
A D | console.c | 213 if ( !strncmp((s), (lvlstr), strlen(lvlstr)) ) { \ 967 if ( !strncmp(p, "vga", 3) ) in console_init_preirq() 969 else if ( !strncmp(p, "pv", 2) ) in console_init_preirq() 972 else if ( !strncmp(p, "xen", 3) ) in console_init_preirq() 975 else if ( !strncmp(p, "none", 4) ) in console_init_preirq() 1114 if ( strncmp(p, device, strlen(device)) == 0 ) in console_has()
|
/xen/tools/misc/ |
A D | xen-diag.c | 82 if ( !strncmp(main_options[i].name, argv[1], strlen(argv[1])) ) in main()
|
/xen/tools/firmware/rombios/32bit/ |
A D | util.h | 16 int strncmp(const char *s1, const char *s2, uint32_t n);
|
/xen/xen/arch/arm/ |
A D | README.LinuxPrimitives | 50 linux/arch/arm64/lib/strncmp.S xen/arch/arm/arm64/lib/strncmp.S 54 for i in strchr.S strcmp.S strlen.S strncmp.S strnlen.S strrchr.S ; do
|
/xen/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/tools/xl/ |
A D | xl_cmdtable.c | 642 if (!strncmp(s, cmd_table[i].cmd_name, len)) { in cmdtable_lookup()
|
A D | xl_utils.h | 51 ( strncmp(a, b, strlen(b)) == 0 )
|