Lines Matching refs:hc
340 __be64 *hc; in gfs2_dir_get_hash_table() local
344 hc = ip->i_hash_cache; in gfs2_dir_get_hash_table()
345 if (hc) in gfs2_dir_get_hash_table()
346 return hc; in gfs2_dir_get_hash_table()
355 hc = kmalloc(hsize, GFP_NOFS | __GFP_NOWARN); in gfs2_dir_get_hash_table()
356 if (hc == NULL) in gfs2_dir_get_hash_table()
357 hc = __vmalloc(hsize, GFP_NOFS); in gfs2_dir_get_hash_table()
359 if (hc == NULL) in gfs2_dir_get_hash_table()
362 ret = gfs2_dir_read_data(ip, hc, hsize); in gfs2_dir_get_hash_table()
364 kvfree(hc); in gfs2_dir_get_hash_table()
370 ip->i_hash_cache = hc; in gfs2_dir_get_hash_table()
371 hc = NULL; in gfs2_dir_get_hash_table()
374 kvfree(hc); in gfs2_dir_get_hash_table()
387 __be64 *hc; in gfs2_dir_hash_inval() local
390 hc = ip->i_hash_cache; in gfs2_dir_hash_inval()
394 kvfree(hc); in gfs2_dir_hash_inval()
1155 __be64 *hc; in dir_double_exhash() local
1163 hc = gfs2_dir_get_hash_table(dip); in dir_double_exhash()
1164 if (IS_ERR(hc)) in dir_double_exhash()
1165 return PTR_ERR(hc); in dir_double_exhash()
1180 *h++ = *hc; in dir_double_exhash()
1181 *h++ = *hc; in dir_double_exhash()
1182 hc++; in dir_double_exhash()
1198 gfs2_dir_write_data(dip, (char *)hc, 0, hsize_bytes); in dir_double_exhash()