Home
last modified time | relevance | path

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

/fs/ocfs2/cluster/
Dheartbeat.h69 void o2hb_setup_callback(struct o2hb_callback_func *hc,
75 struct o2hb_callback_func *hc);
77 struct o2hb_callback_func *hc);
Dheartbeat.c2185 void o2hb_setup_callback(struct o2hb_callback_func *hc, in o2hb_setup_callback() argument
2191 INIT_LIST_HEAD(&hc->hc_item); in o2hb_setup_callback()
2192 hc->hc_func = func; in o2hb_setup_callback()
2193 hc->hc_data = data; in o2hb_setup_callback()
2194 hc->hc_priority = priority; in o2hb_setup_callback()
2195 hc->hc_type = type; in o2hb_setup_callback()
2196 hc->hc_magic = O2HB_CB_MAGIC; in o2hb_setup_callback()
2341 struct o2hb_callback_func *hc) in o2hb_register_callback() argument
2347 BUG_ON(hc->hc_magic != O2HB_CB_MAGIC); in o2hb_register_callback()
2348 BUG_ON(!list_empty(&hc->hc_item)); in o2hb_register_callback()
[all …]
/fs/gfs2/
Ddir.c344 __be64 *hc; in gfs2_dir_get_hash_table() local
348 hc = ip->i_hash_cache; in gfs2_dir_get_hash_table()
349 if (hc) in gfs2_dir_get_hash_table()
350 return hc; in gfs2_dir_get_hash_table()
359 hc = kmalloc(hsize, GFP_NOFS | __GFP_NOWARN); in gfs2_dir_get_hash_table()
360 if (hc == NULL) in gfs2_dir_get_hash_table()
361 hc = __vmalloc(hsize, GFP_NOFS, PAGE_KERNEL); in gfs2_dir_get_hash_table()
363 if (hc == NULL) in gfs2_dir_get_hash_table()
366 ret = gfs2_dir_read_data(ip, hc, hsize); in gfs2_dir_get_hash_table()
368 kvfree(hc); in gfs2_dir_get_hash_table()
[all …]