Lines Matching refs:Swap
14 static int swap_get_priority(Swap *s) { in swap_get_priority()
26 static const char *swap_get_options(Swap *s) { in swap_get_options()
35 static BUS_DEFINE_PROPERTY_GET(property_get_priority, "i", Swap, swap_get_priority);
36 static BUS_DEFINE_PROPERTY_GET(property_get_options, "s", Swap, swap_get_options);
41 … SD_BUS_PROPERTY("What", "s", NULL, offsetof(Swap, what), SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE),
44 …SD_BUS_PROPERTY("TimeoutUSec", "t", bus_property_get_usec, offsetof(Swap, timeout_usec), SD_BUS_VT…
45 …SD_BUS_PROPERTY("ControlPID", "u", bus_property_get_pid, offsetof(Swap, control_pid), SD_BUS_VTABL…
46 …SD_BUS_PROPERTY("Result", "s", property_get_result, offsetof(Swap, result), SD_BUS_VTABLE_PROPERTY…
49 …BUS_EXEC_COMMAND_VTABLE("ExecActivate", offsetof(Swap, exec_command[SWAP_EXEC_ACTIVATE]), SD_BUS_V…
50 …BUS_EXEC_COMMAND_VTABLE("ExecDeactivate", offsetof(Swap, exec_command[SWAP_EXEC_DEACTIVATE]), SD_B…
61 Swap *s = SWAP(u); in bus_swap_set_property()