Home
last modified time | relevance | path

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

/linux/tools/perf/arch/x86/util/
A Dintel-pt.c583 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()
/linux/fs/proc/
A Dvmcore.c755 u64 offset, max_sz, sz, real_sz = 0; in update_note_header_size_elf64() local
758 max_sz = phdr_ptr->p_memsz; in update_note_header_size_elf64()
760 notes_section = kmalloc(max_sz, GFP_KERNEL); in update_note_header_size_elf64()
763 rc = elfcorehdr_read_notes(notes_section, max_sz, &offset); in update_note_header_size_elf64()
773 if ((real_sz + sz) > max_sz) { in update_note_header_size_elf64()
946 u64 offset, max_sz, sz, real_sz = 0; in update_note_header_size_elf32() local
949 max_sz = phdr_ptr->p_memsz; in update_note_header_size_elf32()
951 notes_section = kmalloc(max_sz, GFP_KERNEL); in update_note_header_size_elf32()
954 rc = elfcorehdr_read_notes(notes_section, max_sz, &offset); in update_note_header_size_elf32()
964 if ((real_sz + sz) > max_sz) { in update_note_header_size_elf32()
/linux/tools/perf/util/
A Dgenelf_debug.c41 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()
/linux/drivers/mmc/core/
A Dmmc_test.c76 unsigned long max_sz; member
335 unsigned long max_sz, in mmc_test_alloc_mem() argument
1558 t->max_sz = sz; in mmc_test_area_init()
1559 while (t->max_sz < 4 * 1024 * 1024) in mmc_test_area_init()
1560 t->max_sz += sz; in mmc_test_area_init()
1561 while (t->max_sz > TEST_AREA_MAX_SIZE && t->max_sz > sz) in mmc_test_area_init()
1562 t->max_sz -= sz; in mmc_test_area_init()
1568 t->max_tfr = t->max_sz; in mmc_test_area_init()
1786 cnt = t->max_sz / sz; in mmc_test_seq_read_perf()
1828 cnt = t->max_sz / sz; in mmc_test_seq_write_perf()
[all …]
/linux/mm/damon/
A Ddbgfs.c188 unsigned long min_sz, max_sz; in str_to_schemes() local
204 &min_sz, &max_sz, &min_nr_a, &max_nr_a, in str_to_schemes()
217 scheme = damon_new_scheme(min_sz, max_sz, min_nr_a, max_nr_a, in str_to_schemes()
/linux/fs/ntfs3/
A Dntfs.h834 __le64 max_sz; // 0x98: Maximum attribute data size. member
A Dsuper.c1164 u64 sz = le64_to_cpu(t->max_sz); in ntfs_fill_super()
/linux/drivers/net/
A Dvirtio_net.c2520 unsigned long int max_sz = PAGE_SIZE - sizeof(struct padded_vnet_hdr); in virtnet_xdp_set() local
2541 if (dev->mtu > max_sz) { in virtnet_xdp_set()
2543 netdev_warn(dev, "XDP requires MTU less than %lu\n", max_sz); in virtnet_xdp_set()

Completed in 30 milliseconds