Searched refs:stripe_head (Results 1 – 2 of 2) sorted by relevance
37 #define NR_HASH (HASH_PAGES * PAGE_SIZE / sizeof(struct stripe_head *))62 static inline void __release_stripe(raid5_conf_t *conf, struct stripe_head *sh) in __release_stripe()89 static void release_stripe(struct stripe_head *sh) in release_stripe()99 static void remove_hash(struct stripe_head *sh) in remove_hash()111 static __inline__ void insert_hash(raid5_conf_t *conf, struct stripe_head *sh) in insert_hash()113 struct stripe_head **shp = &stripe_hash(conf, sh->sector); in insert_hash()126 static struct stripe_head *get_free_stripe(raid5_conf_t *conf) in get_free_stripe()128 struct stripe_head *sh = NULL; in get_free_stripe()135 sh = list_entry(first, struct stripe_head, lru); in get_free_stripe()143 static void shrink_buffers(struct stripe_head *sh, int num) in shrink_buffers()[all …]
127 struct stripe_head { struct128 struct stripe_head *hash_next, **hash_pprev; /* hash pointers */ argument199 struct stripe_head **stripe_hashtbl;