libalpm
Arch Linux Package Manager Library
|
#include <stdio.h>
#include <errno.h>
#include "diskspace.h"
#include "alpm_list.h"
#include "util.h"
#include "log.h"
#include "trans.h"
#include "handle.h"
Functions | |
static int | mount_point_cmp (const void *p1, const void *p2) |
static void | mount_point_list_free (alpm_list_t *mount_points) |
static int | mount_point_load_fsinfo (alpm_handle_t *handle, alpm_mountpoint_t *mountpoint) |
static alpm_list_t * | mount_point_list (alpm_handle_t *handle) |
static alpm_mountpoint_t * | match_mount_point (const alpm_list_t *mount_points, const char *real_path) |
static int | calculate_removed_size (alpm_handle_t *handle, const alpm_list_t *mount_points, alpm_pkg_t *pkg) |
static int | calculate_installed_size (alpm_handle_t *handle, const alpm_list_t *mount_points, alpm_pkg_t *pkg) |
static int | check_mountpoint (alpm_handle_t *handle, alpm_mountpoint_t *mp) |
|
static |
References _, ALPM_LOG_WARNING, alpm_pkg_get_files(), alpm_mountpoint_t::blocks_needed, alpm_filelist_t::count, alpm_filelist_t::files, alpm_mountpoint_t::fsinfo_loaded, alpm_mountpoint_t::fsp, match_mount_point(), alpm_file_t::mode, MOUNT_FSINFO_FAIL, MOUNT_FSINFO_UNLOADED, mount_point_load_fsinfo(), alpm_file_t::name, alpm_file_t::size, alpm_mountpoint_t::used, and USED_INSTALL.
|
static |
References _, ALPM_LOG_WARNING, alpm_option_match_noextract(), alpm_pkg_get_files(), alpm_mountpoint_t::blocks_needed, alpm_filelist_t::count, alpm_filelist_t::files, alpm_mountpoint_t::fsinfo_loaded, alpm_mountpoint_t::fsp, match_mount_point(), MOUNT_FSINFO_FAIL, MOUNT_FSINFO_UNLOADED, mount_point_load_fsinfo(), alpm_file_t::name, alpm_mountpoint_t::used, and USED_REMOVE.
|
static |
|
static |
References alpm_list_t::data, alpm_mountpoint_t::mount_dir, alpm_mountpoint_t::mount_dir_len, and alpm_list_t::next.
Referenced by calculate_installed_size(), and calculate_removed_size().
|
static |
References alpm_mountpoint_t::mount_dir.
Referenced by mount_point_list().
|
static |
References _, ALPM_ERR_MEMORY, alpm_list_add(), alpm_list_count(), alpm_list_msort(), ALPM_LOG_DEBUG, ALPM_LOG_ERROR, ALPM_LOG_WARNING, CALLOC, alpm_mountpoint_t::fsinfo_loaded, alpm_mountpoint_t::fsp, alpm_mountpoint_t::mount_dir, alpm_mountpoint_t::mount_dir_len, MOUNT_FSINFO_LOADED, mount_point_cmp(), alpm_list_t::next, alpm_mountpoint_t::read_only, RET_ERR, and STRDUP.
|
static |
References alpm_list_t::data, FREE, FREELIST, alpm_mountpoint_t::mount_dir, and alpm_list_t::next.
|
static |