Home
last modified time | relevance | path

Searched refs:existing (Results 1 – 16 of 16) sorted by relevance

/fs/btrfs/
A Ddelayed-ref.c645 spin_lock(&existing->lock); in update_existing_head_ref()
652 if (!existing->owning_root) in update_existing_head_ref()
675 if (!existing->extent_op) { in update_existing_head_ref()
707 if (existing->is_data) { in update_existing_head_ref()
710 existing->num_bytes); in update_existing_head_ref()
722 spin_unlock(&existing->lock); in update_existing_head_ref()
855 if (existing) { in add_delayed_ref_head()
862 head_ref = existing; in add_delayed_ref_head()
865 if (xa_is_err(existing)) { in add_delayed_ref_head()
868 return ERR_PTR(xa_err(existing)); in add_delayed_ref_head()
[all …]
A Dextent_map.c643 struct extent_map *existing, in merge_extent_mapping() argument
656 if (existing->start > map_start) { in merge_extent_mapping()
657 next = existing; in merge_extent_mapping()
660 prev = existing; in merge_extent_mapping()
716 struct extent_map *existing; in btrfs_add_extent_mapping() local
726 if (start >= existing->start && in btrfs_add_extent_mapping()
727 start < btrfs_extent_map_end(existing)) { in btrfs_add_extent_mapping()
729 *em_in = existing; in btrfs_add_extent_mapping()
739 ret = merge_extent_mapping(inode, existing, em, start); in btrfs_add_extent_mapping()
745 existing->start, btrfs_extent_map_end(existing), in btrfs_add_extent_mapping()
[all …]
A Dmisc.h124 static int rb_simple_node_bytenr_cmp(struct rb_node *new, const struct rb_node *existing) in rb_simple_node_bytenr_cmp() argument
127 struct rb_simple_node *existing_entry = rb_entry(existing, struct rb_simple_node, rb_node); in rb_simple_node_bytenr_cmp()
A Dulist.c162 static int ulist_node_val_cmp(struct rb_node *new, const struct rb_node *existing) in ulist_node_val_cmp() argument
166 return ulist_node_val_key_cmp(&unode->val, existing); in ulist_node_val_cmp()
A Dref-verify.c91 static int block_entry_bytenr_cmp(struct rb_node *new, const struct rb_node *existing) in block_entry_bytenr_cmp() argument
95 return block_entry_bytenr_key_cmp(&new_entry->bytenr, existing); in block_entry_bytenr_cmp()
128 static int root_entry_root_objectid_cmp(struct rb_node *new, const struct rb_node *existing) in root_entry_root_objectid_cmp() argument
132 return root_entry_root_objectid_key_cmp(&new_entry->root_objectid, existing); in root_entry_root_objectid_cmp()
165 static int ref_entry_cmp(struct rb_node *new, const struct rb_node *existing) in ref_entry_cmp() argument
168 struct ref_entry *existing_entry = rb_entry(existing, struct ref_entry, node); in ref_entry_cmp()
A Dqgroup.c186 static int btrfs_qgroup_qgroupid_cmp(struct rb_node *new, const struct rb_node *existing) in btrfs_qgroup_qgroupid_cmp() argument
190 return btrfs_qgroup_qgroupid_key_cmp(&new_qgroup->qgroupid, existing); in btrfs_qgroup_qgroupid_cmp()
1974 struct btrfs_qgroup_extent_record *existing, *ret; in btrfs_qgroup_trace_extent_nolock() local
1993 existing = xa_load(&delayed_refs->dirty_extents, index); in btrfs_qgroup_trace_extent_nolock()
1994 if (existing) { in btrfs_qgroup_trace_extent_nolock()
1995 if (record->data_rsv && !existing->data_rsv) { in btrfs_qgroup_trace_extent_nolock()
1996 existing->data_rsv = record->data_rsv; in btrfs_qgroup_trace_extent_nolock()
1997 existing->data_rsv_refroot = record->data_rsv_refroot; in btrfs_qgroup_trace_extent_nolock()
4677 static int qgroup_swapped_block_bytenr_cmp(struct rb_node *new, const struct rb_node *existing) in qgroup_swapped_block_bytenr_cmp() argument
4682 return qgroup_swapped_block_bytenr_key_cmp(&new_block->subvol_bytenr, existing); in qgroup_swapped_block_bytenr_cmp()
A Ddefrag.c63 static int inode_defrag_cmp(struct rb_node *new, const struct rb_node *existing) in inode_defrag_cmp() argument
66 const struct inode_defrag *existing_defrag = rb_entry(existing, struct inode_defrag, rb_node); in inode_defrag_cmp()
A Dtree-log.c678 struct btrfs_file_extent_item existing; in replay_one_extent() local
682 read_extent_buffer(path->nodes[0], &existing, ptr, sizeof(existing)); in replay_one_extent()
688 if (memcmp_extent_buffer(eb, &existing, (unsigned long)item, in replay_one_extent()
689 sizeof(existing)) == 0) { in replay_one_extent()
A Dinode.c3840 struct btrfs_inode *existing; in btrfs_add_inode_to_root() local
3853 existing = xa_store(&root->inodes, ino, inode, GFP_ATOMIC); in btrfs_add_inode_to_root()
3855 if (xa_is_err(existing)) { in btrfs_add_inode_to_root()
3856 ret = xa_err(existing); in btrfs_add_inode_to_root()
3860 } else if (existing) { in btrfs_add_inode_to_root()
3861 WARN_ON(!(existing->vfs_inode.i_state & (I_WILL_FREE | I_FREEING))); in btrfs_add_inode_to_root()
/fs/ocfs2/
A Dstack_user.c754 static int fs_protocol_compare(struct ocfs2_protocol_version *existing, in fs_protocol_compare() argument
757 if (existing->pv_major != request->pv_major) in fs_protocol_compare()
760 if (existing->pv_minor > request->pv_minor) in fs_protocol_compare()
763 if (existing->pv_minor < request->pv_minor) in fs_protocol_compare()
764 request->pv_minor = existing->pv_minor; in fs_protocol_compare()
/fs/ocfs2/dlm/
A Ddlmcommon.h1046 static inline int dlm_lock_compatible(int existing, int request) in dlm_lock_compatible() argument
1050 existing == LKM_NLMODE) in dlm_lock_compatible()
1058 if (existing == LKM_PRMODE) in dlm_lock_compatible()
A Ddlmdomain.c140 static int dlm_protocol_compare(struct dlm_protocol_version *existing,
2074 static int dlm_protocol_compare(struct dlm_protocol_version *existing, in dlm_protocol_compare() argument
2077 if (existing->pv_major != request->pv_major) in dlm_protocol_compare()
2080 if (existing->pv_minor > request->pv_minor) in dlm_protocol_compare()
2083 if (existing->pv_minor < request->pv_minor) in dlm_protocol_compare()
2084 request->pv_minor = existing->pv_minor; in dlm_protocol_compare()
/fs/ubifs/
A DKconfig27 existing file systems.
/fs/jffs2/
A DKconfig107 compressors can mean you cannot read existing file systems,
A DREADME.Locking5 This document attempts to describe the existing locking rules for
/fs/configfs/
A Ddir.c240 const unsigned char *existing = configfs_get_name(sd); in configfs_dirent_exists() local
241 if (strcmp(existing, new)) in configfs_dirent_exists()

Completed in 73 milliseconds