Home
last modified time | relevance | path

Searched refs:old_size (Results 1 – 4 of 4) sorted by relevance

/kernel/
Dkexec_core.c1019 unsigned long old_size; in crash_shrink_memory() local
1031 old_size = (end == 0) ? 0 : end - start + 1; in crash_shrink_memory()
1033 if (new_size >= old_size) { in crash_shrink_memory()
1034 ret = (new_size == old_size) ? 0 : -EINVAL; in crash_shrink_memory()
/kernel/livepatch/
Dtransition.c220 func_size = func->old_size; in klp_check_stack_func()
Dcore.c798 &func->old_size, NULL); in klp_init_object_loaded()
/kernel/bpf/
Dverifier.c729 u32 old_size = state->COUNT; \ in COPY_STATE_FN()
733 if (size <= old_size || !size) { \ in COPY_STATE_FN()
737 if (!size && old_size) { \ in COPY_STATE_FN()
750 sizeof(*new_##FIELD) * (old_size / SIZE)); \ in COPY_STATE_FN()
751 memset(new_##FIELD + old_size / SIZE, 0, \ in COPY_STATE_FN()
752 sizeof(*new_##FIELD) * (size - old_size) / SIZE); \ in COPY_STATE_FN()