Home
last modified time | relevance | path

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

/Linux-v5.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 …]
/Linux-v5.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()
Dinode.c399 if (!ext4_inode_block_valid(inode, map->m_pblk, map->m_len)) { in __check_block_validity()
403 map->m_pblk, map->m_len); in __check_block_validity()
462 inode->i_ino, es_map->m_lblk, es_map->m_len, in ext4_map_blocks_es_recheck()
464 map->m_len, map->m_pblk, map->m_flags, in ext4_map_blocks_es_recheck()
506 flags, map->m_len, (unsigned long) map->m_lblk); in ext4_map_blocks()
511 if (unlikely(map->m_len > INT_MAX)) in ext4_map_blocks()
512 map->m_len = INT_MAX; in ext4_map_blocks()
527 if (retval > map->m_len) in ext4_map_blocks()
528 retval = map->m_len; in ext4_map_blocks()
529 map->m_len = retval; in ext4_map_blocks()
[all …]
Dextents.c3290 int allocated = map->m_len; in ext4_split_extent()
3298 if (map->m_lblk + map->m_len < ee_block + ee_len) { in ext4_split_extent()
3307 map->m_lblk + map->m_len, split_flag1, flags1); in ext4_split_extent()
3381 unsigned int ee_len, depth, map_len = map->m_len; in ext4_ext_convert_to_initialized()
3550 split_map.m_len = map->m_len; in ext4_ext_convert_to_initialized()
3552 if (max_zeroout && (allocated > split_map.m_len)) { in ext4_ext_convert_to_initialized()
3557 split_map.m_len); in ext4_ext_convert_to_initialized()
3559 cpu_to_le16(allocated - split_map.m_len); in ext4_ext_convert_to_initialized()
3562 split_map.m_len - ee_block); in ext4_ext_convert_to_initialized()
3566 split_map.m_len = allocated; in ext4_ext_convert_to_initialized()
[all …]
Dfast_commit.c812 map.m_len = new_blk_size - cur_lblk_off + 1; in ext4_fc_write_inode_data()
817 if (map.m_len == 0) { in ext4_fc_write_inode_data()
825 lrange.fc_len = cpu_to_le32(map.m_len); in ext4_fc_write_inode_data()
833 ex->ee_len = cpu_to_le16(map.m_len); in ext4_fc_write_inode_data()
844 cur_lblk_off += map.m_len; in ext4_fc_write_inode_data()
1626 map.m_len = remaining; in ext4_fc_replay_add_range()
1646 newex.ee_len = cpu_to_le16(map.m_len); in ext4_fc_replay_add_range()
1668 ret = ext4_ext_replay_update_ex(inode, cur, map.m_len, in ext4_fc_replay_add_range()
1684 ext4_mb_mark_bb(inode->i_sb, map.m_pblk, map.m_len, 0); in ext4_fc_replay_add_range()
1692 ret = ext4_ext_replay_update_ex(inode, cur, map.m_len, 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.c536 trace_ext4_ind_map_blocks_enter(inode, map->m_lblk, map->m_len, flags); in ext4_ind_map_blocks()
552 while (count < map->m_len && count <= blocks_to_boundary) { in ext4_ind_map_blocks()
582 map->m_len = min_t(unsigned int, map->m_len, count); in ext4_ind_map_blocks()
621 map->m_len, blocks_to_boundary); in ext4_ind_map_blocks()
648 map->m_len = count; in ext4_ind_map_blocks()
Dblock_validity.c167 map.m_len = num - i; in ext4_protect_reserved_inode()
183 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.c1209 map.m_len = 1; in ext4_convert_inline_data_nolock()
Dext4.h194 unsigned int m_len; member
Dxattr.c1339 map.m_len = max_blocks -= ret; in ext4_xattr_inode_write()
/Linux-v5.10/drivers/net/fddi/skfp/h/
Dmbuf.h23 #define sm_len m_len
/Linux-v5.10/fs/f2fs/
Ddata.c1441 map.m_len = F2FS_BYTES_TO_BLK(iocb->ki_pos + iov_iter_count(from)); in f2fs_preallocate_blocks()
1442 if (map.m_len > map.m_lblk) in f2fs_preallocate_blocks()
1443 map.m_len -= map.m_lblk; in f2fs_preallocate_blocks()
1445 map.m_len = 0; in f2fs_preallocate_blocks()
1471 if (map.m_len > 0 && err == -ENOSPC) { in f2fs_preallocate_blocks()
1502 unsigned int maxblocks = map->m_len; in f2fs_map_blocks()
1517 map->m_len = 0; in f2fs_map_blocks()
1530 map->m_len = min((pgoff_t)maxblocks, ei.fofs + ei.len - pgofs); in f2fs_map_blocks()
1533 *map->m_next_extent = pgofs + map->m_len; in f2fs_map_blocks()
1538 map->m_pblk, map->m_len); in f2fs_map_blocks()
[all …]
Dfile.c1616 map.m_len = pg_end - map.m_lblk; in expand_inode_data()
1618 map.m_len++; in expand_inode_data()
1620 if (!map.m_len) in expand_inode_data()
1624 block_t len = (map.m_len >> sbi->log_blocks_per_seg) << in expand_inode_data()
1628 if (map.m_len % sbi->blocks_per_seg) in expand_inode_data()
1631 map.m_len = sbi->blocks_per_seg; in expand_inode_data()
1652 done += map.m_len; in expand_inode_data()
1653 len -= map.m_len; in expand_inode_data()
1654 map.m_lblk += map.m_len; in expand_inode_data()
1658 map.m_len = done; in expand_inode_data()
[all …]
Df2fs.h663 unsigned int m_len; member
/Linux-v5.10/include/trace/events/
Dext4.h510 __entry->len = map->m_len;
1592 __field( unsigned, m_len )
1602 __entry->m_len = map->m_len;
1612 __entry->m_lblk, __entry->m_len,
1630 __field( unsigned, m_len )
1643 __entry->m_len = map->m_len;
1657 __entry->m_lblk, __entry->m_len,
1727 __entry->len = map->m_len;
1921 __entry->len = map->m_len;
1955 __entry->len = map->m_len;
Df2fs.h581 __field(unsigned int, m_len)
593 __entry->m_len = map->m_len;
606 (unsigned long long)__entry->m_len,