Searched refs:fl (Results 1 - 4 of 4) sorted by relevance

/systemd/src/basic/
H A Dlockfile-util.c55 struct flock fl = { local
65 r = fcntl(fd, (operation & LOCK_NB) ? F_OFD_SETLK : F_OFD_SETLKW, &fl);
132 static const struct flock fl = { local
137 r = fcntl(f->fd, F_OFD_SETLK, &fl);
/systemd/src/resolve/
H A Dresolved-dns-answer.h117 #define _DNS_ANSWER_FOREACH_FLAGS(q, kk, fl, a) \
120 (fl) = ((a) && (a)->n_rrs > 0) ? (a)->items[0].flags : 0; \
126 (fl) = ((UNIQ_T(i, q) < (a)->n_rrs) ? (a)->items[UNIQ_T(i, q)].flags : 0))
130 #define _DNS_ANSWER_FOREACH_FULL(q, kk, ifi, fl, a) \
134 (fl) = ((a) && (a)->n_rrs > 0) ? (a)->items[0].flags : 0; \
141 (fl) = ((UNIQ_T(i, q) < (a)->n_rrs) ? (a)->items[UNIQ_T(i, q)].flags : 0))
/systemd/src/test/
H A Dtest-install-root.c530 UnitFileList *fl; local
612 HASHMAP_FOREACH(fl, h, j) {
613 assert_se(unit_file_get_state(UNIT_FILE_SYSTEM, root, basename(fl->path), &state) >= 0);
614 assert_se(fl->state == state);
616 if (streq(fl->path, p)) {
618 assert_se(fl->state == UNIT_FILE_ENABLED);
619 } else if (streq(fl->path, q)) {
621 assert_se(fl->state == UNIT_FILE_DISABLED);
623 assert_se(IN_SET(fl->state, UNIT_FILE_DISABLED, UNIT_FILE_STATIC, UNIT_FILE_INDIRECT));
/systemd/src/shared/
H A Dlogs-show.c82 size_t fl, nl; local
89 fl = strlen(field);
90 if (length < fl)
93 if (memcmp(data, field, fl))
96 nl = length - fl;
101 memcpy(buf, (const char*) data + fl, nl); local

Completed in 1383 milliseconds