Lines Matching refs:offset
240 unsigned int offset; member
298 .src_divs = { { .proportion_of_total = 10000, .offset = 1 } },
305 .offset = 1,
321 { .proportion_of_total = 1900, .offset = 33 },
322 { .proportion_of_total = 3300, .offset = 7 },
323 { .proportion_of_total = 4800, .offset = 18 },
332 .offset = PAGE_SIZE - 32
335 .offset = PAGE_SIZE - 7
356 .src_divs = { { .proportion_of_total = 10000, .offset = 1 } },
363 .offset = 1,
382 { .proportion_of_total = 1900, .offset = 33 },
383 { .proportion_of_total = 3300, .offset = 7 },
384 { .proportion_of_total = 4800, .offset = 18 },
392 .offset = PAGE_SIZE - 32,
395 .offset = PAGE_SIZE - 7,
571 unsigned int offset = partitions[i].div->offset; in build_test_sglist() local
575 offset += alignmask; in build_test_sglist()
577 while (offset + partitions[i].length + TESTMGR_POISON_LEN > in build_test_sglist()
579 if (WARN_ON(offset <= 0)) in build_test_sglist()
581 offset /= 2; in build_test_sglist()
584 addr = &tsgl->bufs[i][offset]; in build_test_sglist()
633 unsigned int offset = sg->offset; in verify_correct_output() local
641 offset += unchecked_prefix_len; in verify_correct_output()
646 actual_output = page_address(sg_page(sg)) + offset; in verify_correct_output()
667 if (tsgl->sgl[i].offset != tsgl->sgl_saved[i].offset) in is_test_sglist_corrupted()
847 div->offset = (PAGE_SIZE - 128) + (prandom_u32() % 128); in generate_random_sgl_divisions()
849 div->offset = prandom_u32() % 32; in generate_random_sgl_divisions()
851 div->offset = prandom_u32() % PAGE_SIZE; in generate_random_sgl_divisions()
895 div->offset, this_len == remaining ? "" : ", "); in generate_random_sgl_divisions()
1083 return page_address(sg_page(sg)) + sg->offset; in sg_data()