/systemd-251/src/home/ |
D | pam_systemd_home.c | 23 pam_handle_t *handle, in parse_argv() argument 41 … pam_syslog(handle, LOG_WARNING, "Failed to parse suspend= argument, ignoring: %s", v); in parse_argv() 53 … pam_syslog(handle, LOG_WARNING, "Failed to parse debug= argument, ignoring: %s", v); in parse_argv() 58 … pam_syslog(handle, LOG_WARNING, "Unknown parameter '%s', ignoring", argv[i]); in parse_argv() 65 pam_handle_t *handle, in parse_env() argument 75 v = pam_getenv(handle, "SYSTEMD_HOME_SUSPEND"); in parse_env() 86 …pam_syslog(handle, LOG_WARNING, "Failed to parse $SYSTEMD_HOME_SUSPEND argument, ignoring: %s", v); in parse_env() 94 pam_handle_t *handle, in acquire_user_record() argument 106 assert(handle); in acquire_user_record() 109 r = pam_get_user(handle, &username, NULL); in acquire_user_record() [all …]
|
/systemd-251/src/login/ |
D | pam_systemd.c | 50 pam_handle_t *handle, in parse_argv() argument 86 … pam_syslog(handle, LOG_WARNING, "Failed to parse debug= argument, ignoring: %s", p); in parse_argv() 91 … pam_syslog(handle, LOG_WARNING, "Unknown parameter '%s', ignoring", argv[i]); in parse_argv() 98 pam_handle_t *handle, in acquire_user_record() argument 106 assert(handle); in acquire_user_record() 108 r = pam_get_user(handle, &username, NULL); in acquire_user_record() 110 pam_syslog(handle, LOG_ERR, "Failed to get user name: %s", pam_strerror(handle, r)); in acquire_user_record() 115 pam_syslog(handle, LOG_ERR, "User name not valid."); in acquire_user_record() 123 return pam_log_oom(handle); in acquire_user_record() 125 r = pam_get_data(handle, field, (const void**) &json); in acquire_user_record() [all …]
|
D | logind-action.c | 23 .handle = HANDLE_POWEROFF, 35 .handle = HANDLE_REBOOT, 47 .handle = HANDLE_HALT, 59 .handle = HANDLE_KEXEC, 71 .handle = HANDLE_SUSPEND, 80 .handle = HANDLE_HIBERNATE, 89 .handle = HANDLE_HYBRID_SLEEP, 98 .handle = HANDLE_SUSPEND_THEN_HIBERNATE, 107 .handle = HANDLE_FACTORY_RESET, 127 HandleAction handle, in manager_handle_action() argument [all …]
|
D | logind-action.h | 33 HandleAction handle; member 48 HandleAction handle, 55 const HandleActionData* handle_action_lookup(HandleAction handle);
|
D | logind-dbus.c | 369 …->scheduled_shutdown_action ? handle_action_to_string(m->scheduled_shutdown_action->handle) : NULL, in property_get_scheduled_shutdown() 1892 if (a->handle != HANDLE_REBOOT && (flags & SD_LOGIND_REBOOT_VIA_KEXEC)) in method_do_shutdown_or_sleep() 2065 HandleAction handle = handle_action_from_string(mode); in manager_load_scheduled_shutdown() local 2066 if (handle < 0) in manager_load_scheduled_shutdown() 2075 m->scheduled_shutdown_action = handle_action_lookup(handle); in manager_load_scheduled_shutdown() 2132 …ialize_item_format(f, "MODE", "%s", handle_action_to_string(m->scheduled_shutdown_action->handle)); in update_schedule_file() 2234 HandleAction handle; in method_schedule_shutdown() local 2253 handle = handle_action_from_string(type); in method_schedule_shutdown() 2254 if (!IN_SET(handle, HANDLE_POWEROFF, HANDLE_REBOOT, HANDLE_HALT, HANDLE_KEXEC)) in method_schedule_shutdown() 2257 a = handle_action_lookup(handle); in method_schedule_shutdown() [all …]
|
/systemd-251/src/shared/ |
D | pam-util.c | 12 int pam_log_oom(pam_handle_t *handle) { in pam_log_oom() argument 14 pam_syslog(handle, LOG_ERR, "Out of memory."); in pam_log_oom() 18 int pam_bus_log_create_error(pam_handle_t *handle, int r) { in pam_bus_log_create_error() argument 20 pam_syslog(handle, LOG_ERR, "Failed to create bus message: %s", strerror_safe(r)); in pam_bus_log_create_error() 24 int pam_bus_log_parse_error(pam_handle_t *handle, int r) { in pam_bus_log_parse_error() argument 26 pam_syslog(handle, LOG_ERR, "Failed to parse bus message: %s", strerror_safe(r)); in pam_bus_log_parse_error() 30 static void cleanup_system_bus(pam_handle_t *handle, void *data, int error_status) { in cleanup_system_bus() argument 34 int pam_acquire_bus_connection(pam_handle_t *handle, sd_bus **ret) { in pam_acquire_bus_connection() argument 38 assert(handle); in pam_acquire_bus_connection() 42 r = pam_get_data(handle, "systemd-system-bus", (const void**) &bus); in pam_acquire_bus_connection() [all …]
|
D | pam-util.h | 8 int pam_log_oom(pam_handle_t *handle); 9 int pam_bus_log_create_error(pam_handle_t *handle, int r); 10 int pam_bus_log_parse_error(pam_handle_t *handle, int r); 12 int pam_acquire_bus_connection(pam_handle_t *handle, sd_bus **ret); 13 int pam_release_bus_connection(pam_handle_t *handle); 15 void pam_cleanup_free(pam_handle_t *handle, void *data, int error_status);
|
/systemd-251/src/test/ |
D | test-nss-hosts.c | 92 static void test_gethostbyname4_r(void *handle, const char *module, const char *name) { in test_gethostbyname4_r() argument 108 f = dlsym(handle, fname); in test_gethostbyname4_r() 109 log_debug("dlsym(0x%p, %s) → 0x%p", handle, fname, f); in test_gethostbyname4_r() 153 static void test_gethostbyname3_r(void *handle, const char *module, const char *name, int af) { in test_gethostbyname3_r() argument 170 f = dlsym(handle, fname); in test_gethostbyname3_r() 171 log_debug("dlsym(0x%p, %s) → 0x%p", handle, fname, f); in test_gethostbyname3_r() 188 static void test_gethostbyname2_r(void *handle, const char *module, const char *name, int af) { in test_gethostbyname2_r() argument 199 f = dlsym(handle, fname); in test_gethostbyname2_r() 200 log_debug("dlsym(0x%p, %s) → 0x%p", handle, fname, f); in test_gethostbyname2_r() 216 static void test_gethostbyname_r(void *handle, const char *module, const char *name) { in test_gethostbyname_r() argument [all …]
|
D | test-nss-users.c | 47 static void test_getpwnam_r(void *handle, const char *module, const char *name) { in test_getpwnam_r() argument 57 f = dlsym(handle, fname); in test_getpwnam_r() 58 log_debug("dlsym(0x%p, %s) → 0x%p", handle, fname, f); in test_getpwnam_r() 73 static void test_getgrnam_r(void *handle, const char *module, const char *name) { in test_getgrnam_r() argument 83 f = dlsym(handle, fname); in test_getgrnam_r() 84 log_debug("dlsym(0x%p, %s) → 0x%p", handle, fname, f); in test_getgrnam_r() 99 static void test_getpwuid_r(void *handle, const char *module, uid_t uid) { in test_getpwuid_r() argument 109 f = dlsym(handle, fname); in test_getpwuid_r() 110 log_debug("dlsym(0x%p, %s) → 0x%p", handle, fname, f); in test_getpwuid_r() 125 static void test_getgrgid_r(void *handle, const char *module, gid_t gid) { in test_getgrgid_r() argument [all …]
|
D | nss-test-util.c | 30 void *handle; in nss_open_handle() local 38 handle = dlopen(path, flags); in nss_open_handle() 39 if (!handle) in nss_open_handle() 41 return handle; in nss_open_handle()
|
D | test-dlopen.c | 9 void *handle; in main() local 11 assert_se(handle = dlopen(argv[1], RTLD_NOW)); in main() 12 assert_se(dlclose(handle) == 0); in main()
|
/systemd-251/src/boot/efi/ |
D | pe.c | 227 _cleanup_(file_closep) EFI_FILE *handle = NULL; in pe_file_locate_sections() 239 err = dir->Open(dir, &handle, (CHAR16*)path, EFI_FILE_MODE_READ, 0ULL); in pe_file_locate_sections() 244 err = handle->Read(handle, &len, &dos); in pe_file_locate_sections() 250 err = handle->SetPosition(handle, dos.ExeHeader); in pe_file_locate_sections() 255 err = handle->Read(handle, &len, &pe); in pe_file_locate_sections() 266 err = handle->SetPosition(handle, section_table_offset(&dos, &pe)); in pe_file_locate_sections() 271 err = handle->Read(handle, &len, section_table); in pe_file_locate_sections()
|
D | random-seed.c | 228 _cleanup_(file_closep) EFI_FILE *handle = NULL; in process_random_seed() 252 …err = root_dir->Open(root_dir, &handle, (CHAR16*) L"\\loader\\random-seed", EFI_FILE_MODE_READ|EFI… in process_random_seed() 259 err = get_file_info_harder(handle, &info, NULL); in process_random_seed() 273 err = handle->Read(handle, &rsize, seed); in process_random_seed() 279 err = handle->SetPosition(handle, 0); in process_random_seed() 295 err = handle->Write(handle, &wsize, new_seed); in process_random_seed() 301 err = handle->Flush(handle); in process_random_seed()
|
D | util.c | 383 _cleanup_(file_closep) EFI_FILE *handle = NULL; in file_read() 391 err = dir->Open(dir, &handle, (CHAR16*) name, EFI_FILE_MODE_READ, 0ULL); in file_read() 398 err = get_file_info_harder(handle, &info, NULL); in file_read() 406 err = handle->SetPosition(handle, off); in file_read() 415 err = handle->Read(handle, &size, buf); in file_read() 496 EFI_FILE *handle, in get_file_info_harder() argument 504 assert(handle); in get_file_info_harder() 510 err = handle->GetInfo(handle, &GenericFileInfo, &size, fi); in get_file_info_harder() 514 err = handle->GetInfo(handle, &GenericFileInfo, &size, fi); in get_file_info_harder() 529 EFI_FILE *handle, in readdir_harder() argument [all …]
|
D | util.h | 82 static inline void file_closep(EFI_FILE **handle) { in file_closep() argument 83 if (!*handle) in file_closep() 86 (*handle)->Close(*handle); in file_closep() 115 EFI_STATUS get_file_info_harder(EFI_FILE *handle, EFI_FILE_INFO **ret, UINTN *ret_size); 117 EFI_STATUS readdir_harder(EFI_FILE *handle, EFI_FILE_INFO **buffer, UINTN *buffer_size);
|
D | devicetree.c | 68 _cleanup_(file_closep) EFI_FILE *handle = NULL; in devicetree_install() 81 err = root_dir->Open(root_dir, &handle, name, EFI_FILE_MODE_READ, EFI_FILE_READ_ONLY); in devicetree_install() 85 err = get_file_info_harder(handle, &info, NULL); in devicetree_install() 98 err = handle->Read(handle, &len, PHYSICAL_ADDRESS_TO_POINTER(state->addr)); in devicetree_install()
|
D | disk.c | 9 EFI_STATUS disk_get_part_uuid(EFI_HANDLE *handle, CHAR16 uuid[static 37]) { in disk_get_part_uuid() argument 13 if (!handle) in disk_get_part_uuid() 17 device_path = DevicePathFromHandle(handle); in disk_get_part_uuid()
|
D | initrd.c | 76 EFI_HANDLE handle; in initrd_register() local 88 err = BS->LocateDevicePath(&EfiLoadFile2Protocol, &dp, &handle); in initrd_register()
|
D | disk.h | 6 EFI_STATUS disk_get_part_uuid(EFI_HANDLE *handle, CHAR16 uuid[static 37]);
|
D | boot.c | 1375 _cleanup_(file_closep) EFI_FILE *handle = NULL; in config_entry_bump_counters() 1391 … err = root_dir->Open(root_dir, &handle, old_path, EFI_FILE_MODE_READ|EFI_FILE_MODE_WRITE, 0ULL); in config_entry_bump_counters() 1395 err = get_file_info_harder(handle, &file_info, &file_info_size); in config_entry_bump_counters() 1401 err = handle->SetInfo(handle, &GenericFileInfo, file_info_size, file_info); in config_entry_bump_counters() 1408 (void) handle->Flush(handle); in config_entry_bump_counters() 1549 _cleanup_(file_closep) EFI_FILE *handle = NULL; in config_entry_add_from_file() 1550 err = root_dir->Open(root_dir, &handle, entry->loader, EFI_FILE_MODE_READ, 0ULL); in config_entry_add_from_file() 1989 _cleanup_(file_closep) EFI_FILE *handle = NULL; in config_entry_add_loader_auto() 1990 … EFI_STATUS err = root_dir->Open(root_dir, &handle, (CHAR16*) loader, EFI_FILE_MODE_READ, 0ULL); in config_entry_add_loader_auto()
|
/systemd-251/src/network/tc/ |
D | qdisc.c | 112 qdisc->handle = existing->handle; in qdisc_new_static() 158 siphash24_compress(&qdisc->handle, sizeof(qdisc->handle), state); in qdisc_hash_func() 169 r = CMP(a->handle, b->handle); in qdisc_compare_func() 260 TC_H_MAJ(qdisc->handle) >> 16, TC_H_MIN(qdisc->handle), in log_qdisc_debug() 265 int link_find_qdisc(Link *link, uint32_t handle, uint32_t parent, const char *kind, QDisc **ret) { in link_find_qdisc() argument 270 handle = TC_H_MAJ(handle); in link_find_qdisc() 273 if (qdisc->handle != handle) in link_find_qdisc() 332 link->ifindex, qdisc->handle, qdisc->parent); in qdisc_configure() 467 r = sd_rtnl_message_traffic_control_get_handle(message, &tmp->handle); in manager_rtnl_process_qdisc() 607 qdisc->handle = TC_H_MAKE(TC_H_CLSACT, 0); in config_parse_qdisc_parent() [all …]
|
D | qdisc.h | 45 uint32_t handle; member 79 int link_find_qdisc(Link *link, uint32_t handle, uint32_t parent, const char *kind, QDisc **qdisc);
|
/systemd-251/shell-completion/zsh/ |
D | _systemd-inhibit | 24 …_inhibit=(shutdown sleep idle handle-power-key handle-suspend-key handle-hibernate-key handle-lid-…
|
/systemd-251/src/basic/ |
D | missing_syscall.h | 118 static inline int missing_name_to_handle_at(int fd, const char *name, struct file_handle *handle, i… in missing_name_to_handle_at() argument 120 return syscall(__NR_name_to_handle_at, fd, name, handle, mnt_id, flags); in missing_name_to_handle_at()
|
/systemd-251/units/ |
D | systemd-sysupdate.timer | 14 # For containers we assume that the manager will handle updates. And we likely
|