Lines Matching refs:m_lblk

388 				 "(length %d)", (unsigned long) map->m_lblk,  in __check_block_validity()
442 if (es_map->m_lblk != map->m_lblk || in ext4_map_blocks_es_recheck()
448 inode->i_ino, es_map->m_lblk, es_map->m_len, in ext4_map_blocks_es_recheck()
449 es_map->m_pblk, es_map->m_flags, map->m_lblk, in ext4_map_blocks_es_recheck()
480 ext4_es_insert_extent(inode, map->m_lblk, map->m_len, in ext4_map_query_blocks()
521 flags, map->m_len, (unsigned long) map->m_lblk); in ext4_map_blocks()
530 if (unlikely(map->m_lblk >= EXT_MAX_BLOCKS)) in ext4_map_blocks()
535 ext4_es_lookup_extent(inode, map->m_lblk, NULL, &es)) { in ext4_map_blocks()
538 map->m_lblk - es.es_lblk; in ext4_map_blocks()
541 retval = es.es_len - (map->m_lblk - es.es_lblk); in ext4_map_blocks()
547 retval = es.es_len - (map->m_lblk - es.es_lblk); in ext4_map_blocks()
596 ext4_es_scan_range(inode, &ext4_es_is_delayed, map->m_lblk, in ext4_map_blocks()
597 map->m_lblk + map->m_len - 1)) in ext4_map_blocks()
599 ext4_es_insert_extent(inode, map->m_lblk, map->m_len, in ext4_map_blocks()
685 ret = ext4_issue_zeroout(inode, map->m_lblk, in ext4_map_blocks()
698 ext4_es_lookup_extent(inode, map->m_lblk, NULL, &es)) { in ext4_map_blocks()
706 ext4_es_scan_range(inode, &ext4_es_is_delayed, map->m_lblk, in ext4_map_blocks()
707 map->m_lblk + map->m_len - 1)) in ext4_map_blocks()
709 ext4_es_insert_extent(inode, map->m_lblk, map->m_len, in ext4_map_blocks()
731 (loff_t)map->m_lblk << inode->i_blkbits; in ext4_map_blocks()
746 ext4_fc_track_range(handle, inode, map->m_lblk, in ext4_map_blocks()
747 map->m_lblk + map->m_len - 1); in ext4_map_blocks()
789 map.m_lblk = iblock; in _ext4_get_block()
858 map.m_lblk = block; in ext4_getblk()
1733 (unsigned long) map->m_lblk); in ext4_da_map_blocks()
1805 retval = ext4_insert_delayed_block(inode, map->m_lblk); in ext4_da_map_blocks()
1837 map.m_lblk = iblock; in ext4_da_get_block_prep()
1946 map->m_lblk = lblk; in mpage_add_bh_to_extent()
1957 if (lblk == map->m_lblk + map->m_len && in mpage_add_bh_to_extent()
2039 ext4_lblk_t *m_lblk, ext4_fsblk_t *m_pblk, in mpage_process_folio() argument
2044 ext4_lblk_t lblk = *m_lblk; in mpage_process_folio()
2053 if (lblk < mpd->map.m_lblk) in mpage_process_folio()
2055 if (lblk >= mpd->map.m_lblk + mpd->map.m_len) { in mpage_process_folio()
2067 if (!err && mpd->map.m_len && mpd->map.m_lblk > lblk) { in mpage_process_folio()
2073 io_end_vec->offset = (loff_t)mpd->map.m_lblk << blkbits; in mpage_process_folio()
2089 *m_lblk = lblk; in mpage_process_folio()
2120 start = mpd->map.m_lblk >> bpp_bits; in mpage_map_and_submit_buffers()
2121 end = (mpd->map.m_lblk + mpd->map.m_len - 1) >> bpp_bits; in mpage_map_and_submit_buffers()
2242 io_end_vec->offset = ((loff_t)map->m_lblk) << inode->i_blkbits; in mpage_map_and_submit_extent()
2266 (unsigned long long)map->m_lblk, in mpage_map_and_submit_extent()
3269 iomap->offset = (u64) map->m_lblk << blkbits; in ext4_set_iomap()
3340 else if (((loff_t)map->m_lblk << blkbits) >= i_size_read(inode)) in ext4_iomap_alloc()
3379 map.m_lblk = offset >> blkbits; in ext4_iomap_begin()
3381 EXT4_MAX_LOGICAL_BLOCK) - map.m_lblk + 1; in ext4_iomap_begin()
3408 map.m_len = fscrypt_limit_io_blocks(inode, map.m_lblk, map.m_len); in ext4_iomap_begin()
3461 ext4_lblk_t offset = 0, end = map->m_lblk + map->m_len - 1; in ext4_iomap_is_delalloc()
3464 map->m_lblk, end, &es); in ext4_iomap_is_delalloc()
3469 if (es.es_lblk > map->m_lblk) { in ext4_iomap_is_delalloc()
3470 map->m_len = es.es_lblk - map->m_lblk; in ext4_iomap_is_delalloc()
3474 offset = map->m_lblk - es.es_lblk; in ext4_iomap_is_delalloc()
3504 map.m_lblk = offset >> blkbits; in ext4_iomap_begin_report()
3506 EXT4_MAX_LOGICAL_BLOCK) - map.m_lblk + 1; in ext4_iomap_begin_report()