Searched refs:FD_TO_PTR (Results 1 - 6 of 6) sorted by relevance
/systemd/src/import/ |
H A D | curl-util.c | 49 translated_fd = PTR_TO_FD(hashmap_get(g->translate_fds, FD_TO_PTR(fd))); 78 io = hashmap_get(g->ios, FD_TO_PTR(s)); 90 hashmap_remove(g->ios, FD_TO_PTR(s)); 91 hashmap_remove(g->translate_fds, FD_TO_PTR(fd)); 142 r = hashmap_put(g->ios, FD_TO_PTR(s), io); 149 r = hashmap_put(g->translate_fds, FD_TO_PTR(fd), FD_TO_PTR(s)); 152 hashmap_remove(g->ios, FD_TO_PTR(s)); 228 hashmap_remove(g->translate_fds, FD_TO_PTR(fd));
|
/systemd/src/basic/ |
H A D | async.c | 88 r = asynchronous_job(close_thread, FD_TO_PTR(fd));
|
H A D | fd-util.h | 30 #define FD_TO_PTR(fd) INT_TO_PTR((fd)+1) macro
|
H A D | fdset.c | 94 return set_put(MAKE_SET(s), FD_TO_PTR(fd)); 133 return !!set_get(MAKE_SET(s), FD_TO_PTR(fd)); 140 return set_remove(MAKE_SET(s), FD_TO_PTR(fd)) ? fd : -ENOENT;
|
/systemd/src/journal/ |
H A D | mmap-cache.c | 300 assert_se(hashmap_remove(f->cache->fds, FD_TO_PTR(f->fd))); 312 f = hashmap_get(m->fds, FD_TO_PTR(fd)); 327 r = hashmap_put(m->fds, FD_TO_PTR(fd), f); 443 f = hashmap_get(m->fds, FD_TO_PTR(fd)); 701 f = hashmap_get(m->fds, FD_TO_PTR(fd)); 720 f = hashmap_get(m->fds, FD_TO_PTR(fd));
|
/systemd/src/login/ |
H A D | pam_systemd.c | 494 r = pam_set_data(handle, "systemd.session-fd", FD_TO_PTR(session_fd), NULL);
|
Completed in 2005 milliseconds