Home
last modified time | relevance | path

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

/fs/ceph/
Dsnap.c1058 struct ceph_snapid_map *sm, *exist; in ceph_get_snapid_map() local
1062 exist = NULL; in ceph_get_snapid_map()
1066 exist = rb_entry(*p, struct ceph_snapid_map, node); in ceph_get_snapid_map()
1067 if (snap > exist->snap) { in ceph_get_snapid_map()
1069 } else if (snap < exist->snap) { in ceph_get_snapid_map()
1072 if (atomic_inc_return(&exist->ref) == 1) in ceph_get_snapid_map()
1073 list_del_init(&exist->lru); in ceph_get_snapid_map()
1076 exist = NULL; in ceph_get_snapid_map()
1079 if (exist) { in ceph_get_snapid_map()
1080 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()
674 struct ref_entry *ref = NULL, *exist; in btrfs_ref_tree_mod() local
[all …]
Ddelayed-ref.c599 struct btrfs_delayed_ref_node *exist; in insert_delayed_ref() local
604 exist = tree_insert(&href->ref_tree, ref); in insert_delayed_ref()
605 if (!exist) in insert_delayed_ref()
610 if (exist->action == ref->action) { in insert_delayed_ref()
614 if (exist->ref_mod < ref->ref_mod) { in insert_delayed_ref()
615 exist->action = ref->action; in insert_delayed_ref()
616 mod = -exist->ref_mod; in insert_delayed_ref()
617 exist->ref_mod = ref->ref_mod; in insert_delayed_ref()
619 list_add_tail(&exist->add_list, in insert_delayed_ref()
622 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.c3857 int exist = 0; in find_free_extent_update_loop() local
3861 exist = 1; in find_free_extent_update_loop()
3880 if (!exist) in find_free_extent_update_loop()
/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/f2fs/
Dcheckpoint.c145 bool exist; in __is_bitmap_valid() local
154 exist = f2fs_test_bit(offset, se->cur_valid_map); in __is_bitmap_valid()
155 if (exist && type == DATA_GENERIC_ENHANCE_UPDATE) { in __is_bitmap_valid()
157 blkaddr, exist); in __is_bitmap_valid()
159 return exist; in __is_bitmap_valid()
162 if (!exist && type == DATA_GENERIC_ENHANCE) { in __is_bitmap_valid()
164 blkaddr, exist); in __is_bitmap_valid()
168 return exist; in __is_bitmap_valid()
Dsegment.c2291 bool exist; in update_sit_entry() local
2309 exist = f2fs_test_and_set_bit(offset, se->cur_valid_map); in update_sit_entry()
2313 if (unlikely(exist != mir_exist)) { in update_sit_entry()
2315 blkaddr, exist); in update_sit_entry()
2319 if (unlikely(exist)) { in update_sit_entry()
2340 exist = f2fs_test_and_clear_bit(offset, se->cur_valid_map); in update_sit_entry()
2344 if (unlikely(exist != mir_exist)) { in update_sit_entry()
2346 blkaddr, exist); in update_sit_entry()
2350 if (unlikely(!exist)) { in update_sit_entry()
/fs/xfs/libxfs/
Dxfs_alloc.h232 xfs_extlen_t len, bool *exist);
/fs/proc/
DKconfig88 Various /proc files exist to monitor process memory utilization:
/fs/cifs/
Dfile.c1041 bool exist; in cifs_lock_test() local
1045 exist = cifs_find_lock_conflict(cfile, offset, length, type, in cifs_lock_test()
1048 if (exist) { in cifs_lock_test()
1086 bool exist; in cifs_lock_add_if() local
1090 exist = false; in cifs_lock_add_if()
1093 exist = cifs_find_lock_conflict(cfile, lock->offset, lock->length, in cifs_lock_add_if()
1096 if (!exist && cinode->can_cache_brlcks) { in cifs_lock_add_if()
1102 if (!exist) in cifs_lock_add_if()
/fs/cramfs/
DREADME34 exist, speeds up user-space directory sorts, etc.