Home
last modified time | relevance | path

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

/openbmc/linux/tools/bpf/bpftool/
H A Dcommon.c672 char vendor_id_buf[8]; in read_sysfs_hex_int() local
682 len = read(fd, vendor_id_buf, sizeof(vendor_id_buf)); in read_sysfs_hex_int()
688 if (len >= (int)sizeof(vendor_id_buf)) { in read_sysfs_hex_int()
693 vendor_id_buf[len] = 0; in read_sysfs_hex_int()
695 return strtol(vendor_id_buf, NULL, 0); in read_sysfs_hex_int()