Go to the source code of this file.
|
svm_region_t * | svm_get_root_rp (void) |
|
u64 | svm_get_global_region_base_va () |
|
static void | region_lock (svm_region_t *rp, int tag) |
|
static void | region_unlock (svm_region_t *rp) |
|
static u8 * | format_svm_flags (u8 *s, va_list *args) |
|
static u8 * | format_svm_size (u8 *s, va_list *args) |
|
u8 * | format_svm_region (u8 *s, va_list *args) |
|
static u64 | rnd_pagesize (u64 size) |
|
static int | svm_data_region_create (svm_map_region_args_t *a, svm_region_t *rp) |
|
static int | svm_data_region_map (svm_map_region_args_t *a, svm_region_t *rp) |
|
u8 * | shm_name_from_svm_map_region_args (svm_map_region_args_t *a) |
|
void | svm_region_init_mapped_region (svm_map_region_args_t *a, svm_region_t *rp) |
|
void * | svm_map_region (svm_map_region_args_t *a) |
|
static void | svm_mutex_cleanup (void) |
|
static int | svm_region_init_internal (svm_map_region_args_t *a) |
|
void | svm_region_init (void) |
|
int | svm_region_init_chroot (const char *root_path) |
|
void | svm_region_init_chroot_uid_gid (const char *root_path, int uid, int gid) |
|
void | svm_region_init_args (svm_map_region_args_t *a) |
|
void * | svm_region_find_or_create (svm_map_region_args_t *a) |
|
void | svm_region_unlink (svm_region_t *rp) |
|
void | svm_region_unmap_internal (void *rp_arg, u8 is_client) |
|
void | svm_region_unmap (void *rp_arg) |
|
void | svm_region_unmap_client (void *rp_arg) |
|
static void | svm_region_exit_internal (u8 is_client) |
|
void | svm_region_exit (void) |
|
void | svm_region_exit_client (void) |
|
void | svm_client_scan_this_region_nolock (svm_region_t *rp) |
|
void | svm_client_scan (const char *root_path) |
|
◆ MAXLOCK
Definition at line 48 of file svm.c.
◆ MUTEX_DEBUG
Definition at line 58 of file svm.c.
◆ format_svm_flags()
static u8* format_svm_flags |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ format_svm_region()
u8* format_svm_region |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ format_svm_size()
static u8* format_svm_size |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ region_lock()
◆ region_unlock()
◆ rnd_pagesize()
static u64 rnd_pagesize |
( |
u64 |
size | ) |
|
|
static |
◆ shm_name_from_svm_map_region_args()
◆ svm_client_scan()
void svm_client_scan |
( |
const char * |
root_path | ) |
|
◆ svm_client_scan_this_region_nolock()
void svm_client_scan_this_region_nolock |
( |
svm_region_t * |
rp | ) |
|
◆ svm_data_region_create()
◆ svm_data_region_map()
◆ svm_get_global_region_base_va()
u64 svm_get_global_region_base_va |
( |
| ) |
|
Definition at line 61 of file svm.c.
◆ svm_get_root_rp()
Definition at line 53 of file svm.c.
◆ svm_map_region()
◆ svm_mutex_cleanup()
static void svm_mutex_cleanup |
( |
void |
| ) |
|
|
static |
◆ svm_region_exit()
void svm_region_exit |
( |
void |
| ) |
|
◆ svm_region_exit_client()
void svm_region_exit_client |
( |
void |
| ) |
|
◆ svm_region_exit_internal()
static void svm_region_exit_internal |
( |
u8 |
is_client | ) |
|
|
static |
◆ svm_region_find_or_create()
◆ svm_region_init()
void svm_region_init |
( |
void |
| ) |
|
◆ svm_region_init_args()
◆ svm_region_init_chroot()
int svm_region_init_chroot |
( |
const char * |
root_path | ) |
|
◆ svm_region_init_chroot_uid_gid()
void svm_region_init_chroot_uid_gid |
( |
const char * |
root_path, |
|
|
int |
uid, |
|
|
int |
gid |
|
) |
| |
◆ svm_region_init_internal()
◆ svm_region_init_mapped_region()
◆ svm_region_unlink()
◆ svm_region_unmap()
void svm_region_unmap |
( |
void * |
rp_arg | ) |
|
◆ svm_region_unmap_client()
void svm_region_unmap_client |
( |
void * |
rp_arg | ) |
|
◆ svm_region_unmap_internal()
void svm_region_unmap_internal |
( |
void * |
rp_arg, |
|
|
u8 |
is_client |
|
) |
| |
◆ mutexes_held
pthread_mutex_t* mutexes_held[MAXLOCK] |
|
static |
Definition at line 49 of file svm.c.
◆ nheld
Definition at line 50 of file svm.c.
◆ root_rp
Definition at line 45 of file svm.c.
◆ root_rp_refcount
Definition at line 46 of file svm.c.