Searched refs:prev_offset (Results 1 – 11 of 11) sorted by relevance
/Linux-v5.4/sound/synth/ |
D | util_mem.c | 63 unsigned int units, prev_offset; in __snd_util_mem_alloc() local 77 prev_offset = 0; in __snd_util_mem_alloc() 80 if (blk->offset - prev_offset >= units) in __snd_util_mem_alloc() 82 prev_offset = blk->offset + blk->size; in __snd_util_mem_alloc() 84 if (hdr->size - prev_offset < units) in __snd_util_mem_alloc()
|
/Linux-v5.4/drivers/gpu/drm/i915/selftests/ |
D | i915_buddy.c | 137 u64 prev_offset; in igt_check_blocks() local 140 prev_offset = i915_buddy_block_offset(prev); in igt_check_blocks() 144 if (offset != (prev_offset + prev_block_size)) { in igt_check_blocks() 231 u64 prev_offset; in igt_check_mm() local 234 prev_offset = i915_buddy_block_offset(prev); in igt_check_mm() 238 if (offset != (prev_offset + prev_block_size)) { in igt_check_mm()
|
/Linux-v5.4/mm/ |
D | swap_state.c | 461 static unsigned int __swapin_nr_pages(unsigned long prev_offset, in __swapin_nr_pages() argument 481 if (offset != prev_offset + 1 && offset != prev_offset - 1) in __swapin_nr_pages() 503 static unsigned long prev_offset; in swapin_nr_pages() local 512 pages = __swapin_nr_pages(prev_offset, offset, hits, max_pages, in swapin_nr_pages() 515 prev_offset = offset; in swapin_nr_pages()
|
D | readahead.c | 390 pgoff_t prev_offset; in ondemand_readahead() local 452 prev_offset = (unsigned long long)ra->prev_pos >> PAGE_SHIFT; in ondemand_readahead() 453 if (offset - prev_offset <= 1UL) in ondemand_readahead()
|
D | filemap.c | 2021 unsigned int prev_offset; in generic_file_buffered_read() local 2030 prev_offset = ra->prev_pos & (PAGE_SIZE-1); in generic_file_buffered_read() 2135 if (prev_index != index || offset != prev_offset) in generic_file_buffered_read() 2148 prev_offset = offset; in generic_file_buffered_read() 2255 ra->prev_pos |= prev_offset; in generic_file_buffered_read()
|
/Linux-v5.4/kernel/debug/kdb/ |
D | kdb_support.c | 829 unsigned int prev_offset; in debug_kfree() local 838 prev_offset = (char *)prev - debug_alloc_pool; in debug_kfree() 839 if (prev_offset + dah_overhead + prev->size == h_offset) { in debug_kfree() 844 h_offset = prev_offset; in debug_kfree()
|
/Linux-v5.4/drivers/net/wireless/ath/ath9k/ |
D | calib.h | 105 int32_t prev_offset; /* Previous value of PA offset value */ member
|
D | ar9002_calib.c | 506 if ((!is_reset) && (ah->pacal_info.prev_offset == regVal)) { in ar9271_hw_pa_cal() 514 ah->pacal_info.prev_offset = regVal; in ar9271_hw_pa_cal() 609 if ((!is_reset) && (ah->pacal_info.prev_offset == offset)) { in ar9285_hw_pa_cal() 617 ah->pacal_info.prev_offset = offset; in ar9285_hw_pa_cal()
|
/Linux-v5.4/arch/x86/kernel/ |
D | pci-calgary_64.c | 1359 unsigned int offset, prev_offset; in detect_calgary() local 1380 prev_offset = 0; in detect_calgary() 1386 while (offset > prev_offset) { in detect_calgary() 1393 prev_offset = offset; in detect_calgary()
|
/Linux-v5.4/tools/objtool/ |
D | check.c | 905 unsigned int prev_offset = 0; in add_jump_table() local 918 if (prev_offset && rela->offset != prev_offset + 8) in add_jump_table() 942 prev_offset = rela->offset; in add_jump_table() 945 if (!prev_offset) { in add_jump_table()
|
/Linux-v5.4/kernel/bpf/ |
D | verifier.c | 6413 u32 prev_offset = 0; in check_btf_func() local 6471 } else if (krecord[i].insn_off <= prev_offset) { in check_btf_func() 6474 krecord[i].insn_off, prev_offset); in check_btf_func() 6494 prev_offset = krecord[i].insn_off; in check_btf_func() 6526 u32 i, s, nr_linfo, ncopy, expected_size, rec_size, prev_offset = 0; in check_btf_line() local 6588 if ((i && linfo[i].insn_off <= prev_offset) || in check_btf_line() 6591 i, linfo[i].insn_off, prev_offset, in check_btf_line() 6623 prev_offset = linfo[i].insn_off; in check_btf_line()
|