/systemd/src/core/ |
H A D | dbus-service.c | 16 You should have received a copy of the GNU Lesser General Public License 153 int copy; local 155 copy = fcntl(fd, F_DUPFD_CLOEXEC, 3); 156 if (copy < 0) 161 s->stdin_fd = copy; 164 s->stdout_fd = copy; 167 s->stderr_fd = copy;
|
H A D | device.c | 16 You should have received a copy of the GNU Lesser General Public License 71 char *copy; local 83 copy = strdup(sysfs); 84 if (!copy) 92 r = hashmap_replace(UNIT(d)->manager->devices_by_sysfs, copy, first); 95 free(copy); 99 d->sysfs = copy;
|
H A D | socket.c | 16 You should have received a copy of the GNU Lesser General Public License 35 #include "copy.h" 2148 int copy; local 2153 copy = fdset_put_dup(fds, p->fd); 2154 if (copy < 0) 2155 return copy; 2165 unit_serialize_item_format(u, f, "netlink", "%i %s", copy, t); 2167 unit_serialize_item_format(u, f, "socket", "%i %i %s", copy, p->address.type, t); 2170 unit_serialize_item_format(u, f, "special", "%i %s", copy, p->path); 2172 unit_serialize_item_format(u, f, "mqueue", "%i %s", copy, [all...] |
H A D | execute.c | 16 You should have received a copy of the GNU Lesser General Public License 3001 int copy; local 3003 copy = fdset_put_dup(fds, rt->netns_storage_socket[0]); 3004 if (copy < 0) 3005 return copy; 3007 unit_serialize_item_format(u, f, "netns-socket-0", "%i", copy); 3011 int copy; local 3013 copy = fdset_put_dup(fds, rt->netns_storage_socket[1]); 3014 if (copy < 0) 3015 return copy; 3031 char *copy; local 3045 char *copy; local [all...] |
H A D | manager.c | 16 You should have received a copy of the GNU Lesser General Public License 2270 int copy; local 2272 copy = fdset_put_dup(fds, m->notify_fd); 2273 if (copy < 0) 2274 return copy; 2276 fprintf(f, "notify-fd=%i\n", copy); 2281 int copy; local 2283 copy = fdset_put_dup(fds, m->kdbus_fd); 2284 if (copy < 0) 2285 return copy; [all...] |
H A D | service.c | 16 You should have received a copy of the GNU Lesser General Public License 2135 int copy; local 2137 copy = fdset_put_dup(fds, fs->fd); 2138 if (copy < 0) 2139 return copy; 2143 unit_serialize_item_format(u, f, "fd-store-fd", "%i %s", copy, strempty(c)); 2588 * main process got started and hence we copy
|
H A D | unit.c | 16 You should have received a copy of the GNU Lesser General Public License 2647 int copy; local 2656 copy = fdset_put_dup(fds, fd); 2657 if (copy < 0) 2658 return copy; 2660 fprintf(f, "%s=%i\n", key, copy);
|
/systemd/src/basic/ |
H A D | conf-files.c | 16 You should have received a copy of the GNU Lesser General Public License 126 _cleanup_strv_free_ char **copy = NULL; local 131 copy = strv_copy((char**) dirs); 132 if (!copy) 135 return conf_files_list_strv_internal(strv, suffix, root, copy);
|
H A D | fdset.c | 16 You should have received a copy of the GNU Lesser General Public License 111 int copy, r; local 116 copy = fcntl(fd, F_DUPFD_CLOEXEC, 3); 117 if (copy < 0) 120 r = fdset_put(s, copy); 122 safe_close(copy); 126 return copy;
|
H A D | time-util.c | 16 You should have received a copy of the GNU Lesser General Public License 465 struct tm tm, copy; local 574 copy = tm; 583 tm = copy; 592 tm = copy; 599 tm = copy; 606 tm = copy; 613 tm = copy; 620 tm = copy; 629 tm = copy; [all...] |
H A D | fileio.c | 16 You should have received a copy of the GNU Lesser General Public License 978 _cleanup_strv_free_ char **copy = NULL; local 996 copy = strv_copy((char**) search); 997 if (!copy) 1000 return search_and_fopen_internal(path, mode, root, copy, _f);
|
H A D | hashmap.c | 17 You should have received a copy of the GNU Lesser General Public License 1700 HashmapBase *copy; local 1705 copy = hashmap_base_new(h->hash_ops, h->type HASHMAP_DEBUG_SRC_ARGS); 1706 if (!copy) 1712 r = hashmap_merge((Hashmap*)copy, (Hashmap*)h); 1715 r = set_merge((Set*)copy, (Set*)h); 1722 internal_hashmap_free(copy); 1726 return copy;
|
/systemd/src/libsystemd/sd-path/ |
H A D | sd-path.c | 16 You should have received a copy of the GNU Lesser General Public License 168 char *copy; local 170 copy = strdup(p); 171 if (!copy) 174 *buffer = copy; 175 *ret = copy;
|
/systemd/src/shared/ |
H A D | cgroup-show.c | 16 You should have received a copy of the GNU Lesser General Public License 219 _cleanup_free_ pid_t *copy = NULL; local 233 copy = new(pid_t, n_pids); 234 if (!copy) 247 copy[j++] = pids[i]; 250 show_pid_array(copy, j, prefix, n_columns, true, false, false, flags);
|
/systemd/src/test/ |
H A D | test-hashmap-plain.c | 16 You should have received a copy of the GNU Lesser General Public License 67 Hashmap *m, *copy; local 86 copy = hashmap_copy(m); 88 r = hashmap_get(copy, "key 1"); 90 r = hashmap_get(copy, "key 2"); 92 r = hashmap_get(copy, "key 3"); 94 r = hashmap_get(copy, "key 4"); 97 hashmap_free_free(copy);
|
/systemd/src/machine/ |
H A D | machined-dbus.c | 16 You should have received a copy of the GNU Lesser General Public License 1356 char *copy; local 1362 copy = strdup(j); 1363 if (!copy) 1366 *job = copy; 1404 char *copy; local 1410 copy = strdup(j); 1411 if (!copy) 1414 *job = copy;
|
/systemd/src/resolve/ |
H A D | resolved-dns-packet.c | 16 You should have received a copy of the GNU Lesser General Public License 470 /* Otherwise, just copy the string unaltered. This is 1171 void *copy; local 1173 copy = memdup(src, size); 1174 if (!copy) 1177 *ret = copy; 2198 * in questions, never in replies. Crappy Belkin routers copy the OPT data for
|
/systemd/src/journal/ |
H A D | sd-journal.c | 16 You should have received a copy of the GNU Lesser General Public License 75 char *copy; local 97 copy = strdup(path); 98 if (!copy) 101 copy = NULL; 103 k = hashmap_put(j->errors, INT_TO_PTR(r), copy); 105 free(copy);
|
/systemd/src/login/ |
H A D | logind-dbus.c | 16 You should have received a copy of the GNU Lesser General Public License 2753 char *copy; local 2760 copy = strdup(j); 2761 if (!copy) 2764 *job = copy;
|
/systemd/src/libsystemd/sd-bus/ |
H A D | bus-message.c | 16 You should have received a copy of the GNU Lesser General Public License 1440 int *f, copy; local 1450 copy = fcntl(fd, F_DUPFD_CLOEXEC, 3); 1451 if (copy < 0) 1457 safe_close(copy); 1462 m->fds[m->n_fds] = copy; 1465 return copy;
|