dev_get

Name

dev_get --  test if a device exists

Synopsis

int dev_get (const char * name);

Arguments

name

name to test for

Description

Test if a name exists. Returns true if the name is found. In order to be sure the name is not allocated or removed during the test the caller must hold the rtnl semaphore.

This function primarily exists for back compatibility with older drivers.