Home
last modified time | relevance | path

Searched refs:m_len (Results 1 – 22 of 22) sorted by relevance

/openbmc/linux/lib/lzo/
H A Dlzo1x_compress.c41 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 Dreadpage.c241 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 Dinode.c385 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 Dextents.c3336 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 Dfast_commit.c931 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 Ddir.c180 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 Dindirect.c545 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 Dblock_validity.c167 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 Dfile.c228 map.m_len = EXT4_MAX_BLOCKS(len, pos, blkbits); in ext4_overwrite_io()
229 blklen = map.m_len; in ext4_overwrite_io()
H A Dextents_status.c718 map.m_len = es->es_len; in ext4_es_insert_extent_ind_check()
H A Dinline.c1209 map.m_len = 1; in ext4_convert_inline_data_nolock()
H A Dext4.h261 unsigned int m_len; member
H A Dxattr.c1398 map.m_len = max_blocks -= ret; in ext4_xattr_inode_write()
H A Dnamei.c68 map.m_len = 1; in ext4_append()
H A Dsuper.c5823 map.m_len = 1; in ext4_journal_bmap()
/openbmc/linux/fs/f2fs/
H A Ddata.c1486 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 Dfile.c1767 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 Df2fs.h695 unsigned int m_len; member
/openbmc/qemu/linux-user/
H A Dmmap.c1298 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 Dmbuf.h23 #define sm_len m_len
/openbmc/linux/include/trace/events/
H A Dext4.h532 __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 Df2fs.h583 __field(unsigned int, m_len)
597 __entry->m_len = map->m_len;
613 (unsigned long long)__entry->m_len,