Searched defs:ent (Results 1 - 3 of 3) sorted by relevance

/systemd/src/udev/
H A Dudev-watch.c52 struct dirent *ent; local
60 for (ent = readdir(dir); ent != NULL; ent = readdir(dir)) {
65 if (ent->d_name[0] == '.')
68 len = readlinkat(dirfd(dir), ent->d_name, device, sizeof(device));
81 unlinkat(dirfd(dir), ent->d_name, 0);
/systemd/src/bootchart/
H A Dstore.c118 struct dirent *ent; local
207 while ((ent = readdir(proc)) != NULL) {
212 if ((ent->d_name[0] < '0') || (ent->d_name[0] > '9'))
215 pid = atoi(ent->d_name);
419 FOREACH_DIRENT(ent, taskdir, break) {
425 if ((ent->d_name[0] < '0') || (ent->d_name[0] > '9'))
429 r = safe_atoi(ent->d_name, &tid);
/systemd/src/core/
H A Dsocket.c1176 _cleanup_free_ struct dirent **ent = NULL; local
1184 r = scandir(path, &ent, usbffs_select_ep, alphasort);
1199 ep = path_make_absolute(ent[i]->d_name, path);
1212 free(ent[i]);

Completed in 43 milliseconds