Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/sound/synth/
H A 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()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/selftests/
H A 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()
/OK3568_Linux_fs/kernel/mm/
H A Dswap_state.c571 static unsigned int __swapin_nr_pages(unsigned long prev_offset, in __swapin_nr_pages() argument
591 if (offset != prev_offset + 1 && offset != prev_offset - 1) in __swapin_nr_pages()
613 static unsigned long prev_offset; in swapin_nr_pages() local
622 pages = __swapin_nr_pages(READ_ONCE(prev_offset), offset, hits, in swapin_nr_pages()
626 WRITE_ONCE(prev_offset, offset); in swapin_nr_pages()
H A Dfilemap.c2209 unsigned int prev_offset; in generic_file_buffered_read() local
2218 prev_offset = ra->prev_pos & (PAGE_SIZE-1); in generic_file_buffered_read()
2343 if (prev_index != index || offset != prev_offset) in generic_file_buffered_read()
2356 prev_offset = offset; in generic_file_buffered_read()
2485 ra->prev_pos |= prev_offset; in generic_file_buffered_read()
/OK3568_Linux_fs/kernel/kernel/debug/kdb/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Ddhd_macdbg.c620 uint32 addr, mem_id, offset, prev_mem_id, prev_offset; in _dhd_print_svmps() local
634 prev_offset = (uint32)(-1); in _dhd_print_svmps()
648 if (offset != prev_offset) { in _dhd_print_svmps()
668 prev_offset = offset; in _dhd_print_svmps()
/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath9k/
H A Dcalib.h105 int32_t prev_offset; /* Previous value of PA offset value */ member
H A 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()
/OK3568_Linux_fs/kernel/tools/objtool/
H A Dcheck.c1610 unsigned int prev_offset = 0; in add_jump_table() local
1623 if (prev_offset && reloc->offset != prev_offset + 8) in add_jump_table()
1647 prev_offset = reloc->offset; in add_jump_table()
1650 if (!prev_offset) { in add_jump_table()
/OK3568_Linux_fs/kernel/kernel/bpf/
H A Dverifier.c8691 u32 prev_offset = 0; in check_btf_func() local
8756 } else if (krecord[i].insn_off <= prev_offset) { in check_btf_func()
8759 krecord[i].insn_off, prev_offset); in check_btf_func()
8793 prev_offset = krecord[i].insn_off; in check_btf_func()
8828 u32 i, s, nr_linfo, ncopy, expected_size, rec_size, prev_offset = 0; in check_btf_line() local
8892 if ((i && linfo[i].insn_off <= prev_offset) || in check_btf_line()
8895 i, linfo[i].insn_off, prev_offset, in check_btf_line()
8927 prev_offset = linfo[i].insn_off; in check_btf_line()