Home
last modified time | relevance | path

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

/fs/btrfs/
Ddelayed-ref.c638 struct btrfs_delayed_ref_head *existing, in update_existing_head_ref() argument
646 BUG_ON(existing->is_data != update->is_data); in update_existing_head_ref()
648 spin_lock(&existing->lock); in update_existing_head_ref()
657 existing->must_insert_reserved = update->must_insert_reserved; in update_existing_head_ref()
663 existing->num_bytes = update->num_bytes; in update_existing_head_ref()
668 if (!existing->extent_op) { in update_existing_head_ref()
669 existing->extent_op = update->extent_op; in update_existing_head_ref()
672 memcpy(&existing->extent_op->key, in update_existing_head_ref()
675 existing->extent_op->update_key = true; in update_existing_head_ref()
678 existing->extent_op->flags_to_set |= in update_existing_head_ref()
[all …]
Dextent_map.c544 struct extent_map *existing, in merge_extent_mapping() argument
556 if (existing->start > map_start) { in merge_extent_mapping()
557 next = existing; in merge_extent_mapping()
560 prev = existing; in merge_extent_mapping()
613 struct extent_map *existing; in btrfs_add_extent_mapping() local
617 existing = search_extent_mapping(em_tree, start, len); in btrfs_add_extent_mapping()
619 trace_btrfs_handle_em_exist(fs_info, existing, em, start, len); in btrfs_add_extent_mapping()
625 if (start >= existing->start && in btrfs_add_extent_mapping()
626 start < extent_map_end(existing)) { in btrfs_add_extent_mapping()
628 *em_in = existing; in btrfs_add_extent_mapping()
[all …]
Dscrub.c423 struct full_stripe_lock *existing; in lock_full_stripe() local
443 existing = insert_full_stripe_lock(locks_root, fstripe_start); in lock_full_stripe()
445 if (IS_ERR(existing)) { in lock_full_stripe()
446 ret = PTR_ERR(existing); in lock_full_stripe()
449 mutex_lock(&existing->mutex); in lock_full_stripe()
Dtree-log.c674 struct btrfs_file_extent_item *existing; in replay_one_extent() local
678 existing = btrfs_item_ptr(leaf, path->slots[0], in replay_one_extent()
683 read_extent_buffer(leaf, &cmp2, (unsigned long)existing, in replay_one_extent()
/fs/ocfs2/
Dstack_user.c773 static int fs_protocol_compare(struct ocfs2_protocol_version *existing, in fs_protocol_compare() argument
776 if (existing->pv_major != request->pv_major) in fs_protocol_compare()
779 if (existing->pv_minor > request->pv_minor) in fs_protocol_compare()
782 if (existing->pv_minor < request->pv_minor) in fs_protocol_compare()
783 request->pv_minor = existing->pv_minor; in fs_protocol_compare()
/fs/ocfs2/dlm/
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()
Ddlmdomain.c140 static int dlm_protocol_compare(struct dlm_protocol_version *existing,
2079 static int dlm_protocol_compare(struct dlm_protocol_version *existing, in dlm_protocol_compare() argument
2082 if (existing->pv_major != request->pv_major) in dlm_protocol_compare()
2085 if (existing->pv_minor > request->pv_minor) in dlm_protocol_compare()
2088 if (existing->pv_minor < request->pv_minor) in dlm_protocol_compare()
2089 request->pv_minor = existing->pv_minor; in dlm_protocol_compare()
/fs/ubifs/
DKconfig27 existing file systems.
/fs/ntfs/
DKconfig58 The only supported operation is overwriting existing files, without
/fs/jffs2/
DKconfig107 compressors can mean you cannot read existing file systems,
DREADME.Locking5 This document attempts to describe the existing locking rules for
/fs/configfs/
Ddir.c230 const unsigned char *existing = configfs_get_name(sd); in configfs_dirent_exists() local
231 if (strcmp(existing, new)) in configfs_dirent_exists()