/linux/tools/perf/tests/ |
H A D | symbols.c | 68 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 D | intel-pt.c | 574 size_t *min_sz, size_t *max_sz) in intel_pt_min_max_sample_sz() 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() 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() 573 intel_pt_min_max_sample_sz(struct evlist * evlist,size_t * min_sz,size_t * max_sz) intel_pt_min_max_sample_sz() argument 719 size_t min_sz = 0, max_sz = 0; intel_pt_recording_options() local [all...] |
/linux/fs/proc/ |
H A D | vmcore.c | 735 u64 offset, max_sz, sz, real_sz = 0; in update_note_header_size_elf64() local 738 max_sz = phdr_ptr->p_memsz; in update_note_header_size_elf64() 740 notes_section = kmalloc(max_sz, GFP_KERNEL); in update_note_header_size_elf64() 743 rc = elfcorehdr_read_notes(notes_section, max_sz, &offset); in update_note_header_size_elf64() 753 if ((real_sz + sz) > max_sz) { in update_note_header_size_elf64() 926 u64 offset, max_sz, sz, real_sz = 0; in update_note_header_size_elf32() local 929 max_sz = phdr_ptr->p_memsz; in update_note_header_size_elf32() 931 notes_section = kmalloc(max_sz, GFP_KERNEL); in update_note_header_size_elf32() 934 rc = elfcorehdr_read_notes(notes_section, max_sz, &offset); in update_note_header_size_elf32() 944 if ((real_sz + sz) > max_sz) { in update_note_header_size_elf32()
|
/linux/tools/perf/util/ |
H A 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/drivers/mmc/core/ |
H A 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/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_gen4_vf_mig.c | 197 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/block/ |
H A D | ublk_drv.c | 1370 unsigned max_sz = ublk_max_cmd_buf_size(); in ublk_ch_mmap() local 1387 end = UBLKSRV_CMD_BUF_OFFSET + ub->dev_info.nr_hw_queues * max_sz; in ublk_ch_mmap() 1391 q_id = (phys_off - UBLKSRV_CMD_BUF_OFFSET) / max_sz; in ublk_ch_mmap()
|
/linux/fs/ntfs3/ |
H A D | ntfs.h | 834 __le64 max_sz; // 0x98: Maximum attribute data size. member
|
H A D | super.c | 1458 u64 sz = le64_to_cpu(t->max_sz); in ntfs_fill_super()
|
/linux/drivers/net/ |
H A D | virtio_net.c | 5879 unsigned int max_sz = PAGE_SIZE - room - ETH_HLEN; in virtnet_xdp_set() local 5902 if (prog && !prog->aux->xdp_has_frags && dev->mtu > max_sz) { in virtnet_xdp_set() 5904 netdev_warn(dev, "single-buffer XDP requires MTU less than %u\n", max_sz); in virtnet_xdp_set()
|