Home
last modified time | relevance | path

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

/linux-6.6.21/lib/lzo/
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 …]
/linux-6.6.21/fs/ext4/
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()
321 if (relative_block == map.m_len) { in ext4_mpage_readpages()
378 (relative_block == map.m_len)) || in ext4_mpage_readpages()
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()
492 flags, map->m_len, (unsigned long) map->m_lblk); in ext4_map_blocks()
497 if (unlikely(map->m_len > INT_MAX)) in ext4_map_blocks()
498 map->m_len = INT_MAX; in ext4_map_blocks()
513 if (retval > map->m_len) in ext4_map_blocks()
514 retval = map->m_len; in ext4_map_blocks()
515 map->m_len = retval; in ext4_map_blocks()
[all …]
Dextents.c3314 int allocated = map->m_len; in ext4_split_extent()
3322 if (map->m_lblk + map->m_len < ee_block + ee_len) { in ext4_split_extent()
3331 map->m_lblk + map->m_len, split_flag1, flags1); in ext4_split_extent()
3404 unsigned int ee_len, depth, map_len = map->m_len; in ext4_ext_convert_to_initialized()
3573 split_map.m_len = map->m_len; in ext4_ext_convert_to_initialized()
3575 if (max_zeroout && (allocated > split_map.m_len)) { in ext4_ext_convert_to_initialized()
3580 split_map.m_len); in ext4_ext_convert_to_initialized()
3582 cpu_to_le16(allocated - split_map.m_len); in ext4_ext_convert_to_initialized()
3585 split_map.m_len - ee_block); in ext4_ext_convert_to_initialized()
3589 split_map.m_len = allocated; in ext4_ext_convert_to_initialized()
[all …]
Dfast_commit.c915 map.m_len = new_blk_size - cur_lblk_off + 1; in ext4_fc_write_inode_data()
920 if (map.m_len == 0) { in ext4_fc_write_inode_data()
928 lrange.fc_len = cpu_to_le32(map.m_len); in ext4_fc_write_inode_data()
937 map.m_len = min(max, map.m_len); in ext4_fc_write_inode_data()
942 ex->ee_len = cpu_to_le16(map.m_len); in ext4_fc_write_inode_data()
953 cur_lblk_off += map.m_len; in ext4_fc_write_inode_data()
1760 map.m_len = remaining; in ext4_fc_replay_add_range()
1776 newex.ee_len = cpu_to_le16(map.m_len); in ext4_fc_replay_add_range()
1795 ret = ext4_ext_replay_update_ex(inode, cur, map.m_len, in ext4_fc_replay_add_range()
1809 ext4_mb_mark_bb(inode->i_sb, map.m_pblk, map.m_len, 0); in ext4_fc_replay_add_range()
[all …]
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()
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()
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()
Dfile.c228 map.m_len = EXT4_MAX_BLOCKS(len, pos, blkbits); in ext4_overwrite_io()
229 blklen = map.m_len; in ext4_overwrite_io()
Dextents_status.c716 map.m_len = es->es_len; in ext4_es_insert_extent_ind_check()
Dinline.c1209 map.m_len = 1; in ext4_convert_inline_data_nolock()
Dext4.h261 unsigned int m_len; member
Dxattr.c1398 map.m_len = max_blocks -= ret; in ext4_xattr_inode_write()
Dnamei.c68 map.m_len = 1; in ext4_append()
Dsuper.c5811 map.m_len = 1; in ext4_journal_bmap()
/linux-6.6.21/fs/f2fs/
Ddata.c1560 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()
1584 map->m_len = min(map->m_len, dev->end_blk + 1 - map->m_pblk); in f2fs_map_blocks_cached()
1598 unsigned int maxblocks = map->m_len; in f2fs_map_blocks()
1621 map->m_len = 0; in f2fs_map_blocks()
1729 if (map->m_len == 0) { in f2fs_map_blocks()
1736 map->m_len = 1; in f2fs_map_blocks()
1747 map->m_len++; in f2fs_map_blocks()
[all …]
Dfile.c1716 map.m_len = pg_end - pg_start; in f2fs_expand_inode_data()
1718 map.m_len++; in f2fs_expand_inode_data()
1720 if (!map.m_len) in f2fs_expand_inode_data()
1725 block_t sec_len = roundup(map.m_len, sec_blks); in f2fs_expand_inode_data()
1727 map.m_len = sec_blks; in f2fs_expand_inode_data()
1750 expanded += map.m_len; in f2fs_expand_inode_data()
1751 sec_len -= map.m_len; in f2fs_expand_inode_data()
1752 map.m_lblk += map.m_len; in f2fs_expand_inode_data()
1756 map.m_len = expanded; in f2fs_expand_inode_data()
1759 expanded = map.m_len; in f2fs_expand_inode_data()
[all …]
Df2fs.h690 unsigned int m_len; member
/linux-6.6.21/drivers/net/fddi/skfp/h/
Dmbuf.h23 #define sm_len m_len
/linux-6.6.21/include/trace/events/
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;
Df2fs.h582 __field(unsigned int, m_len)
596 __entry->m_len = map->m_len;
612 (unsigned long long)__entry->m_len,