Home
last modified time | relevance | path

Searched refs:mod (Results 1 – 11 of 11) sorted by relevance

/systemd-251/src/test/
Dtest-random-util.c45 static void test_random_u64_range_one(unsigned mod) { in test_random_u64_range_one() argument
46 log_info("/* %s(%u) */", __func__, mod); in test_random_u64_range_one()
48 unsigned max = 0, count[mod]; in test_random_u64_range_one()
54 x = random_u64_range(mod); in test_random_u64_range_one()
67 double exp = (double) TOTAL / mod; in test_random_u64_range_one()
69 for (size_t i = 0; i < mod; i++) { in test_random_u64_range_one()
70 double dev = (count[i] - exp) / sqrt(exp * (mod > 1 ? mod - 1 : 1) / mod); in test_random_u64_range_one()
82 for (unsigned mod = 1; mod < 29; mod++) in TEST() local
83 test_random_u64_range_one(mod); in TEST()
Dtest-netlink-manual.c31 _cleanup_(kmod_module_unrefp) struct kmod_module *mod = NULL; in load_module() local
33 mod = kmod_module_get_module(l); in load_module()
35 r = kmod_module_probe_insert_module(mod, 0, NULL, NULL, NULL, NULL); in load_module()
/systemd-251/src/shared/
Dmodule-util.c29 _cleanup_(kmod_module_unrefp) struct kmod_module *mod = NULL; in module_load_and_warn() local
32 mod = kmod_module_get_module(itr); in module_load_and_warn()
33 state = kmod_module_get_initstate(mod); in module_load_and_warn()
38 "Module '%s' is built in", kmod_module_get_name(mod)); in module_load_and_warn()
42 log_debug("Module '%s' is already loaded", kmod_module_get_name(mod)); in module_load_and_warn()
46 err = kmod_module_probe_insert_module(mod, probe_flags, in module_load_and_warn()
50 "Inserted module '%s'", kmod_module_get_name(mod)); in module_load_and_warn()
53 "Module '%s' is deny-listed", kmod_module_get_name(mod)); in module_load_and_warn()
63 kmod_module_get_name(mod)); in module_load_and_warn()
Delf-util.c383 static int parse_buildid(Dwfl_Module *mod, Elf *elf, const char *name, StackContext *c, JsonVariant… in parse_buildid() argument
390 assert(mod || elf); in parse_buildid()
394 if (mod) in parse_buildid()
395 id_len = sym_dwfl_module_build_id(mod, &id, &id_vaddr); in parse_buildid()
425 static int module_callback(Dwfl_Module *mod, void **userdata, const char *name, Dwarf_Addr start, v… in module_callback() argument
433 assert(mod); in module_callback()
444 r = parse_buildid(mod, NULL, name, c, &id_json); in module_callback()
450 elf = sym_dwfl_module_getelf(mod, &bias); in module_callback()
Dmkdir-label.h16 int mkdir_parents_label(const char *path, mode_t mod);
/systemd-251/units/
Dsystemd-nspawn@.service.in13 Wants=modprobe@tun.service modprobe@loop.service modprobe@dm-mod.service
16 After=network.target modprobe@tun.service modprobe@loop.service modprobe@dm-mod.service
/systemd-251/test/
Dtest-functions2696 local mod="${1:?}"
2700 case "$mod" in
2715 mpargs+=" $mod"
2722 mod=${mod##*/}
2735 for_each_kmod_dep install_kmod_with_fw "$mod" \
2745 local mod mpargs
2748 while read -r mod; do
2750 dfatal "Failed to install $mod"
2756 for mod in "$@"; do # filenames as arguments
2758 dfatal "Failed to install $mod"
/systemd-251/test/units/
Dtestsuite-43.sh112 runas testuser systemd-run --wait --user --unit=test-kernel-mod \
/systemd-251/po/
Dda.po93 "Der kræves godkendelse for at tjekke loginoplysninger mod en brugers "
/systemd-251/hwdb.d/
Dusb.ids20039 c008 CamBoard mod
D20-usb-vendor-model.hwdb60051 ID_MODEL_FROM_DATABASE=CamBoard mod