Home
last modified time | relevance | path

Searched refs:opt_ptr (Results 1 – 2 of 2) sorted by relevance

/freebsd/usr.sbin/bhyve/
H A Dqemu_fwcfg.c545 const char *opt_ptr, *opt_end; in qemu_fwcfg_parse_cmdline_arg() local
556 opt_ptr = opt; in qemu_fwcfg_parse_cmdline_arg()
558 if (strncmp(opt_ptr, "name=", sizeof("name=") - 1) == 0) { in qemu_fwcfg_parse_cmdline_arg()
559 opt_ptr += sizeof("name=") - 1; in qemu_fwcfg_parse_cmdline_arg()
563 opt_end = strchr(opt_ptr, ','); in qemu_fwcfg_parse_cmdline_arg()
570 if (opt_end - opt_ptr >= QEMU_FWCFG_MAX_NAME) { in qemu_fwcfg_parse_cmdline_arg()
576 strncpy(fwcfg_file->name, opt_ptr, opt_end - opt_ptr); in qemu_fwcfg_parse_cmdline_arg()
577 fwcfg_file->name[opt_end - opt_ptr] = '\0'; in qemu_fwcfg_parse_cmdline_arg()
580 opt_ptr = opt_end + 1; in qemu_fwcfg_parse_cmdline_arg()
581 opt_end = opt_ptr + strlen(opt_ptr); in qemu_fwcfg_parse_cmdline_arg()
[all …]
/freebsd/sys/dev/sfxge/
H A Dsfxge_rx.c552 const uint32_t *opt_ptr = (const uint32_t *) (th + 1); in sfxge_lro_try_merge() local
554 opt_ptr[0] == ntohl((TCPOPT_NOP << 24) | in sfxge_lro_try_merge()