Changeset View
Changeset View
Standalone View
Standalone View
sys/fs/fuse/fuse_node.h
Show First 20 Lines • Show All 62 Lines • ▼ Show 20 Lines | |||||
*/ | */ | ||||
#ifndef _FUSE_NODE_H_ | #ifndef _FUSE_NODE_H_ | ||||
#define _FUSE_NODE_H_ | #define _FUSE_NODE_H_ | ||||
#include <sys/fnv_hash.h> | #include <sys/fnv_hash.h> | ||||
#include <sys/types.h> | #include <sys/types.h> | ||||
#include <sys/mutex.h> | #include <sys/mutex.h> | ||||
#include <sys/buf.h> | |||||
#include "fuse_file.h" | #include "fuse_file.h" | ||||
#define FN_REVOKED 0x00000020 | #define FN_REVOKED 0x00000020 | ||||
#define FN_FLUSHINPROG 0x00000040 | #define FN_FLUSHINPROG 0x00000040 | ||||
#define FN_FLUSHWANT 0x00000080 | #define FN_FLUSHWANT 0x00000080 | ||||
/* | /* | ||||
* Indicates that the file's size is dirty; the kernel has changed it but not | * Indicates that the file's size is dirty; the kernel has changed it but not | ||||
Show All 34 Lines | struct fuse_vnode_data { | ||||
/* | /* | ||||
* Monotonic time after which the entry is invalid. Used for lookups | * Monotonic time after which the entry is invalid. Used for lookups | ||||
* by nodeid instead of pathname. | * by nodeid instead of pathname. | ||||
*/ | */ | ||||
struct bintime entry_cache_timeout; | struct bintime entry_cache_timeout; | ||||
struct vattr cached_attrs; | struct vattr cached_attrs; | ||||
uint64_t nlookup; | uint64_t nlookup; | ||||
enum vtype vtype; | enum vtype vtype; | ||||
struct vn_clusterw clusterw; | |||||
}; | }; | ||||
/* | /* | ||||
* This overlays the fid structure (see mount.h). Mostly the same as the types | * This overlays the fid structure (see mount.h). Mostly the same as the types | ||||
* used by UFS and ext2. | * used by UFS and ext2. | ||||
*/ | */ | ||||
struct fuse_fid { | struct fuse_fid { | ||||
uint16_t len; /* Length of structure. */ | uint16_t len; /* Length of structure. */ | ||||
▲ Show 20 Lines • Show All 82 Lines • Show Last 20 Lines |