Home
last modified time | relevance | path

Searched refs:scratch_size (Results 1 – 19 of 19) 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.c1140 u32 scratch_size = 0; in catpt_arm_stream_templates() local
1160 if (type->scratch_size > scratch_size) in catpt_arm_stream_templates()
1161 scratch_size = type->scratch_size; in catpt_arm_stream_templates()
1165 if (scratch_size) { in catpt_arm_stream_templates()
1167 res = catpt_request_region(&cdev->dram, scratch_size); in catpt_arm_stream_templates()
H A Dloader.c36 u32 scratch_size; member
454 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
218 data->scratch_size = XFS_GC_BUF_SIZE * XFS_GC_NR_BUFS; in xfs_zone_gc_data_alloc()
219 data->scratch_available = data->scratch_size; in xfs_zone_gc_data_alloc()
656 if (off == data->scratch_size) in xfs_zone_gc_add_data()
711 data->scratch_head = (data->scratch_head + len) % data->scratch_size; in xfs_zone_gc_start_chunk()
849 (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/net/ipv4/
H A Dtcp_sigpool.c155 * @scratch_size: reserve a tcp_sigpool::scratch buffer of this size
157 int tcp_sigpool_alloc_ahash(const char *alg, size_t scratch_size) in tcp_sigpool_alloc_ahash() argument
163 ret = sigpool_reserve_scratch(scratch_size); in tcp_sigpool_alloc_ahash()
/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.c1550 ssize_t scratch_size; in kho_fill_kimage() local
1559 scratch_size = sizeof(*kho_scratch) * kho_scratch_cnt; in kho_fill_kimage()
1563 .bufsz = scratch_size, in kho_fill_kimage()
1565 .memsz = scratch_size, in kho_fill_kimage()
/linux/drivers/of/
H A Dfdt.c924 u64 fdt_start, fdt_size, scratch_start, scratch_size; in early_init_dt_check_kho() local
934 &scratch_start, &scratch_size)) in early_init_dt_check_kho()
937 kho_populate(fdt_start, fdt_size, scratch_start, scratch_size); in early_init_dt_check_kho()
/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.c1721 static bool rb_meta_init(struct trace_buffer *buffer, int scratch_size) in rb_meta_init() argument
1739 ptr += scratch_size; in rb_meta_init()
2090 static void rb_range_meta_init(struct trace_buffer *buffer, int nr_pages, int scratch_size) in rb_range_meta_init() argument
2104 if (rb_meta_init(buffer, scratch_size)) in rb_range_meta_init()
2477 unsigned long scratch_size, in alloc_buffer() argument
2528 scratch_size = ALIGN(scratch_size, sizeof(long)); in alloc_buffer()
2533 buffers_start += scratch_size; in alloc_buffer()
2572 rb_range_meta_init(buffer, nr_pages, scratch_size); in alloc_buffer()
2646 unsigned long scratch_size, in __ring_buffer_alloc_range() argument
2650 scratch_size, key); in __ring_buffer_alloc_range()
H A Dtrace.c5430 size = tr->scratch_size; in save_mod()
9282 tr->scratch_size = size; in setup_trace_scratch()
9344 unsigned int scratch_size = 0; in allocate_trace_buffer() local
9357 tscratch = ring_buffer_meta_scratch(buf->buffer, &scratch_size); in allocate_trace_buffer()
9358 setup_trace_scratch(tr, tscratch, scratch_size); in allocate_trace_buffer()
H A Dtrace.h370 int scratch_size; member
/linux/arch/x86/boot/compressed/
H A Dkaslr.c782 nr_areas = kho->scratch_size / sizeof(*kho_scratch); in process_kho_entries()
/linux/arch/x86/kernel/
H A Dkexec-bzimage64.c295 kho->scratch_size = image->kho.scratch->bufsz; in setup_kho()
/linux/include/net/
H A Dtcp.h1984 int tcp_sigpool_alloc_ahash(const char *alg, size_t scratch_size);