Home
last modified time | relevance | path

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

/fs/ocfs2/cluster/
Dheartbeat.h54 void o2hb_setup_callback(struct o2hb_callback_func *hc,
60 struct o2hb_callback_func *hc);
62 struct o2hb_callback_func *hc);
Dheartbeat.c2256 void o2hb_setup_callback(struct o2hb_callback_func *hc, in o2hb_setup_callback() argument
2262 INIT_LIST_HEAD(&hc->hc_item); in o2hb_setup_callback()
2263 hc->hc_func = func; in o2hb_setup_callback()
2264 hc->hc_data = data; in o2hb_setup_callback()
2265 hc->hc_priority = priority; in o2hb_setup_callback()
2266 hc->hc_type = type; in o2hb_setup_callback()
2267 hc->hc_magic = O2HB_CB_MAGIC; in o2hb_setup_callback()
2412 struct o2hb_callback_func *hc) in o2hb_register_callback() argument
2418 BUG_ON(hc->hc_magic != O2HB_CB_MAGIC); in o2hb_register_callback()
2419 BUG_ON(!list_empty(&hc->hc_item)); in o2hb_register_callback()
[all …]
/fs/gfs2/
Ddir.c343 __be64 *hc; in gfs2_dir_get_hash_table() local
347 hc = ip->i_hash_cache; in gfs2_dir_get_hash_table()
348 if (hc) in gfs2_dir_get_hash_table()
349 return hc; in gfs2_dir_get_hash_table()
358 hc = kmalloc(hsize, GFP_NOFS | __GFP_NOWARN); in gfs2_dir_get_hash_table()
359 if (hc == NULL) in gfs2_dir_get_hash_table()
360 hc = __vmalloc(hsize, GFP_NOFS, PAGE_KERNEL); in gfs2_dir_get_hash_table()
362 if (hc == NULL) in gfs2_dir_get_hash_table()
365 ret = gfs2_dir_read_data(ip, hc, hsize); in gfs2_dir_get_hash_table()
367 kvfree(hc); in gfs2_dir_get_hash_table()
[all …]