Home
last modified time | relevance | path

Searched refs:mem (Results 1 – 14 of 14) sorted by relevance

/systemd-251/src/basic/
Dlimits-util.c16 uint64_t mem, lim; in physical_memory() local
31 mem = (uint64_t) sc * (uint64_t) ps; in physical_memory()
36 return mem; in physical_memory()
42 return mem; in physical_memory()
50 return mem; in physical_memory()
53 return mem; in physical_memory()
57 return mem; in physical_memory()
62 return mem; in physical_memory()
69 return mem; in physical_memory()
72 return mem; in physical_memory()
[all …]
Dhexdecoct.h21 int unhexmem_full(const char *p, size_t l, bool secure, void **mem, size_t *len);
22 static inline int unhexmem(const char *p, size_t l, void **mem, size_t *len) { in unhexmem() argument
23 return unhexmem_full(p, l, false, mem, len); in unhexmem()
34 int unbase32hexmem(const char *p, size_t l, bool padding, void **mem, size_t *len);
44 int unbase64mem_full(const char *p, size_t l, bool secure, void **mem, size_t *len);
45 static inline int unbase64mem(const char *p, size_t l, void **mem, size_t *len) { in unbase64mem() argument
46 return unbase64mem_full(p, l, false, mem, len); in unbase64mem()
Dhexdecoct.c300 int unbase32hexmem(const char *p, size_t l, bool padding, void **mem, size_t *_len) { in unbase32hexmem() argument
309 assert(mem); in unbase32hexmem()
515 *mem = TAKE_PTR(r); in unbase32hexmem()
Dhashmap.c1903 static int cachemem_maintain(CacheMem *mem, size_t size) { in cachemem_maintain() argument
1904 assert(mem); in cachemem_maintain()
1906 if (!GREEDY_REALLOC(mem->ptr, size)) { in cachemem_maintain()
1911 if (!mem->active) { in cachemem_maintain()
1912 mem->active = true; in cachemem_maintain()
/systemd-251/src/journal-remote/
Dfuzz-journal-remote.c20 void *mem; in LLVMFuzzerTestOneInput() local
33 fdin = memfd_new_and_map("fuzz-journal-remote", size, &mem); in LLVMFuzzerTestOneInput()
37 memcpy(mem, data, size); in LLVMFuzzerTestOneInput()
38 assert_se(munmap(mem, size) == 0); in LLVMFuzzerTestOneInput()
/systemd-251/src/test/
Dtest-hexdecoct.c78 _cleanup_free_ void *mem = NULL; in test_unhexmem_one() local
81 assert_se(unhexmem(s, l, &mem, &len) == retval); in test_unhexmem_one()
88 assert_se(hex = hexmem(mem, len)); in test_unhexmem_one()
188 _cleanup_free_ void *mem = NULL; in test_unbase32hexmem_one() local
191 assert_se(unbase32hexmem(hex, SIZE_MAX, padding, &mem, &len) == retval); in test_unbase32hexmem_one()
195 str = strndupa_safe(mem, len); in test_unbase32hexmem_one()
Dtest-sleep.c89 **mem = strv_new("mem"), in TEST() local
102 log_info("Suspend configured: %s", yes_no(can_sleep_state(mem) > 0)); in TEST()
/systemd-251/test/fuzz/fuzz-udev-rules/
D50-udev-default.rules27 SUBSYSTEM=="mem", KERNEL=="mem|kmem|port", GROUP="kmem", MODE="0640"
/systemd-251/test/test-sysusers/
Dtest-7.expected-group2 mem:x:8:
Dtest-7.input9 g mem 8 - -
/systemd-251/src/shared/
Delf-util.c291 GElf_Phdr mem, *program_header; in parse_package_metadata() local
296 program_header = sym_gelf_getphdr(elf, i, &mem); in parse_package_metadata()
475 GElf_Phdr mem, *program_header; in module_callback() local
479 program_header = sym_gelf_getphdr(elf, i, &mem); in module_callback()
/systemd-251/rules.d/
D50-udev-default.rules.in31 SUBSYSTEM=="mem", KERNEL=="mem|kmem|port", GROUP="kmem", MODE="0640"
/systemd-251/test/units/
Dtestsuite-17.03.sh43 udevadm monitor --udev --property --subsystem-match=mem >"$TMPDIR"/monitor.txt &
/systemd-251/po/
Did.po379 msgstr "Otentikasi diperlukan untuk mem-boot ulang sistem."
390 "Otentikasi diperlukan untuk mem-boot ulang sistem ketika pengguna lain "
402 "Otentikasi diperlukan untuk mem-boot ulang sistem ketika sebuah aplikasi "