MCPcopy Create free account
hub / github.com/bobranten/Ext4Fsd / buffer_head_insert

Function buffer_head_insert

Ext4Fsd/linux.c:418–421  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

416}
417
418static void buffer_head_insert(struct block_device *bdev, struct buffer_head *bh)
419{
420 rb_insert(&bdev->bd_bh_root, &bh->b_rb_node, buffer_head_blocknr_cmp);
421}
422
423void buffer_head_remove(struct block_device *bdev, struct buffer_head *bh)
424{

Callers 2

get_block_bh_mdlFunction · 0.85
get_block_bh_pinFunction · 0.85

Calls 1

rb_insertFunction · 0.85

Tested by

no test coverage detected