Lines Matching defs:mode

164                 UnitSetPropertiesMode mode,
181 if (mode != UNIT_CHECK) {
183 unit_write_drop_in_private(u, mode, name, b ? "Delegate=yes" : "Delegate=no");
197 UnitSetPropertiesMode mode,
214 if (mode != UNIT_CHECK) {
217 unit_write_drop_in_private(u, mode, name, b ? "CPUAccounting=yes" : "CPUAccounting=no");
232 if (mode != UNIT_CHECK) {
237 unit_write_drop_in_private(u, mode, name, "CPUShares=");
239 unit_write_drop_in_private_format(u, mode, name, "CPUShares=%" PRIu64, shares);
254 if (mode != UNIT_CHECK) {
259 unit_write_drop_in_private(u, mode, name, "StartupCPUShares=");
261 unit_write_drop_in_private_format(u, mode, name, "StartupCPUShares=%" PRIu64, shares);
276 if (mode != UNIT_CHECK) {
279 unit_write_drop_in_private_format(u, mode, "CPUQuota", "CPUQuota=%0.f%%", (double) (c->cpu_quota_per_sec_usec / 10000));
291 if (mode != UNIT_CHECK) {
294 unit_write_drop_in_private(u, mode, name, b ? "BlockIOAccounting=yes" : "BlockIOAccounting=no");
309 if (mode != UNIT_CHECK) {
314 unit_write_drop_in_private(u, mode, name, "BlockIOWeight=");
316 unit_write_drop_in_private_format(u, mode, name, "BlockIOWeight=%" PRIu64, weight);
331 if (mode != UNIT_CHECK) {
336 unit_write_drop_in_private(u, mode, name, "StartupBlockIOWeight=");
338 unit_write_drop_in_private_format(u, mode, name, "StartupBlockIOWeight=%" PRIu64, weight);
358 if (mode != UNIT_CHECK) {
395 if (mode != UNIT_CHECK) {
428 unit_write_drop_in_private(u, mode, name, buf);
447 if (mode != UNIT_CHECK) {
480 if (mode != UNIT_CHECK) {
504 unit_write_drop_in_private(u, mode, name, buf);
516 if (mode != UNIT_CHECK) {
519 unit_write_drop_in_private(u, mode, name, b ? "MemoryAccounting=yes" : "MemoryAccounting=no");
531 if (mode != UNIT_CHECK) {
536 unit_write_drop_in_private(u, mode, name, "MemoryLimit=infinity");
538 unit_write_drop_in_private_format(u, mode, name, "MemoryLimit=%" PRIu64, limit);
555 if (mode != UNIT_CHECK) {
562 unit_write_drop_in_private(u, mode, name, buf);
589 if (mode != UNIT_CHECK) {
627 if (mode != UNIT_CHECK) {
651 unit_write_drop_in_private(u, mode, name, buf);
663 if (mode != UNIT_CHECK) {
666 unit_write_drop_in_private(u, mode, name, b ? "TasksAccounting=yes" : "TasksAccounting=no");
678 if (mode != UNIT_CHECK) {
683 unit_write_drop_in_private(u, mode, name, "TasksMax=infinity");
685 unit_write_drop_in_private_format(u, mode, name, "TasksMax=%" PRIu64, limit);
692 r = bus_cgroup_set_transient_property(u, c, name, message, mode, error);