MCPcopy Create free account

hub / github.com/brendoncarroll/webfs / functions

Functions416 in github.com/brendoncarroll/webfs

↓ 201 callersMethodStruct
()
src/internal/wfscnp/webfs.capnp.go:500
↓ 26 callersMethodToPtr
()
src/internal/wfscnp/webfs.capnp.go:473
↓ 26 callersFunctiontoErrno
(err error)
src/webfsfuse/webfsfuse.go:779
↓ 18 callersMethodSegment
()
src/internal/wfscnp/webfs.capnp.go:484
↓ 18 callersMethodmodify
(ctx context.Context, fn func(*webfs.FSTx) error)
src/webfsfuse/txcoord.go:24
↓ 16 callersMethodMarshal
(out []byte)
src/webfs/file.go:28
↓ 13 callersMethodMessage
()
src/internal/wfscnp/webfs.capnp.go:480
↓ 13 callersMethodgetNode
getNode assumes the lock is held
src/webfs/fstx.go:117
↓ 13 callersFunctionrootINode
()
src/webfs/models.go:24
↓ 12 callersMethodRoot
()
src/webfsfuse/webfsfuse.go:80
↓ 12 callersFunctionmodify
(t testing.TB, sys *System, ctx context.Context, vcfg VolumeConfig, f func(tx *Tx) error)
src/webfs/webfs_test.go:527
↓ 10 callersMethodGet
(ctx context.Context, s bcsdk.RO, ref gdat.Ref)
src/internal/gdatcache/gdatcache.go:32
↓ 10 callersMethodPayload
()
src/internal/wfscnp/webfs.capnp.go:287
↓ 9 callersMethodCreateFileAt
(ctx context.Context, parent INode, name string, mode fs.FileMode, fp FileParams)
src/webfs/file.go:56
↓ 9 callersMethodFlush
Flush writes out the changes to the store and returns a new root.
src/webfs/fstx.go:80
↓ 9 callersMethodIsValid
()
src/internal/wfscnp/webfs.capnp.go:476
↓ 9 callersMethodputNode
putNode overwrites a node. It requires the lock.
src/webfs/fstx.go:146
↓ 9 callersFunctionsetupVol
(t testing.TB)
src/webfs/webfs_test.go:508
↓ 8 callersMethodDecodeFromPtr
(p capnp.Ptr)
src/internal/wfscnp/webfs.capnp.go:469
↓ 8 callersMethodEncodeAsPtr
(seg *capnp.Segment)
src/internal/wfscnp/webfs.capnp.go:465
↓ 8 callersMethodSetLock
(ctx context.Context, sessionID inet256.ID, owner uint64, ino INode, kind LockKind, start, length uint64)
src/webfs/locks.go:50
↓ 8 callersMethodWriteAt
WriteAt writes the contents of buf, starting at offset within the file.
src/webfs/file.go:352
↓ 8 callersMethodview
(ctx context.Context, fn func(*webfs.FSTx) error)
src/webfsfuse/txcoord.go:15
↓ 7 callersFunctionDefaultPKI
()
src/webfs/webfs.go:54
↓ 7 callersMethodDeriveSiging
()
src/webfs/webfs.go:45
↓ 7 callersMethodGetChild
GetChild looks for an entry in the directory at ino with name and returns it. If it does not exist than an ErrNotExist is returned
src/webfs/dir.go:273
↓ 7 callersFunctionNewSystem
(svc blobcache.Service, pki inet256.PKI)
src/webfs/webfs.go:74
↓ 7 callersMethodSetNanoseconds
(v uint32)
src/internal/wfscnp/webfs.capnp.go:125
↓ 7 callersMethodSetSeconds
(v uint64)
src/internal/wfscnp/webfs.capnp.go:117
↓ 7 callersMethodSetXAttr
(ctx context.Context, ino INode, key XAttrKey, value []byte)
src/webfs/xattrs.go:20
↓ 7 callersMethodensureSession
ensureSession assumes the lock is held
src/webfs/session.go:24
↓ 7 callersMethodrefreshStats
(ctx context.Context)
src/webfsfuse/webfsfuse.go:739
↓ 6 callersMethodError
()
src/webfs/error.go:14
↓ 6 callersMethodLockCount
()
src/internal/wfscnp/webfs.capnp.go:778
↓ 6 callersMethodReadAt
(ctx context.Context, ino INode, offset int64, buf []byte)
src/webfs/file.go:417
↓ 6 callersMethodUnmarshal
(data []byte)
src/webfs/file.go:34
↓ 6 callersFunctionappendRoot
(out []byte, root gotkv.Root)
src/webfs/models.go:119
↓ 6 callersMethodgetDir
getDir assumes the lock is held
src/webfs/dir.go:24
↓ 6 callersFunctionmakeDirEntKey
(out []byte, ino INode, name string)
src/webfs/dir.go:303
↓ 6 callersFunctionreadRoot
(data []byte)
src/webfs/models.go:123
↓ 6 callersFunctionrequireSessionValue
(t testing.TB, ctx context.Context, sys *System, tx *Tx, pubKey inet256.PublicKey, id inet256.ID)
src/webfs/webfs_test.go:455
↓ 5 callersMethodAbort
(ctx context.Context)
src/webfs/webfs.go:416
↓ 5 callersMethodGetMode
(ctx context.Context, ino INode)
src/webfs/file.go:150
↓ 5 callersMethodGetXAttr
(ctx context.Context, ino INode, key XAttrKey)
src/webfs/xattrs.go:35
↓ 5 callersMethodRead
(ctx context.Context, _ fs.FileHandle, dest []byte, off int64)
src/webfsfuse/webfsfuse.go:186
↓ 5 callersMethodSeconds
()
src/internal/wfscnp/webfs.capnp.go:113
↓ 5 callersMethodSize
()
src/internal/wfscnp/webfs.capnp.go:552
↓ 5 callersMethodStatFile
(ctx context.Context, ino INode)
src/webfs/file.go:182
↓ 5 callersMethodWhich
()
src/internal/wfscnp/webfs.capnp.go:289
↓ 5 callersFunctionfuseMode
(mode iofs.FileMode)
src/webfsfuse/webfsfuse.go:728
↓ 5 callersMethodgetChild
getChild assumes the lock is held.
src/webfs/dir.go:280
↓ 5 callersMethodgetFile
getFile assumes the lock is held
src/webfs/file.go:109
↓ 4 callersMethodFindConflictingLock
(ctx context.Context, ino INode, sessionID inet256.ID, owner uint64, kind LockKind, start, length uint64)
src/webfs/locks.go:59
↓ 4 callersMethodNanoseconds
()
src/internal/wfscnp/webfs.capnp.go:121
↓ 4 callersFunctionNewTAI64N
(s *capnp.Segment)
src/internal/wfscnp/webfs.capnp.go:71
↓ 4 callersMethodRefCount
()
src/internal/wfscnp/webfs.capnp.go:263
↓ 4 callersMethodSetRefCount
(v uint32)
src/internal/wfscnp/webfs.capnp.go:267
↓ 4 callersMethodStart
()
src/internal/wfscnp/webfs.capnp.go:877
↓ 4 callersMethodUnlink
(ctx context.Context, targets []blobcache.LinkTokenID)
src/webfs/fstx.go:21
↓ 4 callersFunctionextKey
(ino INode, endAt uint64)
src/webfs/file.go:209
↓ 4 callersMethodgetLock
getLock assumes the lock is held
src/webfs/locks.go:104
↓ 4 callersMethodgetSession
getSession reads and validates a session getSession assumes the lock is held
src/webfs/session.go:120
↓ 4 callersMethodnewChild
(ctx context.Context, ino webfs.INode, out *fuse.EntryOut)
src/webfsfuse/webfsfuse.go:688
↓ 4 callersFunctionnewService
()
src/wfscmd/rootcmd.go:216
↓ 4 callersFunctionopenSigned
openSigned verifies and returns a value from within a signed envelope
src/webfs/webfs.go:504
↓ 4 callersFunctionreadCNPTime
(t testing.TB, get func() (wfscnp.TAI64N, error))
src/webfs/webfs_test.go:465
↓ 4 callersFunctionsealSigned
sealSigned creates a new signed envelope and appends it to out.
src/webfs/webfs.go:529
↓ 4 callersFunctionsetCNPTime
(dst wfscnp.TAI64N, t tai64.TAI64N)
src/webfs/session.go:309
↓ 4 callersFunctionsetNodeMode
(node wfscnp.Node, mode fs.FileMode)
src/webfs/file.go:131
↓ 4 callersMethodsetSize
(sz uint64)
src/webfsfuse/webfsfuse.go:710
↓ 4 callersFunctionview
(t testing.TB, sys *System, ctx context.Context, vcfg VolumeConfig, f func(tx *Tx) error)
src/webfs/webfs_test.go:539
↓ 3 callersMethodCommit
(ctx context.Context)
src/webfs/webfs.go:424
↓ 3 callersMethodCreateAt
()
src/internal/wfscnp/webfs.capnp.go:722
↓ 3 callersMethodEnsureSession
(ctx context.Context, now tai64.TAI64N)
src/webfs/locks.go:37
↓ 3 callersMethodFQOID
()
src/webfs/webfs.go:50
↓ 3 callersMethodGenerateConfig
(fqoid blobcache.FQOID)
src/webfs/webfs.go:85
↓ 3 callersMethodGetLock
(ctx context.Context, ino INode, sessionID inet256.ID, owner uint64)
src/webfs/locks.go:44
↓ 3 callersMethodInitialize
Initialize initializes a new webfs filesystem in a volume using config. The volume must have an empty cell.
src/webfs/webfs.go:114
↓ 3 callersMethodKind
()
src/internal/wfscnp/webfs.capnp.go:869
↓ 3 callersMethodLength
()
src/internal/wfscnp/webfs.capnp.go:885
↓ 3 callersFunctionNew
(sys *webfs.System, pki inet256.PKI, rootCfg webfs.VolumeConfig)
src/webfsfuse/webfsfuse.go:68
↓ 3 callersMethodNewDir
NewDir sets the dir field to a newly allocated Dir struct, preferring placement in s's segment.
src/internal/wfscnp/webfs.capnp.go:357
↓ 3 callersMethodNewModifiedAt
NewModifiedAt sets the modifiedAt field to a newly allocated TAI64N struct, preferring placement in s's segment.
src/internal/wfscnp/webfs.capnp.go:254
↓ 3 callersFunctionNewRootNode
(s *capnp.Segment)
src/internal/wfscnp/webfs.capnp.go:178
↓ 3 callersMethodSessionExists
(ctx context.Context, id inet256.ID)
src/webfs/session.go:62
↓ 3 callersMethodSetSize
(v uint64)
src/internal/wfscnp/webfs.capnp.go:556
↓ 3 callersMethodTouchedAt
()
src/internal/wfscnp/webfs.capnp.go:754
↓ 3 callersFunctioncheckName
(name string)
src/webfs/dir.go:311
↓ 3 callersFunctioncheckXAttrKey
(key XAttrKey)
src/webfs/xattrs.go:101
↓ 3 callersMethodeditSession
editSession assumes the lock is held
src/webfs/session.go:157
↓ 3 callersFunctionfsErrNotExist
(err error)
src/webfs/locks.go:302
↓ 3 callersMethodgetMode
(ctx context.Context, ino INode)
src/webfs/file.go:156
↓ 3 callersMethodgetPKCache
(fqoid blobcache.FQOID, hashAlgo blobcache.HashAlgo)
src/webfs/webfs.go:257
↓ 3 callersMethodlink
(ctx context.Context, ino INode, name string, child INode)
src/webfs/dir.go:89
↓ 3 callersFunctionlocksConflict
(kindA LockKind, startA, lengthA uint64, kindB LockKind, startB, lengthB uint64)
src/webfs/locks.go:276
↓ 3 callersFunctionmakeLockKey
(out []byte, ino INode, sessionID inet256.ID, owner uint64)
src/webfs/locks.go:221
↓ 3 callersFunctionmakeXAttrKey
(out []byte, ino INode, key XAttrKey)
src/webfs/xattrs.go:95
↓ 3 callersFunctionputTestSession
(ctx context.Context, tx *Tx, privKey inet256.PrivateKey, touchedAt tai64.TAI64N, ttl uint32)
src/webfs/webfs_test.go:472
↓ 3 callersMethodstartAt
()
src/webfs/file.go:503
↓ 3 callersMethodwriteExtents
writeExtents writes data across as many extents as needed.
src/webfs/file.go:331
next →1–100 of 416, ranked by callers