Home
last modified time | relevance | path

Searched refs:action (Results 1 – 20 of 20) sorted by relevance

/fs/btrfs/
Ddelayed-ref.c450 if (ref->action == next->action) { in merge_ref()
611 if (exist->action == ref->action) { in insert_delayed_ref()
616 exist->action = ref->action; in insert_delayed_ref()
619 if (ref->action == BTRFS_ADD_DELAYED_REF) in insert_delayed_ref()
622 else if (ref->action == BTRFS_DROP_DELAYED_REF) { in insert_delayed_ref()
639 if (ref->action == BTRFS_ADD_DELAYED_REF) in insert_delayed_ref()
734 u64 reserved, int action, bool is_data, in init_delayed_ref_head() argument
747 if (action == BTRFS_UPDATE_DELAYED_HEAD) in init_delayed_ref_head()
749 else if (action == BTRFS_DROP_DELAYED_REF) in init_delayed_ref_head()
762 if (action == BTRFS_ADD_DELAYED_EXTENT) in init_delayed_ref_head()
[all …]
Ddelayed-ref.h49 unsigned int action:8; member
224 int action; member
265 int action, u64 bytenr, u64 len, u64 parent) in btrfs_init_generic_ref() argument
267 generic_ref->action = action; in btrfs_init_generic_ref()
Dref-verify.c49 int action; member
623 ra->action, ra->root, ra->ref.root_objectid, ra->ref.parent, in dump_ref_action()
678 int action = generic_ref->action; in btrfs_ref_tree_mod() local
718 ref->num_refs = (action == BTRFS_DROP_DELAYED_REF) ? -1 : 1; in btrfs_ref_tree_mod()
733 ra->action = action; in btrfs_ref_tree_mod()
741 if (action == BTRFS_ADD_DELAYED_EXTENT) { in btrfs_ref_tree_mod()
802 action, (unsigned long long)bytenr, in btrfs_ref_tree_mod()
821 if (action == BTRFS_DROP_DELAYED_REF) { in btrfs_ref_tree_mod()
849 if (action == BTRFS_DROP_DELAYED_REF) { in btrfs_ref_tree_mod()
877 if (action == BTRFS_DROP_DELAYED_REF) { in btrfs_ref_tree_mod()
[all …]
Dsysfs.h29 void btrfs_kobject_uevent(struct block_device *bdev, enum kobject_action action);
Dextent-tree.c1409 generic_ref->action); in btrfs_inc_extent_ref()
1535 trace_run_delayed_data_ref(trans->fs_info, node, ref, node->action); in run_delayed_data_ref()
1541 if (node->action == BTRFS_ADD_DELAYED_REF && insert_reserved) { in run_delayed_data_ref()
1548 } else if (node->action == BTRFS_ADD_DELAYED_REF) { in run_delayed_data_ref()
1552 } else if (node->action == BTRFS_DROP_DELAYED_REF) { in run_delayed_data_ref()
1679 trace_run_delayed_tree_ref(trans->fs_info, node, ref, node->action); in run_delayed_tree_ref()
1688 node->bytenr, node->ref_mod, node->action, ref_root, in run_delayed_tree_ref()
1692 if (node->action == BTRFS_ADD_DELAYED_REF && insert_reserved) { in run_delayed_tree_ref()
1695 } else if (node->action == BTRFS_ADD_DELAYED_REF) { in run_delayed_tree_ref()
1698 } else if (node->action == BTRFS_DROP_DELAYED_REF) { in run_delayed_tree_ref()
[all …]
Ddelayed-inode.c401 int action) in __btrfs_add_delayed_item() argument
410 if (action == BTRFS_DELAYED_INSERTION_ITEM) in __btrfs_add_delayed_item()
412 else if (action == BTRFS_DELAYED_DELETION_ITEM) in __btrfs_add_delayed_item()
438 ins->ins_or_del = action; in __btrfs_add_delayed_item()
441 action == BTRFS_DELAYED_INSERTION_ITEM && in __btrfs_add_delayed_item()
Dsysfs.c1004 void btrfs_kobject_uevent(struct block_device *bdev, enum kobject_action action) in btrfs_kobject_uevent() argument
1008 ret = kobject_uevent(&disk_to_dev(bdev->bd_disk)->kobj, action); in btrfs_kobject_uevent()
1011 action, kobject_name(&disk_to_dev(bdev->bd_disk)->kobj), in btrfs_kobject_uevent()
Dbackref.c850 switch (node->action) { in add_delayed_refs()
/fs/xfs/libxfs/
Dxfs_da_btree.c387 int action = 0; in xfs_da3_split() local
454 max - i, &action); in xfs_da3_split()
461 if (action) in xfs_da3_split()
974 int action = 0; in xfs_da3_join() local
999 error = xfs_attr3_leaf_toosmall(state, &action); in xfs_da3_join()
1002 if (action == 0) in xfs_da3_join()
1007 error = xfs_dir2_leafn_toosmall(state, &action); in xfs_da3_join()
1010 if (action == 0) in xfs_da3_join()
1021 error = xfs_da3_node_toosmall(state, &action); in xfs_da3_join()
1024 if (action == 0) in xfs_da3_join()
[all …]
Dxfs_dir2_priv.h116 extern int xfs_dir2_leafn_toosmall(struct xfs_da_state *state, int *action);
Dxfs_attr_leaf.c1863 int *action) in xfs_attr3_leaf_toosmall() argument
1890 *action = 0; /* blk over 50%, don't try to join */ in xfs_attr3_leaf_toosmall()
1912 *action = 0; in xfs_attr3_leaf_toosmall()
1914 *action = 2; in xfs_attr3_leaf_toosmall()
1955 *action = 0; in xfs_attr3_leaf_toosmall()
1974 *action = 0; in xfs_attr3_leaf_toosmall()
1976 *action = 1; in xfs_attr3_leaf_toosmall()
Dxfs_dir2_node.c1431 int *action) /* resulting action to take */ in xfs_dir2_leafn_toosmall() argument
1464 *action = 0; in xfs_dir2_leafn_toosmall()
1484 *action = rval ? 2 : 0; in xfs_dir2_leafn_toosmall()
1533 *action = 0; in xfs_dir2_leafn_toosmall()
1551 *action = rval ? 0 : 1; in xfs_dir2_leafn_toosmall()
/fs/reiserfs/
Dxattr.c239 int (*action)(struct dentry *, void *), in reiserfs_for_each_xattr()
278 err = action(dentry, data); in reiserfs_for_each_xattr()
311 err = action(dir, data); in reiserfs_for_each_xattr()
/fs/proc/
Dkcore.c584 unsigned long action, void *arg) in kcore_callback() argument
586 switch (action) { in kcore_callback()
Darray.c257 k = p->sighand->action; in collect_sigign_sigcatch()
/fs/ubifs/
Ddebug.h278 int dbg_chk_lpt_sz(struct ubifs_info *c, int action, int len);
Dlpt_commit.c1744 int dbg_chk_lpt_sz(struct ubifs_info *c, int action, int len) in dbg_chk_lpt_sz() argument
1753 switch (action) { in dbg_chk_lpt_sz()
/fs/ceph/
Dmds_client.h524 struct dentry *dentry, char action,
Dmds_client.c3894 ceph_lease_op_name(h->action), vino.ino, inode, in handle_lease()
3920 switch (h->action) { in handle_lease()
3954 h->action = CEPH_MDS_LEASE_REVOKE_ACK; in handle_lease()
3970 struct dentry *dentry, char action, in ceph_mdsc_lease_send_msg() argument
3979 dentry, ceph_lease_op_name(action), session->s_mds); in ceph_mdsc_lease_send_msg()
3985 lease->action = action; in ceph_mdsc_lease_send_msg()
4002 msg->more_to_follow = (action == CEPH_MDS_LEASE_RELEASE); in ceph_mdsc_lease_send_msg()
/fs/
Dexec.c1228 memcpy(newsighand->action, oldsighand->action, in de_thread()
1229 sizeof(newsighand->action)); in de_thread()