ptable
struct ptable *table;
struct ptable *table;
struct ptable *table;
static struct ptable *
ptable_gptread(struct ptable *table, void *dev, diskread_t dread)
static struct ptable *
ptable_ebrread(struct ptable *table, void *dev, diskread_t dread)
static struct ptable *
ptable_bsdread(struct ptable *table, void *dev, diskread_t dread)
static struct ptable *
ptable_iso9660read(struct ptable *table, void *dev, diskread_t dread)
struct ptable *
struct ptable *table;
ptable_close(struct ptable *table)
ptable_gettype(const struct ptable *table)
ptable_getsize(const struct ptable *table, uint64_t *sizep)
ptable_getpart(const struct ptable *table, struct ptable_entry *part, int index)
ptable_getbestpart(const struct ptable *table, struct ptable_entry *part)
ptable_iterate(const struct ptable *table, void *arg, ptable_iterate_t *iter)
struct ptable;
struct ptable *ptable_open(void *dev, uint64_t sectors, uint16_t sectorsize,
void ptable_close(struct ptable *table);
enum ptable_type ptable_gettype(const struct ptable *table);
int ptable_getsize(const struct ptable *table, uint64_t *sizep);
int ptable_getpart(const struct ptable *table, struct ptable_entry *part,
int ptable_getbestpart(const struct ptable *table, struct ptable_entry *part);
int ptable_iterate(const struct ptable *table, void *arg,
struct ptable *table;
struct ptable *table;
struct its_ptable *ptable;
ptable = &sc->sc_its_ptab[sc->sc_dev_table_idx];
if (!ptable->ptab_indirect) {
if (devid >= ptable->ptab_l1_nidents) {
ptable->ptab_l1_nidents);
index = devid / ptable->ptab_l2_nidents;
if (index >= ptable->ptab_l1_nidents) {
__func__, index, ptable->ptab_l1_nidents);
table = (uint64_t *)ptable->ptab_vaddr;
if ((ptable->ptab_share & GITS_BASER_SHARE_MASK) == GITS_BASER_SHARE_NS)
l2_table = contigmalloc_domainset(ptable->ptab_l2_size,
ptable->ptab_page_size, 0);
cpu_dcache_wb_range(l2_table, ptable->ptab_l2_size);
RRIP_TABLE *ptable;
for (ptable = table; ptable->func; ptable++) {
if (phead->type[0] == ptable->type[0] &&
phead->type[1] == ptable->type[1]) {
result |= ptable->func(phead, ana);
for (ptable = table; ptable->func2; ptable++)
if (!(ptable->result & result))
ptable->func2(isodir, ana);