Classes | Macros | Typedefs | Functions
os390.c File Reference
#include "internal.h"
#include <sys/ioctl.h>
#include <net/if.h>
#include <utmpx.h>
#include <unistd.h>
#include <sys/ps.h>
#include <builtins.h>
#include <termios.h>
#include <sys/msg.h>
#include "//'SYS1.SAMPLIB(CSRSIC)'"
Include dependency graph for os390.c:

Go to the source code of this file.

Classes

union  data_area_ptr
 

Macros

#define ADDR_SIZE(p)   MAX((p).sa_len, sizeof(p))
 
#define ASCBRSME   0x16C
 
#define CPCMODEL_LENGTH   16
 
#define CSD_NUMBER_ONLINE_CPUS   0xD4
 
#define CSD_OFFSET   0x294
 
#define CVT_PTR   0x10
 
#define CVTOPCTP_OFFSET   0x25C
 
#define CVTRCEP_OFFSET   0x490
 
#define MAX(a, b)   (((a)>(b))?(a):(b))
 
#define PGTH_CURRENT   1
 
#define PGTH_LEN   26
 
#define PGTHAPATH   0x20
 
#define PSA_PTR   0x00
 
#define PSAAOLD   0x224
 
#define RAXFMCT   0x2C
 
#define RCEAFC_OFFSET   0x088
 
#define RCEPOOL_OFFSET   0x004
 
#define RCTLACS_OFFSET   0xC4
 
#define RMCTRCT_OFFSET   0xE4
 
#define TOD_RES   4.096
 

Typedefs

typedef unsigned data_area_ptr_assign_type
 

Functions

static int getexe (const int pid, char *buf, size_t len)
 
static int os390_message_queue_handler (uv__os390_epoll *ep)
 
void uv__fs_event_close (uv_fs_event_t *handle)
 
uint64_t uv__hrtime (uv_clocktype_t type)
 
static int uv__interface_addresses_v6 (uv_interface_address_t **addresses, int *count)
 
int uv__io_check_fd (uv_loop_t *loop, int fd)
 
int uv__io_fork (uv_loop_t *loop)
 
void uv__io_poll (uv_loop_t *loop, int timeout)
 
void uv__platform_invalidate_fd (uv_loop_t *loop, int fd)
 
void uv__platform_loop_delete (uv_loop_t *loop)
 
int uv__platform_loop_init (uv_loop_t *loop)
 
void uv__set_process_title (const char *title)
 
int uv_cpu_info (uv_cpu_info_t **cpu_infos, int *count)
 
int uv_exepath (char *buffer, size_t *size)
 
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)
 
int uv_fs_event_stop (uv_fs_event_t *handle)
 
uint64_t uv_get_constrained_memory (void)
 
uint64_t uv_get_free_memory (void)
 
uint64_t uv_get_total_memory (void)
 
int uv_interface_addresses (uv_interface_address_t **addresses, int *count)
 
void uv_loadavg (double avg[3])
 
int uv_resident_set_memory (size_t *rss)
 
int uv_uptime (double *uptime)
 

Macro Definition Documentation

◆ ADDR_SIZE

#define ADDR_SIZE (   p)    MAX((p).sa_len, sizeof(p))

◆ ASCBRSME

#define ASCBRSME   0x16C

Definition at line 80 of file os390.c.

◆ CPCMODEL_LENGTH

#define CPCMODEL_LENGTH   16

Definition at line 74 of file os390.c.

◆ CSD_NUMBER_ONLINE_CPUS

#define CSD_NUMBER_ONLINE_CPUS   0xD4

Definition at line 53 of file os390.c.

◆ CSD_OFFSET

#define CSD_OFFSET   0x294

Definition at line 39 of file os390.c.

◆ CVT_PTR

#define CVT_PTR   0x10

Definition at line 37 of file os390.c.

◆ CVTOPCTP_OFFSET

#define CVTOPCTP_OFFSET   0x25C

Definition at line 56 of file os390.c.

◆ CVTRCEP_OFFSET

#define CVTRCEP_OFFSET   0x490

Definition at line 62 of file os390.c.

◆ MAX

#define MAX (   a,
  b 
)    (((a)>(b))?(a):(b))

◆ PGTH_CURRENT

#define PGTH_CURRENT   1

Definition at line 89 of file os390.c.

◆ PGTH_LEN

#define PGTH_LEN   26

Definition at line 90 of file os390.c.

◆ PGTHAPATH

#define PGTHAPATH   0x20

Definition at line 91 of file os390.c.

◆ PSA_PTR

#define PSA_PTR   0x00

Definition at line 38 of file os390.c.

◆ PSAAOLD

