Home
last modified time | relevance | path

Searched refs:max_sz (Results 1 – 9 of 9) 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/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/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/block/
H A Dublk_drv.c1370 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 Dntfs.h834 __le64 max_sz; // 0x98: Maximum attribute data size. member
H A Dsuper.c1458 u64 sz = le64_to_cpu(t->max_sz); in ntfs_fill_super()
/linux/drivers/net/
H A Dvirtio_net.c5879 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()