Lines Matching defs:path
51 char path[PATH_SIZE];
55 strlcpy(path, sysfs_path, sizeof(path));
56 strlcat(path, devpath, sizeof(path));
58 dir = opendir(path);
70 strlcpy(filename, path, sizeof(filename));
227 { "path", 1, NULL, 'p' },
253 char path[PATH_SIZE] = "";
286 strlcpy(path, &optarg[strlen(sysfs_path)], sizeof(path));
288 strlcpy(path, optarg, sizeof(path));
289 dbg("path: %s", path);
301 if (strcmp(optarg, "path") == 0) {
338 " path sysfs device path\n"
342 " --path=<devpath> sysfs device path used for query or chain\n"
360 if (path[0] != '\0') {
361 if (udev_db_get_device(udev, path) != 0) {
362 fprintf(stderr, "no record for '%s' in database\n", path);
373 fprintf(stderr, "query needs --path or node --name specified\n");
412 if (path[0] != '\0') {
413 if (print_device_chain(path) != 0) {
430 fprintf(stderr, "attribute walk needs --path or node --name specified\n");