| /fs/bcachefs/ |
| A D | sysfs.c | 377 enumerated_ref_to_text(out, &c->writes, bch2_write_refs); in SHOW() 410 if (!enumerated_ref_tryget(&c->writes, BCH_WRITE_REF_sysfs)) in STORE() 492 enumerated_ref_put(&c->writes, BCH_WRITE_REF_sysfs); in STORE() 658 if (unlikely(!enumerated_ref_tryget(&c->writes, BCH_WRITE_REF_sysfs))) in sysfs_opt_store() 696 enumerated_ref_put(&c->writes, BCH_WRITE_REF_sysfs); in sysfs_opt_store()
|
| A D | btree_write_buffer.c | 634 if (!enumerated_ref_tryget(&c->writes, BCH_WRITE_REF_btree_write_buffer)) in bch2_btree_write_buffer_tryflush() 638 enumerated_ref_put(&c->writes, BCH_WRITE_REF_btree_write_buffer); in bch2_btree_write_buffer_tryflush() 700 enumerated_ref_put(&c->writes, BCH_WRITE_REF_btree_write_buffer); in bch2_btree_write_buffer_flush_work() 829 __enumerated_ref_tryget(&c->writes, BCH_WRITE_REF_btree_write_buffer) && in bch2_journal_keys_to_write_buffer_end() 831 enumerated_ref_put(&c->writes, BCH_WRITE_REF_btree_write_buffer); in bch2_journal_keys_to_write_buffer_end()
|
| A D | btree_types.h | 104 struct btree_write writes[2]; member 676 return b->writes + btree_node_write_idx(b); in btree_current_write() 681 return b->writes + (btree_node_write_idx(b) ^ 1); in btree_prev_write()
|
| A D | recovery_passes.c | 277 if (!enumerated_ref_tryget(&c->writes, BCH_WRITE_REF_async_recovery_passes)) in bch2_run_async_recovery_passes() 283 enumerated_ref_put(&c->writes, BCH_WRITE_REF_async_recovery_passes); in bch2_run_async_recovery_passes() 580 enumerated_ref_put(&c->writes, BCH_WRITE_REF_async_recovery_passes); in bch2_async_recovery_passes_work()
|
| A D | alloc_types.h | 107 struct list_head writes; member
|
| A D | alloc_background.c | 1396 enumerated_ref_put(&w->c->writes, BCH_WRITE_REF_check_discard_freespace_key); in check_discard_freespace_key_work() 1478 if (!enumerated_ref_tryget(&c->writes, BCH_WRITE_REF_check_discard_freespace_key)) { in bch2_check_discard_freespace_key() 1961 enumerated_ref_put(&c->writes, BCH_WRITE_REF_discard); in bch2_do_discards_work() 1968 if (!enumerated_ref_tryget(&c->writes, BCH_WRITE_REF_discard)) in bch2_dev_do_discards() 1979 enumerated_ref_put(&c->writes, BCH_WRITE_REF_discard); in bch2_dev_do_discards() 2056 enumerated_ref_put(&c->writes, BCH_WRITE_REF_discard_fast); in bch2_do_discards_fast_work() 2066 if (!enumerated_ref_tryget(&c->writes, BCH_WRITE_REF_discard_fast)) in bch2_discard_one_bucket_fast() 2077 enumerated_ref_put(&c->writes, BCH_WRITE_REF_discard_fast); in bch2_discard_one_bucket_fast() 2274 enumerated_ref_put(&c->writes, BCH_WRITE_REF_invalidate); in bch2_do_invalidates_work() 2281 if (!enumerated_ref_tryget(&c->writes, BCH_WRITE_REF_invalidate)) in bch2_dev_do_invalidates() [all …]
|
| A D | debug.c | 489 &b->writes[0].journal, b->writes[0].journal.seq); in bch2_cached_btree_node_to_text() 491 &b->writes[1].journal, b->writes[1].journal.seq); in bch2_cached_btree_node_to_text()
|
| A D | fs-io-direct.c | 405 enumerated_ref_put(&c->writes, BCH_WRITE_REF_dio_write); in bch2_dio_write_done() 610 if (!enumerated_ref_tryget(&c->writes, BCH_WRITE_REF_dio_write)) in bch2_direct_write() 679 enumerated_ref_put(&c->writes, BCH_WRITE_REF_dio_write); in bch2_direct_write()
|
| A D | chardev.c | 322 enumerated_ref_put(&ctx->c->writes, BCH_WRITE_REF_ioctl_data); in bch2_data_thread() 382 if (!enumerated_ref_tryget(&c->writes, BCH_WRITE_REF_ioctl_data)) in bch2_ioctl_data() 413 enumerated_ref_put(&c->writes, BCH_WRITE_REF_ioctl_data); in bch2_ioctl_data()
|
| A D | subvolume.c | 537 enumerated_ref_put(&c->writes, BCH_WRITE_REF_snapshot_delete_pagecache); in bch2_subvolume_wait_for_pagecache_and_delete() 560 if (!enumerated_ref_tryget(&c->writes, BCH_WRITE_REF_snapshot_delete_pagecache)) in bch2_subvolume_wait_for_pagecache_and_delete_hook() 564 enumerated_ref_put(&c->writes, BCH_WRITE_REF_snapshot_delete_pagecache); in bch2_subvolume_wait_for_pagecache_and_delete_hook()
|
| A D | btree_trans_commit.c | 234 struct btree *b = container_of(w, struct btree, writes[i]); in __btree_node_flush() 237 unsigned idx = w - b->writes; in __btree_node_flush() 1028 unlikely(!enumerated_ref_tryget(&c->writes, BCH_WRITE_REF_trans))) { in __bch2_trans_commit() 1096 enumerated_ref_put(&c->writes, BCH_WRITE_REF_trans); in __bch2_trans_commit()
|
| A D | fs-io.c | 225 if (!enumerated_ref_tryget(&c->writes, BCH_WRITE_REF_fsync)) in bch2_flush_inode() 233 enumerated_ref_put(&c->writes, BCH_WRITE_REF_fsync); in bch2_flush_inode() 824 if (!enumerated_ref_tryget(&c->writes, BCH_WRITE_REF_fallocate)) in bch2_fallocate_dispatch() 848 enumerated_ref_put(&c->writes, BCH_WRITE_REF_fallocate); in bch2_fallocate_dispatch()
|
| A D | super.c | 321 static void bch2_writes_disabled(struct enumerated_ref *writes) in bch2_writes_disabled() argument 323 struct bch_fs *c = container_of(writes, struct bch_fs, writes); in bch2_writes_disabled() 345 enumerated_ref_stop_async(&c->writes); in bch2_fs_read_only() 530 enumerated_ref_start(&c->writes); in __bch2_fs_read_write() 641 enumerated_ref_exit(&c->writes); in __bch2_fs_free() 979 enumerated_ref_init(&c->writes, BCH_WRITE_REF_NR, in bch2_fs_alloc()
|
| A D | io_write.c | 549 enumerated_ref_put(&c->writes, BCH_WRITE_REF_write); in bch2_write_done() 664 !list_empty(&wp->writes) ? WRITE_POINT_waiting_io in wp_update_state() 684 list_add_tail(&op->wp_list, &wp->writes); in CLOSURE_CALLBACK() 709 op = list_pop_entry(&wp->writes, struct bch_write_op, wp_list); in bch2_write_point_do_index_updates() 1704 !enumerated_ref_tryget(&c->writes, BCH_WRITE_REF_write)) { in CLOSURE_CALLBACK()
|
| A D | ec.c | 1022 enumerated_ref_put(&c->writes, BCH_WRITE_REF_stripe_delete); in ec_stripe_delete_work() 1027 if (enumerated_ref_tryget(&c->writes, BCH_WRITE_REF_stripe_delete) && in bch2_do_stripe_deletes() 1029 enumerated_ref_put(&c->writes, BCH_WRITE_REF_stripe_delete); in bch2_do_stripe_deletes() 1424 enumerated_ref_put(&c->writes, BCH_WRITE_REF_stripe_create); in ec_stripe_create_work() 1429 enumerated_ref_get(&c->writes, BCH_WRITE_REF_stripe_create); in bch2_ec_do_stripe_creates() 1432 enumerated_ref_put(&c->writes, BCH_WRITE_REF_stripe_create); in bch2_ec_do_stripe_creates()
|
| A D | btree_gc.c | 1291 enumerated_ref_put(&c->writes, BCH_WRITE_REF_gc_gens); in bch2_gc_gens_work() 1296 if (enumerated_ref_tryget(&c->writes, BCH_WRITE_REF_gc_gens) && in bch2_gc_gens_async() 1298 enumerated_ref_put(&c->writes, BCH_WRITE_REF_gc_gens); in bch2_gc_gens_async()
|
| A D | reflink.c | 616 if (!enumerated_ref_tryget(&c->writes, BCH_WRITE_REF_reflink)) in bch2_remap_range() 768 enumerated_ref_put(&c->writes, BCH_WRITE_REF_reflink); in bch2_remap_range()
|
| A D | io_read.c | 173 enumerated_ref_put(&c->writes, BCH_WRITE_REF_promote); in promote_free() 238 if (!enumerated_ref_tryget(&c->writes, BCH_WRITE_REF_promote)) in __promote_alloc() 289 enumerated_ref_put(&c->writes, BCH_WRITE_REF_promote); in __promote_alloc()
|
| A D | snapshot.c | 1929 enumerated_ref_put(&c->writes, BCH_WRITE_REF_delete_dead_snapshots); in bch2_delete_dead_snapshots_work() 1937 if (!enumerated_ref_tryget(&c->writes, BCH_WRITE_REF_delete_dead_snapshots)) in bch2_delete_dead_snapshots_async() 1943 enumerated_ref_put(&c->writes, BCH_WRITE_REF_delete_dead_snapshots); in bch2_delete_dead_snapshots_async()
|
| /fs/gfs2/ |
| A D | Kconfig | 14 and writes to the block device like a local filesystem, but also uses
|
| /fs/ubifs/ |
| A D | Kconfig | 59 which means that file-system read operations will cause writes (inode atime
|
| /fs/orangefs/ |
| A D | orangefs-kernel.h | 218 unsigned long writes; member
|
| A D | file.c | 364 orangefs_stats.writes++; in orangefs_file_write_iter()
|
| A D | orangefs-sysfs.c | 261 orangefs_stats.writes); in sysfs_int_show() 1140 __ATTR(writes,
|
| /fs/ |
| A D | Kconfig | 402 writes to the local NFS server.
|