Home
last modified time | relevance | path

Searched refs:io_end_vec (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/fs/ext4/
Dpage-io.c58 struct ext4_io_end_vec *io_end_vec; in ext4_alloc_io_end_vec() local
60 io_end_vec = kmem_cache_zalloc(io_end_vec_cachep, GFP_NOFS); in ext4_alloc_io_end_vec()
61 if (!io_end_vec) in ext4_alloc_io_end_vec()
63 INIT_LIST_HEAD(&io_end_vec->list); in ext4_alloc_io_end_vec()
64 list_add_tail(&io_end_vec->list, &io_end->list_vec); in ext4_alloc_io_end_vec()
65 return io_end_vec; in ext4_alloc_io_end_vec()
70 struct ext4_io_end_vec *io_end_vec, *tmp; in ext4_free_io_end_vec() local
74 list_for_each_entry_safe(io_end_vec, tmp, &io_end->list_vec, list) { in ext4_free_io_end_vec()
75 list_del(&io_end_vec->list); in ext4_free_io_end_vec()
76 kmem_cache_free(io_end_vec_cachep, io_end_vec); in ext4_free_io_end_vec()
Dinode.c2279 struct ext4_io_end_vec *io_end_vec = ext4_last_io_end_vec(io_end); in mpage_process_page() local
2292 io_end_vec->size += io_end_size; in mpage_process_page()
2298 io_end_vec = ext4_alloc_io_end_vec(io_end); in mpage_process_page()
2299 if (IS_ERR(io_end_vec)) { in mpage_process_page()
2300 err = PTR_ERR(io_end_vec); in mpage_process_page()
2303 io_end_vec->offset = (loff_t)mpd->map.m_lblk << blkbits; in mpage_process_page()
2316 io_end_vec->size += io_end_size; in mpage_process_page()
2466 struct ext4_io_end_vec *io_end_vec; in mpage_map_and_submit_extent() local
2468 io_end_vec = ext4_alloc_io_end_vec(io_end); in mpage_map_and_submit_extent()
2469 if (IS_ERR(io_end_vec)) in mpage_map_and_submit_extent()
[all …]
Dextents.c4836 struct ext4_io_end_vec *io_end_vec; in ext4_convert_unwritten_io_end_vec() local
4850 list_for_each_entry(io_end_vec, &io_end->list_vec, list) { in ext4_convert_unwritten_io_end_vec()
4852 io_end_vec->offset, in ext4_convert_unwritten_io_end_vec()
4853 io_end_vec->size); in ext4_convert_unwritten_io_end_vec()