Home
last modified time | relevance | path

Searched refs:offset_out (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/tools/testing/selftests/sparc64/drivers/
Dadi-test.c475 off_t offset_out, offset_in; in test4_lseek() local
480 offset_out = seek_adi(fd, offset_in, SEEK_SET); in test4_lseek()
481 if (offset_out != offset_in) { in test4_lseek()
487 offset_out = seek_adi(fd, offset_in, SEEK_SET); in test4_lseek()
488 if (offset_out < 0 && errno == EINVAL) in test4_lseek()
496 offset_out = seek_adi(fd, 0, SEEK_CUR); in test4_lseek()
497 if (offset_out != offset_in) { in test4_lseek()
502 offset_out = seek_adi(fd, OFFSET_ADD, SEEK_CUR); in test4_lseek()
503 if (offset_out != (offset_in + OFFSET_ADD)) { in test4_lseek()
508 offset_out = seek_adi(fd, OFFSET_SUBTRACT, SEEK_CUR); in test4_lseek()
[all …]
/Linux-v5.10/arch/um/kernel/
Dphysmem.c118 int phys_mapping(unsigned long phys, unsigned long long *offset_out) in phys_mapping() argument
124 *offset_out = phys; in phys_mapping()
133 *offset_out = phys - region->phys; in phys_mapping()
141 *offset_out = phys - iomem_size; in phys_mapping()
/Linux-v5.10/arch/um/include/shared/
Dmem.h9 extern int phys_mapping(unsigned long phys, unsigned long long *offset_out);
/Linux-v5.10/drivers/infiniband/sw/rxe/
Drxe_mr.c235 size_t *offset_out) in lookup_iova() argument
243 *offset_out = offset & mem->page_mask; in lookup_iova()
266 *offset_out = offset; in lookup_iova()
/Linux-v5.10/drivers/gpu/drm/meson/
Dmeson_overlay.c199 int offset_out = 0; in meson_overlay_get_vertical_phase() local
203 offset_out = (1 * ratio_y) >> 10; in meson_overlay_get_vertical_phase()
205 while ((offset_in + (4 << 8)) <= offset_out) { in meson_overlay_get_vertical_phase()
210 *phase = (offset_out - offset_in) >> 2; in meson_overlay_get_vertical_phase()