MCPcopy Create free account
hub / github.com/coreutils/coreutils / me_for_dev

Function me_for_dev

src/df.c:839–847  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

837
838ATTRIBUTE_PURE
839static struct mount_entry const *
840me_for_dev (dev_t dev)
841{
842 struct devlist *dl = devlist_for_dev (dev);
843 if (dl)
844 return dl->me;
845
846 return NULL;
847}
848
849/* Return true if N is a known integer value. On many file systems,
850 UINTMAX_MAX represents an unknown value; on AIX, UINTMAX_MAX - 1

Callers 1

get_devFunction · 0.85

Calls 1

devlist_for_devFunction · 0.85

Tested by

no test coverage detected