dpkg 1.22.7-3-g89f48
Loading...
Searching...
No Matches
Data Structures | Macros | Functions
fsys-hash.c File Reference

(6c394a4c7)

#include <config.h>
#include <compat.h>
#include <string.h>
#include <stdlib.h>
#include <dpkg/dpkg.h>
#include <dpkg/dpkg-db.h>
#include <dpkg/path.h>
#include "fsys.h"
Include dependency graph for fsys-hash.c:

Data Structures

struct  fsys_hash_iter
 

Macros

#define BINS   262139
 

Functions

void fsys_hash_init (void)
 
void fsys_hash_reset (void)
 
int fsys_hash_entries (void)
 
struct fsys_namenodefsys_hash_find_node (const char *name, enum fsys_hash_find_flags flags)
 
void fsys_hash_report (FILE *file)
 
struct fsys_hash_iterfsys_hash_iter_new (void)
 
struct fsys_namenodefsys_hash_iter_next (struct fsys_hash_iter *iter)
 
void fsys_hash_iter_free (struct fsys_hash_iter *iter)
 

Macro Definition Documentation

◆ BINS

#define BINS   262139

Function Documentation

◆ fsys_hash_entries()

int fsys_hash_entries ( void  )

Referenced by ensure_allinstfiles_available().

Here is the caller graph for this function:

◆ fsys_hash_find_node()

struct fsys_namenode * fsys_hash_find_node ( const char *  name,
enum fsys_hash_find_flags  flags 
)

References BINS, FHFF_NO_COPY, FHFF_NO_NEW, fsys_namenode::flags, internerr, fsys_namenode::name, fsys_namenode::next, nfmalloc(), path_skip_slash_dotslash(), and str_fnv_hash().

Referenced by ensure_diversions(), ensure_statoverrides(), pkg_conffiles_mark_old(), and tarobject().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fsys_hash_init()

void fsys_hash_init ( void  )

References BINS, fsys_namenode::file_ondisk_id, fsys_namenode::flags, fsys_namenode::newhash, fsys_namenode::next, and fsys_namenode::oldhash.

Referenced by deferred_remove(), and process_archive().

Here is the caller graph for this function:

◆ fsys_hash_iter_free()

void fsys_hash_iter_free ( struct fsys_hash_iter iter)

Referenced by ensure_statoverrides().

Here is the caller graph for this function:

◆ fsys_hash_iter_new()

struct fsys_hash_iter * fsys_hash_iter_new ( void  )

References m_malloc(), fsys_hash_iter::namenode, and fsys_hash_iter::nbinn.

Referenced by ensure_statoverrides().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fsys_hash_iter_next()

struct fsys_namenode * fsys_hash_iter_next ( struct fsys_hash_iter iter)

References BINS, fsys_hash_iter::namenode, fsys_hash_iter::nbinn, and fsys_namenode::next.

Referenced by ensure_statoverrides().

Here is the caller graph for this function:

◆ fsys_hash_report()

void fsys_hash_report ( FILE *  file)

References BINS, m_malloc(), m_output(), and fsys_namenode::next.

Here is the call graph for this function:

◆ fsys_hash_reset()

void fsys_hash_reset ( void  )

Referenced by commandfd().

Here is the caller graph for this function: