Home
last modified time | relevance | path

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

/Linux-v5.15/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.15/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()
390 (relative_block == map.m_len)) || in ext4_mpage_readpages()
Dinode.c408 if (!ext4_inode_block_valid(inode, map->m_pblk, map->m_len)) { in __check_block_validity()
412 map->m_pblk, map->m_len); in __check_block_validity()
471 inode->i_ino, es_map->m_lblk, es_map->m_len, in ext4_map_blocks_es_recheck()
473 map->m_len, map->m_pblk, map->m_flags, in ext4_map_blocks_es_recheck()
515 flags, map->m_len, (unsigned long) map->m_lblk); in ext4_map_blocks()
520 if (unlikely(map->m_len > INT_MAX)) in ext4_map_blocks()
521 map->m_len = INT_MAX; in ext4_map_blocks()
536 if (retval > map->m_len) in ext4_map_blocks()
537 retval = map->m_len; in ext4_map_blocks()
538 map->m_len = retval; in ext4_map_blocks()
[all …]
Dextents.c3301 int allocated = map->m_len; in ext4_split_extent()
3309 if (map->m_lblk + map->m_len < ee_block + ee_len) { in ext4_split_extent()
3318 map->m_lblk + map->m_len, split_flag1, flags1); in ext4_split_extent()
3392 unsigned int ee_len, depth, map_len = map->m_len; in ext4_ext_convert_to_initialized()
3561 split_map.m_len = map->m_len; in ext4_ext_convert_to_initialized()
3563 if (max_zeroout && (allocated > split_map.m_len)) { in ext4_ext_convert_to_initialized()
3568 split_map.m_len); in ext4_ext_convert_to_initialized()
3570 cpu_to_le16(allocated - split_map.m_len); in ext4_ext_convert_to_initialized()
3573 split_map.m_len - ee_block); in ext4_ext_convert_to_initialized()
3577 split_map.m_len = allocated; in ext4_ext_convert_to_initialized()
[all …]
Dfast_commit.c877 map.m_len = new_blk_size - cur_lblk_off + 1; in ext4_fc_write_inode_data()
882 if (map.m_len == 0) { in ext4_fc_write_inode_data()
890 lrange.fc_len = cpu_to_le32(map.m_len); in ext4_fc_write_inode_data()
899 map.m_len = min(max, map.m_len); in ext4_fc_write_inode_data()
904 ex->ee_len = cpu_to_le16(map.m_len); in ext4_fc_write_inode_data()
915 cur_lblk_off += map.m_len; in ext4_fc_write_inode_data()
1677 map.m_len = remaining; in ext4_fc_replay_add_range()
1697 newex.ee_len = cpu_to_le16(map.m_len); in ext4_fc_replay_add_range()
1719 ret = ext4_ext_replay_update_ex(inode, cur, map.m_len, in ext4_fc_replay_add_range()
1735 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.c199 map.m_len = EXT4_MAX_BLOCKS(len, pos, blkbits); in ext4_overwrite_io()
200 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.c1223 map.m_len = 1; in ext4_convert_inline_data_nolock()
Dext4.h209 unsigned int m_len; member
Dxattr.c1345 map.m_len = max_blocks -= ret; in ext4_xattr_inode_write()
/Linux-v5.15/fs/f2fs/
Ddata.c1396 map.m_len = F2FS_BYTES_TO_BLK(iocb->ki_pos + iov_iter_count(from)); in f2fs_preallocate_blocks()
1397 if (map.m_len > map.m_lblk) in f2fs_preallocate_blocks()
1398 map.m_len -= map.m_lblk; in f2fs_preallocate_blocks()
1400 map.m_len = 0; in f2fs_preallocate_blocks()
1426 if (map.m_len > 0 && err == -ENOSPC) { in f2fs_preallocate_blocks()
1457 unsigned int maxblocks = map->m_len; in f2fs_map_blocks()
1472 map->m_len = 0; in f2fs_map_blocks()
1485 map->m_len = min((pgoff_t)maxblocks, ei.fofs + ei.len - pgofs); in f2fs_map_blocks()
1488 *map->m_next_extent = pgofs + map->m_len; in f2fs_map_blocks()
1493 map->m_pblk, map->m_len); in f2fs_map_blocks()
[all …]
Dfile.c1661 map.m_len = pg_end - pg_start; in expand_inode_data()
1663 map.m_len++; in expand_inode_data()
1665 if (!map.m_len) in expand_inode_data()
1670 block_t sec_len = roundup(map.m_len, sec_blks); in expand_inode_data()
1672 map.m_len = sec_blks; in expand_inode_data()
1693 expanded += map.m_len; in expand_inode_data()
1694 sec_len -= map.m_len; in expand_inode_data()
1695 map.m_lblk += map.m_len; in expand_inode_data()
1699 map.m_len = expanded; in expand_inode_data()
1702 expanded = map.m_len; in expand_inode_data()
[all …]
Df2fs.h622 unsigned int m_len; member
/Linux-v5.15/drivers/net/fddi/skfp/h/
Dmbuf.h23 #define sm_len m_len
/Linux-v5.15/include/trace/events/
Dext4.h510 __entry->len = map->m_len;
1534 __field( unsigned, m_len )
1544 __entry->m_len = map->m_len;
1554 __entry->m_lblk, __entry->m_len,
1572 __field( unsigned, m_len )
1585 __entry->m_len = map->m_len;
1599 __entry->m_lblk, __entry->m_len,
1669 __entry->len = map->m_len;
1863 __entry->len = map->m_len;
1897 __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,