Home
last modified time | relevance | path

Searched refs:prev_offset (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/sound/synth/
Dutil_mem.c63 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/
Di915_buddy.c135 u64 prev_offset; in igt_check_blocks() local
138 prev_offset = i915_buddy_block_offset(prev); in igt_check_blocks()
142 if (offset != (prev_offset + prev_block_size)) { in igt_check_blocks()
229 u64 prev_offset; in igt_check_mm() local
232 prev_offset = i915_buddy_block_offset(prev); in igt_check_mm()
236 if (offset != (prev_offset + prev_block_size)) { in igt_check_mm()
/kernel/linux/linux-5.10/mm/
Dswap_state.c570 static unsigned int __swapin_nr_pages(unsigned long prev_offset, in __swapin_nr_pages() argument
590 if (offset != prev_offset + 1 && offset != prev_offset - 1) in __swapin_nr_pages()
612 static unsigned long prev_offset; in swapin_nr_pages() local
621 pages = __swapin_nr_pages(READ_ONCE(prev_offset), offset, hits, in swapin_nr_pages()
625 WRITE_ONCE(prev_offset, offset); in swapin_nr_pages()
Dfilemap.c2201 unsigned int prev_offset; in generic_file_buffered_read() local
2210 prev_offset = ra->prev_pos & (PAGE_SIZE-1); in generic_file_buffered_read()
2335 if (prev_index != index || offset != prev_offset) in generic_file_buffered_read()
2348 prev_offset = offset; in generic_file_buffered_read()
2477 ra->prev_pos |= prev_offset; in generic_file_buffered_read()
/kernel/linux/linux-5.10/kernel/debug/kdb/
Dkdb_support.c830 unsigned int prev_offset; in debug_kfree() local
839 prev_offset = (char *)prev - debug_alloc_pool; in debug_kfree()
840 if (prev_offset + dah_overhead + prev->size == h_offset) { in debug_kfree()
845 h_offset = prev_offset; in debug_kfree()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
Dcalib.h105 int32_t prev_offset; /* Previous value of PA offset value */ member
Dar9002_calib.c515 if ((!is_reset) && (ah->pacal_info.prev_offset == regVal)) { in ar9271_hw_pa_cal()
523 ah->pacal_info.prev_offset = regVal; in ar9271_hw_pa_cal()
618 if ((!is_reset) && (ah->pacal_info.prev_offset == offset)) { in ar9285_hw_pa_cal()
626 ah->pacal_info.prev_offset = offset; in ar9285_hw_pa_cal()
/kernel/linux/linux-5.10/tools/objtool/
Dcheck.c1559 unsigned int prev_offset = 0; in add_jump_table() local
1572 if (prev_offset && reloc->offset != prev_offset + 8) in add_jump_table()
1596 prev_offset = reloc->offset; in add_jump_table()
1599 if (!prev_offset) { in add_jump_table()
/kernel/linux/linux-5.10/kernel/bpf/
Dverifier.c8972 u32 prev_offset = 0; in check_btf_func() local
9037 } else if (krecord[i].insn_off <= prev_offset) { in check_btf_func()
9040 krecord[i].insn_off, prev_offset); in check_btf_func()
9074 prev_offset = krecord[i].insn_off; in check_btf_func()
9109 u32 i, s, nr_linfo, ncopy, expected_size, rec_size, prev_offset = 0; in check_btf_line() local
9173 if ((i && linfo[i].insn_off <= prev_offset) || in check_btf_line()
9176 i, linfo[i].insn_off, prev_offset, in check_btf_line()
9208 prev_offset = linfo[i].insn_off; in check_btf_line()