Searched refs:sysfs_dev_dir (Results 1 – 2 of 2) sorted by relevance
81 perf->sysfs_dev_dir[0] = '\0'; in get_sysfs_dev_dir()99 len = snprintf(perf->sysfs_dev_dir, in get_sysfs_dev_dir()100 sizeof(perf->sysfs_dev_dir), in get_sysfs_dev_dir()102 if (len < 0 || len >= sizeof(perf->sysfs_dev_dir)) { in get_sysfs_dev_dir()107 drmdir = opendir(perf->sysfs_dev_dir); in get_sysfs_dev_dir()109 DBG("Failed to open %s: %m\n", perf->sysfs_dev_dir); in get_sysfs_dev_dir()114 if (is_dir_or_link(drm_entry, perf->sysfs_dev_dir) && in get_sysfs_dev_dir()117 len = snprintf(perf->sysfs_dev_dir, in get_sysfs_dev_dir()118 sizeof(perf->sysfs_dev_dir), in get_sysfs_dev_dir()122 if (len < 0 || len >= sizeof(perf->sysfs_dev_dir)) in get_sysfs_dev_dir()[all …]
298 char sysfs_dev_dir[256]; member