Home
last modified time | relevance | path

Searched refs:nocow_locks (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/fs/bcachefs/
Dnocow_locking.c84 struct bch_fs *c = container_of(t, struct bch_fs, nocow_locks); in __bch2_bucket_nocow_lock()
129 struct bucket_nocow_lock_table *t = &c->nocow_locks; in bch2_fs_nocow_locking_exit()
138 struct bucket_nocow_lock_table *t = &c->nocow_locks; in bch2_fs_nocow_locking_init()
Ddata_update.c56 bch2_bucket_nocow_unlock(&c->nocow_locks, bucket, 0); in bkey_nocow_unlock()
72 (locked = bch2_bucket_nocow_trylock(&c->nocow_locks, bucket, 0)) || in bkey_nocow_lock()
76 bch2_bucket_nocow_lock(&c->nocow_locks, bucket, 0); in bkey_nocow_lock()
78 if (!bch2_bucket_nocow_trylock(&c->nocow_locks, bucket, 0)) { in bkey_nocow_lock()
85 bch2_bucket_nocow_unlock(&c->nocow_locks, bucket, 0); in bkey_nocow_lock()
Dio_write.c665 bch2_bucket_nocow_unlock(&c->nocow_locks, in bch2_write_endio()
1276 bucket_nocow_lock(&c->nocow_locks, bucket_to_u64(b)); in bch2_nocow_write()
1299 __bch2_bucket_nocow_lock(&c->nocow_locks, i->l, in bch2_nocow_write()
1378 bch2_bucket_nocow_unlock(&c->nocow_locks, i->b, BUCKET_NOCOW_LOCK_UPDATE); in bch2_nocow_write()
Dbcachefs.h966 nocow_locks; member
Dsysfs.c400 bch2_nocow_locks_to_text(out, &c->nocow_locks); in SHOW()
Dalloc_foreground.c234 if (bch2_bucket_nocow_is_locked(&c->nocow_locks, POS(ca->dev_idx, bucket))) { in __try_alloc_bucket()