Home
last modified time | relevance | path

Searched refs:ptype_map (Results 1 – 2 of 2) sorted by relevance

/freebsd/sbin/fsck/
H A Dfsck.c87 } ptype_map[] = { variable
565 for (i = 0; ptype_map[i].ptype != NULL; i++) in getfstype()
566 if (strstr(attr.value.str, ptype_map[i].ptype) != NULL) in getfstype()
567 return (ptype_map[i].name); in getfstype()
/freebsd/sys/dev/gve/
H A Dgve_adminq.c609 struct gve_ptype_map *ptype_map; in gve_adminq_get_ptype_map_dqo() local
614 err = gve_dma_alloc_coherent(priv, sizeof(*ptype_map), PAGE_SIZE, &dma); in gve_adminq_get_ptype_map_dqo()
617 ptype_map = dma.cpu_addr; in gve_adminq_get_ptype_map_dqo()
621 .ptype_map_len = htobe64(sizeof(*ptype_map)), in gve_adminq_get_ptype_map_dqo()
631 ptype_lut_dqo->ptypes[i].l3_type = ptype_map->ptypes[i].l3_type; in gve_adminq_get_ptype_map_dqo()
632 ptype_lut_dqo->ptypes[i].l4_type = ptype_map->ptypes[i].l4_type; in gve_adminq_get_ptype_map_dqo()