Lines Matching refs:belem
270 struct hfs_belem *belem; in hfs_bsucc() local
273 if (!brec || !(belem = brec->bottom) || (belem != brec->top) || in hfs_bsucc()
274 !(bn = belem->bnr.bn) || (bn->magic != HFS_BNODE_MAGIC) || in hfs_bsucc()
282 int left = bn->ndNRecs - belem->record; in hfs_bsucc()
290 hfs_brec_relse(brec, belem); in hfs_bsucc()
295 hfs_brec_relse(brec, belem); in hfs_bsucc()
298 old = belem->bnr; in hfs_bsucc()
299 belem->bnr = hfs_bnode_find(brec->tree, node, in hfs_bsucc()
300 belem->bnr.lock_type); in hfs_bsucc()
302 if (!(bn = belem->bnr.bn)) { in hfs_bsucc()
305 belem->record = 1; in hfs_bsucc()
308 belem->record += count; in hfs_bsucc()
312 brec->key = belem_key(belem); in hfs_bsucc()