Home
last modified time | relevance | path

Searched refs:OBJNAMELEN (Results 1 – 1 of 1) sorted by relevance

/pciutils/lib/
H A Dsysfs.c80 #define OBJNAMELEN 1024 macro
84 int n = snprintf(buf, OBJNAMELEN, "%s/devices/%04x:%02x:%02x.%d/%s", in sysfs_obj_name()
86 if (n < 0 || n >= OBJNAMELEN) in sysfs_obj_name()
97 char namebuf[OBJNAMELEN]; in sysfs_get_string()
128 char path[2*OBJNAMELEN], rel_path[OBJNAMELEN]; in sysfs_deref_link()
158 char namebuf[OBJNAMELEN], buf[256]; in sysfs_get_resources()
293 char namebuf[OBJNAMELEN], buf[16]; in sysfs_fill_slots()
303 n = snprintf(namebuf, OBJNAMELEN, "%s/%s/%s", dirname, entry->d_name, "address"); in sysfs_fill_slots()
304 if (n < 0 || n >= OBJNAMELEN) in sysfs_fill_slots()
391 char path_rel[OBJNAMELEN]; in sysfs_fill_info()
[all …]