Searched refs:m_len (Results 1 – 16 of 16) sorted by relevance
/fs/ext4/ |
D | inode.c | 417 if (!ext4_inode_block_valid(inode, map->m_pblk, map->m_len)) { in __check_block_validity() 421 map->m_pblk, map->m_len); in __check_block_validity() 480 inode->i_ino, es_map->m_lblk, es_map->m_len, in ext4_map_blocks_es_recheck() 482 map->m_len, map->m_pblk, map->m_flags, in ext4_map_blocks_es_recheck() 524 flags, map->m_len, (unsigned long) map->m_lblk); in ext4_map_blocks() 529 if (unlikely(map->m_len > INT_MAX)) in ext4_map_blocks() 530 map->m_len = INT_MAX; in ext4_map_blocks() 545 if (retval > map->m_len) in ext4_map_blocks() 546 retval = map->m_len; in ext4_map_blocks() 547 map->m_len = retval; in ext4_map_blocks() [all …]
|
D | extents.c | 3338 int allocated = map->m_len; in ext4_split_extent() 3346 if (map->m_lblk + map->m_len < ee_block + ee_len) { in ext4_split_extent() 3355 map->m_lblk + map->m_len, split_flag1, flags1); in ext4_split_extent() 3429 unsigned int ee_len, depth, map_len = map->m_len; in ext4_ext_convert_to_initialized() 3598 split_map.m_len = map->m_len; in ext4_ext_convert_to_initialized() 3600 if (max_zeroout && (allocated > split_map.m_len)) { in ext4_ext_convert_to_initialized() 3605 split_map.m_len); in ext4_ext_convert_to_initialized() 3607 cpu_to_le16(allocated - split_map.m_len); in ext4_ext_convert_to_initialized() 3610 split_map.m_len - ee_block); in ext4_ext_convert_to_initialized() 3614 split_map.m_len = allocated; in ext4_ext_convert_to_initialized() [all …]
|
D | readpage.c | 286 map.m_len = 0; in ext4_mpage_readpages() 315 block_in_file < (map.m_lblk + map.m_len)) { in ext4_mpage_readpages() 317 unsigned last = map.m_len - map_offset; in ext4_mpage_readpages() 341 map.m_len = last_block - block_in_file; in ext4_mpage_readpages() 367 if (relative_block == map.m_len) { in ext4_mpage_readpages() 429 (relative_block == map.m_len)) || in ext4_mpage_readpages()
|
D | fast_commit.c | 865 map.m_len = new_blk_size - cur_lblk_off + 1; in ext4_fc_write_inode_data() 870 if (map.m_len == 0) { in ext4_fc_write_inode_data() 878 lrange.fc_len = cpu_to_le32(map.m_len); in ext4_fc_write_inode_data() 887 map.m_len = min(max, map.m_len); in ext4_fc_write_inode_data() 892 ex->ee_len = cpu_to_le16(map.m_len); in ext4_fc_write_inode_data() 903 cur_lblk_off += map.m_len; in ext4_fc_write_inode_data() 1709 map.m_len = remaining; in ext4_fc_replay_add_range() 1725 newex.ee_len = cpu_to_le16(map.m_len); in ext4_fc_replay_add_range() 1745 ret = ext4_ext_replay_update_ex(inode, cur, map.m_len, in ext4_fc_replay_add_range() 1759 ext4_mb_mark_bb(inode->i_sb, map.m_pblk, map.m_len, 0); in ext4_fc_replay_add_range() [all …]
|
D | dir.c | 180 map.m_len = 1; in ext4_readdir() 185 if (map.m_len == 0) in ext4_readdir() 186 map.m_len = 1; in ext4_readdir() 187 ctx->pos += map.m_len * sb->s_blocksize; in ext4_readdir()
|
D | indirect.c | 545 trace_ext4_ind_map_blocks_enter(inode, map->m_lblk, map->m_len, flags); in ext4_ind_map_blocks() 561 while (count < map->m_len && count <= blocks_to_boundary) { in ext4_ind_map_blocks() 591 map->m_len = min_t(unsigned int, map->m_len, count); in ext4_ind_map_blocks() 630 map->m_len, blocks_to_boundary); in ext4_ind_map_blocks() 665 map->m_len = count; in ext4_ind_map_blocks()
|
D | block_validity.c | 167 map.m_len = num - i; in ext4_protect_reserved_inode() 182 map.m_pblk + map.m_len - 1); in ext4_protect_reserved_inode()
|
D | file.c | 201 map.m_len = EXT4_MAX_BLOCKS(len, pos, blkbits); in ext4_overwrite_io() 202 blklen = map.m_len; in ext4_overwrite_io()
|
D | inline.c | 1258 map.m_len = 1; in ext4_convert_inline_data_nolock()
|
D | extents_status.c | 719 map.m_len = es->es_len; in ext4_es_insert_extent_ind_check()
|
D | ext4.h | 209 unsigned int m_len; member
|
D | xattr.c | 1349 map.m_len = max_blocks -= ret; in ext4_xattr_inode_write()
|
D | namei.c | 68 map.m_len = 1; in ext4_append()
|
/fs/f2fs/ |
D | data.c | 1430 unsigned int maxblocks = map->m_len; in f2fs_map_blocks() 1450 map->m_len = 0; in f2fs_map_blocks() 1463 map->m_len = min((pgoff_t)maxblocks, ei.fofs + ei.len - pgofs); in f2fs_map_blocks() 1466 *map->m_next_extent = pgofs + map->m_len; in f2fs_map_blocks() 1471 map->m_pblk, map->m_len); in f2fs_map_blocks() 1480 map->m_len = min(map->m_len, in f2fs_map_blocks() 1485 blk_addr, map->m_len); in f2fs_map_blocks() 1611 if (map->m_len == 0) { in f2fs_map_blocks() 1618 map->m_len = 1; in f2fs_map_blocks() 1629 map->m_len++; in f2fs_map_blocks() [all …]
|
D | file.c | 1673 map.m_len = pg_end - pg_start; in expand_inode_data() 1675 map.m_len++; in expand_inode_data() 1677 if (!map.m_len) in expand_inode_data() 1682 block_t sec_len = roundup(map.m_len, sec_blks); in expand_inode_data() 1684 map.m_len = sec_blks; in expand_inode_data() 1706 expanded += map.m_len; in expand_inode_data() 1707 sec_len -= map.m_len; in expand_inode_data() 1708 map.m_lblk += map.m_len; in expand_inode_data() 1712 map.m_len = expanded; in expand_inode_data() 1715 expanded = map.m_len; in expand_inode_data() [all …]
|
D | f2fs.h | 657 unsigned int m_len; member
|