13 const struct dir *cached);
16 bool strict,
struct stat *recent_st);
int rfork_cache_store_from_fd(struct dir *entry, struct adouble *adp, int eid)
Store resource fork data by reading directly from the ad fd.
Definition ad_cache.c:368
void rfork_cache_free(struct dir *entry)
Free a single entry's rfork buffer, remove from rfork LRU, update counter.
Definition ad_cache.c:274
void ad_store_to_cache(struct adouble *adp, struct dir *cached)
Store AD metadata results into struct dir cache fields.
Definition ad_cache.c:55
unsigned long long ad_cache_hits
Definition ad_cache.c:39
void rfork_cache_evict_to_budget(size_t needed)
Evict rfork buffers from rfork LRU head (oldest/LRU) until under budget.
Definition ad_cache.c:339
unsigned long long ad_cache_no_ad
Definition ad_cache.c:41
int ad_metadata_cached(const char *name, int flags, struct adouble *adp, const struct vol *vol, struct dir *dir, bool strict, struct stat *recent_st)
Unified AD metadata access with integrated cache management.
Definition ad_cache.c:142
unsigned long long ad_cache_misses
Definition ad_cache.c:40
void ad_rebuild_from_cache(struct adouble *adp, const struct dir *cached)
Populate struct adouble from struct dir cache fields.
Definition ad_cache.c:98
Part of Netatalk's AppleDouble implementatation.
static dbd_flags_t flags
Definition cmd_dbd.c:43
Definition include/atalk/directory.h:56
Definition include/atalk/volume.h:33