Home
last modified time | relevance | path

Searched refs:allocate_if_missing (Results 1 – 5 of 5) sorted by relevance

/dports/sysutils/p5-BackupPC-XS/BackupPC-XS-0.62/
H A Dbackuppc.h75 …shtable_find(bpc_hashtable *tbl, unsigned char *key, unsigned int keyLen, int allocate_if_missing);
319 …_xattr *bpc_attrib_xattrGet(bpc_attrib_file *file, void *key, int keyLen, int allocate_if_missing);
328 bpc_attrib_file *bpc_attrib_fileGet(bpc_attrib_dir *dir, char *fileName, int allocate_if_missing);
436 …*bpc_attribCache_getFile(bpc_attribCache_info *ac, char *path, int allocate_if_missing, int dontRe…
439 …rib_file *bpc_attribCache_getInode(bpc_attribCache_info *ac, ino_t inode, int allocate_if_missing);
H A Dbpc_attribCache.c438 …*bpc_attribCache_getFile(bpc_attribCache_info *ac, char *path, int allocate_if_missing, int dontRe… in bpc_attribCache_getFile() argument
446 if ( !(file = bpc_attrib_fileGet(&attr->dir, fileName, allocate_if_missing)) ) return NULL; in bpc_attribCache_getFile()
448 if ( allocate_if_missing && file->key.key == fileName ) { in bpc_attribCache_getFile()
457 return bpc_attribCache_getInode(ac, file->inode, allocate_if_missing); in bpc_attribCache_getFile()
519 …trib_file *bpc_attribCache_getInode(bpc_attribCache_info *ac, ino_t inode, int allocate_if_missing) in bpc_attribCache_getInode() argument
527 if ( !(file = bpc_attrib_fileGet(&attr->dir, indexStr, allocate_if_missing)) ) return NULL; in bpc_attribCache_getInode()
529 if ( allocate_if_missing && file->key.key == indexStr ) { in bpc_attribCache_getInode()
H A Dbpc_hashtable.c278 …ashtable_find(bpc_hashtable *tbl, unsigned char *key, unsigned int keyLen, int allocate_if_missing) in bpc_hashtable_find() argument
283 if ( allocate_if_missing && tbl->entries + tbl->entriesDel > HASH_LOAD_LIMIT(tbl->size) ) { in bpc_hashtable_find()
303 if ( allocate_if_missing ) { in bpc_hashtable_find()
H A Dbpc_attrib.c84 …b_xattr *bpc_attrib_xattrGet(bpc_attrib_file *file, void *key, int keyLen, int allocate_if_missing) in bpc_attrib_xattrGet() argument
86 return (bpc_attrib_xattr*)bpc_hashtable_find(&file->xattrHT, key, keyLen, allocate_if_missing); in bpc_attrib_xattrGet()
288 bpc_attrib_file *bpc_attrib_fileGet(bpc_attrib_dir *dir, char *fileName, int allocate_if_missing) in bpc_attrib_fileGet() argument
290 … return bpc_hashtable_find(&dir->filesHT, (uchar*)fileName, strlen(fileName), allocate_if_missing); in bpc_attrib_fileGet()
/dports/net-mgmt/collectd5/collectd-5.12.0/src/utils/lookup/
H A Dvl_lookup.c338 bool allocate_if_missing) { in lu_search_by_type() argument
347 if (!allocate_if_missing) in lu_search_by_type()