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

Function wait_on_buffer

Ext4Fsd/include/linux/module.h:1011–1016  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1009 */
1010
1011static inline void wait_on_buffer(struct buffer_head *bh)
1012{
1013 might_sleep();
1014 if (buffer_locked(bh) || atomic_read(&bh->b_count) == 0)
1015 __wait_on_buffer(bh);
1016}
1017
1018static inline void lock_buffer(struct buffer_head *bh)
1019{

Callers 7

sync_dirty_bufferFunction · 0.85
ext3_find_entryFunction · 0.85
jreadFunction · 0.85
journal_get_superblockFunction · 0.85
jreadFunction · 0.85
jbd2_write_superblockFunction · 0.85
journal_get_superblockFunction · 0.85

Calls 1

__wait_on_bufferFunction · 0.85

Tested by

no test coverage detected