Lines Matching refs:bh_fplus

27 	dir->bh_fplus = &dir->bh[0];  in adfs_fplus_read()
35 dir->bh_fplus[0] = sb_bread(sb, block); in adfs_fplus_read()
36 if (!dir->bh_fplus[0]) in adfs_fplus_read()
40 h = (struct adfs_bigdirheader *)dir->bh_fplus[0]->b_data; in adfs_fplus_read()
60 struct buffer_head **bh_fplus = in adfs_fplus_read() local
63 if (!bh_fplus) { in adfs_fplus_read()
69 dir->bh_fplus = bh_fplus; in adfs_fplus_read()
71 dir->bh_fplus[0] = dir->bh[0]; in adfs_fplus_read()
81 dir->bh_fplus[blk] = sb_bread(sb, block); in adfs_fplus_read()
82 if (!dir->bh_fplus[blk]) { in adfs_fplus_read()
92 (dir->bh_fplus[size - 1]->b_data + (sb->s_blocksize - 8)); in adfs_fplus_read()
107 if (dir->bh_fplus) { in adfs_fplus_read()
109 brelse(dir->bh_fplus[i]); in adfs_fplus_read()
111 if (&dir->bh[0] != dir->bh_fplus) in adfs_fplus_read()
112 kfree(dir->bh_fplus); in adfs_fplus_read()
114 dir->bh_fplus = NULL; in adfs_fplus_read()
126 (struct adfs_bigdirheader *) dir->bh_fplus[0]->b_data; in adfs_fplus_setpos()
149 memcpy(to, dir->bh_fplus[buffer]->b_data + offset, len); in dir_memcpy()
156 dir->bh_fplus[buffer]->b_data + offset, in dir_memcpy()
160 dir->bh_fplus[buffer + 1]->b_data, in dir_memcpy()
169 (struct adfs_bigdirheader *) dir->bh_fplus[0]->b_data; in adfs_fplus_getnext()
231 struct buffer_head *bh = dir->bh_fplus[i]; in adfs_fplus_sync()
245 if (dir->bh_fplus) { in adfs_fplus_free()
247 brelse(dir->bh_fplus[i]); in adfs_fplus_free()
249 if (&dir->bh[0] != dir->bh_fplus) in adfs_fplus_free()
250 kfree(dir->bh_fplus); in adfs_fplus_free()
252 dir->bh_fplus = NULL; in adfs_fplus_free()