GDB (xrefs)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
readahead_cache Struct Reference

Public Member Functions

void invalidate ()
 
void invalidate_fd (int fd)
 
int pread (int fd, gdb_byte *read_buf, size_t len, ULONGEST offset)
 

Public Attributes

int fd = -1
 
ULONGEST offset = 0
 
gdb::byte_vector buf
 
ULONGEST hit_count = 0
 
ULONGEST miss_count = 0
 

Detailed Description

Definition at line 336 of file remote.c.

Member Function Documentation

◆ invalidate()

void readahead_cache::invalidate ( )

Definition at line 12383 of file remote.c.

References fd.

Referenced by remote_target::open_1().

◆ invalidate_fd()

void readahead_cache::invalidate_fd ( int fd)

◆ pread()

int readahead_cache::pread ( int fd,
gdb_byte * read_buf,
size_t len,
ULONGEST offset )

Definition at line 12567 of file remote.c.

References buf, fd, and offset.

Referenced by remote_target::remote_hostio_pread().

Member Data Documentation

◆ buf

gdb::byte_vector readahead_cache::buf

Definition at line 357 of file remote.c.

Referenced by pread(), and remote_target::remote_hostio_pread().

◆ fd

int readahead_cache::fd = -1

Definition at line 350 of file remote.c.

Referenced by invalidate(), invalidate_fd(), pread(), and remote_target::remote_hostio_pread().

◆ hit_count

ULONGEST readahead_cache::hit_count = 0

Definition at line 360 of file remote.c.

Referenced by remote_target::remote_hostio_pread().

◆ miss_count

ULONGEST readahead_cache::miss_count = 0

Definition at line 361 of file remote.c.

Referenced by remote_target::remote_hostio_pread().

◆ offset

ULONGEST readahead_cache::offset = 0

Definition at line 354 of file remote.c.

Referenced by pread(), and remote_target::remote_hostio_pread().


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