Home
last modified time | relevance | path

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

/Linux-v5.15/tools/perf/arch/x86/util/
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-v5.15/fs/ceph/
Ddebugfs.c156 u64 sum_sz, avg_sz, min_sz, max_sz; in metric_show() local
211 max_sz = m->read_size_max; in metric_show()
213 CEPH_SZ_METRIC_SHOW("read", total, avg_sz, min_sz, max_sz, sum_sz); in metric_show()
220 max_sz = m->write_size_max; in metric_show()
222 CEPH_SZ_METRIC_SHOW("write", total, avg_sz, min_sz, max_sz, sum_sz); in metric_show()
/Linux-v5.15/fs/proc/
Dvmcore.c712 u64 offset, max_sz, sz, real_sz = 0; in update_note_header_size_elf64() local
715 max_sz = phdr_ptr->p_memsz; in update_note_header_size_elf64()
717 notes_section = kmalloc(max_sz, GFP_KERNEL); in update_note_header_size_elf64()
720 rc = elfcorehdr_read_notes(notes_section, max_sz, &offset); in update_note_header_size_elf64()
730 if ((real_sz + sz) > max_sz) { in update_note_header_size_elf64()
903 u64 offset, max_sz, sz, real_sz = 0; in update_note_header_size_elf32() local
906 max_sz = phdr_ptr->p_memsz; in update_note_header_size_elf32()
908 notes_section = kmalloc(max_sz, GFP_KERNEL); in update_note_header_size_elf32()
911 rc = elfcorehdr_read_notes(notes_section, max_sz, &offset); in update_note_header_size_elf32()
921 if ((real_sz + sz) > max_sz) { in update_note_header_size_elf32()
/Linux-v5.15/tools/perf/util/
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-v5.15/drivers/mmc/core/
Dmmc_test.c77 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()
1522 return mmc_erase(test->card, t->dev_addr, t->max_sz >> 9, in mmc_test_area_erase()
1559 t->max_sz = sz; in mmc_test_area_init()
1560 while (t->max_sz < 4 * 1024 * 1024) in mmc_test_area_init()
1561 t->max_sz += sz; in mmc_test_area_init()
1562 while (t->max_sz > TEST_AREA_MAX_SIZE && t->max_sz > sz) in mmc_test_area_init()
1563 t->max_sz -= sz; in mmc_test_area_init()
1569 t->max_tfr = t->max_sz; in mmc_test_area_init()
[all …]
/Linux-v5.15/fs/ntfs3/
Dntfs.h834 __le64 max_sz; // 0x98: Maximum attribute data size. member
Dsuper.c1164 u64 sz = le64_to_cpu(t->max_sz); in ntfs_fill_super()
/Linux-v5.15/drivers/net/
Dvirtio_net.c2504 unsigned long int max_sz = PAGE_SIZE - sizeof(struct padded_vnet_hdr); in virtnet_xdp_set() local
2525 if (dev->mtu > max_sz) { in virtnet_xdp_set()
2527 netdev_warn(dev, "XDP requires MTU less than %lu\n", max_sz); in virtnet_xdp_set()