Home
last modified time | relevance | path

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

/Linux-v5.4/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.4/fs/ext4/
Dreadpage.c235 map.m_len = 0; in ext4_mpage_readpages()
268 block_in_file < (map.m_lblk + map.m_len)) { in ext4_mpage_readpages()
270 unsigned last = map.m_len - map_offset; in ext4_mpage_readpages()
294 map.m_len = last_block - block_in_file; in ext4_mpage_readpages()
320 if (relative_block == map.m_len) { in ext4_mpage_readpages()
386 (relative_block == map.m_len)) || in ext4_mpage_readpages()
Dinode.c407 map->m_len)) { in __check_block_validity()
411 map->m_pblk, map->m_len); in __check_block_validity()
472 inode->i_ino, es_map->m_lblk, es_map->m_len, in ext4_map_blocks_es_recheck()
474 map->m_len, map->m_pblk, map->m_flags, in ext4_map_blocks_es_recheck()
516 "logical block %lu\n", inode->i_ino, flags, map->m_len, in ext4_map_blocks()
522 if (unlikely(map->m_len > INT_MAX)) in ext4_map_blocks()
523 map->m_len = INT_MAX; in ext4_map_blocks()
537 if (retval > map->m_len) in ext4_map_blocks()
538 retval = map->m_len; in ext4_map_blocks()
539 map->m_len = retval; in ext4_map_blocks()
[all …]
Dextents.c3451 int allocated = map->m_len; in ext4_split_extent()
3459 if (map->m_lblk + map->m_len < ee_block + ee_len) { in ext4_split_extent()
3468 map->m_lblk + map->m_len, split_flag1, flags1); in ext4_split_extent()
3542 unsigned int ee_len, depth, map_len = map->m_len; in ext4_ext_convert_to_initialized()
3715 split_map.m_len = map->m_len; in ext4_ext_convert_to_initialized()
3717 if (max_zeroout && (allocated > split_map.m_len)) { in ext4_ext_convert_to_initialized()
3722 split_map.m_len); in ext4_ext_convert_to_initialized()
3724 cpu_to_le16(allocated - split_map.m_len); in ext4_ext_convert_to_initialized()
3727 split_map.m_len - ee_block); in ext4_ext_convert_to_initialized()
3731 split_map.m_len = allocated; in ext4_ext_convert_to_initialized()
[all …]
Ddir.c160 map.m_len = 1; in ext4_readdir()
165 if (map.m_len == 0) in ext4_readdir()
166 map.m_len = 1; in ext4_readdir()
167 ctx->pos += map.m_len * sb->s_blocksize; in ext4_readdir()
Dindirect.c524 trace_ext4_ind_map_blocks_enter(inode, map->m_lblk, map->m_len, flags); in ext4_ind_map_blocks()
540 while (count < map->m_len && count <= blocks_to_boundary) { in ext4_ind_map_blocks()
570 map->m_len = min_t(unsigned int, map->m_len, count); in ext4_ind_map_blocks()
608 map->m_len, blocks_to_boundary); in ext4_ind_map_blocks()
635 map->m_len = count; in ext4_ind_map_blocks()
Dblock_validity.c207 map.m_len = num - i; in ext4_protect_reserved_inode()
220 map.m_pblk + map.m_len - 1, ino); in ext4_protect_reserved_inode()
Dfile.c148 map.m_len = EXT4_MAX_BLOCKS(len, pos, blkbits); in ext4_overwrite_io()
149 blklen = map.m_len; in ext4_overwrite_io()
Dextents_status.c679 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.h184 unsigned int m_len; member
Dxattr.c1357 map.m_len = max_blocks -= ret; in ext4_xattr_inode_write()
/Linux-v5.4/fs/f2fs/
Ddata.c1091 map.m_len = F2FS_BYTES_TO_BLK(iocb->ki_pos + iov_iter_count(from)); in f2fs_preallocate_blocks()
1092 if (map.m_len > map.m_lblk) in f2fs_preallocate_blocks()
1093 map.m_len -= map.m_lblk; in f2fs_preallocate_blocks()
1095 map.m_len = 0; in f2fs_preallocate_blocks()
1121 if (map.m_len > 0 && err == -ENOSPC) { in f2fs_preallocate_blocks()
1156 unsigned int maxblocks = map->m_len; in f2fs_map_blocks()
1171 map->m_len = 0; in f2fs_map_blocks()
1184 map->m_len = min((pgoff_t)maxblocks, ei.fofs + ei.len - pgofs); in f2fs_map_blocks()
1187 *map->m_next_extent = pgofs + map->m_len; in f2fs_map_blocks()
1192 map->m_pblk, map->m_len); in f2fs_map_blocks()
[all …]
Dfile.c1544 map.m_len = pg_end - map.m_lblk; in expand_inode_data()
1546 map.m_len++; in expand_inode_data()
1557 if (!map.m_len) in expand_inode_data()
1560 last_off = map.m_lblk + map.m_len - 1; in expand_inode_data()
2429 map.m_len = pg_end - map.m_lblk; in f2fs_defragment_range()
2443 total += map.m_len; in f2fs_defragment_range()
2445 blk_end = map.m_pblk + map.m_len; in f2fs_defragment_range()
2447 map.m_lblk += map.m_len; in f2fs_defragment_range()
2468 map.m_len = pg_end - pg_start; in f2fs_defragment_range()
2476 map.m_len = pg_end - map.m_lblk; in f2fs_defragment_range()
[all …]
Df2fs.h610 unsigned int m_len; member
/Linux-v5.4/drivers/net/fddi/skfp/h/
Dmbuf.h23 #define sm_len m_len
/Linux-v5.4/include/trace/events/
Dext4.h479 __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;
1866 __entry->len = map->m_len;
1900 __entry->len = map->m_len;
Df2fs.h568 __field(unsigned int, m_len)
580 __entry->m_len = map->m_len;
593 (unsigned long long)__entry->m_len,