MCPcopy Create free account

hub / github.com/brendoncarroll/webfs / functions

Functions416 in github.com/brendoncarroll/webfs

↓ 2 callersMethodA
()
src/internal/wfscnp/webfs.capnp.go:1075
↓ 2 callersMethodB
()
src/internal/wfscnp/webfs.capnp.go:1083
↓ 2 callersMethodC
()
src/internal/wfscnp/webfs.capnp.go:1091
↓ 2 callersMethodCid
()
src/internal/wfscnp/webfs.capnp.go:957
↓ 2 callersMethodD
()
src/internal/wfscnp/webfs.capnp.go:1099
↓ 2 callersMethodDek
()
src/internal/wfscnp/webfs.capnp.go:981
↓ 2 callersMethodHasTouchedAt
()
src/internal/wfscnp/webfs.capnp.go:759
↓ 2 callersMethodLink
(ctx context.Context, target blobcache.Handle, mask blobcache.ActionSet)
src/webfs/fstx.go:20
↓ 2 callersMethodModifiedAt
()
src/internal/wfscnp/webfs.capnp.go:239
↓ 2 callersMethodModify
(ctx context.Context, vcfg VolumeConfig)
src/webfs/webfs.go:183
↓ 2 callersMethodNewCid
NewCid sets the cid field to a newly allocated UInt256 struct, preferring placement in s's segment.
src/internal/wfscnp/webfs.capnp.go:972
↓ 2 callersMethodNewCreateAt
NewCreateAt sets the createAt field to a newly allocated TAI64N struct, preferring placement in s's segment.
src/internal/wfscnp/webfs.capnp.go:737
↓ 2 callersMethodNewCreatedAt
NewCreatedAt sets the createdAt field to a newly allocated TAI64N struct, preferring placement in s's segment.
src/internal/wfscnp/webfs.capnp.go:230
↓ 2 callersMethodNewDek
NewDek sets the dek field to a newly allocated UInt256 struct, preferring placement in s's segment.
src/internal/wfscnp/webfs.capnp.go:996
↓ 2 callersMethodNewTouchedAt
NewTouchedAt sets the touchedAt field to a newly allocated TAI64N struct, preferring placement in s's segment.
src/internal/wfscnp/webfs.capnp.go:769
↓ 2 callersFunctionNewUInt256
(s *capnp.Segment)
src/internal/wfscnp/webfs.capnp.go:1033
↓ 2 callersMethodOpen
(ctx context.Context, flags uint32)
src/webfsfuse/webfsfuse.go:175
↓ 2 callersMethodPost
(ctx context.Context, s bcsdk.WO, x T)
src/internal/gdatcache/gdatcache.go:28
↓ 2 callersMethodReadDir
(ctx context.Context, ino INode, gteq string)
src/webfs/dir.go:224
↓ 2 callersMethodRelease
(ctx context.Context)
src/webfsfuse/webfsfuse.go:598
↓ 2 callersMethodRemoveXAttr
(ctx context.Context, ino INode, key XAttrKey)
src/webfs/xattrs.go:55
↓ 2 callersMethodSetA
(v uint64)
src/internal/wfscnp/webfs.capnp.go:1079
↓ 2 callersMethodSetB
(v uint64)
src/internal/wfscnp/webfs.capnp.go:1087
↓ 2 callersMethodSetC
(v uint64)
src/internal/wfscnp/webfs.capnp.go:1095
↓ 2 callersMethodSetD
(v uint64)
src/internal/wfscnp/webfs.capnp.go:1103
↓ 2 callersMethodSetLockCount
(v uint32)
src/internal/wfscnp/webfs.capnp.go:782
↓ 2 callersMethodSetMode
(ctx context.Context, ino INode, mode fs.FileMode)
src/webfs/file.go:168
↓ 2 callersMethodSetTtl
(v uint32)
src/internal/wfscnp/webfs.capnp.go:750
↓ 2 callersMethodTruncate
(ctx context.Context, ino INode, size uint64)
src/webfs/file.go:190
↓ 2 callersMethodTtl
()
src/internal/wfscnp/webfs.capnp.go:746
↓ 2 callersMethodUnmarshal
(data []byte)
src/webfs/models.go:61
↓ 2 callersMethodView
(ctx context.Context, vcfg VolumeConfig)
src/webfs/webfs.go:171
↓ 2 callersMethodbeginTx
(ctx context.Context, vcfg VolumeConfig, bctx *bcsdk.Tx, isWrite bool)
src/webfs/webfs.go:380
↓ 2 callersMethodclearExtents
clearExtents removes all extents belonging to ino. clearExtents assumes a lock is held.
src/webfs/file.go:245
↓ 2 callersFunctioncnp256ToArray
(src wfscnp.UInt256)
src/webfs/session.go:381
↓ 2 callersFunctioncopyCNP256
(dst wfscnp.UInt256, src wfscnp.UInt256)
src/webfs/session.go:374
↓ 2 callersFunctioncopyCNPTime
(dst wfscnp.TAI64N, src wfscnp.TAI64N)
src/webfs/session.go:314
↓ 2 callersMethoddecRef
decRef assumes the lock is held
src/webfs/dir.go:195
↓ 2 callersMethoddropSession
dropSession assumes the lock is held
src/webfs/session.go:49
↓ 2 callersFunctionfileLockRange
(lk *fuse.FileLock)
src/webfsfuse/webfsfuse.go:810
↓ 2 callersMethodfindConflictingLockLocked
(ctx context.Context, ino INode, sessionID inet256.ID, owner uint64, kind LockKind, start, length uint64, have
src/webfs/locks.go:169
↓ 2 callersMethodgetOverlappingExtents
getOverlappingExtents assumes the lock is held. If pending inode edits exist, it flushes them so the range scan sees the current transaction state.
src/webfs/file.go:295
↓ 2 callersMethodgetSessionPrivateKey
(ctx context.Context, sessionID inet256.ID)
src/webfs/session.go:243
↓ 2 callersMethodincrementSessionLockCount
incrementSessionLockCount assumes lock is held
src/webfs/session.go:195
↓ 2 callersFunctionlockRangeEnd
(start, length uint64)
src/webfs/locks.go:295
↓ 2 callersFunctionnewDataMach
(dataSalt [32]byte, hashAlgo blobcache.HashAlgo)
src/webfs/webfs.go:298
↓ 2 callersMethodnewFSTx
(vcfg VolumeConfig, prev FSState, s bcsdk.RW, link Linker)
src/webfs/fstx.go:49
↓ 2 callersFunctionnewFileHandle
(n *Node, appendMode bool)
src/webfsfuse/webfsfuse.go:631
↓ 2 callersFunctionnewINode
()
src/webfs/models.go:17
↓ 2 callersFunctionnewMachines
(fp FSParams)
src/webfs/webfs.go:305
↓ 2 callersFunctionparseDirEntValue
(data []byte)
src/webfs/dir.go:318
↓ 2 callersFunctionparseLockKey
(key []byte)
src/webfs/locks.go:228
↓ 2 callersFunctionparseSession
(data []byte)
src/webfs/session.go:211
↓ 2 callersMethodreadExtent
readExtent call fn with data from the extent readExtent can be called without the read lock
src/webfs/file.go:289
↓ 2 callersFunctionrequireSessionExists
(t testing.TB, ctx context.Context, tx *Tx, id inet256.ID)
src/webfs/webfs_test.go:494
↓ 2 callersFunctionrequireSessionMissing
(t testing.TB, ctx context.Context, tx *Tx, id inet256.ID)
src/webfs/webfs_test.go:501
↓ 2 callersMethodsealFS
sealFS takes an FS and signs and encrypts it.
src/webfs/webfs.go:442
↓ 2 callersFunctionsetCNP256
(dst wfscnp.UInt256, data []byte)
src/webfs/session.go:367
↓ 2 callersMethodsetlk
(ctx context.Context, owner uint64, lk *fuse.FileLock, flags uint32)
src/webfsfuse/webfsfuse.go:562
↓ 1 callersMethodCreateDirAt
CreateDirAt creates a new empty directory, and adds it to the parent.
src/webfs/dir.go:36
↓ 1 callersMethodDir
()
src/internal/wfscnp/webfs.capnp.go:335
↓ 1 callersMethodFile
()
src/internal/wfscnp/webfs.capnp.go:303
↓ 1 callersMethodGCSessions
GCSessions deletes sessions whose touchedAt + ttl has elapsed. A ttl of zero is treated as no expiry.
src/webfs/session.go:71
↓ 1 callersMethodGetModifiedAt
(ctx context.Context, ino INode)
src/webfs/fstx.go:182
↓ 1 callersMethodHasCreateAt
()
src/internal/wfscnp/webfs.capnp.go:727
↓ 1 callersMethodHasModifiedAt
()
src/internal/wfscnp/webfs.capnp.go:244
↓ 1 callersMethodListXAttrs
(ctx context.Context, ino INode)
src/webfs/xattrs.go:67
↓ 1 callersFunctionMain
()
src/wfscmd/rootcmd.go:24
↓ 1 callersMethodMarshal
(out []byte)
src/webfs/models.go:46
↓ 1 callersMethodMode
()
src/internal/wfscnp/webfs.capnp.go:279
↓ 1 callersFunctionNew
(mach *gdat.Machine, marshal bcsdk.Marshaler[T], parser bcsdk.Parser[T], size int)
src/internal/gdatcache/gdatcache.go:18
↓ 1 callersFunctionNewDir
(s *capnp.Segment)
src/internal/wfscnp/webfs.capnp.go:445
↓ 1 callersMethodNewEmpty
(ctx context.Context, txn *bcsdk.Tx, fp FSParams)
src/webfs/webfs.go:203
↓ 1 callersFunctionNewFile
(s *capnp.Segment)
src/internal/wfscnp/webfs.capnp.go:510
↓ 1 callersMethodNewFile
NewFile sets the file field to a newly allocated File struct, preferring placement in s's segment.
src/internal/wfscnp/webfs.capnp.go:325
↓ 1 callersFunctionNewRootLockState
(s *capnp.Segment)
src/internal/wfscnp/webfs.capnp.go:819
↓ 1 callersFunctionNewRootSession
(s *capnp.Segment)
src/internal/wfscnp/webfs.capnp.go:685
↓ 1 callersFunctionNewVolumeLink
(s *capnp.Segment)
src/internal/wfscnp/webfs.capnp.go:590
↓ 1 callersFunctionReadRootLockState
(msg *capnp.Message)
src/internal/wfscnp/webfs.capnp.go:824
↓ 1 callersFunctionReadRootNode
(msg *capnp.Message)
src/internal/wfscnp/webfs.capnp.go:183
↓ 1 callersFunctionReadRootSession
(msg *capnp.Message)
src/internal/wfscnp/webfs.capnp.go:690
↓ 1 callersMethodSetBlockSize
(v uint32)
src/internal/wfscnp/webfs.capnp.go:564
↓ 1 callersMethodSetHolder
(v []byte)
src/internal/wfscnp/webfs.capnp.go:865
↓ 1 callersMethodSetKind
(v uint16)
src/internal/wfscnp/webfs.capnp.go:873
↓ 1 callersMethodSetLength
(v uint64)
src/internal/wfscnp/webfs.capnp.go:889
↓ 1 callersMethodSetModifiedAt
(ctx context.Context, ino INode, t tai64.TAI64N)
src/webfs/fstx.go:196
↓ 1 callersMethodSetStart
(v uint64)
src/internal/wfscnp/webfs.capnp.go:881
↓ 1 callersMethodStatINode
(ctx context.Context, ino INode)
src/webfs/fstx.go:172
↓ 1 callersMethodUnmarshal
(ent gotkv.Entry)
src/webfs/file.go:481
↓ 1 callersMethodWrite
(ctx context.Context, fh fs.FileHandle, data []byte, off int64)
src/webfsfuse/webfsfuse.go:202
↓ 1 callersMethodaddLock
addLock assumes the write lock is held
src/webfs/locks.go:66
↓ 1 callersFunctioncopySession
(dst, src wfscnp.Session)
src/webfs/session.go:283
↓ 1 callersMethodcreateDir
createDir creates a new dir and returns the INode to it. createDir assumes a write lock.
src/webfs/dir.go:51
↓ 1 callersMethodcreateFile
createFile assumes the lock is held
src/webfs/file.go:70
↓ 1 callersMethoddeleteExtent
(ctx context.Context, ino INode, endAt uint64)
src/webfs/file.go:238
↓ 1 callersMethoddeleteLocksForSession
deleteLocksForSession assumes the lock is held
src/webfs/locks.go:140
↓ 1 callersMethoddeleteXAttrs
(ctx context.Context, ino INode)
src/webfs/xattrs.go:108
↓ 1 callersFunctionfileLockToWebfs
(lk *fuse.FileLock)
src/webfsfuse/webfsfuse.go:798
↓ 1 callersFunctionfuseIno
(ino webfs.INode)
src/webfsfuse/webfsfuse.go:716
↓ 1 callersFunctionfuseLockTypeFromWebfs
(kind webfs.LockKind)
src/webfsfuse/webfsfuse.go:847
← previousnext →101–200 of 416, ranked by callers