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

Function lock_buffer

Ext4Fsd/include/linux/module.h:1018–1023  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1016}
1017
1018static inline void lock_buffer(struct buffer_head *bh)
1019{
1020 might_sleep();
1021 if (test_set_buffer_locked(bh))
1022 __lock_buffer(bh);
1023}
1024
1025extern int __set_page_dirty_buffers(struct page *page);
1026

Callers 8

ll_rw_blockFunction · 0.85
sync_dirty_bufferFunction · 0.85
do_one_passFunction · 0.85
do_one_passFunction · 0.85
jbd2_write_superblockFunction · 0.85

Calls 1

__lock_bufferFunction · 0.85

Tested by

no test coverage detected