|
XRootD
|
#include <fcntl.h>#include <cstdint>#include <cstdio>#include <cstdlib>#include <cstring>#include <ctime>#include <unistd.h>#include <sys/file.h>#include <sys/mman.h>#include <sys/stat.h>#include <sys/types.h>#include <zlib.h>#include <iostream>#include "XrdSsi/XrdSsiShMam.hh"#include "XrdSys/XrdSysE2T.hh"
Include dependency graph for XrdSsiShMam.cc:Go to the source code of this file.
Macros | |
| #define | ITEM_KEY(x) (char *)x + sizeof(MemItem) + keyPos |
| #define | ITEM_VAL(x) (char *)x + sizeof(MemItem) |
| #define | ITEM_VOF(x) (char *)x + sizeof(MemItem) - shmBase |
| #define | OF(args) args |
| #define | SHMADDR(type, offs) (type *)(shmBase + offs) |
| #define | SHMINFO(x) ((ShmInfo *)shmBase)->x |
| #define | SHMOFFS(addr) (char *)addr - shmBase |
| #define ITEM_KEY | ( | x | ) | (char *)x + sizeof(MemItem) + keyPos |
Definition at line 92 of file XrdSsiShMam.cc.
| #define ITEM_VAL | ( | x | ) | (char *)x + sizeof(MemItem) |
Definition at line 94 of file XrdSsiShMam.cc.
| #define ITEM_VOF | ( | x | ) | (char *)x + sizeof(MemItem) - shmBase |
Definition at line 96 of file XrdSsiShMam.cc.
| #define OF | ( | args | ) | args |
Definition at line 53 of file XrdSsiShMam.cc.
| #define SHMADDR | ( | type, | |
| offs | |||
| ) | (type *)(shmBase + offs) |
Definition at line 88 of file XrdSsiShMam.cc.
| #define SHMINFO | ( | x | ) | ((ShmInfo *)shmBase)->x |
Definition at line 86 of file XrdSsiShMam.cc.
| #define SHMOFFS | ( | addr | ) | (char *)addr - shmBase |
Definition at line 90 of file XrdSsiShMam.cc.