Home
last modified time | relevance | path

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

/linux/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/fs/bcachefs/
H A Dsuper-io.c156 size_t new_bytes = __vstruct_bytes(struct bch_sb, u64s); in bch2_sb_realloc() local
162 new_bytes = max_t(size_t, new_bytes, bdev_logical_block_size(sb->bdev)); in bch2_sb_realloc()
164 new_buffer_size = roundup_pow_of_two(new_bytes); in bch2_sb_realloc()
172 if (new_bytes > max_bytes) { in bch2_sb_realloc()
176 prt_printf(&buf, ": superblock too big: want %zu but have %llu", new_bytes, max_bytes); in bch2_sb_realloc()
H A Dbtree_iter.c2953 unsigned new_bytes = roundup_pow_of_two(new_top); in __bch2_trans_kmalloc() local
2958 WARN_ON_ONCE(new_bytes > BTREE_TRANS_MEM_MAX); in __bch2_trans_kmalloc()
2961 s->max_mem = max(s->max_mem, new_bytes); in __bch2_trans_kmalloc()
2964 if (trans->mem_bytes >= new_bytes) in __bch2_trans_kmalloc()
2968 new_mem = kmalloc(new_bytes, GFP_NOWAIT|__GFP_NOWARN); in __bch2_trans_kmalloc()
2972 new_mem = kmalloc(new_bytes, GFP_KERNEL); in __bch2_trans_kmalloc()
2988 new_mem = krealloc(trans->mem, new_bytes, GFP_NOWAIT|__GFP_NOWARN); in __bch2_trans_kmalloc()
2992 new_mem = krealloc(trans->mem, new_bytes, GFP_KERNEL); in __bch2_trans_kmalloc()
2993 if (!new_mem && new_bytes <= BTREE_TRANS_MEM_MAX) { in __bch2_trans_kmalloc()
2995 new_bytes = BTREE_TRANS_MEM_MAX; in __bch2_trans_kmalloc()
[all …]
H A Dsnapshot.c167 size_t new_bytes = kmalloc_size_roundup(struct_size(new, s, idx + 1)); in __snapshot_t_mut() local
168 size_t new_size = (new_bytes - sizeof(*new)) / sizeof(new->s[0]); in __snapshot_t_mut()
170 if (unlikely(new_bytes > INT_MAX)) in __snapshot_t_mut()
173 new = kvzalloc(new_bytes, GFP_KERNEL); in __snapshot_t_mut()
/linux/include/linux/
H A Dperf_event.h1584 const void *new_bytes, size_t new_len);
1863 const void *new_bytes, in perf_event_text_poke() argument
/linux/drivers/virtio/
H A Dvirtio_mem.c401 unsigned long new_bytes = old_bytes + 1; in virtio_mem_bbm_bb_states_prepare_next_bb() local
403 int new_pages = PFN_UP(new_bytes); in virtio_mem_bbm_bb_states_prepare_next_bb()
/linux/tools/perf/util/
H A Dmachine.c801 u8 *new_bytes = event->text_poke.bytes + event->text_poke.old_len; in machine__process_text_poke()
811 new_bytes, in machine__process_text_poke()
799 u8 *new_bytes = event->text_poke.bytes + event->text_poke.old_len; machine__process_text_poke() local
/linux/kernel/events/
H A Dcore.c9543 const void *new_bytes; member
9583 __output_copy(&handle, text_poke_event->new_bytes, text_poke_event->new_len); in perf_event_text_poke_output()
9594 size_t old_len, const void *new_bytes, size_t new_len) in perf_event_text_poke() argument
9608 .new_bytes = new_bytes, in perf_event_text_poke()