Home
last modified time | relevance | path

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

/linux-6.6.21/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.c2029 struct ext4_io_end_vec *io_end_vec = ext4_last_io_end_vec(io_end); in mpage_process_folio() local
2042 io_end_vec->size += io_end_size; in mpage_process_folio()
2048 io_end_vec = ext4_alloc_io_end_vec(io_end); in mpage_process_folio()
2049 if (IS_ERR(io_end_vec)) { in mpage_process_folio()
2050 err = PTR_ERR(io_end_vec); in mpage_process_folio()
2053 io_end_vec->offset = (loff_t)mpd->map.m_lblk << blkbits; in mpage_process_folio()
2066 io_end_vec->size += io_end_size; in mpage_process_folio()
2217 struct ext4_io_end_vec *io_end_vec; in mpage_map_and_submit_extent() local
2219 io_end_vec = ext4_alloc_io_end_vec(io_end); in mpage_map_and_submit_extent()
2220 if (IS_ERR(io_end_vec)) in mpage_map_and_submit_extent()
[all …]
Dextents.c4865 struct ext4_io_end_vec *io_end_vec; in ext4_convert_unwritten_io_end_vec() local
4879 list_for_each_entry(io_end_vec, &io_end->list_vec, list) { in ext4_convert_unwritten_io_end_vec()
4881 io_end_vec->offset, in ext4_convert_unwritten_io_end_vec()
4882 io_end_vec->size); in ext4_convert_unwritten_io_end_vec()