Home
last modified time | relevance | path

Searched refs:_PATH_MEM (Results 1 – 8 of 8) sorted by relevance

/freebsd/lib/libkvm/
H A Dkvm.c138 mf = _PATH_MEM; in _kvm_open()
163 } else if (strcmp(mf, _PATH_MEM) == 0) { in _kvm_open()
403 _kvm_syserr(kd, 0, _PATH_MEM); in kvm_read2()
467 _kvm_syserr(kd, 0, _PATH_MEM); in kvm_write()
/freebsd/usr.sbin/bhyve/amd64/
H A Dpci_gvt-d.c29 #ifndef _PATH_MEM
30 #define _PATH_MEM "/dev/mem" macro
425 memfd = open(_PATH_MEM, O_RDONLY, 0); in gvt_d_setup_opregion()
427 warn("%s: Failed to open %s", __func__, _PATH_MEM); in gvt_d_setup_opregion()
/freebsd/tools/tools/ncpus/
H A Dbiosmptable.c131 pfd = open(_PATH_MEM, O_RDONLY); in memopen()
133 warn("%s: cannot open", _PATH_MEM); in memopen()
H A Dacpi.c172 acpi_mem_fd = open(_PATH_MEM, O_RDONLY); in acpi_user_init()
174 err(1, "opening " _PATH_MEM); in acpi_user_init()
/freebsd/usr.sbin/memcontrol/
H A Dmemcontrol.c112 if ((memfd = open(_PATH_MEM, O_RDONLY)) == -1) in main()
113 err(1, "can't open %s", _PATH_MEM); in main()
/freebsd/include/
H A Dpaths.h79 #define _PATH_MEM "/dev/mem" macro
/freebsd/contrib/netbsd-tests/include/
H A Dt_paths.c82 { _PATH_MEM, PATH_DEV | PATH_ROOT },
/freebsd/usr.sbin/mptable/
H A Dmptable.c212 if ( (pfd = open( _PATH_MEM, O_RDONLY )) < 0 ) in main()
712 err( 1, "%s seek", _PATH_MEM ); in seekEntry()