/openbmc/linux/drivers/android/ |
H A D | binder_alloc_selftest.c | 224 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 …]
|
/openbmc/qemu/contrib/elf2dmp/ |
H A D | qemu_elf.c | 66 uint64_t end_offset; in init_states() local 78 if (uadd64_overflow(offset, phdr[0].p_memsz, &end_offset) || in init_states() 79 end_offset > qe->size) { in init_states() 80 end_offset = qe->size; in init_states() 83 while (offset < end_offset) { in init_states() 86 if (!advance_note_offset(&offset, sizeof(*nhdr), end_offset)) { in init_states() 92 if (!advance_note_offset(&offset, nhdr->n_namesz, end_offset)) { in init_states() 98 if (!advance_note_offset(&offset, nhdr->n_descsz, end_offset)) { in init_states()
|
/openbmc/linux/fs/verity/ |
H A D | read_metadata.c | 20 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()
|
/openbmc/linux/arch/x86/kernel/ |
H A D | ftrace.c | 316 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()
|
/openbmc/linux/fs/configfs/ |
H A D | file.c | 242 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()
|
/openbmc/linux/sound/pci/emu10k1/ |
H A D | memory.c | 573 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()
|
/openbmc/linux/drivers/char/agp/ |
H A D | i460-agp.c | 403 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()
|
/openbmc/qemu/block/ |
H A D | qed.h | 288 uint64_t end_offset = offset + (s->header.table_size - 1) * in qed_check_table_offset() local 292 if (end_offset <= offset) { in qed_check_table_offset() 297 qed_check_cluster_offset(s, end_offset); in qed_check_table_offset()
|
H A D | qcow2-cluster.c | 2000 uint64_t end_offset = offset + bytes; in qcow2_cluster_discard() local 2007 assert(QEMU_IS_ALIGNED(end_offset, s->cluster_size) || in qcow2_cluster_discard() 2008 end_offset == bs->total_sectors << BDRV_SECTOR_BITS); in qcow2_cluster_discard() 2161 uint64_t end_offset = offset + bytes; in qcow2_subcluster_zeroize() local 2179 assert(offset_into_subcluster(s, end_offset) == 0 || in qcow2_subcluster_zeroize() 2180 end_offset >= bs->total_sectors << BDRV_SECTOR_BITS); in qcow2_subcluster_zeroize() 2194 head = MIN(end_offset, ROUND_UP(offset, s->cluster_size)) - offset; in qcow2_subcluster_zeroize() 2197 tail = (end_offset >= bs->total_sectors << BDRV_SECTOR_BITS) ? 0 : in qcow2_subcluster_zeroize() 2198 end_offset - MAX(offset, start_of_cluster(s, end_offset)); in qcow2_subcluster_zeroize() 2199 end_offset -= tail; in qcow2_subcluster_zeroize() [all …]
|
/openbmc/linux/include/trace/events/ |
H A D | bcache.h | 400 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)
|
/openbmc/linux/net/devlink/ |
H A D | region.c | 797 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()
|
/openbmc/linux/mm/ |
H A D | swap_state.c | 626 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()
|
H A D | percpu-internal.h | 64 int end_offset; /* additional area required to member
|
H A D | percpu-stats.c | 71 chunk->end_offset / PCPU_MIN_ALLOC_SIZE - 1); in chunk_map_stats()
|
/openbmc/linux/drivers/char/xillybus/ |
H A D | xillybus.h | 28 int end_offset; /* Counting elements, not bytes */ member
|
H A D | xillybus_core.c | 185 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()
|
/openbmc/google-misc/subprojects/libcr51sign/include/libcr51sign/ |
H A D | libcr51sign.h | 83 uint32_t end_offset; member
|
/openbmc/google-misc/subprojects/libcr51sign/src/ |
H A D | libcr51sign.c | 803 if (limit <= start_offset || limit > ctx->end_offset || in scan_for_magic_8() 873 ctx->end_offset, DESCRIPTOR_ALIGNMENT, in libcr51sign_validate() 883 ctx->end_offset - ctx->start_offset, &payload_blob_offset); in libcr51sign_validate() 945 ctx->end_offset, DESCRIPTOR_ALIGNMENT, in libcr51sign_validate()
|
/openbmc/linux/fs/f2fs/ |
H A D | file.c | 419 pgoff_t pgofs, end_offset; in f2fs_seek_block() local 458 end_offset = ADDRS_PER_PAGE(dn.node_page, inode); in f2fs_seek_block() 461 for (; dn.ofs_in_node < end_offset; in f2fs_seek_block() 1121 pgoff_t end_offset, count; in f2fs_truncate_hole() local 1134 end_offset = ADDRS_PER_PAGE(dn.node_page, inode); in f2fs_truncate_hole() 1589 unsigned int end_offset; in f2fs_zero_range() local 1610 end_offset = ADDRS_PER_PAGE(dn.node_page, inode); in f2fs_zero_range() 3644 pgoff_t end_offset, count; in f2fs_release_compress_blocks() local 3661 end_offset = ADDRS_PER_PAGE(dn.node_page, inode); in f2fs_release_compress_blocks() 3821 pgoff_t end_offset, count; in f2fs_reserve_compress_blocks() local [all …]
|
/openbmc/linux/arch/ia64/include/asm/ |
H A D | unwind.h | 99 u64 end_offset; member
|
/openbmc/qemu/hw/usb/ |
H A D | hcd-ohci.c | 587 uint32_t start_offset, next_offset, end_offset = 0; in ohci_service_iso_td() local 700 end_offset = next_offset - 1; in ohci_service_iso_td() 701 if ((end_offset & 0x1000) == 0) { in ohci_service_iso_td() 703 (end_offset & OHCI_OFFSET_MASK); in ohci_service_iso_td() 706 (end_offset & OHCI_OFFSET_MASK); in ohci_service_iso_td() 761 trace_usb_ohci_iso_td_so(start_offset, end_offset, start_addr, end_addr, in ohci_service_iso_td()
|
/openbmc/qemu/hw/ssi/ |
H A D | aspeed_smc.c | 1639 uint32_t end_offset = reg & AST2600_SEG_ADDR_MASK; in aspeed_2600_smc_reg_to_segment() local 1644 seg->size = end_offset + MiB - start_offset; in aspeed_2600_smc_reg_to_segment() 1805 uint32_t end_offset = reg & AST1030_SEG_ADDR_MASK; in aspeed_1030_smc_reg_to_segment() local 1810 seg->size = end_offset + (512 * KiB) - start_offset; in aspeed_1030_smc_reg_to_segment() 1965 uint32_t end_offset = reg & AST2700_SEG_ADDR_MASK; in aspeed_2700_smc_reg_to_segment() local 1970 seg->size = end_offset + (64 * KiB) - start_offset; in aspeed_2700_smc_reg_to_segment()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/inc/hw/ |
H A D | timing_generator.h | 77 int end_offset; member
|
/openbmc/linux/drivers/net/wireless/ath/ath11k/ |
H A D | dp.c | 520 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()
|
/openbmc/linux/drivers/spi/ |
H A D | spi-aspeed-smc.c | 841 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()
|