Home
last modified time | relevance | path

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

/linux-6.15/sound/soc/codecs/
H A Drt5677-spi.c309 size_t new_bytes, copy_bytes, period_bytes; in rt5677_spi_copy_work() local
345 new_bytes = mic_write_offset - rt5677_dsp->mic_read_offset; in rt5677_spi_copy_work()
347 new_bytes = RT5677_MIC_BUF_BYTES + mic_write_offset in rt5677_spi_copy_work()
352 while (new_bytes) { in rt5677_spi_copy_work()
353 copy_bytes = min(new_bytes, period_bytes in rt5677_spi_copy_work()
365 new_bytes -= copy_bytes; in rt5677_spi_copy_work()
/linux-6.15/fs/bcachefs/
H A Dsuper-io.c188 size_t new_bytes = __vstruct_bytes(struct bch_sb, u64s); in bch2_sb_realloc() local
194 new_bytes = max_t(size_t, new_bytes, bdev_logical_block_size(sb->bdev)); in bch2_sb_realloc()
196 new_buffer_size = roundup_pow_of_two(new_bytes); in bch2_sb_realloc()
204 if (new_bytes > max_bytes) { in bch2_sb_realloc()
208 prt_printf(&buf, ": superblock too big: want %zu but have %llu", new_bytes, max_bytes); in bch2_sb_realloc()
H A Dbtree_iter.c3103 unsigned new_bytes = roundup_pow_of_two(new_top); in __bch2_trans_kmalloc() local
3108 WARN_ON_ONCE(new_bytes > BTREE_TRANS_MEM_MAX); in __bch2_trans_kmalloc()
3115 s->max_mem = max(s->max_mem, new_bytes); in __bch2_trans_kmalloc()
3118 if (trans->mem_bytes >= new_bytes) in __bch2_trans_kmalloc()
3122 new_mem = kmalloc(new_bytes, GFP_NOWAIT|__GFP_NOWARN); in __bch2_trans_kmalloc()
3126 new_mem = kmalloc(new_bytes, GFP_KERNEL); in __bch2_trans_kmalloc()
3146 new_mem = krealloc(trans->mem, new_bytes, GFP_KERNEL); in __bch2_trans_kmalloc()
3147 if (!new_mem && new_bytes <= BTREE_TRANS_MEM_MAX) { in __bch2_trans_kmalloc()
3149 new_bytes = BTREE_TRANS_MEM_MAX; in __bch2_trans_kmalloc()
3159 trans->mem_bytes = new_bytes; in __bch2_trans_kmalloc()
[all …]
H A Dsnapshot.c169 size_t new_bytes = kmalloc_size_roundup(struct_size(new, s, idx + 1)); in __snapshot_t_mut() local
170 size_t new_size = (new_bytes - sizeof(*new)) / sizeof(new->s[0]); in __snapshot_t_mut()
172 if (unlikely(new_bytes > INT_MAX)) in __snapshot_t_mut()
175 new = kvzalloc(new_bytes, GFP_KERNEL); in __snapshot_t_mut()
/linux-6.15/include/linux/
H A Dperf_event.h1639 const void *new_bytes, size_t new_len);
1906 const void *new_bytes, in perf_event_text_poke() argument
/linux-6.15/drivers/virtio/
H A Dvirtio_mem.c403 unsigned long new_bytes = old_bytes + 1; in virtio_mem_bbm_bb_states_prepare_next_bb() local
405 int new_pages = PFN_UP(new_bytes); in virtio_mem_bbm_bb_states_prepare_next_bb()
/linux-6.15/tools/perf/util/
H A Dmachine.c811 u8 *new_bytes = event->text_poke.bytes + event->text_poke.old_len; in machine__process_text_poke() local
821 new_bytes, in machine__process_text_poke()
/linux-6.15/kernel/events/
H A Dcore.c9865 const void *new_bytes; member
9905 __output_copy(&handle, text_poke_event->new_bytes, text_poke_event->new_len); in perf_event_text_poke_output()
9916 size_t old_len, const void *new_bytes, size_t new_len) in perf_event_text_poke() argument
9930 .new_bytes = new_bytes, in perf_event_text_poke()