Home
last modified time | relevance | path

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

/linux/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/tools/perf/arch/x86/util/
H A Dintel-pt.c573 size_t *min_sz, size_t *max_sz) in intel_pt_min_max_sample_sz() argument
584 if (max_sz && sz > *max_sz) in intel_pt_min_max_sample_sz()
585 *max_sz = sz; in intel_pt_min_max_sample_sz()
719 size_t min_sz = 0, max_sz = 0; in intel_pt_recording_options() local
721 intel_pt_min_max_sample_sz(evlist, &min_sz, &max_sz); in intel_pt_recording_options()
726 size_t sz = round_up(max_sz, page_size) / page_size; in intel_pt_recording_options()
730 if (max_sz > opts->auxtrace_mmap_pages * (size_t)page_size) { in intel_pt_recording_options()
732 max_sz, in intel_pt_recording_options()
737 min_sz, max_sz); in intel_pt_recording_options()
/linux/fs/proc/
H A Dvmcore.c734 u64 offset, max_sz, sz, real_sz = 0; in update_note_header_size_elf64()
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()
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()
732 u64 offset, max_sz, sz, real_sz = 0; update_note_header_size_elf64() local
923 u64 offset, max_sz, sz, real_sz = 0; update_note_header_size_elf32() local
[all...]
/linux/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/drivers/mmc/core/
H A Dmmc_test.c76 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/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/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dmlx5hws_action.c913 size_t max_sz = 0; in hws_action_handle_insert_with_ptr() local
923 max_sz = max(hdrs[i].sz, max_sz); in hws_action_handle_insert_with_ptr()
929 max_sz, in hws_action_handle_insert_with_ptr()
940 action[i].reformat.max_hdr_sz = max_sz; in hws_action_handle_insert_with_ptr()
/linux/drivers/block/
H A Dublk_drv.c1325 unsigned max_sz = UBLK_MAX_QUEUE_DEPTH * sizeof(struct ublksrv_io_desc); in ublk_ch_mmap() local
1342 end = UBLKSRV_CMD_BUF_OFFSET + ub->dev_info.nr_hw_queues * max_sz; in ublk_ch_mmap()
1346 q_id = (phys_off - UBLKSRV_CMD_BUF_OFFSET) / max_sz; in ublk_ch_mmap()
/linux/fs/ntfs3/
H A Dntfs.h834 __le64 max_sz; // 0x98: Maximum attribute data size. member
H A Dsuper.c1453 u64 sz = le64_to_cpu(t->max_sz); in ntfs_fill_super()
/linux/drivers/net/
H A Dvirtio_net.c5583 unsigned int max_sz = PAGE_SIZE - room - ETH_HLEN; in virtnet_xdp_set() local
5606 if (prog && !prog->aux->xdp_has_frags && dev->mtu > max_sz) { in virtnet_xdp_set()
5608 netdev_warn(dev, "single-buffer XDP requires MTU less than %u\n", max_sz); in virtnet_xdp_set()