Lines Matching refs:hc
339 __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()
369 ip->i_hash_cache = hc; in gfs2_dir_get_hash_table()
370 hc = NULL; in gfs2_dir_get_hash_table()
373 kvfree(hc); in gfs2_dir_get_hash_table()
386 __be64 *hc; in gfs2_dir_hash_inval() local
389 hc = ip->i_hash_cache; in gfs2_dir_hash_inval()
393 kvfree(hc); in gfs2_dir_hash_inval()
1152 __be64 *hc; in dir_double_exhash() local
1160 hc = gfs2_dir_get_hash_table(dip); in dir_double_exhash()
1161 if (IS_ERR(hc)) in dir_double_exhash()
1162 return PTR_ERR(hc); in dir_double_exhash()
1177 *h++ = *hc; in dir_double_exhash()
1178 *h++ = *hc; in dir_double_exhash()
1179 hc++; in dir_double_exhash()
1195 gfs2_dir_write_data(dip, (char *)hc, 0, hsize_bytes); in dir_double_exhash()