Home
last modified time | relevance | path

Searched refs:hc (Results 1 – 3 of 3) sorted by relevance

/fs/ocfs2/cluster/
Dheartbeat.h52 void o2hb_setup_callback(struct o2hb_callback_func *hc,
58 struct o2hb_callback_func *hc);
60 struct o2hb_callback_func *hc);
Dheartbeat.c2236 void o2hb_setup_callback(struct o2hb_callback_func *hc, in o2hb_setup_callback() argument
2242 INIT_LIST_HEAD(&hc->hc_item); in o2hb_setup_callback()
2243 hc->hc_func = func; in o2hb_setup_callback()
2244 hc->hc_data = data; in o2hb_setup_callback()
2245 hc->hc_priority = priority; in o2hb_setup_callback()
2246 hc->hc_type = type; in o2hb_setup_callback()
2247 hc->hc_magic = O2HB_CB_MAGIC; in o2hb_setup_callback()
2392 struct o2hb_callback_func *hc) in o2hb_register_callback() argument
2398 BUG_ON(hc->hc_magic != O2HB_CB_MAGIC); in o2hb_register_callback()
2399 BUG_ON(!list_empty(&hc->hc_item)); in o2hb_register_callback()
[all …]
/fs/gfs2/
Ddir.c339 __be64 *hc; in gfs2_dir_get_hash_table() local
343 hc = ip->i_hash_cache; in gfs2_dir_get_hash_table()
344 if (hc) in gfs2_dir_get_hash_table()
345 return hc; in gfs2_dir_get_hash_table()
354 hc = kmalloc(hsize, GFP_NOFS | __GFP_NOWARN); in gfs2_dir_get_hash_table()
355 if (hc == NULL) in gfs2_dir_get_hash_table()
356 hc = __vmalloc(hsize, GFP_NOFS); in gfs2_dir_get_hash_table()
358 if (hc == NULL) in gfs2_dir_get_hash_table()
361 ret = gfs2_dir_read_data(ip, hc, hsize); in gfs2_dir_get_hash_table()
363 kvfree(hc); in gfs2_dir_get_hash_table()
[all …]