Home
last modified time | relevance | path

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

12

/linux/drivers/android/
A 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/fs/verity/
A 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/arch/x86/kernel/
A Dftrace.c312 unsigned long end_offset; in create_trampoline() local
330 end_offset = (unsigned long)ftrace_regs_caller_end; in create_trampoline()
336 end_offset = (unsigned long)ftrace_caller_end; in create_trampoline()
342 size = end_offset - start_offset; in create_trampoline()
434 unsigned long end_offset; in set_ftrace_ops_ro() local
444 end_offset = (unsigned long)ftrace_regs_caller_end; in set_ftrace_ops_ro()
447 end_offset = (unsigned long)ftrace_caller_end; in set_ftrace_ops_ro()
449 size = end_offset - start_offset; in set_ftrace_ops_ro()
/linux/fs/configfs/
A 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/sound/pci/emu10k1/
A Dmemory.c575 int page, nextofs, end_offset, temp, temp1; in snd_emu10k1_synth_bzero() local
580 end_offset = offset + size; in snd_emu10k1_synth_bzero()
585 temp1 = end_offset - offset; in snd_emu10k1_synth_bzero()
593 } while (offset < end_offset); in snd_emu10k1_synth_bzero()
605 int page, nextofs, end_offset, temp, temp1; in snd_emu10k1_synth_copy_from_user() local
610 end_offset = offset + size; in snd_emu10k1_synth_copy_from_user()
615 temp1 = end_offset - offset; in snd_emu10k1_synth_copy_from_user()
624 } while (offset < end_offset); in snd_emu10k1_synth_copy_from_user()
/linux/drivers/char/agp/
A 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/include/trace/events/
A 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/mm/
A Dswap_state.c619 unsigned long start_offset, end_offset; in swap_cluster_readahead() local
634 end_offset = offset | mask; in swap_cluster_readahead()
637 if (end_offset >= si->max) in swap_cluster_readahead()
638 end_offset = si->max - 1; in swap_cluster_readahead()
641 for (offset = start_offset; offset <= end_offset ; offset++) { in swap_cluster_readahead()
A Dpercpu-internal.h56 int end_offset; /* additional area required to member
A Dpercpu-stats.c71 chunk->end_offset / PCPU_MIN_ALLOC_SIZE - 1); in chunk_map_stats()
A Dpercpu.c228 chunk->end_offset; in pcpu_addr_in_chunk()
1374 chunk->end_offset = region_size - chunk->start_offset - map_size; in pcpu_alloc_first_chunk()
1424 if (chunk->end_offset) { in pcpu_alloc_first_chunk()
1426 offset_bits = chunk->end_offset / PCPU_MIN_ALLOC_SIZE; in pcpu_alloc_first_chunk()
A Dfilemap.c2618 loff_t isize, end_offset; in filemap_read() local
2657 end_offset = min_t(loff_t, isize, iocb->ki_pos + iter->count); in filemap_read()
2677 size_t bytes = min_t(loff_t, end_offset - iocb->ki_pos, in filemap_read()
2681 if (end_offset < page_offset(page)) in filemap_read()
/linux/fs/f2fs/
A Dfile.c418 pgoff_t pgofs, end_offset; in f2fs_seek_block() local
457 end_offset = ADDRS_PER_PAGE(dn.node_page, inode); in f2fs_seek_block()
460 for (; dn.ofs_in_node < end_offset; in f2fs_seek_block()
1045 pgoff_t end_offset, count; in f2fs_truncate_hole() local
1058 end_offset = ADDRS_PER_PAGE(dn.node_page, inode); in f2fs_truncate_hole()
1499 unsigned int end_offset; in f2fs_zero_range() local
1520 end_offset = ADDRS_PER_PAGE(dn.node_page, inode); in f2fs_zero_range()
3466 pgoff_t end_offset, count; in f2fs_release_compress_blocks() local
3480 end_offset = ADDRS_PER_PAGE(dn.node_page, inode); in f2fs_release_compress_blocks()
3619 pgoff_t end_offset, count; in f2fs_reserve_compress_blocks() local
[all …]
/linux/drivers/char/xillybus/
A Dxillybus.h28 int end_offset; /* Counting elements, not bytes */ member
A 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/fs/iomap/
A Dbuffered-io.c1296 struct page *page, u64 end_offset) in iomap_writepage_map() argument
1313 i < (PAGE_SIZE >> inode->i_blkbits) && file_offset < end_offset; in iomap_writepage_map()
1398 u64 end_offset; in iomap_do_writepage() local
1433 end_offset = (loff_t)(page->index + 1) << PAGE_SHIFT; in iomap_do_writepage()
1480 end_offset = offset; in iomap_do_writepage()
1483 return iomap_writepage_map(wpc, wbc, inode, page, end_offset); in iomap_do_writepage()
/linux/arch/ia64/include/asm/
A Dunwind.h99 u64 end_offset; member
/linux/arch/arm64/kernel/
A Dsignal.c61 unsigned long end_offset; member
153 ret = sigframe_alloc(user, &user->end_offset, in sigframe_alloc_end()
695 apply_user_offset(user, user->end_offset); in setup_sigframe()
/linux/drivers/gpu/drm/amd/display/dc/inc/hw/
A Dtiming_generator.h77 int end_offset; member
/linux/fs/xfs/
A Dxfs_iomap.c1004 xfs_off_t end_offset; in xfs_buffered_write_iomap_begin() local
1007 end_offset = XFS_ALLOC_ALIGN(mp, offset + count - 1); in xfs_buffered_write_iomap_begin()
1008 p_end_fsb = XFS_B_TO_FSBT(mp, end_offset) + in xfs_buffered_write_iomap_begin()
/linux/drivers/net/wireless/ath/ath11k/
A Ddp.c486 u32 end_offset; in ath11k_dp_scatter_idle_link_desc_setup() local
531 end_offset = (scatter_buf - slist[scatter_idx].vaddr) * in ath11k_dp_scatter_idle_link_desc_setup()
534 n_link_desc, end_offset); in ath11k_dp_scatter_idle_link_desc_setup()
/linux/sound/pci/nm256/
A 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/arch/arm/probes/kprobes/
A Dtest-core.h80 u16 end_offset; member
/linux/fs/gfs2/
A Dbmap.c1743 u64 end_offset = offset + length; in punch_hole() local
1751 if (end_offset > maxsize) in punch_hole()
1752 end_offset = maxsize; in punch_hole()
1753 lend = end_offset >> bsize_shift; in punch_hole()
/linux/arch/ia64/kernel/
A Dunwind.c1512 else if (rel_ip >= e->end_offset) in lookup()
1517 if (rel_ip < e->start_offset || rel_ip >= e->end_offset) in lookup()
2091 table->end = segment_base + end[-1].end_offset; in init_unwind_table()
2234 lp[1] = segbase + entry->end_offset; /* end */ in create_gate_table()

Completed in 80 milliseconds

12