Home
last modified time | relevance | path

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

/drivers/android/
Dbinder_alloc_selftest.c232 size_t *end_offset) in binder_selftest_alloc_size() argument
242 offset = end_offset[i]; in binder_selftest_alloc_size()
251 back_sizes[0] += alloc->buffer_size - end_offset[BUFFER_NUM - 1]; in binder_selftest_alloc_size()
253 end_offset[BUFFER_NUM - 1]); in binder_selftest_alloc_size()
258 size_t *end_offset, int index) in binder_selftest_alloc_offset() argument
264 binder_selftest_alloc_size(alloc, end_offset); in binder_selftest_alloc_offset()
267 prev = index == 0 ? 0 : end_offset[index - 1]; in binder_selftest_alloc_offset()
277 end_offset[index] = end; in binder_selftest_alloc_offset()
278 binder_selftest_alloc_offset(alloc, end_offset, index + 1); in binder_selftest_alloc_offset()
293 size_t end_offset[BUFFER_NUM]; in binder_selftest_alloc() local
[all …]
/drivers/misc/mic/scif/
Dscif_rma_list.c148 s64 end_offset, offset = req->offset; in scif_query_window() local
156 end_offset = window->offset + in scif_query_window()
161 if (offset >= end_offset) in scif_query_window()
169 tmp_min = min((u64)end_offset - offset, nr_bytes_left); in scif_query_window()
182 if (offset == end_offset) in scif_query_window()
208 s64 end_offset; in scif_rma_list_unregister() local
214 end_offset = window->offset + (window->nr_pages << PAGE_SHIFT); in scif_rma_list_unregister()
215 loop_nr_pages = min((int)((end_offset - offset) >> PAGE_SHIFT), in scif_rma_list_unregister()
Dscif_mmap.c384 s64 end_offset, loop_offset = offset; in scif_rma_list_mmap() local
396 end_offset = window->offset + in scif_rma_list_mmap()
399 (end_offset - loop_offset) >> PAGE_SHIFT, in scif_rma_list_mmap()
432 end_offset = window->offset + in scif_rma_list_mmap()
435 (end_offset - loop_offset) >> PAGE_SHIFT, in scif_rma_list_mmap()
462 s64 loop_offset = offset, end_offset; in scif_rma_list_munmap() local
473 end_offset = window->offset + in scif_rma_list_munmap()
476 (end_offset - loop_offset) >> PAGE_SHIFT, in scif_rma_list_munmap()
Dscif_dma.c830 s64 end_offset; in scif_rma_local_cpu_copy() local
850 end_offset = window->offset + in scif_rma_local_cpu_copy()
853 if (offset == end_offset) { in scif_rma_local_cpu_copy()
855 end_offset = window->offset + in scif_rma_local_cpu_copy()
909 s64 end_offset, offset; in scif_rma_list_dma_copy_unaligned() local
953 end_offset = window->offset + in scif_rma_list_dma_copy_unaligned()
959 if (offset == end_offset) { in scif_rma_list_dma_copy_unaligned()
961 end_offset = window->offset + in scif_rma_list_dma_copy_unaligned()
1066 if (offset == end_offset) { in scif_rma_list_dma_copy_unaligned()
1068 end_offset = window->offset + in scif_rma_list_dma_copy_unaligned()
/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()
/drivers/staging/android/
Dvsoc.c291 if (np->permission.begin_offset >= np->permission.end_offset) in do_create_fd_scoped_permission()
294 if (np->permission.end_offset > in do_create_fd_scoped_permission()
303 !PAGE_ALIGNED(np->permission.end_offset)) in do_create_fd_scoped_permission()
337 if (managed_filp->f_pos > np->permission.end_offset) { in do_create_fd_scoped_permission()
341 managed_filp->f_pos = np->permission.end_offset; in do_create_fd_scoped_permission()
386 perm->begin_offset, perm->end_offset, in do_destroy_fd_scoped_permission()
1121 length = perm->end_offset - perm->begin_offset; in vsoc_get_area()
/drivers/staging/android/uapi/
Dvsoc_shm.h66 __u32 end_offset; member
/drivers/char/xillybus/
Dxillybus.h31 int end_offset; /* Counting elements, not bytes */ member
Dxillybus_core.c202 channel->wr_buffers[msg_bufno]->end_offset = in xillybus_isr()
641 if (channel->wr_buffers[0]->end_offset != endpoint->idtlen) { in xilly_obtain_idt()
644 channel->wr_buffers[0]->end_offset, endpoint->idtlen); in xilly_obtain_idt()
703 howmany = ((channel->wr_buffers[bufidx]->end_offset in xillybus_read()
/drivers/gpu/drm/
Ddrm_edid.c3506 int start_offset, end_offset; in drm_detect_hdmi_monitor() local
3512 if (cea_db_offsets(edid_ext, &start_offset, &end_offset)) in drm_detect_hdmi_monitor()
3519 for_each_cea_db(edid_ext, i, start_offset, end_offset) { in drm_detect_hdmi_monitor()
3545 int start_offset, end_offset; in drm_detect_monitor_audio() local
3558 if (cea_db_offsets(edid_ext, &start_offset, &end_offset)) in drm_detect_monitor_audio()
3561 for_each_cea_db(edid_ext, i, start_offset, end_offset) { in drm_detect_monitor_audio()
3626 int start_offset, end_offset; in drm_assign_hdmi_deep_color_info() local
3633 if (cea_db_offsets(edid_ext, &start_offset, &end_offset)) in drm_assign_hdmi_deep_color_info()
3640 for_each_cea_db(edid_ext, i, start_offset, end_offset) { in drm_assign_hdmi_deep_color_info()
/drivers/net/hyperv/
Dhyperv_net.h361 u32 end_offset; member
/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge.c1299 int end_offset; in myri10ge_alloc_rx_pages() local
1352 end_offset = rx->page_offset + bytes - 1; in myri10ge_alloc_rx_pages()
1353 if ((unsigned)(rx->page_offset ^ end_offset) > 4095) in myri10ge_alloc_rx_pages()
1354 rx->page_offset = end_offset & ~4095; in myri10ge_alloc_rx_pages()