Home
last modified time | relevance | path

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

/linux-6.6.21/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()
/linux-6.6.21/mm/ !
Dswap_state.c541 static unsigned int __swapin_nr_pages(unsigned long prev_offset, in __swapin_nr_pages() argument
561 if (offset != prev_offset + 1 && offset != prev_offset - 1) in __swapin_nr_pages()
583 static unsigned long prev_offset; in swapin_nr_pages() local
592 pages = __swapin_nr_pages(READ_ONCE(prev_offset), offset, hits, in swapin_nr_pages()
596 WRITE_ONCE(prev_offset, offset); in swapin_nr_pages()
/linux-6.6.21/drivers/gpu/drm/tests/ !
Ddrm_buddy_test.c163 u64 prev_offset; in check_blocks() local
166 prev_offset = drm_buddy_block_offset(prev); in check_blocks()
170 if (offset != (prev_offset + prev_block_size)) { in check_blocks()
255 u64 prev_offset; in check_mm() local
258 prev_offset = drm_buddy_block_offset(prev); in check_mm()
262 if (offset != (prev_offset + prev_block_size)) { in check_mm()
/linux-6.6.21/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()
/linux-6.6.21/drivers/video/fbdev/ !
Dbroadsheetfb.c935 unsigned long prev_offset = ULONG_MAX; in broadsheetfb_dpy_deferred_io() local
946 if (prev_offset == ULONG_MAX) { in broadsheetfb_dpy_deferred_io()
950 } else if ((prev_offset + PAGE_SIZE) == pageref->offset) { in broadsheetfb_dpy_deferred_io()
960 prev_offset = pageref->offset; in broadsheetfb_dpy_deferred_io()
/linux-6.6.21/tools/objtool/ !
Dcheck.c2008 unsigned int prev_offset = 0; in add_jump_table() local
2023 if (prev_offset && reloc_offset(reloc) != prev_offset + 8) in add_jump_table()
2048 prev_offset = reloc_offset(reloc); in add_jump_table()
2051 if (!prev_offset) { in add_jump_table()
/linux-6.6.21/kernel/bpf/ !
Dverifier.c15430 u32 prev_offset = 0; in check_btf_func() local
15497 } else if (krecord[i].insn_off <= prev_offset) { in check_btf_func()
15500 krecord[i].insn_off, prev_offset); in check_btf_func()
15534 prev_offset = krecord[i].insn_off; in check_btf_func()
15568 u32 i, s, nr_linfo, ncopy, expected_size, rec_size, prev_offset = 0; in check_btf_line() local
15633 if ((i && linfo[i].insn_off <= prev_offset) || in check_btf_line()
15636 i, linfo[i].insn_off, prev_offset, in check_btf_line()
15668 prev_offset = linfo[i].insn_off; in check_btf_line()