Home
last modified time | relevance | path

Searched refs:action (Results 1 – 22 of 22) 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
621 ra->action, ra->root, ra->ref.root_objectid, ra->ref.parent, in dump_ref_action()
676 int action = generic_ref->action; in btrfs_ref_tree_mod() local
716 ref->num_refs = (action == BTRFS_DROP_DELAYED_REF) ? -1 : 1; in btrfs_ref_tree_mod()
731 ra->action = action; in btrfs_ref_tree_mod()
739 if (action == BTRFS_ADD_DELAYED_EXTENT) { in btrfs_ref_tree_mod()
797 action, (unsigned long long)bytenr, in btrfs_ref_tree_mod()
816 if (action == BTRFS_DROP_DELAYED_REF) { in btrfs_ref_tree_mod()
842 if (action == BTRFS_DROP_DELAYED_REF) { in btrfs_ref_tree_mod()
869 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.c1378 generic_ref->action); in btrfs_inc_extent_ref()
1504 trace_run_delayed_data_ref(trans->fs_info, node, ref, node->action); in run_delayed_data_ref()
1510 if (node->action == BTRFS_ADD_DELAYED_REF && insert_reserved) { in run_delayed_data_ref()
1517 } else if (node->action == BTRFS_ADD_DELAYED_REF) { in run_delayed_data_ref()
1521 } else if (node->action == BTRFS_DROP_DELAYED_REF) { in run_delayed_data_ref()
1648 trace_run_delayed_tree_ref(trans->fs_info, node, ref, node->action); in run_delayed_tree_ref()
1657 node->bytenr, node->ref_mod, node->action, ref_root, in run_delayed_tree_ref()
1661 if (node->action == BTRFS_ADD_DELAYED_REF && insert_reserved) { in run_delayed_tree_ref()
1664 } else if (node->action == BTRFS_ADD_DELAYED_REF) { in run_delayed_tree_ref()
1667 } else if (node->action == BTRFS_DROP_DELAYED_REF) { in run_delayed_tree_ref()
[all …]
Ddelayed-inode.c400 int action) in __btrfs_add_delayed_item() argument
409 if (action == BTRFS_DELAYED_INSERTION_ITEM) in __btrfs_add_delayed_item()
411 else if (action == BTRFS_DELAYED_DELETION_ITEM) in __btrfs_add_delayed_item()
437 ins->ins_or_del = action; in __btrfs_add_delayed_item()
440 action == BTRFS_DELAYED_INSERTION_ITEM && in __btrfs_add_delayed_item()
Dsysfs.c1001 void btrfs_kobject_uevent(struct block_device *bdev, enum kobject_action action) in btrfs_kobject_uevent() argument
1005 ret = kobject_uevent(&disk_to_dev(bdev->bd_disk)->kobj, action); in btrfs_kobject_uevent()
1008 action, kobject_name(&disk_to_dev(bdev->bd_disk)->kobj), in btrfs_kobject_uevent()
Dbackref.c782 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()
972 int action = 0; in xfs_da3_join() local
997 error = xfs_attr3_leaf_toosmall(state, &action); in xfs_da3_join()
1000 if (action == 0) in xfs_da3_join()
1005 error = xfs_dir2_leafn_toosmall(state, &action); in xfs_da3_join()
1008 if (action == 0) in xfs_da3_join()
1019 error = xfs_da3_node_toosmall(state, &action); in xfs_da3_join()
1022 if (action == 0) in xfs_da3_join()
[all …]
Dxfs_dir2_priv.h97 extern int xfs_dir2_leafn_toosmall(struct xfs_da_state *state, int *action);
Dxfs_attr_leaf.c1860 int *action) in xfs_attr3_leaf_toosmall() argument
1887 *action = 0; /* blk over 50%, don't try to join */ in xfs_attr3_leaf_toosmall()
1909 *action = 0; in xfs_attr3_leaf_toosmall()
1911 *action = 2; in xfs_attr3_leaf_toosmall()
1952 *action = 0; in xfs_attr3_leaf_toosmall()
1971 *action = 0; in xfs_attr3_leaf_toosmall()
1973 *action = 1; in xfs_attr3_leaf_toosmall()
Dxfs_dir2_node.c1424 int *action) /* resulting action to take */ in xfs_dir2_leafn_toosmall() argument
1457 *action = 0; in xfs_dir2_leafn_toosmall()
1477 *action = rval ? 2 : 0; in xfs_dir2_leafn_toosmall()
1526 *action = 0; in xfs_dir2_leafn_toosmall()
1544 *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.c586 unsigned long action, void *arg) in kcore_callback() argument
588 switch (action) { in kcore_callback()
Darray.c257 k = p->sighand->action; in collect_sigign_sigcatch()
/fs/sdcardfs/
Dsuper.c286 unsigned long action, void *data) in sdcardfs_on_fscrypt_key_removed() argument
Dsdcardfs.h156 unsigned long action, void *data);
/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.h510 struct dentry *dentry, char action,
Dmds_client.c3896 ceph_lease_op_name(h->action), vino.ino, inode, in handle_lease()
3922 switch (h->action) { in handle_lease()
3956 h->action = CEPH_MDS_LEASE_REVOKE_ACK; in handle_lease()
3972 struct dentry *dentry, char action, in ceph_mdsc_lease_send_msg() argument
3981 dentry, ceph_lease_op_name(action), session->s_mds); in ceph_mdsc_lease_send_msg()
3987 lease->action = action; in ceph_mdsc_lease_send_msg()
4004 msg->more_to_follow = (action == CEPH_MDS_LEASE_RELEASE); in ceph_mdsc_lease_send_msg()
/fs/
Dexec.c1205 memcpy(newsighand->action, oldsighand->action, in de_thread()
1206 sizeof(newsighand->action)); in de_thread()