- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 396 for projid (0.18 sec)
-
pkg/volume/util/fsquota/project.go
// now treat it as an idempotent operation return project.id, false, nil } idMap[project.id] = true } var needToAddProjid = true for _, projid := range list.projid { idMap[projid.id] = true if projid.id == id && id != common.BadQuotaID { needToAddProjid = false } } var err error if id == common.BadQuotaID { id, err = findAvailableQuota(path, idMap)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 20 14:49:03 UTC 2023 - 10.6K bytes - Viewed (0) -
pkg/volume/util/fsquota/quota_linux.go
} if !supportsQuotas { return nil } projid, err := GetQuotaOnDir(m, path) if err == nil && projid != common.BadQuotaID { // This means that we have a quota on the directory but // we can't clear it. That's not good. err = setQuotaOnDir(path, projid, 0) if err != nil { klog.V(3).Infof("Attempt to clear quota failed: %v", err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 07 08:07:51 UTC 2023 - 14.1K bytes - Viewed (0) -
pkg/volume/util/fsquota/quota_linux_test.go
` projidHeader = `# This is a /etc/projid header xxxxxx:1048579 ` projid1 = `volume1048577:1048577 ` projid2 = `volume1048577:1048577 volume1048580:1048580 ` projid3 = `volume1048577:1048577 volume1048580:1048580 volume1048581:1048581 ` projid4 = `volume1048577:1048577 volume1048581:1048581 ` projid5 = `volume1048581:1048581 ` )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 20.7K bytes - Viewed (0) -
src/runtime/os_linux.go
minitSignals() // Cgo-created threads and the bootstrap m are missing a // procid. We need this for asynchronous preemption and it's // useful in debuggers. getg().m.procid = uint64(gettid()) } // Called from dropm to undo the effect of an minit. // //go:nosplit func unminit() { unminitSignals() getg().m.procid = 0 } // Called from exitm, but not from drop, to undo the effect of thread-owned
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 25.9K bytes - Viewed (0) -
src/runtime/os_netbsd.go
atomic.Xadd(&mp.waitsemacount, 1) // From NetBSD's _lwp_unpark(2) manual: // "If the target LWP is not currently waiting, it will return // immediately upon the next call to _lwp_park()." ret := lwp_unpark(int32(mp.procid), unsafe.Pointer(&mp.waitsemacount)) if ret != 0 && ret != _ESRCH { // semawakeup can be called on signal stack. systemstack(func() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 10.1K bytes - Viewed (0) -
src/runtime/os_plan9.go
n := copy(buf[:], goexits) n = copy(buf[n:], gostringnocopy(status)) pid := getpid() for mp := (*m)(atomic.Loadp(unsafe.Pointer(&allm))); mp != nil; mp = mp.alllink { if mp.procid != 0 && mp.procid != pid { postnote(mp.procid, buf[:]) } } getg().m.locks-- } var procdir = []byte("/proc/") var notefile = []byte("/note\x00") func postnote(pid uint64, msg []byte) int { var buf [128]byte
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 10.3K bytes - Viewed (0) -
src/runtime/os_freebsd.go
if stack == nil { writeErrStr(failallocatestack) exit(1) } // This code "knows" it's being called once from the library // initialization code, and so it's using the static m0 for the // tls and procid (thread) pointers. thr_new() requires the tls // pointers, though the tid pointers can be nil. // However, newosproc0 is currently unreachable because builds // utilizing c-shared/c-archive force external linking.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 11.6K bytes - Viewed (0) -
src/crypto/internal/edwards25519/edwards25519.go
copy(buf[:], v.Bytes()) return buf[:] } // Conversions. func (v *projP2) FromP1xP1(p *projP1xP1) *projP2 { v.X.Multiply(&p.X, &p.T) v.Y.Multiply(&p.Y, &p.Z) v.Z.Multiply(&p.Z, &p.T) return v } func (v *projP2) FromP3(p *Point) *projP2 { v.X.Set(&p.x) v.Y.Set(&p.y) v.Z.Set(&p.z) return v } func (v *Point) fromP1xP1(p *projP1xP1) *Point {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 13 19:21:54 UTC 2023 - 10.3K bytes - Viewed (0) -
src/internal/trace/testtrace/validation.go
type Validator struct { lastTs trace.Time gs map[trace.GoID]*goState ps map[trace.ProcID]*procState ms map[trace.ThreadID]*schedContext ranges map[trace.ResourceID][]string tasks map[trace.TaskID]string seenSync bool Go121 bool } type schedContext struct { M trace.ThreadID P trace.ProcID G trace.GoID } type goState struct { state trace.GoState binding *schedContext }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 10.9K bytes - Viewed (0) -
src/runtime/lockrank_on.go
list := lockPartialOrder[rank] for _, entry := range list { if entry == prevRank { rankOK = true break } } } if !rankOK { printlock() println(gp.m.procid, " ======") printHeldLocks(gp) throw("lock ordering problem") } } // See comment on lockWithRank regarding stack splitting. func unlockWithRank(l *mutex) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 14:29:04 UTC 2024 - 10.6K bytes - Viewed (0)