Searched refs:max_sz (Results 1 – 8 of 8) sorted by relevance
/linux-5.19.10/tools/perf/arch/x86/util/ |
D | intel-pt.c | 590 size_t *min_sz, size_t *max_sz) in intel_pt_min_max_sample_sz() argument 601 if (max_sz && sz > *max_sz) in intel_pt_min_max_sample_sz() 602 *max_sz = sz; in intel_pt_min_max_sample_sz() 734 size_t min_sz = 0, max_sz = 0; in intel_pt_recording_options() local 736 intel_pt_min_max_sample_sz(evlist, &min_sz, &max_sz); in intel_pt_recording_options() 741 size_t sz = round_up(max_sz, page_size) / page_size; in intel_pt_recording_options() 745 if (max_sz > opts->auxtrace_mmap_pages * (size_t)page_size) { in intel_pt_recording_options() 747 max_sz, in intel_pt_recording_options() 752 min_sz, max_sz); in intel_pt_recording_options()
|
/linux-5.19.10/fs/proc/ |
D | vmcore.c | 734 u64 offset, max_sz, sz, real_sz = 0; in update_note_header_size_elf64() local 737 max_sz = phdr_ptr->p_memsz; in update_note_header_size_elf64() 739 notes_section = kmalloc(max_sz, GFP_KERNEL); in update_note_header_size_elf64() 742 rc = elfcorehdr_read_notes(notes_section, max_sz, &offset); in update_note_header_size_elf64() 752 if ((real_sz + sz) > max_sz) { in update_note_header_size_elf64() 925 u64 offset, max_sz, sz, real_sz = 0; in update_note_header_size_elf32() local 928 max_sz = phdr_ptr->p_memsz; in update_note_header_size_elf32() 930 notes_section = kmalloc(max_sz, GFP_KERNEL); in update_note_header_size_elf32() 933 rc = elfcorehdr_read_notes(notes_section, max_sz, &offset); in update_note_header_size_elf32() 943 if ((real_sz + sz) > max_sz) { in update_note_header_size_elf32()
|
/linux-5.19.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()
|
/linux-5.19.10/drivers/mmc/core/ |
D | mmc_test.c | 76 unsigned long max_sz; member 335 unsigned long max_sz, in mmc_test_alloc_mem() argument 339 unsigned long max_page_cnt = DIV_ROUND_UP(max_sz, PAGE_SIZE); in mmc_test_alloc_mem() 1521 return mmc_erase(test->card, t->dev_addr, t->max_sz >> 9, in mmc_test_area_erase() 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() [all …]
|
/linux-5.19.10/mm/damon/ |
D | dbgfs.c | 190 unsigned long min_sz, max_sz; in str_to_schemes() local 206 &min_sz, &max_sz, &min_nr_a, &max_nr_a, in str_to_schemes() 218 if (min_sz > max_sz || min_nr_a > max_nr_a || min_age > max_age) in str_to_schemes() 226 scheme = damon_new_scheme(min_sz, max_sz, min_nr_a, max_nr_a, in str_to_schemes()
|
/linux-5.19.10/fs/ntfs3/ |
D | ntfs.h | 834 __le64 max_sz; // 0x98: Maximum attribute data size. member
|
D | super.c | 1169 u64 sz = le64_to_cpu(t->max_sz); in ntfs_fill_super()
|
/linux-5.19.10/drivers/net/ |
D | virtio_net.c | 2879 unsigned long int max_sz = PAGE_SIZE - sizeof(struct padded_vnet_hdr); in virtnet_xdp_set() local 2900 if (dev->mtu > max_sz) { in virtnet_xdp_set() 2902 netdev_warn(dev, "XDP requires MTU less than %lu\n", max_sz); in virtnet_xdp_set()
|