Searched refs:uevent_path (Results 1 – 1 of 1) sorted by relevance
/third_party/ltp/lib/ |
D | tst_device.c | 523 char uevent_path[PATH_MAX+PATH_MAX+10]; //10 is for the static uevent path in tst_find_backing_dev() local 575 uevent_path[0] = '\0'; in tst_find_backing_dev() 578 sprintf(uevent_path, "%s/%s/uevent", in tst_find_backing_dev() 590 sprintf(uevent_path, in tst_find_backing_dev() 594 if (!access(uevent_path, R_OK)) { in tst_find_backing_dev() 595 FILE_LINES_SCANF(NULL, uevent_path, "DEVNAME=%s", dev_name); in tst_find_backing_dev() 601 tst_brkm(TBROK, NULL, "uevent file (%s) access failed", uevent_path); in tst_find_backing_dev()
|