Searched refs:max_sz (Results 1 – 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/tools/perf/arch/x86/util/ |
D | intel-pt.c | 583 size_t *min_sz, size_t *max_sz) in intel_pt_min_max_sample_sz() argument 594 if (max_sz && sz > *max_sz) in intel_pt_min_max_sample_sz() 595 *max_sz = sz; in intel_pt_min_max_sample_sz() 726 size_t min_sz = 0, max_sz = 0; in intel_pt_recording_options() local 728 intel_pt_min_max_sample_sz(evlist, &min_sz, &max_sz); in intel_pt_recording_options() 733 size_t sz = round_up(max_sz, page_size) / page_size; in intel_pt_recording_options() 737 if (max_sz > opts->auxtrace_mmap_pages * (size_t)page_size) { in intel_pt_recording_options() 739 max_sz, in intel_pt_recording_options() 744 min_sz, max_sz); in intel_pt_recording_options()
|
/kernel/linux/linux-5.10/fs/proc/ |
D | vmcore.c | 716 u64 offset, max_sz, sz, real_sz = 0; in update_note_header_size_elf64() local 719 max_sz = phdr_ptr->p_memsz; in update_note_header_size_elf64() 721 notes_section = kmalloc(max_sz, GFP_KERNEL); in update_note_header_size_elf64() 724 rc = elfcorehdr_read_notes(notes_section, max_sz, &offset); in update_note_header_size_elf64() 734 if ((real_sz + sz) > max_sz) { in update_note_header_size_elf64() 907 u64 offset, max_sz, sz, real_sz = 0; in update_note_header_size_elf32() local 910 max_sz = phdr_ptr->p_memsz; in update_note_header_size_elf32() 912 notes_section = kmalloc(max_sz, GFP_KERNEL); in update_note_header_size_elf32() 915 rc = elfcorehdr_read_notes(notes_section, max_sz, &offset); in update_note_header_size_elf32() 925 if ((real_sz + sz) > max_sz) { in update_note_header_size_elf32()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | genelf_debug.c | 41 size_t max_sz; member 58 size_t be_sz = be->max_sz; in buffer_ext_add() 77 be->max_sz = be_sz; in buffer_ext_add() 87 be->max_sz = 0; in buffer_ext_init()
|
/kernel/linux/linux-5.10/drivers/mmc/core/ |
D | mmc_test.c | 77 unsigned long max_sz; member 336 unsigned long max_sz, in mmc_test_alloc_mem() argument 340 unsigned long max_page_cnt = DIV_ROUND_UP(max_sz, PAGE_SIZE); in mmc_test_alloc_mem() 1536 return mmc_erase(test->card, t->dev_addr, t->max_sz >> 9, in mmc_test_area_erase() 1573 t->max_sz = sz; in mmc_test_area_init() 1574 while (t->max_sz < 4 * 1024 * 1024) in mmc_test_area_init() 1575 t->max_sz += sz; in mmc_test_area_init() 1576 while (t->max_sz > TEST_AREA_MAX_SIZE && t->max_sz > sz) in mmc_test_area_init() 1577 t->max_sz -= sz; in mmc_test_area_init() 1583 t->max_tfr = t->max_sz; in mmc_test_area_init() [all …]
|
/kernel/linux/linux-5.10/drivers/lightnvm/ |
D | pblk-rb.c | 52 unsigned int max_sz = max(thr_sz, nr_entries); in pblk_rb_calculate_size() local 59 max_io = (1 << max((int)(get_count_order(max_sz)), in pblk_rb_calculate_size()
|
/kernel/linux/linux-5.10/drivers/net/ |
D | virtio_net.c | 2477 unsigned long int max_sz = PAGE_SIZE - sizeof(struct padded_vnet_hdr); in virtnet_xdp_set() local 2498 if (dev->mtu > max_sz) { in virtnet_xdp_set() 2500 netdev_warn(dev, "XDP requires MTU less than %lu\n", max_sz); in virtnet_xdp_set()
|