dpkg 1.21.11
Data Structures | Macros | Functions
fsys-hash.c File Reference

(bc140c0ec)

#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  )

◆ fsys_hash_find_node()

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

References fsys_namenode::name, and path_skip_slash_dotslash().

Referenced by 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_hash_iter_free()

void fsys_hash_iter_free ( struct fsys_hash_iter iter)

◆ 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.

Here is the call graph for this function:

◆ fsys_hash_iter_next()

struct fsys_namenode * fsys_hash_iter_next ( struct fsys_hash_iter iter)

◆ fsys_hash_report()

void fsys_hash_report ( FILE *  file)

References m_malloc().

Here is the call graph for this function:

◆ fsys_hash_reset()

void fsys_hash_reset ( void  )