#define PSAAOLD   0x224

Definition at line 77 of file os390.c.

◆ RAXFMCT

#define RAXFMCT   0x2C

Definition at line 86 of file os390.c.

◆ RCEAFC_OFFSET

#define RCEAFC_OFFSET   0x088

Definition at line 71 of file os390.c.

◆ RCEPOOL_OFFSET

#define RCEPOOL_OFFSET   0x004

Definition at line 68 of file os390.c.

◆ RCTLACS_OFFSET

#define RCTLACS_OFFSET   0xC4

Definition at line 50 of file os390.c.

◆ RMCTRCT_OFFSET

#define RMCTRCT_OFFSET   0xE4

Definition at line 59 of file os390.c.

◆ TOD_RES

#define TOD_RES   4.096

Definition at line 96 of file os390.c.

Typedef Documentation

◆ data_area_ptr_assign_type

typedef unsigned data_area_ptr_assign_type

Definition at line 98 of file os390.c.

Function Documentation

◆ getexe()

static int getexe ( const int  pid,
char *  buf,
size_t  len 
)
static

Definition at line 151 of file os390.c.

◆ os390_message_queue_handler()

static int os390_message_queue_handler ( uv__os390_epoll ep)
static

Definition at line 774 of file os390.c.

◆ uv__fs_event_close()

void uv__fs_event_close ( uv_fs_event_t handle)

Definition at line 695 of file os390.c.

◆ uv__hrtime()

uint64_t uv__hrtime ( uv_clocktype_t  type)

Definition at line 139 of file os390.c.

◆ uv__interface_addresses_v6()

static int uv__interface_addresses_v6 ( uv_interface_address_t **  addresses,
int count 
)
static

Definition at line 436 of file os390.c.

◆ uv__io_check_fd()

int uv__io_check_fd ( uv_loop_t loop,
int  fd 
)

Definition at line 674 of file os390.c.

◆ uv__io_fork()

int uv__io_fork ( uv_loop_t loop)

Definition at line 994 of file os390.c.

◆ uv__io_poll()

void uv__io_poll ( uv_loop_t loop,
int  timeout 
)

Definition at line 806 of file os390.c.

◆ uv__platform_invalidate_fd()

void uv__platform_invalidate_fd ( uv_loop_t loop,
int  fd 
)

Definition at line 651 of file os390.c.

◆ uv__platform_loop_delete()

void uv__platform_loop_delete ( uv_loop_t loop)

Definition at line 131 of file os390.c.

◆ uv__platform_loop_init()

int uv__platform_loop_init ( uv_loop_t loop)

Definition at line 119 of file os390.c.

◆ uv__set_process_title()

void uv__set_process_title ( const char *  title)

Definition at line 990 of file os390.c.

◆ uv_cpu_info()

int uv_cpu_info ( uv_cpu_info_t **  cpu_infos,
int count 
)

Definition at line 392 of file os390.c.

◆ uv_exepath()

int uv_exepath ( char *  buffer,
size_t *  size 
)

Definition at line 254 of file os390.c.

◆ uv_free_interface_addresses()

void uv_free_interface_addresses ( uv_interface_address_t addresses,
int  count 
)

Definition at line 642 of file os390.c.

◆ uv_fs_event_init()

int uv_fs_event_init ( uv_loop_t loop,
uv_fs_event_t handle 
)

Definition at line 700 of file os390.c.

◆ uv_fs_event_start()

int uv_fs_event_start ( uv_fs_event_t handle,
uv_fs_event_cb  cb,
const char *  filename,
unsigned int  flags 
)

Definition at line 706 of file os390.c.

◆ uv_fs_event_stop()

int uv_fs_event_stop ( uv_fs_event_t handle)

Definition at line 742 of file os390.c.

◆ uv_get_constrained_memory()

uint64_t uv_get_constrained_memory ( void  )

Definition at line 359 of file os390.c.

◆ uv_get_free_memory()

uint64_t uv_get_free_memory ( void  )

Definition at line 335 of file os390.c.

◆ uv_get_total_memory()

uint64_t uv_get_total_memory ( void  )

Definition at line 347 of file os390.c.

◆ uv_interface_addresses()

int uv_interface_addresses ( uv_interface_address_t **  addresses,
int count 
)

Definition at line 520 of file os390.c.

◆ uv_loadavg()

void uv_loadavg ( double  avg[3])

Definition at line 111 of file os390.c.

◆ uv_resident_set_memory()

int uv_resident_set_memory ( size_t *  rss)

Definition at line 364 of file os390.c.

◆ uv_uptime()

int uv_uptime ( double *  uptime)

Definition at line 378 of file os390.c.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:25