Searched refs:ubh (Results 1 – 3 of 3) sorted by relevance
/linux-2.4.37.9/fs/ufs/ |
D | util.c | 28 struct ufs_buffer_head * ubh; in _ubh_bread_() local 35 ubh = (struct ufs_buffer_head *) in _ubh_bread_() 37 if (!ubh) in _ubh_bread_() 39 ubh->fragment = fragment; in _ubh_bread_() 40 ubh->count = count; in _ubh_bread_() 42 if (!(ubh->bh[i] = sb_bread(sb, fragment + i))) in _ubh_bread_() 45 ubh->bh[i] = NULL; in _ubh_bread_() 46 return ubh; in _ubh_bread_() 49 brelse (ubh->bh[j]); in _ubh_bread_() 50 kfree(ubh); in _ubh_bread_() [all …]
|
D | util.h | 241 #define ubh_ubhcpymem(mem,ubh,size) _ubh_ubhcpymem_(uspi,mem,ubh,size) argument 243 #define ubh_memcpyubh(ubh,mem,size) _ubh_memcpyubh_(uspi,ubh,mem,size) argument 251 #define ubh_get_usb_first(ubh) \ argument 252 ((struct ufs_super_block_first *)((ubh)->bh[0]->b_data)) 254 #define ubh_get_usb_second(ubh) \ argument 255 ((struct ufs_super_block_second *)(ubh)-> \ 258 #define ubh_get_usb_third(ubh) \ argument 259 ((struct ufs_super_block_third *)((ubh)-> \ 262 #define ubh_get_ucg(ubh) \ argument 263 ((struct ufs_cylinder_group *)((ubh)->bh[0]->b_data)) [all …]
|
D | super.c | 321 struct ufs_buffer_head * ubh; in ufs_read_cylinder_structures() local 342 ubh = ubh_bread(sb, uspi->s_csaddr + i, size); in ufs_read_cylinder_structures() 343 if (!ubh) in ufs_read_cylinder_structures() 345 ubh_ubhcpymem (space, ubh, size); in ufs_read_cylinder_structures() 348 ubh_brelse (ubh); in ufs_read_cylinder_structures() 349 ubh = NULL; in ufs_read_cylinder_structures() 402 struct ufs_buffer_head * ubh; in ufs_put_cylinder_structures() local 417 ubh = ubh_bread(sb, uspi->s_csaddr + i, size); in ufs_put_cylinder_structures() 418 ubh_memcpyubh (ubh, space, size); in ufs_put_cylinder_structures() 420 ubh_mark_buffer_uptodate (ubh, 1); in ufs_put_cylinder_structures() [all …]
|