#include <sys/stat.h>
#include <atalk/directory.h>
#include "volume.h"
Go to the source code of this file.
◆ PFD_REGROUND_INTERVAL
| #define PFD_REGROUND_INTERVAL 256 |
◆ pfd_log_stats()
| void pfd_log_stats |
( |
void |
| ) |
|
|
extern |
◆ pfd_ostat()
| int pfd_ostat |
( |
const struct vol * |
vol, |
|
|
struct dir * |
entry, |
|
|
struct stat * |
st, |
|
|
int |
options |
|
) |
| |
|
extern |
ostat(cfrombstr(entry->d_fullpath), st, options), accelerated.
Resolves entry's parent to a cached dir fd and fstatat()s the leaf name; any impediment (no parent entry, ghost parent, open failure) falls back to the full-path ostat internally. Callers cannot observe which path ran: return value and errno are exactly what ostat would produce.
On success the entry's d_fullpath is additionally repaired against the parent's — the relative stat can outlive a rename the path string hasn't caught up with (see pfd_repair_path).
◆ pfd_purge()
| void pfd_purge |
( |
uint16_t |
vid, |
|
|
cnid_t |
did |
|
) |
| |
|
extern |
◆ pfd_purge_vol()
| void pfd_purge_vol |
( |
uint16_t |
vid | ) |
|
|
extern |
◆ pfd_shutdown()
| void pfd_shutdown |
( |
void |
| ) |
|
|
extern |
◆ pfd_stats_get()