Home
last modified time | relevance | path

Searched refs:writes (Results 1 – 25 of 32) sorted by relevance

12

/fs/bcachefs/
A Dsysfs.c377 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 Dbtree_write_buffer.c634 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 Dbtree_types.h104 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 Drecovery_passes.c277 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 Dalloc_types.h107 struct list_head writes; member
A Dalloc_background.c1396 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 Ddebug.c489 &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 Dfs-io-direct.c405 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 Dchardev.c322 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 Dsubvolume.c537 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 Dbtree_trans_commit.c234 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 Dfs-io.c225 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 Dsuper.c321 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 Dio_write.c549 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 Dec.c1022 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 Dbtree_gc.c1291 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 Dreflink.c616 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 Dio_read.c173 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 Dsnapshot.c1929 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 DKconfig14 and writes to the block device like a local filesystem, but also uses
/fs/ubifs/
A DKconfig59 which means that file-system read operations will cause writes (inode atime
/fs/orangefs/
A Dorangefs-kernel.h218 unsigned long writes; member
A Dfile.c364 orangefs_stats.writes++; in orangefs_file_write_iter()
A Dorangefs-sysfs.c261 orangefs_stats.writes); in sysfs_int_show()
1140 __ATTR(writes,
/fs/
A DKconfig402 writes to the local NFS server.

Completed in 58 milliseconds

12