Searched refs:max_sz (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/tools/perf/arch/x86/util/ |
D | intel-pt.c | 585 size_t *min_sz, size_t *max_sz) in intel_pt_min_max_sample_sz() argument 596 if (max_sz && sz > *max_sz) in intel_pt_min_max_sample_sz() 597 *max_sz = sz; in intel_pt_min_max_sample_sz() 729 size_t min_sz = 0, max_sz = 0; in intel_pt_recording_options() local 731 intel_pt_min_max_sample_sz(evlist, &min_sz, &max_sz); in intel_pt_recording_options() 736 size_t sz = round_up(max_sz, page_size) / page_size; in intel_pt_recording_options() 740 if (max_sz > opts->auxtrace_mmap_pages * (size_t)page_size) { in intel_pt_recording_options() 742 max_sz, in intel_pt_recording_options() 747 min_sz, max_sz); in intel_pt_recording_options()
|
/linux-6.1.9/fs/proc/ |
D | vmcore.c | 733 u64 offset, max_sz, sz, real_sz = 0; in update_note_header_size_elf64() local 736 max_sz = phdr_ptr->p_memsz; in update_note_header_size_elf64() 738 notes_section = kmalloc(max_sz, GFP_KERNEL); in update_note_header_size_elf64() 741 rc = elfcorehdr_read_notes(notes_section, max_sz, &offset); in update_note_header_size_elf64() 751 if ((real_sz + sz) > max_sz) { in update_note_header_size_elf64() 924 u64 offset, max_sz, sz, real_sz = 0; in update_note_header_size_elf32() local 927 max_sz = phdr_ptr->p_memsz; in update_note_header_size_elf32() 929 notes_section = kmalloc(max_sz, GFP_KERNEL); in update_note_header_size_elf32() 932 rc = elfcorehdr_read_notes(notes_section, max_sz, &offset); in update_note_header_size_elf32() 942 if ((real_sz + sz) > max_sz) { in update_note_header_size_elf32()
|
/linux-6.1.9/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-6.1.9/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-6.1.9/drivers/block/ |
D | ublk_drv.c | 925 unsigned max_sz = UBLK_MAX_QUEUE_DEPTH * sizeof(struct ublksrv_io_desc); in ublk_ch_mmap() local 942 end = UBLKSRV_CMD_BUF_OFFSET + ub->dev_info.nr_hw_queues * max_sz; in ublk_ch_mmap() 946 q_id = (phys_off - UBLKSRV_CMD_BUF_OFFSET) / max_sz; in ublk_ch_mmap()
|
/linux-6.1.9/fs/ntfs3/ |
D | ntfs.h | 834 __le64 max_sz; // 0x98: Maximum attribute data size. member
|
D | super.c | 1176 u64 sz = le64_to_cpu(t->max_sz); in ntfs_fill_super()
|
/linux-6.1.9/drivers/net/ |
D | virtio_net.c | 3079 unsigned long int max_sz = PAGE_SIZE - sizeof(struct padded_vnet_hdr); in virtnet_xdp_set() local 3100 if (dev->mtu > max_sz) { in virtnet_xdp_set() 3102 netdev_warn(dev, "XDP requires MTU less than %lu\n", max_sz); in virtnet_xdp_set()
|