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

/systemd/src/test/
H A Dtest-strbuf.c28 static ssize_t add_string(struct strbuf *sb, const char *s) { argument
29 return strbuf_add_string(sb, s, strlen(s));
33 struct strbuf *sb; local
37 sb = strbuf_new();
39 a = add_string(sb, "waldo");
40 b = add_string(sb, "foo");
41 c = add_string(sb, "bar");
42 d = add_string(sb, "waldo"); /* duplicate */
43 e = add_string(sb, "aldo"); /* duplicate */
44 f = add_string(sb, "d
[all...]
/systemd/src/shared/
H A Dswitch-root.c77 struct stat sb; local
83 if ((stat(new_mount, &sb) < 0) ||
84 sb.st_dev != new_root_stat.st_dev) {
/systemd/src/import/
H A Daufs-util.c29 const struct stat *sb,
27 nftw_cb( const char *fpath, const struct stat *sb, int flag, struct FTW *ftwbuf) argument
/systemd/src/journal/
H A Dcatalog.c392 static int64_t write_catalog(const char *database, struct strbuf *sb, argument
433 k = fwrite(sb->buf, 1, sb->len, w);
434 if (k != sb->len) {
462 struct strbuf *sb = NULL; local
474 sb = strbuf_new();
476 if (!h || !sb) {
514 offset = strbuf_add_string(sb, payload, strlen(payload));
526 strbuf_complete(sb);
528 sz = write_catalog(database, sb, item
[all...]
/systemd/src/core/
H A Dmount-setup.c337 const struct stat *sb,
335 nftw_cb( const char *fpath, const struct stat *sb, int tflag, struct FTW *ftwbuf) argument
H A Dexecute.c759 int sb = context->secure_bits | 1<<SECURE_KEEP_CAPS; local
761 if (prctl(PR_GET_SECUREBITS) != sb)
762 if (prctl(PR_SET_SECUREBITS, sb) < 0)
/systemd/src/locale/
H A Dlocalectl.c285 const struct stat *sb,
283 nftw_cb( const char *fpath, const struct stat *sb, int tflag, struct FTW *ftwbuf) argument
/systemd/src/basic/
H A Dcgroup-util.c620 static int trim_cb(const char *path, const struct stat *sb, int typeflag, struct FTW *ftwbuf) { argument
622 assert(sb);

Completed in 30 milliseconds