Home
last modified time | relevance | path

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

/Linux-v5.4/fs/proc/
Dvmcore.c712 u64 offset, max_sz, sz, real_sz = 0; in update_note_header_size_elf64() local
715 max_sz = phdr_ptr->p_memsz; in update_note_header_size_elf64()
717 notes_section = kmalloc(max_sz, GFP_KERNEL); in update_note_header_size_elf64()
720 rc = elfcorehdr_read_notes(notes_section, max_sz, &offset); in update_note_header_size_elf64()
730 if ((real_sz + sz) > max_sz) { in update_note_header_size_elf64()
903 u64 offset, max_sz, sz, real_sz = 0; in update_note_header_size_elf32() local
906 max_sz = phdr_ptr->p_memsz; in update_note_header_size_elf32()
908 notes_section = kmalloc(max_sz, GFP_KERNEL); in update_note_header_size_elf32()
911 rc = elfcorehdr_read_notes(notes_section, max_sz, &offset); in update_note_header_size_elf32()
921 if ((real_sz + sz) > max_sz) { in update_note_header_size_elf32()
/Linux-v5.4/tools/perf/util/
Dgenelf_debug.c41 size_t max_sz; member
58 size_t be_sz = be->max_sz; in buffer_ext_add()
77 be->max_sz = be_sz; in buffer_ext_add()
87 be->max_sz = 0; in buffer_ext_init()
/Linux-v5.4/drivers/mmc/core/
Dmmc_test.c76 unsigned long max_sz; member
334 unsigned long max_sz, in mmc_test_alloc_mem() argument
338 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()
1552 t->max_sz = sz; in mmc_test_area_init()
1553 while (t->max_sz < 4 * 1024 * 1024) in mmc_test_area_init()
1554 t->max_sz += sz; in mmc_test_area_init()
1555 while (t->max_sz > TEST_AREA_MAX_SIZE && t->max_sz > sz) in mmc_test_area_init()
1556 t->max_sz -= sz; in mmc_test_area_init()
1562 t->max_tfr = t->max_sz; in mmc_test_area_init()
[all …]
/Linux-v5.4/drivers/lightnvm/
Dpblk-rb.c52 unsigned int max_sz = max(thr_sz, nr_entries); in pblk_rb_calculate_size() local
59 max_io = (1 << max((int)(get_count_order(max_sz)), in pblk_rb_calculate_size()
/Linux-v5.4/drivers/net/
Dvirtio_net.c2405 unsigned long int max_sz = PAGE_SIZE - sizeof(struct padded_vnet_hdr); in virtnet_xdp_set() local
2426 if (dev->mtu > max_sz) { in virtnet_xdp_set()
2428 netdev_warn(dev, "XDP requires MTU less than %lu\n", max_sz); in virtnet_xdp_set()