MCPcopy Create free account

hub / github.com/bazil/fuse / functions

Functions768 in github.com/bazil/fuse

↓ 3 callersMethodsaw
(s string)
fs/serve_test.go:4092
↓ 3 callersFunctiontestSetxattr
(t *testing.T, size int)
fs/serve_test.go:2776
↓ 3 callersFunctionunixTime
(t time.Time)
fuse.go:1563
↓ 2 callersFunctionAsyncRead
AsyncRead enables multiple outstanding read requests for the same handle. Without this, there is at most one request in flight at a time.
options.go:144
↓ 2 callersMethodAttr
Attr fills attr with the standard metadata for the node. Fields with reasonable defaults are prepopulated. For example, all times are set to a fixed
fs/serve.go:103
↓ 2 callersMethodBytes
()
fs/fstestutil/record/buffer.go:24
↓ 2 callersFunctionDataHandle
DataHandle returns a read-only Handle that satisfies reads using the given data.
fs/serve.go:2029
↓ 2 callersFunctionDebugByDefault
DebugByDefault changes the default of the `-fuse.debug` flag to true. This package registers a command line flag `-fuse.debug` and when run with that
fs/fstestutil/debug.go:61
↓ 2 callersMethodError
()
fs/fstestutil/checkdir.go:17
↓ 2 callersMethodForget
Forget about this node. This node will not receive further method calls. Forget is not necessarily seen on unmount, as all nodes are implicitly forgo
fs/serve.go:211
↓ 2 callersMethodInvalidateNodeDataRange
InvalidateNodeDataRange invalidates the kernel cache of the attributes and a range of the data of node. Returns fuse.ErrNotCached if the kernel is no
fs/serve.go:1789
↓ 2 callersFunctionLockingFlock
LockingFlock enables flock-based (BSD) locking. This is mostly useful for distributed filesystems with global locking. Without this, kernel manages lo
options.go:221
↓ 2 callersFunctionMountedFunc
MountedFunc mounts a filesystem at a temporary directory. The filesystem used is constructed by calling a function, to allow storing fuse.Conn and fs.
fs/fstestutil/mounted.go:69
↓ 2 callersMethodPoll
Poll checks whether the node is currently ready for I/O, and may request a wakeup when it is. See HandlePoller.
fs/serve.go:352
↓ 2 callersMethodReadAll
(ctx context.Context)
fs/serve.go:287
↓ 2 callersMethodReadRequest
ReadRequest returns the next FUSE request from the kernel. Caller must call either Request.Respond or Request.RespondError in a reasonable time. Call
fuse.go:566
↓ 2 callersMethodReadlink
Readlink reads a symbolic link.
fs/serve.go:137
↓ 2 callersMethodRecordedFsync
()
fs/fstestutil/record/record.go:151
↓ 2 callersMethodRelease
(ctx context.Context, req *fuse.ReleaseRequest)
fs/serve.go:326
↓ 2 callersMethodRename
(ctx context.Context, req *fuse.RenameRequest, newDir Node)
fs/serve.go:215
↓ 2 callersMethodSetattr
Setattr sets the standard metadata for the receiver. Note, this is also used to communicate changes in the size of the file, outside of Writes. req.
fs/serve.go:124
↓ 2 callersMethodSignal
Signal send a signal to the helper process.
fs/fstestutil/spawntest/spawntest.go:244
↓ 2 callersMethodStatfs
Statfs is called to obtain file system metadata. It should write that data to resp.
fs/serve.go:45
↓ 2 callersFunctionToErrno
ToErrno converts arbitrary errors to Errno. If the underlying type of err is syscall.Errno, it is used directly. No unwrapping is done, to prevent wr
fuse.go:388
↓ 2 callersMethodWaitForRelease
WaitForRelease waits for Release to be called. With zero duration, wait forever. Otherwise, timeout early in a more controlled way than `-test.timeou
fs/fstestutil/record/wait.go:46
↓ 2 callersFunctionWritebackCache
WritebackCache enables the kernel to buffer writes before sending them to the FUSE server. Without this, writethrough caching is used.
options.go:154
↓ 2 callersMethodadd
(name string, n Node)
fs/tree.go:74
↓ 2 callersMethodattr
(ctx context.Context, attr *fuse.Attr)
fs/serve.go:557
↓ 2 callersFunctionattrOutSize
(p Protocol)
fuse_kernel.go:505
↓ 2 callersMethodcallQueryLock
(req *lockReq)
fs/serve_test.go:4650
↓ 2 callersMethoddropNode
dropNode decreases reference count for node with id by n. If reference count dropped to zero, returns true. Note that node is not guaranteed to be non
fs/serve.go:623
↓ 2 callersFunctionerrorString
safe to call even with nil error
fuse.go:1161
↓ 2 callersMethoderrstr
()
fs/serve.go:713
↓ 2 callersFunctionescapeComma
(s string)
options.go:21
↓ 2 callersMethodfd
caller must hold wio or rio
fuse.go:547
↓ 2 callersMethodgetOptions
getOptions makes a string of options suitable for passing to FUSE mount flag `-o`. Returns an empty string if no options were set. Any platform specif
options.go:30
↓ 2 callersMethodinit
()
fs/fstestutil/record/wait.go:23
↓ 2 callersMethodlookup
(name string)
fs/tree.go:65
↓ 2 callersFunctionmakeLargeData
Test Write of a larger buffer.
fs/serve_test.go:750
↓ 2 callersFunctionmustEOF
(dec *json.Decoder)
fs/fstestutil/spawntest/httpjson/musteof.go:19
↓ 2 callersFunctionnodeAttr
(ctx context.Context, n Node, attr *fuse.Attr)
fs/serve.go:255
↓ 2 callersFunctionopName
(req fuse.Request)
fs/serve.go:825
↓ 2 callersFunctionparse
(line []byte)
cmd/fuse-abort/internal/mountinfo/mountinfo.go:77
↓ 2 callersFunctionplatformStat
(fi os.FileInfo)
fs/serve_linux_test.go:24
↓ 2 callersFunctionplatformStatfs
(st *syscall.Statfs_t)
fs/serve_linux_test.go:11
↓ 2 callersMethodsaveHandle
(handle Handle)
fs/serve.go:595
↓ 2 callersFunctionstack
()
debug.go:7
↓ 2 callersFunctiontestFtruncate
(t *testing.T, toSize int64)
fs/serve_test.go:1730
↓ 2 callersFunctiontestStatfs
(t *testing.T, helper *spawntest.Helper)
fs/serve_test.go:222
↓ 2 callersFunctiontestTruncate
(t *testing.T, toSize int64)
fs/serve_test.go:1669
↓ 2 callersMethodtick
()
examples/clockfs/clockfs.go:151
↓ 2 callersFunctionunescape
unescape backslash-prefixed octal
cmd/fuse-abort/internal/mountinfo/mountinfo.go:38
↓ 2 callersFunctionwriteInSize
(p Protocol)
fuse_kernel.go:660
↓ 2 callersMethodwriteToKernel
(msg []byte)
fuse.go:1168
↓ 1 callersMethodAccess
Access checks whether the calling context has permission for the given operations on the receiver. If so, Access should return nil. If not, Access sho
fs/serve.go:162
↓ 1 callersFunctionAllowOther
AllowOther allows other users to access the file system.
options.go:79
↓ 1 callersMethodAppend
Append adds an extended attribute name to the response.
fuse.go:1723
↓ 1 callersFunctionAppendDirent
AppendDirent appends the encoded form of a directory entry to data and returns the resulting slice.
fuse.go:2157
↓ 1 callersMethodAtime
()
fuse_kernel.go:149
↓ 1 callersMethodAtimeNow
()
fuse_kernel.go:152
↓ 1 callersFunctionCacheSymlinks
CacheSymlinks enables the kernel to cache symlink contents.
options.go:162
↓ 1 callersFunctionCongestionThreshold
CongestionThreshold sets the number of outstanding background FUSE requests beyond which the kernel considers the filesystem congested. This may help
options.go:209
↓ 1 callersFunctionDefaultPermissions
DefaultPermissions makes the kernel enforce access control based on the file mode (as in chmod). Without this option, the Node itself decides what is
options.go:112
↓ 1 callersMethodDestroy
Destroy is called when the file system is shutting down. Linux only sends this request for block device backed (fuseblk) filesystems, to allow them t
fs/serve.go:54
↓ 1 callersMethodErrno
()
fuse.go:352
↓ 1 callersMethodError
()
fs/serve.go:857
↓ 1 callersMethodError
()
fs/serve.go:879
↓ 1 callersFunctionExplicitInvalidateData
ExplicitInvalidateData stops the kernel from invalidating cached file data automatically. Use e.g. `InvalidateNodeData` to invalidate cached data as n
options.go:171
↓ 1 callersMethodFAllocate
FAllocate manipulates space reserved for the file. Note that the kernel limits what modes are acceptable in any FUSE filesystem.
fs/serve.go:413
↓ 1 callersMethodFeatures
Features reports the feature flags negotiated between the kernel and the FUSE library. See MountOption for how to influence features activated.
fuse.go:558
↓ 1 callersMethodFinish
(r *NotifyReply)
fuse.go:1328
↓ 1 callersMethodFlush
Flush is called each time the file or directory is closed. Because there can be multiple file descriptors referring to a single opened file, Flush can
fs/serve.go:283
↓ 1 callersMethodFsync
(ctx context.Context, req *fuse.FsyncRequest)
fs/serve.go:224
↓ 1 callersMethodGetattr
Getattr obtains the standard metadata for the receiver. It should store that metadata in resp. If this method is not implemented, the attributes will
fs/serve.go:112
↓ 1 callersMethodGid
()
fuse_kernel.go:147
↓ 1 callersMethodHandle
()
fuse_kernel.go:151
↓ 1 callersMethodInvalidateEntry
InvalidateEntry invalidates the kernel cache of the directory entry identified by parent node and entry basename. Kernel may or may not cache directo
fs/serve.go:1811
↓ 1 callersMethodInvalidateNode
InvalidateNode invalidates the kernel cache of the attributes and a range of the data of a node. Giving offset 0 and size -1 means all data. To inval
fuse.go:1233
↓ 1 callersMethodInvalidateNodeAttr
InvalidateNodeAttr invalidates the kernel cache of the attributes of node. Returns fuse.ErrNotCached if the kernel is not currently caching the node.
fs/serve.go:1771
↓ 1 callersFunctionJSON
JSON helps make a HTTP request to the resource tree at url with JSON request and response bodies. If client is nil http.DefaultClient will be used.
fs/fstestutil/spawntest/httpjson/client.go:16
↓ 1 callersMethodLockOwner
()
fuse_kernel.go:154
↓ 1 callersMethodLockWait
LockWait acquires a lock on a byte range of the node, waiting until the lock can be obtained (or context is canceled).
fs/serve.go:370
↓ 1 callersFunctionMaxBackground
MaxBackground sets the maximum number of FUSE requests the kernel will submit in the background. Background requests are used when an immediate answer
options.go:196
↓ 1 callersFunctionMaxReadahead
MaxReadahead sets the number of bytes that can be prefetched for sequential reads. The kernel can enforce a maximum value lower than this. This setti
options.go:134
↓ 1 callersFunctionMounted
Mounted mounts the fuse.Server at a temporary directory. After successful return, caller must clean up by calling Close.
fs/fstestutil/mounted.go:103
↓ 1 callersMethodMtime
()
fuse_kernel.go:150
↓ 1 callersMethodMtimeNow
()
fuse_kernel.go:153
↓ 1 callersMethodNotifyDelete
NotifyDelete informs the kernel that a directory entry has been deleted. Using this instead of [InvalidateEntry] races on networked systems where the
fs/serve.go:1863
↓ 1 callersMethodNotifyPollWakeup
(wakeup fuse.PollWakeup)
fs/serve.go:2014
↓ 1 callersMethodNotifyRetrieve
NotifyRetrieve gets data from the kernel page cache. Returns fuse.ErrNotCached if the kernel is not currently caching the node.
fs/serve.go:1956
↓ 1 callersMethodNotifyStore
NotifyStore puts data into the kernel page cache. Returns fuse.ErrNotCached if the kernel is not currently caching the node.
fs/serve.go:1922
↓ 1 callersMethodQueryLock
QueryLock returns the current state of locks held for the byte range of the node. See QueryLockRequest for details on how to respond. To simplify im
fs/serve.go:385
↓ 1 callersMethodReadDirAll
(ctx context.Context)
fs/serve.go:291
↓ 1 callersFunctionReadOnly
ReadOnly makes the mount read-only.
options.go:120
↓ 1 callersMethodRecordedCreate
RecordedCreate returns information about the Create request. If no request was seen, returns a zero value.
fs/fstestutil/record/record.go:404
↓ 1 callersMethodRecordedFlush
()
fs/fstestutil/record/record.go:71
↓ 1 callersMethodRecordedGetxattr
RecordedGetxattr returns information about the Getxattr request. If no request was seen, returns a zero value.
fs/fstestutil/record/record.go:301
↓ 1 callersMethodRecordedLink
RecordedLink returns information about the Link request. If no request was seen, returns a zero value.
fs/fstestutil/record/record.go:226
↓ 1 callersMethodRecordedListxattr
RecordedListxattr returns information about the Listxattr request. If no request was seen, returns a zero value.
fs/fstestutil/record/record.go:326
↓ 1 callersMethodRecordedMkdir
RecordedMkdir returns information about the Mkdir request. If no request was seen, returns a zero value.
fs/fstestutil/record/record.go:176
← previousnext →101–200 of 768, ranked by callers