Home
last modified time | relevance | path

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

/linux-6.15/tools/perf/tests/
H A Dsymbols.c68 static void get_test_dso_filename(char *filename, size_t max_sz) in get_test_dso_filename() argument
71 strlcpy(filename, dso_to_test, max_sz); in get_test_dso_filename()
73 perf_exe(filename, max_sz); in get_test_dso_filename()
/linux-6.15/tools/perf/arch/x86/util/
H A Dintel-pt.c574 size_t *min_sz, size_t *max_sz) in intel_pt_min_max_sample_sz() argument
585 if (max_sz && sz > *max_sz) in intel_pt_min_max_sample_sz()
586 *max_sz = sz; in intel_pt_min_max_sample_sz()
720 size_t min_sz = 0, max_sz = 0; in intel_pt_recording_options() local
722 intel_pt_min_max_sample_sz(evlist, &min_sz, &max_sz); in intel_pt_recording_options()
727 size_t sz = round_up(max_sz, page_size) / page_size; in intel_pt_recording_options()
731 if (max_sz > opts->auxtrace_mmap_pages * (size_t)page_size) { in intel_pt_recording_options()
733 max_sz, in intel_pt_recording_options()
738 min_sz, max_sz); in intel_pt_recording_options()
/linux-6.15/tools/perf/util/
H A Dgenelf_debug.c42 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.15/fs/proc/
H A Dvmcore.c749 u64 offset, max_sz, sz, real_sz = 0; in update_note_header_size_elf64() local
752 max_sz = phdr_ptr->p_memsz; in update_note_header_size_elf64()
754 notes_section = kmalloc(max_sz, GFP_KERNEL); in update_note_header_size_elf64()
757 rc = elfcorehdr_read_notes(notes_section, max_sz, &offset); in update_note_header_size_elf64()
767 if ((real_sz + sz) > max_sz) { in update_note_header_size_elf64()
940 u64 offset, max_sz, sz, real_sz = 0; in update_note_header_size_elf32() local
943 max_sz = phdr_ptr->p_memsz; in update_note_header_size_elf32()
945 notes_section = kmalloc(max_sz, GFP_KERNEL); in update_note_header_size_elf32()
948 rc = elfcorehdr_read_notes(notes_section, max_sz, &offset); in update_note_header_size_elf32()
958 if ((real_sz + sz) > max_sz) { in update_note_header_size_elf32()
/linux-6.15/drivers/mmc/core/
H A Dmmc_test.c76 unsigned long max_sz; member
335 unsigned long max_sz, in mmc_test_alloc_mem() argument
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()
1781 cnt = t->max_sz / sz; in mmc_test_seq_read_perf()
1823 cnt = t->max_sz / sz; in mmc_test_seq_write_perf()
[all …]
/linux-6.15/drivers/crypto/intel/qat/qat_common/
H A Dadf_gen4_vf_mig.c197 static inline int adf_mstate_check_cap_size(u32 src_sz, u32 dst_sz, u32 max_sz) in adf_mstate_check_cap_size() argument
199 if (src_sz > max_sz || dst_sz > max_sz) in adf_mstate_check_cap_size()
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Daction.c912 size_t max_sz = 0; in hws_action_handle_insert_with_ptr() local
922 max_sz = max(hdrs[i].sz, max_sz); in hws_action_handle_insert_with_ptr()
928 max_sz, in hws_action_handle_insert_with_ptr()
939 action[i].reformat.max_hdr_sz = max_sz; in hws_action_handle_insert_with_ptr()
/linux-6.15/drivers/block/
H A Dublk_drv.c1560 unsigned max_sz = ublk_max_cmd_buf_size(); in ublk_ch_mmap() local
1577 end = UBLKSRV_CMD_BUF_OFFSET + ub->dev_info.nr_hw_queues * max_sz; in ublk_ch_mmap()
1581 q_id = (phys_off - UBLKSRV_CMD_BUF_OFFSET) / max_sz; in ublk_ch_mmap()
/linux-6.15/fs/ntfs3/
H A Dntfs.h834 __le64 max_sz; // 0x98: Maximum attribute data size. member
H A Dsuper.c1499 u64 sz = le64_to_cpu(t->max_sz); in ntfs_fill_super()
/linux-6.15/drivers/net/
H A Dvirtio_net.c5975 unsigned int max_sz = PAGE_SIZE - room - ETH_HLEN; in virtnet_xdp_set() local
5998 if (prog && !prog->aux->xdp_has_frags && dev->mtu > max_sz) { in virtnet_xdp_set()
6000 netdev_warn(dev, "single-buffer XDP requires MTU less than %u\n", max_sz); in virtnet_xdp_set()