Home
last modified time | relevance | path

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

/Linux-v6.1/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-v6.1/fs/ext4/
Dreadpage.c248 map.m_len = 0; in ext4_mpage_readpages()
277 block_in_file < (map.m_lblk + map.m_len)) { in ext4_mpage_readpages()
279 unsigned last = map.m_len - map_offset; in ext4_mpage_readpages()
303 map.m_len = last_block - block_in_file; in ext4_mpage_readpages()
329 if (relative_block == map.m_len) { in ext4_mpage_readpages()
386 (relative_block == map.m_len)) || in ext4_mpage_readpages()
Dextents.c3339 int allocated = map->m_len; in ext4_split_extent()
3347 if (map->m_lblk + map->m_len < ee_block + ee_len) { in ext4_split_extent()
3356 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 …]
Dinode.c407 if (!ext4_inode_block_valid(inode, map->m_pblk, map->m_len)) { in __check_block_validity()
411 map->m_pblk, map->m_len); in __check_block_validity()
470 inode->i_ino, es_map->m_lblk, es_map->m_len, in ext4_map_blocks_es_recheck()
472 map->m_len, map->m_pblk, map->m_flags, in ext4_map_blocks_es_recheck()
514 flags, map->m_len, (unsigned long) map->m_lblk); in ext4_map_blocks()
519 if (unlikely(map->m_len > INT_MAX)) in ext4_map_blocks()
520 map->m_len = INT_MAX; in ext4_map_blocks()
535 if (retval > map->m_len) in ext4_map_blocks()
536 retval = map->m_len; in ext4_map_blocks()
537 map->m_len = retval; in ext4_map_blocks()
[all …]
Dfast_commit.c920 map.m_len = new_blk_size - cur_lblk_off + 1; in ext4_fc_write_inode_data()
925 if (map.m_len == 0) { in ext4_fc_write_inode_data()
933 lrange.fc_len = cpu_to_le32(map.m_len); in ext4_fc_write_inode_data()
942 map.m_len = min(max, map.m_len); in ext4_fc_write_inode_data()
947 ex->ee_len = cpu_to_le16(map.m_len); in ext4_fc_write_inode_data()
958 cur_lblk_off += map.m_len; in ext4_fc_write_inode_data()
1757 map.m_len = remaining; in ext4_fc_replay_add_range()
1773 newex.ee_len = cpu_to_le16(map.m_len); in ext4_fc_replay_add_range()
1792 ret = ext4_ext_replay_update_ex(inode, cur, map.m_len, in ext4_fc_replay_add_range()
1806 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.c538 trace_ext4_ind_map_blocks_enter(inode, map->m_lblk, map->m_len, flags); in ext4_ind_map_blocks()
554 while (count < map->m_len && count <= blocks_to_boundary) { in ext4_ind_map_blocks()
584 map->m_len = min_t(unsigned int, map->m_len, count); in ext4_ind_map_blocks()
623 map->m_len, blocks_to_boundary); in ext4_ind_map_blocks()
650 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.c216 map.m_len = EXT4_MAX_BLOCKS(len, pos, blkbits); in ext4_overwrite_io()
217 blklen = map.m_len; in ext4_overwrite_io()
Dextents_status.c687 map.m_len = es->es_len; in ext4_es_insert_extent_ind_check()
Dinline.c1227 map.m_len = 1; in ext4_convert_inline_data_nolock()
Dext4.h208 unsigned int m_len; member
Dxattr.c1354 map.m_len = max_blocks -= ret; in ext4_xattr_inode_write()
Dnamei.c68 map.m_len = 1; in ext4_append()
/Linux-v6.1/fs/f2fs/
Ddata.c1456 unsigned int maxblocks = map->m_len; in f2fs_map_blocks()
1476 map->m_len = 0; in f2fs_map_blocks()
1489 map->m_len = min((pgoff_t)maxblocks, ei.fofs + ei.len - pgofs); in f2fs_map_blocks()
1492 *map->m_next_extent = pgofs + map->m_len; in f2fs_map_blocks()
1497 map->m_pblk, map->m_len); in f2fs_map_blocks()
1506 map->m_len = min(map->m_len, in f2fs_map_blocks()
1511 blk_addr, map->m_len); in f2fs_map_blocks()
1640 if (map->m_len == 0) { in f2fs_map_blocks()
1647 map->m_len = 1; in f2fs_map_blocks()
1658 map->m_len++; in f2fs_map_blocks()
[all …]
Dfile.c1719 map.m_len = pg_end - pg_start; in expand_inode_data()
1721 map.m_len++; in expand_inode_data()
1723 if (!map.m_len) in expand_inode_data()
1728 block_t sec_len = roundup(map.m_len, sec_blks); in expand_inode_data()
1730 map.m_len = sec_blks; in expand_inode_data()
1752 expanded += map.m_len; in expand_inode_data()
1753 sec_len -= map.m_len; in expand_inode_data()
1754 map.m_lblk += map.m_len; in expand_inode_data()
1758 map.m_len = expanded; in expand_inode_data()
1761 expanded = map.m_len; in expand_inode_data()
[all …]
Df2fs.h660 unsigned int m_len; member
/Linux-v6.1/drivers/net/fddi/skfp/h/
Dmbuf.h23 #define sm_len m_len
/Linux-v6.1/include/trace/events/
Dext4.h516 __entry->len = map->m_len;
1540 __field( unsigned, m_len )
1550 __entry->m_len = map->m_len;
1560 __entry->m_lblk, __entry->m_len,
1578 __field( unsigned, m_len )
1591 __entry->m_len = map->m_len;
1605 __entry->m_lblk, __entry->m_len,
1675 __entry->len = map->m_len;
1869 __entry->len = map->m_len;
1903 __entry->len = map->m_len;
Df2fs.h575 __field(unsigned int, m_len)
590 __entry->m_len = map->m_len;
607 (unsigned long long)__entry->m_len,