GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-36359e2344
SEGMENT Struct Reference

#include <segment.h>

Collaboration diagram for SEGMENT:

Data Structures

struct  scb
 

Data Fields

int open
 
off_t nrows
 
off_t ncols
 
int len
 
int srows
 
int scols
 
int srowscols
 
int size
 
int spr
 
int spill
 
int fast_adrs
 
off_t scolbits
 
off_t srowbits
 
off_t segbits
 
int fast_seek
 
int lenbits
 
int sizebits
 
int(* address )(const struct SEGMENT *, off_t, off_t, int *, int *)
 
int(* seek )(const struct SEGMENT *S, int, int)
 
char * fname
 
int fd
 
struct SEGMENT::scbscb
 
int * load_idx
 
int nfreeslots
 
int * freeslot
 
struct aqagequeue
 
struct aqyoungest
 
struct aqoldest
 
int nseg
 
int cur
 
int offset
 
char * cache
 

Detailed Description

Definition at line 19 of file segment.h.

Field Documentation

◆ address

int(* SEGMENT::address) (const struct SEGMENT *, off_t, off_t, int *, int *)

Definition at line 39 of file segment.h.

Referenced by seg_address(), seg_setup(), Segment_get(), and Segment_put().

◆ agequeue

struct aq* SEGMENT::agequeue

Definition at line 54 of file segment.h.

Referenced by seg_setup(), and Segment_release().

◆ cache

char* SEGMENT::cache

Definition at line 61 of file segment.h.

Referenced by seg_setup(), Segment_close(), Segment_get(), and Segment_put().

◆ cur

int SEGMENT::cur

Definition at line 58 of file segment.h.

Referenced by seg_setup().

◆ fast_adrs

int SEGMENT::fast_adrs

Definition at line 32 of file segment.h.

Referenced by seg_setup().

◆ fast_seek

int SEGMENT::fast_seek

Definition at line 36 of file segment.h.

Referenced by seg_address_fast(), and seg_setup().

◆ fd

int SEGMENT::fd

Definition at line 43 of file segment.h.

Referenced by seg_pageout(), seg_setup(), Segment_close(), and Segment_init().

◆ fname

char* SEGMENT::fname

Definition at line 42 of file segment.h.

Referenced by Segment_close().

◆ freeslot

int* SEGMENT::freeslot

Definition at line 53 of file segment.h.

Referenced by seg_setup(), and Segment_release().

◆ len

int SEGMENT::len

Definition at line 23 of file segment.h.

Referenced by seg_address_fast(), seg_address_slow(), seg_setup(), Segment_get(), and Segment_put().

◆ lenbits

int SEGMENT::lenbits

Definition at line 37 of file segment.h.

Referenced by seg_address_fast(), and seg_setup().

◆ load_idx

int* SEGMENT::load_idx

Definition at line 51 of file segment.h.

Referenced by seg_setup(), and Segment_release().

◆ ncols

off_t SEGMENT::ncols

Definition at line 22 of file segment.h.

Referenced by seg_setup(), Segment_get(), and Segment_put().

◆ nfreeslots

int SEGMENT::nfreeslots

Definition at line 52 of file segment.h.

Referenced by seg_setup().

◆ nrows

off_t SEGMENT::nrows

Definition at line 21 of file segment.h.

Referenced by seg_setup().

◆ nseg

int SEGMENT::nseg

Definition at line 57 of file segment.h.

Referenced by seg_setup(), Segment_flush(), Segment_init(), and Segment_release().

◆ offset

int SEGMENT::offset

Definition at line 59 of file segment.h.

Referenced by seg_setup().

◆ oldest

struct aq * SEGMENT::oldest

Definition at line 56 of file segment.h.

Referenced by seg_setup().

◆ open

int SEGMENT::open

Definition at line 20 of file segment.h.

Referenced by seg_setup(), Segment_close(), Segment_init(), and Segment_release().

◆ scb

◆ scolbits

off_t SEGMENT::scolbits

Definition at line 33 of file segment.h.

Referenced by seg_address_fast(), and seg_setup().

◆ scols

int SEGMENT::scols

Definition at line 25 of file segment.h.

Referenced by seg_address_fast(), seg_address_slow(), and seg_setup().

◆ seek

int(* SEGMENT::seek) (const struct SEGMENT *S, int, int)

Definition at line 40 of file segment.h.

Referenced by seg_pageout(), seg_seek(), and seg_setup().

◆ segbits

off_t SEGMENT::segbits

Definition at line 35 of file segment.h.

Referenced by seg_setup().

◆ size

int SEGMENT::size

Definition at line 27 of file segment.h.

Referenced by seg_pageout(), and seg_setup().

◆ sizebits

int SEGMENT::sizebits

Definition at line 38 of file segment.h.

Referenced by seg_setup().

◆ spill

int SEGMENT::spill

Definition at line 29 of file segment.h.

Referenced by seg_setup().

◆ spr

int SEGMENT::spr

Definition at line 28 of file segment.h.

Referenced by seg_address_fast(), seg_address_slow(), and seg_setup().

◆ srowbits

off_t SEGMENT::srowbits

Definition at line 34 of file segment.h.

Referenced by seg_address_fast(), and seg_setup().

◆ srows

int SEGMENT::srows

Definition at line 24 of file segment.h.

Referenced by seg_address_fast(), seg_address_slow(), and seg_setup().

◆ srowscols

int SEGMENT::srowscols

Definition at line 26 of file segment.h.

Referenced by seg_setup().

◆ youngest

struct aq * SEGMENT::youngest

Definition at line 55 of file segment.h.

Referenced by seg_setup().


The documentation for this struct was generated from the following file: