Searched refs:sl (Results 1 - 8 of 8) sorted by relevance

/systemd/src/core/
H A Dshow-status.c70 size_t emax, sl; local
77 sl = status ? sizeof(status_indent)-1 : 0;
79 emax = c - sl - 1;
/systemd/src/basic/
H A Dstring-util.c49 size_t sl, pl; local
54 sl = strlen(s);
58 return (char*) s + sl;
60 if (sl < pl)
63 if (memcmp(s + sl - pl, postfix, pl) != 0)
66 return (char*) s + sl - pl;
70 size_t sl, pl; local
75 sl = strlen(s);
79 return (char*) s + sl;
81 if (sl < p
91 size_t sl, wl; local
[all...]
H A Drlimit-util.c189 rlim_t hl, sl; local
201 r = rlimit_parse_one(resource, soft, &sl);
211 hl = sl;
216 if (sl > hl)
221 .rlim_cur = sl,
H A Dcgroup-util.c1476 const char *sl; local
1483 sl = strjoina("/run/systemd/machines/unit:", u);
1484 return readlink_malloc(sl, machine);
/systemd/src/resolve/
H A Dresolved-dns-stream.c73 socklen_t sl; local
102 sl = sizeof(control);
104 r = getsockopt(s->fd, IPPROTO_IP, IP_PKTOPTIONS, &control, &sl);
109 r = getsockopt(s->fd, IPPROTO_IPV6, IPV6_2292PKTOPTIONS, &control, &sl);
116 mh.msg_controllen = sl;
/systemd/src/machine/
H A Dmachine.c225 char *sl; local
230 sl = strjoina("/run/systemd/machines/unit:", m->unit);
231 (void) symlink(m->name, sl);
250 char *sl; local
252 sl = strjoina("/run/systemd/machines/unit:", m->unit);
253 (void) unlink(sl);
/systemd/src/journal/
H A Djournald-native.c333 _cleanup_free_ char *sl = NULL, *k = NULL; local
339 if (asprintf(&sl, "/proc/self/fd/%i", fd) < 0) {
344 r = readlink_malloc(sl, &k);
346 log_error_errno(r, "readlink(%s) failed: %m", sl);
/systemd/src/libsystemd/sd-resolve/
H A Dsd-resolve.c301 size_t hl, sl; local
305 sl = serv ? strlen(serv)+1 : 0;
308 resp.header.length = sizeof(NameInfoResponse) + hl + sl;
310 resp.servlen = sl;
314 iov[2] = (struct iovec) { .iov_base = (void*) serv, .iov_len = sl };

Completed in 27 milliseconds