mds
static struct mds lmodes[] = {
static struct mds omodes[] = {
static struct mds cmodes[] = {
static struct mds imodes[] = {
struct shmid_ds64 mds;
if (shmctl64(id, IPC_STAT64, &mds) < 0) {
if (mds.shmx_perm.ipcx_zoneid != zoneid) {
struct shmid_ds64 mds;
if (shmctl64(id, IPC_STAT64, &mds) < 0)
if (IPC_KEYMATCH(mds.shmx_perm, zoneid, k))
struct shmid_ds64 mds;
if (shmctl64(id, IPC_STAT64, &mds) < 0)
mds.shmx_perm.ipcx_zoneid != zoneid)
hp('m', "--rw-rw-rw-", &mds.shmx_perm, id);
(void) printf(" %6llu", mds.shmx_nattch);
(void) printf(" %10llu", mds.shmx_segsz);
(int)mds.shmx_cpid, (int)mds.shmx_lpid);
tp(mds.shmx_atime);
tp(mds.shmx_dtime);
tp(mds.shmx_ctime);
(void) printf(" %8llu", mds.shmx_cnattch);
jp(&mds.shmx_perm);
printzone(mds.shmx_perm.ipcx_zoneid);
extern const struct mds lmodes[];
extern const struct mds nlmodes[];
extern const struct mds cmodes[];
extern const struct mds ncmodes[];
extern const struct mds imodes[];
extern const struct mds nimodes[];
extern const struct mds omodes[];
extern const struct mds hmodes[];
extern const struct mds clkmodes[];
const struct mds ncmodes[] = {
const struct mds imodes[] = {
const struct mds nimodes[] = {
const struct mds lmodes[] = {
const struct mds nlmodes[] = {
const struct mds omodes[] = {
const struct mds hmodes[] = {
const struct mds clkmodes[] = {
const struct mds cmodes[] = {
struct shmid_ds mds;
rc = shmctl(shmid, IPC_STAT, &mds);
rc = memcntl(result, mds.shm_segsz, MC_ADVISE,
result, mds.shm_segsz, advice, rc, errno));
(void) shmctl(shmid, IPC_STAT, &mds);
(void) memcntl(result, mds.shm_segsz, MC_ADVISE,
extern const struct mds lmodes[];
extern const struct mds nlmodes[];
extern const struct mds cmodes[];
extern const struct mds ncmodes[];
extern const struct mds imodes[];
extern const struct mds nimodes[];
extern const struct mds omodes[];
extern const struct mds hmodes[];
extern const struct mds clkmodes[];
const struct mds ncmodes[] = {
const struct mds imodes[] = {
const struct mds nimodes[] = {
const struct mds lmodes[] = {
const struct mds nlmodes[] = {
const struct mds omodes[] = {
const struct mds hmodes[] = {
const struct mds clkmodes[] = {
const struct mds cmodes[] = {