| /linux/lib/lzo/ |
| H A D | lzo1x_compress.c | 53 size_t t, m_len, m_off; in lzo1x_1_do_compress() local 182 m_len = 4; in lzo1x_1_do_compress() 186 v = get_unaligned((const u64 *) (ip + m_len)) ^ in lzo1x_1_do_compress() 187 get_unaligned((const u64 *) (m_pos + m_len)); in lzo1x_1_do_compress() 190 m_len += 8; in lzo1x_1_do_compress() 191 v = get_unaligned((const u64 *) (ip + m_len)) ^ in lzo1x_1_do_compress() 192 get_unaligned((const u64 *) (m_pos + m_len)); in lzo1x_1_do_compress() 193 if (unlikely(ip + m_len >= ip_end)) in lzo1x_1_do_compress() 198 m_len += (unsigned) __builtin_ctzll(v) / 8; in lzo1x_1_do_compress() 200 m_len += (unsigned) __builtin_clzll(v) / 8; in lzo1x_1_do_compress() [all …]
|
| /linux/fs/ext4/ |
| H A D | move_extent.c | 212 ((size_t)mext->orig_map.m_len) << blkbits, folio); in mext_move_begin() 230 if (move_len < mext->orig_map.m_len) in mext_move_begin() 231 mext->orig_map.m_len = move_len; in mext_move_begin() 234 donor_map.m_len = mext->orig_map.m_len; in mext_move_begin() 241 mext->orig_map.m_len = donor_map.m_len; in mext_move_begin() 301 static int mext_move_extent(struct mext_data *mext, u64 *m_len) in mext_move_extent() argument 315 *m_len = 0; in mext_move_extent() 343 length = ((loff_t)orig_map->m_len) << blkbits; in mext_move_extent() 358 *m_len = ext4_swap_extents(handle, orig_inode, donor_inode, in mext_move_extent() 360 orig_map->m_len, 1, &ret); in mext_move_extent() [all …]
|
| H A D | extents-test.c | 385 map.m_len = param->split_map.m_len; in test_split_convert() 490 .split_map = { .m_lblk = EXT_DATA_LBLK, .m_len = 1 }, 503 .split_map = { .m_lblk = EXT_DATA_LBLK + 1, .m_len = EXT_DATA_LEN - 1 }, 516 .split_map = { .m_lblk = EXT_DATA_LBLK + 1, .m_len = EXT_DATA_LEN - 2 }, 534 .split_map = { .m_lblk = EXT_DATA_LBLK, .m_len = 1 }, 547 .split_map = { .m_lblk = EXT_DATA_LBLK + 1, .m_len = EXT_DATA_LEN - 1 }, 560 .split_map = { .m_lblk = EXT_DATA_LBLK + 1, .m_len = EXT_DATA_LEN - 2 }, 581 .split_map = { .m_lblk = EXT_DATA_LBLK, .m_len = 1 }, 596 .split_map = { .m_lblk = EXT_DATA_LBLK + 1, .m_len = EXT_DATA_LEN - 1 }, 611 .split_map = { .m_lblk = EXT_DATA_LBLK + 1, .m_len = EXT_DATA_LEN - 2 }, [all …]
|
| H A D | inode.c | 400 if (!ext4_inode_block_valid(inode, map->m_pblk, map->m_len)) { in __check_block_validity() 404 map->m_pblk, map->m_len); in __check_block_validity() 491 inode->i_ino, es_map->m_lblk, es_map->m_len, in ext4_map_blocks_es_recheck() 493 map->m_len, map->m_pblk, map->m_flags, in ext4_map_blocks_es_recheck() 511 WARN_ON_ONCE(orig_mlen <= map->m_len); in ext4_map_query_blocks_next_in_leaf() 514 map2.m_lblk = map->m_lblk + map->m_len; in ext4_map_query_blocks_next_in_leaf() 515 map2.m_len = orig_mlen - map->m_len; in ext4_map_query_blocks_next_in_leaf() 520 ext4_es_cache_extent(inode, map->m_lblk, map->m_len, in ext4_map_query_blocks_next_in_leaf() 522 return map->m_len; in ext4_map_query_blocks_next_in_leaf() 525 if (unlikely(retval != map2.m_len)) { in ext4_map_query_blocks_next_in_leaf() [all …]
|
| H A D | extents.c | 3330 loff_t map_end = (loff_t) map->m_lblk + map->m_len; in ext4_split_extent_zeroout() 3370 len = map->m_len; in ext4_split_extent_zeroout() 3435 if (map->m_lblk + map->m_len < ee_block + ee_len) { in ext4_split_extent() 3437 map->m_lblk + map->m_len, flags); in ext4_split_extent() 3493 if (map->m_len > max_zeroout_blks) in ext4_split_extent() 3521 if (map->m_lblk + map->m_len > ee_block + ee_len) in ext4_split_extent() 3524 *allocated = map->m_len; in ext4_split_extent() 3567 unsigned int ee_len, depth, map_len = map->m_len; in ext4_ext_convert_to_initialized() 3736 split_map.m_len = map->m_len; in ext4_ext_convert_to_initialized() 3738 if (max_zeroout && (*allocated > split_map.m_len)) { in ext4_ext_convert_to_initialized() [all …]
|
| H A D | readpage.c | 232 map.m_len = 0; in ext4_mpage_readpages() 265 block_in_file < (map.m_lblk + map.m_len)) { in ext4_mpage_readpages() 267 unsigned last = map.m_len - map_offset; in ext4_mpage_readpages() 290 map.m_len = last_block - block_in_file; in ext4_mpage_readpages() 317 if (relative_block == map.m_len) { in ext4_mpage_readpages() 371 (relative_block == map.m_len)) || in ext4_mpage_readpages()
|
| H A D | fast_commit.c | 922 map.m_len = new_blk_size - cur_lblk_off + 1; in ext4_fc_write_inode_data() 929 if (map.m_len == 0) { in ext4_fc_write_inode_data() 937 lrange.fc_len = cpu_to_le32(map.m_len); in ext4_fc_write_inode_data() 946 map.m_len = min(max, map.m_len); in ext4_fc_write_inode_data() 951 ex->ee_len = cpu_to_le16(map.m_len); in ext4_fc_write_inode_data() 962 cur_lblk_off += map.m_len; in ext4_fc_write_inode_data() 1804 map.m_len = remaining; in ext4_fc_replay_add_range() 1820 newex.ee_len = cpu_to_le16(map.m_len); in ext4_fc_replay_add_range() 1838 ret = ext4_ext_replay_update_ex(inode, cur, map.m_len, in ext4_fc_replay_add_range() 1852 ext4_mb_mark_bb(inode->i_sb, map.m_pblk, map.m_len, false); in ext4_fc_replay_add_range() [all …]
|
| H A 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 = umin(map->m_len, count); in ext4_ind_map_blocks() 630 map->m_len, blocks_to_boundary); in ext4_ind_map_blocks() 658 map->m_len = count; in ext4_ind_map_blocks()
|
| H A D | dir.c | 185 map.m_len = 1; in ext4_readdir() 190 if (map.m_len == 0) in ext4_readdir() 191 map.m_len = 1; in ext4_readdir() 192 ctx->pos += map.m_len * sb->s_blocksize; in ext4_readdir()
|
| H A 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()
|
| H A D | file.c | 229 map.m_len = EXT4_MAX_BLOCKS(len, pos, blkbits); in ext4_overwrite_io() 230 blklen = map.m_len; in ext4_overwrite_io()
|
| H A D | inline.c | 1128 map.m_len = 1; in ext4_convert_inline_data_nolock()
|
| H A D | extents_status.c | 773 map.m_len = es->es_len; in ext4_es_insert_extent_ind_check()
|
| H A D | xattr.c | 1400 map.m_len = max_blocks -= ret; in ext4_xattr_inode_write()
|
| H A D | ext4.h | 261 unsigned int m_len; member
|
| H A D | namei.c | 68 map.m_len = 1; in ext4_append()
|
| H A D | super.c | 5919 map.m_len = 1; in ext4_journal_bmap()
|
| /linux/fs/f2fs/ |
| H A D | data.c | 1560 unsigned int maxblocks = map->m_len; in f2fs_map_blocks_cached() 1568 map->m_len = min((pgoff_t)maxblocks, ei.fofs + ei.len - pgoff); in f2fs_map_blocks_cached() 1571 *map->m_next_extent = pgoff + map->m_len; in f2fs_map_blocks_cached() 1576 map->m_pblk, map->m_len); in f2fs_map_blocks_cached() 1583 map->m_len = min(map->m_len, dev->end_blk + 1 - map->m_pblk); in f2fs_map_blocks_cached() 1617 unsigned int maxblocks = map->m_len; in f2fs_map_blocks() 1645 map->m_len = 0; in f2fs_map_blocks() 1761 if (map->m_len == 0) { in f2fs_map_blocks() 1770 map->m_len = 1; in f2fs_map_blocks() 1779 map->m_len++; in f2fs_map_blocks() [all …]
|
| H A D | file.c | 1900 map.m_len = pg_end - pg_start; in f2fs_expand_inode_data() 1902 map.m_len++; in f2fs_expand_inode_data() 1904 if (!map.m_len) in f2fs_expand_inode_data() 1909 block_t sec_len = roundup(map.m_len, sec_blks); in f2fs_expand_inode_data() 1911 map.m_len = sec_blks; in f2fs_expand_inode_data() 1950 expanded += map.m_len; in f2fs_expand_inode_data() 1951 sec_len -= map.m_len; in f2fs_expand_inode_data() 1952 map.m_lblk += map.m_len; in f2fs_expand_inode_data() 1956 map.m_len = expanded; in f2fs_expand_inode_data() 1959 expanded = map.m_len; in f2fs_expand_inode_data() [all …]
|
| H A D | f2fs.h | 829 unsigned int m_len; member
|
| /linux/drivers/net/fddi/skfp/h/ |
| H A D | mbuf.h | 23 #define sm_len m_len
|
| /linux/include/trace/events/ |
| H A D | ext4.h | 566 __entry->len = map->m_len; 1582 __field( unsigned, m_len ) 1592 __entry->m_len = map->m_len; 1602 __entry->m_lblk, __entry->m_len, 1620 __field( unsigned, m_len ) 1633 __entry->m_len = map->m_len; 1647 __entry->m_lblk, __entry->m_len, 1717 __entry->len = map->m_len; 1946 __entry->len = map->m_len; 1980 __entry->len = map->m_len; [all …]
|
| H A D | f2fs.h | 650 __field(unsigned int, m_len) 664 __entry->m_len = map->m_len; 680 (unsigned long long)__entry->m_len,
|
| /linux/Documentation/filesystems/ext4/ |
| H A D | atomic_writes.rst | 143 reserve credits of up to ``m_len``, assuming every alternate block can be
|