Searched defs:kmem (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/man/man7d/
H A DMakefile252 kmem.7d \
281 kmem.7d := LINKSRC = mem.7d
/illumos-gate/usr/src/lib/libkvm/common/
H A Dkvm.c106 corefile = "/dev/kmem";
115 if (stat64("/dev/kmem", &kmemstat) == -1)
116 return (fail(kd, err, "cannot stat /dev/kmem"));
123 char *kmem = (corestat.st_rdev == allkmemstat.st_rdev ? local
124 "/dev/allkmem" : "/dev/kmem");
126 if ((kd->kvm_kmemfd = open64(kmem, flag)) == -1)
127 return (fail(kd, err, "cannot open %s", kmem));
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dnl7curi.h77 #define REF_INIT(container, count, inactive, kmem) { \
80 (container)->ref.kmc = (kmem); \
115 offset_t off; /* Offset into file or -1 for kmem */
117 char *kmem; /* Data in kmem */ member in union:uri_rd_s::__anon4622
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dconf.c1377 #define LA_INT 2 /* read kmem for avenrun; interpret as long */
1378 #define LA_FLOAT 3 /* read kmem for avenrun; interpret as float */
1381 #define LA_SHORT 6 /* read kmem for avenrun; interpret as short */
1391 #define LA_LONGLONG 17 /* read kmem for avenrun; interpret as long long */
1427 # define _PATH_KMEM "/dev/kmem"
1458 static int kmem = -1; local
1474 if (kmem < 0)
1504 kmem = open(_PATH_KMEM, 0, 0);
1505 if (kmem < 0)
1508 sm_dprintf("getla: open(/dev/kmem)
1583 static int kmem = -1; local
1822 static int kmem = -1; local
2516 static int kmem = -1; local
[all...]

Completed in 64 milliseconds