Lines Matching refs:path
131 char path[100];
140 snprintf(path, sizeof(path), "%s/%03d", USB_FS_DIR, i);
141 ret = inotify_add_watch(context->fd, path, IN_CREATE | IN_DELETE);
177 char path[100];
223 snprintf(path, sizeof(path), "%s/%s", USB_FS_DIR, event->name);
225 "new" : "gone", path, i);
228 ret = inotify_add_watch(context->fd, path,
232 done = find_existing_devices_bus(path, added_cb,
242 snprintf(path, sizeof(path), "%s/%03d/%s", USB_FS_DIR, i, event->name);
244 D("new device %s\n", path);
245 done = added_cb(path, client_data);
247 D("gone device %s\n", path);
248 done = removed_cb(path, client_data);