The manual
ginnOS
The reference: libc, the libraries and the kernel
Loading...
Searching...
No Matches
Data Structures
Here are the data structures with brief descriptions:
 C__attribute__ELF32 file header
 Cacpi_info_tWhat the kernel takes from the ACPI tables
 Cacpi_ioapic_tOne I/O APIC from the MADT
 Cacpi_iso_tInterrupt source override from the MADT: ISA IRQ source is global system interrupt gsi, with the given polarity and trigger mode
 Caddrinfo
 Cahci_disk_t
 Capp_list_t
 Capp_t
 Cata_device_tATA device structure
 Caudio_buf_infoFree space for SNDCTL_DSP_GETOSPACE, in bytes of the caller's format
 Caudio_device
 Caudio_ops_t
 Caudio_status_tState for /proc/audio
 Cblake2s_t
 Cblock_cache_slot_t
 Cblock_cache_t
 Cblock_deviceBlock device abstraction for reading blocks from a storage device
 Cboot_info_tInformation the bootloader hands to the kernel
 Cboot_video_mode_t
 Cbragi_face
 Cbragi_font
 Cbragi_glyphOne glyph image in a face's cache
 Cbragi_stats_t
 Ccmsghdr
 Ccompletion_t
 CcpuData of one core
 Ccpu_times_tTimer ticks of a core since boot, as the "cpu" lines of Linux's /proc/stat
 Cdatagram
 CdeviceRegistered device
 Cdevice_ops_tOptional per-device operations
 Cdirent
 Cdisplay_driver_t
 Cdisplay_surface_tFramebuffer in a mode: 32 bits per pixel, x8r8g8b8
 Cdiv_t
 Celf_load_result_tResult of a successful ELF load
 Cext2_directory_entry_t
 Cext2_file_t
 Cext2_volume_t
 Cfb_bitfield_t
 Cfb_cursor_t
 Cfb_event_tFBIOPUT_VSCREENINFO sets the mode to xres x yres at 32 bits per pixel when a display driver can (EINVAL if it cannot)
 Cfb_fix_screeninfo_t
 Cfb_info_tFramebuffer geometry and pixel format, filled by fbinfo()
 Cfb_mode_tFBIOGET_MODE: one video mode
 Cfb_point_t
 Cfb_rect_tFBIO_FLUSH: arg is an fb_rect_t of pixels that changed
 Cfb_var_screeninfo_t
 Cfd_entry_tSingle file descriptor entry
 Cfd_set
 Cfd_tableDescriptors of a process
 CfileOpen-file description
  C[union].__unnamed0__
   C[struct].__unnamed0__.pipe
 Cfile_ops_tWhat a kind of file can do
 Cfs_attr_tChange of a file's permissions or owner (setattr)
 Cfs_contextWhere paths start, and the mode bits new files lose
 Cfs_direntDirectory entry structure for reading directory contents
 Cfs_fileFile handle structure representing an open file or directory
 Cfs_mountFilesystem mount structure representing a mounted filesystem
 Cfs_ops_t
 Cfs_statFilesystem metadata structure returned by stat
 Cgfx_buffer_t
 Cgfx_format_tPixel format of a framebuffer, for gfx_present
 Cgfx_rect_t
 Cgfx_shadow_tCSS box-shadow: "x y blur spread color", and "inset"
 Cgroup
 Cheap_blockBlock header placed before each allocation
 Cheap_stats_tHeap allocation statistics
 Cheim_event_t
 Cheim_msg_t
  C[union].__unnamed0__
   C[struct].__unnamed0__.hello
   C[struct].__unnamed0__.size
   C[struct].__unnamed0__.create
   C[struct].__unnamed0__.place
   C[struct].__unnamed0__.attach
   C[struct].__unnamed0__.rect
   C[struct].__unnamed0__.title
   C[struct].__unnamed0__.cursor
   C[struct].__unnamed0__.clip
   C[struct].__unnamed0__.settings
   C[struct].__unnamed0__.configure
   C[struct].__unnamed0__.focus
   C[struct].__unnamed0__.info
   C[struct].__unnamed0__.app
   C[struct].__unnamed0__.act
   C[struct].__unnamed0__.key
   C[struct].__unnamed0__.pointer
 Chid_field_t
 Chid_pointer_t
 Chostent
 Cicon_t
 Cidunn_anim_tTransition of one value (0 to 1) with the CSS ease-out curve
 Cidunn_canvas_hooks_tWhat a canvas does; each hook can be NULL
 Cidunn_class_t
 Cidunn_context
 Cidunn_edit_t
 Cidunn_event_t
 Cidunn_input_tInput for a canvas
 Cidunn_text_style_t
 Cidunn_theme_t
 Cidunn_widget
 Cidunn_window
  C[struct].timers
 Cifreq
  C[union].ifr_ifru
 Cin6_addr
 Cin_addr
 Cinet_socket
 Cinput_event_t
 Ciovec
 Cipv4_stats_t
 Ckbd_keymapKBD_IOC_GET_KEYMAP: the characters of the active layout, by key code (the Linux key code of /dev/input, below 128)
 Ckbd_layout_nameKBD_IOC_LAYOUT_NAME: set index; the kernel fills in name
 Ckcmsghdr_t
 Ckdirent
 Ckey_event_tKeyboard event structure (matches kernel keyboard_event_t)
  C[union].__unnamed0__
   C[struct].__unnamed0__.raw
 Ckeyboard_event_tSingle keyboard event returned by keyboard_read_event()
  C[union].__unnamed0__
   C[struct].__unnamed0__.raw
 Ckeyboard_layout_tKeyboard layout maps PS/2 scan codes to characters
 Ckifreq_t
  C[union].__unnamed0__
   C[struct].__unnamed0__.addr
 Ckiovec_t
 Ckmsghdr_t
 Cksigaction_tWhat a process does with one signal (ABI: the sigaction syscall copies it to and from user space in this layout)
 Cksockaddr_in_t
 Cksockaddr_un_t
 Ckstat
 Cksym_tKernel symbol table: maps code addresses to function names so panics and exceptions can print a readable backtrace
 Cktermios
 CktimespecStruct timespec (ABI: long seconds and nanoseconds, as the libc's <time.h> has it)
 Ckwinsize
 ClconvHow numbers and money are written
 Cldiv_t
 Cmbstate_tState of a conversion that stopped in a character (UTF-8 needs none)
 Cmemory_map_tStructure representing the system's memory map, containing multiple memory regions
 Cmime_type_t
 Cmsghdr
 Cmutex_tSleeping mutex for long critical sections in process context (filesystem and disk I/O)
 Cnetif
 Cnvme_disk_t
 Cpartition_device_tPartition device structure representing a partition on a block device
 Cpasswd
 Cpci_bar_t
 Cpci_device_t
 Cpci_irq_info_tOne attached handler, for /proc/interrupts
 Cpipe_bufPipe
 Cpollfd
 CprocessProcess control block
 Cprocess_info_tCopy of what procfs shows about a process
 Cpthread_attr_t
 Cpthread_barrier_t
 Cpthread_barrierattr_t
 Cpthread_cond_t
 Cpthread_condattr_t
 Cpthread_mutex_t
 Cpthread_mutexattr_t
 Cpthread_rwlock_t
 Cpthread_rwlockattr_t
 Cramdisk_t
 Crat
 Crat_entry_tFolder, file or symbolic link of a package
 Crat_error_tMessage about a failure
 Crat_index_tIndex of the repository, after its signature was checked
 Crat_info_tFields of .RATINFO
 Crat_owned_tOwners of all paths: the base image and the installed packages
 Crat_owners_t
 Crat_package_tPackage file that was read and checked
 Crat_remote_tPackage of the index of the repository
 Crat_txn_tList of operations that is being made
 Crat_update_tWhat rat_update did
 Crat_upgradable_tInstalled package that the index has in a newer version
 Cre_pattern_bufferCompiled expression (the layout is musl's)
 Cregion_entry_tSingle reserved memory region with byte-granularity boundaries
 CregistersSaved register state pushed onto the stack by ISR stubs
 Cregmatch_tWhere a match (or a part of it) starts and ends; -1 when it did not match
 Csched_param
 Csem_t
 Cservent
 CSHA2_CTXState of a SHA-256 calculation
 Csigaction
 Csignal_handlersWhat a process does with each signal
 Csignal_state_tSignal state of a process (inside process_t)
 Csockaddr
 Csockaddr_in
 Csockaddr_in6
 Csockaddr_storage
 Csockaddr_un
 Cspinlock_tKernel locking rules:
 Cspwd
 Cstat
 Ctcp_conn
 Ctermios
 Ctimed_queueWait queue with a deadline
 Ctimespec
 Ctimeval
 Ctm
 Ctms
 Ctty_backend_tCharacter-cell backend a tty draws onto
 Ctty_tTerminal instance
 Cuser_spaceUser half of an address space: the page tables, the areas (vma.h) and the program break
 Cutimbuf
 Cutsname
 Cvfs_file_tVirtual file system file handle structure representing an open file or directory
 Cvirtio_device_t
 Cvirtq_t
 Cvma_tOne area of user memory
 Cvma_table_tProcess's areas, sorted by start
 Cvt
 Cvt_cell_t
 Cvt_line_tLine of cells: on the screen, or in the scrollback
 Cwait_queue_tQueue of blocked processes, linked through process_t::wait_next
 Cwinsize