/openbmc/linux/lib/lzo/ |
H A D | lzo1x_compress.c | 41 size_t t, m_len, m_off; in lzo1x_1_do_compress() local 162 m_len = 4; in lzo1x_1_do_compress() 166 v = get_unaligned((const u64 *) (ip + m_len)) ^ in lzo1x_1_do_compress() 167 get_unaligned((const u64 *) (m_pos + m_len)); in lzo1x_1_do_compress() 170 m_len += 8; in lzo1x_1_do_compress() 171 v = get_unaligned((const u64 *) (ip + m_len)) ^ in lzo1x_1_do_compress() 172 get_unaligned((const u64 *) (m_pos + m_len)); in lzo1x_1_do_compress() 173 if (unlikely(ip + m_len >= ip_end)) in lzo1x_1_do_compress() 178 m_len += (unsigned) __builtin_ctzll(v) / 8; in lzo1x_1_do_compress() 180 m_len += (unsigned) __builtin_clzll(v) / 8; in lzo1x_1_do_compress() [all …]
|
/openbmc/linux/fs/ext4/ |
H A D | readpage.c | 241 map.m_len = 0; in ext4_mpage_readpages() 269 block_in_file < (map.m_lblk + map.m_len)) { in ext4_mpage_readpages() 271 unsigned last = map.m_len - map_offset; in ext4_mpage_readpages() 295 map.m_len = last_block - block_in_file; in ext4_mpage_readpages() 320 if (relative_block == map.m_len) { in ext4_mpage_readpages() 377 (relative_block == map.m_len)) || in ext4_mpage_readpages()
|
H A D | inode.c | 385 if (!ext4_inode_block_valid(inode, map->m_pblk, map->m_len)) { in __check_block_validity() 389 map->m_pblk, map->m_len); in __check_block_validity() 448 inode->i_ino, es_map->m_lblk, es_map->m_len, in ext4_map_blocks_es_recheck() 450 map->m_len, map->m_pblk, map->m_flags, in ext4_map_blocks_es_recheck() 470 if (unlikely(retval != map->m_len)) { in ext4_map_query_blocks() 474 inode->i_ino, retval, map->m_len); in ext4_map_query_blocks() 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() 526 if (unlikely(map->m_len > INT_MAX)) in ext4_map_blocks() 527 map->m_len = INT_MAX; in ext4_map_blocks() [all …]
|
H A D | extents.c | 3336 int allocated = map->m_len; in ext4_split_extent() 3344 if (map->m_lblk + map->m_len < ee_block + ee_len) { in ext4_split_extent() 3353 map->m_lblk + map->m_len, split_flag1, flags1); in ext4_split_extent() 3426 unsigned int ee_len, depth, map_len = map->m_len; in ext4_ext_convert_to_initialized() 3596 split_map.m_len = map->m_len; in ext4_ext_convert_to_initialized() 3598 if (max_zeroout && (allocated > split_map.m_len)) { in ext4_ext_convert_to_initialized() 3603 split_map.m_len); in ext4_ext_convert_to_initialized() 3605 cpu_to_le16(allocated - split_map.m_len); in ext4_ext_convert_to_initialized() 3608 split_map.m_len - ee_block); in ext4_ext_convert_to_initialized() 3612 split_map.m_len = allocated; in ext4_ext_convert_to_initialized() [all …]
|
H A D | fast_commit.c | 931 map.m_len = new_blk_size - cur_lblk_off + 1; in ext4_fc_write_inode_data() 936 if (map.m_len == 0) { in ext4_fc_write_inode_data() 944 lrange.fc_len = cpu_to_le32(map.m_len); in ext4_fc_write_inode_data() 953 map.m_len = min(max, map.m_len); in ext4_fc_write_inode_data() 958 ex->ee_len = cpu_to_le16(map.m_len); in ext4_fc_write_inode_data() 969 cur_lblk_off += map.m_len; in ext4_fc_write_inode_data() 1789 map.m_len = remaining; in ext4_fc_replay_add_range() 1805 newex.ee_len = cpu_to_le16(map.m_len); in ext4_fc_replay_add_range() 1824 ret = ext4_ext_replay_update_ex(inode, cur, map.m_len, in ext4_fc_replay_add_range() 1838 ext4_mb_mark_bb(inode->i_sb, map.m_pblk, map.m_len, 0); in ext4_fc_replay_add_range() [all …]
|
H A 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()
|
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 = 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()
|
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 | 228 map.m_len = EXT4_MAX_BLOCKS(len, pos, blkbits); in ext4_overwrite_io() 229 blklen = map.m_len; in ext4_overwrite_io()
|
H A D | extents_status.c | 718 map.m_len = es->es_len; in ext4_es_insert_extent_ind_check()
|
H A D | inline.c | 1209 map.m_len = 1; in ext4_convert_inline_data_nolock()
|
H A D | ext4.h | 261 unsigned int m_len; member
|
H A D | xattr.c | 1398 map.m_len = max_blocks -= ret; in ext4_xattr_inode_write()
|
H A D | namei.c | 68 map.m_len = 1; in ext4_append()
|
H A D | super.c | 5823 map.m_len = 1; in ext4_journal_bmap()
|
/openbmc/linux/fs/f2fs/ |
H A D | data.c | 1486 unsigned int maxblocks = map->m_len; in f2fs_map_blocks_cached() 1494 map->m_len = min((pgoff_t)maxblocks, ei.fofs + ei.len - pgoff); in f2fs_map_blocks_cached() 1497 *map->m_next_extent = pgoff + map->m_len; in f2fs_map_blocks_cached() 1502 map->m_pblk, map->m_len); in f2fs_map_blocks_cached() 1510 map->m_len = min(map->m_len, dev->end_blk + 1 - map->m_pblk); in f2fs_map_blocks_cached() 1524 unsigned int maxblocks = map->m_len; in f2fs_map_blocks() 1547 map->m_len = 0; in f2fs_map_blocks() 1653 if (map->m_len == 0) { in f2fs_map_blocks() 1660 map->m_len = 1; in f2fs_map_blocks() 1671 map->m_len++; in f2fs_map_blocks() [all …]
|
H A D | file.c | 1767 map.m_len = pg_end - pg_start; in f2fs_expand_inode_data() 1769 map.m_len++; in f2fs_expand_inode_data() 1771 if (!map.m_len) in f2fs_expand_inode_data() 1776 block_t sec_len = roundup(map.m_len, sec_blks); in f2fs_expand_inode_data() 1778 map.m_len = sec_blks; in f2fs_expand_inode_data() 1803 expanded += map.m_len; in f2fs_expand_inode_data() 1804 sec_len -= map.m_len; in f2fs_expand_inode_data() 1805 map.m_lblk += map.m_len; in f2fs_expand_inode_data() 1809 map.m_len = expanded; in f2fs_expand_inode_data() 1812 expanded = map.m_len; in f2fs_expand_inode_data() [all …]
|
H A D | f2fs.h | 695 unsigned int m_len; member
|
/openbmc/qemu/linux-user/ |
H A D | mmap.c | 1298 size_t t_len, h_len, m_len; in target_shmat() local 1356 m_len = MAX(t_len, h_len); in target_shmat() 1358 if (!guest_range_valid_untagged(shmaddr, m_len)) { in target_shmat() 1368 shmaddr = mmap_find_vma(0, m_len, m_shmlba); in target_shmat() 1386 if (!page_check_range_empty(shmaddr, shmaddr + m_len - 1)) { in target_shmat() 1405 test = mmap(want, m_len, mmap_p, mmap_f, -1, 0); in target_shmat() 1411 do_munmap(want, m_len); in target_shmat() 1425 do_munmap(want, m_len); in target_shmat() 1431 last = shmaddr + m_len - 1; in target_shmat()
|
/openbmc/linux/drivers/net/fddi/skfp/h/ |
H A D | mbuf.h | 23 #define sm_len m_len
|
/openbmc/linux/include/trace/events/ |
H A D | ext4.h | 532 __entry->len = map->m_len; 1549 __field( unsigned, m_len ) 1559 __entry->m_len = map->m_len; 1569 __entry->m_lblk, __entry->m_len, 1587 __field( unsigned, m_len ) 1600 __entry->m_len = map->m_len; 1614 __entry->m_lblk, __entry->m_len, 1684 __entry->len = map->m_len; 1913 __entry->len = map->m_len; 1947 __entry->len = map->m_len;
|
H A D | f2fs.h | 583 __field(unsigned int, m_len) 597 __entry->m_len = map->m_len; 613 (unsigned long long)__entry->m_len,
|