Searched refs:sysfs_remove_trailing_slash (Results 1 – 8 of 8) sorted by relevance
31 int sysfs_remove_trailing_slash(char *path) in sysfs_remove_trailing_slash() function66 sysfs_remove_trailing_slash(mnt_path); in sysfs_get_mnt_path()
103 if ((sysfs_remove_trailing_slash(mod->path)) != 0) { in sysfs_open_module_path()149 if ((sysfs_remove_trailing_slash(mod->path)) != 0) { in sysfs_open_module()
196 if (sysfs_remove_trailing_slash(cdev->path)) { in sysfs_open_class_device_path()432 if ((sysfs_remove_trailing_slash(cls->path)) != 0) { in sysfs_open_class()
144 if (sysfs_remove_trailing_slash(driver->path)) { in sysfs_open_driver_path()
221 if (sysfs_remove_trailing_slash(bus->path)) { in sysfs_open_bus()
189 if (sysfs_remove_trailing_slash(dev->path)) { in sysfs_open_device_path()
143 extern int sysfs_remove_trailing_slash(char *path);
136 ret = sysfs_remove_trailing_slash(path); in test_sysfs_remove_trailing_slash()