Lines Matching refs:dev_name
75 static int get_info(int hdev, const char *dev_name);
163 char dev_name[PATH_MAX * 2 + 5]; in main() local
171 dev_name[0] = 0; in main()
209 strlcpy(dev_name, optarg, in main()
210 sizeof(dev_name)); in main()
212 snprintf(dev_name, sizeof(dev_name), in main()
326 if (!dev_name[0]) /* no device name specified */ in main()
327 strlcpy(dev_name, DEFAULT_DEVICE_NAME, sizeof(dev_name)); in main()
329 hdev = open(dev_name, O_RDWR); in main()
333 dev_name, errno); in main()
339 err = get_info(hdev, dev_name); in main()
458 get_info(int hdev, const char *dev_name) in get_info() argument
464 if (!realpath(dev_name, cpath)) /* get canonical name for info purposes */ in get_info()