Home
last modified time | relevance | path

Searched refs:extra (Results 1 – 25 of 41) sorted by relevance

12

/systemd-251/src/basic/
Dtmpfile-util.c89 int tempfn_xxxxxx(const char *p, const char *extra, char **ret) { in tempfn_xxxxxx() argument
111 nf = strjoin(".#", strempty(extra), fn, "XXXXXX"); in tempfn_xxxxxx()
129 int tempfn_random(const char *p, const char *extra, char **ret) { in tempfn_random() argument
152 strempty(extra), in tempfn_random()
171 int tempfn_random_child(const char *p, const char *extra, char **ret) { in tempfn_random_child() argument
190 extra = strempty(extra); in tempfn_random_child()
192 t = new(char, strlen(p) + 3 + strlen(extra) + 16 + 1); in tempfn_random_child()
197 x = stpcpy(stpcpy(t, ".#"), extra); in tempfn_random_child()
199 x = stpcpy(stpcpy(stpcpy(t, p), "/.#"), extra); in tempfn_random_child()
Dtmpfile-util.h10 int tempfn_xxxxxx(const char *p, const char *extra, char **ret);
11 int tempfn_random(const char *p, const char *extra, char **ret);
12 int tempfn_random_child(const char *p, const char *extra, char **ret);
Dcompress.h40 uint8_t extra);
44 uint8_t extra);
48 uint8_t extra);
53 uint8_t extra);
Dlog.c562 const char *extra_field, const char *extra) { in log_do_header() argument
596 isempty(extra) ? "" : extra_field, in log_do_header()
597 isempty(extra) ? "" : extra, in log_do_header()
598 isempty(extra) ? "" : "\n", in log_do_header()
614 const char *extra, in write_to_journal() argument
622 …(header, sizeof(header), level, error, file, line, func, object_field, object, extra_field, extra); in write_to_journal()
650 const char *extra, in log_dispatch_internal() argument
681 …write_to_journal(level, error, file, line, func, object_field, object, extra_field, extra, buffer); in log_dispatch_internal()
790 const char *extra, in log_object_internalv() argument
816 object_field, object, extra_field, extra, buffer); in log_object_internalv()
[all …]
Dcompress.c343 uint8_t extra) { in decompress_startswith_xz() argument
381 ((const uint8_t*) *buffer)[prefix_len] == extra; in decompress_startswith_xz()
406 uint8_t extra) { in decompress_startswith_lz4() argument
463 ((const uint8_t*) *buffer)[prefix_len] == extra; in decompress_startswith_lz4()
475 uint8_t extra) { in decompress_startswith_zstd() argument
514 ((const uint8_t*) *buffer)[prefix_len] == extra; in decompress_startswith_zstd()
527 uint8_t extra) { in decompress_startswith() argument
534 extra); in decompress_startswith()
541 extra); in decompress_startswith()
547 extra); in decompress_startswith()
Dlog.h96 const char *extra,
126 const char *extra,
139 const char *extra,
/systemd-251/src/test/
Dtest-tmpfile-util.c10 static void test_tempfn_random_one(const char *p, const char *extra, const char *expect, int ret) { in test_tempfn_random_one() argument
14 r = tempfn_random(p, extra, &s); in test_tempfn_random_one()
15 …log_info_errno(r, "%s+%s → %s vs. %s (%i/%m vs. %i/%s)", p, strna(extra), strna(s), strna(expect),… in test_tempfn_random_one()
53 static void test_tempfn_xxxxxx_one(const char *p, const char *extra, const char *expect, int ret) { in test_tempfn_xxxxxx_one() argument
57 r = tempfn_xxxxxx(p, extra, &s); in test_tempfn_xxxxxx_one()
58 …log_info_errno(r, "%s+%s → %s vs. %s (%i/%m vs. %i/%s)", p, strna(extra), strna(s), strna(expect),… in test_tempfn_xxxxxx_one()
/systemd-251/tools/
Dmake-directive-index.py43 extra = variablelist.attrib.get('extra-ref')
44 if extra:
45 stor[extra].append((pagename, section))
46 if extra not in formatting:
48 elt.text= extra
49 formatting[extra] = elt
/systemd-251/test/
Dtest-systemd-tmpfiles.py32 def test_line(line, *, user, returncode=EX_DATAERR, extra={}): argument
37 **extra)
75 user=True, returncode=0, extra={'env':{}})
77 def test_content(line, expected, *, user, extra={}, subpath='/arg', path_cb=None): argument
83 test_line(spec, user=user, returncode=0, extra=extra)
/systemd-251/src/libsystemd/sd-bus/
Dbus-gvariant.c241 size_t bus_gvariant_determine_word_size(size_t sz, size_t extra) { in bus_gvariant_determine_word_size() argument
242 if (sz + extra <= 0xFF) in bus_gvariant_determine_word_size()
244 else if (sz + extra*2 <= 0xFFFF) in bus_gvariant_determine_word_size()
246 else if (sz + extra*4 <= 0xFFFFFFFF) in bus_gvariant_determine_word_size()
Dbus-slot.h8 sd_bus_slot *bus_slot_allocate(sd_bus *bus, bool floating, BusSlotType type, size_t extra, void *us…
Dbus-gvariant.h10 size_t bus_gvariant_determine_word_size(size_t sz, size_t extra);
Dbus-slot.c15 size_t extra, in bus_slot_allocate() argument
22 slot = malloc0(offsetof(sd_bus_slot, reply_callback) + extra); in bus_slot_allocate()
/systemd-251/src/libsystemd/sd-journal/
Djournal-send.c139 _printf_(1, 0) static int fill_iovec_sprintf(const char *format, va_list ap, int extra, struct iove… in fill_iovec_sprintf() argument
146 if (extra > 0) { in fill_iovec_sprintf()
147 n = MAX(extra * 2, extra + 4); in fill_iovec_sprintf()
154 i = extra; in fill_iovec_sprintf()
/systemd-251/src/libsystemd/sd-netlink/
Dnetlink-slot.c16 size_t extra, in netlink_slot_allocate() argument
26 slot = malloc0(offsetof(sd_netlink_slot, reply_callback) + extra); in netlink_slot_allocate()
Dnetlink-slot.h10 size_t extra,
/systemd-251/src/shared/
Dformat-table.c2139 size_t extra; in table_print() local
2144 extra = table_effective_width - table_requested_width; in table_print()
2150 … width[j] = requested_width[j] + extra / (display_columns - j); /* Avoid division by zero */ in table_print()
2152 … width[j] = requested_width[j] + (extra * column_weight[j]) / weight_sum; in table_print()
2163 if (extra > delta) in table_print()
2164 extra -= delta; in table_print()
2166 extra = 0; in table_print()
2177 size_t extra; in table_print() local
2179 extra = table_effective_width - table_minimum_width; in table_print()
2195 … w = minimum_width[j] + extra / (display_columns - j); /* avoid division by zero */ in table_print()
[all …]
Dcgroup-show.c37 bool extra, in show_pid_array() argument
72 if (extra) in show_pid_array()
/systemd-251/.github/workflows/
Drun_mkosi.sh23 (sudo python3 -m mkosi --extra-tree="$TEMP_EXTRA_TREE" "$@") |& tee "$TEMPFILE" || EC=$?
/systemd-251/src/boot/efi/
Dutil.c412 UINTN extra = size % sizeof(CHAR16) + sizeof(CHAR16); in file_read() local
414 buf = xallocate_pool(size + extra); in file_read()
420 ZeroMem(buf + size, extra); in file_read()
/systemd-251/mkosi.default.d/fedora/
D10-mkosi.fedora85 kernel-modules-extra
/systemd-251/mkosi.default.d/centos_epel/
D10-mkosi.centos_epel86 kernel-modules-extra
/systemd-251/
Dmeson_options.txt70 option('debug-extra', type : 'array', choices : ['hashmap', 'mmap-cache', 'siphash'], value : [],
71 description : 'enable extra debugging')
79 description : 'do extra operations to avoid valgrind warnings')
212 option('extra-net-naming-schemes', type : 'string',
213 description : 'comma-separated list of extra net.naming-scheme= definitions')
466 description : 'enable extra tests with =unsafe')
/systemd-251/src/libsystemd-network/
Dsd-lldp-rx.c50 static int lldp_rx_make_space(sd_lldp_rx *lldp_rx, size_t extra) { in lldp_rx_make_space() argument
68 if (hashmap_size(lldp_rx->neighbor_by_id) > LESS_BY(lldp_rx->neighbors_max, extra)) in lldp_rx_make_space()
/systemd-251/src/import/
Dpull-raw.c689 const char *extra, in raw_pull_job_on_open_disk_generic() argument
696 assert(extra); in raw_pull_job_on_open_disk_generic()
702 r = tempfn_random_child(i->image_root, extra, temp_path); in raw_pull_job_on_open_disk_generic()

12