Searched refs:dcs (Results 1 – 2 of 2) sorted by relevance
53 static inline unsigned long dcookie_value(struct dcookie_struct * dcs) in dcookie_value() argument55 return (unsigned long)dcs->path.dentry; in dcookie_value()68 struct dcookie_struct * dcs; in find_dcookie() local75 dcs = list_entry(pos, struct dcookie_struct, hash_list); in find_dcookie()76 if (dcookie_value(dcs) == dcookie) { in find_dcookie()77 found = dcs; in find_dcookie()86 static void hash_dcookie(struct dcookie_struct * dcs) in hash_dcookie() argument88 struct list_head * list = dcookie_hashtable + dcookie_hash(dcookie_value(dcs)); in hash_dcookie()89 list_add(&dcs->hash_list, list); in hash_dcookie()95 struct dcookie_struct *dcs = kmem_cache_alloc(dcookie_cache, in alloc_dcookie() local[all …]
3332 int dcs = BTRFS_DC_ERROR; in cache_save_setup() local3398 dcs = BTRFS_DC_SETUP; in cache_save_setup()3422 dcs = BTRFS_DC_WRITTEN; in cache_save_setup()3466 dcs = BTRFS_DC_SETUP; in cache_save_setup()3476 if (!ret && dcs == BTRFS_DC_SETUP) in cache_save_setup()3478 block_group->disk_cache_state = dcs; in cache_save_setup()