Searched defs:force (Results 1 - 12 of 12) sorted by relevance

/systemd/src/login/
H A Dlogind-seat.c443 int seat_stop(Seat *s, bool force) { argument
455 seat_stop_sessions(s, force);
468 int seat_stop_sessions(Seat *s, bool force) { argument
475 k = session_stop(session, force);
H A Dlogind-session-dbus.c330 int r, force; local
336 r = sd_bus_message_read(message, "b", &force);
348 if (uid != 0 && (force || uid != s->user->uid))
351 r = session_set_controller(s, sd_bus_message_get_sender(message), force);
H A Dlogind-user.c460 * restart), but if they fail, we want to force another user_stop() so
569 int user_stop(User *u, bool force) { argument
581 k = session_stop(s, force);
H A Dlogind-session.c611 static int session_stop_scope(Session *s, bool force) { argument
621 if (force || manager_shall_kill(s->manager, s->user->name)) {
641 int session_stop(Session *s, bool force) { argument
658 r = session_stop_scope(s, force);
1166 int session_set_controller(Session *s, const char *sender, bool force) { argument
1175 if (s->controller && !force)
/systemd/src/basic/
H A Dterminal-util.c363 bool force,
388 if (!fail && !force) {
426 if (ioctl(fd, TIOCSCTTY, force) < 0)
437 if (r < 0 && (force || fail || r != -EPERM))
444 assert(!force);
360 acquire_terminal( const char *name, bool fail, bool force, bool ignore_tiocstty_eperm, usec_t timeout) argument
/systemd/src/boot/
H A Dbootctl.c440 static int copy_file(const char *from, const char *to, bool force) { argument
454 if (!force) {
465 if (!force && errno == ENOENT)
569 static int copy_one_file(const char *esp_path, const char *name, bool force) { argument
575 r = copy_file(p, q, force);
585 k = copy_file(p, v, force);
593 static int install_binaries(const char *esp_path, bool force) { argument
598 if (force) {
619 k = copy_one_file(esp_path, de->d_name, force);
/systemd/src/core/
H A Ddbus-manager.c1620 int (*call)(UnitFileScope scope, bool runtime, const char *root_dir, char *files[], bool force, UnitFileChange **changes, unsigned *n_changes),
1628 int runtime, force, r; local
1637 r = sd_bus_message_read(message, "bb", &runtime, &force);
1649 r = call(scope, runtime, NULL, l, force, &changes, &n_changes);
1670 static int unit_file_preset_without_mode(UnitFileScope scope, bool runtime, const char *root_dir, char **files, bool force, UnitFileChange **changes, unsigned *n_changes) { argument
1671 return unit_file_preset(scope, runtime, root_dir, files, UNIT_FILE_PRESET_FULL, force, changes, n_changes);
1690 int runtime, force, r; local
1700 r = sd_bus_message_read(message, "sbb", &mode, &runtime, &force);
1720 r = unit_file_preset(scope, runtime, NULL, l, mm, force, &changes, &n_changes);
1780 int force, local
1616 method_enable_unit_files_generic( sd_bus_message *message, Manager *m, const char *verb, int (*call)(UnitFileScope scope, bool runtime, const char *root_dir, char *files[], bool force, UnitFileChange **changes, unsigned *n_changes), bool carries_install_info, sd_bus_error *error) argument
1815 int force, runtime, r; local
1859 int runtime, force, r; local
[all...]
/systemd/src/import/
H A Dimportd.c383 NULL, /* maybe --force */
476 cmd[k++] = "--force";
716 int fd, force, read_only, r; local
739 r = sd_bus_message_read(msg, "hsbb", &fd, &local, &force, &read_only);
757 t->force_local = force;
850 int force, r; local
870 r = sd_bus_message_read(msg, "sssb", &remote, &local, &verify, &force);
904 t->force_local = force;
/systemd/src/libsystemd/sd-device/
H A Dsd-device.c1253 int device_read_db_aux(sd_device *device, bool force) { argument
1270 if (device->db_loaded || (!force && device->sealed))
/systemd/src/libsystemd-network/
H A Dsd-dhcp-client.c1135 static int client_handle_forcerenew(sd_dhcp_client *client, DHCPMessage *force, argument
1139 r = dhcp_option_parse(force, len, NULL, NULL, NULL);
/systemd/src/shared/
H A Dinstall.c279 bool force,
310 if (!force)
1248 bool force,
1269 q = create_symlink(i->path, alias_path, force, changes, n_changes);
1282 bool force,
1326 q = create_symlink(i->path, path, force, changes, n_changes);
1339 bool force,
1359 return create_symlink(i->path, path, force, changes, n_changes);
1367 bool force,
1380 r = install_info_symlink_alias(i, config_path, force, change
276 create_symlink( const char *old_path, const char *new_path, bool force, UnitFileChange **changes, unsigned *n_changes) argument
1245 install_info_symlink_alias( UnitFileInstallInfo *i, const char *config_path, bool force, UnitFileChange **changes, unsigned *n_changes) argument
1277 install_info_symlink_wants( UnitFileInstallInfo *i, const char *config_path, char **list, const char *suffix, bool force, UnitFileChange **changes, unsigned *n_changes) argument
1334 install_info_symlink_link( UnitFileInstallInfo *i, const LookupPaths *paths, const char *config_path, const char *root_dir, bool force, UnitFileChange **changes, unsigned *n_changes) argument
1362 install_info_apply( UnitFileInstallInfo *i, const LookupPaths *paths, const char *config_path, const char *root_dir, bool force, UnitFileChange **changes, unsigned *n_changes) argument
1397 install_context_apply( UnitFileScope scope, InstallContext *c, const LookupPaths *paths, const char *config_path, const char *root_dir, bool force, SearchFlags flags, UnitFileChange **changes, unsigned *n_changes) argument
1494 unit_file_mask( UnitFileScope scope, bool runtime, const char *root_dir, char **files, bool force, UnitFileChange **changes, unsigned *n_changes) argument
1619 unit_file_link( UnitFileScope scope, bool runtime, const char *root_dir, char **files, bool force, UnitFileChange **changes, unsigned *n_changes) argument
1705 unit_file_add_dependency( UnitFileScope scope, bool runtime, const char *root_dir, char **files, const char *target, UnitDependency dep, bool force, UnitFileChange **changes, unsigned *n_changes) argument
1782 unit_file_enable( UnitFileScope scope, bool runtime, const char *root_dir, char **files, bool force, UnitFileChange **changes, unsigned *n_changes) argument
1877 unit_file_reenable( UnitFileScope scope, bool runtime, const char *root_dir, char **files, bool force, UnitFileChange **changes, unsigned *n_changes) argument
1905 unit_file_set_default( UnitFileScope scope, const char *root_dir, const char *name, bool force, UnitFileChange **changes, unsigned *n_changes) argument
2161 execute_preset( UnitFileScope scope, InstallContext *plus, InstallContext *minus, const LookupPaths *paths, const char *config_path, const char *root_dir, char **files, UnitFilePresetMode mode, bool force, UnitFileChange **changes, unsigned *n_changes) argument
2241 unit_file_preset( UnitFileScope scope, bool runtime, const char *root_dir, char **files, UnitFilePresetMode mode, bool force, UnitFileChange **changes, unsigned *n_changes) argument
2285 unit_file_preset_all( UnitFileScope scope, bool runtime, const char *root_dir, UnitFilePresetMode mode, bool force, UnitFileChange **changes, unsigned *n_changes) argument
[all...]
/systemd/src/tmpfiles/
H A Dtmpfiles.c140 bool force:1; member in struct:Item
738 /* If force (= modify) is set, we will not modify the acl
741 r = parse_acl(item->argument, &item->acl_access, &item->acl_default, !item->force);
822 r = path_set_acl(fn, path, ACL_TYPE_ACCESS, item->acl_access, item->force);
825 r = path_set_acl(fn, path, ACL_TYPE_DEFAULT, item->acl_default, item->force);
1320 if (i->force) {
1365 if (i->force) {
1424 if (i->force) {
1817 bool force = false, boot = false; local
1855 else if (action[pos] == '+' && !force)
[all...]

Completed in 54 milliseconds