Searched refs:prev_offset (Results 1 – 9 of 9) sorted by relevance
| /linux/sound/synth/ |
| H A 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/mm/ |
| H A D | swap_state.c | 641 static unsigned int __swapin_nr_pages(unsigned long prev_offset, in swap_cluster_readahead() 661 if (offset != prev_offset + 1 && offset != prev_offset - 1) in swap_cluster_readahead() 683 static unsigned long prev_offset; in swap_vma_ra_win() 692 pages = __swapin_nr_pages(READ_ONCE(prev_offset), offset, hits, in swap_vma_ra_win() 696 WRITE_ONCE(prev_offset, offset); in swap_vma_ra_win() 538 __swapin_nr_pages(unsigned long prev_offset,unsigned long offset,int hits,int max_pages,int prev_win) __swapin_nr_pages() argument 580 static unsigned long prev_offset; swapin_nr_pages() local
|
| /linux/drivers/net/wireless/ath/ath9k/ |
| H A D | calib.h | 105 int32_t prev_offset; /* Previous value of PA offset value */ member
|
| H A D | ar9002_calib.c | 515 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/drivers/video/fbdev/ |
| H A D | broadsheetfb.c | 935 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/fs/btrfs/ |
| H A D | zoned.c | 1573 u64 prev_offset = 0; in btrfs_load_block_group_raid0() local 1636 if (unlikely(prev_offset < zone_info[i].alloc_offset)) { in btrfs_load_block_group_raid0() 1651 prev_offset = zone_info[i].alloc_offset; in btrfs_load_block_group_raid0() 1694 u64 prev_offset = 0; in btrfs_load_block_group_raid10() local 1780 if (unlikely(prev_offset < raid0_allocs[idx])) { in btrfs_load_block_group_raid10() 1795 prev_offset = raid0_allocs[idx]; in btrfs_load_block_group_raid10()
|
| /linux/tools/testing/selftests/drivers/net/ |
| H A D | xdp.py | 389 prev_offset = offset_lst[tmp_idx - 1] 399 f"Last successful run: pkt_sz {prev_pkt_sz}, offset {prev_offset}. "
|
| /linux/tools/objtool/ |
| H A D | check.c | 2060 unsigned int prev_offset = 0; in add_jump_table() local 2078 if (prev_offset && reloc_offset(reloc) != prev_offset + arch_reloc_size(reloc)) in add_jump_table() 2113 prev_offset = reloc_offset(reloc); in add_jump_table() 2116 if (!prev_offset) { in add_jump_table()
|
| /linux/kernel/bpf/ |
| H A D | verifier.c | 19101 u32 prev_offset = 0; in check_btf_func_early() local 19160 } else if (krecord[i].insn_off <= prev_offset) { in check_btf_func_early() 19163 krecord[i].insn_off, prev_offset); in check_btf_func_early() 19180 prev_offset = krecord[i].insn_off; in check_btf_func_early() 19289 u32 i, s, nr_linfo, ncopy, expected_size, rec_size, prev_offset = 0; in check_btf_line() local 19354 if ((i && linfo[i].insn_off <= prev_offset) || in check_btf_line() 19357 i, linfo[i].insn_off, prev_offset, in check_btf_line() 19389 prev_offset = linfo[i].insn_off; in check_btf_line()
|