Home
last modified time | relevance | path

Searched refs:mm (Results 1 – 18 of 18) sorted by relevance

/systemd-251/src/network/wait-online/
Dmanager.c178 static int manager_process_link(sd_netlink *rtnl, sd_netlink_message *mm, void *userdata) { in manager_process_link() argument
187 assert(mm); in manager_process_link()
189 r = sd_netlink_message_get_type(mm, &type); in manager_process_link()
195 r = sd_rtnl_message_link_get_ifindex(mm, &ifindex); in manager_process_link()
204 r = sd_netlink_message_read_string(mm, IFLA_IFNAME, &ifname); in manager_process_link()
223 r = link_update_rtnl(l, mm); in manager_process_link()
245 static int on_rtnl_event(sd_netlink *rtnl, sd_netlink_message *mm, void *userdata) { in on_rtnl_event() argument
249 r = manager_process_link(rtnl, mm, m); in on_rtnl_event()
/systemd-251/src/login/
Dlogind-inhibit.c215 InhibitMode mm; in inhibitor_load() local
235 mm = mode ? inhibit_mode_from_string(mode) : INHIBIT_BLOCK; in inhibitor_load()
236 if (mm >= 0) in inhibitor_load()
237 i->mode = mm; in inhibitor_load()
364 InhibitWhat manager_inhibit_what(Manager *m, InhibitMode mm) { in manager_inhibit_what() argument
371 if (i->mode == mm && i->started) in manager_inhibit_what()
398 InhibitMode mm, in manager_is_inhibited() argument
419 if (i->mode != mm) in manager_is_inhibited()
Dlogind-inhibit.h66 InhibitWhat manager_inhibit_what(Manager *m, InhibitMode mm);
67 bool manager_is_inhibited(Manager *m, InhibitWhat w, InhibitMode mm, dual_timestamp *since, bool ig…
Dlogind-dbus.c3237 InhibitMode mm; in method_inhibit() local
3255 mm = inhibit_mode_from_string(mode); in method_inhibit()
3256 if (mm < 0) in method_inhibit()
3261 if (mm == INHIBIT_DELAY && (w & ~(INHIBIT_SHUTDOWN|INHIBIT_SLEEP))) in method_inhibit()
3276 …w == INHIBIT_SHUTDOWN ? (mm == INHIBIT_BLOCK ? "org.freedesktop.login1.inhibit-block-s… in method_inhibit()
3277 …w == INHIBIT_SLEEP ? (mm == INHIBIT_BLOCK ? "org.freedesktop.login1.inhibit-block-s… in method_inhibit()
3325 i->mode = mm; in method_inhibit()
/systemd-251/src/test/
Dtest-engine.c253 unsigned mm = 1; in main() local
257 mm *= unit_has_name(other, SPECIAL_BASIC_TARGET) ? 3 : 1; in main()
258 mm *= unit_has_name(other, "quux.target") ? 5 : 1; in main()
259 mm *= unit_has_name(other, SPECIAL_ROOT_SLICE) ? 7 : 1; in main()
263 mm *= unit_has_name(other, "non-existing-on-failure.target") ? 11 : 1; in main()
266 mm *= unit_has_name(other, "non-existing.mount") ? 13 : 1; in main()
268 assert_se(mm == 3U*5U*7U*11U*13U); in main()
/systemd-251/src/resolve/
Dresolved-manager.c46 static int manager_process_link(sd_netlink *rtnl, sd_netlink_message *mm, void *userdata) { in manager_process_link() argument
54 assert(mm); in manager_process_link()
56 r = sd_netlink_message_get_type(mm, &type); in manager_process_link()
60 r = sd_rtnl_message_link_get_ifindex(mm, &ifindex); in manager_process_link()
77 r = link_process_rtnl(l, mm); in manager_process_link()
108 static int manager_process_address(sd_netlink *rtnl, sd_netlink_message *mm, void *userdata) { in manager_process_address() argument
117 assert(mm); in manager_process_address()
120 r = sd_netlink_message_get_type(mm, &type); in manager_process_address()
124 r = sd_rtnl_message_addr_get_ifindex(mm, &ifindex); in manager_process_address()
132 r = sd_rtnl_message_addr_get_family(mm, &family); in manager_process_address()
[all …]
/systemd-251/src/machine/
Dmachined-dbus.c697 const char *mm; in method_clean_pool() local
706 r = sd_bus_message_read(message, "s", &mm); in method_clean_pool()
710 if (streq(mm, "all")) in method_clean_pool()
712 else if (streq(mm, "hidden")) in method_clean_pool()
715 … return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Unknown mode '%s'.", mm); in method_clean_pool()
719 "mode", mm, in method_clean_pool()
1472 Machine *mm; in manager_get_machine_by_pid() local
1479 mm = hashmap_get(m->machine_leaders, PID_TO_PTR(pid)); in manager_get_machine_by_pid()
1480 if (!mm) { in manager_get_machine_by_pid()
1485 mm = hashmap_get(m->machine_units, unit); in manager_get_machine_by_pid()
[all …]
/systemd-251/src/basic/
Dprocess-util.c273 static char *mm = NULL; in update_argv() local
318 if (mm) in update_argv()
319 (void) munmap(mm, mm_size); in update_argv()
321 mm = nn; in update_argv()
324 strncpy(mm, name, mm_size); in update_argv()
327 if (prctl(PR_SET_MM, PR_SET_MM_ARG_END, (unsigned long) mm + l + 1, 0, 0) < 0) in update_argv()
/systemd-251/units/
Ddev-hugepages.mount16 ConditionPathExists=/sys/kernel/mm/hugepages
/systemd-251/src/core/
Dmain.c1256 uint64_t mm; in bump_rlimit_memlock() local
1267mm = physical_memory_scale(1, 8); /* Let's scale how much we allow to be locked by the amount of in bump_rlimit_memlock()
1272 .rlim_cur = MAX3(HIGH_RLIMIT_MEMLOCK, saved_rlimit->rlim_cur, mm), in bump_rlimit_memlock()
1273 .rlim_max = MAX3(HIGH_RLIMIT_MEMLOCK, saved_rlimit->rlim_max, mm), in bump_rlimit_memlock()
/systemd-251/src/tmpfiles/
Dtmpfiles.c3209 const char *mm = mode; in parse_line() local
3212 if (*mm == '~') { in parse_line()
3214 mm++; in parse_line()
3217 r = parse_mode(mm, &m); in parse_line()
/systemd-251/hwdb.d/
D60-evdev.hwdb32 # sets the resolution to 45 units/mm.
Dpci.ids8832 8724 PEX 8724 24-Lane, 6-Port PCI Express Gen 3 (8 GT/s) Switch, 19 x 19mm FCBGA
8837 8748 PEX 8748 48-Lane, 12-Port PCI Express Gen 3 (8 GT/s) Switch, 27 x 27mm FCBGA
23655 1d49 0307 ThinkSystem 7mm NVMe 2-Bay Rear RAID Enablement Kit
23686 1d49 0305 ThinkSystem 7mm SATA 2-Bay Rear RAID Enablement Kit
23779 # Larkspur M.2 22110mm
23781 # Larkspur M.2 22110mm TCG
23783 # Larkspur M.2 2280mm
23785 # Larkspur M.2 2280mm TCG
23803 # Nytro 5050M (Ebonhawk Mainstream Performance) - 7mm
23804 1bb1 0157 Nytro 5050M 7mm
[all …]
D20-pci-vendor-model.hwdb26073 ID_MODEL_FROM_DATABASE=PEX 8724 24-Lane, 6-Port PCI Express Gen 3 (8 GT/s) Switch, 19 x 19mm FCBGA
26088 ID_MODEL_FROM_DATABASE=PEX 8748 48-Lane, 12-Port PCI Express Gen 3 (8 GT/s) Switch, 27 x 27mm FCBGA
69636 …ID_MODEL_FROM_DATABASE=88NR2241 Non-Volatile memory controller (ThinkSystem 7mm NVMe 2-Bay Rear RA…
69726 …ID_MODEL_FROM_DATABASE=88SE9230 PCIe 2.0 x2 4-port SATA 6 Gb/s RAID Controller (ThinkSystem 7mm SA…
70005 ID_MODEL_FROM_DATABASE=Nytro Flash Storage (Nytro 5050M 7mm)
70008 ID_MODEL_FROM_DATABASE=Nytro Flash Storage (Nytro 5050M TCG 7mm)
70017 ID_MODEL_FROM_DATABASE=Nytro Flash Storage (Nytro 5060M 7mm)
70020 ID_MODEL_FROM_DATABASE=Nytro Flash Storage (Nytro 5060M TCG 7mm)
77325 …e DC SSD [3DNAND, Sentinel Rock Controller] (NVMe Datacenter SSD [3DNAND] VE E1.L 9.5/18mm (P5316))
77328 …E=NVMe DC SSD [3DNAND, Sentinel Rock Controller] (NVMe Datacenter SSD [3DNAND] SE U.2 15mm (P5530))
[all …]
Dusb.ids14806 0237 K80 80mm Thermal Printer
D20-usb-vendor-model.hwdb44352 ID_MODEL_FROM_DATABASE=K80 80mm Thermal Printer
D20-OUI.hwdb15966 ID_OUI_FROM_DATABASE=mm-lab GmbH
Dma-large.txt136958 00-14-E3 (hex) mm-lab GmbH
136959 0014E3 (base 16) mm-lab GmbH