dmap_matchdev
extern int dmap_matchdev(devmap_t *dmap, char *dev);
if (dmap_matchdev(dmap, dev)) {
int dmap_matchdev(devmap_t *, char *);