Home
last modified time | relevance | path

Searched refs:end_offset (Results 1 – 25 of 41) sorted by relevance

12

/linux-6.6.21/drivers/android/
Dbinder_alloc_selftest.c224 size_t *end_offset) in binder_selftest_alloc_size() argument
234 offset = end_offset[i]; in binder_selftest_alloc_size()
243 back_sizes[0] += alloc->buffer_size - end_offset[BUFFER_NUM - 1]; in binder_selftest_alloc_size()
245 end_offset[BUFFER_NUM - 1]); in binder_selftest_alloc_size()
250 size_t *end_offset, int index) in binder_selftest_alloc_offset() argument
256 binder_selftest_alloc_size(alloc, end_offset); in binder_selftest_alloc_offset()
259 prev = index == 0 ? 0 : end_offset[index - 1]; in binder_selftest_alloc_offset()
269 end_offset[index] = end; in binder_selftest_alloc_offset()
270 binder_selftest_alloc_offset(alloc, end_offset, index + 1); in binder_selftest_alloc_offset()
285 size_t end_offset[BUFFER_NUM]; in binder_selftest_alloc() local
[all …]
/linux-6.6.21/fs/verity/
Dread_metadata.c20 u64 end_offset; in fsverity_read_merkle_tree() local
26 end_offset = min(offset + length, vi->tree_params.tree_size); in fsverity_read_merkle_tree()
27 if (offset >= end_offset) in fsverity_read_merkle_tree()
30 last_index = (end_offset - 1) >> PAGE_SHIFT; in fsverity_read_merkle_tree()
42 unsigned int bytes_to_copy = min_t(u64, end_offset - offset, in fsverity_read_merkle_tree()
/linux-6.6.21/arch/x86/kernel/
Dftrace.c316 unsigned long end_offset; in create_trampoline() local
334 end_offset = (unsigned long)ftrace_regs_caller_end; in create_trampoline()
340 end_offset = (unsigned long)ftrace_caller_end; in create_trampoline()
346 size = end_offset - start_offset; in create_trampoline()
436 unsigned long end_offset; in set_ftrace_ops_ro() local
446 end_offset = (unsigned long)ftrace_regs_caller_end; in set_ftrace_ops_ro()
449 end_offset = (unsigned long)ftrace_caller_end; in set_ftrace_ops_ro()
451 size = end_offset - start_offset; in set_ftrace_ops_ro()
/linux-6.6.21/fs/configfs/
Dfile.c242 size_t end_offset; in configfs_bin_write_iter() local
255 end_offset = iocb->ki_pos + iov_iter_count(from); in configfs_bin_write_iter()
256 if (end_offset > buffer->bin_buffer_size) { in configfs_bin_write_iter()
257 if (buffer->cb_max_size && end_offset > buffer->cb_max_size) { in configfs_bin_write_iter()
262 tbuf = vmalloc(end_offset); in configfs_bin_write_iter()
277 end_offset - buffer->bin_buffer_size); in configfs_bin_write_iter()
279 buffer->bin_buffer_size = end_offset; in configfs_bin_write_iter()
/linux-6.6.21/sound/pci/emu10k1/
Dmemory.c573 int page, nextofs, end_offset, temp, temp1; in snd_emu10k1_synth_bzero() local
578 end_offset = offset + size; in snd_emu10k1_synth_bzero()
583 temp1 = end_offset - offset; in snd_emu10k1_synth_bzero()
591 } while (offset < end_offset); in snd_emu10k1_synth_bzero()
603 int page, nextofs, end_offset, temp, temp1; in snd_emu10k1_synth_copy_from_user() local
608 end_offset = offset + size; in snd_emu10k1_synth_copy_from_user()
613 temp1 = end_offset - offset; in snd_emu10k1_synth_copy_from_user()
622 } while (offset < end_offset); in snd_emu10k1_synth_copy_from_user()
/linux-6.6.21/drivers/char/agp/
Di460-agp.c403 int i, start_offset, end_offset, idx, pg, num_entries; in i460_insert_memory_large_io_page() local
417 end_offset = (pg_start + mem->page_count - 1) % I460_KPAGES_PER_IOPAGE; in i460_insert_memory_large_io_page()
430 idx < ((lp == end) ? (end_offset + 1) : I460_KPAGES_PER_IOPAGE); in i460_insert_memory_large_io_page()
450 idx < ((lp == end) ? (end_offset + 1) : I460_KPAGES_PER_IOPAGE); in i460_insert_memory_large_io_page()
464 int i, pg, start_offset, end_offset, idx, num_entries; in i460_remove_memory_large_io_page() local
475 end_offset = (pg_start + mem->page_count - 1) % I460_KPAGES_PER_IOPAGE; in i460_remove_memory_large_io_page()
479 idx < ((lp == end) ? (end_offset + 1) : I460_KPAGES_PER_IOPAGE); in i460_remove_memory_large_io_page()
/linux-6.6.21/include/trace/events/
Dbcache.h400 unsigned end_inode, uint64_t end_offset),
403 end_inode, end_offset),
410 __field(__u64, end_offset )
418 __entry->end_offset = end_offset;
423 __entry->end_inode, __entry->end_offset)
/linux-6.6.21/net/devlink/
Dregion.c797 void *cb_priv, u64 start_offset, u64 end_offset, in devlink_nl_region_read_fill() argument
811 while (curr_offset < end_offset) { in devlink_nl_region_read_fill()
814 data_size = min_t(u32, end_offset - curr_offset, in devlink_nl_region_read_fill()
872 u64 ret_offset, start_offset, end_offset = U64_MAX; in devlink_nl_cmd_region_read_dumpit() local
966 end_offset = nla_get_u64(attrs[DEVLINK_ATTR_REGION_CHUNK_ADDR]); in devlink_nl_cmd_region_read_dumpit()
967 end_offset += nla_get_u64(attrs[DEVLINK_ATTR_REGION_CHUNK_LEN]); in devlink_nl_cmd_region_read_dumpit()
970 if (end_offset > region->size) in devlink_nl_cmd_region_read_dumpit()
971 end_offset = region->size; in devlink_nl_cmd_region_read_dumpit()
974 if (start_offset == end_offset) { in devlink_nl_cmd_region_read_dumpit()
1009 start_offset, end_offset, &ret_offset, in devlink_nl_cmd_region_read_dumpit()
/linux-6.6.21/mm/
Dswap_state.c626 unsigned long start_offset, end_offset; in swap_cluster_readahead() local
641 end_offset = offset | mask; in swap_cluster_readahead()
644 if (end_offset >= si->max) in swap_cluster_readahead()
645 end_offset = si->max - 1; in swap_cluster_readahead()
648 for (offset = start_offset; offset <= end_offset ; offset++) { in swap_cluster_readahead()
Dpercpu-internal.h64 int end_offset; /* additional area required to member
Dpercpu-stats.c71 chunk->end_offset / PCPU_MIN_ALLOC_SIZE - 1); in chunk_map_stats()
Dfilemap.c2627 loff_t isize, end_offset; in filemap_read() local
2667 end_offset = min_t(loff_t, isize, iocb->ki_pos + iter->count); in filemap_read()
2696 size_t bytes = min_t(loff_t, end_offset - iocb->ki_pos, in filemap_read()
2700 if (end_offset < folio_pos(folio)) in filemap_read()
2904 loff_t isize, end_offset; in filemap_splice_read() local
2943 end_offset = min_t(loff_t, isize, *ppos + len); in filemap_splice_read()
2955 if (folio_pos(folio) >= end_offset) in filemap_splice_read()
/linux-6.6.21/drivers/char/xillybus/
Dxillybus.h28 int end_offset; /* Counting elements, not bytes */ member
Dxillybus_core.c185 channel->wr_buffers[msg_bufno]->end_offset = in xillybus_isr()
664 if (channel->wr_buffers[0]->end_offset != endpoint->idtlen) { in xilly_obtain_idt()
667 channel->wr_buffers[0]->end_offset, endpoint->idtlen); in xilly_obtain_idt()
726 howmany = ((channel->wr_buffers[bufidx]->end_offset in xillybus_read()
/linux-6.6.21/fs/f2fs/
Dfile.c416 pgoff_t pgofs, end_offset; in f2fs_seek_block() local
455 end_offset = ADDRS_PER_PAGE(dn.node_page, inode); in f2fs_seek_block()
458 for (; dn.ofs_in_node < end_offset; in f2fs_seek_block()
1083 pgoff_t end_offset, count; in f2fs_truncate_hole() local
1096 end_offset = ADDRS_PER_PAGE(dn.node_page, inode); in f2fs_truncate_hole()
1097 count = min(end_offset - dn.ofs_in_node, pg_end - pg_start); in f2fs_truncate_hole()
1099 f2fs_bug_on(F2FS_I_SB(inode), count == 0 || count > end_offset); in f2fs_truncate_hole()
1549 unsigned int end_offset; in f2fs_zero_range() local
1570 end_offset = ADDRS_PER_PAGE(dn.node_page, inode); in f2fs_zero_range()
1571 end = min(pg_end, end_offset - dn.ofs_in_node + index); in f2fs_zero_range()
[all …]
/linux-6.6.21/arch/ia64/include/asm/
Dunwind.h99 u64 end_offset; member
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/inc/hw/
Dtiming_generator.h77 int end_offset; member
/linux-6.6.21/drivers/net/wireless/ath/ath11k/
Ddp.c520 u32 end_offset; in ath11k_dp_scatter_idle_link_desc_setup() local
565 end_offset = (scatter_buf - slist[scatter_idx].vaddr) * in ath11k_dp_scatter_idle_link_desc_setup()
568 n_link_desc, end_offset); in ath11k_dp_scatter_idle_link_desc_setup()
/linux-6.6.21/sound/pci/nm256/
Dnm256.c373 u32 end_offset = offset + coefficient_sizes[number]; in snd_nm256_load_coefficient() local
376 end_offset--; in snd_nm256_load_coefficient()
377 snd_nm256_writel(chip, addr + 4, base + end_offset); in snd_nm256_load_coefficient()
/linux-6.6.21/fs/xfs/
Dxfs_iomap.c1102 xfs_off_t end_offset; in xfs_buffered_write_iomap_begin() local
1105 end_offset = XFS_ALLOC_ALIGN(mp, offset + count - 1); in xfs_buffered_write_iomap_begin()
1106 p_end_fsb = XFS_B_TO_FSBT(mp, end_offset) + in xfs_buffered_write_iomap_begin()
/linux-6.6.21/drivers/spi/
Dspi-aspeed-smc.c841 u32 end_offset = reg & AST2600_SEG_ADDR_MASK; in aspeed_spi_segment_ast2600_end() local
844 if (!end_offset) in aspeed_spi_segment_ast2600_end()
847 return aspi->ahb_base_phy + end_offset + 0x100000; in aspeed_spi_segment_ast2600_end()
/linux-6.6.21/arch/arm64/kernel/
Dsignal.c64 unsigned long end_offset; member
156 ret = sigframe_alloc(user, &user->end_offset, in sigframe_alloc_end()
1037 apply_user_offset(user, user->end_offset); in setup_sigframe()
/linux-6.6.21/drivers/net/wireless/ath/ath12k/
Ddp.c613 u32 end_offset, cookie; in ath12k_dp_scatter_idle_link_desc_setup() local
659 end_offset = (scatter_buf - slist[scatter_idx].vaddr) * in ath12k_dp_scatter_idle_link_desc_setup()
662 n_link_desc, end_offset); in ath12k_dp_scatter_idle_link_desc_setup()
/linux-6.6.21/arch/arm/probes/kprobes/
Dtest-core.h80 u16 end_offset; member
/linux-6.6.21/fs/gfs2/
Dbmap.c1750 u64 end_offset = offset + length; in punch_hole() local
1758 if (end_offset > maxsize) in punch_hole()
1759 end_offset = maxsize; in punch_hole()
1760 lend = end_offset >> bsize_shift; in punch_hole()

12