Searched refs:MIN (Results 1 - 25 of 35) sorted by relevance

12

/systemd/src/journal/
H A Djournald.c96 t = MIN(t, u - n);
H A Dtest-compress-benchmark.c111 memzero(buf, MIN(size + 1000, MAX_SIZE));
H A Dcompress.c147 space = MIN(src_size * 2, dst_max ?: (size_t) -1);
173 space = MIN(2 * space, dst_max ?: (size_t) -1);
488 k = MIN(LZ4_BUFSIZE, st.st_size - total_in);
/systemd/src/basic/
H A Dio-util.h70 sub = MIN(i[j].iov_len, k);
H A Drlimit-util.c47 fixed.rlim_cur = MIN(rlim->rlim_cur, highest.rlim_max);
48 fixed.rlim_max = MIN(rlim->rlim_max, highest.rlim_max);
H A Dbitmap.c210 common_n_bitmaps = MIN(a->n_bitmaps, b->n_bitmaps);
H A Dmacro.h168 #undef MIN macro
169 #define MIN(a, b) __MIN(UNIQ, (a), UNIQ, (b)) macro
179 const typeof(x) _c = MIN(x,y); \
180 MIN(_c, z); \
H A Din-addr-util.c104 m = MIN(aprefixlen, bprefixlen);
H A Dpath-util.c418 d = memcmp(a, b, MIN(j, k));
H A Dprocess-util.c167 size_t n = MIN(left-1, 3U);
H A Dstring-util.c367 r = ascii_strcasecmp_n(a, b, MIN(n, m));
H A Dhexdecoct.c578 int act = MIN(width, avail);
H A Dtime-util.c397 n = MIN((size_t) k, l);
/systemd/src/test/
H A Dtest-rlimit-util.c64 new.rlim_cur = MIN(5U, old.rlim_max);
H A Dtest-util.c122 assert_se(MAX(MIN(1, MIN(2, MIN(3, 4))), 5) == 5);
123 assert_se(MAX(MAX(1, MIN(2, MIN(3, 2))), 1) == 2);
/systemd/src/shared/
H A Duid-range.c48 begin = MIN(x->start, y->start);
103 begin = MIN(x->start, start);
/systemd/src/libsystemd/sd-bus/
H A Dbus-dump.c581 hdr.incl_len = MIN(hdr.orig_len, snaplen);
587 w = MIN(BUS_MESSAGE_BODY_BEGIN(m), snaplen);
596 w = MIN(part->size, snaplen);
/systemd/src/libsystemd-network/
H A Dsd-ndisc.c288 len = MIN(prefixlen, addr_prefixlen);
382 prefixlen = MIN(prefix->len, prefix_opt->nd_opt_pi_prefix_len);
/systemd/src/resolve/
H A Dresolved-dns-server.c301 s->resend_timeout = MIN(s->resend_timeout * 2, DNS_TIMEOUT_MAX_USEC);
366 s->features_grace_period_usec = MIN(s->features_grace_period_usec * 2, DNS_SERVER_FEATURE_GRACE_PERIOD_MAX_USEC);
H A Dresolved-dns-scope.c167 s->resend_timeout = MIN(MAX(MULTICAST_RESEND_TIMEOUT_MIN_USEC, s->max_rtt * 2), MULTICAST_RESEND_TIMEOUT_MAX_USEC);
174 s->resend_timeout = MIN(s->resend_timeout * 2, MULTICAST_RESEND_TIMEOUT_MAX_USEC);
H A Dresolved-dns-dnssec.c156 m = MIN(DNS_RESOURCE_RECORD_RDATA_SIZE(*x), DNS_RESOURCE_RECORD_RDATA_SIZE(*y));
1873 *ttl = MIN(covering_rr->ttl, wildcard_rr->ttl);
/systemd/src/bootchart/
H A Dsvg.c563 stop = MIN(i + (range / 2), n_samples - 1);
601 stop = MIN(i + (range / 2), n_samples);
676 stop = MIN(i + (range / 2), n_samples - 1);
712 stop = MIN(i + (range / 2), n_samples);
/systemd/src/journal-remote/
H A Djournal-remote-parse.c123 !realloc_buffer(source, MIN(source->filled + LINE_CHUNK, ENTRY_SIZE_MAX)))
/systemd/src/core/
H A Dtimer.c401 t->next_elapse_realtime = MIN(t->next_elapse_realtime, v->next_elapse);
470 t->next_elapse_monotonic_or_boottime = MIN(t->next_elapse_monotonic_or_boottime, v->next_elapse);
H A Djob.c1188 *timeout = MIN(x, y);

Completed in 3884 milliseconds

12