Home
last modified time | relevance | path

Searched refs:exist (Results 1 – 13 of 13) sorted by relevance

/fs/ceph/
Dsnap.c1078 struct ceph_snapid_map *sm, *exist; in ceph_get_snapid_map() local
1082 exist = NULL; in ceph_get_snapid_map()
1086 exist = rb_entry(*p, struct ceph_snapid_map, node); in ceph_get_snapid_map()
1087 if (snap > exist->snap) { in ceph_get_snapid_map()
1089 } else if (snap < exist->snap) { in ceph_get_snapid_map()
1092 if (atomic_inc_return(&exist->ref) == 1) in ceph_get_snapid_map()
1093 list_del_init(&exist->lru); in ceph_get_snapid_map()
1096 exist = NULL; in ceph_get_snapid_map()
1099 if (exist) { in ceph_get_snapid_map()
1100 dout("found snapid map %llx -> %x\n", exist->snap, exist->dev); in ceph_get_snapid_map()
[all …]
/fs/btrfs/
Dref-verify.c264 struct block_entry *be = NULL, *exist; in add_block_entry() local
281 exist = insert_block_entry(&fs_info->block_tree, be); in add_block_entry()
282 if (exist) { in add_block_entry()
286 exist_re = insert_root_entry(&exist->roots, re); in add_block_entry()
293 return exist; in add_block_entry()
314 struct ref_entry *ref = NULL, *exist; in add_tree_block() local
344 exist = insert_ref_entry(&be->refs, ref); in add_tree_block()
345 if (exist) { in add_tree_block()
346 exist->num_refs++; in add_tree_block()
662 struct ref_entry *ref = NULL, *exist; in btrfs_ref_tree_mod() local
[all …]
Ddelayed-ref.c587 struct btrfs_delayed_ref_node *exist; in insert_delayed_ref() local
592 exist = tree_insert(&href->ref_tree, ref); in insert_delayed_ref()
593 if (!exist) in insert_delayed_ref()
598 if (exist->action == ref->action) { in insert_delayed_ref()
602 if (exist->ref_mod < ref->ref_mod) { in insert_delayed_ref()
603 exist->action = ref->action; in insert_delayed_ref()
604 mod = -exist->ref_mod; in insert_delayed_ref()
605 exist->ref_mod = ref->ref_mod; in insert_delayed_ref()
607 list_add_tail(&exist->add_list, in insert_delayed_ref()
610 ASSERT(!list_empty(&exist->add_list)); in insert_delayed_ref()
[all …]
Dbackref.c2921 struct btrfs_backref_node *exist; local
2951 exist = edge->node[UPPER];
2956 if (!exist->checked)
2959 exist = NULL;
2994 if (exist &&
2996 exist->owner == key.offset) ||
2998 exist->bytenr == key.offset))) {
2999 exist = NULL;
3030 WARN_ON(exist);
Dextent-tree.c4026 int exist = 0; in find_free_extent_update_loop() local
4030 exist = 1; in find_free_extent_update_loop()
4049 if (!exist) in find_free_extent_update_loop()
/fs/f2fs/
Dcheckpoint.c145 bool exist; in __is_bitmap_valid() local
154 exist = f2fs_test_bit(offset, se->cur_valid_map); in __is_bitmap_valid()
158 return exist; in __is_bitmap_valid()
160 if (exist && type == DATA_GENERIC_ENHANCE_UPDATE) { in __is_bitmap_valid()
162 blkaddr, exist); in __is_bitmap_valid()
164 return exist; in __is_bitmap_valid()
167 if (!exist && type == DATA_GENERIC_ENHANCE) { in __is_bitmap_valid()
169 blkaddr, exist); in __is_bitmap_valid()
173 return exist; in __is_bitmap_valid()
Dsegment.c2297 bool exist; in update_sit_entry() local
2315 exist = f2fs_test_and_set_bit(offset, se->cur_valid_map); in update_sit_entry()
2319 if (unlikely(exist != mir_exist)) { in update_sit_entry()
2321 blkaddr, exist); in update_sit_entry()
2325 if (unlikely(exist)) { in update_sit_entry()
2346 exist = f2fs_test_and_clear_bit(offset, se->cur_valid_map); in update_sit_entry()
2350 if (unlikely(exist != mir_exist)) { in update_sit_entry()
2352 blkaddr, exist); in update_sit_entry()
2356 if (unlikely(!exist)) { in update_sit_entry()
/fs/notify/dnotify/
DKconfig8 that uses signals to communicate events to user-space. There exist
/fs/configfs/
DKconfig11 Both sysfs and configfs can and should exist together on the
/fs/xfs/libxfs/
Dxfs_alloc.h235 xfs_extlen_t len, bool *exist);
/fs/proc/
DKconfig88 Various /proc files exist to monitor process memory utilization:
/fs/cifs/
Dfile.c1112 bool exist; in cifs_lock_test() local
1116 exist = cifs_find_lock_conflict(cfile, offset, length, type, in cifs_lock_test()
1119 if (exist) { in cifs_lock_test()
1157 bool exist; in cifs_lock_add_if() local
1161 exist = false; in cifs_lock_add_if()
1164 exist = cifs_find_lock_conflict(cfile, lock->offset, lock->length, in cifs_lock_add_if()
1167 if (!exist && cinode->can_cache_brlcks) { in cifs_lock_add_if()
1173 if (!exist) in cifs_lock_add_if()
/fs/cramfs/
DREADME34 exist, speeds up user-space directory sorts, etc.