libalpm
Arch Linux Package Manager Library
diskspace.c File Reference
#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"
Include dependency graph for diskspace.c:

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_tmount_point_list (alpm_handle_t *handle)
 
static alpm_mountpoint_tmatch_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)
 

Function Documentation

◆ calculate_installed_size()

◆ calculate_removed_size()

◆ check_mountpoint()

static int check_mountpoint ( alpm_handle_t * handle,
alpm_mountpoint_t * mp )
static

◆ match_mount_point()

static alpm_mountpoint_t * match_mount_point ( const alpm_list_t * mount_points,
const char * real_path )
static

◆ mount_point_cmp()

static int mount_point_cmp ( const void * p1,
const void * p2 )
static

◆ mount_point_list()

◆ mount_point_list_free()

static void mount_point_list_free ( alpm_list_t * mount_points)
static

◆ mount_point_load_fsinfo()