Searched refs:max_sz (Results 1 – 9 of 9) sorted by relevance
/linux-6.6.21/tools/perf/tests/ |
D | symbols.c | 44 static void get_test_dso_filename(char *filename, size_t max_sz) in get_test_dso_filename() argument 47 strlcpy(filename, dso_to_test, max_sz); in get_test_dso_filename() 49 perf_exe(filename, max_sz); in get_test_dso_filename()
|
/linux-6.6.21/tools/perf/arch/x86/util/ |
D | intel-pt.c | 570 size_t *min_sz, size_t *max_sz) in intel_pt_min_max_sample_sz() argument 581 if (max_sz && sz > *max_sz) in intel_pt_min_max_sample_sz() 582 *max_sz = sz; in intel_pt_min_max_sample_sz() 715 size_t min_sz = 0, max_sz = 0; in intel_pt_recording_options() local 717 intel_pt_min_max_sample_sz(evlist, &min_sz, &max_sz); in intel_pt_recording_options() 722 size_t sz = round_up(max_sz, page_size) / page_size; in intel_pt_recording_options() 726 if (max_sz > opts->auxtrace_mmap_pages * (size_t)page_size) { in intel_pt_recording_options() 728 max_sz, in intel_pt_recording_options() 733 min_sz, max_sz); in intel_pt_recording_options()
|
/linux-6.6.21/fs/proc/ |
D | vmcore.c | 732 u64 offset, max_sz, sz, real_sz = 0; in update_note_header_size_elf64() local 735 max_sz = phdr_ptr->p_memsz; in update_note_header_size_elf64() 737 notes_section = kmalloc(max_sz, GFP_KERNEL); in update_note_header_size_elf64() 740 rc = elfcorehdr_read_notes(notes_section, max_sz, &offset); in update_note_header_size_elf64() 750 if ((real_sz + sz) > max_sz) { in update_note_header_size_elf64() 923 u64 offset, max_sz, sz, real_sz = 0; in update_note_header_size_elf32() local 926 max_sz = phdr_ptr->p_memsz; in update_note_header_size_elf32() 928 notes_section = kmalloc(max_sz, GFP_KERNEL); in update_note_header_size_elf32() 931 rc = elfcorehdr_read_notes(notes_section, max_sz, &offset); in update_note_header_size_elf32() 941 if ((real_sz + sz) > max_sz) { in update_note_header_size_elf32()
|
/linux-6.6.21/tools/perf/util/ |
D | genelf_debug.c | 42 size_t max_sz; member 59 size_t be_sz = be->max_sz; in buffer_ext_add() 78 be->max_sz = be_sz; in buffer_ext_add() 88 be->max_sz = 0; in buffer_ext_init()
|
/linux-6.6.21/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() 1516 return mmc_erase(test->card, t->dev_addr, t->max_sz >> 9, in mmc_test_area_erase() 1553 t->max_sz = sz; in mmc_test_area_init() 1554 while (t->max_sz < 4 * 1024 * 1024) in mmc_test_area_init() 1555 t->max_sz += sz; in mmc_test_area_init() 1556 while (t->max_sz > TEST_AREA_MAX_SIZE && t->max_sz > sz) in mmc_test_area_init() 1557 t->max_sz -= sz; in mmc_test_area_init() 1563 t->max_tfr = t->max_sz; in mmc_test_area_init() [all …]
|
/linux-6.6.21/drivers/block/ |
D | ublk_drv.c | 1360 unsigned max_sz = UBLK_MAX_QUEUE_DEPTH * sizeof(struct ublksrv_io_desc); in ublk_ch_mmap() local 1377 end = UBLKSRV_CMD_BUF_OFFSET + ub->dev_info.nr_hw_queues * max_sz; in ublk_ch_mmap() 1381 q_id = (phys_off - UBLKSRV_CMD_BUF_OFFSET) / max_sz; in ublk_ch_mmap()
|
/linux-6.6.21/fs/ntfs3/ |
D | ntfs.h | 836 __le64 max_sz; // 0x98: Maximum attribute data size. member
|
D | super.c | 1460 u64 sz = le64_to_cpu(t->max_sz); in ntfs_fill_super()
|
/linux-6.6.21/drivers/net/ |
D | virtio_net.c | 3736 unsigned int max_sz = PAGE_SIZE - room - ETH_HLEN; in virtnet_xdp_set() local 3759 if (prog && !prog->aux->xdp_has_frags && dev->mtu > max_sz) { in virtnet_xdp_set() 3761 netdev_warn(dev, "single-buffer XDP requires MTU less than %u\n", max_sz); in virtnet_xdp_set()
|