Home
last modified time | relevance | path

Searched refs:max_size (Results 1 – 23 of 23) sorted by relevance

/arch/s390/appldata/
Dappldata_os.c165 int rc, max_size; in appldata_os_init() local
167 max_size = struct_size(appldata_os_data, os_cpu, num_possible_cpus()); in appldata_os_init()
168 if (max_size > APPLDATA_MAX_REC_SIZE) { in appldata_os_init()
170 "record size %i\n", max_size, APPLDATA_MAX_REC_SIZE); in appldata_os_init()
175 appldata_os_data = kzalloc(max_size, GFP_KERNEL | GFP_DMA); in appldata_os_init()
/arch/x86/kernel/
Dtboot.c365 u32 max_size; in tboot_log_read() local
377 max_size = readl(log_base + LOG_MAX_SIZE_OFF); in tboot_log_read()
378 if (*ppos >= max_size) { in tboot_log_read()
383 if (*ppos + count > max_size) in tboot_log_read()
384 count = max_size - *ppos; in tboot_log_read()
/arch/x86/platform/efi/
Dquirks.c130 u64 storage_size, remaining_size, max_size; in query_variable_store_nonblocking() local
134 &max_size); in query_variable_store_nonblocking()
155 u64 storage_size, remaining_size, max_size; in efi_query_variable_store() local
164 &remaining_size, &max_size); in efi_query_variable_store()
209 &remaining_size, &max_size); in efi_query_variable_store()
Defi_64.c787 unsigned long count, u64 *max_size, in efi_thunk_query_capsule_caps() argument
/arch/arm64/include/asm/
Dsuspend.h48 int arch_hibernation_header_save(void *addr, unsigned int max_size);
/arch/x86/power/
Dhibernate.c91 int arch_hibernation_header_save(void *addr, unsigned int max_size) in arch_hibernation_header_save() argument
95 if (max_size < sizeof(struct restore_data_record)) in arch_hibernation_header_save()
/arch/arm64/include/uapi/asm/
Dptrace.h116 __u32 max_size; /* maxmium possible size for this thread */ member
275 __u32 max_size; /* maxmium possible size for this thread */ member
/arch/powerpc/kernel/
Dfadump.c311 unsigned long max_size; in fadump_calculate_reserve_size() local
322 max_size = memblock_phys_mem_size() / MAX_BOOT_MEM_RATIO; in fadump_calculate_reserve_size()
323 if (fw_dump.reserve_bootvar > max_size) { in fadump_calculate_reserve_size()
324 fw_dump.reserve_bootvar = max_size; in fadump_calculate_reserve_size()
401 unsigned long rstart, rsize, max_size; in add_boot_mem_regions() local
405 max_size = fw_dump.max_copy_size ? fw_dump.max_copy_size : msize; in add_boot_mem_regions()
407 if (msize > max_size) in add_boot_mem_regions()
408 rsize = max_size; in add_boot_mem_regions()
/arch/arm64/kernel/
Dhibernate.c116 int arch_hibernation_header_save(void *addr, unsigned int max_size) in arch_hibernation_header_save() argument
120 if (max_size < sizeof(*hdr)) in arch_hibernation_header_save()
Dptrace.c763 header->max_size = SVE_PT_SIZE(sve_vq_from_vl(header->max_vl), in sve_init_header_from_task()
1021 header.max_size = ZA_PT_SIZE(vq); in za_get()
/arch/arm/crypto/
Dcurve25519-glue.c112 .max_size = curve25519_max_size,
/arch/x86/kernel/cpu/microcode/
Damd.c202 u32 max_size; in __verify_patch_size() local
212 max_size = F1XH_MPB_MAX_SIZE; in __verify_patch_size()
215 max_size = F14H_MPB_MAX_SIZE; in __verify_patch_size()
222 if (sh_psize > min_t(u32, buf_size, max_size)) in __verify_patch_size()
/arch/powerpc/mm/book3s32/
Dmmu.c105 unsigned int max_size = SZ_256M; in bat_block_size() local
109 return min3(max_size, 1U << base_shift, 1U << block_shift); in bat_block_size()
/arch/parisc/kernel/
Dcache.c125 if (btlb_info.max_size==0) { in show_cache_info()
132 btlb_info.max_size, (int)4096, in show_cache_info()
133 btlb_info.max_size>>8, in show_cache_info()
Dfirmware.c663 btlb->max_size = 0; in pdc_btlb_info()
/arch/um/drivers/
Dvector_kern.c525 int max_size, in create_queue() argument
537 result->max_depth = max_size; in create_queue()
540 (sizeof(struct mmsghdr) * max_size), GFP_KERNEL); in create_queue()
544 (sizeof(void *) * max_size), GFP_KERNEL); in create_queue()
551 for (i = 0; i < max_size; i++) { in create_queue()
561 for (i = 0; i < max_size; i++) { in create_queue()
/arch/arm64/kvm/vgic/
Dvgic-its.c2338 size_t max_size = BIT_ULL(dev->num_eventid_bits) * ite_esz; in vgic_its_restore_itt() local
2340 ret = scan_its_table(its, base, max_size, ite_esz, 0, in vgic_its_restore_itt()
2614 size_t max_size, filled = 0; in vgic_its_save_collection_table() local
2620 max_size = GITS_BASER_NR_PAGES(baser) * SZ_64K; in vgic_its_save_collection_table()
2630 if (filled == max_size) in vgic_its_save_collection_table()
2653 size_t max_size, read = 0; in vgic_its_restore_collection_table() local
2662 max_size = GITS_BASER_NR_PAGES(baser) * SZ_64K; in vgic_its_restore_collection_table()
2664 while (read < max_size) { in vgic_its_restore_collection_table()
/arch/ia64/kernel/
Dmca.c399 u64 max_size = 0; in ia64_log_init() local
405 max_size = ia64_sal_get_state_info_size(sal_info_type); in ia64_log_init()
406 if (!max_size) in ia64_log_init()
411 ia64_log_allocate(sal_info_type, max_size); in ia64_log_init()
/arch/sparc/mm/
Dsrmmu.c1033 unsigned long max_size = 0; in init_vac_layout() local
1054 if (vac_cache_size > max_size) in init_vac_layout()
1055 max_size = vac_cache_size; in init_vac_layout()
1072 vac_cache_size = max_size; in init_vac_layout()
/arch/parisc/include/uapi/asm/
Dpdc.h565 unsigned int max_size; /* maximum size of BTLB in pages */ member
/arch/s390/kernel/
Dperf_cpum_cf.c1386 size_t max_size = sizeof(struct cf_trailer_entry); in cfdiag_maxsize() local
1393 max_size += size * sizeof(u64) + in cfdiag_maxsize()
1396 return max_size; in cfdiag_maxsize()
/arch/x86/kvm/
Demulate.c723 unsigned *max_size, unsigned size, in __linearize() argument
735 *max_size = 0; in __linearize()
743 *max_size = min_t(u64, ~0u, (1ull << va_bits) - la); in __linearize()
744 if (size > *max_size) in __linearize()
770 *max_size = ~0u; in __linearize()
772 *max_size = (u64)lim + 1 - addr.ea; in __linearize()
773 if (size > *max_size) in __linearize()
793 unsigned max_size; in linearize() local
794 return __linearize(ctxt, addr, &max_size, size, write, false, in linearize()
802 unsigned max_size; in assign_eip() local
[all …]
/arch/x86/crypto/
Dcurve25519-x86_64.c1486 .max_size = curve25519_max_size,