Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/lib/lzo/
H A 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 …]
/OK3568_Linux_fs/kernel/fs/ext4/
H A Dinode.c409 if (!ext4_inode_block_valid(inode, map->m_pblk, map->m_len)) { in __check_block_validity()
413 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 flags, map->m_len, (unsigned long) map->m_lblk); in ext4_map_blocks()
521 if (unlikely(map->m_len > INT_MAX)) in ext4_map_blocks()
522 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 …]
H A Dextents.c3333 int allocated = map->m_len; in ext4_split_extent()
3341 if (map->m_lblk + map->m_len < ee_block + ee_len) { in ext4_split_extent()
3350 map->m_lblk + map->m_len, split_flag1, flags1); in ext4_split_extent()
3424 unsigned int ee_len, depth, map_len = map->m_len; in ext4_ext_convert_to_initialized()
3593 split_map.m_len = map->m_len; in ext4_ext_convert_to_initialized()
3595 if (max_zeroout && (allocated > split_map.m_len)) { in ext4_ext_convert_to_initialized()
3600 split_map.m_len); in ext4_ext_convert_to_initialized()
3602 cpu_to_le16(allocated - split_map.m_len); in ext4_ext_convert_to_initialized()
3605 split_map.m_len - ee_block); in ext4_ext_convert_to_initialized()
3609 split_map.m_len = allocated; in ext4_ext_convert_to_initialized()
[all …]
H A Dreadpage.c286 map.m_len = 0; in ext4_mpage_readpages()
315 block_in_file < (map.m_lblk + map.m_len)) { in ext4_mpage_readpages()
317 unsigned last = map.m_len - map_offset; in ext4_mpage_readpages()
341 map.m_len = last_block - block_in_file; in ext4_mpage_readpages()
367 if (relative_block == map.m_len) { in ext4_mpage_readpages()
430 (relative_block == map.m_len)) || in ext4_mpage_readpages()
H A Dfast_commit.c820 map.m_len = new_blk_size - cur_lblk_off + 1; in ext4_fc_write_inode_data()
825 if (map.m_len == 0) { in ext4_fc_write_inode_data()
833 lrange.fc_len = cpu_to_le32(map.m_len); in ext4_fc_write_inode_data()
842 map.m_len = min(max, map.m_len); in ext4_fc_write_inode_data()
847 ex->ee_len = cpu_to_le16(map.m_len); in ext4_fc_write_inode_data()
858 cur_lblk_off += map.m_len; in ext4_fc_write_inode_data()
1655 map.m_len = remaining; in ext4_fc_replay_add_range()
1671 newex.ee_len = cpu_to_le16(map.m_len); in ext4_fc_replay_add_range()
1691 ret = ext4_ext_replay_update_ex(inode, cur, map.m_len, in ext4_fc_replay_add_range()
1705 ext4_mb_mark_bb(inode->i_sb, map.m_pblk, map.m_len, 0); in ext4_fc_replay_add_range()
[all …]
H A 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()
H A Ddir.c185 map.m_len = 1; in ext4_readdir()
190 if (map.m_len == 0) in ext4_readdir()
191 map.m_len = 1; in ext4_readdir()
192 ctx->pos += map.m_len * sb->s_blocksize; in ext4_readdir()
H A 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()
H A Dfile.c202 map.m_len = EXT4_MAX_BLOCKS(len, pos, blkbits); in ext4_overwrite_io()
203 blklen = map.m_len; in ext4_overwrite_io()
H A Dinline.c1235 map.m_len = 1; in ext4_convert_inline_data_nolock()
H A Dextents_status.c688 map.m_len = es->es_len; in ext4_es_insert_extent_ind_check()
H A Dxattr.c1339 map.m_len = max_blocks -= ret; in ext4_xattr_inode_write()
H A Dext4.h194 unsigned int m_len; member
H A Dnamei.c68 map.m_len = 1; in ext4_append()
/OK3568_Linux_fs/kernel/fs/f2fs/
H A Ddata.c1416 map.m_len = F2FS_BYTES_TO_BLK(iocb->ki_pos + iov_iter_count(from)); in f2fs_preallocate_blocks()
1417 if (map.m_len > map.m_lblk) in f2fs_preallocate_blocks()
1418 map.m_len -= map.m_lblk; in f2fs_preallocate_blocks()
1420 map.m_len = 0; in f2fs_preallocate_blocks()
1446 if (map.m_len > 0 && err == -ENOSPC) { in f2fs_preallocate_blocks()
1477 unsigned int maxblocks = map->m_len; in f2fs_map_blocks()
1492 map->m_len = 0; in f2fs_map_blocks()
1505 map->m_len = min((pgoff_t)maxblocks, ei.fofs + ei.len - pgofs); in f2fs_map_blocks()
1508 *map->m_next_extent = pgofs + map->m_len; in f2fs_map_blocks()
1513 map->m_pblk, map->m_len); in f2fs_map_blocks()
[all …]
H A Dfile.c1669 map.m_len = pg_end - pg_start; in expand_inode_data()
1671 map.m_len++; in expand_inode_data()
1673 if (!map.m_len) in expand_inode_data()
1678 block_t sec_len = roundup(map.m_len, sec_blks); in expand_inode_data()
1680 map.m_len = sec_blks; in expand_inode_data()
1701 expanded += map.m_len; in expand_inode_data()
1702 sec_len -= map.m_len; in expand_inode_data()
1703 map.m_lblk += map.m_len; in expand_inode_data()
1707 map.m_len = expanded; in expand_inode_data()
1710 expanded = map.m_len; in expand_inode_data()
[all …]
H A Df2fs.h678 unsigned int m_len; member
/OK3568_Linux_fs/kernel/drivers/net/fddi/skfp/h/
H A Dmbuf.h23 #define sm_len m_len
/OK3568_Linux_fs/kernel/include/trace/events/
H A Dext4.h521 __entry->len = map->m_len;
1603 __field( unsigned, m_len )
1613 __entry->m_len = map->m_len;
1623 __entry->m_lblk, __entry->m_len,
1641 __field( unsigned, m_len )
1654 __entry->m_len = map->m_len;
1668 __entry->m_lblk, __entry->m_len,
1738 __entry->len = map->m_len;
1932 __entry->len = map->m_len;
1966 __entry->len = map->m_len;
H A Df2fs.h589 __field(unsigned int, m_len)
601 __entry->m_len = map->m_len;
614 (unsigned long long)__entry->m_len,
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/
H A Dline-map.h1863 size_t get_length () const { return m_len; } in get_length()
1877 size_t m_len; variable
H A Dwide-int.h1346 unsigned char *m_len;
1391 unsigned char m_len[N];
1411 : m_precision (precision), m_len (len), m_val (val)
1418 return *m_len;
1442 *m_len = len;
1473 return trailing_wide_int_storage (m_precision, &m_len[index],
1482 m_len[index], m_precision);
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/
H A Dline-map.h1863 size_t get_length () const { return m_len; } in get_length()
1877 size_t m_len; variable
H A Dwide-int.h1346 unsigned char *m_len;
1391 unsigned char m_len[N];
1411 : m_precision (precision), m_len (len), m_val (val)
1418 return *m_len;
1442 *m_len = len;
1473 return trailing_wide_int_storage (m_precision, &m_len[index],
1482 m_len[index], m_precision);