Rizin
unix-like reverse engineering framework and cli tools
|
#include "uv.h"
#include "internal.h"
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <net/if.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <sys/time.h>
#include <unistd.h>
#include <fcntl.h>
#include <utmp.h>
#include <libgen.h>
#include <sys/protosw.h>
#include <libperfstat.h>
#include <procinfo.h>
#include <sys/proc.h>
#include <sys/procfs.h>
#include <sys/poll.h>
#include <sys/pollset.h>
#include <ctype.h>
#include <sys/mntctl.h>
#include <sys/vmount.h>
#include <limits.h>
#include <strings.h>
#include <sys/vnode.h>
Go to the source code of this file.
Macros | |
#define | RDWR_BUF_SIZE 4096 |
#define | EQ(a, b) (strcmp(a,b) == 0) |
#define | ADDR_SIZE(p) MAX((p).sa_len, sizeof(p)) |
Variables | |
char * | original_exepath = NULL |
uv_mutex_t | process_title_mutex |
uv_once_t | process_title_mutex_once = UV_ONCE_INIT |
static void * | args_mem = NULL |
static char ** | process_argv = NULL |
static int | process_argc = 0 |
static char * | process_title_ptr = NULL |
void init_process_title_mutex_once | ( | void | ) |
Definition at line 76 of file aix.c.
Referenced by uv_get_process_title(), uv_set_process_title(), and uv_setup_args().
void uv__fs_event_close | ( | uv_fs_event_t * | handle | ) |
Definition at line 863 of file aix.c.
References handle, UNREACHABLE, and uv_fs_event_stop().
Referenced by uv_close().
Definition at line 108 of file aix.c.
References loop, uv__platform_loop_delete(), and uv__platform_loop_init().
Referenced by uv_loop_fork().
Definition at line 133 of file aix.c.
References ARRAY_SIZE, assert(), count, EINTR, EINVAL, flags, i, loop, nfds, NULL, pc, QUEUE_DATA, QUEUE_EMPTY, QUEUE_HEAD, QUEUE_INIT, QUEUE_REMOVE, SAVE_ERRNO, timeout, uv__get_internal_fields, uv__metrics_set_provider_entry_time(), uv__metrics_update_idle_time(), UV_METRICS_IDLE_TIME, and w.
Referenced by uv_run().
void uv__platform_loop_delete | ( | uv_loop_t * | loop | ) |
Definition at line 95 of file aix.c.
References loop, and uv__close().
Referenced by uv__io_fork(), uv__loop_close(), and uv_loop_init().
Definition at line 81 of file aix.c.
References loop.
Referenced by uv__io_fork(), and uv_loop_init().
void uv__process_title_cleanup | ( | void | ) |
Definition at line 987 of file aix.c.
References args_mem, NULL, and uv__free().
Referenced by uv_library_shutdown().
int uv_cpu_info | ( | uv_cpu_info_t ** | cpu_infos, |
int * | count | ||
) |
void uv_free_interface_addresses | ( | uv_interface_address_t * | addresses, |
int | count | ||
) |
int uv_fs_event_init | ( | uv_loop_t * | loop, |
uv_fs_event_t * | handle | ||
) |
int uv_fs_event_start | ( | uv_fs_event_t * | handle, |
uv_fs_event_cb | cb, | ||
const char * | filename, | ||
unsigned int | flags | ||
) |
Definition at line 767 of file aix.c.
int uv_fs_event_stop | ( | uv_fs_event_t * | handle | ) |
uint64_t uv_get_constrained_memory | ( | void | ) |
uint64_t uv_get_free_memory | ( | void | ) |
Definition at line 960 of file aix.c.
uint64_t uv_get_total_memory | ( | void | ) |
int uv_interface_addresses | ( | uv_interface_address_t ** | addresses, |
int * | count | ||
) |
Definition at line 1100 of file aix.c.
char** uv_setup_args | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 872 of file aix.c.
int uv_uptime | ( | double * | uptime | ) |
Definition at line 1017 of file aix.c.
|
static |
Definition at line 71 of file aix.c.
Referenced by uv__process_title_cleanup(), uv_set_process_title(), and uv_setup_args().
char* original_exepath = NULL |
Definition at line 68 of file aix.c.
Referenced by uv_setup_args().
|
static |
Definition at line 73 of file aix.c.
Referenced by uv_set_process_title(), and uv_setup_args().
|
static |
Definition at line 72 of file aix.c.
Referenced by uv_get_process_title(), uv_set_process_title(), and uv_setup_args().
uv_mutex_t process_title_mutex |
Definition at line 69 of file aix.c.
Referenced by init_process_title_mutex_once(), uv_get_process_title(), uv_set_process_title(), and uv_setup_args().
uv_once_t process_title_mutex_once = UV_ONCE_INIT |
Definition at line 70 of file aix.c.
Referenced by uv_get_process_title(), uv_set_process_title(), and uv_setup_args().
|
static |
Definition at line 74 of file aix.c.
Referenced by uv_set_process_title().