Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/lib/lzo/
Dlzo1x_compress.c41 size_t t, m_len, m_off; in lzo1x_1_do_compress() local
164 m_len = 4; in lzo1x_1_do_compress()
168 v = get_unaligned((const u64 *) (ip + m_len)) ^ in lzo1x_1_do_compress()
169 get_unaligned((const u64 *) (m_pos + m_len)); in lzo1x_1_do_compress()
172 m_len += 8; in lzo1x_1_do_compress()
173 v = get_unaligned((const u64 *) (ip + m_len)) ^ in lzo1x_1_do_compress()
174 get_unaligned((const u64 *) (m_pos + m_len)); in lzo1x_1_do_compress()
175 if (unlikely(ip + m_len >= ip_end)) in lzo1x_1_do_compress()
180 m_len += (unsigned) __builtin_ctzll(v) / 8; in lzo1x_1_do_compress()
182 m_len += (unsigned) __builtin_clzll(v) / 8; in lzo1x_1_do_compress()
[all …]
/kernel/linux/linux-5.10/fs/ext4/
Dreadpage.c247 map.m_len = 0; in ext4_mpage_readpages()
276 block_in_file < (map.m_lblk + map.m_len)) { in ext4_mpage_readpages()
278 unsigned last = map.m_len - map_offset; in ext4_mpage_readpages()
302 map.m_len = last_block - block_in_file; in ext4_mpage_readpages()
328 if (relative_block == map.m_len) { in ext4_mpage_readpages()
391 (relative_block == map.m_len)) || in ext4_mpage_readpages()
Dextents.c3344 int allocated = map->m_len; in ext4_split_extent()
3352 if (map->m_lblk + map->m_len < ee_block + ee_len) { in ext4_split_extent()
3361 map->m_lblk + map->m_len, split_flag1, flags1); in ext4_split_extent()
3435 unsigned int ee_len, depth, map_len = map->m_len; in ext4_ext_convert_to_initialized()
3604 split_map.m_len = map->m_len; in ext4_ext_convert_to_initialized()
3606 if (max_zeroout && (allocated > split_map.m_len)) { in ext4_ext_convert_to_initialized()
3611 split_map.m_len); in ext4_ext_convert_to_initialized()
3613 cpu_to_le16(allocated - split_map.m_len); in ext4_ext_convert_to_initialized()
3616 split_map.m_len - ee_block); in ext4_ext_convert_to_initialized()
3620 split_map.m_len = allocated; in ext4_ext_convert_to_initialized()
[all …]
Dinode.c416 if (!ext4_inode_block_valid(inode, map->m_pblk, map->m_len)) { in __check_block_validity()
420 map->m_pblk, map->m_len); in __check_block_validity()
479 inode->i_ino, es_map->m_lblk, es_map->m_len, in ext4_map_blocks_es_recheck()
481 map->m_len, map->m_pblk, map->m_flags, in ext4_map_blocks_es_recheck()
523 flags, map->m_len, (unsigned long) map->m_lblk); in ext4_map_blocks()
528 if (unlikely(map->m_len > INT_MAX)) in ext4_map_blocks()
529 map->m_len = INT_MAX; in ext4_map_blocks()
544 if (retval > map->m_len) in ext4_map_blocks()
545 retval = map->m_len; in ext4_map_blocks()
546 map->m_len = retval; in ext4_map_blocks()
[all …]
Dfast_commit.c833 map.m_len = new_blk_size - cur_lblk_off + 1; in ext4_fc_write_inode_data()
838 if (map.m_len == 0) { in ext4_fc_write_inode_data()
846 lrange.fc_len = cpu_to_le32(map.m_len); in ext4_fc_write_inode_data()
855 map.m_len = min(max, map.m_len); in ext4_fc_write_inode_data()
860 ex->ee_len = cpu_to_le16(map.m_len); in ext4_fc_write_inode_data()
871 cur_lblk_off += map.m_len; in ext4_fc_write_inode_data()
1668 map.m_len = remaining; in ext4_fc_replay_add_range()
1684 newex.ee_len = cpu_to_le16(map.m_len); in ext4_fc_replay_add_range()
1704 ret = ext4_ext_replay_update_ex(inode, cur, map.m_len, in ext4_fc_replay_add_range()
1718 ext4_mb_mark_bb(inode->i_sb, map.m_pblk, map.m_len, 0); in ext4_fc_replay_add_range()
[all …]
Ddir.c166 map.m_len = 1; in ext4_readdir()
171 if (map.m_len == 0) in ext4_readdir()
172 map.m_len = 1; in ext4_readdir()
173 ctx->pos += map.m_len * sb->s_blocksize; in ext4_readdir()
Dindirect.c543 trace_ext4_ind_map_blocks_enter(inode, map->m_lblk, map->m_len, flags); in ext4_ind_map_blocks()
559 while (count < map->m_len && count <= blocks_to_boundary) { in ext4_ind_map_blocks()
589 map->m_len = min_t(unsigned int, map->m_len, count); in ext4_ind_map_blocks()
628 map->m_len, blocks_to_boundary); in ext4_ind_map_blocks()
655 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.c200 map.m_len = EXT4_MAX_BLOCKS(len, pos, blkbits); in ext4_overwrite_io()
201 blklen = map.m_len; in ext4_overwrite_io()
Dextents_status.c688 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()
Dxattr.c1351 map.m_len = max_blocks -= ret; in ext4_xattr_inode_write()
Dext4.h194 unsigned int m_len; member
Dnamei.c68 map.m_len = 1; in ext4_append()
/kernel/linux/linux-5.10/drivers/net/fddi/skfp/h/
Dmbuf.h23 #define sm_len m_len
/kernel/linux/linux-5.10/fs/f2fs/
Ddata.c1442 map.m_len = F2FS_BYTES_TO_BLK(iocb->ki_pos + iov_iter_count(from)); in f2fs_preallocate_blocks()
1443 if (map.m_len > map.m_lblk) in f2fs_preallocate_blocks()
1444 map.m_len -= map.m_lblk; in f2fs_preallocate_blocks()
1446 map.m_len = 0; in f2fs_preallocate_blocks()
1472 if (map.m_len > 0 && err == -ENOSPC) { in f2fs_preallocate_blocks()
1503 unsigned int maxblocks = map->m_len; in f2fs_map_blocks()
1522 map->m_len = 0; in f2fs_map_blocks()
1535 map->m_len = min((pgoff_t)maxblocks, ei.fofs + ei.len - pgofs); in f2fs_map_blocks()
1538 *map->m_next_extent = pgofs + map->m_len; in f2fs_map_blocks()
1543 map->m_pblk, map->m_len); in f2fs_map_blocks()
[all …]
Dfile.c1645 map.m_len = pg_end - pg_start; in expand_inode_data()
1647 map.m_len++; in expand_inode_data()
1649 if (!map.m_len) in expand_inode_data()
1654 block_t sec_len = roundup(map.m_len, sec_blks); in expand_inode_data()
1656 map.m_len = sec_blks; in expand_inode_data()
1677 expanded += map.m_len; in expand_inode_data()
1678 sec_len -= map.m_len; in expand_inode_data()
1679 map.m_lblk += map.m_len; in expand_inode_data()
1683 map.m_len = expanded; in expand_inode_data()
1686 expanded = map.m_len; in expand_inode_data()
[all …]
Df2fs.h609 unsigned int m_len; member
/kernel/linux/linux-5.10/include/trace/events/
Dext4.h523 __entry->len = map->m_len;
1605 __field( unsigned, m_len )
1615 __entry->m_len = map->m_len;
1625 __entry->m_lblk, __entry->m_len,
1643 __field( unsigned, m_len )
1656 __entry->m_len = map->m_len;
1670 __entry->m_lblk, __entry->m_len,
1740 __entry->len = map->m_len;
1934 __entry->len = map->m_len;
1968 __entry->len = map->m_len;
Df2fs.h582 __field(unsigned int, m_len)
594 __entry->m_len = map->m_len;
607 (unsigned long long)__entry->m_len,