/systemd/src/test/ |
H A D | test-btrfs.c | 39 BtrfsSubvolInfo info; local 41 r = btrfs_subvol_get_info_fd(fd, 0, &info); 43 log_error_errno(r, "Failed to get subvolume info: %m"); 45 log_info("otime: %s", format_timestamp(ts, sizeof(ts), info.otime)); 46 log_info("read-only (search): %s", yes_no(info.read_only)); 51 log_error_errno(r, "Failed to get quota info: %m");
|
/systemd/src/udev/mtd_probe/ |
H A D | probe_smartmedia.c | 37 void probe_smart_media(int mtd_fd, mtd_info_t* info) argument 50 if (info->type != MTD_NANDFLASH) 53 sector_size = info->writesize; 54 block_size = info->erasesize; 55 size_in_megs = info->size / (1024 * 1024);
|
/systemd/src/basic/ |
H A D | stat-util.c | 37 struct stat info; local 41 if (lstat(path, &info) < 0) 44 return !!S_ISLNK(info.st_mode); 64 struct stat info; local 68 if (lstat(path, &info) < 0) 71 return !!(S_ISBLK(info.st_mode) || S_ISCHR(info.st_mode));
|
/systemd/src/shared/ |
H A D | machine-pool.c | 189 struct loop_info64 info = { local 276 if (ioctl(loop, LOOP_SET_STATUS64, &info) < 0) {
|
H A D | machine-image.c | 194 BtrfsSubvolInfo info; local 198 r = btrfs_subvol_get_info_fd(fd, 0, &info); 206 info.read_only || read_only, 207 info.otime,
|
H A D | install.c | 901 UnitFileInstallInfo *info, 907 { "Install", "Alias", config_parse_strv, 0, &info->aliases }, 908 { "Install", "WantedBy", config_parse_strv, 0, &info->wanted_by }, 909 { "Install", "RequiredBy", config_parse_strv, 0, &info->required_by }, 910 { "Install", "DefaultInstance", config_parse_default_instance, 0, info }, 921 assert(info); 932 info->type = UNIT_FILE_TYPE_MASKED; 934 info->type = UNIT_FILE_TYPE_REGULAR; 951 info->type = UNIT_FILE_TYPE_MASKED; 967 true, true, false, info); 899 unit_file_load( InstallContext *c, UnitFileInstallInfo *info, const char *path, const char *root_dir, SearchFlags flags) argument 979 unit_file_load_or_readlink( InstallContext *c, UnitFileInstallInfo *info, const char *path, const char *root_dir, SearchFlags flags) argument 1040 unit_file_search( InstallContext *c, UnitFileInstallInfo *info, const LookupPaths *paths, const char *root_dir, SearchFlags flags) argument [all...] |
/systemd/src/boot/efi/ |
H A D | util.c | 318 EFI_FILE_INFO *info; local 320 info = LibFileInfo(handle); 321 buflen = info->FileSize+1; 322 FreePool(info);
|
/systemd/src/timedate/ |
H A D | timedatectl.c | 75 static void status_info_clear(StatusInfo *info) { argument 76 if (info) { 77 free(info->timezone); 78 zero(*info); 165 _cleanup_(status_info_clear) StatusInfo info = {}; 184 &info); 188 print_status_info(&info);
|
/systemd/src/hostname/ |
H A D | hostnamectl.c | 155 StatusInfo info = {}; local 184 &info); 192 &info); 194 print_status_info(&info); 197 free(info.hostname); 198 free(info.static_hostname); 199 free(info.pretty_hostname); 200 free(info.icon_name); 201 free(info.chassis); 202 free(info [all...] |
/systemd/src/libsystemd/sd-netlink/ |
H A D | netlink-message.c | 410 int sd_netlink_message_append_cache_info(sd_netlink_message *m, unsigned short type, const struct ifa_cacheinfo *info) { argument 415 assert_return(info, -EINVAL); 421 r = add_rtattr(m, type, info, sizeof(struct ifa_cacheinfo)); 664 int sd_netlink_message_read_cache_info(sd_netlink_message *m, unsigned short type, struct ifa_cacheinfo *info) { argument 680 if (info) 681 memcpy(info, attr_data, sizeof(struct ifa_cacheinfo));
|
/systemd/src/locale/ |
H A D | localectl.c | 79 static void status_info_clear(StatusInfo *info) { argument 80 if (info) { 81 strv_free(info->locale); 82 free(info->vconsole_keymap); 83 free(info->vconsole_keymap_toggle); 84 free(info->x11_layout); 85 free(info->x11_model); 86 free(info->x11_variant); 87 free(info->x11_options); 88 zero(*info); [all...] |
/systemd/src/libsystemd/sd-bus/ |
H A D | bus-control.c | 399 struct kdbus_info *info, 408 assert(info); 411 KDBUS_ITEM_FOREACH(item, info, items) { 397 bus_populate_creds_from_items( sd_bus *bus, struct kdbus_info *info, uint64_t mask, sd_bus_creds *c) argument
|
H A D | bus-kernel.c | 1796 struct kdbus_info *info; local 1809 info = (struct kdbus_info*) ((uint8_t*) bus->kdbus_buffer + cmd.offset); 1811 KDBUS_ITEM_FOREACH(item, info, items)
|
/systemd/src/libsystemd-network/ |
H A D | sd-dhcp-server.c | 319 /* we attach source interface and address info to the message 987 struct in_pktinfo *info = (struct in_pktinfo*)CMSG_DATA(cmsg); local 991 if (server->ifindex != info->ipi_ifindex)
|
/systemd/src/login/ |
H A D | loginctl.c | 317 static void session_status_info_clear(SessionStatusInfo *info) { argument 318 if (info) { 319 free(info->id); 320 free(info->name); 321 free(info->seat); 322 free(info->tty); 323 free(info->display); 324 free(info->remote_host); 325 free(info->remote_user); 326 free(info 336 user_status_info_clear(UserStatusInfo *info) argument 347 seat_status_info_clear(SeatStatusInfo *info) argument [all...] |
/systemd/src/journal-remote/ |
H A D | journal-remote.c | 659 const union MHD_DaemonInfo *info; local 705 info = MHD_get_daemon_info(d->daemon, MHD_DAEMON_INFO_EPOLL_FD_LINUX_ONLY); 706 if (!info) { 707 log_error("µhttp returned NULL daemon info"); 712 epoll_fd = info->listen_fd;
|
/systemd/src/core/ |
H A D | execute.c | 2286 InvalidEnvInfo *info = userdata; local 2288 log_unit_error(info->unit, "Ignoring invalid environment assignment '%s': %s", p, info->path); 2348 InvalidEnvInfo info = { local 2353 p = strv_env_clean_with_callback(p, invalid_env, &info);
|
/systemd/src/machine/ |
H A D | machinectl.c | 507 static void machine_status_info_clear(MachineStatusInfo *info) { argument 508 if (info) { 509 free(info->name); 510 free(info->class); 511 free(info->service); 512 free(info->unit); 513 free(info->root_directory); 514 free(info->netif); 515 zero(*info); 654 _cleanup_(machine_status_info_clear) MachineStatusInfo info 764 image_status_info_clear(ImageStatusInfo *info) argument 873 pool_status_info_clear(PoolStatusInfo *info) argument [all...] |
/systemd/src/nspawn/ |
H A D | nspawn.c | 1071 log_error_errno(errno, "Failed to remove existing timezone info %s in container: %m", where); 1681 struct loop_info64 info = { local 1741 info.lo_flags |= LO_FLAGS_READ_ONLY; 1743 if (ioctl(loop, LOOP_SET_STATUS64, &info) < 0)
|
/systemd/src/systemctl/ |
H A D | systemctl.c | 1712 static void machine_info_clear(struct machine_info *info) { argument 1713 if (info) { 1714 free(info->name); 1715 free(info->state); 1716 free(info->control_group); 1717 zero(*info); 3925 _cleanup_free_ ExecStatusInfo *info = NULL; local 3931 info = new0(ExecStatusInfo, 1); 3932 if (!info) 3935 while ((r = exec_status_info_deserialize(m, info)) > 4266 ExecStatusInfo info = {}; local 4388 UnitStatusInfo info = { local [all...] |