Searched refs:handle (Results 1 - 19 of 19) sorted by relevance

/systemd/src/boot/efi/
H A Ddisk.h18 EFI_STATUS disk_get_part_uuid(EFI_HANDLE *handle, CHAR16 uuid[37]);
H A Dpefile.c70 EFI_FILE_HANDLE handle; local
78 err = uefi_call_wrapper(dir->Open, 5, dir, &handle, path, EFI_FILE_MODE_READ, 0ULL);
84 err = uefi_call_wrapper(handle->Read, 3, handle, &len, &dos);
97 err = uefi_call_wrapper(handle->SetPosition, 2, handle, dos.ExeHeader);
103 err = uefi_call_wrapper(handle->Read, 3, handle, &len, &magic);
117 err = uefi_call_wrapper(handle->Read, 3, handle,
[all...]
H A Ddisk.c20 EFI_STATUS disk_get_part_uuid(EFI_HANDLE *handle, CHAR16 uuid[37]) { argument
25 device_path = DevicePathFromHandle(handle);
H A Dutil.c307 EFI_FILE_HANDLE handle; local
313 err = uefi_call_wrapper(dir->Open, 5, dir, &handle, name, EFI_FILE_MODE_READ, 0ULL);
320 info = LibFileInfo(handle);
327 err = uefi_call_wrapper(handle->SetPosition, 2, handle, off);
333 err = uefi_call_wrapper(handle->Read, 3, handle, &buflen, buf);
343 uefi_call_wrapper(handle->Close, 1, handle);
H A Dboot.c446 Print(L"device handle '%s'\n", str);
1444 EFI_FILE_HANDLE handle; local
1453 err = uefi_call_wrapper(root_dir->Open, 5, root_dir, &handle, loader, EFI_FILE_MODE_READ, 0ULL);
1456 uefi_call_wrapper(handle->Close, 1, handle);
1641 Print(L"Error getting LoadedImageProtocol handle: %r", err);
1719 Print(L"Error getting a LoadedImageProtocol handle: %r ", err);
/systemd/src/login/
H A Dpam_systemd.c50 pam_handle_t *handle,
79 pam_syslog(handle, LOG_WARNING, "Failed to parse debug= argument, ignoring.");
84 pam_syslog(handle, LOG_WARNING, "Unknown parameter '%s', ignoring", argv[i]);
91 pam_handle_t *handle,
99 assert(handle);
103 r = pam_get_user(handle, &username, NULL);
105 pam_syslog(handle, LOG_ERR, "Failed to get user name.");
110 pam_syslog(handle, LOG_ERR, "User name not valid.");
114 pw = pam_modutil_getpwnam(handle, username);
116 pam_syslog(handle, LOG_ER
49 parse_argv( pam_handle_t *handle, int argc, const char **argv, const char **class, const char **type, bool *debug) argument
90 get_user_data( pam_handle_t *handle, const char **ret_username, struct passwd **ret_pw) argument
177 export_legacy_dbus_address( pam_handle_t *handle, uid_t uid, const char *runtime) argument
216 pam_sm_open_session( pam_handle_t *handle, int flags, int argc, const char **argv) argument
505 pam_sm_close_session( pam_handle_t *handle, int flags, int argc, const char **argv) argument
[all...]
H A Dlogind-action.c38 HandleAction handle,
71 if (handle == HANDLE_IGNORE) {
96 if (handle == HANDLE_LOCK) {
106 if (handle == HANDLE_SUSPEND)
108 else if (handle == HANDLE_HIBERNATE)
110 else if (handle == HANDLE_HYBRID_SLEEP)
112 else if (handle == HANDLE_KEXEC)
127 inhibit_operation = handle == HANDLE_SUSPEND || handle == HANDLE_HIBERNATE || handle
35 manager_handle_action( Manager *m, InhibitWhat inhibit_key, HandleAction handle, bool ignore_inhibited, bool is_edge) argument
[all...]
H A Dlogind-action.h42 HandleAction handle,
/systemd/src/basic/
H A Dmount-util.h48 struct file_handle handle; member in union:file_handle_union
52 #define FILE_HANDLE_INIT { .handle.handle_bytes = MAX_HANDLE_SZ }
H A Dmount-util.c90 * tells us the mount id and an opaque file "handle". It is
99 * opaque file handle. The opaque file handle is pretty useful
112 r = name_to_handle_at(fd, filename, &h.handle, &mount_id, flags);
129 r = name_to_handle_at(fd, "", &h_parent.handle, &mount_id_parent, AT_EMPTY_PATH);
151 /* If the file handle for the directory we are
156 if (h.handle.handle_bytes == h_parent.handle.handle_bytes &&
157 h.handle.handle_type == h_parent.handle
[all...]
H A Dmissing.h584 static inline int name_to_handle_at(int fd, const char *name, struct file_handle *handle, int *mnt_id, int flags) { argument
585 return syscall(__NR_name_to_handle_at, fd, name, handle, mnt_id, flags);
/systemd/src/libudev/
H A Dlibudev-device-private.c191 int handle, r; local
195 r = device_get_watch_handle(udev_device->device, &handle);
199 return handle;
324 int udev_device_set_watch_handle(struct udev_device *udev_device, int handle) { argument
328 device_set_watch_handle(udev_device->device, handle);
H A Dlibudev-private.h66 int udev_device_set_watch_handle(struct udev_device *udev_device, int handle);
H A Dlibudev-monitor.c121 r = name_to_handle_at(AT_FDCWD, "/dev", &h.handle, &mount_id, 0);
/systemd/src/libsystemd/sd-device/
H A Ddevice-private.h34 int device_get_watch_handle(sd_device *device, int *handle);
H A Ddevice-private.c254 log_debug_errno(r, "sd-device: failed to handle db entry '%c:%s': %m", key, value);
738 int device_get_watch_handle(sd_device *device, int *handle) { argument
742 assert(handle);
748 *handle = device->watch_handle;
753 void device_set_watch_handle(sd_device *device, int handle) { argument
756 device->watch_handle = handle;
/systemd/src/core/
H A Dexecute.c828 pam_handle_t *handle = NULL; local
854 pam_code = pam_start(name, user, &conv, &handle);
856 handle = NULL;
861 pam_code = pam_set_item(handle, PAM_TTY, tty);
866 pam_code = pam_acct_mgmt(handle, flags);
870 pam_code = pam_open_session(handle, flags);
876 e = pam_getenvlist(handle);
956 pam_code = pam_close_session(handle, flags);
964 pam_end(handle, pam_code | flags);
971 * cleanups, so forget about the handle her
[all...]
/systemd/src/udev/
H A Dudev.h65 int handle; member in struct:udev_watch
/systemd/src/tmpfiles/
H A Dtmpfiles.c314 r_p = name_to_handle_at(dirfd(d), ".", &h.handle, &mount_id_parent, 0);
318 h.handle.handle_bytes = MAX_HANDLE_SZ;
319 r = name_to_handle_at(dirfd(d), subdir, &h.handle, &mount_id, 0);
323 /* got no handle; make no assumptions, return error */
331 /* got only one handle; assume different mount points if one

Completed in 4894 milliseconds