Searched refs:nocow_locks (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/fs/bcachefs/ |
D | nocow_locking.c | 84 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()
|
D | data_update.c | 56 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()
|
D | io_write.c | 665 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()
|
D | bcachefs.h | 966 nocow_locks; member
|
D | sysfs.c | 400 bch2_nocow_locks_to_text(out, &c->nocow_locks); in SHOW()
|
D | alloc_foreground.c | 234 if (bch2_bucket_nocow_is_locked(&c->nocow_locks, POS(ca->dev_idx, bucket))) { in __try_alloc_bucket()
|