Lines Matching refs:m_len
1441 map.m_len = F2FS_BYTES_TO_BLK(iocb->ki_pos + iov_iter_count(from)); in f2fs_preallocate_blocks()
1442 if (map.m_len > map.m_lblk) in f2fs_preallocate_blocks()
1443 map.m_len -= map.m_lblk; in f2fs_preallocate_blocks()
1445 map.m_len = 0; in f2fs_preallocate_blocks()
1471 if (map.m_len > 0 && err == -ENOSPC) { in f2fs_preallocate_blocks()
1502 unsigned int maxblocks = map->m_len; in f2fs_map_blocks()
1517 map->m_len = 0; in f2fs_map_blocks()
1530 map->m_len = min((pgoff_t)maxblocks, ei.fofs + ei.len - pgofs); in f2fs_map_blocks()
1533 *map->m_next_extent = pgofs + map->m_len; in f2fs_map_blocks()
1538 map->m_pblk, map->m_len); in f2fs_map_blocks()
1636 if (map->m_len == 0) { in f2fs_map_blocks()
1643 map->m_len = 1; in f2fs_map_blocks()
1649 map->m_len++; in f2fs_map_blocks()
1667 map->m_len += dn.ofs_in_node - ofs_in_node; in f2fs_map_blocks()
1686 map->m_len - ofs); in f2fs_map_blocks()
1703 map->m_pblk, map->m_len); in f2fs_map_blocks()
1711 map->m_len - ofs); in f2fs_map_blocks()
1744 map.m_len = last_lblk - map.m_lblk; in f2fs_overwrite_io()
1746 if (err || map.m_len == 0) in f2fs_overwrite_io()
1748 map.m_lblk += map.m_len; in f2fs_overwrite_io()
1761 map.m_len = bh->b_size >> inode->i_blkbits; in __get_data_block()
1771 bh->b_size = (u64)map.m_len << inode->i_blkbits; in __get_data_block()
2079 block_in_file < (map->m_lblk + map->m_len)) in f2fs_read_single_page()
2087 map->m_len = last_block - block_in_file; in f2fs_read_single_page()
2349 map.m_len = 0; in f2fs_mpage_readpages()