Home
last modified time | relevance | path

Searched refs:scratch_size (Results 1 – 15 of 15) sorted by relevance

/linux/arch/riscv/kernel/
H A Dmodule-sections.c123 size_t scratch_size = 0; in module_frob_arch_sections() local
170 if (scratch_size_needed > scratch_size) { in module_frob_arch_sections()
171 scratch_size = scratch_size_needed; in module_frob_arch_sections()
172 new_scratch = kvrealloc(scratch, scratch_size, GFP_KERNEL); in module_frob_arch_sections()
/linux/sound/soc/intel/catpt/
H A Dpcm.c1074 u32 scratch_size = 0;
1094 if (type->scratch_size > scratch_size)
1095 scratch_size = type->scratch_size;
1099 if (scratch_size) {
1101 res = catpt_request_region(&cdev->dram, scratch_size);
1140 u32 scratch_size = 0; catpt_arm_stream_templates() local
H A Dloader.c36 u32 scratch_size; member
456 type->scratch_size = mod->scratch_size; in catpt_load_module()
H A Dcore.h54 u32 scratch_size; member
/linux/fs/xfs/
H A Dxfs_zone_gc.c141 unsigned int scratch_size; member
230 data->scratch_size = XFS_GC_BUF_SIZE * XFS_GC_NR_BUFS; in xfs_zone_gc_data_alloc()
231 data->scratch_available = data->scratch_size; in xfs_zone_gc_data_alloc()
670 if (off == data->scratch_size) in xfs_zone_gc_add_data()
748 (data->scratch_head + chunk->len) % data->scratch_size; in xfs_zone_gc_start_chunk()
885 (data->scratch_tail + chunk->len) % data->scratch_size; in xfs_zone_gc_finish_chunk()
/linux/arch/x86/include/uapi/asm/
H A Dsetup_data.h89 __u64 scratch_size; member
/linux/drivers/scsi/qla2xxx/
H A Dqla_tmpl.h171 uint32_t scratch_size; member
H A Dqla_tmpl.c545 ent->t269.scratch_size = 5 * sizeof(uint32_t); in qla27xx_fwdt_entry_t269()
/linux/kernel/liveupdate/
H A Dkexec_handover.c1706 ssize_t scratch_size; in kho_fill_kimage() local
1715 scratch_size = sizeof(*kho_scratch) * kho_scratch_cnt; in kho_fill_kimage()
1719 .bufsz = scratch_size, in kho_fill_kimage()
1721 .memsz = scratch_size, in kho_fill_kimage()
/linux/drivers/scsi/
H A Dstex.c230 __le32 scratch_size; member
1115 u32 data, scratch_size, mailboxdata, operationaldata; in stex_ss_handshake() local
1160 scratch_size = (hba->sts_count+1)*sizeof(u32); in stex_ss_handshake()
1161 h->scratch_size = cpu_to_le32(scratch_size); in stex_ss_handshake()
1214 memset(scratch, 0, scratch_size); in stex_ss_handshake()
/linux/include/linux/
H A Dring_buffer.h95 unsigned long scratch_size,
/linux/kernel/trace/
H A Dring_buffer.c1695 static bool rb_meta_init(struct trace_buffer *buffer, int scratch_size) in rb_meta_init() argument
1713 ptr += scratch_size; in rb_meta_init()
2065 static void rb_range_meta_init(struct trace_buffer *buffer, int nr_pages, int scratch_size) in rb_range_meta_init() argument
2079 if (rb_meta_init(buffer, scratch_size)) in rb_range_meta_init()
2540 unsigned long scratch_size, in alloc_buffer() argument
2594 scratch_size = ALIGN(scratch_size, sizeof(long)); in alloc_buffer()
2599 buffers_start += scratch_size; in alloc_buffer()
2638 rb_range_meta_init(buffer, nr_pages, scratch_size); in alloc_buffer()
2726 unsigned long scratch_size, in __ring_buffer_alloc_range() argument
2730 scratch_size, key, NULL); in __ring_buffer_alloc_range()
H A Dtrace.c4882 size = tr->scratch_size; in save_mod()
8329 tr->scratch_size = size; in setup_trace_scratch()
8390 unsigned int scratch_size = 0; in allocate_trace_buffer() local
8403 tscratch = ring_buffer_meta_scratch(buf->buffer, &scratch_size); in allocate_trace_buffer()
8404 setup_trace_scratch(tr, tscratch, scratch_size); in allocate_trace_buffer()
/linux/arch/x86/boot/compressed/
H A Dkaslr.c782 nr_areas = kho->scratch_size / sizeof(*kho_scratch); in process_kho_entries()
/linux/include/net/
H A Dtcp.h2033 int tcp_sigpool_alloc_ahash(const char *alg, size_t scratch_size);